Ver código fonte

内业资料类型修改

duy 1 ano atrás
pai
commit
1dcffd2c4e

+ 3 - 3
src/views/manager/projectinfo/tree.vue

@@ -2683,9 +2683,9 @@ export default {
       });
     },
     getMajorDataTypeList() {
-      if (this.majorDataTypeList.length > 1) {
-        return;
-      }
+      // if (this.majorDataTypeList.length > 1) {
+      //   return;
+      // }
       getDictionary({
         code: "major_data_type",
       }).then((res) => {

+ 0 - 4
src/views/manager/wbsinfo/edit.vue

@@ -2074,7 +2074,6 @@ export default {
       return val ? String(val).split(',') : '';
     },
     setLeftType (type, data, node) {
-      //console.log(type)
       this.jiedianId = data.id
       if (type == 4 || type == 5) {
         this.leftType = type;
@@ -2650,9 +2649,6 @@ export default {
       })
     },
     getMajorDataTypeList () {
-      if (this.majorDataTypeList.length > 1) {
-        return;
-      }
       getDictionary({
         code: 'major_data_type'
       }).then((res) => {