liukangdong
2024-06-11 092a458a32d81bdbdc2dbea05826317c74874faf
admin/src/views/task/index.vue
@@ -85,7 +85,7 @@
      row-key="id"
      default-expand-all
    >
      <el-table-column prop="name" label="任务类型" min-width="100">
<!--      <el-table-column prop="name" label="任务类型" min-width="100">
        <template v-slot="scope">
          <span
            v-if="
@@ -95,12 +95,12 @@
            >{{ cateList[scope.row.objType].name }}</span
          >
        </template>
      </el-table-column>
      <el-table-column label="提交人" min-width="80">
        <template v-slot="scope">
          <span v-if="scope.row.title">{{
            scope.row.title.split(" - ")[1]
          }}</span>
      </el-table-column>-->
      <el-table-column label="处理事项" min-width="200">
        <template slot-scope="{ row }"> {{ row.title}}
<!--          <span v-if="row.title">{{
            row.title.split("-")[1]
          }}</span>-->
        </template>
      </el-table-column>
      <el-table-column prop="createDate" label="提交时间" min-width="100">
@@ -215,8 +215,9 @@
    }
  },
  created () {
    this.getHeadData()
    // this.getHeadData()
    this.changeRadio('0')
    this.getList()
  },
  methods: {
    changeRadio (day) {
@@ -261,6 +262,7 @@
      }
    },
    getList (page) {
      this.getHeadData()
      console.log(this.filters)
      const { filters, pagination } = this
      if (filters.selTime && filters.selTime.length > 0) {