From 509f1d71c91242b11fd287cfcdeafe3d19b2d807 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 04 三月 2025 11:11:46 +0800 Subject: [PATCH] 新增 --- src/views/specialOperationsPay/notCoalPay/components/batchPay.vue | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/views/specialOperationsPay/notCoalPay/components/batchPay.vue b/src/views/specialOperationsPay/notCoalPay/components/batchPay.vue index 0adfc96..e6f16d5 100644 --- a/src/views/specialOperationsPay/notCoalPay/components/batchPay.vue +++ b/src/views/specialOperationsPay/notCoalPay/components/batchPay.vue @@ -30,7 +30,7 @@ <script > import { verifySimplePhone } from '@/utils/validate' import {coalTeamPay} from "@/api/specialOperationsPay/coalPay"; -import {nonCoalTeamPay} from "@/api/specialOperationsPay/notCoalPay"; +import {nonCoalPersonPay, nonCoalTeamPay} from "@/api/specialOperationsPay/notCoalPay"; export default { name: 'batchPay', @@ -76,12 +76,21 @@ if(this.dialogStatus == 'add'){ const res = await nonCoalTeamPay(this.dataForm); if(res.code == 200) { - this.$emit("getList"); - this.dialogVisible = false; - this.$message({ - type:'success', - message: '提交成功' - }) + this.$emit("getList") + this.dialogVisible = false + const query = { + id: this.dataForm.id, + payType: 2 + } + const res = await nonCoalPersonPay(query) + if(res.code == 200) { + window.open(`http://finpt.xjcz.gov.cn/fs-public/billQuery/findByOrderId.do?orderId=${res.msg}&deviceType=1`) + }else{ + this.$message({ + type:'warning', + message: res.msg + }) + } }else{ this.$message({ type:'warning', -- Gitblit v1.9.2