| | |
| | | <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', |
| | |
| | | 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', |