From fb34ba28cb908bd328cf6690ab0b19a56428f4e2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 13 十一月 2026 10:56:55 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/technology/index.vue |   93 ++++++++++++++++++++++++++--------------------
 1 files changed, 53 insertions(+), 40 deletions(-)

diff --git a/src/views/followvisit/technology/index.vue b/src/views/followvisit/technology/index.vue
index 710c447..3c79ac7 100644
--- a/src/views/followvisit/technology/index.vue
+++ b/src/views/followvisit/technology/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="app-container">
-     <statistics-cards
+    <statistics-cards
       :cardlist="cardlist"
       :ycvalue="ycvalue"
       :jgvalue="jgvalue"
@@ -83,7 +83,7 @@
         <el-col :span="1.5">
           <el-button
             type="primary"
-                        icon="el-icon-plus"
+            icon="el-icon-plus"
             size="medium"
             @click="handleAdd"
             >鏂板</el-button
@@ -174,7 +174,12 @@
               size="medium"
               type="text"
               @click="
-                gettoken360(scope.row.sfzh,scope.row.drcode,scope.row.drname,scope.row.patid,)
+                gettoken360(
+                  scope.row.sfzh,
+                  scope.row.drcode,
+                  scope.row.drname,
+                  scope.row.patid
+                )
               "
               ><span class="button-textsc">{{
                 scope.row.sendname
@@ -190,7 +195,7 @@
           width="120"
         >
           <template slot-scope="scope">
-             <el-tooltip
+            <el-tooltip
               class="item"
               effect="dark"
               :content="scope.row.remark"
@@ -331,8 +336,8 @@
         <el-table-column
           label="绉戝"
           align="center"
-          key="deptname"
-          prop="deptname"
+          key="leaveldeptname"
+          prop="leaveldeptname"
           width="120"
         >
         </el-table-column>
@@ -362,7 +367,7 @@
           prop="templatename"
           width="200"
         />
-         <el-table-column
+        <el-table-column
           label="浠诲姟鐘舵��"
           align="center"
           key="sendstate"
@@ -470,7 +475,7 @@
                 size="medium"
                 type="text"
                 @click="followupvisit(scope.row)"
-                v-hasPermi="['system:user:edit']"
+
                 ><span class="button-bb"
                   ><i class="el-icon-s-promotion"></i>鍐嶆闅忚</span
                 ></el-button
@@ -487,7 +492,6 @@
                 size="medium"
                 type="text"
                 @click="handlestop(scope.row)"
-                v-hasPermi="['system:user:edit']"
                 ><span class="button-sc"
                   ><i class="el-icon-remove-outline"></i>鏆傚仠鏈嶅姟</span
                 ></el-button
@@ -696,7 +700,11 @@
   resetUserPwd,
   changeUserStatus,
 } from "@/api/system/user";
-import { getTaskservelist, buidegetTasklist,query360PatInfo } from "@/api/AiCentre/index";
+import {
+  getTaskservelist,
+  buidegetTasklist,
+  query360PatInfo,
+} from "@/api/AiCentre/index";
 import Treeselect from "@riophae/vue-treeselect";
 import store from "@/store";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -705,7 +713,7 @@
 export default {
   name: "Discharge",
   dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"],
-  components: { Treeselect,StatisticsCards },
+  components: { Treeselect, StatisticsCards },
   data() {
     return {
       // 閬僵灞�
@@ -719,6 +727,8 @@
       // 鏄剧ず鎼滅储鏉′欢
       showSearch: true,
       dialogFormVisible: false,
+      jgvalue: 0,
+
       // 鎬绘潯鏁�
       total: 0,
       // 鐢ㄦ埛琛ㄦ牸鏁版嵁
@@ -743,7 +753,7 @@
       zcform: {},
       dynamicTags: ["閫夐」涓�", "閫夐」浜�", "閫夐」涓�"], //閫夐」
       inputVisible: false,
-      ycvalue: "",
+      ycvalue: 0,
       yfsvalue: "",
       inputValue: "",
       preachform: "",
@@ -850,7 +860,7 @@
         },
         YeWuXX: {
           BingRenXX: {
-            ZhengJianHM: '',
+            ZhengJianHM: "",
             ZhengJianLXDM: "01",
             ZhengJianLXMC: "灞呮皯韬唤璇�",
             ZuZhiJGID: localStorage.getItem("orgid"),
@@ -867,6 +877,7 @@
           },
         },
       },
+      orgname: "",
       // 琛ㄥ崟鍙傛暟
       form: {
         phonenumber: "",
@@ -882,7 +893,7 @@
         pageSize: 10,
         serviceType: 10,
         searchscope: 3,
-        sendstate:2,
+        sendstate: 2,
         scopetype: [],
         leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
@@ -890,7 +901,7 @@
       propss: { multiple: true },
       options: [],
 
-       topicoptions: [
+      topicoptions: [
         {
           value: null,
           label: "鍏ㄩ儴",
@@ -939,6 +950,8 @@
     this.serviceState = store.getters.serviceState;
     this.checkboxlist = store.getters.checkboxlist;
     this.errtype = this.$route.query.errtype;
+    this.orgname = localStorage.getItem("orgname");
+
     this.leavehospitaldistrictcode =
       this.$route.query.leavehospitaldistrictcode;
     this.sourcetype[0].children = store.getters.belongDepts.map((dept) => {
@@ -984,10 +997,13 @@
         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;
+      if (
+        this.topqueryParams.leavehospitaldistrictcodes[0] &&
+        this.topqueryParams.leaveldeptcodes[0]
+      ) {
+        this.topqueryParams.deptOrDistrict = 2;
+      } else {
+        this.topqueryParams.deptOrDistrict = 1;
       }
 
       if (!this.followupAuthority()) {
@@ -1035,13 +1051,12 @@
       });
     },
     buidegetTasklist(type) {
-      if (this.topqueryParams.searchscope == 3) {
-        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
-          (obj) => obj.deptCode
-        );
-        this.topqueryParams.leavehospitaldistrictcodes =
-          store.getters.belongWards.map((obj) => obj.districtCode);
-      }
+      // 鐢ㄦ埛鏉冮檺涓嬫墍鏈夊緟闅忚浠诲姟锛氫紶閫掑叏閮ㄧ瀹ゅ拰鐥呭尯
+      this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
+        (obj) => obj.deptCode
+      );
+      this.topqueryParams.leavehospitaldistrictcodes =
+        store.getters.belongWards.map((obj) => obj.districtCode);
       // 鎺ュ彈寮傚父璺宠浆
       if (this.errtype) {
         this.topqueryParams.leavehospitaldistrictcodes.push(
@@ -1053,7 +1068,7 @@
         pageSize: 10,
         leavehospitaldistrictcodes:
           this.topqueryParams.leavehospitaldistrictcodes,
-        sendstates: [2, 3],
+        sendstateView: 1,
         leaveldeptcodes: this.topqueryParams.leaveldeptcodes,
       };
       buidegetTasklist(obj).then((response) => {
@@ -1097,7 +1112,7 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh,drcode,drname,id) {
+    gettoken360(sfzh, drcode, drname, id) {
       const orgname = localStorage.getItem("orgname");
       if (orgname == "鍗楀崕澶у闄勫睘绗竴鍖婚櫌") {
         query360PatInfonh(id).then((res) => {
@@ -1120,13 +1135,12 @@
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
       query360PatInfo(this.postData).then((res) => {
         if (res.data.url) {
-           window.open(res.data.url, '_blank');
+          window.open(res.data.url, "_blank");
           // this.linkUrl = res.data.url;
-        }else{
+        } else {
           this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�");
         }
       });
-
     },
     // 鏌ョ湅闂ㄨ瘖闅忚璇︽儏
     Referencequestion(row) {
@@ -1257,7 +1271,7 @@
         pageSize: 10,
         serviceType: 10,
         searchscope: 2,
-        sendstate:2,
+        sendstate: 2,
       };
       this.handleQuery(1);
     },
@@ -1396,9 +1410,9 @@
     Seedetails(row) {
       let type = "";
       console.log(row, "rwo");
-        if (row.type == 1) {
-          type = 1;
-        }
+      if (row.type == 1) {
+        type = 1;
+      }
       this.$router.push({
         path: "/followvisit/record/detailpage/",
         query: {
@@ -1426,8 +1440,7 @@
             '"鐨勬暟鎹」锛�'
         )
         .then(() => {
-
-      getTaskservelist({
+          getTaskservelist({
             patid: row.patid,
             taskid: row.taskid,
           }).then((res) => {
@@ -1571,11 +1584,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