qinhouyu 11 mēneši atpakaļ
vecāks
revīzija
0cd2d2ed47

+ 2 - 8
src/views/zdsz/engineeringGY/index.vue

@@ -783,15 +783,9 @@ export default {
       })
     },
     enginNodeStatusExecuted(item) {
+      console.log(item)
       try {
-          // for (let i = 0; i < this.comprehensiveList.length; i++) {
-          //   if (this.comprehensiveList[i].nodeReViewStateList.state=='1'){
-          //     if (item.nodeReViewStateList[j].Type==this.nodeList[i].dictLabel){
-          //       console.log('123333333333333333333331')
-          //       return true;
-          //     }
-          //   }
-          // }
+        return this.form.nodeReViewStateList.find(o => o.Type == item.dictLabel).state == '1';
       } catch (error) {
         return false
       }

+ 1 - 8
src/views/zdsz/engineeringIndustry/index.vue

@@ -754,14 +754,7 @@ export default {
     },
     enginNodeStatusExecuted(item) {
       try {
-          // for (let i = 0; i < this.comprehensiveList.length; i++) {
-          //   if (this.comprehensiveList[i].nodeReViewStateList.state=='1'){
-          //     if (item.nodeReViewStateList[j].Type==this.nodeList[i].dictLabel){
-          //       console.log('123333333333333333333331')
-          //       return true;
-          //     }
-          //   }
-          // }
+         return this.form.nodeReViewStateList.find(o => o.Type == item.dictLabel).state == '1';
       } catch (error) {
         return false
       }