|
|
@@ -151,6 +151,9 @@ Page({
|
|
|
}, {
|
|
|
label: "转手次数",
|
|
|
value: res.data.changecount
|
|
|
+ }, {
|
|
|
+ label: "转化次数",
|
|
|
+ value: res.data.iscustomer + res.data.isproject
|
|
|
}, {
|
|
|
label: "创建时间",
|
|
|
value: res.data.createDate
|
|
|
@@ -182,12 +185,12 @@ Page({
|
|
|
})
|
|
|
if (res.data.isproject == 1) {
|
|
|
let i = tabbarList.findIndex(item => item.label == '转化项目')
|
|
|
- tabbarList.splice(i,1)
|
|
|
+ tabbarList.splice(i, 1)
|
|
|
console.log('触发项目');
|
|
|
}
|
|
|
if (res.data.iscustomer == 1) {
|
|
|
let i = tabbarList.findIndex(item => item.label == '转化客户')
|
|
|
- tabbarList.splice(i,1)
|
|
|
+ tabbarList.splice(i, 1)
|
|
|
console.log('触发客户');
|
|
|
}
|
|
|
console.log(tabbarList);
|