From 49fcdb7178dffc69769e2fb8cb6a03e204cb1e68 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 31 五月 2024 18:26:42 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/behospitalized.vue | 66 +++++++++++++++-----------------
1 files changed, 31 insertions(+), 35 deletions(-)
diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index 158b5cf..1c2552d 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -166,29 +166,31 @@
>
<el-table-column type="selection" width="50" align="center" />
<el-table-column
+ fixed
label="搴忓彿"
align="center"
- key="patid"
- prop="patid"
+ key="inhospid"
+ prop="inhospid"
+ /><el-table-column
+ fixed
+ label="鎮h�呭鍚�"
+ align="center"
+ key="patname"
+ prop="patname"
/>
<el-table-column
label="搴婁綅鍙�"
align="center"
- key="Patientnumber"
- prop="Patientnumber"
+ key="bedNo"
+ prop="bedNo"
/>
<el-table-column
label="浣忛櫌鍙�"
align="center"
- key="Patientnumber"
+ key="deptcode"
prop="Patientnumber"
/>
- <el-table-column
- label="鎮h�呭鍚�"
- align="center"
- key="name"
- prop="name"
- />
+
<el-table-column label="鎬у埆" align="center" key="sex" prop="sex">
<template slot-scope="scope">
<span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span>
@@ -202,7 +204,7 @@
width="120"
/>
<el-table-column
- label="璐圭敤"
+ label="璐圭敤锛堢己锛�"
align="center"
key="telephone"
prop="telephone"
@@ -211,8 +213,8 @@
<el-table-column
label="鍏ョ鏃堕棿"
align="center"
- key="archivetime"
- prop="archivetime"
+ key="createTime"
+ prop="createTime"
width="160"
>
<template slot-scope="scope">
@@ -222,24 +224,24 @@
<el-table-column
label="鍑洪櫌鏃堕棿"
align="center"
- key="archivetime"
- prop="archivetime"
+ key="endtime"
+ prop="endtime"
width="160"
>
<template slot-scope="scope">
- <span>{{ parseTime(scope.row.createTime) }}</span>
+ <span>{{ parseTime(scope.row.endtime) }}</span>
</template>
</el-table-column>
<el-table-column
- label="鎶ょ悊绛夌骇"
+ label="鎶ょ悊绛夌骇锛堢己锛�"
align="center"
key="idcardtype"
prop="idcardtype"
width="120"
/>
<el-table-column
- label="鐥呮儏鐘舵��"
+ label="鐥呮儏鐘舵�侊紙缂猴級"
align="center"
key="idcardno"
prop="idcardno"
@@ -249,19 +251,19 @@
<el-table-column
label="涓讳换鍖诲笀"
align="center"
- key="telcode"
- prop="telcode"
+ key="drname"
+ prop="drname"
width="120"
/>
<el-table-column
- label="涓绘不鍖诲笀"
+ label="涓绘不鍖诲笀锛堝緟瀹氾級"
align="center"
key="telcode"
prop="telcode"
width="120"
/>
<el-table-column
- label="浣忛櫌鍖诲笀"
+ label="浣忛櫌鍖诲笀锛堝緟瀹氾級"
align="center"
key="telcode"
prop="telcode"
@@ -290,6 +292,7 @@
/>
<el-table-column
label="鎿嶄綔"
+ fixed="right"
align="center"
width="160"
class-name="small-padding fixed-width"
@@ -544,22 +547,15 @@
<script>
import { delUser } from "@/api/system/user";
+
import {
- listpat_archive,
- getpat_archive,
- addpat_archive,
- updatepat_archive,
- delpat_archive,
-} from "@/api/smartorpor/pat_archive";
-import {
- messagelistpatient,
- alterpatient,
- addpatient,
+ listpatient,
particularpatient,
+ addpatient,
deletepatient,
Exporterrorpatient,
toleadpatient,
-} from "@/api/patient/homepage";
+} from "@/api/patient/record";
import { listtag } from "@/api/system/label";
import { getToken } from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect";
@@ -725,7 +721,7 @@
/** 鏌ヨ鎮h�呭垪琛� */
getList() {
this.loading = true;
- messagelistpatient(this.queryParams).then((response) => {
+ listpatient(this.queryParams).then((response) => {
console.log(response);
this.userList = response.rows;
this.total = response.total;
--
Gitblit v1.9.3