潜在服务商--修改按钮
This commit is contained in:
@ -116,7 +116,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="btn_wrap" v-if="type == 'show' && supplierInfo?.state == 99">
|
<div class="btn_wrap" v-if="type == 'show' && supplierInfo?.state == 99 && origin != 'web'">
|
||||||
<div class="btn" @click="goModifyPage">修改信息</div>
|
<div class="btn" @click="goModifyPage">修改信息</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn_wrap" v-if="type == 'audit' && supplierInfo?.state != 1">
|
<div class="btn_wrap" v-if="type == 'audit' && supplierInfo?.state != 1">
|
||||||
@ -142,12 +142,14 @@
|
|||||||
},
|
},
|
||||||
supplierInfo: {},
|
supplierInfo: {},
|
||||||
type: 'show',
|
type: 'show',
|
||||||
|
origin: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.id=this.$route.query.id || urlParams.get('id');
|
this.id=this.$route.query.id || urlParams.get('id');
|
||||||
this.type=this.$route.query.type || urlParams.get('type') || 'show';
|
this.type=this.$route.query.type || urlParams.get('type') || 'show';
|
||||||
|
this.origin = this.$route.query.origin || ''
|
||||||
await this.getInfoHandler();
|
await this.getInfoHandler();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user