1.修复资质审核页面分页问题

zhairh
x_z 3 years ago
parent a9f2945bc4
commit a9cabedd5b

@ -33,7 +33,7 @@
<el-table-column label="设备编号" prop="code" width="180" show-overflow-tooltip></el-table-column>
<el-table-column label="产品DI" prop="nameCode" width="180"></el-table-column>
<el-table-column label="生产日期" prop="produceDate" width="180"></el-table-column>
<el-table-column label="失效日期" prop="exipreDate" width="180"></el-table-column>
<el-table-column label="失效日期" prop="expireDate" width="180"></el-table-column>
<el-table-column label="批次号" prop="batchNo" width="180"></el-table-column>
<el-table-column label="规格型号" prop="ggxh" width="180"></el-table-column>
<el-table-column label="医疗器械注册/备案人名称" prop="ylqxzcrbarmc" width="180"></el-table-column>

@ -87,6 +87,7 @@
</el-table>
<el-pagination
:page-size="filterQuery.limit"
:current-page="filterQuery.page"
@current-change="handleCurrentChange"
layout="prev, pager, next"
:total="total"
@ -187,6 +188,7 @@
</el-table>
<el-pagination
:page-size="filterManufacturerQuery.limit"
:current-page="filterManufacturerQuery.page"
@current-change="handleManuChange"
layout="prev, pager, next"
:total="manufacturerTotal"
@ -292,6 +294,7 @@
</el-table>
<el-pagination
:page-size="registrationQuery.limit"
:current-page="registrationQuery.page"
@current-change="certHandleCurrentChange"
layout="prev, pager, next"
:total="certTotal"
@ -468,11 +471,8 @@ export default {
},
getList() {
this.loading = true;
getSupComapnys(this.filterQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.list = response.data.list || [];
this.total = response.data.total || 0;
@ -554,12 +554,12 @@ export default {
.then((response) => {
this.manufacturerLoading = false;
this.manufacturerList = response.data.list || [];
this.total = response.data.total || 0;
this.manufacturerTotal = response.data.total || 0;
})
.catch(() => {
this.manufacturerLoading = false;
this.manufacturerList = [];
this.total = 0;
this.manufacturerTotal = 0;
});
},
addInfoDialog(row) {
@ -640,15 +640,17 @@ export default {
.then((response) => {
this.registrationLoading = false;
this.registrationList = response.data.list || [];
this.certTotal = response.data.total || 0;
})
.catch(() => {
this.registrationLoading = false;
this.registrationList = [];
this.certTotal = 0;
});
},
certHandleCurrentChange(val) {
this.registrationQuery.page = val;
this.registrationList();
this.getRegistrationList();
}
},

Loading…
Cancel
Save