From 17b041e2e7ebd5afe75403fefc57cc6a88b51dad Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 06 八月 2024 13:23:58 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 53 ++++++++++++++++++++++++++---------------------------
1 files changed, 26 insertions(+), 27 deletions(-)
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index 468b2c7..487b9d0 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -12,6 +12,7 @@
v-model="queryParams.allhosp"
@tab-click="handleClick"
>
+ <el-tab-pane label="鎮h�呭垪琛�" name="0"></el-tab-pane>
<el-tab-pane label="浣忛櫌鎮h��" name="1"></el-tab-pane>
<el-tab-pane label="闂ㄨ瘖鎮h��" name="2"></el-tab-pane>
<el-tab-pane label="浣撴鎮h��" name="3"></el-tab-pane>
@@ -91,25 +92,8 @@
</el-option>
</el-select>
</el-form-item>
- <el-form-item label="鍏ラ櫌鏃ユ湡" prop="userName">
- <el-date-picker
- v-model="queryParams.valuetime1"
- align="right"
- type="date"
- placeholder="閫夋嫨鏃ユ湡"
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="鍑洪櫌鏃ユ湡" prop="departuretime">
- <el-date-picker
- v-model="queryParams.departuretime"
- align="right"
- type="date"
- placeholder="閫夋嫨鏃ユ湡"
- >
- </el-date-picker>
- </el-form-item>
- <el-form-item label="灏辫瘖缂栧彿" prop="number">
+
+ <el-form-item label="妗f缂栧彿" prop="number">
<el-input
v-model="queryParams.number"
placeholder="璇疯緭鍏ョ紪鍙�"
@@ -212,12 +196,14 @@
>
<el-table-column type="selection" width="50" align="center" />
<el-table-column
+ fixed
label="搴忓彿"
align="center"
- key="patid"
- prop="patid"
+ key="id"
+ prop="id"
/>
<el-table-column
+ fixed
label="濮撳悕"
align="center"
key="name"
@@ -259,7 +245,9 @@
:show-overflow-tooltip="true"
>
<template slot-scope="scope">
- <span v-for="item in scope.row.tagList">{{ item.tagname }} </span>
+ <span v-for="item in scope.row.tagList"
+ >{{ item.tagname }}
+ </span>
</template>
</el-table-column>
<el-table-column
@@ -302,6 +290,7 @@
</template>
</el-table-column>
<el-table-column
+ fixed="right"
label="鎿嶄綔"
align="center"
width="190"
@@ -314,7 +303,7 @@
@click="
$router.push({
path: '/patient/patient/profile/',
- query: { id: scope.row.patid },
+ query: { id: scope.row.id },
})
"
v-hasPermi="['system:user:edit']"
@@ -659,6 +648,12 @@
Exporterrorpatient,
toleadpatient,
} from "@/api/patient/homepage";
+import {
+ getTaskservelist,
+ getTaskInfo,
+ Editsingletask,
+
+} from "@/api/AiCentre/index";
import { listtag } from "@/api/system/label";
import { getToken } from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect";
@@ -709,7 +704,7 @@
Patienttype: [
{
value: "1",
- label: "浣忛櫌鎮h��",
+ label: "鍦ㄩ櫌鎮h��",
},
{
value: "2",
@@ -718,6 +713,10 @@
{
value: "3",
label: "浣撴鎮h��",
+ },
+ {
+ value: "4",
+ label: "鍑洪櫌鎮h��",
},
],
@@ -786,7 +785,7 @@
// 鏌ヨ鍙傛暟
queryParams: {
pageNum: 1,
- allhosp: "1",
+ allhosp: "0",
pageSize: 10,
idcardno: undefined,
name: undefined,
@@ -927,7 +926,7 @@
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.patid);
+ this.ids = selection.map((item) => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -941,7 +940,7 @@
/** 淇敼鎸夐挳鎿嶄綔 */
handleUpdate(row) {
console.log(row);
- const userIds = row.patid || this.ids;
+ const userIds = row.id || this.ids;
particularpatient(userIds).then((response) => {
console.log(response);
this.form = response.data;
--
Gitblit v1.9.3