|
|
|
@ -370,7 +370,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<!--选择发布考核信息-->
|
|
|
|
<!--选择发布考核信息-->
|
|
|
|
<el-dialog title="发布考核" :visible.sync="pcSetUp.open" width="99%">
|
|
|
|
<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-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 border v-loading="pcSetUp.loading" :data="pcSetUpList" style="margin-top: 10px;">
|
|
|
|
<el-table-column label="考核项主键" align="center" prop="id" width="90" fixed/>
|
|
|
|
<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">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="180">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div>
|
|
|
|
<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"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:add']"
|
|
|
|
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:add']"
|
|
|
|
@click="setUpTouPiao(scope.row,scope.$index)"
|
|
|
|
@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"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:edit']"
|
|
|
|
icon="el-icon-s-tools" v-hasPermi="['kaohe:vote:edit']"
|
|
|
|
@ -1096,6 +1096,8 @@ export default {
|
|
|
|
pcSetUpList.push(item);
|
|
|
|
pcSetUpList.push(item);
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.pcSetUpList = pcSetUpList;
|
|
|
|
this.pcSetUpList = pcSetUpList;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(this.pcSetUpList,'pcSetUpList');
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 评测规则设置
|
|
|
|
// 评测规则设置
|
|
|
|
|