From b7092c2bf77696eb13fd680cb006211c17b48f5c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 15 五月 2025 18:00:15 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/technology/index.vue |   39 +++++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/src/views/followvisit/technology/index.vue b/src/views/followvisit/technology/index.vue
index eec3dd4..645b24a 100644
--- a/src/views/followvisit/technology/index.vue
+++ b/src/views/followvisit/technology/index.vue
@@ -154,7 +154,6 @@
                 icon="el-icon-upload2"
                 size="medium"
                 @click="handleExport"
-                v-hasPermi="['system:user:export']"
                 >瀵煎嚭</el-button
               >
             </div>
@@ -231,7 +230,7 @@
               size="medium"
               type="text"
               @click="
-                gettoken360(scope.row.sfzh)
+                gettoken360(scope.row.sfzh,scope.row.drcode,scope.row.drname)
               "
               ><span class="button-textsc">{{
                 scope.row.sendname
@@ -482,7 +481,7 @@
           class-name="small-padding fixed-width"
         >
           <template slot-scope="scope">
-            <el-tooltip
+            <!-- <el-tooltip
               class="item"
               effect="dark"
               content="鍐嶆闅忚"
@@ -497,7 +496,7 @@
                   ><i class="el-icon-s-promotion"></i>鍐嶆闅忚</span
                 ></el-button
               >
-            </el-tooltip>
+            </el-tooltip> -->
             <el-tooltip
               v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2"
               class="item"
@@ -837,32 +836,32 @@
       postData: {
         XiaoXiTou: {
           FaSongFCSJC: "ZJHES",
-          FaSongJGID: "47255004333112711A1001",
-          FaSongJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+          FaSongJGID: localStorage.getItem("orgid"),
+          FaSongJGMC: localStorage.getItem("orgname"),
           FaSongSJ: "2025-01-09聽17:29:36",
           FaSongXTJC: "SUIFANGXT",
           FaSongXTMC: "闅忚绯荤粺",
           XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171",
           XiaoXiLX: "SC_LC_360STCX",
           XiaoXiMC: "360聽瑙嗗浘鏌ヨ",
-          ZuHuID: "1400361376454545408",
-          ZuHuMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+          ZuHuID: localStorage.getItem("ZuHuID"),
+          ZuHuMC: localStorage.getItem("orgname"),
         },
         YeWuXX: {
           BingRenXX: {
             ZhengJianHM: '',
             ZhengJianLXDM: "01",
             ZhengJianLXMC: "灞呮皯韬唤璇�",
-            ZuZhiJGID: "47255004333112711A1001",
-            ZuZhiJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+            ZuZhiJGID: localStorage.getItem("orgid"),
+            ZuZhiJGMC: localStorage.getItem("orgname"),
           },
           YongHuXX: {
             XiTongID: "SUIFANGXT",
             XiTongMC: "闅忚绯荤粺",
             YongHuID: "1400466972205912064",
             YongHuXM: "JNRMYY",
-            ZuZhiJGID: "47255004333112711A1001",
-            ZuZhiJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�",
+            ZuZhiJGID: localStorage.getItem("orgid"),
+            ZuZhiJGMC: localStorage.getItem("orgname"),
             idp: "lyra",
           },
         },
@@ -880,7 +879,7 @@
       topqueryParams: {
         pageNum: 1,
         pageSize: 10,
-        serviceType: 11,
+        serviceType: 10,
         searchscope: 3,
         sendstate:2,
         scopetype: [],
@@ -1092,8 +1091,12 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh) {
-      this.postData.YeWuXX.BingRenXX.ZhengJianHM=sfzh
+    gettoken360(sfzh,drcode,drname) {
+      this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
+      if (this.postData.XiaoXiTou.ZuHuMC=='涓芥按甯備腑鍖婚櫌') {
+        this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728';
+        this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY';
+      }
       query360PatInfo(this.postData).then((res) => {
         if (res.data.url) {
            window.open(res.data.url, '_blank');
@@ -1200,7 +1203,7 @@
       this.topqueryParams = {
         pageNum: 1,
         pageSize: 10,
-        serviceType: 11,
+        serviceType: 10,
         searchscope: 2,
         sendstate:2,
       };
@@ -1238,7 +1241,7 @@
         path: "/followvisit/QuestionnaireTask",
         query: {
           type: 2,
-          serviceType: 11,
+          serviceType: 10,
         },
       });
     },
@@ -1407,7 +1410,7 @@
       this.topqueryParams.pageNum = null;
       this.topqueryParams.pageSize = null;
       this.download(
-        "smartor/serviceSubtask/export",
+        "smartor/serviceSubtask/patItemExport",
         {
           ...this.topqueryParams,
         },

--
Gitblit v1.9.3