[update] 模板管理-模板类型使用字典回显
This commit is contained in:
@@ -167,21 +167,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: '模板类型',
|
title: '模板类型',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'templateType',
|
dataIndex: 'templateType_dictText'
|
||||||
customRender: function (text) {
|
|
||||||
if ((text + '') === '1') {
|
|
||||||
return '短信'
|
|
||||||
}
|
|
||||||
if ((text + '') === '2') {
|
|
||||||
return '邮件'
|
|
||||||
}
|
|
||||||
if ((text + '') === '3') {
|
|
||||||
return '微信'
|
|
||||||
}
|
|
||||||
if ((text + '') === '4') {
|
|
||||||
return '系统'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|||||||
Reference in New Issue
Block a user