From b1d81d016019a2c59e445dd6752c9134e184c8c4 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 31 十二月 2024 14:16:31 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/particty.vue |   44 ++++++++++++++++----------------------------
 1 files changed, 16 insertions(+), 28 deletions(-)

diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index c9e0696..e2bd2f7 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -398,25 +398,8 @@
                     </el-col>
 
                     <el-col :span="1.5">
-                      <div v-if="form.longTask">
-                        <el-tooltip
-                          class="item"
-                          effect="dark"
-                          content="闀挎湡浠诲姟涓嶆敮鎸佹墜鍔ㄦ坊鍔犳偅鑰咃紒"
-                          placement="top-start"
-                        >
-                          <el-button
-                            type="primary"
-                            plain
-                            disabled
-                            icon="el-icon-plus"
-                            size="medium"
-                            @click="handleQuery"
-                            >鏂板</el-button
-                          >
-                        </el-tooltip>
-                      </div>
-                      <div v-else>
+
+
                         <el-button
                           type="primary"
                           plain
@@ -426,7 +409,7 @@
                           @click="handleQuery"
                           >鏂板</el-button
                         >
-                      </div>
+
                     </el-col>
 
                     <!-- <el-col :span="1.5">
@@ -1194,7 +1177,6 @@
       ],
       // 绉戝/鐥呭尯
       belongWards: [],
-      belongWards: [],
       deptlist: [],
       hosplist: [],
       tempDetpRelevanceslist: [], //绉戝鏁版嵁
@@ -1220,6 +1202,7 @@
         tempid: "",
         type: 2,
       },
+      belongDepts:[],
       quote: false,
       serviceType: null,
     };
@@ -1517,6 +1500,9 @@
           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');
+
           Taskparticty(this.objyl).then((response) => {
             this.previewtf = false;
             this.form.libtemplateid = this.objyl.id;
@@ -1541,7 +1527,7 @@
           if (res.code == 200) {
             this.objyl = res.data;
             if (this.form.longTask) {
-              this.objyl.longTemp = 1;
+              this.objyl.sendDay = 5;
             }
             this.queryParamsdept.type = 2;
             this.queryParamsdept.tempid = row.id;
@@ -1861,6 +1847,7 @@
     neWaddfn() {
       this.id = null;
       this.form.taskName = "";
+      this.form.sendState = null;
       this.form.taskid = null;
       this.overallCase = [];
       this.form.patTaskRelevances = [];
@@ -1993,6 +1980,7 @@
       if (this.form.id) {
         this.objyl.taskid = this.form.id;
       }
+      this.objyl.sendDay='5';
       if (this.form.templateid) {
         deleteTaskparticty(this.form.templateid).then((res) => {
           if (res.code == 200) {
@@ -2003,8 +1991,8 @@
               this.putbelongDepts(response.data);
               this.form.templatename = this.objyl.templateName;
               this.$modal.msgSuccess("鏇挎崲妯℃澘鎴愬姛");
-              this.drawermb = false;//閫夋嫨妯℃澘寮圭獥
-              this.previewtf = false;//棰勮
+              this.drawermb = false; //閫夋嫨妯℃澘寮圭獥
+              this.previewtf = false; //棰勮
               if (this.skip) {
                 // 璺宠浆鍓嶅線淇敼
                 this.$router.push({
@@ -2023,8 +2011,8 @@
           this.putbelongDepts(response.data);
           this.form.templatename = this.objyl.templateName;
           this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
-          this.drawermb = false;//閫夋嫨妯℃澘寮圭獥
-          this.previewtf = false;//棰勮
+          this.drawermb = false; //閫夋嫨妯℃澘寮圭獥
+          this.previewtf = false; //棰勮
           if (this.skip) {
             // 璺宠浆鍓嶅線淇敼
             this.$router.push({
@@ -2105,8 +2093,8 @@
     Modifytemplate() {
       if (this.form.templateid && this.previewtftype) {
         this.$modal.confirm("鏄惁鍓嶅線淇敼浠诲姟妯℃澘璇︾粏鍐呭锛�").then(() => {
-          this.drawermb = false;//閫夋嫨妯℃澘寮圭獥
-          this.previewtf = false;//棰勮
+          this.drawermb = false; //閫夋嫨妯℃澘寮圭獥
+          this.previewtf = false; //棰勮
           this.$router.push({
             path: "/knowledge/taskub/",
             query: { id: this.form.templateid },

--
Gitblit v1.9.3