|
@@ -64,9 +64,13 @@ export default {
|
|
|
{
|
|
|
title: '操作类型',
|
|
|
dataIndex: 'transformType',
|
|
|
- width: 120
|
|
|
+ width: 120,
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ return this.actionMap[text]
|
|
|
+ }
|
|
|
}
|
|
|
],
|
|
|
+ actionMap: {},
|
|
|
loadData: parameter => {
|
|
|
parameter = {
|
|
|
...parameter,
|
|
@@ -85,6 +89,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ created () {
|
|
|
+ this.actionMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_TRANS_FORM_TYPE)
|
|
|
+ console.log(this.actionMap)
|
|
|
+ },
|
|
|
methods: {
|
|
|
base (record) {
|
|
|
this.visible = true
|