From 91f78c7a3c325b7627f269524cdf92f006948cdf Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 17:37:35 +0800
Subject: [PATCH] 景宁电话接入
---
src/views/patient/follow/index.vue | 74 +++++++++++++++++++++++-------------
1 files changed, 47 insertions(+), 27 deletions(-)
diff --git a/src/views/patient/follow/index.vue b/src/views/patient/follow/index.vue
index e6276e5..1970d37 100644
--- a/src/views/patient/follow/index.vue
+++ b/src/views/patient/follow/index.vue
@@ -11,10 +11,19 @@
v-show="showSearch"
label-width="98px"
>
- <el-form-item label="濮撳悕" prop="name">
+ <el-form-item label="鎮h�呭鍚�" width="100" prop="name">
<el-input
v-model="queryParams.name"
placeholder="璇疯緭鍏ュ鍚�"
+ clearable
+ style="width: 200px"
+ @keyup.enter.native="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="杩囨护鍖荤敓" width="100" prop="filterDrname">
+ <el-input
+ v-model="queryParams.filterDrname"
+ placeholder="璇疯緭鍏ュ尰鐢熷鍚�"
clearable
style="width: 200px"
@keyup.enter.native="handleQuery"
@@ -36,9 +45,7 @@
</el-select>
</el-form-item> -->
-
<el-row>
-
<el-form-item>
<el-button
type="primary"
@@ -57,7 +64,6 @@
</el-row>
</el-form>
-
<el-table
v-loading="loading"
:data="userList"
@@ -73,11 +79,18 @@
<el-table-column
fixed
label="濮撳悕"
+ width="100"
align="center"
key="name"
prop="name"
/>
- <el-table-column label="鎬у埆" align="center" key="sex" prop="sex">
+ <el-table-column
+ label="鎬у埆"
+ width="100"
+ align="center"
+ key="sex"
+ prop="sex"
+ >
<template slot-scope="scope">
<span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span>
</template>
@@ -126,6 +139,12 @@
prop="placeOfResidence"
width="180"
:show-overflow-tooltip="true"
+ />
+ <el-table-column
+ label="杩囨护鍖荤敓"
+ align="center"
+ key="filterDrname"
+ prop="filterDrname"
/>
<el-table-column
label="鎮h�呮爣绛�"
@@ -183,7 +202,6 @@
query: { id: scope.row.id },
})
"
-
><span class="button-textsc"
><i class="el-icon-zoom-in"></i>鏌ョ湅</span
></el-button
@@ -192,7 +210,6 @@
size="medium"
type="text"
@click="handleDelete(scope.row)"
-
><span class="button-textxga"
><i class="el-icon-edit"></i>鍙栨秷杩囨护</span
></el-button
@@ -210,8 +227,6 @@
/>
</el-col>
</el-row>
-
-
</div>
</template>
@@ -219,7 +234,7 @@
import { delUser } from "@/api/system/user";
import {
- messagelistpatient,
+ patarchivelist,
alterpatient,
addfiltration,
particularpatient,
@@ -293,7 +308,7 @@
propss: { multiple: true },
optionstag: [], //鏍囩鍒楄〃
Patientrange: [
- {
+ {
value: 0,
label: "鎵�灞炴偅鑰�",
},
@@ -367,8 +382,7 @@
/** 鏌ヨ鎮h�呭垪琛� */
getList() {
this.loading = true;
-
- messagelistpatient(this.queryParams).then((response) => {
+ patarchivelist(this.queryParams).then((response) => {
console.log(response);
this.userList = response.rows;
this.total = response.total;
@@ -436,10 +450,13 @@
},
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
- this.dateRange = [];
- this.resetForm("queryForm");
- this.$refs.tree.setCurrentKey(null);
- this.handleQuery();
+ (this.queryParams = {
+ pageNum: 1,
+ pageSize: 10,
+ allhosp: "1",
+ notrequiredFlag: 1,
+ }),
+ this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
@@ -486,16 +503,16 @@
const userIds = row.id || this.ids;
this.$modal
.confirm('鏄惁纭鍙栨秷鐢ㄦ埛缂栧彿涓�"' + userIds + '"鐨勬暟鎹」杩囨护锛�')
- .then( ()=> {
- row.notrequiredFlag=0
+ .then(() => {
+ row.notrequiredFlag = 0;
alterpatient(row)
- .then((response) => {
- console.log(response);
- })
- .then(() => {
- this.getList();
- this.$modal.msgSuccess("淇敼鎴愬姛");
- });
+ .then((response) => {
+ console.log(response);
+ })
+ .then(() => {
+ this.getList();
+ this.$modal.msgSuccess("淇敼鎴愬姛");
+ });
})
.catch(() => {});
@@ -602,7 +619,10 @@
height: 100px;
}
}
+.button-textxga {
+ color: #de7897;
+}
.button-textsc {
- color: #28cfe6;
+ color: #3664D9;
}
</style>
--
Gitblit v1.9.3