Explorar el Código

试验表单类型接口更改

duy hace 2 años
padre
commit
27a40993ec
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/manager/projectinfo/tree.vue

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

@@ -2114,7 +2114,7 @@ export default {
     updateNodeTable() {
       selectByNodeTable(this.curTreeData.id, this.projectid, this.id).then(
         (res) => {
-          if (res.data.data.length) {
+          if (res.data.data&&res.data.data.length) {
             this.formData = res.data.data;
           } else {
             this.formData = [];
@@ -2630,7 +2630,7 @@ export default {
       if(type===5){
         code='lar_node_type'//征拆
       }else if(type===2){
-        code='trial_node_type'//试验
+        code='trial_table_type'//试验
       }else{
         code='wbs_node_type'//质检
       }