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