From 0e6e48f9fe8920a6205829d0d26fb0c5452b3842 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 10 十一月 2026 10:32:27 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/OutpatientAgain/index.vue       |    6 +-
 src/views/followvisit/complaint/index.vue             |    2 
 src/views/followvisit/technology/index.vue            |   68 +++++++++++++---------
 src/views/followvisit/again/index.vue                 |    2 
 src/views/followvisit/zbAgain/index.vue               |    2 
 src/main.js                                           |    4 
 src/views/sfstatistics/percentage/index.vue           |   20 +++++-
 src/views/followvisit/discharge/outpatientService.vue |    3 +
 src/views/Satisfaction/sfstatistics/index.vue         |   16 ++++-
 src/App.vue                                           |    4 
 src/views/followvisit/record/index.vue                |    4 +
 src/views/followvisit/discharge/index.vue             |   21 ++++---
 12 files changed, 99 insertions(+), 53 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 8bd417f..ff32a52 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -11,9 +11,9 @@
       primary-color="#1890ff"
     />
     <!-- 鍙充笅瑙掞細褰撳墠鐧诲綍浜哄緟澶勭悊闅忚浠诲姟锛堟寜鍑洪櫌骞存湀锛� -->
-    <PendingTaskBox v-if="Assvite" />
+    <!-- <PendingTaskBox v-if="Assvite" /> -->
     <!-- 涓磋繎瓒呮椂浠诲姟鐧诲綍鍚庡脊绐楋紙浠呮櫙瀹�/鏂板崕涓ゅ鏈烘瀯瑙﹀彂锛� -->
-    <NearTimeoutDialog v-if="Assvite" />
+    <!-- <NearTimeoutDialog v-if="Assvite" /> -->
   </div>
 </template>
 
diff --git a/src/main.js b/src/main.js
index c179d8e..4ecbd5b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -157,10 +157,10 @@
 Vue.mixin({
   computed: {
     isTongdeOrg() {
-      return this.$store.getters.isTongdeOrg;
+      return this.$store.getters.isTongdeOrg; // 鏄惁鐪佺珛鍚屽痉绯诲垪闄㈠尯锛堝惈鍗楀崕澶у闄勫睘绗竴鍖婚櫌锛�
     },
     isTongdeCampus() {
-      return this.$store.getters.isTongdeCampus;
+      return this.$store.getters.isTongdeCampus;// 鏄惁绾渷绔嬪悓寰烽櫌鍖猴紙涓嶅惈鍗楀崕澶у闄勫睘绗竴鍖婚櫌锛�
     },
   },
 });
diff --git a/src/views/Satisfaction/sfstatistics/index.vue b/src/views/Satisfaction/sfstatistics/index.vue
index 119f4e8..dd32903 100644
--- a/src/views/Satisfaction/sfstatistics/index.vue
+++ b/src/views/Satisfaction/sfstatistics/index.vue
@@ -21,7 +21,9 @@
         <charts-panel v-if="activeTab === 'chartsPanel'" />
       </el-tab-pane>
       <!-- 婊℃剰搴﹀垎鏋愶細鎮h�呰〃鍗� + 闂璇︽儏鍗犳瘮锛堣〃/鏌辩姸鍥�/楗煎浘锛� -->
-      <el-tab-pane label="鎮h�呴殢璁夸俊鎭〃鍗�" name="analysisForm">
+      <el-tab-pane label="鎮h�呴殢璁夸俊鎭〃鍗�" name="analysisForm"
+          v-if="isTongdeOrg"
+      >
         <completed-detail
           v-if="activeTab === 'analysisForm'"
           :rows="completedRows"
@@ -29,14 +31,18 @@
           :loading="completedLoading"
         />
       </el-tab-pane>
-      <el-tab-pane label="闂璇︽儏鍗犳瘮" name="analysisRatio">
+      <el-tab-pane label="闂璇︽儏鍗犳瘮" name="analysisRatio"
+          v-if="isTongdeOrg"
+      >
         <question-ratio-table
           v-if="activeTab === 'analysisRatio'"
           :topic-list="topicList"
           :loading="topicLoading"
         />
       </el-tab-pane>
-      <el-tab-pane label="闂璇︽儏鍗犳瘮鍥捐〃" name="analysisBar">
+      <el-tab-pane label="闂璇︽儏鍗犳瘮鍥捐〃" name="analysisBar"
+          v-if="isTongdeOrg"
+      >
         <question-chart
           v-if="activeTab === 'analysisBar'"
           view="bar"
@@ -44,7 +50,9 @@
           :loading="topicLoading"
         />
       </el-tab-pane>
-      <el-tab-pane label="闂璇︽儏鍗犳瘮楗煎浘" name="analysisPie">
+      <el-tab-pane label="闂璇︽儏鍗犳瘮楗煎浘" name="analysisPie"
+          v-if="isTongdeOrg"
+      >
         <question-chart
           v-if="activeTab === 'analysisPie'"
           view="pie"
diff --git a/src/views/followvisit/OutpatientAgain/index.vue b/src/views/followvisit/OutpatientAgain/index.vue
index f59e8d8..165eedc 100644
--- a/src/views/followvisit/OutpatientAgain/index.vue
+++ b/src/views/followvisit/OutpatientAgain/index.vue
@@ -1108,6 +1108,7 @@
           },
         },
       },
+      orgname: "",
       amendtag: false,
       errtype: "",
       leavehospitaldistrictcode: "",
@@ -1121,6 +1122,7 @@
   created() {
     this.serviceState = store.getters.serviceState;
     this.checkboxlist = store.getters.checkboxlist;
+    this.orgname = localStorage.getItem("orgname");
     this.errtype = this.$route.query.errtype;
     this.leavehospitaldistrictcode =
       this.$route.query.leavehospitaldistrictcode;
@@ -1206,10 +1208,8 @@
           }
 
           if (item.preachform) {
-            if (item.endtime) {
               item.preachformson = item.preachform;
               idArray = item.preachform.split(",");
-            }
 
             item.preachform = idArray.map((value) => {
               // 鏌ユ壘id瀵瑰簲鐨勫璞�
@@ -1485,7 +1485,7 @@
     },
     //鎮h��360璺宠浆
     gettoken360(sfzh, drcode, drname, id) {
-      // const orgname = localStorage.getItem("orgname");
+      const orgname = localStorage.getItem("orgname");
       if (orgname == "鍗楀崕澶у闄勫睘绗竴鍖婚櫌") {
         query360PatInfonh(id).then((res) => {
           if (res.data) {
diff --git a/src/views/followvisit/again/index.vue b/src/views/followvisit/again/index.vue
index bee5dc7..9984406 100644
--- a/src/views/followvisit/again/index.vue
+++ b/src/views/followvisit/again/index.vue
@@ -1111,6 +1111,7 @@
           },
         },
       },
+      orgname:'',
       amendtag: false,
       errtype: "",
       jgvalue: 0,
@@ -1125,6 +1126,7 @@
   created() {
     this.serviceState = store.getters.serviceState;
     this.checkboxlist = store.getters.checkboxlist;
+    this.orgname = localStorage.getItem("orgname");
     this.errtype = this.$route.query.errtype;
     this.leavehospitaldistrictcode =
       this.$route.query.leavehospitaldistrictcode;
diff --git a/src/views/followvisit/complaint/index.vue b/src/views/followvisit/complaint/index.vue
index ff65d92..75fcb8d 100644
--- a/src/views/followvisit/complaint/index.vue
+++ b/src/views/followvisit/complaint/index.vue
@@ -1238,6 +1238,7 @@
           },
         },
       },
+      orgname:'',
       amendtag: false,
       errtype: "",
       leavehospitaldistrictcode: "",
@@ -1251,6 +1252,7 @@
   created() {
     this.serviceState = store.getters.serviceState;
     this.checkboxlist = store.getters.checkboxlist;
+    this.orgname = localStorage.getItem("orgname");
     this.errtype = this.$route.query.errtype;
     this.leavehospitaldistrictcode =
       this.$route.query.leavehospitaldistrictcode;
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index 17ec103..0e88fa5 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -277,8 +277,12 @@
       </el-row>
       <div v-if="cardFilter" class="card-filter-tip">
         褰撳墠鎸夐《閮ㄥ崱鐗囩瓫閫夛細<b>{{ cardFilter }}</b>
-        <span class="tip-desc">锛堜笉褰卞搷涓婃柟琛ㄥ崟鏉′欢锛岀偣銆屾悳绱€�嶅彲鎭㈠琛ㄥ崟鏉′欢锛�</span>
-        <el-button type="text" size="mini" @click="clearCardFilter">娓呴櫎</el-button>
+        <span class="tip-desc"
+          >锛堜笉褰卞搷涓婃柟琛ㄥ崟鏉′欢锛岀偣銆屾悳绱€�嶅彲鎭㈠琛ㄥ崟鏉′欢锛�</span
+        >
+        <el-button type="text" size="mini" @click="clearCardFilter"
+          >娓呴櫎</el-button
+        >
       </div>
       <div class="selected-info">
         宸查�変腑
@@ -612,8 +616,7 @@
         />
         <el-table-column
           v-if="
-            orgname == '鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�' ||
-            orgname == '涓芥按甯備腑鍖婚櫌'
+            orgname == '鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�' || orgname == '涓芥按甯備腑鍖婚櫌'
           "
           label="鎷ㄥ彿鐘舵��"
           width="120"
@@ -1353,8 +1356,7 @@
         btstatus: "",
       },
       // endOut: 1,
-      endOut:
-        localStorage.getItem("orgname") == "涓芥按甯備腑鍖婚櫌" ? 0 : 1, //0 鍑洪櫌鏃堕棿(姝e簭)    1 鍑洪櫌鏃堕棿(鍊掑簭)   2 鍙戦�佹椂闂�(姝e簭)    3 鍙戦�佹椂闂�(鍊掑簭)  7搴旈殢璁挎棩鏈�(鍊掑簭) 搴旈殢璁挎棩鏈�(姝e簭)
+      endOut: localStorage.getItem("orgname") == "涓芥按甯備腑鍖婚櫌" ? 0 : 1, //0 鍑洪櫌鏃堕棿(姝e簭)    1 鍑洪櫌鏃堕棿(鍊掑簭)   2 鍙戦�佹椂闂�(姝e簭)    3 鍙戦�佹椂闂�(鍊掑簭)  7搴旈殢璁挎棩鏈�(鍊掑簭) 搴旈殢璁挎棩鏈�(姝e簭)
       endOuts: [
         {
           value: 0,
@@ -1702,7 +1704,7 @@
           this.yfsvalue = response.rows[0].yfs;
           // 椤堕儴鍗$墖鐨勬暟瀛椾笉璺熴�岄殢璁跨姸鎬�/寮傚父銆嶈蛋锛氬崟鐙煡涓�娆″幓鎺夌姸鎬佹潯浠剁殑缁熻锛�
           // 鍚﹀垯绛涗簡銆屽緟闅忚銆嶅悗銆屽凡瀹屾垚銆嶆案杩滄槸 0锛岀湅鐫�鍍忕畻閿欎簡
-          this.refreshCardCounts(query);
+          this.refreshCardCounts(params);
         }
 
         // 鉁� 绗簲姝ワ細澶勭悊 preachform 绛夊叾浠栨暟鎹�
@@ -1711,10 +1713,13 @@
           if (item.endtime) {
             item.endDay = this.daysBetween(item.endtime);
           }
+          console.log(item,'3');
 
           if (item.preachform) {
             item.preachformson = item.preachform;
             idArray = item.preachform.split(",");
+            console.log(this.checkboxlist);
+            console.log(idArray);
 
             item.preachform = idArray.map((value) => {
               const item = this.checkboxlist.find(
@@ -1724,8 +1729,6 @@
             });
           }
           if (item.currentPreachform) {
-
-
             item.currentPreachform = this.checkboxlist.find(
               (items) => items.value == item.currentPreachform
             )?.label;
diff --git a/src/views/followvisit/discharge/outpatientService.vue b/src/views/followvisit/discharge/outpatientService.vue
index e6fc7d9..af0da6f 100644
--- a/src/views/followvisit/discharge/outpatientService.vue
+++ b/src/views/followvisit/discharge/outpatientService.vue
@@ -1074,6 +1074,8 @@
           label: "姝e父",
         },
       ],
+      orgname: "",
+
       url: "http://9.208.2.190:8090/smartor/serviceExternal/query360PatInfo",
       postData: {
         XiaoXiTou: {
@@ -1135,6 +1137,7 @@
   created() {
     this.serviceState = store.getters.serviceState;
     this.checkboxlist = store.getters.checkboxlist;
+    this.orgname = localStorage.getItem("orgname");
     this.errtype = this.$route.query.errtype;
     this.leavehospitaldistrictcode =
       this.$route.query.leavehospitaldistrictcode;
diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue
index 0131606..6894135 100644
--- a/src/views/followvisit/record/index.vue
+++ b/src/views/followvisit/record/index.vue
@@ -999,6 +999,7 @@
             : "",
         leavehospitaldistrictcodes: [],
       },
+      orgname: "",
       propss: { multiple: true },
       options: [],
 
@@ -1076,6 +1077,8 @@
   created() {
     this.serviceState = store.getters.serviceState;
     this.checkboxlist = store.getters.checkboxlist;
+    this.orgname = localStorage.getItem("orgname");
+
     this.errtype = this.$route.query.errtype;
     this.leavehospitaldistrictcode =
       this.$route.query.leavehospitaldistrictcode;
@@ -1590,7 +1593,6 @@
           visitCount: 1,
           again: 1,
           visitCount: this.topqueryParams.visitCount,
-
         },
       });
     },
diff --git a/src/views/followvisit/technology/index.vue b/src/views/followvisit/technology/index.vue
index 7e7d0cd..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"
@@ -362,7 +367,7 @@
           prop="templatename"
           width="200"
         />
-         <el-table-column
+        <el-table-column
           label="浠诲姟鐘舵��"
           align="center"
           key="sendstate"
@@ -487,7 +492,6 @@
                 size="medium"
                 type="text"
                 @click="handlestop(scope.row)"
-
                 ><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 {
       // 閬僵灞�
@@ -852,7 +860,7 @@
         },
         YeWuXX: {
           BingRenXX: {
-            ZhengJianHM: '',
+            ZhengJianHM: "",
             ZhengJianLXDM: "01",
             ZhengJianLXMC: "灞呮皯韬唤璇�",
             ZuZhiJGID: localStorage.getItem("orgid"),
@@ -869,6 +877,7 @@
           },
         },
       },
+      orgname: "",
       // 琛ㄥ崟鍙傛暟
       form: {
         phonenumber: "",
@@ -884,7 +893,7 @@
         pageSize: 10,
         serviceType: 10,
         searchscope: 3,
-        sendstate:2,
+        sendstate: 2,
         scopetype: [],
         leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
@@ -892,7 +901,7 @@
       propss: { multiple: true },
       options: [],
 
-       topicoptions: [
+      topicoptions: [
         {
           value: null,
           label: "鍏ㄩ儴",
@@ -941,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) => {
@@ -986,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()) {
@@ -1098,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) => {
@@ -1121,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) {
@@ -1258,7 +1271,7 @@
         pageSize: 10,
         serviceType: 10,
         searchscope: 2,
-        sendstate:2,
+        sendstate: 2,
       };
       this.handleQuery(1);
     },
@@ -1397,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: {
@@ -1427,8 +1440,7 @@
             '"鐨勬暟鎹」锛�'
         )
         .then(() => {
-
-      getTaskservelist({
+          getTaskservelist({
             patid: row.patid,
             taskid: row.taskid,
           }).then((res) => {
@@ -1572,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; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
 }
diff --git a/src/views/followvisit/zbAgain/index.vue b/src/views/followvisit/zbAgain/index.vue
index 916b5af..bc9e9f3 100644
--- a/src/views/followvisit/zbAgain/index.vue
+++ b/src/views/followvisit/zbAgain/index.vue
@@ -1098,6 +1098,7 @@
           },
         },
       },
+      orgname:'',
       amendtag: false,
       errtype: "",
       leavehospitaldistrictcode: "",
@@ -1111,6 +1112,7 @@
   created() {
     this.serviceState = store.getters.serviceState;
     this.checkboxlist = store.getters.checkboxlist;
+    this.orgname = localStorage.getItem("orgname");
     this.errtype = this.$route.query.errtype;
     this.leavehospitaldistrictcode =
       this.$route.query.leavehospitaldistrictcode;
diff --git a/src/views/sfstatistics/percentage/index.vue b/src/views/sfstatistics/percentage/index.vue
index 61d397a..9f35ff3 100644
--- a/src/views/sfstatistics/percentage/index.vue
+++ b/src/views/sfstatistics/percentage/index.vue
@@ -205,7 +205,11 @@
             :loading="followupRowsLoading"
           />
         </el-tab-pane>
-        <el-tab-pane label="闂璇︽儏鍗犳瘮" name="followupRatio">
+        <el-tab-pane
+          label="闂璇︽儏鍗犳瘮"
+          name="followupRatio"
+          v-if="isTongdeOrg"
+        >
           <div v-if="followupTaskName" class="analysis-task-title">
             浠诲姟鍚嶇О锛歿{ followupTaskName }}
           </div>
@@ -218,7 +222,11 @@
             :loading="followupTopicLoading"
           />
         </el-tab-pane>
-        <el-tab-pane label="闂璇︽儏鍗犳瘮鍥捐〃" name="followupBar">
+        <el-tab-pane
+          label="闂璇︽儏鍗犳瘮鍥捐〃"
+          name="followupBar"
+          v-if="isTongdeOrg"
+        >
           <div v-if="followupTaskName" class="analysis-task-title">
             浠诲姟鍚嶇О锛歿{ followupTaskName }}
           </div>
@@ -233,7 +241,11 @@
             :loading="followupTopicLoading"
           />
         </el-tab-pane>
-        <el-tab-pane label="闂璇︽儏鍗犳瘮楗煎浘" name="followupPie">
+        <el-tab-pane
+          label="闂璇︽儏鍗犳瘮楗煎浘"
+          name="followupPie"
+          v-if="isTongdeOrg"
+        >
           <div v-if="followupTaskName" class="analysis-task-title">
             浠诲姟鍚嶇О锛歿{ followupTaskName }}
           </div>
@@ -252,7 +264,7 @@
         <el-tab-pane
           label="寤剁画鎶ょ悊缁熻"
           name="continued"
-          v-if="orgname == '鐪佺珛鍚屽痉缈犺嫅闄㈠尯'"
+          v-if="isTongdeCampus"
         >
           <ContinuedCare
             ref="continuedCare"

--
Gitblit v1.9.3