From 6916f00714a2d583ff6afaef52cbac01761e7f24 Mon Sep 17 00:00:00 2001 From: wanglei Date: Mon, 3 Jun 2024 17:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E5=90=88=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/views/dangan/catalog/index.vue | 77 +----- dangan-ui/src/views/dangan/czrkdj/index.vue | 233 ++++++++++++------- 2 files changed, 152 insertions(+), 158 deletions(-) diff --git a/dangan-ui/src/views/dangan/catalog/index.vue b/dangan-ui/src/views/dangan/catalog/index.vue index 64a24e9..083da25 100644 --- a/dangan-ui/src/views/dangan/catalog/index.vue +++ b/dangan-ui/src/views/dangan/catalog/index.vue @@ -60,7 +60,11 @@ row-key="id" :default-expand-all="isExpandAll" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> - + + + - + @@ -276,36 +274,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -313,7 +281,6 @@ import { listCatalog, getCatalog, delCatalog, addCatalog, updateCatalog } from "@/api/dangan/catalog"; import { listPictureRecard } from "@/api/dangan/pictureRecard"; import { listAreaSort } from "@/api/dangan/areaSort"; -import { listSearch } from "@/api/dangan/search"; import { collectRecongnize } from "@/api/dangan/collection"; import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; @@ -390,18 +357,6 @@ export default { muId: null, recognize: '0' }, - // 档案信息 - daxx:{ - open: false, - list: [], - total: 0, - queryParams:{ - pageNum: 1, - pageSize: 10, - ywType: null, - id: null, - } - } }; }, created() { @@ -648,25 +603,7 @@ export default { }, // 档案信息 handleDAXX(row){ - this.daxx.list = []; - this.daxx.open = true; - this.daxx.queryParams.pageNum = 1; - this.daxx.queryParams.pageSize = 10; - this.daxx.queryParams.id = row.id; - this.daxx.queryParams.ywType = row.ywType; - this.daxxQuery() - }, - // 查询档案信息 - daxxQuery(){ - listSearch(this.daxx.queryParams).then(response => { - if(this.daxx.queryParams.ywType==='0'){ - this.daxx.list = response.czrkdj.rows; - this.daxx.total = response.czrkdj.total; - }else { - this.daxx.list = [] - this.daxx.total = 0 - } - }); + this.$router.push("/dangan/czrkdj?muId=" + row.id); }, } }; diff --git a/dangan-ui/src/views/dangan/czrkdj/index.vue b/dangan-ui/src/views/dangan/czrkdj/index.vue index 9c9ce90..16d48f3 100644 --- a/dangan-ui/src/views/dangan/czrkdj/index.vue +++ b/dangan-ui/src/views/dangan/czrkdj/index.vue @@ -1,14 +1,6 @@