From 77fb64c1475ce550f20982ece9c05a0c6c843799 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 09 一月 2025 16:55:22 +0800
Subject: [PATCH] 新华提交
---
src/views/patient/propaganda/particty.vue | 68 ++++++++++++++++++++++++----------
1 files changed, 48 insertions(+), 20 deletions(-)
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index e2bd2f7..0b1608d 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -78,6 +78,7 @@
v-for="(item, index) in checkboxlist"
:key="index"
:label="item.value"
+ :disabled="!item.disabled"
@change="checkboxChange($event, item.value)"
>
{{ item.label }}</el-checkbox
@@ -398,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">
@@ -660,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
@@ -669,7 +667,7 @@
size="medium"
multiple
filterable
- placeholder="璇烽�夋嫨绉戝"
+ placeholder="璇烽�夋嫨鐥呭尯"
>
<el-option
class="ruleFormaa"
@@ -681,7 +679,7 @@
</el-option>
</el-select> </el-form-item
></el-col>
- </el-row>
+ </el-row> -->
<div class="xinz-infs">
<el-form-item>
@@ -1032,6 +1030,8 @@
pageNum: 1, //
pageSize: 10,
topica: 1, //0鍏ㄩ儴1绉戝2鐥呭尯
+ leaveldeptcodes: [],
+ leavehospitaldistrictcodes: [],
},
topicoptions: [{ children: [{ children: [] }] }],
showSearch: true, //
@@ -1196,13 +1196,19 @@
sendType: [
{ required: true, message: "鍙戦�佽缃笉鑳戒负绌�", trigger: "blur" },
],
+ deptcode: [
+ { required: true, message: "閫傜敤绉戝涓嶈兘涓虹┖", trigger: "blur" },
+ ],
+ // leavehospitaldistrictcode: [
+ // { required: true, message: "閫傜敤鐥呭尯涓嶈兘涓虹┖", trigger: "blur" },
+ // ],
},
// 绉戝闄㈠尯鏌ヨ鍏ュ弬
queryParamsdept: {
tempid: "",
type: 2,
},
- belongDepts:[],
+ belongDepts: [],
quote: false,
serviceType: null,
};
@@ -1315,6 +1321,11 @@
label: "绾歌川",
},
{
+ value: "4",
+ label: "鐭俊",
+
+ },
+ {
value: "5",
label: "寰俊鍏紬鍙�",
},
@@ -1328,6 +1339,7 @@
{
value: "4",
label: "鐭俊",
+
},
{
value: "5",
@@ -1360,6 +1372,7 @@
{
value: "4",
label: "鐭俊",
+
},
{
value: "5",
@@ -1383,6 +1396,7 @@
{
value: "4",
label: "鐭俊",
+
},
{
value: "5",
@@ -1500,8 +1514,10 @@
this.objyl = res.data;
this.objyl.isoperation = 2;
this.objyl.taskid = data.taskId;
- this.objyl.sendDay='5',
- console.log(this.objyl.sendDay,'this.objyl.sendDay');
+ if (!this.objyl.sendDa) {
+ this.objyl.sendDay = "5";
+ }
+ console.log(this.objyl.sendDay, "this.objyl.sendDay");
Taskparticty(this.objyl).then((response) => {
this.previewtf = false;
@@ -1742,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("鍒犻櫎鎴愬姛");
});
},
@@ -1763,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() {},
@@ -1980,7 +2006,9 @@
if (this.form.id) {
this.objyl.taskid = this.form.id;
}
- this.objyl.sendDay='5';
+ if (!this.objyl.sendDay) {
+ this.objyl.sendDay = "5";
+ }
if (this.form.templateid) {
deleteTaskparticty(this.form.templateid).then((res) => {
if (res.code == 200) {
--
Gitblit v1.9.3