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/assess/index.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/views/business/assess/index.vue b/src/views/business/assess/index.vue
index c509edc..90487e2 100644
--- a/src/views/business/assess/index.vue
+++ b/src/views/business/assess/index.vue
@@ -83,10 +83,10 @@
     <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
+          > -->
+          <!-- <el-button
             type="success"
             icon="el-icon-edit"
             :disabled="single"
@@ -99,7 +99,7 @@
             :disabled="multiple"
             @click="handleDelete"
             >鍒犻櫎</el-button
-          >
+          > -->
           <el-button
             type="warning"
             icon="el-icon-download"
@@ -121,17 +121,16 @@
         v-loading="loading"
         :data="assessmentList"
         @selection-change="handleSelectionChange"
-        @row-click="handleRowClick"
       >
         <el-table-column type="selection" width="55" align="center" />
-        <el-table-column
+         <el-table-column
           label="浣忛櫌鍙�"
           align="center"
-          prop="caseNo"
+          prop="inpatientno"
           width="120"
         />
         <el-table-column
-          label="娼滃湪鎹愮尞鑰呭鍚�"
+          label="鎹愮尞鑰呭鍚�"
           align="center"
           prop="name"
           width="120"
@@ -205,6 +204,7 @@
           label="鎿嶄綔"
           align="center"
           width="200"
+          fixed="right"
           class-name="small-padding fixed-width"
         >
           <template slot-scope="scope">
@@ -217,8 +217,8 @@
             >
             <el-button
               v-if="
-                scope.row.assessState === '1' ||
-                  scope.row.assessState === '2'
+                scope.row.assessState != '3' ||
+                  scope.row.assessState != '4'
               "
               size="mini"
               type="text"
@@ -226,14 +226,14 @@
               @click.stop="handleAssess(scope.row)"
               >璇勪及</el-button
             >
-            <el-button
+            <!-- <el-button
               v-if="scope.row.assessState === '3'"
               size="mini"
               type="text"
               icon="el-icon-check"
               @click.stop="handleConfirm(scope.row)"
               >纭</el-button
-            >
+            > -->
           </template>
         </el-table-column>
       </el-table>
@@ -375,19 +375,19 @@
         if (Array.isArray(response.data)) {
           // 濡傛灉杩斿洖鐨勬槸鏁扮粍
           this.assessmentList = response.data;
-          this.total = response.data.length;
+          this.total = response.total;
         } else if (response.data.rows) {
           // 濡傛灉杩斿洖鐨勬槸鍒嗛〉鏁版嵁缁撴瀯
           this.assessmentList = response.data.rows;
-          this.total = response.data.total;
+          this.total = response.total;
         } else if (Array.isArray(response.data.list)) {
           // 濡傛灉杩斿洖鐨勬槸list瀛楁
           this.assessmentList = response.data.list;
-          this.total = response.data.total || response.data.list.length;
+          this.total = response.total || response.data.list.length;
         } else {
           // 鍏朵粬鏁版嵁缁撴瀯锛屽皾璇曠洿鎺ヤ娇鐢╠ata
           this.assessmentList = response.data;
-          this.total = response.total || response.data.length;
+          this.total = response.total || response.total;
         }
       } else {
         // 濡傛灉data涓虹┖锛屼娇鐢ㄦ牴绾у埆鐨剅ows鎴杔ist

--
Gitblit v1.9.3