linwe
2024-06-12 91fbddb0c07bcab4f88f247a3367e9efb0154c2d
src/views/cGovernance/statisticalAnalysis/index.vue
@@ -12,7 +12,7 @@
        <el-button type="success" size="small" plain icon="el-icon-upload2" @click="handleOrg('N')">调度单位
        </el-button> -->
        <el-radio-group @change="handleOrg" v-model="radio1">
        <el-radio-group size="mini" @change="handleOrg" v-model="radio1">
          <el-radio-button label="主办单位"></el-radio-button>
          <el-radio-button label="调度单位"></el-radio-button>
        </el-radio-group>
@@ -37,7 +37,8 @@
    update,
    add,
    getDetail,
    getCount
    getCount,
    synchronizeData
  } from "@/api/task/eCallEventTwo"
  import {
    add as circleAdd,
@@ -74,18 +75,26 @@
        circleRadio: 0,
        shareCircleRow: {},
        option: {
          labelWidth: 130,
          menu: false,
          // searchLabelWidth: 96,
          searchShow: true,
          searchMenuSpan: 3,
          menuWidth: 310,
          delBtn: false,
          editBtn: false,
          addBtn: false,
          menu: false,
          height: "auto",
          calcHeight: 54,
          dialogWidth: 950,
          tip: false,
          border: true,
          //stripe:true,
          index: true,
          viewBtn: true,
          selection: true,
          // excelBtn: true,
          dialogClickModal: false,
          column: [{
              label: "单位名称",
@@ -127,10 +136,10 @@
              prop: "dispatchNumber",
              span: 12,
              searchSpan: 4,
              overHidden: true,
              display: false,
              // overHidden: true,
              // display: false,
              searchLabelWidth: 76,
              addDisplay: false,
              // addDisplay: false,
            },
            {
@@ -234,7 +243,11 @@
        if (tagMain === '主办单位') {
          this.query.tagMain = "Y"
          this.query.mainFlag = 1
          let dispatchNumberColumn = this.findObject(this.option.column, 'dispatchNumber')
          dispatchNumberColumn.hide = true
        } else {
          let dispatchNumberColumn = this.findObject(this.option.column, 'dispatchNumber')
          dispatchNumberColumn.hide = false
          this.query.tagMain = "N"
          this.query.mainFlag = 2
        }
@@ -457,7 +470,12 @@
          this.loading = false
          // this.selectionClear()
        })
      }
      },
      getsynchronizeData() {
        synchronizeData().then((res) => {
        })
      },
    },
  }
</script>