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

公司编辑跳转

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