|
|
|
@ -80,14 +80,21 @@
|
|
|
|
<el-table v-loading="loading" :data="voteList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table v-loading="loading" :data="voteList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
<el-table-column label="主键" align="center" prop="id" width="55" />
|
|
|
|
<el-table-column label="主键" align="center" prop="id" width="55" />
|
|
|
|
<el-table-column label="评测名称" align="center" prop="pingceName" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="考核任务名称" align="center" prop="pingceName" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="考核名称" align="center" prop="khitemName" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="考核项名称" align="center" prop="khitemName" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="投票主题" align="center" prop="voteTitle" min-width="120" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="评分主题" align="center" prop="voteTitle" min-width="120" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-link type="primary" @click="goVoteEmp(scope.row)">{{ scope.row.voteTitle }}</el-link>
|
|
|
|
<el-link type="primary" @click="goVoteEmp(scope.row)">{{ scope.row.voteTitle }}</el-link>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="最大投票数" align="center" prop="maxNum" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="评分选项" align="center" prop="options" min-width="120" :show-overflow-tooltip="true">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<div v-if="scope.row.vote&&scope.row.vote.options.length>0">
|
|
|
|
|
|
|
|
<div v-for="item in scope.row.vote.options" :key="item.value">{{ item.label }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="最大值" align="center" prop="maxNum" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="评分占比" align="center" prop="percentage" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="评分占比" align="center" prop="percentage" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="开始时间" align="center" prop="sTime" min-width="120" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="开始时间" align="center" prop="sTime" min-width="120" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -99,12 +106,12 @@
|
|
|
|
<span>{{ parseTime(scope.row.eTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.eTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="评测状态" align="center" prop="state" min-width="100" :show-overflow-tooltip="true">
|
|
|
|
<el-table-column label="状态" align="center" prop="state" min-width="100" :show-overflow-tooltip="true">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.kh_state" :value="scope.row.state"/>
|
|
|
|
<dict-tag :options="dict.type.kh_state" :value="scope.row.state"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="详情描述" align="center" prop="vDescription" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="评分详情描述" align="center" prop="vDescription" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" min-width="120" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="220">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="220">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -248,7 +255,34 @@ export default {
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true
|
|
|
|
this.loading = true
|
|
|
|
listVote(this.queryParams).then(response => {
|
|
|
|
listVote(this.queryParams).then(response => {
|
|
|
|
this.voteList = response.rows
|
|
|
|
// this.voteList = response.rows
|
|
|
|
|
|
|
|
this.voteList = []
|
|
|
|
|
|
|
|
/*voteTitle: '师院领导班子评分',
|
|
|
|
|
|
|
|
options: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 1,
|
|
|
|
|
|
|
|
label: '优秀'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 2,
|
|
|
|
|
|
|
|
label: '合格'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 3,
|
|
|
|
|
|
|
|
label: '基本合格'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 4,
|
|
|
|
|
|
|
|
label: '不合格'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
maxNum: null,
|
|
|
|
|
|
|
|
percentage: 0.2, //评分占比
|
|
|
|
|
|
|
|
state: '2', //状态
|
|
|
|
|
|
|
|
sTime: '2025-06-15', //开始时间
|
|
|
|
|
|
|
|
eTime: '2025-06-20', //结束时间
|
|
|
|
|
|
|
|
vDescription: '师院领导班子评分详情描述', //评分详情描述
|
|
|
|
|
|
|
|
remark: '师院领导班子备注', //备注*/
|
|
|
|
this.total = response.total
|
|
|
|
this.total = response.total
|
|
|
|
this.loading = false
|
|
|
|
this.loading = false
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|