From 20043e072aee67f1162a5d490c063cadc2e1dcde Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期六, 09 五月 2026 14:21:41 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/complaint/index.vue |   56 ++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 46 insertions(+), 10 deletions(-)

diff --git a/src/views/followvisit/complaint/index.vue b/src/views/followvisit/complaint/index.vue
index b7ea96c..4d71869 100644
--- a/src/views/followvisit/complaint/index.vue
+++ b/src/views/followvisit/complaint/index.vue
@@ -290,7 +290,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 +340,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>
@@ -939,6 +949,7 @@
   addserviceSubtask,
   query360PatInfo,
   addsatisfaction,
+  query360PatInfonh
 } from "@/api/AiCentre/index";
 import { alterpatient, particularpatient } from "@/api/patient/homepage";
 import Treeselect from "@riophae/vue-treeselect";
@@ -1123,13 +1134,17 @@
           value: 4,
           label: "涓嶆墽琛�",
         },
-        {
+         {
           value: 5,
           label: "鍙戦�佸け璐�",
         },
         {
           value: 6,
           label: "宸插畬鎴�",
+        },
+         {
+          value: 7,
+          label: "瓒呮椂",
         },
       ],
       sextype: [
@@ -1253,6 +1268,11 @@
         this.topqueryParams.deptOrDistrict = 2;
       } else {
         this.topqueryParams.deptOrDistrict = 1;
+      }
+
+      if (!this.followupAuthority()) {
+        this.$message.warning("鏈厤缃瀹�/鐥呭尯鐩稿叧鏉冮檺涓嶅彲鏌ヨ");
+        return Promise.reject(new Error("鏃犳潈闄愭煡璇�"));
       }
       getTaskservelist(this.topqueryParams).then((response) => {
         this.userList = response.rows[0].serviceSubtaskList;
@@ -1564,8 +1584,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.data) {
+            window.open(res.data, "_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;
 
@@ -1679,13 +1716,11 @@
     },
     // 璺宠浆璇︽儏椤�
     Seedetails(row) {
-      let type = "";
+   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: {
@@ -1711,7 +1746,8 @@
             '"鐨勬暟鎹」锛�'
         )
         .then(() => {
-          getTaskservelist({
+
+      getTaskservelist({
             patid: row.patid,
             taskid: row.taskid,
           }).then((res) => {

--
Gitblit v1.9.3