Browse Source

添加匿名标识字段

master
wanggongfeng 6 years ago
parent
commit
5826d9d747
  1. 9
      src/views/modules/custom/evaluateinfo.vue

9
src/views/modules/custom/evaluateinfo.vue

@ -72,6 +72,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="anonymousFlag" label="匿名标识" :formatter="formatAnonymousFlag" header-align="center" align="center"></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="120">
<template slot-scope="scope">
@ -178,6 +179,14 @@ export default {
} else if (state === 2) {
return '吐槽'
}
},
formatAnonymousFlag: function (row) {
let state = row.roleCode
if (state === '1') {
return '是'
} else if (state === '0') {
return '否'
}
}
}
}

Loading…
Cancel
Save