From 6d3e75d248256fe9860beb91161265af3b39e982 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 21 十一月 2023 11:57:43 +0800
Subject: [PATCH] 提交信息
---
src/views/followvisit/tasklist/FollowupDetails/index.vue | 44 +++++++++++++++++++++++++++++---------------
1 files changed, 29 insertions(+), 15 deletions(-)
diff --git a/src/views/followvisit/tasklist/FollowupDetails/index.vue b/src/views/followvisit/tasklist/FollowupDetails/index.vue
index b480e12..fb1809f 100644
--- a/src/views/followvisit/tasklist/FollowupDetails/index.vue
+++ b/src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -138,7 +138,7 @@
placeholder="璇烽�夋嫨"
>
<el-option
- v-for="item in topicoptions"
+ v-for="item in taskoptions"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -181,11 +181,11 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-select
- v-model="topqueryParams.topic"
+ v-model="tasktopic"
placeholder="璇烽�夋嫨鏂板绫诲瀷"
>
<el-option
- v-for="item in topicoptions"
+ v-for="item in taskoptions"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -199,23 +199,13 @@
plain
icon="el-icon-plus"
size="medium"
+ :disabled="!tasktopic"
@click="handleAdd"
v-hasPermi="['system:user:add']"
>鏂板</el-button
>
</el-col>
- <el-col :span="1.5">
- <el-button
- type="success"
- plain
- icon="el-icon-edit"
- size="medium"
- :disabled="single"
- @click="handleUpdate"
- v-hasPermi="['system:user:edit']"
- >淇敼</el-button
- >
- </el-col>
+
<el-col :span="1.5">
<el-button
type="danger"
@@ -1048,6 +1038,7 @@
userList: null,
patientuserList: null,
sonuserList: null,
+ tasktopic: null, //鏂板绫诲瀷
form: {
name: "",
region: "",
@@ -1080,6 +1071,24 @@
label: "鍖椾含鐑ら腑",
},
],
+ taskoptions: [
+ {
+ value: "1",
+ label: "閫氱煡",
+ },
+ {
+ value: "2",
+ label: "闅忚",
+ },
+ {
+ value: "3",
+ label: "闂嵎",
+ },
+ {
+ value: "4",
+ label: "瀹f暀",
+ },
+ ],
quote: false,
};
},
@@ -1087,6 +1096,7 @@
created() {
this.Addsubtask();
this.Getsubtask();
+
},
methods: {
@@ -1107,6 +1117,7 @@
},
// 瀛愪换鍔′竴绾у脊妗�
handleAdd() {
+ this.multiple = true;
listsvr_prjtaskline(this.deliverytopqueryParams).then((response) => {
console.log(response);
this.sonuserList = response.rows;
@@ -1117,6 +1128,7 @@
},
// 瀛愪换鍔′簩绾у脊妗�
handleAddpatient() {
+ console.log(this.multiple);
listpat_archive(this.patientqueryParams).then((response) => {
console.log(response);
this.patientuserList = response.rows;
@@ -1130,8 +1142,10 @@
handleExport() {},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
+ this.ids = null;
this.ids = selection.map((item) => item.patid).join(",");
// let result = this.ids.join(",");
+ this.multiple = !selection.length;
console.log(this.ids);
},
getList() {},
--
Gitblit v1.9.3