From 2599aab7d0f84d020200df1a55d31619ab6c212c Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 6 Sep 2023 13:25:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=97=A5=E5=B8=B8=E7=9B=91=E7=9D=A3?= =?UTF-8?q?=E8=B6=85=E6=9C=9F=E6=B7=BB=E5=8A=A0=E7=BF=BB=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dist/index.html | 2 +- client/src/views/supervisionNew/taskdo.vue | 35 ++++++++++++++++++---- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/client/dist/index.html b/client/dist/index.html index a32f1c8..84ad2be 100644 --- a/client/dist/index.html +++ b/client/dist/index.html @@ -1 +1 @@ -vue Admin Template
\ No newline at end of file +vue Admin Template
\ No newline at end of file diff --git a/client/src/views/supervisionNew/taskdo.vue b/client/src/views/supervisionNew/taskdo.vue index 4f53866..d04e670 100644 --- a/client/src/views/supervisionNew/taskdo.vue +++ b/client/src/views/supervisionNew/taskdo.vue @@ -274,11 +274,11 @@ 超期报告 @@ -287,6 +287,13 @@ + @@ -543,11 +550,15 @@ export default { deptOptions: [], task2doItem:{}, rcList:[],//报告证书{应发/超期} - rc2List:[], + rc2List:{}, ptList:[],//能力验证 riskList:[],//风险 complaintList:[],//投诉 oinspectList:[],//外部监查 + rc2ListQuery:{ + page: 1, + page_size: 20, + }, }; }, created() { @@ -657,6 +668,7 @@ export default { this.task2do = row.id; this.getPtList(); this.getRcList(); + this.getRc2List(); this.getRiskList(); this.getComplaintList(); this.getOinspectList(); @@ -680,6 +692,7 @@ export default { this.task2do = row.id; this.getPtList(); this.getRcList(); + this.getRc2List(); this.getRiskList(); this.getComplaintList(); this.getOinspectList(); @@ -765,10 +778,20 @@ export default { getRcList({task2do:that.task2do,etype:10,page:0}).then((res) => { that.rcList =res.data; }); - getRcList({task2do:that.task2do,etype:20,page:0}).then((res) => { - that.rc2List =res.data; - }); }, + getRc2List(){ + let that = this; + let obj = {}; + obj.task2do = that.task2do; + obj.etype = 20; + obj.page = that.rc2ListQuery.page; + obj.page_size = that.rc2ListQuery.page_size; + getRcList(obj).then((res) => { + if (res.code >= 200) { + that.rc2List =res.data; + } + }); + }, getPtList(){ let that = this; getPtList({task2do:that.task2do,page:0}).then((res) => {