diff --git a/public/electron/latest.yml b/public/electron/latest.yml deleted file mode 100644 index 39eba35..0000000 --- a/public/electron/latest.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: 1.0.6 -files: - - url: example-001 Setup 1.0.6.exe - sha512: PfambE0KJ9BKAPuXEDNGZz6z6Tbz2/BY66SyhvvZa9DJwhKYzQbgo0x/580pMJzyMv/hwYM9eWpdkOiZ71IgQQ== - size: 124064042 -path: example-001 Setup 1.0.6.exe -sha512: PfambE0KJ9BKAPuXEDNGZz6z6Tbz2/BY66SyhvvZa9DJwhKYzQbgo0x/580pMJzyMv/hwYM9eWpdkOiZ71IgQQ== -releaseDate: '2023-07-08T09:33:10.244Z' diff --git a/src/components/customerOrg/customerOrgEdit.vue b/src/components/customerOrg/customerOrgEdit.vue index d5ef268..9ce4561 100644 --- a/src/components/customerOrg/customerOrgEdit.vue +++ b/src/components/customerOrg/customerOrgEdit.vue @@ -123,7 +123,7 @@ - + @@ -133,7 +133,7 @@ - + @@ -239,18 +239,10 @@ export default { changeBox(type) { //赋值 - if (type == 'isActive') { - if (this.form.isActiveBox) { - this.form.isActive = 'Y'; - } else { - this.form.isActive = 'N'; - } - } else { - if (this.form.isLockBox) { - this.form.isLock = 'Y'; - } else { - this.form.isLock = 'N'; - } + if(this.form[type + 'Box']){ + this.form[type] = 'Y'; + }else{ + this.form[type] = 'N'; } }, diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index 3b757bc..feb5a46 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -31,7 +31,8 @@ - + @@ -61,15 +62,24 @@ - + + + + + + + + + - @@ -80,62 +90,31 @@ - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - + + + :style="'width:' + Math.floor((window.pageWidth - 650) / 8) + 'px;'"> - - - - - + + + + + + @@ -147,18 +126,36 @@ - + - + + + + + + + + + + + + + + + + @@ -169,51 +166,73 @@ - + - - - + + + - + + + + + + + + + + + - + + + - + + + - - + + + + - + - + @@ -221,55 +240,44 @@ - - - - - - - - - + + :style="'width:' + Math.floor((window.pageWidth - 530) / 4.8) + 'px;'"> - + + :style="'width:' + Math.floor((window.pageWidth - 530) / 4.8) + 'px;'"> - - - + + + + + + + + - - - - - - + @@ -282,7 +290,7 @@ - + @@ -297,7 +305,7 @@
加载中... @@ -305,11 +313,11 @@
- +
-
+
拍照
@@ -336,6 +344,43 @@
指引单预览
+ +
+ 全个人支付 +
+
+ 全单位支付 +
+
+ 全赠送 +
+
+ 收费 +
+
+
+ + +
+
+ 查找:  条码号 + +
+
+ 档案号 + +
+
+ 姓名 + +
+
+ 手机号 +
@@ -412,7 +457,7 @@ import { mapState } from "vuex"; import { getapi, postapi, putapi, deletapi } from "@/api/api"; import mm from "../../utlis/mm"; -import { objCopy, setNull, dddw, parseID, birthdayToAge } from "../../utlis/proFunc"; +import { objCopy, setNull, dddw, parseID, birthdayToAge,deepCopy } from "../../utlis/proFunc"; import Camera from "./Camera.vue"; import PatientRegisterItem from "./PatientRegisterItem.vue"; import LisRequest from "./LisRequest.vue"; @@ -429,6 +474,7 @@ export default { return { apiurl: mm.apiurl, brushTimes: 0, + payTypeFlag:'', form: { id: "", //id patientId: "00000000-0000-0000-0000-000000000000", //档案号ID 选择了档案就传档案号,未选就传00000-0000... @@ -472,6 +518,10 @@ export default { creationTime: "", lastModificationTime: "", lastModifierId: null, + isVipBox: false, //vip客户 + isNameHideBox: false, //隐藏姓名 + isPhoneFollowBox: false, //电话随访 + isLockBox: false, //是否锁住 }, //单位 记录 目前新增与更新是一致 defaultNull: [ @@ -509,6 +559,7 @@ export default { //挂载完成 mounted() { objCopy(this.formInitData, this.form); + this.initBox(); }, computed: { @@ -598,12 +649,48 @@ export default { return moment(new Date(date)).format(forMat); }, + changeBox(type) { + //赋值 + if(this.form[type + 'Box']){ + this.form[type] = 'Y'; + }else{ + this.form[type] = 'N'; + } + }, + + initBox(){ + if(this.form.isVip == 'Y'){ + this.form.isVipBox = true; + }else{ + this.form.isVipBox = false; + } + + if(this.form.isNameHide == 'Y'){ + this.form.isNameHideBox = true; + }else{ + this.form.isNameHideBox = false; + } + + if(this.form.isPhoneFollow == 'Y'){ + this.form.isPhoneFollowBox = true; + }else{ + this.form.isPhoneFollowBox = false; + } + + if(this.form.isLock == 'Y'){ + this.form.isLockBox = true; + }else{ + this.form.isLockBox = false; + } + + }, + //提交 Onsubmit(formName, msgTip) { this.$refs[formName].validate((valid) => { if (valid) { //赋值 - let body = { ...this.form }; + let body = deepCopy(this.form); delete body.id; delete body.patientRegisterNo; @@ -615,6 +702,10 @@ export default { delete body.creationTime; delete body.lastModificationTime; delete body.lastModifierId; + delete body.isVipBox; + delete body.isNameHideBox; + delete body.isPhoneFollowBox; + delete body.isLockBox; setNull(body, this.defaultNull); @@ -877,7 +968,7 @@ export default { // } return postapi('/api/app/lisrequest/updatelisrequestisprint', { operateType: 1, patientRegisterId: this.form.id }) } - }) + }) .catch(err => { this.$message.warning(err); }); @@ -893,6 +984,12 @@ export default { this.brushTimes++; this.patientRegister.lisRequestVisble = true; }, + + toCharge(patientRegisterNo){ + this.patientRegister.patientRegisterRd.patientRegisterNo = patientRegisterNo; + this.$router.push({ path: "/charge" }); + }, + }, //监听事件 @@ -904,6 +1001,7 @@ export default { if (newVal != oldVal) { console.log('this.editTimes', this.editTimes) objCopy(this.formInitData, this.form); + this.initBox(); //console.log('this.form',this.form) } }, @@ -921,11 +1019,13 @@ export default { diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue index 6616495..8975740 100644 --- a/src/components/patientRegister/PatientRegisterItem.vue +++ b/src/components/patientRegister/PatientRegisterItem.vue @@ -1,5 +1,5 @@