考核管理/考核任务》发布考核样式调整

main
wanglei 2 months ago
parent a6867c339f
commit 1e99b51a11

@ -370,7 +370,7 @@
<!--选择发布考核信息-->
<el-dialog title="发布考核" :visible.sync="pcSetUp.open" width="99%">
<div style="font-size: 16px;margin-bottom: 10px;font-weight: 600">考核任务名称{{ pcSetUp.pingceName }}</div>
<div style="font-size: 16px;margin-bottom: 15px;font-weight: 600">考核任务名称{{ pcSetUp.pingceName }}</div>
<el-alert title="评分占比请输入小于 1 的小数,评分占比合计需为 1 " style="font-weight: bold" type="info" :closable="false"></el-alert>
<el-table border v-loading="pcSetUp.loading" :data="pcSetUpList" style="margin-top: 10px;">
<el-table-column label="考核项主键" align="center" prop="id" width="90" fixed/>
@ -481,14 +481,14 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="180">
<template slot-scope="scope">
<div>
<el-button v-if="!(scope.$index=== pcSetUp.xzhIndex) && !scope.row.vote"
<el-button v-if="!(scope.$index=== pcSetUp.xzhIndex) && !scope.row.vote.id"
size="mini"
type="text"
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:add']"
@click="setUpTouPiao(scope.row,scope.$index)"
>编辑评分规则</el-button>
>发布评分规则</el-button>
<el-button v-if="!(scope.$index=== pcSetUp.xzhIndex) && scope.row.vote"
<el-button v-if="!(scope.$index=== pcSetUp.xzhIndex) && scope.row.vote.id"
size="mini"
type="text"
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:edit']"
@ -1096,6 +1096,8 @@ export default {
pcSetUpList.push(item);
})
this.pcSetUpList = pcSetUpList;
console.log(this.pcSetUpList,'pcSetUpList');
})
},
//

Loading…
Cancel
Save