diff --git a/src/views/pm/utask_dept10.vue b/src/views/pm/utask_dept10.vue
index 008a04c7..4aea41f8 100644
--- a/src/views/pm/utask_dept10.vue
+++ b/src/views/pm/utask_dept10.vue
@@ -45,10 +45,13 @@
-
+
{{ state_[scope.row.state] }}
-
+
+ {{ state_[scope.row.state] }}
+
+
{{ state_[scope.row.state] }}
@@ -89,6 +92,12 @@
删除
+
+
+ 终止
+
+
@@ -177,6 +186,7 @@ export default {
14: "已分解",
20: "已下达",
30: "生产中",
+ 34:'终止',
40: "已提交",
},
start_date:''
@@ -298,6 +308,16 @@ export default {
return err;
});
},
+ table_stop(row) {
+ this.$API.pm.utask.stop.req(row.id).then((res) => {
+ this.$message.success("操作成功");
+ this.$refs.table.refresh();
+ return res;
+ })
+ .catch((err) => {
+ return err;
+ });
+ },
bindClass(item) {
let classInfo = {
countBlock: true,
diff --git a/src/views/pm/utask_dept6.vue b/src/views/pm/utask_dept6.vue
index 0a1ec290..ef065b76 100644
--- a/src/views/pm/utask_dept6.vue
+++ b/src/views/pm/utask_dept6.vue
@@ -47,10 +47,13 @@
-
+
{{ state_[scope.row.state] }}
-
+
+ {{ state_[scope.row.state] }}
+
+
{{ state_[scope.row.state] }}
@@ -90,6 +93,12 @@
删除
+
+
+ 终止
+
+
@@ -149,6 +158,7 @@ export default {
14: "已分解",
20: "已下达",
30: "生产中",
+ 34:'终止',
40: "已提交",
},
tasks: {
@@ -286,6 +296,16 @@ export default {
return err;
});
},
+ table_stop(row) {
+ this.$API.pm.utask.stop.req(row.id).then((res) => {
+ this.$message.success("操作成功");
+ this.$refs.table.refresh();
+ return res;
+ })
+ .catch((err) => {
+ return err;
+ });
+ },
bindClass(item) {
let classInfo = {
countBlock: true,
diff --git a/src/views/pm/utask_dept7.vue b/src/views/pm/utask_dept7.vue
index ad83c6fe..12146c72 100644
--- a/src/views/pm/utask_dept7.vue
+++ b/src/views/pm/utask_dept7.vue
@@ -45,10 +45,13 @@
-
+
{{ state_[scope.row.state] }}
-
+
+ {{ state_[scope.row.state] }}
+
+
{{ state_[scope.row.state] }}
@@ -89,6 +92,12 @@
删除
+
+
+ 终止
+
+
@@ -176,6 +185,7 @@ export default {
14: "已分解",
20: "已下达",
30: "生产中",
+ 34:'终止',
40: "已提交",
},
start_date:''
@@ -297,6 +307,16 @@ export default {
return err;
});
},
+ table_stop(row) {
+ this.$API.pm.utask.stop.req(row.id).then((res) => {
+ this.$message.success("操作成功");
+ this.$refs.table.refresh();
+ return res;
+ })
+ .catch((err) => {
+ return err;
+ });
+ },
bindClass(item) {
let classInfo = {
countBlock: true,