Procházet zdrojové kódy

修改服务新增选中

zhaoke před 1 rokem
rodič
revize
7eed9ffecf

+ 12 - 6
src/views/dataAccessPage/components/accessPageTable.vue

@@ -198,12 +198,18 @@ export default {
       this.flag = true;
       this.tableType = "add";
       this.tableTitle = "新增";
-      this.tableForm = {};
-      for (let k in this.defaultfilter) {
-        if (k != 1) {
-          this.tableForm[k] = this.defaultfilter[k]
-        }
-      }
+      this.tableForm = {
+        serviceid: '',
+        preconditions: '',
+        algorithmtype: '',
+        algorithmname: '',
+        executionorder: '',
+        targetsource: '',
+        datasourceid: '',
+        computingexpression: '',
+        algorithmdescription: ''
+      };
+
       // this.formItem = tableColumnArrs.filter(item => item.isdisplay == 1)
     },
     //表格-编辑