Commit 8c3295b1 authored by 张冬's avatar 张冬

公司编辑跳转

parent 67a0301e
......@@ -48,6 +48,7 @@
</div>
</template>
<script>
import {requestUrl,homeUrl} from "@utils/common.js"
import { userInfo,getMessagephone} from '@api/common/list'
import bus from '../common/bus';
export default {
......@@ -93,14 +94,14 @@ export default {
}
},
join(){
window.location.href="http://60.205.251.80:8081/"
window.location.href=`${homeUrl}`
// window.location.href=" http://localhost:3000/"
},
// 用户名下拉菜单选择事件
handleCommand(command) {
localStorage.removeItem("token")
setTimeout(()=>{
window.location.href=" http://60.205.251.80:8081"
window.location.href=`${homeUrl}`
// window.location.href=" http://localhost:3000/"
},1000)
......
......@@ -90,6 +90,6 @@ export default {
/* display: flex;
justify-content: center; */
text-align:center;
margin-bottom:20rpx
margin-bottom:20px
}
</style>
\ No newline at end of file
......@@ -118,16 +118,16 @@
@keyup.native="$event.target.value = $event.target.value.replace(/^\s+|\s+$/gm, '')"
></el-input>
</el-form-item>
<el-form-item label="管理员" class="item">
<el-form-item label="管理员" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.userName" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="联系电话" class="item">
<el-form-item label="联系电话" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.phoneNumber" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="身份证" class="item">
<el-form-item label="身份证" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.idNumber" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="电子邮箱" class="item">
<el-form-item label="电子邮箱" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.email" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<div>
......@@ -195,7 +195,7 @@
<script>
import { companyDetail, industryList, companyNatureList } from '@api/common/list';
import { companyedit } from '@api/purchaser/organization';
import {requestUrl,homeUrl} from "@utils/common.js"
import dataBreadcrumb from '@components/dataBreadcrumb.vue';
import Upload from '@components/Upload/Upload.vue';
import imgUpload from '@components/Upload/imgUpload.vue';
......@@ -595,10 +595,6 @@ export default {
let backimg = this.backimg;
let cardimg = this.cardimg;
let files = this.files;
console.log(justimg)
console.log(backimg)
console.log(cardimg)
console.log(files)
justimg.forEach(function (item, index) {
item.type = 1;
});
......@@ -620,8 +616,7 @@ export default {
duration: 1500
});
setTimeout(() => {
history.go(0)
// this.$router.go(-1);
window.location.href=`${homeUrl}?status=1`
}, 1500);
} else {
this.$message.error(msg);
......
......@@ -48,7 +48,7 @@
<div>澄清问题附件:</div>
<ul >
<li v-for="item in clarifieslist" :key="item.id">
<span>{{ item.fileName }}xxxxx</span>
<span>{{ item.fileName }}</span>
<el-button @click="down(item.fileUrl)">下载</el-button>
</li>
</ul>
......
......@@ -118,16 +118,16 @@
@keyup.native="$event.target.value = $event.target.value.replace(/^\s+|\s+$/gm, '')"
></el-input>
</el-form-item>
<el-form-item label="管理员" class="item">
<el-form-item label="管理员" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.userName" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="联系电话" class="item">
<el-form-item label="联系电话" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.phoneNumber" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="身份证" class="item">
<el-form-item label="身份证" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.idNumber" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="电子邮箱" class="item">
<el-form-item label="电子邮箱" class="item" v-if="form.contacts">
<el-input v-model.trim="form.contacts.email" disabled style="width: 240px" maxlength="30"></el-input>
</el-form-item>
<div>
......@@ -195,7 +195,7 @@
<script>
import { companyDetail, industryList, companyNatureList } from '@api/common/list';
import { companyedit } from '@api/purchaser/organization';
import {requestUrl,homeUrl} from "@utils/common.js"
import dataBreadcrumb from '@components/dataBreadcrumb.vue';
import Upload from '@components/Upload/Upload.vue';
import imgUpload from '@components/Upload/imgUpload.vue';
......@@ -620,8 +620,7 @@ export default {
duration: 1500
});
setTimeout(() => {
// history.go(0)
// this.$router.go(-1);
window.location.href=`${homeUrl}?status=1`
}, 1500);
} else {
this.$message.error(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment