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
4c143c1c
authored
Mar 15, 2023
by
xiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短信渠道翻写vue2->vue3 20230315
parent
11d4e2ea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
63 deletions
+0
-63
src/views/system/sms/smsChannel/index.vue
+0
-0
src/views/system/sms/smsChannel/sms.channel.data.ts
+0
-63
No files found.
src/views/system/sms/smsChannel/index.vue
View file @
4c143c1c
This diff is collapsed.
Click to expand it.
src/views/system/sms/smsChannel/sms.channel.data.ts
deleted
100644 → 0
View file @
11d4e2ea
import
type
{
VxeCrudSchema
}
from
'@/hooks/web/useVxeCrudSchemas'
const
{
t
}
=
useI18n
()
// 国际化
// 表单校验
export
const
rules
=
reactive
({
signature
:
[
required
],
code
:
[
required
],
apiKey
:
[
required
],
status
:
[
required
]
})
// CrudSchema
const
crudSchemas
=
reactive
<
VxeCrudSchema
>
({
primaryKey
:
'id'
,
primaryType
:
'id'
,
primaryTitle
:
'渠道编号'
,
action
:
true
,
columns
:
[
{
title
:
'短信签名'
,
field
:
'signature'
,
isSearch
:
true
},
{
title
:
'渠道编码'
,
field
:
'code'
,
dictType
:
DICT_TYPE
.
SYSTEM_SMS_CHANNEL_CODE
,
isSearch
:
true
},
{
title
:
t
(
'common.status'
),
field
:
'status'
,
dictType
:
DICT_TYPE
.
COMMON_STATUS
,
dictClass
:
'number'
,
isSearch
:
true
},
{
title
:
'短信 API 的账号'
,
field
:
'apiKey'
},
{
title
:
'短信 API 的密钥'
,
field
:
'apiSecret'
},
{
title
:
'短信发送回调 URL'
,
field
:
'callbackUrl'
},
{
title
:
t
(
'common.createTime'
),
field
:
'createTime'
,
formatter
:
'formatDate'
,
isForm
:
false
,
search
:
{
show
:
true
,
itemRender
:
{
name
:
'XDataTimePicker'
}
}
}
]
})
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