|
@@ -29,7 +29,7 @@
|
|
|
<recovery class="inline-16" v-if="tool.checkAuth($route.name,'recovery') " :data="mainData" @onshow="onSuccess" @backSuccess="onSuccess"></recovery>
|
|
|
</div>
|
|
|
<div slot="slot0" >
|
|
|
- <detailed :data="mainData" v-if="flag"></detailed>
|
|
|
+ <detailed ref="baseDetail" :data="mainData"></detailed>
|
|
|
</div>
|
|
|
<div slot="slot1" class=" normal-panel" >
|
|
|
<contacts :data="mainData" @onSuccess="onSuccess" v-if="flag"></contacts>
|
|
@@ -118,8 +118,10 @@ export default {
|
|
|
console.log("输出数据一")
|
|
|
console.log(this.mainData)
|
|
|
this.$refs['details'].param.content.type = this.$route.query.tabIndex
|
|
|
+ this.$refs['details'].param.content.isExport = false
|
|
|
this.changeDataStructure()
|
|
|
- this.flag = true
|
|
|
+ // this.flag = true
|
|
|
+ console.log(this.mainAreaData)
|
|
|
},
|
|
|
show(){
|
|
|
this.visible = false
|
|
@@ -167,20 +169,15 @@ export default {
|
|
|
this.$router.replace({path:'/customerDetail',query:{id:id,rowindex:rowindex,tabIndex:tabIndex}})
|
|
|
this.queryMainData(id)
|
|
|
},
|
|
|
- async queryTags(id){
|
|
|
- const res = await this.$api.requested({
|
|
|
- "id": 20220929085401,
|
|
|
- "content": {
|
|
|
- "ownertable":'sa_customers',
|
|
|
- "ownerid":id
|
|
|
- }
|
|
|
- })
|
|
|
- this.tags = res.data
|
|
|
- },
|
|
|
onSuccess(){
|
|
|
this.visible = false
|
|
|
this.queryMainData(this.$route.query.id)
|
|
|
this.$emit('onSuccess')
|
|
|
+ },
|
|
|
+ statusChangeSuccess () {
|
|
|
+ this.$refs.details.refreshTag()
|
|
|
+ this.$refs.baseDetail.basicData(this.$route.query.id)
|
|
|
+ this.$refs.baseDetail.systemData(this.$route.query.id)
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|