Quellcode durchsuchen

增加转手次数

zhaoxiaohai vor 3 Jahren
Ursprung
Commit
d2fa71aa1e
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 5 2
      packageA/saleClue/detail.js

+ 5 - 2
packageA/saleClue/detail.js

@@ -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);