From 9b2c74ee4f08fad01c2a16bc6e36df073bfa1dd5 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 24 四月 2026 09:12:13 +0800
Subject: [PATCH] 推送
---
src/views/business/affirm/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/business/affirm/index.vue b/src/views/business/affirm/index.vue
index a60d695..879a728 100644
--- a/src/views/business/affirm/index.vue
+++ b/src/views/business/affirm/index.vue
@@ -71,7 +71,7 @@
<el-card class="tool-card">
<el-row :gutter="10">
<el-col :span="16">
- <el-button type="primary" icon="el-icon-plus" @click="handleCreate"
+ <!-- <el-button type="primary" icon="el-icon-plus" @click="handleCreate"
>鏂板纭</el-button
>
<el-button
@@ -87,7 +87,7 @@
:disabled="multiple"
@click="handleDelete"
>鍒犻櫎</el-button
- >
+ > -->
<el-button
type="warning"
icon="el-icon-download"
@@ -203,6 +203,7 @@
label="鎿嶄綔"
align="center"
width="120"
+ fixed="right"
class-name="small-padding fixed-width"
>
<template slot-scope="scope">
@@ -357,15 +358,15 @@
if (Array.isArray(response.data)) {
// 濡傛灉杩斿洖鐨勬槸鏁扮粍
this.confirmationList = response.data;
- this.total = response.data.length;
+ this.total = response.total;
} else if (response.data.rows) {
// 濡傛灉杩斿洖鐨勬槸鍒嗛〉鏁版嵁缁撴瀯
this.confirmationList = response.data.rows;
- this.total = response.data.total;
+ this.total = response.total;
} else if (Array.isArray(response.data.list)) {
// 濡傛灉杩斿洖鐨勬槸list瀛楁
this.confirmationList = response.data.list;
- this.total = response.data.total || response.data.list.length;
+ this.total = response.total;
} else {
// 鍏朵粬鏁版嵁缁撴瀯锛屽皾璇曠洿鎺ヤ娇鐢╠ata
this.confirmationList = response.data;
--
Gitblit v1.9.3