|
@@ -26,8 +26,8 @@
|
|
|
:teamList="teamList()"
|
|
|
v-if="userInfo.isAuth == 1 ? mainData.status == '待跟进' || mainData.status == '跟进中' : ''"></move> -->
|
|
|
|
|
|
- <changeCustomer v-if="mainData.iscustomer == 0 && tool.checkAuth($route.name,'changeCutomer') && mainData.istransformingtocustomer == 0" :data="mainData" :disabled="!isHandle" class="inline-16" @onChangeCustomer="onChangeCustomer"></changeCustomer>
|
|
|
- <changeProject v-if="mainData.isproject == 0 && tool.checkAuth($route.name,'changeProject') && mainData.istransformingtoproject == 0" :data="mainData" :disabled="!isHandle" class="inline-16" @onChangeProject="queryMainData($route.query.id)"/>
|
|
|
+ <changeCustomer v-if="mainData.iscustomer == 0 && tool.checkAuth($route.name,'changeCutomer') && mainData.istransformingtocustomer == 0" :data="mainData" :disabled="!isHandle" class="inline-16" @onChangeCustomer="queryMainData('转化')"></changeCustomer>
|
|
|
+ <changeProject v-if="mainData.isproject == 0 && tool.checkAuth($route.name,'changeProject') && mainData.istransformingtoproject == 0" :data="mainData" :disabled="!isHandle" class="inline-16" @onChangeProject="queryMainData('转化')"/>
|
|
|
<customerAudit v-if="mainData.iscustomer == 0 && tool.checkAuth($route.name,'customerAudit') && mainData.istransformingtocustomer == 1 && siteid == 'HY'" :disabled="mainData.iscustomer == 1" class="inline-16" :data="mainData" @onCustomerAudit="queryMainData('审核')"></customerAudit>
|
|
|
<projectAudit v-if="mainData.isproject == 0 && tool.checkAuth($route.name,'projectAudit') && mainData.istransformingtoproject == 1 && siteid == 'HY'" :disabled="mainData.isproject == 1" class="inline-16" :data="mainData" @onProjectAudit="queryMainData('审核')"></projectAudit>
|
|
|
<el-button :type="!isHandle || mainData.status === '已无效'?'':'primary'" v-if="tool.checkAuth($route.name,'goBack') && mainData.status != '已转化' && mainData.isprivate !== 1" :disabled="!isHandle || mainData.status === '已无效'" class="inline-16" size="mini" @click="goBack">退 回</el-button>
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
})
|
|
|
this.mainData = res.data
|
|
|
this.$refs.details.param.content.type = this.$route.query.tabIndex
|
|
|
- if (val == '审核') return this.$refs.details.$refs.tag.queryTag()
|
|
|
+ if (val == '审核' || (val == '转化' && this.siteid == 'HY')) return this.$refs.details.$refs.tag.queryTag()
|
|
|
this.changeDataStructure()
|
|
|
},
|
|
|
changeDataStructure() {
|
|
@@ -597,9 +597,6 @@ export default {
|
|
|
this.$router.replace({path:'/orderclue_detail',query:{id:id,rowindex:rowindex,tabIndex:tabIndex}})
|
|
|
this.queryMainData(id)
|
|
|
},
|
|
|
- onChangeCustomer(){
|
|
|
- this.queryMainData(this.$route.query.id)
|
|
|
- },
|
|
|
onFollow(){
|
|
|
this.$refs.followDetail.getFollowDetail()
|
|
|
this.queryMainData()
|