From 0e2ff3e40f3412e8e8fa9546d54d97985faab68b Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 28 二月 2023 21:04:01 +0800
Subject: [PATCH] 资料馆修改

---
 src/views/Archive/index.vue |   32 +++++++++++++++++++++-----------
 1 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/src/views/Archive/index.vue b/src/views/Archive/index.vue
index 64cf255..aa0942a 100644
--- a/src/views/Archive/index.vue
+++ b/src/views/Archive/index.vue
@@ -966,6 +966,7 @@
       }
     };
     return {
+
       fromSqlflag: false,
       filedsOption: [],
       condOption: [],
@@ -1063,6 +1064,9 @@
     this.signGetPublicKey();
   },
   methods: {
+    getAttachTable() {
+
+    },
     setRestMetaData() {
       this.fromQueryMeta.name = "";
       this.listMetaData.name = this.fromQueryMeta.name;
@@ -1391,15 +1395,21 @@
     },
     //閲嶇疆
     setQuerAllTablesRefresh() {
-      this.formInline = {
-        fileName: "",//楂樼骇鎼滅储
-        dataType: "type2", //鏁版嵁绫诲瀷
-        category: [], //鏌ヨ绫诲埆,
-        item: [],
-        depcode: this.depOption[0].code,
-        depName: this.depOption[0].name,
-        keywords: '',
-      }
+      // this.formInline = {
+      //   fileName: "",//楂樼骇鎼滅储
+      //   dataType: "type2", //鏁版嵁绫诲瀷
+      //   category: [], //鏌ヨ绫诲埆,
+      //   item: [],
+      //   depcode: null, //鍗曚綅,
+      //   depName: null,//鍗曚綅,
+      //   keywords: '',
+      // }
+      this.formInline.fileName = "";//楂樼骇鎼滅储
+      this.formInline.category = [];//楂樼骇鎼滅储
+      this.formInline.item = [];//楂樼骇鎼滅储
+      this.formInline.depcode = null;//楂樼骇鎼滅储
+      this.formInline.depName = null;//楂樼骇鎼滅储
+      this.formInline.keywords = "";//楂樼骇鎼滅储
       this.getAllTabesData();
     },
     handleSelectionChange() {
@@ -1796,8 +1806,8 @@
         return this.$message.error('鍗曚綅鍒楄〃鑾峰彇澶辫触');
       }
       this.depOption = this.treeData(data.result);
-      this.formInline.depcode = this.depOption[0].code
-      this.formInline.depName = this.depOption[0].name;
+      // this.formInline.depcode = this.depOption[0].code
+      // this.formInline.depName = this.depOption[0].name;
       this.getAllTabesData();
     },
     //鏍戝垪琛ㄧ敓鎴�

--
Gitblit v1.9.3