From 77a938594b066349db89ce9c06007bfc02a58150 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 06 八月 2024 18:23:46 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 38 +++++++++++--------
src/views/patient/patient/profile/index.vue | 17 ++++++--
src/views/patient/questionnaire/index.vue | 1
src/api/patient/homepage.js | 8 ++++
src/views/patient/subsequent/index.vue | 1
5 files changed, 44 insertions(+), 21 deletions(-)
diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js
index f134bfd..82592c9 100644
--- a/src/api/patient/homepage.js
+++ b/src/api/patient/homepage.js
@@ -17,6 +17,7 @@
data: data
})
};
+
// 淇敼鎮h�呮。妗�
export function alterpatient(data) {
return request({
@@ -41,6 +42,13 @@
method: 'get',
})
};
+// 鎮h�呴棬璇婅鎯�
+export function Patientclinic(userId) {
+ return request({
+ url: 'patouthosp/selectPatMedOuthospList' + userId,
+ method: 'get',
+ })
+};
// 鍒犻櫎鎮h�呭垪琛�
export function deletepatient(userId) {
return request({
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index 487b9d0..c55f71a 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -55,7 +55,7 @@
v-show="showSearch"
label-width="98px"
>
- <el-form-item label="闄㈠尯" prop="userName">
+ <!-- <el-form-item label="闄㈠尯" prop="userName">
<el-select v-model="queryParams.value1" placeholder="璇烽�夋嫨">
<el-option
v-for="item in options"
@@ -65,8 +65,8 @@
>
</el-option>
</el-select>
- </el-form-item>
- <el-form-item label="绉戝/鐥呭尯" prop="userName">
+ </el-form-item> -->
+ <!-- <el-form-item label="绉戝/鐥呭尯" prop="userName">
<el-select v-model="queryParams.value2" placeholder="璇烽�夋嫨">
<el-option
v-for="item in options"
@@ -76,28 +76,26 @@
>
</el-option>
</el-select>
- </el-form-item>
+ </el-form-item> -->
<el-form-item
label-width="138px"
label="涓绘不鍖荤敓"
prop="userName"
>
- <el-select v-model="queryParams.value3" placeholder="璇烽�夋嫨">
- <el-option
- v-for="item in options"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
+ <el-input
+ v-model="queryParams.drname"
+ placeholder="璇疯緭鍏ュ尰鐢熷鍚�"
+ maxlength="30"
+ @keyup.enter.native="handleQuery"
+ />
</el-form-item>
- <el-form-item label="妗f缂栧彿" prop="number">
+ <el-form-item label="闂ㄨ瘖缂栧彿" prop="visitno">
<el-input
- v-model="queryParams.number"
+ v-model="queryParams.visitno"
placeholder="璇疯緭鍏ョ紪鍙�"
maxlength="30"
+ @keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="濮撳悕" prop="name">
@@ -105,6 +103,15 @@
v-model="queryParams.name"
placeholder="璇疯緭鍏ュ鍚�"
maxlength="30"
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="鑱旂郴鐢佃瘽" prop="telcode">
+ <el-input
+ v-model="queryParams.telcode"
+ placeholder="璇疯緭鍏ヨ仈绯荤數璇�"
+ maxlength="30"
+ @keyup.enter.native="handleQuery"
/>
</el-form-item>
@@ -652,7 +659,6 @@
getTaskservelist,
getTaskInfo,
Editsingletask,
-
} from "@/api/AiCentre/index";
import { listtag } from "@/api/system/label";
import { getToken } from "@/utils/auth";
diff --git a/src/views/patient/patient/profile/index.vue b/src/views/patient/patient/profile/index.vue
index 6f02c8d..4300f6e 100644
--- a/src/views/patient/patient/profile/index.vue
+++ b/src/views/patient/patient/profile/index.vue
@@ -50,12 +50,12 @@
>
<el-tab-pane name="inhospital"
><span class="mulsz" slot="label"
- >浣忛櫌({{ zynumber }})
+ >鍦ㄩ櫌({{ zynumber }})
</span></el-tab-pane
>
<el-tab-pane name="checkout"
><span class="mulsz" slot="label"
- >浣撴({{ jynumber }})
+ >鍑洪櫌({{ jynumber }})
</span></el-tab-pane
>
</el-tabs>
@@ -296,7 +296,7 @@
<!-- 鑱旂郴鐢佃瘽 -->
<div class="bottom-message">
<div class="headline">
- 鍙风爜缁存姢<span style="margin-right: 60px"> </span>
+ 浜插睘鍙风爜缁存姢<span style="margin-right: 60px"> </span>
<el-button type="primary" @click="addcompiletb">+鏂板</el-button>
</div>
<div class="Table-screen">
@@ -636,6 +636,7 @@
delcontactinformation,
listcontactinformation,
alterpatient,
+ Patientclinic,
} from "@/api/patient/homepage";
export default {
@@ -788,9 +789,13 @@
},
methods: {
- // 鏌ヨ妗f鍒楄〃淇℃伅
+ // 鏌ヨ鍖荤枟妗f鍒楄〃淇℃伅
getList() {
this.loading = true;
+ // 闂ㄨ瘖璁板綍
+ Patientclinic(this.id).then((response) => {
+ console.log(response);
+ });
},
getcontactlist() {
listcontactinformation({ patid: this.id }).then((response) => {
@@ -943,7 +948,9 @@
},
// tab鍒囨崲
handleClick(tab, event) {
- console.log(tab, event);
+ if (tab.index == 1) {
+ this.getList();
+ }
},
// 鑱旂郴鏂瑰紡鏂板
Addanumber() {},
diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue
index 5cdc131..91ab832 100644
--- a/src/views/patient/questionnaire/index.vue
+++ b/src/views/patient/questionnaire/index.vue
@@ -614,6 +614,7 @@
value: 4,
label: "宸插仠姝�",
},
+
],
// 琛ㄥ崟鏍¢獙
rules: {
diff --git a/src/views/patient/subsequent/index.vue b/src/views/patient/subsequent/index.vue
index 3798091..b6ea13b 100644
--- a/src/views/patient/subsequent/index.vue
+++ b/src/views/patient/subsequent/index.vue
@@ -636,6 +636,7 @@
message: "鐢ㄦ埛鍚嶇О闀垮害蹇呴』浠嬩簬 2 鍜� 20 涔嬮棿",
trigger: "blur",
},
+
],
nickName: [
{ required: true, message: "鐢ㄦ埛鏄电О涓嶈兘涓虹┖", trigger: "blur" },
--
Gitblit v1.9.3