From 1e89567955efda9eef71adc8dc02f7508374c5b0 Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Sat, 23 Dec 2023 14:24:21 +0800
Subject: [PATCH] 新增候选人弹窗修改

---
 src/views/evaluate/evaluateTask.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/views/evaluate/evaluateTask.vue b/src/views/evaluate/evaluateTask.vue
index 6e4011b..ba5437d 100644
--- a/src/views/evaluate/evaluateTask.vue
+++ b/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;

--
Gitblit v1.9.3