|
|
@@ -867,6 +867,7 @@ export default {
|
|
867
|
867
|
hospitalDataLists: [],
|
|
868
|
868
|
coperDataLists: [],
|
|
869
|
869
|
orderTypeSzData: ['menzhen', 'JZ', 'zhuyuan', 'jiancha'],
|
|
|
870
|
+ orderTypeYqData: ['menzhen', 'JZ', 'zhuyuan', 'jiancha','XZ','huizhen'],
|
|
870
|
871
|
isshowmen: '1',
|
|
871
|
872
|
// 工单标识为 'menzhen','JZ','zhuyuan','jiancha' 的患者信息
|
|
872
|
873
|
patientMsgAll: [
|
|
|
@@ -1002,6 +1003,7 @@ export default {
|
|
1002
|
1003
|
]
|
|
1003
|
1004
|
},
|
|
1004
|
1005
|
F_Type2: '',
|
|
|
1006
|
+ linkManYQ: '',
|
|
1005
|
1007
|
ruleForm: {
|
|
1006
|
1008
|
jzks: '',
|
|
1007
|
1009
|
patientName: '',
|
|
|
@@ -1071,14 +1073,23 @@ export default {
|
|
1071
|
1073
|
watch: {
|
|
1072
|
1074
|
'patientDatas': function() {
|
|
1073
|
1075
|
this.zsyh = this.patientDatas.zsyh
|
|
1074
|
|
- this.ruleForm.F_Customer = this.patientDatas.hzxm
|
|
|
1076
|
+ if (this.orderTypeYqData.indexOf(this.worktypeInfo3) === -1) {
|
|
|
1077
|
+ this.ruleForm.F_Customer = this.patientDatas.hzxm
|
|
|
1078
|
+ }
|
|
|
1079
|
+
|
|
1075
|
1080
|
this.ruleForm.F_FullName = this.patientDatas.hzxm
|
|
1076
|
1081
|
this.ruleForm.F_IDNumber = this.patientDatas.zjhm
|
|
1077
|
1082
|
this.ruleForm.F_IDNumberShow = this.patientDatas.zjhmShow
|
|
1078
|
1083
|
this.ruleForm.F_CusAddress = this.patientDatas.jtdz
|
|
1079
|
1084
|
this.ruleForm.F_CusAddressShow = this.patientDatas.jtdzShow
|
|
|
1085
|
+<<<<<<< HEAD
|
|
1080
|
1086
|
this.patientMsgAll[0].guanchuangyisheng = this.ruleForm.F_Customer
|
|
1081
|
1087
|
this.clickbefore = 0
|
|
|
1088
|
+=======
|
|
|
1089
|
+ // this.patientMsgAll[0].guanchuangyisheng = this.ruleForm.F_Customer
|
|
|
1090
|
+ this.clickbefore = 0
|
|
|
1091
|
+
|
|
|
1092
|
+>>>>>>> master
|
|
1082
|
1093
|
},
|
|
1083
|
1094
|
'orderTypeData.F_Type2': function() {
|
|
1084
|
1095
|
this.ruleForm.clbm = ''
|
|
|
@@ -1119,10 +1130,14 @@ export default {
|
|
1119
|
1130
|
if (this.worktypeInfo3 === 'ywzx_lasc') {
|
|
1120
|
1131
|
this.getRelations()
|
|
1121
|
1132
|
}
|
|
|
1133
|
+ if (this.orderTypeYqData.indexOf(this.worktypeInfo3) !== -1) {
|
|
|
1134
|
+ this.getYQmsg()
|
|
|
1135
|
+ }
|
|
1122
|
1136
|
if (this.orderTypeSzData.indexOf(this.worktypeInfo3) !== -1) {
|
|
1123
|
1137
|
this.getCoperyq()
|
|
1124
|
1138
|
this.getListyq()
|
|
1125
|
|
- this.getYQmsg()
|
|
|
1139
|
+
|
|
|
1140
|
+
|
|
1126
|
1141
|
console.log('F_Customer',this.ruleForm.F_Customer)
|
|
1127
|
1142
|
this.patientMsgAll[0].guanchuangtel = this.ruleForm.F_Phon
|
|
1128
|
1143
|
if (!this.wid) {
|
|
|
@@ -1390,7 +1405,7 @@ export default {
|
|
1390
|
1405
|
jzyq: '',
|
|
1391
|
1406
|
F_nl: '',
|
|
1392
|
1407
|
F_Sex: '0',
|
|
1393
|
|
- guanchuangyisheng: this.ruleForm.F_Customer,
|
|
|
1408
|
+ guanchuangyisheng: this.linkManYQ,
|
|
1394
|
1409
|
guanchuangtel: this.ruleForm.F_Phon,
|
|
1395
|
1410
|
F_sxzzd: '1', // 双向转诊单
|
|
1396
|
1411
|
F_lyfs: '0', // 来院方式
|
|
|
@@ -1500,8 +1515,8 @@ export default {
|
|
1500
|
1515
|
// const getPointOfCare = this.$store.getters.deptmap[this.zhuyuanArr[0].AssignedPatientLocation.PointOfCare].ids
|
|
1501
|
1516
|
console.log('getPointOfCare',this.zhuyuanArr[0].AssignedPatientLocation.PointOfCare)
|
|
1502
|
1517
|
// this.patientMsgXZ[this.currentIndexXZ].zyks = getPointOfCare // PointOfCareName
|
|
1503
|
|
- this.patientMsgXZ[this.currentIndexXZ].inpatientnum = this.zhuyuanArr[0].VisitNumber.CardID
|
|
1504
|
|
- this.patientMsgXZ[this.currentIndexXZ].guanchuangyisheng = this.zhuyuanArr[0].AttendingDoctor.FamilyName
|
|
|
1518
|
+ // this.patientMsgXZ[this.currentIndexXZ].inpatientnum = this.zhuyuanArr[0].VisitNumber.CardID
|
|
|
1519
|
+ // this.patientMsgXZ[this.currentIndexXZ].guanchuangyisheng = this.zhuyuanArr[0].AttendingDoctor.FamilyName
|
|
1505
|
1520
|
|
|
1506
|
1521
|
})
|
|
1507
|
1522
|
|
|
|
@@ -1597,8 +1612,10 @@ export default {
|
|
1597
|
1612
|
GetModelByTel(params).then(res => {
|
|
1598
|
1613
|
if (res.state == 'success' && res.data) {
|
|
1599
|
1614
|
this.ruleForm.F_Yqname = res.data.F_YqName
|
|
1600
|
|
- res.data.F_LinkMan && (this.ruleForm.F_Customer = res.data.F_LinkMan)
|
|
1601
|
|
- this.patientMsgAll[0].guanchuangyisheng = this.ruleForm.F_Customer
|
|
|
1615
|
+ // res.data.F_LinkMan && (this.ruleForm.F_Customer = res.data.F_LinkMan)
|
|
|
1616
|
+ this.patientMsgAll[0].guanchuangyisheng = res.data.F_LinkMan
|
|
|
1617
|
+ this.ruleForm.F_Customer = res.data.F_LinkMan
|
|
|
1618
|
+ this.linkManYQ = res.data.F_LinkMan
|
|
1602
|
1619
|
} else {
|
|
1603
|
1620
|
this.ruleForm.F_Yqname = ''
|
|
1604
|
1621
|
this.isAddHos = 1 // 没有数据存标识,提交工单调添加合作院区接口
|
|
|
@@ -1640,8 +1657,11 @@ export default {
|
|
1640
|
1657
|
setTimeout(() => {
|
|
1641
|
1658
|
const this_ = this
|
|
1642
|
1659
|
this_.zsyh = window.localStorage.getItem('zsyh') || ''
|
|
1643
|
|
- this_.ruleForm.F_Customer = window.localStorage.getItem('huanxm') || ''
|
|
1644
|
|
- this.patientMsgAll[0].guanchuangyisheng = this.ruleForm.F_Customer
|
|
|
1660
|
+ if (this.orderTypeYqData.indexOf(this.worktypeInfo3) === -1) {
|
|
|
1661
|
+ this_.ruleForm.F_Customer = window.localStorage.getItem('huanxm') || ''
|
|
|
1662
|
+ this.patientMsgAll[0].guanchuangyisheng = this.ruleForm.F_Customer
|
|
|
1663
|
+ }
|
|
|
1664
|
+
|
|
1645
|
1665
|
}, 1000)
|
|
1646
|
1666
|
}
|
|
1647
|
1667
|
if (!this.ruleForm.F_FullName) {
|