|
|
@@ -1550,18 +1550,16 @@
|
|
|
style="height:calc(100% - 50px)"
|
|
|
v-if="projectType[0].value != ''"
|
|
|
ref="customerUnfllowTable"
|
|
|
- :tablecols="tool.tabelCol($route.name).projectTable1.tablecols.splice(0,tool.tabelCol($route.name).projectTable1.tablecols.length - 1)"
|
|
|
+ :tablecols="tool.tabelCol($route.name).projectTable1.tablecols"
|
|
|
:param="unfllowTableParam"
|
|
|
:custom="true"
|
|
|
@handleParam="handleUnfllowParam"
|
|
|
+ @detailSet="detailSet"
|
|
|
>
|
|
|
<template v-slot:custom="scope">
|
|
|
<div v-if="scope.data.columnname == 'sys_tag'">
|
|
|
<el-tag size="small" v-for="(item,index) in scope.data.data.sys_tag" :key="index" style="margin-right: 5px">{{ $t(item) }}</el-tag>
|
|
|
</div>
|
|
|
- <div v-else-if="scope.data.columnname == 'operation'">
|
|
|
- <el-button type="text" size="small" @click="goDetail(scope.data.data,'customerUnfllowTable',unfllowTableParam,'sa_projectid')">{{$t('详情')}}</el-button>
|
|
|
- </div>
|
|
|
<div v-else-if="scope.data.columnname == 'signamount_due'">
|
|
|
{{ tool.formatAmount(scope.data.data.signamount_due,2,'¥') }}
|
|
|
</div>
|
|
|
@@ -1578,6 +1576,10 @@
|
|
|
<span style="color:#52c41a" v-else-if="scope.data.data[[scope.data.columnname]] == '跟进中'">{{$t(scope.data.data[[scope.data.columnname]])}}</span>
|
|
|
<span style="color:#999999" v-else-if="scope.data.data[[scope.data.columnname]] == '已失败' || scope.data.data[[scope.data.columnname]] == '已结案'">{{$t(scope.data.data[[scope.data.columnname]])}}</span>
|
|
|
</div>
|
|
|
+ <div v-else-if="scope.data.columnname == 'operation'">
|
|
|
+ <drawerTemp class="inline-16" v-if="detailPath" :data="scope.data.data" :detailPath="detailPath" :idName="idName" :disabled="isFull"
|
|
|
+ :listqueryid="detailDataSet.unfllowTable.listqueryid" :total="detailDataSet.unfllowTable.total" :overview="false"></drawerTemp>
|
|
|
+ </div>
|
|
|
<div v-else>
|
|
|
{{ $t(scope.data.data[scope.data.columnname]) }}
|
|
|
</div>
|
|
|
@@ -1834,6 +1836,7 @@ export default {
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
+ siteid:JSON.parse(sessionStorage.getItem('active_account')).siteid,
|
|
|
detailPath:{
|
|
|
path:'/projectProjectDetail'
|
|
|
},
|
|
|
@@ -1862,6 +1865,10 @@ export default {
|
|
|
scoreTable:{
|
|
|
listqueryid:'',
|
|
|
total:'',
|
|
|
+ },
|
|
|
+ unfllowTable:{
|
|
|
+ listqueryid:'',
|
|
|
+ total:'',
|
|
|
}
|
|
|
},
|
|
|
dateType:'本年',
|
|
|
@@ -2087,7 +2094,8 @@ export default {
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":"1"
|
|
|
+ "isleave":"1",
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2103,7 +2111,8 @@ export default {
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":"1"
|
|
|
+ "isleave":"1",
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2125,7 +2134,8 @@ export default {
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":'1'
|
|
|
+ "isleave":'1',
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2141,7 +2151,8 @@ export default {
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":'1'
|
|
|
+ "isleave":'1',
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2163,7 +2174,8 @@ export default {
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":'1'
|
|
|
+ "isleave":'1',
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2179,7 +2191,8 @@ export default {
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":'1'
|
|
|
+ "isleave":'1',
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2236,7 +2249,8 @@ export default {
|
|
|
"where": {
|
|
|
"projecttype":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":'1'
|
|
|
+ "isleave":'1',
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2251,7 +2265,8 @@ export default {
|
|
|
"projecttype":"",
|
|
|
"dateType":"",
|
|
|
"unfinish":'0',
|
|
|
- "isleave":'1'
|
|
|
+ "isleave":'1',
|
|
|
+ "status":JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY' || JSON.parse(sessionStorage.getItem('active_account')).siteid == 'YOSTEST1' ?['跟进中']:[]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2372,13 +2387,8 @@ export default {
|
|
|
this.getdataAll()
|
|
|
},
|
|
|
detailSet(listqueryid,total,setName){
|
|
|
- console.log('输出内容listqueryid')
|
|
|
- console.log( this.detailDataSet[setName],'d*********')
|
|
|
- console.log(listqueryid,'listqueryid')
|
|
|
- console.log(setName,'setName')
|
|
|
this.detailDataSet[setName].listqueryid = listqueryid
|
|
|
this.detailDataSet[setName].total = total
|
|
|
- console.log(this.detailDataSet,'detailDataSet')
|
|
|
},
|
|
|
goDetail (data,refData,paramData,fieldname) {
|
|
|
sessionStorage.setItem('listqueryid',this.$refs[refData].listqueryid)
|
|
|
@@ -3374,31 +3384,37 @@ export default {
|
|
|
this.baojiaParam.content.username = ''
|
|
|
this.baojiaFun()
|
|
|
|
|
|
- /*近12月项目跟进分析*/
|
|
|
+ /*项目跟进情况统计*/
|
|
|
this.fllowMapParam.content.dataid = id
|
|
|
this.fllowMapParam.content.type = 1
|
|
|
+ this.fllowMapParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.fllowInit()
|
|
|
this.fllowTableParam.content.dataid = id
|
|
|
this.fllowTableParam.content.type = 1
|
|
|
this.fllowTableParam.content.username = ''
|
|
|
+ this.fllowTableParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.$refs.projectFllowTable.listData()
|
|
|
|
|
|
/*项目联系人情况统计*/
|
|
|
this.contactMapParam.content.dataid = id
|
|
|
this.contactMapParam.content.type = 1
|
|
|
+ this.contactMapParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.contactInit()
|
|
|
this.contactTableParam.content.dataid = id
|
|
|
this.contactTableParam.content.type = 1
|
|
|
this.contactTableParam.content.username = ''
|
|
|
+ this.contactTableParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.$refs.projectContactTable.listData()
|
|
|
|
|
|
/*项目关联客户情况统计*/
|
|
|
this.customerMapParam.content.dataid = id
|
|
|
this.customerMapParam.content.type = 1
|
|
|
+ this.customerMapParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.customerInit()
|
|
|
this.customerTableParam.content.dataid = id
|
|
|
this.customerTableParam.content.type = 1
|
|
|
this.customerTableParam.content.username = ''
|
|
|
+ this.customerTableParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.$refs.projectCustomerTable.listData()
|
|
|
|
|
|
/*项目评估情况统计*/
|
|
|
@@ -3413,10 +3429,12 @@ export default {
|
|
|
/*有效项目未跟进天数分析*/
|
|
|
this.unfllowMapParam.content.dataid = id
|
|
|
this.unfllowMapParam.content.type = 1
|
|
|
+ this.unfllowMapParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.customerUnfllowInit()
|
|
|
this.unfllowTableParam.content.dataid = id
|
|
|
this.unfllowTableParam.content.type = 1
|
|
|
this.unfllowTableParam.content.username = ''
|
|
|
+ this.unfllowTableParam.content.where.status = this.siteid == 'HY' || this.siteid == 'YOSTEST1' ? ['跟进中'] : []
|
|
|
this.$refs.customerUnfllowTable.listData()
|
|
|
|
|
|
/*项目生命周期分析*/
|