Browse Source

修改服务新增选中

zhaoke 1 year ago
parent
commit
7eed9ffecf
1 changed files with 12 additions and 6 deletions
  1. 12 6
      src/views/dataAccessPage/components/accessPageTable.vue

+ 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)
     },
     //表格-编辑