Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
496862e1
authored
Mar 22, 2023
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete
parent
b4093ab9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
93 deletions
+0
-93
src/views/system/sms/smsLog/sms.log.data.ts
+0
-93
No files found.
src/views/system/sms/smsLog/sms.log.data.ts
deleted
100644 → 0
View file @
b4093ab9
import
type
{
VxeCrudSchema
}
from
'@/hooks/web/useVxeCrudSchemas'
import
{
DICT_TYPE
,
getStrDictOptions
}
from
'@/utils/dict'
const
{
t
}
=
useI18n
()
// 国际化
const
authorizedGrantOptions
=
getStrDictOptions
(
DICT_TYPE
.
SYSTEM_SMS_CHANNEL_CODE
)
// CrudSchema
const
crudSchemas
=
reactive
<
VxeCrudSchema
>
({
primaryKey
:
'id'
,
primaryType
:
'id'
,
primaryTitle
:
'日志编号'
,
action
:
true
,
columns
:
[
{
title
:
'手机号'
,
field
:
'mobile'
,
isSearch
:
true
},
{
title
:
'短信内容'
,
field
:
'templateContent'
},
{
title
:
'模板编号'
,
field
:
'templateId'
,
isSearch
:
true
},
{
title
:
'短信渠道'
,
field
:
'channelId'
,
// dictType: DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE,
// dictClass: 'number',
isSearch
:
true
,
// table: {
// component: 'Select',
componentProps
:
{
options
:
authorizedGrantOptions
// multiple: false,
// filterable: true
}
// }
},
{
title
:
'发送状态'
,
field
:
'sendStatus'
,
dictType
:
DICT_TYPE
.
SYSTEM_SMS_SEND_STATUS
,
dictClass
:
'number'
,
isSearch
:
true
},
{
title
:
'发送时间'
,
field
:
'sendTime'
,
formatter
:
'formatDate'
,
search
:
{
show
:
true
,
itemRender
:
{
name
:
'XDataTimePicker'
}
}
},
{
title
:
'短信类型'
,
field
:
'templateType'
,
dictType
:
DICT_TYPE
.
SYSTEM_SMS_TEMPLATE_TYPE
,
dictClass
:
'number'
,
isSearch
:
true
},
{
title
:
'接收状态'
,
field
:
'receiveStatus'
,
dictType
:
DICT_TYPE
.
SYSTEM_SMS_RECEIVE_STATUS
,
dictClass
:
'number'
,
isSearch
:
true
},
{
title
:
'接收时间'
,
field
:
'receiveTime'
,
formatter
:
'formatDate'
,
search
:
{
show
:
true
,
itemRender
:
{
name
:
'XDataTimePicker'
}
}
},
{
title
:
t
(
'common.createTime'
),
field
:
'createTime'
,
formatter
:
'formatDate'
}
]
})
export
const
{
allSchemas
}
=
useVxeCrudSchemas
(
crudSchemas
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment