This commit is contained in:
BianLzhaoMin 2026-01-30 10:48:01 +08:00
parent 87fa1ae5cf
commit abd6f4a09e
1 changed files with 12 additions and 2 deletions

View File

@ -111,6 +111,15 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- 分页 -->
<pagination
:total="total"
v-show="total > 0"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getCardReplenishmentManageList"
/>
<!-- 新增编辑弹框 --> <!-- 新增编辑弹框 -->
<el-dialog <el-dialog
width="60%" width="60%"
@ -250,7 +259,7 @@ export default {
return { return {
total: 0, total: 0,
loading: false, loading: false,
deptOptions: [], deptOptions: [], //
personSelectList: [], // personSelectList: [], //
addAndEditForm: { addAndEditForm: {
userId: '', // id userId: '', // id
@ -385,10 +394,11 @@ export default {
// //
async getCardReplenishmentManageList() { async getCardReplenishmentManageList() {
this.loading = true
const res = await getCardReplenishmentManageListAPI( const res = await getCardReplenishmentManageListAPI(
this.queryParams, this.queryParams,
) )
this.loading = false
this.applyList = res?.rows || [] this.applyList = res?.rows || []
this.total = res?.total || 0 this.total = res?.total || 0
}, },