|
|
|
|
@ -370,6 +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>
|
|
|
|
|
<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/>
|
|
|
|
|
@ -480,10 +481,17 @@
|
|
|
|
|
<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)"
|
|
|
|
|
<el-button v-if="!(scope.$index=== pcSetUp.xzhIndex) && !scope.row.vote"
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:add', 'kaohe:vote:edit']"
|
|
|
|
|
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:add']"
|
|
|
|
|
@click="setUpTouPiao(scope.row,scope.$index)"
|
|
|
|
|
>编辑评分规则</el-button>
|
|
|
|
|
|
|
|
|
|
<el-button v-if="!(scope.$index=== pcSetUp.xzhIndex) && scope.row.vote"
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:edit']"
|
|
|
|
|
@click="setUpTouPiao(scope.row,scope.$index)"
|
|
|
|
|
>编辑评分规则</el-button>
|
|
|
|
|
|
|
|
|
|
@ -508,7 +516,6 @@
|
|
|
|
|
v-hasPermi="['kaohe:vote_emp:edit']"
|
|
|
|
|
>去评分</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
@ -1309,6 +1316,7 @@ export default {
|
|
|
|
|
id: row.id,
|
|
|
|
|
pcTitle: row.pcTitle,
|
|
|
|
|
bkhdxType: row.bkhdxType,
|
|
|
|
|
templateName: row.templateName,
|
|
|
|
|
}).then(response => {
|
|
|
|
|
this.$modal.msgSuccess("生成成功")
|
|
|
|
|
})
|
|
|
|
|
|