Commit 87b56ad2 by 张权

第二轮修复

1 parent 2d2fd391
...@@ -174,11 +174,11 @@ export default { ...@@ -174,11 +174,11 @@ export default {
deep: true deep: true
} }
}, },
created() {}, created() {
},
mounted() { mounted() {
const urlParam = this.$route.params const urlParam = this.$route.params
this.routeInfo = JSON.parse(urlParam.id) this.routeInfo = JSON.parse(urlParam.id)
console.log(this.routeInfo, 456456)
if (this.routeInfo.expertId) { if (this.routeInfo.expertId) {
this.getDetail(this.routeInfo.expertId) this.getDetail(this.routeInfo.expertId)
let target = this.basicFormData.find(item => item.name === 'businessType') let target = this.basicFormData.find(item => item.name === 'businessType')
...@@ -210,11 +210,13 @@ export default { ...@@ -210,11 +210,13 @@ export default {
this.$refs.welcome.setDetail(res.welcomeInfo) this.$refs.welcome.setDetail(res.welcomeInfo)
this.basicForm.businessType = res.businessType this.basicForm.businessType = res.businessType
this.basicForm.expertType = res.expertType this.basicForm.expertType = res.expertType
this.merchantId = res.merchantId
} }
}) })
}, },
delPerson() { delPerson() {
this.selectPerson = {} this.selectPerson = {}
this.merchantId = ''
}, },
// 成员弹窗 // 成员弹窗
handleConfirm() { handleConfirm() {
...@@ -276,7 +278,7 @@ export default { ...@@ -276,7 +278,7 @@ export default {
// } // }
let params = { ...this.basicForm } let params = { ...this.basicForm }
params.welcomeInfo = preList params.welcomeInfo = preList
if (this.merchantId) params.merchantId = this.merchantId if (this.merchantId) params.merchant = this.merchantId
console.log(params, 'params') console.log(params, 'params')
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!