From 7e283d0dff1266e40e0056328572f5d45a5bb229 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 1 Aug 2024 10:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E5=90=88=E9=9B=86=20?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E5=9B=BE=E7=89=87=E8=AF=A6=E6=83=85=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/views/dangan/birthDJ/index.vue | 63 +++++++++++++- dangan-ui/src/views/dangan/czrkdj/index.vue | 84 ++++++++++++++++++- .../src/views/dangan/pictureRecard/index.vue | 6 +- dangan-ui/src/views/dangan/qyz/index.vue | 63 +++++++++++++- dangan-ui/src/views/dangan/ytzm/index.vue | 63 +++++++++++++- dangan-ui/src/views/dangan/zfnyhkcg/index.vue | 65 +++++++++++++- dangan-ui/src/views/dangan/zqz/index.vue | 63 +++++++++++++- 7 files changed, 394 insertions(+), 13 deletions(-) diff --git a/dangan-ui/src/views/dangan/birthDJ/index.vue b/dangan-ui/src/views/dangan/birthDJ/index.vue index 2477fc8..03b0e9a 100644 --- a/dangan-ui/src/views/dangan/birthDJ/index.vue +++ b/dangan-ui/src/views/dangan/birthDJ/index.vue @@ -176,7 +176,7 @@ - + @@ -725,6 +730,30 @@ + + +
+ + + + + + + + + + +
+
+ @@ -732,6 +761,7 @@ import { listBirthDJ, getBirthDJ, delBirthDJ, addBirthDJ, updateBirthDJ } from "@/api/dangan/birthDJ"; import { listCatalog } from "@/api/dangan/catalog"; import { listPictureRecard } from "@/api/dangan/pictureRecard"; +import { listByIds } from "@/api/dangan/task"; export default { name: "BirthDJ", @@ -846,6 +876,18 @@ export default { list: [], // 选中数据 node: null + }, + // 相关图片 + sbtp:{ + title: null, + open: false, + list: [], + total: 0, + queryParams:{ + pageNum: 1, + pageSize: 10, + ids: null + } } }; }, @@ -1117,6 +1159,25 @@ export default { handleNodeClick(data, Node) { this.damlInfo.node = Node; }, + // 图片详情 + handleDetail(row){ + console.log(123789,row); + this.sbtp.queryParams.pageNum = 1; + this.sbtp.queryParams.ids = row.picIds, + this.sbtp.open = true; + this.sbtpQuery(); + }, + sbtpQuery(){ + this.sbtp.list = []; + this.sbtp.loading = true; + listByIds(this.sbtp.queryParams).then(response => { + this.sbtp.list = response.rows; + this.sbtp.total = response.total; + this.sbtp.loading = false; + }).catch(()=>{ + this.sbtp.loading = false; + }); + }, } }; diff --git a/dangan-ui/src/views/dangan/czrkdj/index.vue b/dangan-ui/src/views/dangan/czrkdj/index.vue index 7104914..85afff9 100644 --- a/dangan-ui/src/views/dangan/czrkdj/index.vue +++ b/dangan-ui/src/views/dangan/czrkdj/index.vue @@ -156,7 +156,7 @@
- + @@ -344,7 +349,7 @@ - + @@ -535,7 +545,7 @@ - + @@ -710,7 +725,7 @@ - + @@ -2261,6 +2281,30 @@ + + +
+ + + + + + + + + + +
+
+ @@ -2268,6 +2312,7 @@ import { listCzrkdj, getCzrkdj, delCzrkdj, addCzrkdj, updateCzrkdj } from "@/api/dangan/czrkdj"; import { listCatalog } from "@/api/dangan/catalog"; import { listPictureRecard } from "@/api/dangan/pictureRecard"; +import { listByIds } from "@/api/dangan/task"; export default { name: "Czrkdj", @@ -2407,6 +2452,18 @@ export default { list: [], // 选中数据 node: null + }, + // 相关图片 + sbtp:{ + title: null, + open: false, + list: [], + total: 0, + queryParams:{ + pageNum: 1, + pageSize: 10, + ids: null + } } }; }, @@ -2785,6 +2842,25 @@ export default { handleNodeClick(data, Node) { this.damlInfo.node = Node; }, + // 图片详情 + handleDetail(row){ + console.log(123789,row); + this.sbtp.queryParams.pageNum = 1; + this.sbtp.queryParams.ids = row.picIds, + this.sbtp.open = true; + this.sbtpQuery(); + }, + sbtpQuery(){ + this.sbtp.list = []; + this.sbtp.loading = true; + listByIds(this.sbtp.queryParams).then(response => { + this.sbtp.list = response.rows; + this.sbtp.total = response.total; + this.sbtp.loading = false; + }).catch(()=>{ + this.sbtp.loading = false; + }); + }, } }; diff --git a/dangan-ui/src/views/dangan/pictureRecard/index.vue b/dangan-ui/src/views/dangan/pictureRecard/index.vue index d056b86..0bcf40a 100644 --- a/dangan-ui/src/views/dangan/pictureRecard/index.vue +++ b/dangan-ui/src/views/dangan/pictureRecard/index.vue @@ -49,14 +49,14 @@ @keyup.enter.native="handleQuery" /> --> - +
--> - + @@ -723,6 +752,7 @@ import { listQyz, getQyz, delQyz, addQyz, updateQyz } from "@/api/dangan/qyz"; import { listCatalog } from "@/api/dangan/catalog"; import { listPictureRecard } from "@/api/dangan/pictureRecard"; +import { listByIds } from "@/api/dangan/task"; export default { name: "Qyz", @@ -843,6 +873,18 @@ export default { list: [], // 选中数据 node: null + }, + // 相关图片 + sbtp:{ + title: null, + open: false, + list: [], + total: 0, + queryParams:{ + pageNum: 1, + pageSize: 10, + ids: null + } } }; }, @@ -1114,6 +1156,25 @@ export default { handleNodeClick(data, Node) { this.damlInfo.node = Node; }, + // 图片详情 + handleDetail(row){ + console.log(123789,row); + this.sbtp.queryParams.pageNum = 1; + this.sbtp.queryParams.ids = row.picIds, + this.sbtp.open = true; + this.sbtpQuery(); + }, + sbtpQuery(){ + this.sbtp.list = []; + this.sbtp.loading = true; + listByIds(this.sbtp.queryParams).then(response => { + this.sbtp.list = response.rows; + this.sbtp.total = response.total; + this.sbtp.loading = false; + }).catch(()=>{ + this.sbtp.loading = false; + }); + }, } }; diff --git a/dangan-ui/src/views/dangan/ytzm/index.vue b/dangan-ui/src/views/dangan/ytzm/index.vue index 79f24a3..467fba6 100644 --- a/dangan-ui/src/views/dangan/ytzm/index.vue +++ b/dangan-ui/src/views/dangan/ytzm/index.vue @@ -158,7 +158,7 @@ - + @@ -661,6 +666,30 @@ + + +
+ + + + + + + + + + +
+
+ @@ -668,6 +697,7 @@ import { listYtzm, getYtzm, delYtzm, addYtzm, updateYtzm } from "@/api/dangan/ytzm"; import { listCatalog } from "@/api/dangan/catalog"; import { listPictureRecard } from "@/api/dangan/pictureRecard"; +import { listByIds } from "@/api/dangan/task"; export default { name: "Ytzm", @@ -778,6 +808,18 @@ export default { list: [], // 选中数据 node: null + }, + // 相关图片 + sbtp:{ + title: null, + open: false, + list: [], + total: 0, + queryParams:{ + pageNum: 1, + pageSize: 10, + ids: null + } } }; }, @@ -1045,6 +1087,25 @@ export default { handleNodeClick(data, Node) { this.damlInfo.node = Node; }, + // 图片详情 + handleDetail(row){ + console.log(123789,row); + this.sbtp.queryParams.pageNum = 1; + this.sbtp.queryParams.ids = row.picIds, + this.sbtp.open = true; + this.sbtpQuery(); + }, + sbtpQuery(){ + this.sbtp.list = []; + this.sbtp.loading = true; + listByIds(this.sbtp.queryParams).then(response => { + this.sbtp.list = response.rows; + this.sbtp.total = response.total; + this.sbtp.loading = false; + }).catch(()=>{ + this.sbtp.loading = false; + }); + }, } }; diff --git a/dangan-ui/src/views/dangan/zfnyhkcg/index.vue b/dangan-ui/src/views/dangan/zfnyhkcg/index.vue index 95550f8..c4a7fcc 100644 --- a/dangan-ui/src/views/dangan/zfnyhkcg/index.vue +++ b/dangan-ui/src/views/dangan/zfnyhkcg/index.vue @@ -128,7 +128,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -738,6 +743,30 @@ + + +
+ + + + + + + + + + +
+
+ @@ -745,6 +774,7 @@ import { listZfnyhkcg, getZfnyhkcg, delZfnyhkcg, addZfnyhkcg, updateZfnyhkcg } from "@/api/dangan/zfnyhkcg"; import { listCatalog } from "@/api/dangan/catalog"; import { listPictureRecard } from "@/api/dangan/pictureRecard"; +import { listByIds } from "@/api/dangan/task"; export default { name: "Zfnyhkcg", @@ -861,6 +891,18 @@ export default { list: [], // 选中数据 node: null + }, + // 相关图片 + sbtp:{ + title: null, + open: false, + list: [], + total: 0, + queryParams:{ + pageNum: 1, + pageSize: 10, + ids: null + } } }; }, @@ -1134,6 +1176,25 @@ export default { handleNodeClick(data, Node) { this.damlInfo.node = Node; }, + // 图片详情 + handleDetail(row){ + console.log(123789,row); + this.sbtp.queryParams.pageNum = 1; + this.sbtp.queryParams.ids = row.picIds, + this.sbtp.open = true; + this.sbtpQuery(); + }, + sbtpQuery(){ + this.sbtp.list = []; + this.sbtp.loading = true; + listByIds(this.sbtp.queryParams).then(response => { + this.sbtp.list = response.rows; + this.sbtp.total = response.total; + this.sbtp.loading = false; + }).catch(()=>{ + this.sbtp.loading = false; + }); + }, } }; diff --git a/dangan-ui/src/views/dangan/zqz/index.vue b/dangan-ui/src/views/dangan/zqz/index.vue index 266498d..4a12556 100644 --- a/dangan-ui/src/views/dangan/zqz/index.vue +++ b/dangan-ui/src/views/dangan/zqz/index.vue @@ -182,7 +182,7 @@
- + @@ -863,6 +868,30 @@ + + +
+ + + + + + + + + + +
+
+ @@ -870,6 +899,7 @@ import { listZqz, getZqz, delZqz, addZqz, updateZqz } from "@/api/dangan/zqz"; import { listCatalog } from "@/api/dangan/catalog"; import { listPictureRecard } from "@/api/dangan/pictureRecard"; +import { listByIds } from "@/api/dangan/task"; export default { name: "Zqz", @@ -995,6 +1025,18 @@ export default { list: [], // 选中数据 node: null + }, + // 相关图片 + sbtp:{ + title: null, + open: false, + list: [], + total: 0, + queryParams:{ + pageNum: 1, + pageSize: 10, + ids: null + } } }; }, @@ -1276,6 +1318,25 @@ export default { handleNodeClick(data, Node) { this.damlInfo.node = Node; }, + // 图片详情 + handleDetail(row){ + console.log(123789,row); + this.sbtp.queryParams.pageNum = 1; + this.sbtp.queryParams.ids = row.picIds, + this.sbtp.open = true; + this.sbtpQuery(); + }, + sbtpQuery(){ + this.sbtp.list = []; + this.sbtp.loading = true; + listByIds(this.sbtp.queryParams).then(response => { + this.sbtp.list = response.rows; + this.sbtp.total = response.total; + this.sbtp.loading = false; + }).catch(()=>{ + this.sbtp.loading = false; + }); + }, } };