<template slot-scope="scope" slot="value">
{{ dictionary(scope.row.value) }}
</template>
computed: {
dictionary () {
return (val) => {
if (this.dictionaryValue&& this.dictionaryValue.length > 0 && val) {
return this.dictionaryValue.find(item => val === item.displayValue) ? this.dictionaryValue.find(item => val === item.displayValue).displayName : val;
} else {
return '';
}
};
}
}