From 15c90ad541d895a4e0ceab0dd430260535479341 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 07 五月 2026 10:20:44 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/zysatisfaction/index.vue |   99 +++++++++++++++++++++++++++++++++----------------
 1 files changed, 66 insertions(+), 33 deletions(-)

diff --git a/src/views/followvisit/zysatisfaction/index.vue b/src/views/followvisit/zysatisfaction/index.vue
index c981005..710751c 100644
--- a/src/views/followvisit/zysatisfaction/index.vue
+++ b/src/views/followvisit/zysatisfaction/index.vue
@@ -91,7 +91,6 @@
           ></el-date-picker>
         </el-form-item>
 
-
         <el-form-item label="鎮h�呭鍚�" prop="sendname">
           <el-input
             v-model="topqueryParams.sendname"
@@ -188,7 +187,7 @@
         <el-col :span="1.5">
           <el-button
             type="primary"
-                        icon="el-icon-plus"
+            icon="el-icon-plus"
             size="medium"
             @click="handleAdd"
             >鏂板</el-button
@@ -253,12 +252,11 @@
           <div class="documentf">
             <div class="document">
               <el-button type="success" size="medium" @click="onthatday()"
-                >褰撴棩鏈嶅姟</el-button
+                >浠婃棩鏈嶅姟</el-button
               >
             </div>
           </div>
         </el-col>
-
       </el-row>
       <el-table
         v-loading="loading"
@@ -290,7 +288,12 @@
               size="medium"
               type="text"
               @click="
-                gettoken360(scope.row.sfzh, scope.row.drcode, scope.row.drname)
+                gettoken360(
+                    scope.row.sfzh,
+                    scope.row.drcode,
+                    scope.row.drname,
+                    scope.row.patid
+                  )
               "
               ><span class="button-textsc">{{
                 scope.row.sendname
@@ -335,9 +338,14 @@
                   >鍙戦�佸け璐�</el-tag
                 >
               </div>
-              <div v-if="scope.row.sendstate == 6">
+            <div v-if="scope.row.sendstate == 6">
                 <el-tag type="success" :disable-transitions="false"
                   >宸插畬鎴�</el-tag
+                >
+              </div>
+              <div v-if="scope.row.sendstate == 7">
+                <el-tag type="danger" :disable-transitions="false"
+                  >瓒呮椂</el-tag
                 >
               </div>
             </el-tooltip>
@@ -395,13 +403,7 @@
           key="drname"
           prop="drname"
         />
-        <el-table-column
-          label="闅忚浜哄憳"
-          align="center"
-          key="updateBy"
-          prop="updateBy"
-          width="120"
-        />
+
         <el-table-column
           label="缁忕鍖荤敓"
           align="center"
@@ -480,7 +482,13 @@
           :show-overflow-tooltip="true"
         >
         </el-table-column>
-
+        <el-table-column
+          label="闅忚浜哄憳"
+          align="center"
+          key="updateBy"
+          prop="updateBy"
+          width="120"
+        />
         <el-table-column
           label="浣忛櫌婊℃剰搴︽ā鏉垮悕绉�"
           align="center"
@@ -816,7 +824,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-        <el-row >
+        <el-row>
           <el-col :span="8">
             <el-form-item label="杩囨护鍖荤敓" width="100" prop="filterDrname">
               <el-input
@@ -920,7 +928,6 @@
       </span>
     </el-dialog>
     <!-- 鍐嶆闅忚 -->
-
   </div>
 </template>
 
@@ -938,6 +945,7 @@
   addserviceSubtask,
   query360PatInfo,
   addsatisfaction,
+  query360PatInfonh
 } from "@/api/AiCentre/index";
 import { alterpatient, particularpatient } from "@/api/patient/homepage";
 import Treeselect from "@riophae/vue-treeselect";
@@ -1083,6 +1091,13 @@
         {
           value: 3,
           label: "鍙戦�佹椂闂�(鍊掑簭)",
+        },{
+          value: 7,
+          label: "搴旈殢璁挎棩鏈�(姝e簭)",
+        },
+        {
+          value: 8,
+          label: "搴旈殢璁挎棩鏈�(鍊掑簭)",
         },
       ],
       // 鏌ヨ鍙傛暟
@@ -1090,7 +1105,7 @@
         pageNum: 1,
         pageSize: 10,
         sendstate: 6,
-        sort: 2, //0 鍑洪櫌鏃堕棿(姝e簭)    1 鍑洪櫌鏃堕棿(鍊掑簭)   2 鍙戦�佹椂闂�(姝e簭)    3 鍙戦�佹椂闂�(鍊掑簭)
+        sort: localStorage.getItem("orgname") == "涓芥按甯備腑鍖婚櫌" ? 8 : 2, //0 鍑洪櫌鏃堕棿(姝e簭)    1 鍑洪櫌鏃堕棿(鍊掑簭)   2 鍙戦�佹椂闂�(姝e簭)    3 鍙戦�佹椂闂�(鍊掑簭)  7搴旈殢璁挎棩鏈�(鍊掑簭) 搴旈殢璁挎棩鏈�(姝e簭)
         serviceType: 6,
         searchscope: 3,
         visitCount: 1,
@@ -1122,13 +1137,17 @@
           value: 4,
           label: "涓嶆墽琛�",
         },
-        {
+         {
           value: 5,
           label: "鍙戦�佸け璐�",
         },
         {
           value: 6,
           label: "宸插畬鎴�",
+        },
+         {
+          value: 7,
+          label: "瓒呮椂",
         },
       ],
       sextype: [
@@ -1294,9 +1313,8 @@
       });
     },
     affiliation() {
-      this.topqueryParams.drcode = store.getters.hisUserId;
-      this.topqueryParams.nurseId = store.getters.hisUserId;
-      this.topqueryParams.managementDoctor = store.getters.name;
+      this.topqueryParams.managementDoctorCode = store.getters.hisUserId;
+
       this.getList(1);
     },
     onthatday() {
@@ -1522,13 +1540,13 @@
         if (res.code == 200) {
           this.$message.success("璇勫垎淇濆瓨鎴愬姛");
           this.scoreDialogVisible = false;
-          this.selectedRows=[];
-          this.$refs.userform.clearSelection()
+          this.selectedRows = [];
+          this.$refs.userform.clearSelection();
         } else {
           this.$modal.msgWarning("璇勫垎淇濆瓨澶辫触");
           this.scoreDialogVisible = false;
-          this.selectedRows=[];
-          this.$refs.userform.clearSelection()
+          this.selectedRows = [];
+          this.$refs.userform.clearSelection();
         }
       });
       // 杩欓噷鍙互娣诲姞淇濆瓨閫昏緫锛屽璋冪敤API淇濆瓨璇勫垎
@@ -1564,8 +1582,25 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh, drcode, drname) {
-      // this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
+    gettoken360(sfzh, drcode, drname, id) {
+      const orgname = localStorage.getItem("orgname");
+      if (orgname == "鍗楀崕澶у闄勫睘绗竴鍖婚櫌") {
+        query360PatInfonh(id).then((res) => {
+          if (res.url) {
+            window.open(res.url, "_blank");
+          } else {
+            this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�");
+          }
+        });
+        return;
+      } else if (
+        orgname == "绗竴浜烘皯鍖婚櫌婀栨花闄㈠尯" ||
+        orgname == "绗竴浜烘皯鍖婚櫌鍚村北闄㈠尯"
+      ) {
+        let url = `http://192.200.81.189:9100/blj/view?BINGRENID=${id}&YONGHUID=DBA`;
+        window.open(url, "_blank");
+        return;
+      }
 
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
 
@@ -1681,11 +1716,9 @@
     Seedetails(row) {
       let type = "";
       console.log(row, "rwo");
-      if (row.preachformson) {
-        if (row.preachformson.includes("3")) {
+        if (row.type == 1) {
           type = 1;
         }
-      }
       this.$router.push({
         path: "/followvisit/record/detailpage/",
         query: {
@@ -1876,11 +1909,11 @@
   }
 }
 ::v-deep.leftvlue .el-card__body {
-  background: #F2F8FF;
-  color: #324A9B;
+  background: #f2f8ff;
+  color: #324a9b;
 }
 ::v-deep.leftvlue .el-card__body:hover {
-  background: #3664D9;
+  background: #3664d9;
   color: #fff;
   cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
 }

--
Gitblit v1.9.3