From 510b43356f18aa5be351a0990c7cdc1d4478b5e7 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 09 七月 2025 14:27:00 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 50 +++++++++++++++++++++++++++++---------------------
1 files changed, 29 insertions(+), 21 deletions(-)
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index f6d51ee..aaeebc6 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -73,7 +73,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
- <el-form-item label="鎮h�呰寖鍥�" prop="tagId">
+ <!-- <el-form-item label="鎮h�呰寖鍥�" prop="tagId">
<el-select
v-model="queryParams.searchscope"
placeholder="璇烽�夋嫨鎮h�呰寖鍥�"
@@ -86,7 +86,7 @@
>
</el-option>
</el-select>
- </el-form-item>
+ </el-form-item> -->
<el-form-item label="鑱旂郴鐢佃瘽" prop="telcode">
<el-input
v-model="queryParams.telcode"
@@ -183,13 +183,6 @@
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="50" align="center" />
- <!-- <el-table-column
- fixed
- label="搴忓彿"
- align="center"
- key="id"
- prop="id"
- /> -->
<el-table-column
fixed
label="濮撳悕"
@@ -197,6 +190,14 @@
key="name"
prop="name"
/>
+ <el-table-column
+ label="鎮h�呯紪鍙�"
+ align="center"
+ key="patientno"
+ prop="patientno"
+ width="180"
+ />
+
<el-table-column label="鎬у埆" align="center" key="sex" prop="sex">
<template slot-scope="scope">
<span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span>
@@ -207,8 +208,16 @@
align="center"
key="age"
prop="age"
- width="60"
- />
+ width="160"
+ >
+ <template slot-scope="scope">
+ <span v-if="scope.row.age"
+ >{{ scope.row.age }}{{ scope.row.ageUnit }}</span
+ ><span v-if="scope.row.age2"
+ >{{ scope.row.age2 }}{{ scope.row.ageUnit2 }}</span
+ >
+ </template>
+ </el-table-column>
<el-table-column
label="鍑虹敓骞存湀"
align="center"
@@ -963,7 +972,8 @@
allhosp: "1",
pageSize: 10,
searchscope: 2,
- tagname:'',
+ notrequiredFlag: 0,
+ tagname: "",
idcardno: undefined,
name: undefined,
status: undefined,
@@ -1085,7 +1095,7 @@
},
RiskMarker(row) {
this.RiskVisible = true;
- this.RiskObj=row;
+ this.RiskObj = row;
},
// 鍙栨秷鎸夐挳
@@ -1115,13 +1125,13 @@
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
this.dateRange = [];
- this.queryParams= {
+ (this.queryParams = {
pageNum: 1,
allhosp: "1",
pageSize: 10,
searchscope: 2,
- },
- this.handleQuery();
+ }),
+ this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
@@ -1140,7 +1150,6 @@
handleUpdate(row) {
const userIds = row.id || this.ids;
particularpatient(userIds).then((response) => {
- console.log(response);
this.form = response.data;
});
this.amendtag = true;
@@ -1201,14 +1210,13 @@
});
},
RiskService() {
-
this.RiskObj.visitFlag = this.Risklist.join(", ");
this.RiskObj.visitType = this.Riskradio;
alterpatient(this.RiskObj).then((res) => {
- if (res.code==200) {
+ if (res.code == 200) {
this.getList();
- this.Risklist=[];
- this.Riskradio=1;
+ this.Risklist = [];
+ this.Riskradio = 1;
this.$modal.msgSuccess("寮傚父璁板綍鎴愬姛");
}
});
--
Gitblit v1.9.3