Commit e7fdcf54 authored by 杨帆's avatar 杨帆

Dev yf'

parent e3ccc85d
...@@ -514,6 +514,7 @@ export default { ...@@ -514,6 +514,7 @@ export default {
searchValue: "", searchValue: "",
messageText: "", messageText: "",
checkValue: [], checkValue: [],
isAll: false,
plan: 0, plan: 0,
showIndex: false, showIndex: false,
isShowAppvoreList: false, isShowAppvoreList: false,
...@@ -603,10 +604,10 @@ export default { ...@@ -603,10 +604,10 @@ export default {
}, },
//审批否决 //审批否决
unApproveTask() { unApproveTask() {
if (this.status == 2) { if (this.isAll) {
this.lookdetail(this.planId);
} else if (this.status == 3) {
this.approveTask(0); this.approveTask(0);
} else {
this.lookdetail(this.planId);
} }
//TODO 审批否决 //TODO 审批否决
...@@ -667,20 +668,25 @@ export default { ...@@ -667,20 +668,25 @@ export default {
switch (this.messageList.statusKey) { switch (this.messageList.statusKey) {
case "CREATE_TASK": case "CREATE_TASK":
case "WAIT_START": case "WAIT_START":
case "WAIT_RETURN":
this.status = 0; this.status = 0;
break; break;
case "CREATE_TASK": case "RUNNING":
case "WAIT_LEADER_RETURN": case "WAIT_RETURN":
case "PROJECT_REPORT":
this.status = 1; this.status = 1;
break; break;
case "WAIT_LEADER_APPROVE":
case "WAIT_LEADER_RETURN":
this.status = 2;
this.isAll = false;
break;
case "WAIT_APPROVE": case "WAIT_APPROVE":
case "FINISH":
this.status = 2; this.status = 2;
this.isAll = true;
break; break;
case "REVOKE": case "REVOKE":
case "FINISH": case "FINISH":
case "PROJECT_REPORT":
this.status = 3; this.status = 3;
break; break;
default: default:
......
...@@ -277,6 +277,7 @@ export default { ...@@ -277,6 +277,7 @@ export default {
buildingId: item.buildingId buildingId: item.buildingId
} }
}); });
sessionStorage.setItem("pathAuth", "riskExecution");
sessionStorage.setItem("planId", item.id); sessionStorage.setItem("planId", item.id);
sessionStorage.setItem("buildingId", item.buildingId); sessionStorage.setItem("buildingId", item.buildingId);
this.showIndex = false; this.showIndex = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment