From 4c9fdc87987140e8b2c3f0dfc2f6608cdb6be774 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 21 十月 2026 17:39:24 +0800
Subject: [PATCH] 青岛维护
---
src/views/business/affirm/index.vue | 102 ++++++++++++++++++++++++++++++++------------------
1 files changed, 65 insertions(+), 37 deletions(-)
diff --git a/src/views/business/affirm/index.vue b/src/views/business/affirm/index.vue
index a7ede48..1e4e21b 100644
--- a/src/views/business/affirm/index.vue
+++ b/src/views/business/affirm/index.vue
@@ -112,17 +112,12 @@
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column
- label="妗堜緥缂栧彿"
+ label="浣忛櫌鍙�"
align="center"
prop="inpatientno"
width="120"
/>
- <el-table-column
- label="濮撳悕"
- align="center"
- prop="name"
- width="120"
- />
+ <el-table-column label="濮撳悕" align="center" prop="name" width="120" />
<el-table-column label="鎬у埆" align="center" prop="sex" width="80">
<template slot-scope="scope">
<dict-tag
@@ -133,12 +128,38 @@
</el-table-column>
<el-table-column label="骞撮緞" align="center" prop="age" width="80" />
<el-table-column
+ label="琛�鍨�"
+ align="center"
+ prop="bloodtype"
+ width="80"
+ >
+ <template slot-scope="scope">
+ <dict-tag
+ :options="dict.type.sys_BloodType"
+ :value="scope.row.bloodtype"
+ />
+ </template>
+ </el-table-column>
+ <el-table-column
label="鐤剧梾璇婃柇"
align="center"
prop="diagnosisname"
- min-width="180"
+ width="200"
show-overflow-tooltip
/>
+ <el-table-column
+ label="鎹愮尞绫诲瀷"
+ align="center"
+ prop="donationcategory"
+ width="180"
+ >
+ <template slot-scope="scope">
+ <dict-tag
+ :options="dict.type.sys_DonationCategory"
+ :value="scope.row.donationcategory"
+ />
+ </template>
+ </el-table-column>
<!-- <el-table-column
label="纭鐘舵��"
align="center"
@@ -151,7 +172,7 @@
</el-tag>
</template>
</el-table-column> -->
- <el-table-column
+ <!-- <el-table-column
label="纭鏃堕棿"
align="center"
prop="signdate"
@@ -164,15 +185,27 @@
: "-"
}}</span>
</template>
- </el-table-column>
-
+ </el-table-column> -->
<el-table-column
+ label="纭鐘舵��"
+ align="center"
+ prop="state"
+ width="100"
+ >
+ <template slot-scope="scope">
+ <dict-tag
+ :options="dict.type.affirm_type"
+ :value="scope.row.state"
+ />
+ </template>
+ </el-table-column>
+ <!-- <el-table-column
label="瀹跺睘鎰忚"
align="center"
prop="relativeRemark"
width="150"
show-overflow-tooltip
- />
+ /> -->
<el-table-column
label="鍗忚皟鍛�1"
align="center"
@@ -189,19 +222,25 @@
label="涓婃姤鍖婚櫌"
align="center"
prop="treatmenthospitalname"
- width="150"
+ width="220"
show-overflow-tooltip
/>
- <el-table-column
+ <!-- <el-table-column
label="涓婃姤浜哄憳"
align="center"
prop="responsibleusername"
width="100"
- />
+ /> -->
<el-table-column
+ label="鎹愮尞缂栧彿"
+ align="center"
+ prop="caseNo"
+ width="220"
+ />
+ <el-table-column
label="鎿嶄綔"
align="center"
- width="120"
+ min-width="180"
fixed="right"
class-name="small-padding fixed-width"
>
@@ -211,16 +250,15 @@
type="text"
icon="el-icon-view"
@click.stop="handleView(scope.row)"
- >璇︽儏</el-button
+ >鏌ョ湅</el-button
>
- <!-- <el-button
- v-if="scope.row.relativeconfirmationsign === '0'"
+ <el-button
size="mini"
type="text"
icon="el-icon-edit"
- @click.stop="handleConfirm(scope.row)"
- >纭</el-button
- > -->
+ @click.stop="handleUpdate(scope.row)"
+ >缂栬緫</el-button
+ >
</template>
</el-table-column>
</el-table>
@@ -244,7 +282,7 @@
export default {
name: "ConfirmationList",
components: { Pagination },
- dicts: ["sys_user_sex"],
+ dicts: ["sys_user_sex", "affirm_type", "sys_BloodType", "sys_DonationCategory"],
data() {
return {
// 閬僵灞�
@@ -418,29 +456,19 @@
handleView(row) {
this.$router.push({
path: "/case/affirmInfo",
- query: { id: row.id, infoid: row.infoid }
+ query: { id: row.id, infoid: row.infoid, mode: "view" }
});
},
- // 纭鎿嶄綔
- handleConfirm(row) {
+ // 缂栬緫
+ handleUpdate(row) {
this.$router.push({
path: "/case/affirmInfo",
- query: { id: row.id, confirm: true }
+ query: { id: row.id, infoid: row.infoid, confirm: true, mode: "edit" }
});
},
// 鏂板鎸夐挳鎿嶄綔
handleCreate() {
this.$router.push("/case/confirmation/add");
- },
- // 淇敼鎸夐挳鎿嶄綔
- handleUpdate() {
- if (this.ids.length === 0) return;
-
- const id = this.ids[0];
- this.$router.push({
- path: "/case/confirmation/edit",
- query: { id: id }
- });
},
// 鍒犻櫎鎸夐挳鎿嶄綔
async handleDelete() {
--
Gitblit v1.9.3