liuzhihui 2 years ago
parent
commit
6247e09809

+ 19 - 9
CallCenterWeb.UI/RMYY/src/components/context/Dialplate/index.vue

@@ -64,7 +64,7 @@
64 64
                 >
65 65
                   <div
66 66
                     class="recent_calls_item_left"
67
-                    @click="recentCallOut(item.tel, item.dept)"
67
+                    @click="recentCallOut(item.tel, item.dept,item.userid)"
68 68
                   >
69 69
                     <svg-icon icon-class="huchu" />
70 70
                     <p class="recent_calls_item_name">{{ item.name }}</p>
@@ -92,7 +92,7 @@
92 92
                 >
93 93
                   <div
94 94
                     class="recent_calls_item_left"
95
-                    @click="recentCallOut(item.tel, -1)"
95
+                    @click="recentCallOut(item.tel, -1,-1)"
96 96
                   >
97 97
                     <svg-icon v-show="item.isCallOut" icon-class="huchu" />
98 98
                     <p
@@ -151,6 +151,9 @@ import {
151 151
   getUpdateCallRecordForTransfer,
152 152
 } from "@/api/teloperation";
153 153
 import { getAddressBookingList } from "@/api/systemSetup/sysSetting/addressBookingManagement";
154
+ import {
155
+    GetCompletePhone
156
+  } from "@/api/systemSetup/roleSetting/userManage";
154 157
 export default {
155 158
   name: "Dialplate",
156 159
   filters: {
@@ -400,6 +403,7 @@ export default {
400 403
               name: val.F_UserName + "-" + val.F_DeptName,
401 404
               tel: val.F_Telephone,
402 405
               dept: val.F_DeptId,
406
+              userid: val.F_UserId
403 407
             });
404 408
           });
405 409
           console.log(userarr);
@@ -543,18 +547,24 @@ export default {
543 547
       }
544 548
     },
545 549
     // 点击历史记录通讯录中的号码 外呼
546
-    recentCallOut(tel, dept) {
547
-      if (tel.length === 12) {
548
-        tel = tel.substring(1);
549
-      }
550
-      this.telNumber = tel;
550
+    recentCallOut(tel, dept, userid) {
551 551
       if (dept && dept > 0) {
552 552
         this.telDept = dept;
553 553
       } else {
554 554
         this.telDept = "";
555 555
       }
556
-      this.callOut();
557
-      // this.updateCallList();
556
+      if(userid&&userid>0){
557
+        const params = {
558
+          userid: userid
559
+        }
560
+        GetCompletePhone(params).then(res=>{
561
+          this.telNumber = res
562
+          // this.callOut();
563
+        })
564
+      }else{
565
+        this.telNumber = tel;
566
+        // this.callOut();
567
+      }
558 568
     },
559 569
     // 更新通话记录
560 570
     updateCallList() {

+ 24 - 30
CallCenterWeb.UI/RMYY/src/components/workOrder/information/addOrEditInfOrder.vue

@@ -88,7 +88,10 @@
88 88
                 />
89 89
               </el-form-item>
90 90
             </el-col>
91
-            <el-col :span="12">
91
+            <el-col :span="2">
92
+                <i style="color: #55aaff;position: relative;top: 5px;" v-show="ruleForm.F_IDNumber.toString().indexOf('*')>=0 && clickbefore==0" class="el-icon-view" @click="clickEye"></i>
93
+            </el-col>
94
+            <el-col :span="10">
92 95
               <el-form-item label="患者姓名" prop="F_FullName">
93 96
                 <el-input
94 97
                   v-model="ruleForm.F_FullName"
@@ -304,6 +307,8 @@ import {
304 307
   getClassByDeptId,
305 308
   GetDicValue,
306 309
 } from "@/api/commonAPI";
310
+import { GetPatientModel } from "@/api/callScreen/callScreen";
311
+import {GetCompleteCustomer} from '@/api/customerManagement/customerList'
307 312
 export default {
308 313
   name: "AddOrEditInfOrder",
309 314
   props: {
@@ -493,6 +498,8 @@ export default {
493 498
       loading: false,
494 499
       isButton: true,
495 500
       autodeptid: "",
501
+      customerid:"",
502
+      clickbefore:0
496 503
     };
497 504
   },
498 505
   watch: {
@@ -533,30 +540,7 @@ export default {
533 540
       }
534 541
       if (this.ruleForm.F_Type2) {
535 542
         this.getAuto();
536
-        // this.autodeptid =
537
-        //   this.$store.getters.workTypeMap[
538
-        //     parseInt(this.ruleForm.F_Type2)
539
-        //   ].autoDept;
540
-        // if (this.autodeptid) {
541
-        //   this.deptidArr1 =
542
-        //     this.$store.getters.deptmap[parseInt(this.autodeptid)].ids;
543
-        // }
544
-        // this.ruleForm.clbm =
545
-        //   this.$store.getters.workTypeMap[
546
-        //     parseInt(this.ruleForm.F_Type2)
547
-        //   ].autoDept;
548 543
       }
549
-      // this.getClassUser(this.autodeptid, this.orderTypeData.F_Type2);
550
-      // if (
551
-      //   this.worktypeInfo3 === "ywzx_jy" ||
552
-      //   this.worktypeInfo3 === "ywzx_ts" ||
553
-      //   this.worktypeInfo3 === "ywzx_by" ||
554
-      //   this.worktypeInfo3 === "ywzx_jtyy" ||
555
-      //   this.worktypeInfo3 === "ywzx_zjyy" ||
556
-      //   this.worktypeInfo3 === "ywzx_ysfw"
557
-      // ) {
558
-      //   this.ruleForm.opt = "3";
559
-      // }
560 544
     },
561 545
   },
562 546
   computed: {
@@ -609,6 +593,20 @@ export default {
609 593
         }
610 594
       }
611 595
     },
596
+    //眼睛点击
597
+    clickEye(){
598
+      if(!this.customerid){
599
+        return
600
+      }
601
+      const params = {
602
+        id: this.customerid
603
+      }
604
+      GetCompleteCustomer(params).then(res=>{
605
+        this.ruleForm.F_IDNumber = res.data.F_IdCard
606
+        this.ruleForm.F_CusAddress = res.data.F_Address
607
+        this.clickbefore = 1
608
+      })
609
+    },
612 610
     getOldMsg() {
613 611
       const params = {
614 612
         pageindex: 1,
@@ -618,6 +616,7 @@ export default {
618 616
       };
619 617
       getoldmsg(params).then((res) => {
620 618
         if (res.rows.length > 0) {
619
+          this.customerid = res.rows[0].F_CustomerId
621 620
           this.ruleForm.F_Customer = res.rows[0].F_CustomerName;
622 621
           this.ruleForm.F_FullName = res.rows[0].F_CustomerName;
623 622
           this.ruleForm.F_IDNumber = res.rows[0].F_IdCard;
@@ -816,17 +815,12 @@ export default {
816 815
         this.$message.error("请选择工单类别");
817 816
         return;
818 817
       }
819
-      // if (this.worktypeInfo == "ywzx_jtyy") {
820
-      // if (this.ruleForm.F_IDNumber == '') {
821
-      //   this.$message.error('请输入身份证号')
822
-      //   return;
823
-      // }
824
-      // }
825 818
       if (this.iswomanage == 1) {
826 819
         this.ruleForm.clbm = "";
827 820
         this.ruleForm.clid = "";
828 821
         this.ruleForm.opt = "";
829 822
       }
823
+      this.clickEye()
830 824
       this.$refs.ruleForm.validate((valid) => {
831 825
         if (valid) {
832 826
           this.loading = true;

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

@@ -321,13 +321,18 @@ export default {
321 321
     clickEye(){
322 322
       const params = {
323 323
         zsyh: window.localStorage.getItem("zsyh")
324
-      }
324
+      }    
325 325
       GetPatientModel(params).then(res=>{
326 326
         const data = res.rows[0]
327 327
         this.hismsg.lxdh = data.lxdh
328 328
         this.hismsg.zjhm = data.zjhm
329 329
         this.hismsg.jtdz = data.jtdz
330 330
         this.clickbefore = 1
331
+        this.zjh = this.hismsg.zjhm;
332
+        this.lxdh = this.hismsg.lxdh;
333
+        window.localStorage.setItem('huancard',this.hismsg.zjhm)
334
+        window.localStorage.setItem('huanaddress',this.hismsg.jtdz)
335
+        // this.getList()
331 336
       })
332 337
     },
333 338
     getList() {

+ 17 - 7
CallCenterWeb.UI/RMYYAPP/pages/myTask/reportForm/reportForm.vue

@@ -193,7 +193,7 @@
193 193
 		},
194 194
 		data() {
195 195
 			return {
196
-				datetype:'date',
196
+				datetype: 'date',
197 197
 				gecon: 0,
198 198
 				shicon: 0,
199 199
 				baicon: 0,
@@ -422,7 +422,8 @@
422 422
 			chartData(rowd, cold) {
423 423
 				this.chart.setOption({
424 424
 					tooltip: {
425
-						trigger: 'item'
425
+						show: true,
426
+						trigger: 'axis'
426 427
 					},
427 428
 					xAxis: {
428 429
 						type: 'category',
@@ -436,16 +437,25 @@
436 437
 						data: cold,
437 438
 						type: 'line',
438 439
 						areaStyle: {}
439
-					}]
440
+					}],
441
+					dataZoom: [{
442
+						type: "slider",
443
+						show: true,
444
+						left: "center",
445
+						bottom: 20,
446
+						start: 0,
447
+						end: 2, //初始化滚动条
448
+						xAxisIndex: [0]
449
+					}],
440 450
 				})
441 451
 			},
442 452
 			changeClick() {
443 453
 				console.log(this.dayTime)
444
-				this.values = 0				
445
-				if(this.reportType == 1){
454
+				this.values = 0
455
+				if (this.reportType == 1) {
446 456
 					this.defaultStartTime = this.dayTime[0]
447 457
 					this.defaultEndTime = this.dayTime[1]
448
-				}else{
458
+				} else {
449 459
 					this.defaultStartTime = this.dayTime
450 460
 					this.defaultEndTime = this.dayTime
451 461
 				}
@@ -520,6 +530,7 @@
520 530
 		height: 30px;
521 531
 		line-height: 30px;
522 532
 	}
533
+
523 534
 	/deep/.uni-date-x {
524 535
 		height: 30px;
525 536
 		line-height: 30px;
@@ -611,7 +622,6 @@
611 622
 	}
612 623
 
613 624
 	#echartbox {
614
-		/* padding: 0 2%; */
615 625
 		width: 100%;
616 626
 		height: 600rpx;
617 627
 	}