feat: test
Some checks failed
coverage CI / build (push) Has been cancelled

This commit is contained in:
2025-09-22 18:15:39 +08:00
parent 7b29154116
commit 0da43ca229
4 changed files with 26 additions and 546 deletions

View File

@@ -105,9 +105,9 @@ const SyStemMessageSmsTemplate = () => {
<a key="edit" onClick={() => handleEdit(record)}>
</a>,
<a key="detail" onClick={() => handleSend(record)}>
</a>,
// <a key="detail" onClick={() => handleSend(record)}>
// 详情
// </a>,
<Popconfirm
title="是否删除?"
key="delete"

View File

@@ -14,6 +14,10 @@ export const baseTenantColumns: ProColumns<SmsTemplateVO>[] = [
{
title: '模板名称',
dataIndex: 'name',
},
{
title: '模板标题',
dataIndex: 'type',
hideInSearch: true, // 在搜索表单中隐藏
},
{
@@ -22,26 +26,17 @@ export const baseTenantColumns: ProColumns<SmsTemplateVO>[] = [
hideInSearch: true, // 在搜索表单中隐藏
},
{
title: '短信类型',
title: '发送人名称',
dataIndex: 'type',
},
{
title: '状态',
title: '邮箱账号',
dataIndex: 'type',
},
{
title: '开启状态',
dataIndex: 'status',
},
{
title: '备注',
dataIndex: 'remark',
hideInSearch: true,
},
{
title: '短信 API 的模板编号',
dataIndex: 'apiTemplateId',
},
{
title: '短信渠道',
dataIndex: 'channelCode',
},
{
title: '创建时间',
dataIndex: 'createTime',
@@ -105,7 +100,6 @@ export const formColumns = (type: string): ProFormColumnsType[] => [
{
title: '模板内容',
dataIndex: 'type',
formItemProps: {
rules: [
{