miaofuhao месяцев назад: 11
Родитель
Сommit
562bb4e9e4

+ 64 - 9
CallCenterWeb.UI/RMYY/src/components/workOrder/information/addOrEditInfOrder.vue

462
               </el-col>
462
               </el-col>
463
               <el-col :span="12">
463
               <el-col :span="12">
464
                 <el-form-item label="患者电话">
464
                 <el-form-item label="患者电话">
465
-                  <el-input v-model="patientMsgXZ[currentIndexXZ].tel" placeholder="请输入患者电话" />
465
+                  <el-input v-model="patientMsgXZ[currentIndexXZ].tel" placeholder="请输入患者电话" @change="XzPatientTelChange"/>
466
                 </el-form-item>
466
                 </el-form-item>
467
               </el-col>
467
               </el-col>
468
               <el-col :span="12">
468
               <el-col :span="12">
765
   getClassByDeptId,
765
   getClassByDeptId,
766
   GetDicValue
766
   GetDicValue
767
 } from '@/api/commonAPI'
767
 } from '@/api/commonAPI'
768
-import { GetPatientModel, GetModelList } from '@/api/callScreen/callScreen'
768
+import { GetPatientModel, GetModelList,GetRcord } from '@/api/callScreen/callScreen'
769
 import { GetCompleteCustomer, GetLsyyxxList } from '@/api/customerManagement/customerList'
769
 import { GetCompleteCustomer, GetLsyyxxList } from '@/api/customerManagement/customerList'
770
 import { addCooperate } from '@/api/systemSetup/roleSetting/hospitalArea'
770
 import { addCooperate } from '@/api/systemSetup/roleSetting/hospitalArea'
771
 import { encrypt, decrypt } from '@/utils/secretKey'
771
 import { encrypt, decrypt } from '@/utils/secretKey'
823
   data() {
823
   data() {
824
     return {
824
     return {
825
       // 下转
825
       // 下转
826
+      hismsg:{},
827
+      zhuyuanArr:[],
826
       dynamicTagsXZ: ['患者1'],
828
       dynamicTagsXZ: ['患者1'],
827
       currentIndexXZ: 0,
829
       currentIndexXZ: 0,
828
       patientMsgXZ: [
830
       patientMsgXZ: [
1305
         this.patientMsgAll[this.currentIndex].F_nl = this.getIdCardAge(e)
1307
         this.patientMsgAll[this.currentIndex].F_nl = this.getIdCardAge(e)
1306
         this.patientMsgAll[this.currentIndex].F_Sex = this.getIdCardSex(e)
1308
         this.patientMsgAll[this.currentIndex].F_Sex = this.getIdCardSex(e)
1307
         this.ruleForm.patientNl = this.getIdCardAge(e)
1309
         this.ruleForm.patientNl = this.getIdCardAge(e)
1308
-        this.ruleForm.F_Sex = this.getIdCardAge(e)
1310
+        this.ruleForm.F_Sex = this.getIdCardSex(e)
1309
         this.getModelData(e)
1311
         this.getModelData(e)
1310
       } else {
1312
       } else {
1311
         this.$message.error('身份证号位数不正确')
1313
         this.$message.error('身份证号位数不正确')
1443
     patientGzyqChangeXZ(e) {
1445
     patientGzyqChangeXZ(e) {
1444
       console.log('patientGzyqChangeXZ', e)
1446
       console.log('patientGzyqChangeXZ', e)
1445
     },
1447
     },
1448
+    XzPatientTelChange(e){
1449
+      console.log('XzPatientTelChange',e)
1450
+      // this.getHisInfo(e)
1451
+    },
1452
+    getHisInfo(lxdh){
1453
+      GetModelList({
1454
+          zsyh: window.localStorage.getItem('zsyh'),
1455
+          jzlx: window.localStorage.getItem('jzlx'),
1456
+          lxdh
1457
+      }).then((response) => {
1458
+        this.loading = false
1459
+        if (response.rows.length > 0) {
1460
+          this.hismsg = response.rows[0]
1461
+          this.patientMsgXZ[this.currentIndexXZ].name = this.hismsg.hzxm || ''
1462
+          if (this.hismsg.zjhm) {
1463
+            this.patientMsgXZ[this.currentIndexXZ].F_nl = this.getIdCardAge(this.hismsg.zjhm)
1464
+            this.patientMsgXZ[this.currentIndexXZ].F_Sex = this.getIdCardSex(this.hismsg.zjhm)
1465
+          }
1466
+          console.log(response, 'response')
1467
+          GetRcord({
1468
+              PatientClass: "I",
1469
+              GlobalPID: response.rows[0].zsyh
1470
+          }).then((res) => {
1471
+            if (res.QueryPatientVisitByIDResponse.patientVisits == '') {
1472
+              return
1473
+            }
1474
+            const Obj = res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
1475
+            if (Obj instanceof Array === true) {
1476
+              this.zhuyuanArr =
1477
+                res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
1478
+            } else {
1479
+              this.zhuyuanArr = []
1480
+              this.zhuyuanArr.push(
1481
+                res.QueryPatientVisitByIDResponse.patientVisits.patientVisit
1482
+              )
1483
+            }console.log(this.$store.getters.deptmap)
1484
+            // const getPointOfCare =  this.$store.getters.deptmap[this.zhuyuanArr[0].AssignedPatientLocation.PointOfCare].ids
1485
+            console.log('getPointOfCare',this.zhuyuanArr[0].AssignedPatientLocation.PointOfCare)
1486
+            // this.patientMsgXZ[this.currentIndexXZ].zyks = getPointOfCare // PointOfCareName
1487
+            this.patientMsgXZ[this.currentIndexXZ].inpatientnum = this.zhuyuanArr[0].VisitNumber.CardID
1488
+            this.patientMsgXZ[this.currentIndexXZ].guanchuangyisheng = this.zhuyuanArr[0].AttendingDoctor.FamilyName
1489
+
1490
+          })
1491
+
1492
+        }
1493
+      })
1494
+    },
1495
+    
1446
     addPatientXZ() {
1496
     addPatientXZ() {
1447
       var item = this.dynamicTagsXZ[this.dynamicTagsXZ.length - 1]
1497
       var item = this.dynamicTagsXZ[this.dynamicTagsXZ.length - 1]
1448
       const index = Number(item.substr(item.length - 1, 1)) + 1
1498
       const index = Number(item.substr(item.length - 1, 1)) + 1
2275
       this.ruleForm.F_IDNumber = ''
2325
       this.ruleForm.F_IDNumber = ''
2276
       this.ruleForm.F_AppointmentTime = ''
2326
       this.ruleForm.F_AppointmentTime = ''
2277
     },
2327
     },
2278
-    postBlackPhone() {
2328
+    postBlackPhone(e) {
2279
       this.$bus.$emit('hzblackphone', this.ruleForm.F_Phon)
2329
       this.$bus.$emit('hzblackphone', this.ruleForm.F_Phon)
2280
-    },
2281
-    storageIdcard() {
2282
-      this.$bus.$emit('idcard', this.ruleForm.F_IDNumber)
2283
-    },
2284
-    storagephone() {
2330
+      console.log(e,this.ruleForm.F_Phon)
2285
       this.$bus.$emit('hzphone', this.ruleForm.F_Phon)
2331
       this.$bus.$emit('hzphone', this.ruleForm.F_Phon)
2286
       if (this.orderTypeSzData.indexOf(this.worktypeInfo3) !== -1 || this.worktypeInfo3 == 'huizhen') {
2332
       if (this.orderTypeSzData.indexOf(this.worktypeInfo3) !== -1 || this.worktypeInfo3 == 'huizhen') {
2287
         this.getYQmsg()
2333
         this.getYQmsg()
2288
       }
2334
       }
2289
     },
2335
     },
2336
+    storageIdcard() {
2337
+      this.$bus.$emit('idcard', this.ruleForm.F_IDNumber)
2338
+    },
2339
+    storagephone(e,data) {
2340
+      // this.$bus.$emit('hzphone', this.ruleForm.F_Phon)
2341
+      // if (this.orderTypeSzData.indexOf(this.worktypeInfo3) !== -1 || this.worktypeInfo3 == 'huizhen') {
2342
+      //   this.getYQmsg()
2343
+      // }
2344
+    },
2290
     storagename() {
2345
     storagename() {
2291
       this.$bus.$emit('hzname', this.ruleForm.F_FullName)
2346
       this.$bus.$emit('hzname', this.ruleForm.F_FullName)
2292
     },
2347
     },

+ 0 - 1
CallCenterWeb.UI/RMYY/src/store/modules/deptment.js

46
     } else {
46
     } else {
47
       if (!deptMap[element.id]) {
47
       if (!deptMap[element.id]) {
48
         const thisName = pName + '/' + element.text
48
         const thisName = pName + '/' + element.text
49
-
50
         const thisIds = ids.concat([element.id])
49
         const thisIds = ids.concat([element.id])
51
         // debugger
50
         // debugger
52
         // console.log(thisIds, ids);
51
         // console.log(thisIds, ids);

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

39
         </div>
39
         </div>
40
         <div class="itemLine2">
40
         <div class="itemLine2">
41
           <div class="lineSpan1">挂号号序:{{ item.ghhx }}</div>
41
           <div class="lineSpan1">挂号号序:{{ item.ghhx }}</div>
42
+          <div class="lineSpan2">挂号费用:{{ item.zje }}¥</div>
42
           <div class="lineSpan2">状态:{{ item.hxzt ? item.hxzt : '未知' }}</div>
43
           <div class="lineSpan2">状态:{{ item.hxzt ? item.hxzt : '未知' }}</div>
43
           <div class="lineSpan3">时段: {{ item.kssj ? item.kssj : '未知' }} - {{ item.jssj ? item.jssj : '未知' }}</div>
44
           <div class="lineSpan3">时段: {{ item.kssj ? item.kssj : '未知' }} - {{ item.jssj ? item.jssj : '未知' }}</div>
44
           <div class="lineSpan4">
45
           <div class="lineSpan4">
445
       // this.tableObj.ghf = resultItem.ghf
446
       // this.tableObj.ghf = resultItem.ghf
446
       this.tableObj.zzlxmc = resultItem.zzlxmc
447
       this.tableObj.zzlxmc = resultItem.zzlxmc
447
       this.tableObj.pbxh = resultItem.pbxh
448
       this.tableObj.pbxh = resultItem.pbxh
449
+      this.tableObj.zje = resultItem.zje
450
+      
448
       // this.tableObj.doctorName = this.findItemById(e,this.doctorarr,'ysmc','ysdm')
451
       // this.tableObj.doctorName = this.findItemById(e,this.doctorarr,'ysmc','ysdm')
449
       const params = {
452
       const params = {
450
         pbxh: e,
453
         pbxh: e,

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

177
         }
177
         }
178
       }
178
       }
179
     })
179
     })
180
-    this.callinNum = this.telCallNum // 来电号码  $route.params.telInNumber
181
-    // this.callinNum = '15638114211' // 来电号码  $route.params.telInNumber
180
+    // this.callinNum = this.telCallNum // 来电号码  $route.params.telInNumber
181
+    this.callinNum = '15638114211' // 来电号码  $route.params.telInNumber
182
     this.ldphone = this.$route.params.telInNumber
182
     this.ldphone = this.$route.params.telInNumber
183
     if (this.$route.params.callid) {
183
     if (this.$route.params.callid) {
184
       this.callinCallid = this.$route.params.callid.toString() // 来电callid  $route.params.callid
184
       this.callinCallid = this.$route.params.callid.toString() // 来电callid  $route.params.callid

+ 1 - 1
CallCenterWeb.UI/RMYY/static/config/serverConfig.json

1
 {
1
 {
2
   "NODE_ENV": "development",
2
   "NODE_ENV": "development",
3
-  "BASE_API": "https://zyfb.zzrmyy.com/",
3
+  "BASE_API": "http://192.168.1.37:8000/",
4
   "TTS_API": "http://39.164.159.192:8000/",
4
   "TTS_API": "http://39.164.159.192:8000/",
5
   "IVR_API":"http://172.16.10.21:9000/",
5
   "IVR_API":"http://172.16.10.21:9000/",
6
   "CORP_ID":"dingbb1314af9ad8e421f2c783f7214b6d69",
6
   "CORP_ID":"dingbb1314af9ad8e421f2c783f7214b6d69",