From 30e7ca11b36177cdaea2839aa5146c180ce53197 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 21 七月 2025 21:32:43 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/tasklist/index.vue            |    4 +-
 src/views/knowledge/education/index.vue             |    8 ++--
 src/views/knowledge/education/compilequer/index.vue |    5 +-
 src/views/patient/propaganda/Missioncreation.vue    |   49 ++++++++++++++----------
 4 files changed, 37 insertions(+), 29 deletions(-)

diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index 3250894..92b7233 100644
--- a/src/views/followvisit/tasklist/index.vue
+++ b/src/views/followvisit/tasklist/index.vue
@@ -688,8 +688,6 @@
     /** 鏌ヨ浠诲姟鍒楄〃 */
     getList() {
       this.loading = true;
-      console.log(this.topqueryParams.type);
-
       this.topqueryParams.serviceType = Number(this.tasktopic);
       if (
         this.tasktopic == 2 ||
@@ -785,6 +783,8 @@
       this.topqueryParams.pageNum = 1;
       if (this.tasktopic == 4) {
         this.topqueryParams.type = 3;
+      }else{
+        this.topqueryParams.type = 2;
       }
       // this.topqueryParams.type = '';
       this.getList();
diff --git a/src/views/knowledge/education/compilequer/index.vue b/src/views/knowledge/education/compilequer/index.vue
index be12c5b..42140b2 100644
--- a/src/views/knowledge/education/compilequer/index.vue
+++ b/src/views/knowledge/education/compilequer/index.vue
@@ -919,9 +919,6 @@
     beforeEditorUpload(res, file) {
       //鏄剧ず涓婁紶鍔ㄧ敾
       this.quillUpdateImg = true;
-      //  const res1 = await uploadImage()
-      // console.log(res1,'=====');
-      // this.$emit('before',res, file)
       console.log(res);
       console.log(file);
     },
@@ -1018,6 +1015,8 @@
         });
     },
     Getmissioncontent(url) {
+      console.log(111,url);
+
       axios
         .get(url)
         .then((response) => {
diff --git a/src/views/knowledge/education/index.vue b/src/views/knowledge/education/index.vue
index 3be5dc8..b96878d 100644
--- a/src/views/knowledge/education/index.vue
+++ b/src/views/knowledge/education/index.vue
@@ -144,7 +144,7 @@
                   icon="el-icon-plus"
                   size="medium"
                   @click="handleAdd"
-                  v-hasPermi="['system:user:add']"
+
                   >鏂板</el-button
                 >
               </el-col>
@@ -157,7 +157,7 @@
                   size="medium"
                   :disabled="multiple"
                   @click="handleDelete"
-                  v-hasPermi="['system:user:remove']"
+
                   >鍒犻櫎</el-button
                 >
               </el-col>
@@ -326,7 +326,7 @@
                     size="medium"
                     type="text"
                     @click="Vieweducation(scope.row)"
-                    v-hasPermi="['system:user:edit']"
+
                     ><span class="button-textck"
                       ><i class="el-icon-edit"></i>棰勮</span
                     ></el-button
@@ -335,7 +335,7 @@
                     size="medium"
                     type="text"
                     @click="handleUpdate(scope.row)"
-                    v-hasPermi="['system:user:edit']"
+
                     ><span class="button-textxg"
                       ><i class="el-icon-edit"></i>淇敼</span
                     ></el-button
diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue
index 014663b..5527139 100644
--- a/src/views/patient/propaganda/Missioncreation.vue
+++ b/src/views/patient/propaganda/Missioncreation.vue
@@ -390,7 +390,6 @@
                         icon="el-icon-upload2"
                         size="medium"
                         @click="handleImport"
-
                         >瀵煎叆</el-button
                       >
                     </el-col>
@@ -592,10 +591,12 @@
           <el-table-column prop="serial" label="鎮h�卛d"> </el-table-column>
           <el-table-column prop="name" label="濮撳悕"> </el-table-column>
           <el-table-column prop="sex" label="鎬у埆"> </el-table-column>
-          <el-table-column prop="idcardno" width="300" label="璇佷欢鍙风爜"> </el-table-column>
+          <el-table-column prop="idcardno" width="300" label="璇佷欢鍙风爜">
+          </el-table-column>
           <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column>
-          <el-table-column prop="telcode" width="200" label="鑱旂郴鏂瑰紡"> </el-table-column>
-          <el-table-column prop="createTime"  width="200" label="鍒涘缓鏃ユ湡">
+          <el-table-column prop="telcode" width="200" label="鑱旂郴鏂瑰紡">
+          </el-table-column>
+          <el-table-column prop="createTime" width="200" label="鍒涘缓鏃ユ湡">
           </el-table-column>
         </el-table>
         <!-- <pagination
@@ -1094,6 +1095,11 @@
         this.$modal.msgError("鏈�夋嫨妯℃澘");
         return;
       }
+      if (this.form.deptcode || this.form.leavehospitaldistrictcode) {
+      } else {
+        this.$modal.msgError("璇烽�夋嫨绉戝鎴栫梾鍖�");
+        return;
+      }
       const filteredArray = this.variableList.filter(
         (item) =>
           item.name !== "濮撳悕" && item.name !== "鐢佃瘽" && item.name !== "鍦板潃"
@@ -1104,7 +1110,7 @@
         this.form.isoperation = 2;
       } else {
         this.form.isoperation = 1;
-        this.form.sendState=1;
+        this.form.sendState = 1;
       }
       if (!this.form.type) {
         this.form.type = this.$route.query.type;
@@ -1256,7 +1262,7 @@
     handleExport() {},
 
     // 閫夋嫨鎮h�呰〃鏁版嵁
-    handleSelectionChange(selection,type) {
+    handleSelectionChange(selection, type) {
       console.log("澶氶�夋偅鑰�");
       this.SelectPatientslist = selection;
       this.multiple = !selection.length;
@@ -1271,8 +1277,8 @@
             item.sfzh = item.idcardno;
           }
           if (type) {
-            item.hospType=type
-          }else{
+            item.hospType = type;
+          } else {
             item.hospType = this.patientqueryParams.allhosp;
           }
           this.overallCase.push(item);
@@ -1520,16 +1526,19 @@
     previewFn() {
       this.Tasktemplate.id = null;
 
-      this.Tasktemplate.templateid = this.libId;
-      this.Tasktemplate.isoperation = 1;
-      TaskQuestioncomit(this.Tasktemplate).then((response) => {
-        console.log(response);
-        this.previewtf = false;
-        this.form.templateid = response.data;
-        this.form.libtemplateid = this.libId;
-        this.form.templatename = this.libName;
-        this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
-      });
+      this.form.templateid = this.libId;
+      this.form.templatename = this.libName;
+      this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
+      this.previewtf = false;
+
+      // this.Tasktemplate.isoperation = 1;
+      // TaskQuestioncomit(this.Tasktemplate).then((response) => {
+      //   console.log(response);
+      //   this.previewtf = false;
+      //   this.form.templateid = response.data;
+      //   this.form.libtemplateid = this.libId;
+      //   this.form.templatename = this.libName;
+      // });
     },
     // 澶勭悊鏈嶅姟褰㈠紡
     formatFn(type) {
@@ -1583,9 +1592,9 @@
         this.$refs.upload.submit();
         this.dractive++;
       } else if (this.dractive == 2) {
-        this.handleSelectionChange(this.uploadingData,4);
+        this.handleSelectionChange(this.uploadingData, 4);
         this.upload.open = false;
-        this.dractive = 1
+        this.dractive = 1;
       }
     },
 

--
Gitblit v1.9.3