企标评价 - 修缮了一些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' width = '200'
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item <span v-if="scope.row.targetScore">{{ scope.row.targetScore }}</span>
:prop="'qualityHistoryCommentTable.'+scope.$index + '.targetScore'"> <span v-else style="color: #c0c4cc">该用户没有填写分值</span>
<el-input v-model.number="scope.row.targetScore" disabled placeholder="用户没有填写分值" />
</el-form-item>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -256,10 +254,8 @@
label="简述扣分理由(不合格<6分,必填)" label="简述扣分理由(不合格<6分,必填)"
> >
<template slot-scope="scope" v-if="scope.row.valueType !== 'add'"> <template slot-scope="scope" v-if="scope.row.valueType !== 'add'">
<el-form-item <span v-if="scope.row.commentReason">{{ scope.row.commentReason }}</span>
:prop="'qualityHistoryCommentTable.'+scope.$index + '.commentReason'"> <span v-else style="color: #c0c4cc">该用户没有填写理由</span>
<el-input v-model="scope.row.commentReason" disabled placeholder="用户没有填写理由" />
</el-form-item>
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
@@ -297,7 +293,8 @@
</el-table-column> </el-table-column>
<el-table-column property="reason" label="简述理由"> <el-table-column property="reason" label="简述理由">
<template slot-scope="scope"> <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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>