|
|
@@ -197,17 +197,16 @@ Page({
|
|
|
label: "反审核"
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+ /* {
|
|
|
+ icon: "icon-shanchu",
|
|
|
+ label: "作废"
|
|
|
+ } */
|
|
|
if (status != '已终止' && status != '已过期') {
|
|
|
if (isLeader || isAdmin) {
|
|
|
if (editdataleader) tabbarList.unshift({
|
|
|
icon: "icon-zhuanyi",
|
|
|
label: "更换负责人"
|
|
|
});
|
|
|
- tabbarList = [{
|
|
|
- icon: "icon-shanchu",
|
|
|
- label: "作废"
|
|
|
- }].concat(tabbarList)
|
|
|
if (status == '新建') {
|
|
|
tabbarList.push({
|
|
|
icon: "icon-bianji",
|
|
|
@@ -229,12 +228,14 @@ Page({
|
|
|
})
|
|
|
}
|
|
|
};
|
|
|
- } else {
|
|
|
- tabbarList = [{
|
|
|
- icon: "icon-shanchu",
|
|
|
- label: "作废"
|
|
|
- }];
|
|
|
}
|
|
|
+
|
|
|
+ if (isLeader && status != '已提交' && status != '审核') tabbarList.push({
|
|
|
+ icon: "icon-shanchu",
|
|
|
+ label: "作废"
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
this.setData({
|
|
|
isLeader,
|
|
|
tabbarList,
|
|
|
@@ -698,7 +699,7 @@ Page({
|
|
|
break;
|
|
|
case "作废":
|
|
|
wx.navigateTo({
|
|
|
- url: '/packageA/contract/delete?id='+this.data.detail.sa_contractid,
|
|
|
+ url: '/packageA/contract/delete?id=' + this.data.detail.sa_contractid,
|
|
|
})
|
|
|
break;
|
|
|
case "编辑":
|