This commit is contained in:
熊成强 2020-11-04 09:45:51 +08:00
parent cb64ed9135
commit 375b60d4c2
3 changed files with 16 additions and 12 deletions

View File

@ -45,7 +45,7 @@
:key="indexJ" :key="indexJ"
> >
<div style="width:30%"><i style="margin-right:6px;" class="my-handle el-icon-s-operation"></i>{{j.target}}</div> <div style="width:30%"><i style="margin-right:6px;" class="my-handle el-icon-s-operation"></i>{{j.target}}</div>
<div style="width:30%">{{j.keyResult}}</div> <pre style="width:30%">{{j.keyResult}}</pre>
<div style="width:30%">{{ Math.round((j.checkWeight * 100)*1000)/1000}}%</div> <div style="width:30%">{{ Math.round((j.checkWeight * 100)*1000)/1000}}%</div>
<div style="width:10%"> <div style="width:10%">
<el-button <el-button

View File

@ -6,7 +6,7 @@
<div class="table-header-flex name">名称</div> <div class="table-header-flex name">名称</div>
<div class="table-header-flex">考核标准</div> <div class="table-header-flex">考核标准</div>
<div class="table-header-flex" v-if="tableInfo.result || auth.showResult">结果值</div> <div class="table-header-flex" v-if="tableInfo.result || auth.showResult">结果值</div>
<div class="table-header-flex quanzhomng">权重({{obj.weight*100}}%)</div> <div class="table-header-flex quanzhomng" style="flex:none;">权重({{obj.weight*100}}%)</div>
<div class="table-header-flex" v-if="tableInfo.score || auth.showScore">上级评分</div> <div class="table-header-flex" v-if="tableInfo.score || auth.showScore">上级评分</div>
<div class="table-header-flex" v-if="tableInfo.score || auth.showScore">评分说明</div> <div class="table-header-flex" v-if="tableInfo.score || auth.showScore">评分说明</div>
</div> </div>
@ -28,13 +28,15 @@
<span> {{child.target || ''}}</span> <span> {{child.target || ''}}</span>
</div> </div>
<div> <div>
<pre>
{{child.keyResult || ''}} {{child.keyResult || ''}}
</div> </pre>
</div>
<div v-if="tableInfo.result || auth.showResult"> <div v-if="tableInfo.result || auth.showResult">
<el-input v-if="tableInfo.result" style="width:120px;" size="mini" placeholder="请输入内容" v-model="child.checkResult" clearable></el-input> <el-input v-if="tableInfo.result" style="width:120px;" size="mini" placeholder="请输入内容" v-model="child.checkResult" clearable></el-input>
<span v-else>{{child.checkResult || '--'}}</span> <span v-else>{{child.checkResult || '--'}}</span>
</div> </div>
<div class="quanzhomng"> <div class="quanzhomng" style="flex:none;">
{{(child.checkWeight)*100}}% {{(child.checkWeight)*100}}%
</div> </div>
<div v-if="tableInfo.score || auth.showScore"> <div v-if="tableInfo.score || auth.showScore">
@ -62,7 +64,7 @@
</div> </div>
<div v-if="tableInfo.result"> <div v-if="tableInfo.result">
</div> </div>
<div class="quanzhomng"> <div class="quanzhomng" style="flex:none;">
</div> </div>
<div v-if="tableInfo.score"> <div v-if="tableInfo.score">
</div> </div>
@ -190,9 +192,7 @@ export default {
.table-list{ .table-list{
border: 1px solid @borderColor; border: 1px solid @borderColor;
border-bottom: none; border-bottom: none;
.quanzhomng{
flex: 0.5 !important;
}
} }
.table-header{ .table-header{
display: flex; display: flex;
@ -209,7 +209,7 @@ export default {
} }
&-flex{ &-flex{
flex: 1; flex: 1;
.center(); // .center();
} }
} }
.table-content{ .table-content{
@ -262,7 +262,7 @@ export default {
display: flex; display: flex;
>div{ >div{
flex: 1; flex: 1;
.center(); // .center();
} }
} }
} }
@ -270,6 +270,10 @@ export default {
.table-left{ .table-left{
width: 60px; width: 60px;
} }
.quanzhomng{
width: 100px !important;
text-align: center;
}
.table{ .table{
position: relative; position: relative;
&-bottoms{ &-bottoms{

View File

@ -97,7 +97,7 @@
:key="indexJ" :key="indexJ"
> >
<div style="width:30%">{{j.name}}</div> <div style="width:30%">{{j.name}}</div>
<div style="width:30%">{{j.keyResult}}</div> <pre style="width:30%">{{j.keyResult}}</pre>
<div style="width:30%">{{j.weight * 100}}%</div> <div style="width:30%">{{j.weight * 100}}%</div>
<div style="width:10%"> <div style="width:10%">
<el-button <el-button
@ -561,7 +561,7 @@ export default {
&-content{ &-content{
display: flex; display: flex;
align-items: center; align-items: center;
height: 60px; min-height: 60px;
border-bottom: 1px solid @borderColor; border-bottom: 1px solid @borderColor;
justify-content: space-between; justify-content: space-between;
div{ div{