Pārlūkot izejas kodu

修复功能网/失效网上级机台/设备树数据为空

zhangjie 4 dienas atpakaļ
vecāks
revīzija
41100a8065

+ 1 - 1
src/views/fmeaTree/components/Net/FaultNetModal.vue

@@ -394,7 +394,7 @@ export default {
         fmeaId: _that.$store.getters.rfmeaId
       }).then((res) => {
         if (res.flag) {
-          let resData = res.data.rdfmStruTreeModels || [];
+          let resData = res.data.mfmeaStruTreeModels || [];
           _that.leftDropTreeData = resData;
           _that.rightDropTreeData = resData;
         } else {

+ 1 - 1
src/views/fmeaTree/components/Net/FunctionNetModal.vue

@@ -264,7 +264,7 @@ export default {
         fmeaId: _that.$store.getters.rfmeaId
       }).then((res) => {
         if (res.flag) {
-          let resData = res.data.rdfmStruTreeModels || [];
+          let resData = res.data.mfmeaStruTreeModels || [];
           _that.leftDropTreeData = resData;
           _that.rightDropTreeData = resData;
         } else {