| | |
| | | <div class="tool">操作</div> |
| | | </li> |
| | | <li class="type-item" v-for="(item, index) in data" :key="index"> |
| | | <div class="title">{{ item.category?.categoryName || '' }}</div> |
| | | <div class="title">{{ item.categoryName || '' }}</div> |
| | | <el-tooltip effect="dark" placement="top"> |
| | | <template #content> |
| | | <p style="max-width: 500px;">{{ item.category?.standard || '' }}</p> |
| | | <p style="max-width: 500px;">{{ item.standard || '' }}</p> |
| | | </template> |
| | | <div class="introduction"> |
| | | {{ item.category?.standard || '' }} |
| | | {{ item.standard || '' }} |
| | | </div> |
| | | </el-tooltip> |
| | | |
| | | <div class="number">{{ item.category?.peopleNum || 0 }}人</div> |
| | | <div class="number">{{ item.peopleNum || 0 }}人</div> |
| | | <div class="tool"> |
| | | <el-button type="primary" text icon="el-icon-view" @click="view(item)">查看第一轮候选结果</el-button> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import referrerPopover from './referrerPopover.vue' |
| | | import { getFinallyResult, getCandidateResult } from '@/api/evaluate/evaluateTask' |
| | | import { getEcList, getCandidateResult } from '@/api/evaluate/evaluateTask' |
| | | import { exportBlob } from "@/api/common"; |
| | | import { downloadXls } from "@/utils/util"; |
| | | import { dateNow } from "@/utils/date"; |
| | |
| | | ...this.query, |
| | | ...params |
| | | }; |
| | | getFinallyResult(page.currentPage, page.pageSize, id).then(res => { |
| | | const data = res.data.data; |
| | | this.data = data || []; |
| | | getEcList(1, 50, id).then(ecResult => { |
| | | const { code, data: { records } } = ecResult.data |
| | | if (code !== 200) return this.$message.error('评优类别加载失败') |
| | | this.data = records || [] |
| | | this.loading = false; |
| | | }); |
| | | }) |
| | | // getFinallyResult(page.currentPage, page.pageSize, id).then(res => { |
| | | // const data = res.data.data; |
| | | // this.data = data || []; |
| | | // this.loading = false; |
| | | // }); |
| | | }, |
| | | view(item) { |
| | | this.currentCategory = item.category |
| | | this.currentCategory = item |
| | | this.visible = true |
| | | }, |
| | | dialogOpen() { |