From 059398ad3ad81ea49dfb75ac09f268bc0b0f6145 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期六, 09 五月 2026 18:05:31 +0800
Subject: [PATCH] 界面优化
---
src/views/business/affirm/index.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/views/business/affirm/index.vue b/src/views/business/affirm/index.vue
index 4866a74..60e980e 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"
@@ -109,13 +109,12 @@
v-loading="loading"
:data="confirmationList"
@selection-change="handleSelectionChange"
- @row-click="handleRowClick"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column
label="浣忛櫌鍙�"
align="center"
- prop="caseNo"
+ prop="inpatientno"
width="120"
/>
<el-table-column
@@ -358,15 +357,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