From 3dcfdb6a9a1035cc3c4ff34d29f7af0ee2534068 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 10 一月 2025 13:47:27 +0800
Subject: [PATCH] 丽水提交
---
src/views/patient/propaganda/particty.vue | 59 ++++++++++++++++++++++++++++++++++-------------------------
1 files changed, 34 insertions(+), 25 deletions(-)
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index c109b37..2ca56cb 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -399,18 +399,15 @@
</el-col>
<el-col :span="1.5">
-
-
- <el-button
- type="primary"
- plain
- icon="el-icon-plus"
- size="medium"
- :disabled="!patientqueryParams.allhosp"
- @click="handleQuery"
- >鏂板</el-button
- >
-
+ <el-button
+ type="primary"
+ plain
+ icon="el-icon-plus"
+ size="medium"
+ :disabled="!patientqueryParams.allhosp"
+ @click="handleQuery"
+ >鏂板</el-button
+ >
</el-col>
<!-- <el-col :span="1.5">
@@ -661,7 +658,7 @@
</el-select> </el-form-item
></el-col>
</el-row>
- <el-row>
+ <!-- <el-row>
<el-col :span="20"
><el-form-item label="閫傜敤鐥呭尯" prop="region">
<el-select
@@ -670,7 +667,7 @@
size="medium"
multiple
filterable
- placeholder="璇烽�夋嫨绉戝"
+ placeholder="璇烽�夋嫨鐥呭尯"
>
<el-option
class="ruleFormaa"
@@ -682,7 +679,7 @@
</el-option>
</el-select> </el-form-item
></el-col>
- </el-row>
+ </el-row> -->
<div class="xinz-infs">
<el-form-item>
@@ -1033,6 +1030,8 @@
pageNum: 1, //
pageSize: 10,
topica: 1, //0鍏ㄩ儴1绉戝2鐥呭尯
+ leaveldeptcodes: [],
+ leavehospitaldistrictcodes: [],
},
topicoptions: [{ children: [{ children: [] }] }],
showSearch: true, //
@@ -1105,7 +1104,7 @@
templatename: "",
templateid: null,
libtemplateid: null,
- kcb: "浜茬埍鐨勬偅鑰�/瀹跺睘锛屾偍濂斤紒鎴戜滑鏄禉涓尰澶т簩闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝杩涜鏈鍥炶鏈嶅姟銆�",
+ kcb: "浜茬埍鐨勬偅鑰�/瀹跺睘锛屾偍濂斤紒鎴戜滑鏄櫙瀹佷汉姘戝尰闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝杩涜鏈鍥炶鏈嶅姟銆�",
jsy: "璇锋偍娉ㄦ剰浼戞伅鍜岃惀鍏伙紝鐢熸椿涓婅鍔抽�哥粨鍚堬紝閫傚綋閿荤偧锛屾垝鐑熼檺閰掞紝淇濇寔蹇冩儏鑸掔晠锛屽畾鏈熷璇娿�傞偅鏈鍥炶鍐呭灏卞埌杩欓噷锛岀鎮ㄨ韩浣撳仴搴凤紒",
},
taskoptions: [
@@ -1200,16 +1199,16 @@
deptcode: [
{ required: true, message: "閫傜敤绉戝涓嶈兘涓虹┖", trigger: "blur" },
],
- leavehospitaldistrictcode: [
- { required: true, message: "閫傜敤鐥呭尯涓嶈兘涓虹┖", trigger: "blur" },
- ],
+ // leavehospitaldistrictcode: [
+ // { required: true, message: "閫傜敤鐥呭尯涓嶈兘涓虹┖", trigger: "blur" },
+ // ],
},
// 绉戝闄㈠尯鏌ヨ鍏ュ弬
queryParamsdept: {
tempid: "",
type: 2,
},
- belongDepts:[],
+ belongDepts: [],
quote: false,
serviceType: null,
};
@@ -1516,9 +1515,9 @@
this.objyl.isoperation = 2;
this.objyl.taskid = data.taskId;
if (!this.objyl.sendDa) {
- this.objyl.sendDay='5';
+ this.objyl.sendDay = "5";
}
- console.log(this.objyl.sendDay,'this.objyl.sendDay');
+ console.log(this.objyl.sendDay, "this.objyl.sendDay");
Taskparticty(this.objyl).then((response) => {
this.previewtf = false;
@@ -1759,10 +1758,16 @@
this.$modal
.confirm('鏄惁纭鍒犻櫎鎮h��"' + row.name + '"鐨勬湇鍔¢」锛�')
.then(() => {
+ console.log();
+
let indexa = this.overallCase.indexOf(row);
let indexb = this.form.patTaskRelevances.indexOf(row);
this.overallCase.splice(indexa, 1);
- this.form.patTaskRelevances[indexb].isoperation = 3;
+ if (!this.form.taskid) {
+ this.form.patTaskRelevances.splice(indexa, 1);
+ } else {
+ this.form.patTaskRelevances[indexb].isoperation = 3;
+ }
this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
});
},
@@ -1780,6 +1785,10 @@
store.getters.leavehospitaldistrictcodes;
this.patientqueryParams.leaveldeptcodes = null;
}
+ if (!this.patientqueryParams.leavehospitaldistrictcodes||!this.patientqueryParams.leavehospitaldistrictcodes[0])
+ this.patientqueryParams.leavehospitaldistrictcodes = null;
+ if (!this.patientqueryParams.leaveldeptcodes||!this.patientqueryParams.leaveldeptcodes[0])
+ this.patientqueryParams.leaveldeptcodes = null;
this.handleAddpatient();
},
resetQuery() {},
@@ -1813,7 +1822,7 @@
templatename: "",
templateid: null,
libtemplateid: null,
- kcb: "浜茬埍鐨勬偅鑰�/瀹跺睘锛屾偍濂斤紒鎴戜滑鏄禉涓尰澶т簩闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤闅忚銆�",
+ kcb: "浜茬埍鐨勬偅鑰�/瀹跺睘锛屾偍濂斤紒鎴戜滑鏄櫙瀹佷汉姘戝尰闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤闅忚銆�",
jsy: "璇锋偍娉ㄦ剰浼戞伅鍜岃惀鍏伙紝鐢熸椿涓婅鍔抽�哥粨鍚堬紝閫傚綋閿荤偧锛屾垝鐑熼檺閰掞紝淇濇寔蹇冩儏鑸掔晠锛屽畾鏈熷璇娿�傞偅鏈鍥炶灏卞埌杩欓噷锛岀鎮ㄨ韩浣撳仴搴凤紒",
};
@@ -1998,7 +2007,7 @@
this.objyl.taskid = this.form.id;
}
if (!this.objyl.sendDay) {
- this.objyl.sendDay='5';
+ this.objyl.sendDay = "5";
}
if (this.form.templateid) {
deleteTaskparticty(this.form.templateid).then((res) => {
--
Gitblit v1.9.3