|
|
@@ -19,20 +19,20 @@
|
|
|
<span>{{ gangWeiMap[scope.row.gangWei] || scope.row.gangWei }}</span>
|
|
|
</template> -->
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="科目" prop="kaoHeLeiMu" width="200"/>
|
|
|
+ <el-table-column label="科目" prop="kaoHeLeiMu" width="200" />
|
|
|
<!-- <el-table-column label="考核说明" prop="kaoHeLeiXing" width="300" /> -->
|
|
|
<el-table-column label="要点" prop="kaoHeNeiRong" />
|
|
|
<el-table-column label="考核标准" prop="kaoHeBiaoZhun" />
|
|
|
<el-table-column label="评分" prop="kaoHePingFen" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input v-if="!readonly" v-model="scope.row.kaoHePingFen" placeholder="请输入评分" @input="handleInput(scope.$index, scope.column.property)" />
|
|
|
+ <el-input v-if="!readonly || isEdit" v-model="scope.row.kaoHePingFen" placeholder="请输入评分" @input="handleInput(scope.$index, scope.column.property)" />
|
|
|
<span v-else>{{ scope.row.kaoHePingFen }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="考核情况" prop="shiFouGuoShen" /> -->
|
|
|
<el-table-column label="是否合格" prop="shiFouHeGe" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-radio-group v-if="!readonly" v-model="scope.row.shiFouHeGe" @change="handleRadioChange(scope.$index)">
|
|
|
+ <el-radio-group v-if="!readonly || isEdit" v-model="scope.row.shiFouHeGe" @change="handleRadioChange(scope.$index)">
|
|
|
<el-radio label="是">是</el-radio>
|
|
|
<el-radio label="否">否</el-radio>
|
|
|
</el-radio-group>
|
|
|
@@ -67,6 +67,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
+ isEdit () {
|
|
|
+ return this.params?.nodeId === 'Activity_0lcx1y7'
|
|
|
+ },
|
|
|
initDataWatcher () {
|
|
|
return this.formData.jyrykhjlzb
|
|
|
},
|
|
|
@@ -83,6 +86,7 @@ export default {
|
|
|
watch: {
|
|
|
initDataWatcher: {
|
|
|
handler (val) {
|
|
|
+ // console.log('reaonle', this.readonly, this.params)
|
|
|
this.initData = this.$utils.isEmpty(val) ? [] : val
|
|
|
const temp = JSON.parse(JSON.stringify(this.initData))
|
|
|
temp.sort((a, b) => {
|