liuzhihui преди 2 години
родител
ревизия
40f647f566

+ 8 - 0
CallCenterWeb.UI/RMYY/src/api/customerManagement/customerList.js

@@ -33,3 +33,11 @@ export function deleteCustomerList(ids) {
33 33
     }
34 34
   })
35 35
 }
36
+// 眼睛
37
+export function GetCompleteCustomer(params) {
38
+  return request({
39
+    url: 'Customer/GetCompleteCustomer',
40
+    method: 'get',
41
+    params
42
+  })
43
+}

+ 18 - 1
CallCenterWeb.UI/RMYY/src/views/addressBooking/addressBookingManagement/index.vue

@@ -19,7 +19,13 @@
19 19
             <el-table-column prop="F_UserCode" label="工号" align="center" min-width="" />
20 20
             <el-table-column prop="F_UserName" label="姓名" align="center" min-width="" />
21 21
             <el-table-column prop="F_DeptName" label="部门" align="center" min-width="" />
22
-            <el-table-column prop="F_Telephone" label="电话" align="center" min-width="" />
22
+            <!-- <el-table-column prop="F_Telephone" label="电话" align="center" min-width="" /> -->
23
+            <el-table-column prop="F_Telephone" label="电话" align="center" min-width="">
24
+              <template slot-scope="scope">
25
+                <span>{{ scope.row.F_Telephone }}</span>
26
+                <i class="el-icon-view" style="color: #55aaff;" v-show="scope.row.F_Telephone.toString().indexOf('*')>=0" @click="clickEye(scope.row,scope.row.F_UserId)"></i>
27
+              </template>
28
+            </el-table-column>
23 29
             <el-table-column label="状态" align="center" min-width="">
24 30
               <template slot-scope="scope">
25 31
                 <span v-if="scope.row.F_EnableFlag==0">禁用</span>
@@ -41,6 +47,9 @@
41 47
     deleteAddressBooking
42 48
   } from '@/api/systemSetup/sysSetting/addressBookingManagement'
43 49
   import {
50
+    GetCompletePhone
51
+  } from "@/api/systemSetup/roleSetting/userManage";
52
+  import {
44 53
     getDeptTree
45 54
   } from '@/api/systemSetup/roleSetting/userManage'
46 55
   import addOrEdit from './addOrEdit'
@@ -111,6 +120,14 @@
111 120
       }
112 121
     },
113 122
     methods: {
123
+      clickEye(row,id){
124
+        const params = {
125
+          userid: id
126
+        }
127
+        GetCompletePhone(params).then(res=>{
128
+          row.F_Telephone = res
129
+        })
130
+      },
114 131
       filterNode(value, data) {
115 132
         if (!value) return true;
116 133
         return data.text.indexOf(value) !== -1;

+ 3 - 3
CallCenterWeb.UI/RMYY/src/views/callScreen/components/hisList.vue

@@ -14,17 +14,17 @@
14 14
         <th>性别:</th>
15 15
         <td>{{ hismsg.xbmc || "-"  }}</td>
16 16
         <th>联系电话:</th>
17
-        <td>{{ hismsg.lxdh || "-" }}<i v-show="hismsg.zjhm&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
17
+        <td>{{ hismsg.lxdh || "-" }}<i style="color: #55aaff;" v-show="hismsg.zjhm&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
18 18
       </tr>
19 19
       <tr>
20 20
         <th>出生日期:</th>
21 21
         <td>{{ hismsg.csrq || "-"  }}</td>
22 22
         <th>身份证号:</th>
23
-        <td>{{ hismsg.zjhm || "-"  }}<i v-show="hismsg.zjhm&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
23
+        <td>{{ hismsg.zjhm || "-"  }}<i style="color: #55aaff;" v-show="hismsg.zjhm&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
24 24
       </tr>
25 25
       <tr>
26 26
         <th>家庭地址:</th>
27
-        <td colspan="5">{{ hismsg.jtdz || "-" }}<i v-show="hismsg.jtdz&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
27
+        <td colspan="5">{{ hismsg.jtdz || "-" }}<i style="color: #55aaff;" v-show="hismsg.jtdz&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
28 28
       </tr>
29 29
     </table>
30 30
     <p style="font-weight: bold">住院记录</p>

+ 1 - 1
CallCenterWeb.UI/RMYY/src/views/comDispatch/components/dispatchdetail.vue

@@ -32,7 +32,7 @@
32 32
                   {{ orderDetailData.applicantname }}-{{
33 33
                     orderDetailData.F_Applicant
34 34
                   }}({{ orderDetailData.F_Phone }})
35
-                  <i v-show="orderDetailData.F_Phone&&clickbefore==0" class="el-icon-view" @click="clickEye"></i>
35
+                  <i style="color: #55aaff;" v-show="orderDetailData.F_Phone&&clickbefore==0" class="el-icon-view" @click="clickEye"></i>
36 36
                 </td>
37 37
                 <td v-if="!orderDetailData.applicantname">-</td>
38 38
                 <th>申请科室:</th>

+ 3 - 2
CallCenterWeb.UI/RMYY/src/views/customerManagement/customerList/components/addOrEdit.vue

@@ -59,7 +59,8 @@
59 59
 <script>
60 60
   import {
61 61
     addOrEditCustomerList,
62
-    getCusDetail
62
+    getCusDetail,
63
+    GetCompleteCustomer
63 64
   } from '@/api/customerManagement/customerList'
64 65
   import {
65 66
     validateTel
@@ -189,7 +190,7 @@
189 190
       },
190 191
       // 获取详情
191 192
       getDetail(data) {
192
-        getCusDetail(data).then(response => {
193
+        GetCompleteCustomer(data).then(response => {
193 194
           if (response.state.toLowerCase() === 'success') {
194 195
             const res = response.data
195 196
             this.ruleForm.name = res.F_CustomerName // 客户名称

+ 16 - 2
CallCenterWeb.UI/RMYY/src/views/customerManagement/customerList/components/detail.vue

@@ -13,18 +13,21 @@
13 13
             </el-col>
14 14
             <el-col :md="12" class="order_detail_item">
15 15
               身份证号:{{ ruleForm.idcard }}
16
+              <i class="el-icon-view" style="color: #55aaff;" v-show="ruleForm.idcard.toString().indexOf('*')>=0&&clickbefore==0" @click="clickEye"></i>
16 17
             </el-col>
17 18
             <el-col :md="12" class="order_detail_item">
18 19
               相关联系人:{{ ruleForm.aboutLinkMan }}
19 20
             </el-col>
20 21
             <el-col :md="12" class="order_detail_item">
21 22
               患者电话:{{ ruleForm.telphone }}
23
+              <i class="el-icon-view" style="color: #55aaff;" v-show="ruleForm.telphone.toString().indexOf('*')>=0&&clickbefore==0" @click="clickEye"></i>
22 24
             </el-col>
23 25
             <el-col :md="12" class="order_detail_item">
24 26
               患者性别:{{ ruleForm.sex }}
25 27
             </el-col>
26 28
             <el-col :md="24" class="order_detail_item">
27 29
               患者住址:{{ ruleForm.adddress }}
30
+              <i class="el-icon-view" style="color: #55aaff;" v-show="ruleForm.adddress.toString().indexOf('*')>=0&&clickbefore==0" @click="clickEye"></i>
28 31
             </el-col>
29 32
             <el-col :md="12" class="order_detail_item">
30 33
               备注:{{ ruleForm.remark }}
@@ -38,7 +41,7 @@
38 41
 </template>
39 42
 
40 43
 <script>
41
-import { getCusDetail } from '@/api/customerManagement/customerList'
44
+import { getCusDetail,GetCompleteCustomer} from '@/api/customerManagement/customerList'
42 45
 import { mapGetters } from 'vuex'
43 46
 export default {
44 47
   name: 'Detail',
@@ -50,6 +53,7 @@ export default {
50 53
   },
51 54
   data() {
52 55
     return {
56
+      clickbefore:0,
53 57
       checked: false, // 是否关闭
54 58
       activeName: 'first',
55 59
       ruleForm: {
@@ -83,7 +87,17 @@ export default {
83 87
     }
84 88
   },
85 89
   methods: {
86
-
90
+    clickEye(){
91
+      const params = {
92
+        id:this.ruleForm.id
93
+      }
94
+      GetCompleteCustomer(params).then(res=>{
95
+        this.ruleForm.idcard = res.data.F_IdCard
96
+        this.ruleForm.telphone = res.data.F_Telephone
97
+        this.ruleForm.adddress = res.data.F_Address
98
+        this.clickbefore = 1
99
+      })
100
+    },
87 101
     // 详情
88 102
     getDetail(data) {
89 103
       getCusDetail(data).then(response => {

+ 1 - 1
CallCenterWeb.UI/RMYY/src/views/orderManage/components/askdetail.vue

@@ -50,7 +50,7 @@
50 50
               </tr>
51 51
               <tr>
52 52
                 <th>联系电话:</th>
53
-                <td>{{ orderDetailData.F_Phon }}<i v-show="orderDetailData.F_Phon&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
53
+                <td>{{ orderDetailData.F_Phon }}<i style="color: #55aaff;" v-show="orderDetailData.F_Phon&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
54 54
                 <th>家庭住址:</th>
55 55
                 <td colspan="3">{{ orderDetailData.F_CusAddress || "-" }}</td>
56 56
               </tr>

+ 1 - 1
CallCenterWeb.UI/RMYY/src/views/orderManage/components/cardetail.vue

@@ -53,7 +53,7 @@
53 53
                 <th>申请时间:</th>
54 54
                 <td>{{ orderDetailData.F_CreateTime }}</td>
55 55
                 <th>申请人电话:</th>
56
-                <td>{{ orderDetailData.F_Phon }}<i v-show="orderDetailData.F_Phon&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
56
+                <td>{{ orderDetailData.F_Phon }}<i style="color: #55aaff;" v-show="orderDetailData.F_Phon&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
57 57
                 <th>出发地点:</th>
58 58
                 <td>{{ orderDetailData.F_DepartPlace }}</td>
59 59
               </tr>

+ 1 - 1
CallCenterWeb.UI/RMYY/src/views/orderManage/components/orderDetail.vue

@@ -41,7 +41,7 @@
41 41
                   {{ orderDetailData.applicantname }}-{{
42 42
                     orderDetailData.F_Applicant
43 43
                   }}({{ orderDetailData.F_Applicantsphone }})
44
-                  <i v-show="orderDetailData.F_Applicantsphone&&clickbefore==0" class="el-icon-view" @click="clickEye"></i>
44
+                  <i style="color: #55aaff;" v-show="orderDetailData.F_Applicantsphone&&clickbefore==0" class="el-icon-view" @click="clickEye"></i>
45 45
                 </td>
46 46
                 <th>申请科室:</th>
47 47
                 <td>{{ orderDetailData.F_MaintenanceDept }}</td>

+ 1 - 1
CallCenterWeb.UI/RMYY/src/views/systemSetup/roleSetting/userManage/index.vue

@@ -34,7 +34,7 @@
34 34
             <el-table-column prop="F_Telephone" label="电话" align="center" min-width="">
35 35
               <template slot-scope="scope">
36 36
                 <span>{{ scope.row.F_Telephone }}</span>
37
-                <i class="el-icon-view" @click="clickEye(scope.row,scope.row.F_UserId)"></i>
37
+                <i style="color: #55aaff;" class="el-icon-view" v-show="scope.row.F_Telephone.toString().indexOf('*')>=0" @click="clickEye(scope.row,scope.row.F_UserId)"></i>
38 38
               </template>
39 39
             </el-table-column>
40 40
             <el-table-column label="用户账号状态" align="center" min-width="">

+ 1 - 1
CallCenterWeb.UI/RMYY/src/views/vehicleDispatch/vehicleScheduling/vehicleSchedulingList/components/detail.vue

@@ -49,7 +49,7 @@
49 49
                   }}
50 50
                 </td>
51 51
                 <th>申请人电话:</th>
52
-                <td>{{ orderDetailData.F_Phon }}<i v-show="orderDetailData.F_Phon&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
52
+                <td>{{ orderDetailData.F_Phon }}<i style="color: #55aaff;" v-show="orderDetailData.F_Phon&&clickbefore==0" class="el-icon-view" @click="clickEye"></i></td>
53 53
                 <th>车辆要求:</th>
54 54
                 <td>{{ orderDetailData.F_CarName }}</td>
55 55
               </tr>

+ 13 - 1
CallCenterWeb.UI/RMYYAPP/pages/adressBook/adressBookDetail/adressBookDetail.vue

@@ -16,7 +16,7 @@
16 16
 			</view>
17 17
 			<view class="telConetent">
18 18
 				<view class="flContent">
19
-					<view class="">{{detailUserData.F_Telephone}}</view>
19
+					<view class="">{{detailUserData.F_WorkPhone}}<uni-icons v-show="detailUserData.F_WorkPhone&&clickbefore==0" class="frContentText" type="eye" size="22" @click="clickEye"></uni-icons></view>
20 20
 					<view class="textSecond">
21 21
 						<view class="">手机号码</view>
22 22
 						<view class="">河南郑州</view>
@@ -37,14 +37,26 @@
37 37
 	export default {
38 38
 		data() {
39 39
 			return {
40
+				clickbefore:0,
41
+				userid:'',
40 42
 				avatar: '/static/icon_medic.png',
41 43
 				detailUserData:{}
42 44
 			}
43 45
 		},
44 46
 		onLoad(otpion) {
47
+			this.userid = otpion.useId
45 48
 			this.getUserAccount(otpion.useId)
46 49
 		},
47 50
 		methods: {
51
+			clickEye(){
52
+				const params = {
53
+					userid:this.userid
54
+				}
55
+				this.$http.get("UserAccount/GetCompletePhone",params).then((res)=>{
56
+					this.detailUserData.F_WorkPhone = res
57
+					this.clickbefore = 1
58
+				})
59
+			},
48 60
 			callHandle(e){
49 61
 				if(!this.detailUserData.F_Telephone) {
50 62
 					this.$mHelper.toast('无号码信息')