GuLiMmo
2023-12-23 1e89567955efda9eef71adc8dc02f7508374c5b0
src/views/evaluate/evaluateTask.vue
@@ -16,7 +16,7 @@
        <el-button type="primary" text plain icon="el-icon-edit" @click="editDialog(row)">编辑</el-button>
        <el-button type="primary" text plain icon="el-icon-position" @click="publicTimeBtn(row)"
          v-if="row.candidateState === 2">发布</el-button>
        <!-- <el-button type="primary" v-if="row.type === 0" text plain icon="el-icon-plus" @click="addCandidateHandle(row)">新增候选人</el-button> -->
        <el-button type="primary" v-if="row.type === 0 && row.candidateState === 2" text plain icon="el-icon-plus" @click="addCandidateHandle(row)">新增候选人</el-button>
        <el-button type="primary" text plain icon="el-icon-download">导出</el-button>
      </template>
    </avue-crud>
@@ -306,7 +306,6 @@
      };
      getList(page.currentPage, page.pageSize, values).then(res => {
        const data = res.data.data;
        console.log(data.records);
        this.page.total = data.total;
        this.data = data.records;
        this.loading = false;