|
|
@@ -75,19 +75,14 @@ Page({
|
|
|
tabbarList = [{
|
|
|
icon: "icon-genjin",
|
|
|
label: "跟进"
|
|
|
+ }, {
|
|
|
+ icon: "icon-dibu-chengjiao",
|
|
|
+ label: "完成"
|
|
|
}];
|
|
|
-
|
|
|
- if (isLeader) tabbarList = tabbarList.concat({
|
|
|
- icon: "icon-guanlian-bianji",
|
|
|
- label: "编辑"
|
|
|
- }, {
|
|
|
- icon: "icon-dibu-chengjiao",
|
|
|
- label: "完成"
|
|
|
- });
|
|
|
- if (tabbarList.length == 1 && isCreateby) tabbarList.push({
|
|
|
+ if (isCreateby) tabbarList.splice(1, 0, {
|
|
|
icon: "icon-guanlian-bianji",
|
|
|
label: "编辑"
|
|
|
- });
|
|
|
+ })
|
|
|
|
|
|
this.setData({
|
|
|
tabbarList,
|
|
|
@@ -147,8 +142,6 @@ Page({
|
|
|
}]
|
|
|
});
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/* 更新列表中状态 */
|
|
|
let page = getCurrentPages().find(v => v.__route__ == 'packageA/saleClue/index');
|
|
|
if (page) {
|