luobisheng
2022-11-24 41a2ddabb399c51821ccd606736d4e4c403c4238
src/views/operate/images/index.vue
@@ -43,12 +43,12 @@
                    <el-table-column prop="baseId" label="所属事件编号" min-width="18">
                    </el-table-column>
                    <el-table-column prop="category" label="问题类别" min-width="8">
                      <template slot-scope="scope">
                      <template v-if="scope.row.category" slot-scope="scope">
                        <span>{{ getCategory(scope.row.category).label }}</span>
                      </template>
                    </el-table-column>
                    <el-table-column prop="eventSource" label="事件来源" min-width="8">
                      <template slot-scope="scope">
                      <template v-if="scope.row.eventSource" slot-scope="scope">
                        <span>{{ getEventSource(scope.row.eventSource).label }}</span>
                      </template>
                    </el-table-column>
@@ -261,7 +261,7 @@
            dateParams.startTime = dateParams[0];
            dateParams.endTime = dateParams[1]
          }
          imageManagement.getImageResources({ current: this.currentPage, size: this.size, type: this.type, ...dateParams })
          imageManagement.getImageResources({ current: this.currentPage, size: this.pageSize, type: this.type, ...dateParams })
              .then(({ records, total }) => {
                this.tableData = records;
                this.totalNum = total;
@@ -298,6 +298,7 @@
        closeDialog() {
          this.isShowUploadDialog = false;
          this.getImageResourceList();
        },
      getCategory(value) {