From 102f2220365de7cd04d7cd07d8ff8ef03ca2c460 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 19 二月 2025 08:49:38 +0800 Subject: [PATCH] 修改跳转和双向绑定 --- src/views/specialOperationsPay/notCoalPay/components/studentDialog.vue | 2 +- src/views/specialOperationsPay/coalPay/components/studentDialog.vue | 2 +- src/views/specialOperationsPay/singlePage/index.vue | 11 +++++++++++ src/views/system/dept/index.vue | 11 ++++++++++- src/views/specialOperationsPay/notCoalWorkType/index.vue | 4 +++- 5 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/views/specialOperationsPay/coalPay/components/studentDialog.vue b/src/views/specialOperationsPay/coalPay/components/studentDialog.vue index ca01afb..28a7602 100644 --- a/src/views/specialOperationsPay/coalPay/components/studentDialog.vue +++ b/src/views/specialOperationsPay/coalPay/components/studentDialog.vue @@ -12,7 +12,7 @@ <el-row :gutter="24"> <el-col :span="12"> <el-form-item label="缴费周期:"> - <span><span>{{stuInfo.year}}</span></span> + <span><span>{{stuInfo.year}}{{stuInfo.quarter==1?' 第一季度':stuInfo.quarter==2?' 第二季度':stuInfo.quarter==3?' 第三季度':' 第四季度'}}</span></span> </el-form-item> </el-col> <el-col :span="12"> diff --git a/src/views/specialOperationsPay/notCoalPay/components/studentDialog.vue b/src/views/specialOperationsPay/notCoalPay/components/studentDialog.vue index cbe435c..d9872de 100644 --- a/src/views/specialOperationsPay/notCoalPay/components/studentDialog.vue +++ b/src/views/specialOperationsPay/notCoalPay/components/studentDialog.vue @@ -14,7 +14,7 @@ <el-row :gutter="24"> <el-col :span="12"> <el-form-item label="缴费周期:"> - <span><span>{{stuInfo.year}}</span></span> + <span><span>{{stuInfo.year}}{{stuInfo.quarter==1?' 第一季度':stuInfo.quarter==2?' 第二季度':stuInfo.quarter==3?' 第三季度':' 第四季度'}}</span></span> </el-form-item> </el-col> <el-col :span="12"> diff --git a/src/views/specialOperationsPay/notCoalWorkType/index.vue b/src/views/specialOperationsPay/notCoalWorkType/index.vue index 7ae7413..c458da1 100644 --- a/src/views/specialOperationsPay/notCoalWorkType/index.vue +++ b/src/views/specialOperationsPay/notCoalWorkType/index.vue @@ -114,7 +114,9 @@ cateGoryList: [], queryParams: { categoryType: null, - districtCode: '' + districtCode: '', + pageNum: 1, + pageSize: 999, }, districtCode: '' }; diff --git a/src/views/specialOperationsPay/singlePage/index.vue b/src/views/specialOperationsPay/singlePage/index.vue index 73c25da..339f274 100644 --- a/src/views/specialOperationsPay/singlePage/index.vue +++ b/src/views/specialOperationsPay/singlePage/index.vue @@ -286,6 +286,13 @@ }, async payBill(){ this.payLoading = true + let device = 1 + const userAgent = window.navigator.userAgent + if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent)) { + device = 2 + } else { + device = 1 + } if(this.dataForm.type == 1){ const query = { id: this.detailInfo.nonCoalStudentId, @@ -294,7 +301,9 @@ const res = await nonCoalPersonPay(query) if(res.code == 200) { this.payLoading = false + window.open(`http://finpt.xjcz.gov.cn/fs-public/billQuery/findByOrderId.do?orderId=${res.msg}&deviceType=${device}`) }else{ + this.payLoading = false this.$message({ type:'warning', message: res.msg @@ -308,7 +317,9 @@ const res = await coalPersonPay(query) if(res.code == 200) { this.payLoading = false + window.open(`http://finpt.xjcz.gov.cn/fs-public/billQuery/findByOrderId.do?orderId=${res.msg}&deviceType=${device}`) }else{ + this.payLoading = false this.$message({ type:'warning', message: res.msg diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index d43e67e..46d38d1 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -285,7 +285,8 @@ leader: undefined, phone: undefined, email: undefined, - status: "0" + status: "0", + districtCode: undefined }; this.resetForm("form"); }, @@ -320,6 +321,9 @@ listDept().then(response => { this.deptOptions = this.handleTree(response.data, "deptId"); }) + }, + changeDistrict(val){ + console.log(val,'val') }, /** 展开/折叠操作 */ toggleExpandAll() { @@ -378,6 +382,11 @@ getDistrict(val){ const t = this t.form.districtCode = t.findCodeById(t.deptOptions,val) + if(t.form.districtCode == '65'){ + t.disableChange = false + }else{ + t.disableChange = true + } }, findCodeById(data,id){ for(let node of data){ -- Gitblit v1.9.2