[update] 模板管理-模板类型使用字典回显

This commit is contained in:
danshihao
2023-10-17 14:09:45 +08:00
parent 4a5fc9f0f4
commit 9ea3934d21
@@ -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: '操作',