优化:指标名称使用 textarea

This commit is contained in:
xiongchengqiang 2020-12-18 09:48:28 +08:00
parent d57379a853
commit b6edefe23a
3 changed files with 14 additions and 10 deletions

View File

@ -36,9 +36,11 @@
:key="indexJ">
<div class="goals-content-tabbar-table-content-top">
<div style="width:200px;"
class="my-handle"><img style="width:20px;height:20px;"
class="my-handle pre"><img style="width:20px;height:20px;"
src="@/assets/img/yidong.png"
alt="">{{j.target}}</div>
alt="">
<pre>{{j.target}}</pre>
</div>
<div style="flex:1 0 auto;"
class="kaohe">
<pre>{{j.keyResult}}</pre>
@ -93,7 +95,7 @@
业务指标权重{{handleGetWeight(i)}}% <span v-if="i.weight !== null">/{{Math.round((i.weight * 100)*1000)/1000}}%</span>
</div>
<div>
所有指标总权重: <span style="color:#EE6723;">{{ handleGetWeight1()}}%/100%</span>
所有指标总权重: <span style="color:#EE6723;">{{ handleGetWeight1()}}%</span><span>/100%</span>
</div>
</div>
<div style=" padding: 10px;">
@ -170,7 +172,8 @@
<el-form-item prop="target"
label='指标名称'>
<el-input clearable
:rows="4"
type="textarea"
size="small"
v-model="formIndicators.target"></el-input>
</el-form-item>
@ -178,7 +181,7 @@
prop="keyResult">
<el-input size="small"
clearable
:rows="24"
:rows="22"
type="textarea"
v-model="formIndicators.keyResult"></el-input>
</el-form-item>

View File

@ -43,8 +43,9 @@
<div class="table-content"
v-for="(i,index2) in item.detailDtos"
:key="index2">
<div class="name"
v-html="i.target">
<div class="name pre"
>
<pre>{{i.target}}</pre>
</div>
<div class="jindu">
<el-progress v-if='i.taskDtos.length !== 0' type="circle"

View File

@ -96,7 +96,7 @@
v-for="(j,indexJ) in handleFilter(i.tagetLibItems)"
:key="indexJ"
>
<div style="width:30%">{{j.name}}</div>
<div style="width:30%" class="pre"><pre>{{j.name}}</pre></div>
<div style="width:30%" class="pre">
<pre >{{j.keyResult}}</pre>
</div>
@ -186,7 +186,7 @@
</el-select>
</el-form-item>
<el-form-item prop="name" label='指标名称'>
<el-input clearable size="small" v-model="formIndicators.name"></el-input>
<el-input clearable size="small" :rows="4" type="textarea" v-model="formIndicators.name"></el-input>
</el-form-item>
<el-form-item label="考核标准" prop="keyResult">
<el-input size="small" resize='vertical' :rows="24" clearable type="textarea" v-model="formIndicators.keyResult"></el-input>