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) => {