企标评价 - 修缮了一些bug,优化用户体验

This commit is contained in:
yanyizhou
2021-12-10 15:56:52 +08:00
parent 80e6488ff5
commit a715f81f3e
@@ -234,10 +234,8 @@
width = '200'
>
<template slot-scope="scope">
<el-form-item
:prop="'qualityHistoryCommentTable.'+scope.$index + '.targetScore'">
<el-input v-model.number="scope.row.targetScore" disabled placeholder="用户没有填写分值" />
</el-form-item>
<span v-if="scope.row.targetScore">{{ scope.row.targetScore }}</span>
<span v-else style="color: #c0c4cc">该用户没有填写分值</span>
</template>
</el-table-column>
<el-table-column
@@ -256,10 +254,8 @@
label="简述扣分理由不合格6必填"
>
<template slot-scope="scope" v-if="scope.row.valueType !== 'add'">
<el-form-item
:prop="'qualityHistoryCommentTable.'+scope.$index + '.commentReason'">
<el-input v-model="scope.row.commentReason" disabled placeholder="用户没有填写理由" />
</el-form-item>
<span v-if="scope.row.commentReason">{{ scope.row.commentReason }}</span>
<span v-else style="color: #c0c4cc">该用户没有填写理由</span>
</template>
</el-table-column>
</el-table-column>
@@ -297,7 +293,8 @@
</el-table-column>
<el-table-column property="reason" label="简述理由">
<template slot-scope="scope">
<el-input clearable size="mini" placeholder="用户没有填写评分理由" disabled v-model="scope.row.commentReason" />
<span v-if="scope.row.commentReason">{{scope.row.commentReason}}</span>
<span v-else style="color: #c0c4cc">该用户没有填写评分理由</span>
</template>
</el-table-column>
</el-table>