quanyawei
2023-09-28 4a25bd9ba57cf9b9985d93e85fab1e065a0911bc
src/views/toCarryOutLegislativeReforms/delay/index.vue
@@ -6,6 +6,7 @@
        <el-table
          :data="tableData"
          border
          size="mini"
          max-height="680"
          style="width: 100%"
          :header-cell-style="{
@@ -15,7 +16,7 @@
          <el-table-column
            type="index"
            label="序号"
            width="100px"
            width="60px"
            align="center"
          />
          <el-table-column
@@ -46,21 +47,23 @@
            label="整改类型"
          >
            <template slot-scope="scope">
              <p>  {{ dictObj.changeEnum[scope.row.changeType] }}</p>
              <div>  {{ dictObj.changeEnum[scope.row.changeType] }}</div>
            </template>
          </el-table-column>
          <el-table-column
            align="center"
            prop="extensionNum"
            width="60px"
            label="延期天数"
          >
            <template slot-scope="scope">
              <p>  {{ scope.row.extensionNum }}天</p>
              <div>  {{ scope.row.extensionNum }}天</div>
            </template>
          </el-table-column>
          <el-table-column
            align="center"
            prop="address"
            width="80px"
            label="状态"
          >
            <template slot-scope="scope">
@@ -86,16 +89,14 @@
          </el-table-column>
          <el-table-column
            align="center"
            prop="address"
            label="上报单位上报人"
          >
            <template slot="header">
              <p>上报单位</p>
              <p>上报人</p>
              <div>上报单位</div>
              <div>上报人</div>
            </template>
            <template slot-scope="scope">
              <p> {{ scope.row.escalationName }}</p>
              <p> {{ updatUnitIdFormatter(scope.row) }}</p>
              <div> {{ scope.row.escalationName }}</div>
              <div> {{ updatUnitIdFormatter(scope.row) }}</div>
            </template>
          </el-table-column>
@@ -103,17 +104,18 @@
            align="center"
          >
            <template slot="header">
              <p>操作人</p>
              <p>操作时间</p>
              <div>操作人</div>
              <div>操作时间</div>
            </template>
            <template slot-scope="scope">
              <p>{{ scope.row.updateName }}</p>
              <p>{{ scope.row.updateTime }}</p>
              <div>{{ scope.row.updateName }}</div>
              <div>{{ scope.row.updateTime }}</div>
            </template>
          </el-table-column>
          <el-table-column
            align="center"
            prop="address"
            width="100px"
            label="操作"
          >
            <template slot-scope="scope">
@@ -166,7 +168,8 @@
        pageSizes: [10, 20, 30, 40],
        // 默认每页显示的条数(可修改)
        pageSize: 10
      }
      },
      searchData: {}
    }
  },
  created() {
@@ -179,6 +182,10 @@
      this.handleSearch()
    },
    handleSearch(obj) {
      this.searchData.isInvalid = 0
      if (obj) {
        this.searchData = obj
      }
      this.$request({
        url: '/allocationExtension/page',
        method: 'post',
@@ -198,11 +205,13 @@
      this.pagination.PageSize = val
      // 注意:在改变每页显示的条数时,要将页码显示到第一页
      this.pagination.currentPage = 1
      this.handleSearch()
    },
    // 显示第几页
    handleCurrentChange(val) {
      // 改变默认的页数
      this.pagination.currentPage = val
      this.handleSearch()
      // console.log(val)
    },
    openWorkOrdinDialog(row, type) {