From 0516a6bf61d07b035e1a7c361d1566963a313fdd Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 11 三月 2025 14:34:41 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/ycquestionnaire/index.vue |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/src/views/patient/ycquestionnaire/index.vue b/src/views/patient/ycquestionnaire/index.vue
index 3c211f2..67c3af9 100644
--- a/src/views/patient/ycquestionnaire/index.vue
+++ b/src/views/patient/ycquestionnaire/index.vue
@@ -26,7 +26,7 @@
           <div class="ysfleftvlue">
             <el-card shadow="hover">
               <div style="padding: 8px">
-                <span>宸插彂閫佹湭棰嗗彇</span>
+                <span>琛ㄥ崟宸插彂閫�</span>
                 <div
                   style="
                     text-align: center;
@@ -223,17 +223,17 @@
           <template slot-scope="scope">
             <div v-if="scope.row.sendstate == 1">
               <el-tag type="primary" :disable-transitions="false"
-                >琚鍙�</el-tag
+                >琛ㄥ崟宸查鍙�</el-tag
               >
             </div>
             <div v-if="scope.row.sendstate == 2">
               <el-tag type="primary" :disable-transitions="false"
-                >寰呭彂閫�</el-tag
+                >寰呮墽琛�</el-tag
               >
             </div>
             <div v-if="scope.row.sendstate == 3">
               <el-tag type="success" :disable-transitions="false"
-                >宸插彂閫佹湭棰嗗彇</el-tag
+                >琛ㄥ崟宸插彂閫�</el-tag
               >
             </div>
             <div v-if="scope.row.sendstate == 4">
@@ -736,7 +736,7 @@
           value: 0,
         },
         {
-          name: "寰呭彂閫�",
+          name: "寰呮墽琛�",
           value: 0,
         },
         {
@@ -745,7 +745,7 @@
         },
 
         // {
-        //   name: "宸插彂閫佹湭棰嗗彇",
+        //   name: "琛ㄥ崟宸插彂閫�",
         //   value: 0,
         // },
       ],
@@ -775,15 +775,15 @@
       topicoptions: [
         {
           value: 1,
-          label: "琚鍙�",
+          label: "琛ㄥ崟宸查鍙�",
         },
         {
           value: 2,
-          label: "寰呭彂閫�",
+          label: "寰呮墽琛�",
         },
         {
           value: 3,
-          label: "宸插彂閫佹湭棰嗗彇",
+          label: "琛ㄥ崟宸插彂閫�",
         },
         {
           value: 4,
@@ -866,6 +866,11 @@
         console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
       }
       this.loading = true;
+      if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
+        this.topqueryParams.deptOrDistrict=2;
+      }else{
+        this.topqueryParams.deptOrDistrict=1;
+      }
       getTaskservelist(this.topqueryParams).then((response) => {
         this.userList = response.rows[0].serviceSubtaskList;
         this.total = response.total;
@@ -888,10 +893,8 @@
           }
 
           if (item.preachform) {
-            if (item.endtime) {
               item.preachformson = item.preachform;
               idArray = item.preachform.split(",");
-            }
 
             item.preachform = idArray.map((value) => {
               // 鏌ユ壘id瀵瑰簲鐨勫璞�

--
Gitblit v1.9.3