|
|
|
@ -59,7 +59,7 @@ |
|
|
|
align="center" |
|
|
|
show-overflow-tooltip> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-for="(item) in scope.row.optionsList"> |
|
|
|
<div v-for="(item, index) in scope.row.optionsList" :key="index"> |
|
|
|
<div v-if="item.optionId == option.optionId"> |
|
|
|
<div v-if="item.selectFlag == 1 && item.roleCode == 1"> |
|
|
|
<img src="@/assets/img/like.png"> |
|
|
|
@ -73,8 +73,9 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="content" label="评价内容" :show-overflow-tooltip="true" min-width="150" header-align="center" align="center"></el-table-column> |
|
|
|
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="60"> |
|
|
|
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button v-if="$hasPermission('custom:evaluateinfo:delete')" type="text" size="small" @click="open(scope.row.content)">{{ '查看内容' }}</el-button> |
|
|
|
<el-button v-if="$hasPermission('custom:evaluateinfo:delete')" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
@ -143,6 +144,12 @@ export default { |
|
|
|
this.getDataList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
open (content) { |
|
|
|
this.$alert(content, '内容', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
callback: action => {} |
|
|
|
}) |
|
|
|
}, |
|
|
|
getOptionsList () { |
|
|
|
this.$http.get(`/custom/evaluateoption/optionShowList`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
|