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
5d089161
authored
Apr 13, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码生成,支持设置前端的模版
parent
f3c62496
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
src/views/infra/codegen/EditTable.vue
+1
-1
src/views/system/mail/account/account.data.ts
+1
-1
src/views/system/mail/account/index.vue
+1
-1
src/views/system/mail/log/index.vue
+1
-1
src/views/system/mail/log/log.data.ts
+1
-1
src/views/system/mail/template/index.vue
+1
-1
src/views/system/mail/template/template.data.ts
+1
-1
No files found.
src/views/infra/codegen/EditTable.vue
View file @
5d089161
...
...
@@ -30,7 +30,7 @@ const { query } = useRoute() // 查询参数
const
{
delView
}
=
useTagsViewStore
()
// 视图操作
const
formLoading
=
ref
(
false
)
// 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const
activeName
=
ref
(
'
basicInfo
'
)
// Tag 激活的窗口
const
activeName
=
ref
(
'
colum
'
)
// Tag 激活的窗口
const
basicInfoRef
=
ref
<
ComponentRef
<
typeof
BasicInfoForm
>>
()
const
columInfoRef
=
ref
<
ComponentRef
<
typeof
ColumInfoForm
>>
()
const
generateInfoRef
=
ref
<
ComponentRef
<
typeof
GenerateInfoForm
>>
()
...
...
src/views/system/mail/account/account.data.ts
View file @
5d089161
...
...
@@ -19,7 +19,7 @@ export const rules = reactive({
sslEnable
:
[
required
]
})
// CrudSchema:https://
kailong110120130.gitee.io/vue-element-plus-admin-doc/hooks/useCrudSchemas.html
// CrudSchema:https://
doc.iocoder.cn/vue3/crud-schema/
const
crudSchemas
=
reactive
<
CrudSchema
[]
>
([
{
label
:
'邮箱'
,
...
...
src/views/system/mail/account/index.vue
View file @
5d089161
...
...
@@ -72,7 +72,7 @@ import MailAccountDetail from './MailAccountDetail.vue'
// tableObject:表格的属性对象,可获得分页大小、条数等属性
// tableMethods:表格的操作对象,可进行获得分页、删除记录等操作
// 详细可见:https://
kailong110120130.gitee.io/vue-element-plus-admin-doc/components/table.html#usetable
// 详细可见:https://
doc.iocoder.cn/vue3/crud-schema/
const
{
tableObject
,
tableMethods
}
=
useTable
({
getListApi
:
MailAccountApi
.
getMailAccountPage
,
// 分页接口
delListApi
:
MailAccountApi
.
deleteMailAccount
// 删除接口
...
...
src/views/system/mail/log/index.vue
View file @
5d089161
...
...
@@ -41,7 +41,7 @@ import MailLogDetail from './MailLogDetail.vue'
// tableObject:表格的属性对象,可获得分页大小、条数等属性
// tableMethods:表格的操作对象,可进行获得分页、删除记录等操作
// 详细可见:https://
kailong110120130.gitee.io/vue-element-plus-admin-doc/components/table.html#usetable
// 详细可见:https://
doc.iocoder.cn/vue3/crud-schema/
const
{
tableObject
,
tableMethods
}
=
useTable
({
getListApi
:
MailLogApi
.
getMailLogPage
// 分页接口
})
...
...
src/views/system/mail/log/log.data.ts
View file @
5d089161
...
...
@@ -5,7 +5,7 @@ import * as MailAccountApi from '@/api/system/mail/account'
// 邮箱账号的列表
const
accountList
=
await
MailAccountApi
.
getSimpleMailAccountList
()
// CrudSchema:https://
kailong110120130.gitee.io/vue-element-plus-admin-doc/hooks/useCrudSchemas.html
// CrudSchema:https://
doc.iocoder.cn/vue3/crud-schema/
const
crudSchemas
=
reactive
<
CrudSchema
[]
>
([
{
label
:
'编号'
,
...
...
src/views/system/mail/template/index.vue
View file @
5d089161
...
...
@@ -73,7 +73,7 @@ import MailTemplateSendForm from './MailTemplateSendForm.vue'
// tableObject:表格的属性对象,可获得分页大小、条数等属性
// tableMethods:表格的操作对象,可进行获得分页、删除记录等操作
// 详细可见:https://
kailong110120130.gitee.io/vue-element-plus-admin-doc/components/table.html#usetable
// 详细可见:https://
doc.iocoder.cn/vue3/crud-schema/
const
{
tableObject
,
tableMethods
}
=
useTable
({
getListApi
:
MailTemplateApi
.
getMailTemplatePage
,
// 分页接口
delListApi
:
MailTemplateApi
.
deleteMailTemplate
// 删除接口
...
...
src/views/system/mail/template/template.data.ts
View file @
5d089161
...
...
@@ -17,7 +17,7 @@ export const rules = reactive({
status
:
[
required
]
})
// CrudSchema:https://
kailong110120130.gitee.io/vue-element-plus-admin-doc/hooks/useCrudSchemas.html
// CrudSchema:https://
doc.iocoder.cn/vue3/crud-schema/
const
crudSchemas
=
reactive
<
CrudSchema
[]
>
([
{
label
:
'模板编码'
,
...
...
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