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="设备编号" 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="产品DI" prop="nameCode" width="180"></el-table-column>
<el-table-column label="生产日期" prop="produceDate" 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="batchNo" width="180"></el-table-column>
<el-table-column label="规格型号" prop="ggxh" 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> <el-table-column label="医疗器械注册/备案人名称" prop="ylqxzcrbarmc" width="180"></el-table-column>

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

Loading…
Cancel
Save