From 29d08c7f561ba653621531f7902eb74d9d8b9ec5 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Thu, 4 Sep 2025 13:10:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=89=8D=E7=AB=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../account/accountManager/index.vue | 104 +++++++++++------- .../accountCenter/account/wallet/index.vue | 60 ++++++---- .../accountCenter/butie/butie/index.vue | 52 +++++---- .../cardManage/cardList/index.vue | 1 + .../canteen/base/mobile/complaint/index.vue | 2 +- .../canteen/base/mobile/evaManeager/index.vue | 2 +- .../healthCenter/examinationReport/index.vue | 84 ++++++-------- .../reportCenter/tradedDetail/index.vue | 2 +- .../company-manage/components/add-form.vue | 2 +- src/views/monitor/online/index.vue | 4 +- src/views/system/logininfor/index.vue | 6 +- src/views/system/role/authUser.vue | 8 +- src/views/system/role/selectUser.vue | 8 +- src/views/system/user/authRole.vue | 4 +- src/views/system/user/index.vue | 35 +++--- src/views/system/user/profile/index.vue | 2 +- vue.config.js | 2 +- 17 files changed, 210 insertions(+), 168 deletions(-) diff --git a/src/views/canteen/accountCenter/account/accountManager/index.vue b/src/views/canteen/accountCenter/account/accountManager/index.vue index 6aad7f4d..2dffd43d 100644 --- a/src/views/canteen/accountCenter/account/accountManager/index.vue +++ b/src/views/canteen/accountCenter/account/accountManager/index.vue @@ -348,7 +348,7 @@
第二步:输入金额
- @@ -361,7 +361,7 @@ -
总人数: {{resultData.totalUserSum || '--' }} , 补贴人数:{{resultData.validCount || '--' }}, 补贴总额:{{(resultData.validTotalAmount/100) || '--' }}, 无效人数:{{resultData.invalidCount || '--'}}
+
总人数: {{resultData.totalUserSum || '--' }} , 补贴人数:{{resultData.validCount || '--' }}, 补贴总金额:{{(resultData.validTotalAmount/100) || '--' }}, 无效人数:{{resultData.invalidCount || '--'}}
无效人数
@@ -373,7 +373,7 @@ - + @@ -391,7 +391,7 @@ - + @@ -735,14 +735,16 @@ submitSendCard(){ this.$refs["cardForm"].validate(valid => { if (valid) { - let param = { - ...this.cardForm - } - accCardApi(param).then(response => { - this.$modal.msgSuccess("发卡成功"); - this.openCard = false; - this.getList(); - }); + this.$modal.confirm('是否确认继续发卡?').then(() => { + let param = { + ...this.cardForm + } + accCardApi(param).then(response => { + this.$modal.msgSuccess("发卡成功"); + this.openCard = false; + this.getList(); + }); + }).catch(() => {}); } }); }, @@ -795,17 +797,19 @@ submitSubsidy(){ this.$refs["form"].validate(valid => { if (valid) { - let param = { - userId:this.form.userId, - amount:Number(this.form.amount*100) - } - updateAccRechargeSingleApi(param).then(response => { - this.$modal.msgSuccess("操作成功"); - this.openSubsidy = false; - this.getList(); - }); + this.$modal.confirm('补贴金额:'+this.form.amount+'元,是否确认继续补贴?').then(() => { + let param = { + userId:this.form.userId, + amount:Number(this.form.amount*100) + } + updateAccRechargeSingleApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openSubsidy = false; + this.getList(); + }); + }).catch(() => {}); } - }); + }); }, //充值按钮操作 handleRecharge(row){ @@ -818,16 +822,32 @@ //充值确认操作 submitRecharge(){ this.$refs["form"].validate(valid => { - if (valid) { - let param = { - userId:this.form.userId, - amount:Number(this.form.amount*100) - } - rechargeAccWalletApi(param).then(response => { - this.$modal.msgSuccess("操作成功"); - this.openRecharge = false; - this.getList(); - }); + if (valid) { + if(Number(this.form.walletBal)>300000){ + this.$modal.confirm('个人钱包余额已超过3000,是否确认继续充值?').then(() => { + let param = { + userId:this.form.userId, + amount:Number(this.form.amount*100) + } + rechargeAccWalletApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openRecharge = false; + this.getList(); + }); + }).catch(() => {}); + }else{ + this.$modal.confirm('充值金额:'+this.form.amount+'元,是否确认继续充值?').then(() => { + let param = { + userId:this.form.userId, + amount:Number(this.form.amount*100) + } + rechargeAccWalletApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openRecharge = false; + this.getList(); + }); + }).catch(() => {}); + } } }); }, @@ -843,15 +863,17 @@ submitTake(){ this.$refs["form"].validate(valid => { if (valid) { - let param = { - userId:this.form.userId, - amount:Number(this.form.amount*100) - } - withdrawAccWalletApi(param).then(response => { - this.$modal.msgSuccess("操作成功"); - this.openTake = false; - this.getList(); - }); + this.$modal.confirm('提现金额:'+this.form.amount+'元,是否确认继续提现?').then(() => { + let param = { + userId:this.form.userId, + amount:Number(this.form.amount*100) + } + withdrawAccWalletApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openTake = false; + this.getList(); + }); + }).catch(() => {}); } }); }, diff --git a/src/views/canteen/accountCenter/account/wallet/index.vue b/src/views/canteen/accountCenter/account/wallet/index.vue index aef20811..c1e9760a 100644 --- a/src/views/canteen/accountCenter/account/wallet/index.vue +++ b/src/views/canteen/accountCenter/account/wallet/index.vue @@ -508,15 +508,31 @@ submitForm: function() { this.$refs["form"].validate(valid => { if (valid) { - let param = { - userId:this.form.userId, - amount:Number(this.form.amount*100) - } - rechargeAccWalletApi(param).then(response => { - this.$modal.msgSuccess("操作成功"); - this.open = false; - this.getList(); - }); + if(Number(this.form.walletBal)>300000){ + this.$modal.confirm('个人钱包余额已超过3000,是否确认继续充值?').then(() => { + let param = { + userId:this.form.userId, + amount:Number(this.form.amount*100) + } + rechargeAccWalletApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openRecharge = false; + this.getList(); + }); + }).catch(() => {}); + }else{ + this.$modal.confirm('充值金额:'+this.form.amount+'元,是否确认继续充值?').then(() => { + let param = { + userId:this.form.userId, + amount:Number(this.form.amount*100) + } + rechargeAccWalletApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openRecharge = false; + this.getList(); + }); + }).catch(() => {}); + } } }); }, @@ -524,28 +540,32 @@ submitTakeForm: function() { this.$refs["form"].validate(valid => { if (valid) { - let param = { + this.$modal.confirm('提现金额:'+this.form.amount+'元,是否确认继续提现?').then(() => { + let param = { userId:this.form.userId, amount:Number(this.form.amount*100) - } - withdrawAccWalletApi(param).then(response => { + } + withdrawAccWalletApi(param).then(response => { this.$modal.msgSuccess("操作成功"); this.openTake = false; this.getList(); - }); + }); + }).catch(() => {}); } }); }, /** 清空提交按钮 */ submitClearForm: function() { - let param = { - userId:this.form.userId - } - clearAccWalletApi(param).then(response => { - this.$modal.msgSuccess("操作成功"); - this.openClear = false; - this.getList(); + this.$modal.confirm('是否确认清空钱包?').then(() => { + let param = { + userId:this.form.userId + } + clearAccWalletApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openClear = false; + this.getList(); }); + }).catch(() => {}); }, } diff --git a/src/views/canteen/accountCenter/butie/butie/index.vue b/src/views/canteen/accountCenter/butie/butie/index.vue index 1dff992d..4c03f11a 100644 --- a/src/views/canteen/accountCenter/butie/butie/index.vue +++ b/src/views/canteen/accountCenter/butie/butie/index.vue @@ -737,19 +737,21 @@ submitForm: function() { this.$refs["form"].validate(valid => { if (valid) { - let param = { - // ...this.form, - // remark:this.form.remark, - // receiveEndDate:this.form.receiveEndDate, - // validateDay:this.form.validateDay, - userId:this.form.userId, - amount:Number(this.form.amount*100) - } - updateAccRechargeSingleApi(param).then(response => { - this.$modal.msgSuccess("操作成功"); - this.open = false; - this.getList(); - }); + this.$modal.confirm('补贴金额:'+this.form.amount+'元,是否确认继续补贴?').then(() => { + let param = { + // ...this.form, + // remark:this.form.remark, + // receiveEndDate:this.form.receiveEndDate, + // validateDay:this.form.validateDay, + userId:this.form.userId, + amount:Number(this.form.amount*100) + } + updateAccRechargeSingleApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.open = false; + this.getList(); + }); + }).catch(() => {}); } }); }, @@ -757,17 +759,19 @@ submitClearForm: function() { // this.$refs["form"].validate(valid => { // if (valid) { - let param = { - userId:this.form.userId - // ...this.form, - // clearType:this.form.clearType, - // amount:Number(this.form.amount*100) - } - clearAccRechargeSingleApi(param).then(response => { - this.$modal.msgSuccess("操作成功"); - this.openClear = false; - this.getList(); - }); + this.$modal.confirm('是否确认清空补贴?').then(() => { + let param = { + userId:this.form.userId + // ...this.form, + // clearType:this.form.clearType, + // amount:Number(this.form.amount*100) + } + clearAccRechargeSingleApi(param).then(response => { + this.$modal.msgSuccess("操作成功"); + this.openClear = false; + this.getList(); + }); + }).catch(() => {}); // } // }); }, diff --git a/src/views/canteen/accountCenter/cardManage/cardList/index.vue b/src/views/canteen/accountCenter/cardManage/cardList/index.vue index 237faa67..d8cf7b6d 100644 --- a/src/views/canteen/accountCenter/cardManage/cardList/index.vue +++ b/src/views/canteen/accountCenter/cardManage/cardList/index.vue @@ -195,6 +195,7 @@ "pageSize": this.queryParams.pageSize, "serialNum": this.queryParams.serialNum, "userId": this.queryParams.userId, + "cardStatus":"1" // "accountStatusList": this.queryParams.accountStatusList, // "deptIdList": this.queryParams.deptIdList, // "walletType": this.queryParams.walletType, diff --git a/src/views/canteen/base/mobile/complaint/index.vue b/src/views/canteen/base/mobile/complaint/index.vue index 7e8aef8a..5fdbfb66 100644 --- a/src/views/canteen/base/mobile/complaint/index.vue +++ b/src/views/canteen/base/mobile/complaint/index.vue @@ -41,7 +41,7 @@ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}} - + diff --git a/src/views/canteen/base/mobile/evaManeager/index.vue b/src/views/canteen/base/mobile/evaManeager/index.vue index 3deaedd3..4fd694db 100644 --- a/src/views/canteen/base/mobile/evaManeager/index.vue +++ b/src/views/canteen/base/mobile/evaManeager/index.vue @@ -181,7 +181,7 @@ - + - - - - - - - - - - -
- - 新增体检报告 - -
- - - - - - - - - -
-
-
+ +
+ 新增体检报告 +
+ + + + + + + + +
@@ -142,10 +128,10 @@ - + - +
体检报告单
@@ -211,7 +197,7 @@ - +
@@ -239,7 +225,7 @@ 位置信息 - {{personData.nickName}} + {{personData.placeFullName}} 出生日期 {{personData.birthday}} @@ -316,7 +302,7 @@