马宇豪
2025-02-19 102f2220365de7cd04d7cd07d8ff8ef03ca2c460
修改跳转和双向绑定
已修改5个文件
30 ■■■■ 文件已修改
src/views/specialOperationsPay/coalPay/components/studentDialog.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/specialOperationsPay/notCoalPay/components/studentDialog.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/specialOperationsPay/notCoalWorkType/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/specialOperationsPay/singlePage/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/dept/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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">
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">
src/views/specialOperationsPay/notCoalWorkType/index.vue
@@ -114,7 +114,9 @@
      cateGoryList: [],
      queryParams: {
        categoryType: null,
        districtCode: ''
        districtCode: '',
        pageNum: 1,
        pageSize: 999,
      },
      districtCode: ''
    };
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
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){