From c5ca92faffd4d50674c017a3b610552cca823249 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Thu, 4 Dec 2025 14:57:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B5=8A=E6=AC=A0=E6=8C=82?= =?UTF-8?q?=E5=8F=B7=E8=B4=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/HosInformation.vue | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/src/views/HosInformation.vue b/src/views/HosInformation.vue index b9a7779..b7f958f 100644 --- a/src/views/HosInformation.vue +++ b/src/views/HosInformation.vue @@ -303,6 +303,16 @@ @click="showDialog('registerRule')">立即设置 +
+
+
+

赊欠挂号费

+

开启后财务可给患者赊欠挂号费

+
+
+ +
@@ -776,6 +786,7 @@ export default { }, data() { return { + deferred_regFee: null,//挂号费是否开始赊欠 afterText: '', morningText: '', depart_id: false, @@ -1150,6 +1161,27 @@ export default { ...mapState(['hosMenuData']) // 从Vuex映射showSidebar状态到组件的计算属性中 }, methods: { + // 设置赊欠挂号费功能 + regFeeChange(e){ + this.deferred_regFee = e + // await this.$http('POST', '/api/admin/set_has_visit_fee', { + // deferred_regFee: this.deferred_regFee, + // doctor_id: this.doctor_id, + // depart_id: this.depart_id + // }).then(response => { + // const { code } = response + // const msg = this.deferred_regFee === 1 ? '已开启' : '已关闭' + // const type = code === 0 ? 'success' : 'error'; + // this.$positionMessage({ + // type: type, + // message: msg+'赊欠挂号费功能', + // target: this.$refs['isOnCreditRef'], + // position: 'top' + // }) + // }).catch(error => { + // console.error(error, 'error') + // }) + }, // 出诊冲突提示框-取消 handleVisitCancel() { @@ -2690,7 +2722,6 @@ export default { 'afternoon_worktime': response.data.afternoon_worktime ? response.data.afternoon_worktime.split('-') : '' } this.houseCallSettingForm.worktimes = JSON.parse(JSON.stringify(this.form.worktimes)); - // ---------还没有数据 const {display_work_days,worktime_no_fixed,is_allow_coincide} = response.data; if(display_work_days > 0){ this.houseCallSettingForm.planDays = display_work_days; @@ -2699,7 +2730,6 @@ export default { } this.houseCallSettingForm.worktime_no_fixed = worktime_no_fixed - // ---------还没有数据 this.is_allow_coincide=is_allow_coincide this.departType = (response.data.type || response.data.type === 0 || response.data.type === "0") ? [Number(response.data.type)] : [] @@ -2708,6 +2738,7 @@ export default { this.onLinePay = response.data.pay_switch this.hasVisitFee = response.data.has_visit_fee this.registerMoney = response.data.visit_price + this.deferred_regFee = response.data.deferred_regFee; this.hasAgainVisitFreeDays = response.data.has_again_visit_free_days this.againVisitFreeDays = response.data.again_visit_free_days @@ -3615,7 +3646,6 @@ export default { padding: 24px 16px; border-radius: 8px; background: #FFFFFF; - align-items: flex-start; .bidwrap-item-top { .top-right {