优化
This commit is contained in:
parent
72b33afce9
commit
83244fe4dd
@ -29,6 +29,7 @@
|
||||
import getPersonnel from '@/components/getPersonnel'
|
||||
import PopupRight from '@/components/PopupRight'
|
||||
export default {
|
||||
props: ['tableInfo'],
|
||||
data () {
|
||||
return {
|
||||
bohui: false,
|
||||
@ -49,7 +50,7 @@ export default {
|
||||
methods: {
|
||||
// 结果值录入
|
||||
handleJieguo () {
|
||||
|
||||
this.$emit('update:tableInfo', Object.assign({}, this.tableInfo, {result: true}))
|
||||
},
|
||||
// 开始评分
|
||||
handlePingfen () {
|
||||
|
||||
@ -8,10 +8,10 @@
|
||||
<th>维度</th>
|
||||
<th>名称</th>
|
||||
<th>考核标准</th>
|
||||
<th>结果值</th>
|
||||
<th v-if="tableInfo.result">结果值</th>
|
||||
<th>权重({{obj.weight*100}}%)</th>
|
||||
<th>上级评分</th>
|
||||
<th>评分说明</th>
|
||||
<th v-if="tableInfo.score">上级评分</th>
|
||||
<th v-if="tableInfo.score">评分说明</th>
|
||||
</tr>
|
||||
<!-- 暂无数据时显示 -->
|
||||
<tr v-if="obj.recortModelDtos.length === 0">
|
||||
@ -26,31 +26,31 @@
|
||||
<td :rowspan="item.detailDtos.length+1">{{item.name}}</td>
|
||||
<td v-if="item.detailDtos.length===0"></td>
|
||||
<td v-if="item.detailDtos.length===0"></td>
|
||||
<td v-if="item.detailDtos.length===0"></td>
|
||||
<td v-if="item.detailDtos.length===0"></td>
|
||||
<td v-if="item.detailDtos.length===0"></td>
|
||||
<td v-if="item.detailDtos.length===0 && tableInfo.score"></td>
|
||||
<td v-if="item.detailDtos.length===0 && tableInfo.score"></td>
|
||||
<td v-if="item.detailDtos.length===0 && tableInfo.result"></td>
|
||||
<td v-if="item.detailDtos.length===0"></td>
|
||||
</tr>
|
||||
<!-- 右侧数据 -->
|
||||
<tr v-for="(child,index1) in item.detailDtos" :key="index1">
|
||||
<tr v-for="(child) in item.detailDtos" :key="child.target">
|
||||
<td>
|
||||
{{child.target}}
|
||||
{{child.target || ''}}
|
||||
</td>
|
||||
<td>
|
||||
{{child.keyResult}}
|
||||
{{child.keyResult || ''}}
|
||||
</td>
|
||||
<td>
|
||||
<td v-if="tableInfo.result">
|
||||
<span>{{child.checkResult || '--'}}</span>
|
||||
<el-input type="textarea" placeholder="请输入内容" v-model="child.checkResulted" clearable></el-input>
|
||||
</td>
|
||||
<td>
|
||||
{{child.checkWeight*100}}%
|
||||
{{(child.checkWeight)*100}}%
|
||||
</td>
|
||||
<td>
|
||||
<td v-if="tableInfo.score">
|
||||
<span>{{child.superScore || '--'}}</span>
|
||||
<el-input type="textarea" placeholder="请输入内容" v-model="child.superScoreed" clearable></el-input>
|
||||
</td>
|
||||
<td style="padding:10px;">
|
||||
<td style="padding:10px;" v-if="tableInfo.score">
|
||||
<span>{{child.scoreComment || '--'}}</span>
|
||||
<el-input type="textarea" placeholder="请输入内容" v-model="child.scoreCommented" clearable></el-input>
|
||||
</td>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
departmentName:obj.departmentName
|
||||
}" />
|
||||
<div class="performance-content-title-right">
|
||||
<UseButton />
|
||||
<UseButton :tableInfo.sync='tableInfo'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="performance-content-center">
|
||||
@ -68,7 +68,7 @@
|
||||
</div>
|
||||
<div class="performance-content-bottom">
|
||||
<tables
|
||||
:tableInfo='tableInfo'
|
||||
:tableInfo.sync='tableInfo'
|
||||
v-if="obj.recortModelDtos.length !==0"
|
||||
:obj='obj'
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user