From 39325ed5f9d5ebd80ad0c6bfe6689b014b72d0fb Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 12 九月 2025 18:00:53 +0800
Subject: [PATCH] 随访类型及人员配置优化,宣教优化,脱敏处理

---
 src/views/followvisit/outpatient/index.vue               |   12 +
 src/views/patient/patient/physical.vue                   |    6 
 src/views/followvisit/zbAgain/index.vue                  |   12 +
 src/views/sfstatistics/statement/index.vue               |    6 
 src/utils/ruoyi.js                                       |   13 +
 src/views/patient/patient/outpatient.vue                 |    6 
 src/views/patient/patient/index.vue                      |   44 ++++--
 src/views/patient/subsequent/index.vue                   |   12 +
 src/views/followvisit/zysatisfaction/index.vue           |   12 +
 src/views/followvisit/mzsatisfaction/index.vue           |   12 +
 src/views/patient/patient/ExternalPatient.vue            |   27 +++
 src/views/patient/patient/operation.vue                  |    6 
 src/views/patient/patient/behospitalized.vue             |    9 +
 src/views/followvisit/discharge/outpatientService.vue    |   12 +
 src/views/followvisit/complaint/index.vue                |   12 +
 src/views/followvisit/technology/index.vue               |   12 +
 src/views/patient/physical/index.vue                     |   12 +
 src/views/followvisit/tasklist/FollowupDetails/index.vue |    6 
 src/views/followvisit/SpecificDisease/index.vue          |   12 +
 src/views/followvisit/again/index.vue                    |   38 +++--
 src/views/patient/questionnaire/index.vue                |   12 +
 src/views/followvisit/record/index.vue                   |   12 +
 src/main.js                                              |    2 
 src/views/patient/patient/hospital.vue                   |    9 +
 src/views/patient/shadow/index.vue                       |   12 +
 src/views/patient/medtechnician/Compositeeditdetails.vue |   13 +
 src/views/patient/patient/profile/index.vue              |   18 ++
 src/views/followvisit/discharge/index.vue                |   12 +
 src/views/patient/follow/index.vue                       |   14 +
 29 files changed, 308 insertions(+), 77 deletions(-)

diff --git a/src/main.js b/src/main.js
index e523ac8..04d925e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -50,6 +50,7 @@
   addDateRange,
   selectDictLabel,
   selectDictLabels,
+  desensitization,
   handleTree,
   daysBetween,
 } from "@/utils/ruoyi";
@@ -96,6 +97,7 @@
 Vue.prototype.getConfigKey = getConfigKey;
 Vue.prototype.parseTime = parseTime;
 Vue.prototype.formatTime = formatTime;
+Vue.prototype.desensitization = desensitization;
 Vue.prototype.daysBetween = daysBetween;
 Vue.prototype.resetForm = resetForm;
 Vue.prototype.addDateRange = addDateRange;
diff --git a/src/utils/ruoyi.js b/src/utils/ruoyi.js
index f02bc0d..7d5564e 100644
--- a/src/utils/ruoyi.js
+++ b/src/utils/ruoyi.js
@@ -181,6 +181,19 @@
   }
   return source;
 }
+// 鑴辨晱鏂规硶
+export function desensitization(str, type) {
+  // 鑴辨晱澶勭悊
+  if (!str) return "";
+  switch (type) {
+    case "phone":
+      return str.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
+    case "idCard":
+      return str.replace(/(\d{6})\d{8}(\w{4})/, "$1********$2");
+    default:
+      return str;
+  }
+}
 
 /**
  * 鏋勯�犳爲鍨嬬粨鏋勬暟鎹�
diff --git a/src/views/followvisit/SpecificDisease/index.vue b/src/views/followvisit/SpecificDisease/index.vue
index d1b0d5b..87a50fa 100644
--- a/src/views/followvisit/SpecificDisease/index.vue
+++ b/src/views/followvisit/SpecificDisease/index.vue
@@ -348,14 +348,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/again/index.vue b/src/views/followvisit/again/index.vue
index 9673350..a6c7995 100644
--- a/src/views/followvisit/again/index.vue
+++ b/src/views/followvisit/again/index.vue
@@ -180,7 +180,7 @@
         <el-col :span="1.5">
           <el-button
             type="primary"
-                        icon="el-icon-plus"
+            icon="el-icon-plus"
             size="medium"
             @click="handleAdd"
             >鏂板</el-button
@@ -420,14 +420,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
@@ -643,7 +651,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
@@ -994,7 +1002,7 @@
         visitCount: 2,
         scopetype: [],
         visitDeptCodes: [],
-        leaveldeptcodes:[],
+        leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
       },
       propss: { multiple: true },
@@ -1149,7 +1157,8 @@
       this.loading = true;
       if (
         this.topqueryParams.leavehospitaldistrictcodes[0] &&
-        this.topqueryParams.visitDeptCodes[0]&&this.topqueryParams.leaveldeptcodes[0]
+        this.topqueryParams.visitDeptCodes[0] &&
+        this.topqueryParams.leaveldeptcodes[0]
       ) {
         this.topqueryParams.deptOrDistrict = 2;
       } else {
@@ -1196,8 +1205,7 @@
       });
     },
     affiliation() {
-
-      this.topqueryParams.managementDoctorCode= store.getters.hisUserId;
+      this.topqueryParams.managementDoctorCode = store.getters.hisUserId;
 
       this.getList(1);
     },
@@ -1215,7 +1223,7 @@
         this.topqueryParams.visitDeptCodes = store.getters.belongDepts.map(
           (obj) => obj.deptCode
         );
-          this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
+        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
           (obj) => obj.deptCode
         );
         this.topqueryParams.leavehospitaldistrictcodes =
@@ -1383,7 +1391,7 @@
         visitCount: 2,
         scopetype: [],
         visitDeptCodes: [],
-        leaveldeptcodes:[],
+        leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
       };
       this.handleQuery(1);
@@ -1426,8 +1434,8 @@
     },
     //鎮h��360璺宠浆
     gettoken360(sfzh, drcode, drname) {
-      this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
-  return; // 闃绘鍚庣画浠g爜鎵ц
+      this.$modal.msgWarning("360鍔熻兘鏆傛湭寮�閫�");
+      return; // 闃绘鍚庣画浠g爜鎵ц
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
       if (this.postData.XiaoXiTou.ZuHuMC == "涓芥按甯備腑鍖婚櫌") {
         this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728";
@@ -1775,11 +1783,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/complaint/index.vue b/src/views/followvisit/complaint/index.vue
index 3ce46b3..4917d71 100644
--- a/src/views/followvisit/complaint/index.vue
+++ b/src/views/followvisit/complaint/index.vue
@@ -426,14 +426,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index ca1b563..3dc3ce1 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -467,14 +467,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/discharge/outpatientService.vue b/src/views/followvisit/discharge/outpatientService.vue
index 0296ca7..cfe033b 100644
--- a/src/views/followvisit/discharge/outpatientService.vue
+++ b/src/views/followvisit/discharge/outpatientService.vue
@@ -427,14 +427,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/mzsatisfaction/index.vue b/src/views/followvisit/mzsatisfaction/index.vue
index 1140c86..59a814c 100644
--- a/src/views/followvisit/mzsatisfaction/index.vue
+++ b/src/views/followvisit/mzsatisfaction/index.vue
@@ -425,14 +425,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue
index 9228def..77ca8b4 100644
--- a/src/views/followvisit/outpatient/index.vue
+++ b/src/views/followvisit/outpatient/index.vue
@@ -358,14 +358,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <!-- <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue
index 074637e..7c5e755 100644
--- a/src/views/followvisit/record/index.vue
+++ b/src/views/followvisit/record/index.vue
@@ -380,14 +380,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/tasklist/FollowupDetails/index.vue b/src/views/followvisit/tasklist/FollowupDetails/index.vue
index cb54b9d..509874d 100644
--- a/src/views/followvisit/tasklist/FollowupDetails/index.vue
+++ b/src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -940,7 +940,11 @@
                 prop="telcode"
                 width="120"
                 :show-overflow-tooltip="true"
-              />
+               >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
 
               <el-table-column
                 label="浠诲姟璇︽儏"
diff --git a/src/views/followvisit/technology/index.vue b/src/views/followvisit/technology/index.vue
index 016614c..18f8008 100644
--- a/src/views/followvisit/technology/index.vue
+++ b/src/views/followvisit/technology/index.vue
@@ -361,14 +361,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/zbAgain/index.vue b/src/views/followvisit/zbAgain/index.vue
index 44bede2..d3d021f 100644
--- a/src/views/followvisit/zbAgain/index.vue
+++ b/src/views/followvisit/zbAgain/index.vue
@@ -420,14 +420,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/followvisit/zysatisfaction/index.vue b/src/views/followvisit/zysatisfaction/index.vue
index b8c02cd..b0d5d9f 100644
--- a/src/views/followvisit/zysatisfaction/index.vue
+++ b/src/views/followvisit/zysatisfaction/index.vue
@@ -426,14 +426,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/patient/follow/index.vue b/src/views/patient/follow/index.vue
index ed3682c..ec4b99f 100644
--- a/src/views/patient/follow/index.vue
+++ b/src/views/patient/follow/index.vue
@@ -164,7 +164,11 @@
             key="idcardno"
             prop="idcardno"
             width="190"
-          />
+          >
+            <template slot-scope="scope">
+              <span>{{ desensitization(scope.row.idcardno, "idCard") }}</span>
+            </template></el-table-column
+          >
 
           <el-table-column
             label="鑱旂郴鏂瑰紡"
@@ -172,7 +176,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+          >
+            <template slot-scope="scope">
+              <span>{{ desensitization(scope.row.telcode, "phone") }}</span>
+            </template></el-table-column
+          >
           <el-table-column
             label="寤烘。鏃ユ湡"
             align="center"
@@ -623,6 +631,6 @@
   color: #de7897;
 }
 .button-textsc {
-  color: #3664D9;
+  color: #3664d9;
 }
 </style>
diff --git a/src/views/patient/medtechnician/Compositeeditdetails.vue b/src/views/patient/medtechnician/Compositeeditdetails.vue
index b960ba7..1b957ce 100644
--- a/src/views/patient/medtechnician/Compositeeditdetails.vue
+++ b/src/views/patient/medtechnician/Compositeeditdetails.vue
@@ -36,8 +36,11 @@
             align="center"
             key="telcode"
             label="鐢佃瘽"
-          >
-          </el-table-column>
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
           <el-table-column
             label="鍑洪櫌鏃ユ湡"
             width="200"
@@ -515,9 +518,15 @@
           width="100"> </el-table-column>
           <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column>
           <el-table-column prop="idcardno" width="300" label="璇佷欢鍙风爜">
+             <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.idcardno,'idCard') }}</span>
+                </template>
           </el-table-column>
           <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column>
           <el-table-column prop="telcode" width="200" label="鑱旂郴鏂瑰紡">
+           <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template>
           </el-table-column>
           <el-table-column prop="createTime" width="200" label="鍒涘缓鏃ユ湡">
           </el-table-column>
diff --git a/src/views/patient/patient/ExternalPatient.vue b/src/views/patient/patient/ExternalPatient.vue
index 67859e4..a4bee4e 100644
--- a/src/views/patient/patient/ExternalPatient.vue
+++ b/src/views/patient/patient/ExternalPatient.vue
@@ -153,7 +153,11 @@
                 key="idcardno"
                 prop="idcardno"
                 width="190"
-              />
+               >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.idcardno,'idCard') }}</span>
+                </template></el-table-column
+              >
 
               <el-table-column
                 label="鑱旂郴鏂瑰紡"
@@ -161,7 +165,11 @@
                 key="telcode"
                 prop="telcode"
                 width="120"
-              />
+              >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
               <el-table-column
                 label="寤烘。鏃ユ湡"
                 align="center"
@@ -547,9 +555,17 @@
           <el-table-column prop="name" label="濮撳悕"
           width="100"> </el-table-column>
           <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column>
-          <el-table-column prop="idcardno" width="300" label="璇佷欢鍙风爜"> </el-table-column>
+          <el-table-column prop="idcardno" width="300" label="璇佷欢鍙风爜">
+            <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.idcardno,'idCard') }}</span>
+                </template>
+          </el-table-column>
           <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column>
-          <el-table-column prop="telcode" width="200" label="鑱旂郴鏂瑰紡"> </el-table-column>
+          <el-table-column prop="telcode" width="200" label="鑱旂郴鏂瑰紡">
+             <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template>
+          </el-table-column>
           <el-table-column prop="createTime"  width="200" label="鍒涘缓鏃ユ湡">
           </el-table-column>
         </el-table>
@@ -584,6 +600,9 @@
           width="100"> </el-table-column>
           <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column>
           <el-table-column prop="certificatenum" label="璇佷欢鍙风爜">
+            <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template>
           </el-table-column>
           <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column>
           <el-table-column prop="menum" label="鏈汉鑱旂郴鏂瑰紡"> </el-table-column>
diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index 268b1f1..ea8f724 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -205,7 +205,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
 
           <el-table-column
             label="鍏ラ櫌璇婃柇"
@@ -341,6 +345,9 @@
           <el-table-column prop="certificate" label="璇佷欢绫诲瀷">
           </el-table-column>
           <el-table-column prop="certificatenum" label="璇佷欢鍙风爜">
+           <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.idcardno,'idCard') }}</span>
+                </template>
           </el-table-column>
           <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column>
           <el-table-column prop="menum" label="鏈汉鑱旂郴鏂瑰紡"> </el-table-column>
diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue
index c8a6ca8..998e871 100644
--- a/src/views/patient/patient/hospital.vue
+++ b/src/views/patient/patient/hospital.vue
@@ -223,7 +223,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+          >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
 
           <!-- <el-table-column
             label="鍏ラ櫌璇婃柇"
@@ -380,6 +384,9 @@
           <el-table-column prop="certificate" label="璇佷欢绫诲瀷">
           </el-table-column>
           <el-table-column prop="certificatenum" label="璇佷欢鍙风爜">
+          <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.idcardno,'idCard') }}</span>
+                </template>
           </el-table-column>
           <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column>
           <el-table-column prop="menum" label="鏈汉鑱旂郴鏂瑰紡"> </el-table-column>
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index e7cd738..6fe3e06 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -252,7 +252,13 @@
                   <el-button
                     size="medium"
                     type="text"
-                    @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)"
+                    @click="
+                      gettoken360(
+                        scope.row.idcardno,
+                        scope.row.drcode,
+                        scope.row.drname
+                      )
+                    "
                     ><span class="button-textsc">{{
                       scope.row.name
                     }}</span></el-button
@@ -313,14 +319,22 @@
                 key="idcardno"
                 prop="idcardno"
                 width="190"
-              />
+              >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.idcardno,'idCard') }}</span>
+                </template></el-table-column
+              >
 
               <el-table-column
                 label="鑱旂郴鏂瑰紡"
                 align="center"
                 key="telcode"
                 prop="telcode"
-              />
+              >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
               <el-table-column
                 label="寤烘。鏃ユ湡"
                 align="center"
@@ -871,7 +885,7 @@
   Exporterrorpatient,
   toleadpatient,
 } from "@/api/patient/homepage";
-import { getTasklist,query360PatInfo } from "@/api/AiCentre/index";
+import { getTasklist, query360PatInfo } from "@/api/AiCentre/index";
 import { listtag } from "@/api/system/label";
 import { getToken } from "@/utils/auth";
 import Treeselect from "@riophae/vue-treeselect";
@@ -1207,13 +1221,13 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh,drcode,drname) {
-      this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
-  return; // 闃绘鍚庣画浠g爜鎵ц
+    gettoken360(sfzh, drcode, drname) {
+      this.$modal.msgWarning("360鍔熻兘鏆傛湭寮�閫�");
+      return; // 闃绘鍚庣画浠g爜鎵ц
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
-      if (this.postData.XiaoXiTou.ZuHuMC=='涓芥按甯備腑鍖婚櫌') {
-        this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728';
-        this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY';
+      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) {
@@ -1278,7 +1292,7 @@
         leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
       };
-        this.handleQuery();
+      this.handleQuery();
     },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
@@ -1548,11 +1562,11 @@
   font-size: 20px;
 }
 ::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; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
 }
@@ -1618,7 +1632,7 @@
   }
 }
 .button-textsc {
-  color: #3664D9;
+  color: #3664d9;
 }
 .button-textxga {
   color: #de7897;
diff --git a/src/views/patient/patient/operation.vue b/src/views/patient/patient/operation.vue
index 3909a49..2b613ee 100644
--- a/src/views/patient/patient/operation.vue
+++ b/src/views/patient/patient/operation.vue
@@ -162,7 +162,11 @@
             key="telcode"
             prop="telcode"
             width="160"
-          />
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
 
           <!-- <el-table-column
             label="鍏ラ櫌璇婃柇"
diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue
index d7ad703..dd47b1f 100644
--- a/src/views/patient/patient/outpatient.vue
+++ b/src/views/patient/patient/outpatient.vue
@@ -277,7 +277,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
           <!-- <el-table-column
             label="鎮h�呮爣绛撅紙缂猴級"
             align="center"
diff --git a/src/views/patient/patient/physical.vue b/src/views/patient/patient/physical.vue
index 3375180..ce36367 100644
--- a/src/views/patient/patient/physical.vue
+++ b/src/views/patient/patient/physical.vue
@@ -194,7 +194,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
           <el-table-column
             label="鎮h�呮爣绛撅紙缂猴級"
             align="center"
diff --git a/src/views/patient/patient/profile/index.vue b/src/views/patient/patient/profile/index.vue
index 33b035c..5d80f3e 100644
--- a/src/views/patient/patient/profile/index.vue
+++ b/src/views/patient/patient/profile/index.vue
@@ -402,7 +402,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
           <el-table-column
             label="鍏ラ櫌璇婃柇"
             align="center"
@@ -479,7 +483,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
           <el-table-column
             label="鍏ラ櫌璇婃柇"
             align="center"
@@ -556,7 +564,11 @@
             key="telcode"
             prop="telcode"
             width="120"
-          />
+           >
+                <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template></el-table-column
+              >
           <el-table-column
             label="鍏ラ櫌璇婃柇"
             align="center"
diff --git a/src/views/patient/physical/index.vue b/src/views/patient/physical/index.vue
index a583f41..0c486ee 100644
--- a/src/views/patient/physical/index.vue
+++ b/src/views/patient/physical/index.vue
@@ -358,14 +358,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <!-- <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue
index bf2b314..ecca7d4 100644
--- a/src/views/patient/questionnaire/index.vue
+++ b/src/views/patient/questionnaire/index.vue
@@ -327,14 +327,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/patient/shadow/index.vue b/src/views/patient/shadow/index.vue
index ab2c1bd..e3bacfc 100644
--- a/src/views/patient/shadow/index.vue
+++ b/src/views/patient/shadow/index.vue
@@ -327,14 +327,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/patient/subsequent/index.vue b/src/views/patient/subsequent/index.vue
index 85caeef..1b2cc8a 100644
--- a/src/views/patient/subsequent/index.vue
+++ b/src/views/patient/subsequent/index.vue
@@ -358,14 +358,22 @@
           align="center"
           key="sfzh"
           prop="sfzh"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.sfzh, "idCard") }}</span>
+          </template></el-table-column
+        >
         <el-table-column
           label="鑱旂郴鐢佃瘽"
           width="200"
           align="center"
           key="phone"
           prop="phone"
-        />
+        >
+          <template slot-scope="scope">
+            <span>{{ desensitization(scope.row.phone, "phone") }}</span>
+          </template></el-table-column
+        >
         <!-- <el-table-column
           label="璐d换鎶ゅ+"
           width="120"
diff --git a/src/views/sfstatistics/statement/index.vue b/src/views/sfstatistics/statement/index.vue
index d8e781b..273b02c 100644
--- a/src/views/sfstatistics/statement/index.vue
+++ b/src/views/sfstatistics/statement/index.vue
@@ -422,7 +422,11 @@
             <el-table-column prop="date" label="鎮h�呭鍚�"> </el-table-column>
             <el-table-column prop="namea" label="鎬у埆"width="100"> </el-table-column>
             <el-table-column prop="namec" label="骞撮緞"> </el-table-column>
-            <el-table-column prop="named" label="鑱旂郴鏂瑰紡"> </el-table-column>
+            <el-table-column prop="named" label="鑱旂郴鏂瑰紡">
+               <template slot-scope="scope">
+                  <span>{{ desensitization(scope.row.telcode,'phone') }}</span>
+                </template>
+            </el-table-column>
             <el-table-column prop="namee" label="璁″垝鎵ц鏃堕棿" width="120">
             </el-table-column>
             <el-table-column prop="namex" label="瀹為檯瀹屾垚鏃堕棿" width="120">

--
Gitblit v1.9.3