Explorar el Código

备注只展示审批说明

bianww hace 2 años
padre
commit
376805e5e3
Se han modificado 1 ficheros con 5 adiciones y 15 borrados
  1. 5 15
      src/pages/main/demandDevelop/index.vue

+ 5 - 15
src/pages/main/demandDevelop/index.vue

@@ -1026,9 +1026,7 @@ export default {
         },
         params: {
           woNo: this.woNo,
-          remark: [this.operateName, this.remark]
-            .filter((el) => el !== "")
-            .join(","),
+          remark: this.remark,
           opinion: this.infolist.opinion,
         },
       }).then(({ data }) => {
@@ -1093,9 +1091,7 @@ export default {
         // 需求描述
         demandDesc: this.infolist.demandDesc,
         // 审批说明
-        remark: [this.operateName, this.remark]
-          .filter((el) => el !== "")
-          .join(","),
+        remark: this.remark,
         // 审核人员
         loginNameList: this.treeList.length
           ? this.treeList.map((el) => {
@@ -1168,9 +1164,7 @@ export default {
         },
         params: {
           woNo: this.woNo,
-          remark: [this.operateName, this.remark]
-            .filter((el) => el !== "")
-            .join(","),
+          remark: this.remark,
           opinion: this.infolist.opinion
         },
       }).then(({ data }) => {
@@ -1194,9 +1188,7 @@ export default {
         },
         data: {
           woNo: this.woNo + "",
-          remark: [this.operateName, this.remark]
-            .filter((el) => el !== "")
-            .join(","),
+          remark: this.remark,
           opinion: this.infolist.opinion,
         },
       }).then(({ data }) => {
@@ -1220,9 +1212,7 @@ export default {
         },
         data: {
           woNo: this.woNo + "",
-          remark: [this.operateName, this.remark]
-            .filter((el) => el !== "")
-            .join(","),
+          remark: this.remark,
           opinion: this.infolist.opinion,
         },
       }).then(({ data }) => {