马宇豪
2025-03-04 509f1d71c91242b11fd287cfcdeafe3d19b2d807
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',