From b3df9c6b60531b1f332abeff48fb9f56cfa5c256 Mon Sep 17 00:00:00 2001 From: zyn Date: Sun, 4 Feb 2024 15:22:30 +0800 Subject: [PATCH 1/2] style: --- .../regulatoryRepository/dataCenter/index.vue | 454 ++++++++++-------- 1 file changed, 256 insertions(+), 198 deletions(-) diff --git a/src/pages/regulatoryRepository/dataCenter/index.vue b/src/pages/regulatoryRepository/dataCenter/index.vue index af6ac475f..c61e9b74e 100644 --- a/src/pages/regulatoryRepository/dataCenter/index.vue +++ b/src/pages/regulatoryRepository/dataCenter/index.vue @@ -15,51 +15,60 @@ :data="treeList" :default-expanded-keys="['1']" highlight-current + :filter-node-method="filterNode" @node-click="treeClick" - :filter-node-method="filterNode"> - - - {{ node.label }} - - - 新增 - - - 编辑 - - - 删除 - - - + > + + + {{ node.label }} + + + 新增 + + + 编辑 + + + 删除 + + + -
+
- - + +
-
+
@@ -245,24 +282,28 @@ label-width="130px" >
- + - + - + @@ -273,12 +314,16 @@ class="common-button-primary" icon="el-icon-check" type="primary" - @click="saveProduct('productModelAdd')">提交 + @click="saveProduct('productModelAdd')" + > + 提交 取消 + @click="closeModal" + > + 取消
@@ -292,15 +337,21 @@ >
- + - + /> @@ -323,7 +374,13 @@ prop="dataType" class="add-form-item" > - + - + /> - - - - - + + + + + @@ -364,17 +421,23 @@ class="add-form-item" > - + + :file-list="fileList" + > 点击上传 @@ -403,19 +467,19 @@ class="common-button-primary" size="mini" icon="el-icon-check" - @click="saveInfo" :loading="submitLoading" - >提交 - + 提交 + 取消 - + 取消 +
@@ -423,10 +487,10 @@ From 3207415b533e16968f95070767c9af231cb3467c Mon Sep 17 00:00:00 2001 From: zyn Date: Sun, 4 Feb 2024 16:01:23 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feature(=E8=B5=84=E6=96=99=E4=B8=AD?= =?UTF-8?q?=E5=BF=83):=20=E6=89=93=E5=BC=80=E6=96=B0=E9=A1=B5=E7=AD=BE?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/regulatoryRepository/dataCenter/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/regulatoryRepository/dataCenter/index.vue b/src/pages/regulatoryRepository/dataCenter/index.vue index c61e9b74e..5cd4ffc2c 100644 --- a/src/pages/regulatoryRepository/dataCenter/index.vue +++ b/src/pages/regulatoryRepository/dataCenter/index.vue @@ -850,13 +850,14 @@ export default { this.sideClose = !this.sideClose }, toDetail (row) { - this.$router.push({ + const routerUrl = this.$router.resolve({ name: 'dataCenterDetail', query: { id: row.id, treeId: this.treeId } }); + window.open(routerUrl.href, '_blank'); }, beginImportFile (file) { const filename = file.name