This commit is contained in:
熊成强 2020-11-10 10:57:53 +08:00
parent 63cf45a7ae
commit 386906b0ce
2 changed files with 24 additions and 4 deletions

View File

@ -25,7 +25,7 @@
<div class="goals-content-tabbar-table"> <div class="goals-content-tabbar-table">
<div class="goals-content-tabbar-table-header commonFont"> <div class="goals-content-tabbar-table-header commonFont">
<span style="width:30%">指标名称</span> <span style="width:30%">指标名称</span>
<span style="width:30%">考核标准</span> <span class="kaohe" style="width:30%">考核标准</span>
<span style="width:30%">权重</span> <span style="width:30%">权重</span>
<span style="width:10%">操作</span> <span style="width:10%">操作</span>
</div> </div>
@ -45,7 +45,7 @@
:key="indexJ" :key="indexJ"
> >
<div style="width:30%" class="my-handle"><i style="margin-right:6px;" class=" el-icon-s-operation"></i>{{j.target}}</div> <div style="width:30%" class="my-handle"><i style="margin-right:6px;" class=" el-icon-s-operation"></i>{{j.target}}</div>
<div style="width:30%"><pre >{{j.keyResult}}</pre></div> <div style="width:30%" class="kaohe" ><pre >{{j.keyResult}}</pre></div>
<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
@ -316,6 +316,16 @@ export default {
<style lang='less' scoped> <style lang='less' scoped>
.goals{ .goals{
.kaohe{
flex: none;
width: 500px;
display: block;
pre{
white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
}
}
margin-bottom: 100px; margin-bottom: 100px;
position: relative; position: relative;
.my-handle{ .my-handle{

View File

@ -4,7 +4,7 @@
<div class="table-header"> <div class="table-header">
<div class="table-left">维度</div> <div class="table-left">维度</div>
<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 kaohe">考核标准</div>
<div class="table-header-flex" v-if="tableInfo.result || tableAuth.showResult">结果值</div> <div class="table-header-flex" v-if="tableInfo.result || tableAuth.showResult">结果值</div>
<div class="table-header-flex quanzhomng" style="flex:none;">权重({{obj.weight*100}}%)</div> <div class="table-header-flex quanzhomng" style="flex:none;">权重({{obj.weight*100}}%)</div>
<div class="table-header-flex" style="flex:none;width:130px;" v-if="tableInfo.score || tableAuth.showScore">上级评分</div> <div class="table-header-flex" style="flex:none;width:130px;" v-if="tableInfo.score || tableAuth.showScore">上级评分</div>
@ -23,7 +23,7 @@
<div class="name"> <div class="name">
<span> {{child.target || ''}}</span> <span> {{child.target || ''}}</span>
</div> </div>
<div> <div class="kaohe">
<pre> <pre>
{{child.keyResult || ''}} {{child.keyResult || ''}}
</pre> </pre>
@ -211,6 +211,16 @@ export default {
} }
</script> </script>
<style lang='less' scoped> <style lang='less' scoped>
.kaohe{
flex: none !important;
width: 500px !important;
display: block;
pre{
white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
}
}
.nojixiao{ .nojixiao{
text-align: center; text-align: center;
} }