|
|
@@ -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;
|