fix:日常监督超期添加翻页
This commit is contained in:
parent
22b761f644
commit
2599aab7d0
File diff suppressed because one or more lines are too long
|
@ -274,11 +274,11 @@
|
||||||
<span class="cardTitle">超期报告</span>
|
<span class="cardTitle">超期报告</span>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
:data="rc2List"
|
:data="rc2List.results"
|
||||||
fit
|
fit
|
||||||
stripe
|
stripe
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
height="250px"
|
height="219px"
|
||||||
id="table2"
|
id="table2"
|
||||||
>
|
>
|
||||||
<el-table-column label="序号" type="index" width="50" />
|
<el-table-column label="序号" type="index" width="50" />
|
||||||
|
@ -287,6 +287,13 @@
|
||||||
<el-table-column label="报告/证书应发日期" prop="date_expect"></el-table-column>
|
<el-table-column label="报告/证书应发日期" prop="date_expect"></el-table-column>
|
||||||
<el-table-column label="报告/证书实际发放日期" prop="date_issue"></el-table-column>
|
<el-table-column label="报告/证书实际发放日期" prop="date_issue"></el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<pagination
|
||||||
|
:total="rc2List.count"
|
||||||
|
:page-sizes="pageSizes"
|
||||||
|
:page.sync="rc2ListQuery.page"
|
||||||
|
:limit.sync="rc2ListQuery.page_size"
|
||||||
|
@pagination="getRc2List"
|
||||||
|
/>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" style="margin-top: 5px;">
|
<el-col :span="12" style="margin-top: 5px;">
|
||||||
|
@ -543,11 +550,15 @@ export default {
|
||||||
deptOptions: [],
|
deptOptions: [],
|
||||||
task2doItem:{},
|
task2doItem:{},
|
||||||
rcList:[],//报告证书{应发/超期}
|
rcList:[],//报告证书{应发/超期}
|
||||||
rc2List:[],
|
rc2List:{},
|
||||||
ptList:[],//能力验证
|
ptList:[],//能力验证
|
||||||
riskList:[],//风险
|
riskList:[],//风险
|
||||||
complaintList:[],//投诉
|
complaintList:[],//投诉
|
||||||
oinspectList:[],//外部监查
|
oinspectList:[],//外部监查
|
||||||
|
rc2ListQuery:{
|
||||||
|
page: 1,
|
||||||
|
page_size: 20,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -657,6 +668,7 @@ export default {
|
||||||
this.task2do = row.id;
|
this.task2do = row.id;
|
||||||
this.getPtList();
|
this.getPtList();
|
||||||
this.getRcList();
|
this.getRcList();
|
||||||
|
this.getRc2List();
|
||||||
this.getRiskList();
|
this.getRiskList();
|
||||||
this.getComplaintList();
|
this.getComplaintList();
|
||||||
this.getOinspectList();
|
this.getOinspectList();
|
||||||
|
@ -680,6 +692,7 @@ export default {
|
||||||
this.task2do = row.id;
|
this.task2do = row.id;
|
||||||
this.getPtList();
|
this.getPtList();
|
||||||
this.getRcList();
|
this.getRcList();
|
||||||
|
this.getRc2List();
|
||||||
this.getRiskList();
|
this.getRiskList();
|
||||||
this.getComplaintList();
|
this.getComplaintList();
|
||||||
this.getOinspectList();
|
this.getOinspectList();
|
||||||
|
@ -765,10 +778,20 @@ export default {
|
||||||
getRcList({task2do:that.task2do,etype:10,page:0}).then((res) => {
|
getRcList({task2do:that.task2do,etype:10,page:0}).then((res) => {
|
||||||
that.rcList =res.data;
|
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(){
|
getPtList(){
|
||||||
let that = this;
|
let that = this;
|
||||||
getPtList({task2do:that.task2do,page:0}).then((res) => {
|
getPtList({task2do:that.task2do,page:0}).then((res) => {
|
||||||
|
|
Loading…
Reference in New Issue