From 03348941a9c44e3b9706a3b6c25c8fb5ba25d9d5 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 30 三月 2026 09:15:28 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/QuestionnaireTask.vue | 98 +++++++++++++++++++------------------------------
1 files changed, 38 insertions(+), 60 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 22db733..3ab1854 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -260,29 +260,6 @@
></el-col>
</el-row>
<el-row v-if="form.appltype == 3">
- <!-- <el-col :span="20"
- ><el-form-item label="閫傜敤鐤剧梾" prop="region">
- <el-select
- v-model="illnesscodes"
- style="width: 400px"
- @remove-tag="removediagg"
- size="medium"
- :remote-method="remotedonor"
- multiple
- filterable
- remote
- placeholder="璇烽�夋嫨鐥呭尯"
- >
- <el-option
- class="ruleFormaa"
- v-for="item in donorchargeList"
- :key="item.icdcode"
- :label="item.icdname"
- :value="item.icdcode"
- >
- </el-option>
- </el-select> </el-form-item
- ></el-col> -->
<div class="xinz-infs">
<el-form-item>
<template #label>
@@ -319,12 +296,11 @@
<el-col :span="20"
><el-form-item label="閫傜敤鎵嬫湳" prop="region">
<el-select
- v-model="operationcodes"
+ v-model="form.oplevelcode"
style="width: 400px"
@remove-tag="removeopera"
size="medium"
:remote-method="remoteopcode"
- multiple
filterable
remote
placeholder="璇烽�夋嫨鎵嬫湳"
@@ -332,8 +308,8 @@
<el-option
class="ruleFormaa"
v-for="item in baseoperaList"
- :label="item.opdesc"
- :value="item.opcode"
+ :label="item.label"
+ :value="item.value"
>
</el-option>
</el-select> </el-form-item
@@ -966,14 +942,18 @@
dialogVisiblepatientjb: false, //娣诲姞鐤剧梾寮规
deptcodesWards: [], //绉戝鏁版嵁
leavehospitaldistrictcodes: [], //鐥呭尯鏁版嵁
- operationcodes: [], //鎵嬫湳鏁版嵁
illnesscodes: [], //鐤剧梾鏁版嵁
radio: 1,
checkboxlist: [],
tableLabel: [],
questionList: [],
donorchargeList: [],
- baseoperaList: [],
+ baseoperaList: [
+ { value: "1", label: "涓�绾ф墜鏈�" },
+ { value: "2", label: "浜岀骇鎵嬫湳" },
+ { value: "3", label: "涓夌骇鎵嬫湳" },
+ { value: "4", label: "鍥涚骇鎵嬫湳" },
+ ],
usable: [
{ value: "0", label: "鍙敤" },
{ value: "1", label: "鍋滅敤" },
@@ -1454,16 +1434,16 @@
];
if (this.form.appltype == 1) {
this.leavehospitaldistrictcodes = [];
- this.operationcodes = [];
+ this.form.oplevelcode = null;
this.illnesscodes = [];
} else if (this.form.appltype == 2) {
this.deptcodesWards = [];
- this.operationcodes = [];
+ this.form.oplevelcode = null;
this.illnesscodes = [];
} else if (this.form.appltype == 3) {
this.deptcodesWards = [];
this.leavehospitaldistrictcodes = [];
- this.operationcodes = [];
+ this.form.oplevelcode = null;
} else if (this.form.appltype == 4) {
this.deptcodesWards = [];
this.illnesscodes = [];
@@ -1478,14 +1458,12 @@
return;
}
- console.log(this.operationcodes[0]);
- console.log(this.operationcodes);
if (
this.deptcodesWards[0] ||
this.leavehospitaldistrictcodes[0] ||
this.diagglist[0] ||
- this.operationcodes[0] ||
+ this.form.oplevelcode ||
this.form.longTask == 2 ||
this.serviceType == 3
) {
@@ -1536,7 +1514,7 @@
this.form.deptcode = this.deptcodesWards.join(",");
this.form.leavehospitaldistrictcode =
this.leavehospitaldistrictcodes.join(",");
- this.form.opcode = this.operationcodes.join(",");
+ // this.form.opcode = this.operationcodes.join(",");
this.form.icd10code = this.diagglist
.map((item) => item.icdcode)
.join(",");
@@ -1661,36 +1639,36 @@
}).then((res) => {
this.donorchargeList = res.rows;
});
- getbaseopera({
- pageNum: 1,
- pageSize: 1000,
- }).then((res) => {
- this.baseoperaList = res.rows;
- });
+ // getbaseopera({
+ // pageNum: 1,
+ // pageSize: 1000,
+ // }).then((res) => {
+ // this.baseoperaList = res.rows;
+ // });
},
// 鎵嬫湳鏌ヨ
remoteopcode(name) {
- if (name) {
- getbaseopera({
- pageNum: 1,
- pageSize: 1000,
- opdesc: name,
- }).then((res) => {
- this.baseoperaList = res.rows;
- });
- }
+ // if (name) {
+ // getbaseopera({
+ // pageNum: 1,
+ // pageSize: 1000,
+ // opdesc: name,
+ // }).then((res) => {
+ // this.baseoperaList = res.rows;
+ // });
+ // }
},
// 鐤剧梾鏌ヨ
remotedonor(name) {
- if (name) {
- getbaseopera({
- pageNum: 1,
- pageSize: 1000,
- opdesc: name,
- }).then((res) => {
- this.baseoperaList = res.rows;
- });
- }
+ // if (name) {
+ // getbaseopera({
+ // pageNum: 1,
+ // pageSize: 1000,
+ // opdesc: name,
+ // }).then((res) => {
+ // this.baseoperaList = res.rows;
+ // });
+ // }
},
// 澶勭悊闂灞傚彉閲�
Variablehandling(arr, type) {
--
Gitblit v1.9.3