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
b2a91aa1
authored
Apr 08, 2023
by
puhui999
Committed by
Gitee
Apr 08, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitee.com:yudaocode/yudao-ui-admin-vue3 into dev
Signed-off-by: puhui999 <puhui999@163.com>
parents
d679a7a3
df57191c
Show whitespace changes
Inline
Side-by-side
Showing
64 changed files
with
239 additions
and
169 deletions
+239
-169
src/router/modules/remaining.ts
+8
-32
src/types/auto-components.d.ts
+4
-0
src/views/bpm/definition/index.vue
+1
-1
src/views/bpm/form/index.vue
+2
-3
src/views/bpm/group/index.vue
+1
-1
src/views/bpm/model/editor/index.vue
+1
-1
src/views/bpm/model/index.vue
+3
-3
src/views/bpm/processInstance/create/index.vue
+1
-1
src/views/bpm/processInstance/detail/index.vue
+1
-1
src/views/bpm/processInstance/index.vue
+2
-2
src/views/bpm/task/done/index.vue
+1
-1
src/views/bpm/task/todo/index.vue
+1
-1
src/views/bpm/taskAssignRule/index.vue
+1
-1
src/views/infra/apiAccessLog/index.vue
+1
-1
src/views/infra/apiErrorLog/index.vue
+1
-2
src/views/infra/build/index.vue
+1
-1
src/views/infra/codegen/index.vue
+1
-1
src/views/infra/config/index.vue
+1
-1
src/views/infra/dataSourceConfig/index.vue
+1
-1
src/views/infra/dbDoc/index.vue
+24
-30
src/views/infra/druid/index.vue
+18
-4
src/views/infra/file/FileForm.vue
+45
-22
src/views/infra/file/index.vue
+11
-6
src/views/infra/fileConfig/index.vue
+16
-3
src/views/infra/job/index.vue
+1
-1
src/views/infra/job/logger/index.vue
+1
-1
src/views/infra/redis/index.vue
+1
-1
src/views/infra/server/index.vue
+19
-4
src/views/infra/skywalking/index.vue
+18
-2
src/views/infra/swagger/index.vue
+18
-4
src/views/mall/product/category/CategoryForm.vue
+1
-1
src/views/mall/product/property/index.vue
+1
-1
src/views/mall/product/property/value/index.vue
+1
-1
src/views/mp/freePublish/index.vue
+1
-1
src/views/pay/app/index.vue
+1
-1
src/views/pay/merchant/index.vue
+1
-1
src/views/pay/order/index.vue
+1
-1
src/views/pay/refund/index.vue
+1
-1
src/views/system/area/index.vue
+1
-1
src/views/system/dept/index.vue
+1
-1
src/views/system/dict/data/index.vue
+1
-1
src/views/system/dict/index.vue
+1
-1
src/views/system/errorCode/index.vue
+1
-1
src/views/system/loginlog/index.vue
+1
-1
src/views/system/mail/account/index.vue
+1
-1
src/views/system/mail/log/index.vue
+1
-1
src/views/system/mail/template/index.vue
+1
-1
src/views/system/menu/index.vue
+1
-1
src/views/system/notice/index.vue
+1
-1
src/views/system/notify/message/index.vue
+1
-1
src/views/system/notify/my/index.vue
+1
-1
src/views/system/notify/template/index.vue
+1
-1
src/views/system/oauth2/client/index.vue
+1
-1
src/views/system/oauth2/token/index.vue
+1
-1
src/views/system/operatelog/index.vue
+1
-1
src/views/system/post/index.vue
+1
-2
src/views/system/role/index.vue
+1
-1
src/views/system/sensitiveWord/index.vue
+1
-1
src/views/system/sms/channel/index.vue
+1
-1
src/views/system/sms/log/index.vue
+1
-1
src/views/system/sms/template/index.vue
+1
-1
src/views/system/tenant/index.vue
+1
-2
src/views/system/tenantPackage/index.vue
+1
-1
src/views/system/user/index.vue
+1
-1
No files found.
src/router/modules/remaining.ts
View file @
b2a91aa1
...
@@ -116,7 +116,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -116,7 +116,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'type/data/:dictType'
,
path
:
'type/data/:dictType'
,
component
:
()
=>
import
(
'@/views/system/dict/data/index.vue'
),
component
:
()
=>
import
(
'@/views/system/dict/data/index.vue'
),
name
:
'
d
ata'
,
name
:
'
SystemDictD
ata'
,
meta
:
{
meta
:
{
title
:
'字典数据'
,
title
:
'字典数据'
,
noCache
:
true
,
noCache
:
true
,
...
@@ -140,7 +140,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -140,7 +140,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'edit'
,
path
:
'edit'
,
component
:
()
=>
import
(
'@/views/infra/codegen/EditTable.vue'
),
component
:
()
=>
import
(
'@/views/infra/codegen/EditTable.vue'
),
name
:
'EditTable'
,
name
:
'
InfraCodegen
EditTable'
,
meta
:
{
meta
:
{
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
...
@@ -163,7 +163,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -163,7 +163,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'job-log'
,
path
:
'job-log'
,
component
:
()
=>
import
(
'@/views/infra/job/logger/index.vue'
),
component
:
()
=>
import
(
'@/views/infra/job/logger/index.vue'
),
name
:
'JobLog'
,
name
:
'
Infra
JobLog'
,
meta
:
{
meta
:
{
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
...
@@ -236,7 +236,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -236,7 +236,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'/manager/form/edit'
,
path
:
'/manager/form/edit'
,
component
:
()
=>
import
(
'@/views/bpm/form/editor/index.vue'
),
component
:
()
=>
import
(
'@/views/bpm/form/editor/index.vue'
),
name
:
'
b
pmFormEditor'
,
name
:
'
B
pmFormEditor'
,
meta
:
{
meta
:
{
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
...
@@ -248,7 +248,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -248,7 +248,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'/manager/model/edit'
,
path
:
'/manager/model/edit'
,
component
:
()
=>
import
(
'@/views/bpm/model/editor/index.vue'
),
component
:
()
=>
import
(
'@/views/bpm/model/editor/index.vue'
),
name
:
'
m
odelEditor'
,
name
:
'
BpmM
odelEditor'
,
meta
:
{
meta
:
{
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
...
@@ -260,7 +260,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -260,7 +260,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'/manager/definition'
,
path
:
'/manager/definition'
,
component
:
()
=>
import
(
'@/views/bpm/definition/index.vue'
),
component
:
()
=>
import
(
'@/views/bpm/definition/index.vue'
),
name
:
'BpmProcessDefinition
List
'
,
name
:
'BpmProcessDefinition'
,
meta
:
{
meta
:
{
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
...
@@ -272,7 +272,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -272,7 +272,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'/manager/task-assign-rule'
,
path
:
'/manager/task-assign-rule'
,
component
:
()
=>
import
(
'@/views/bpm/taskAssignRule/index.vue'
),
component
:
()
=>
import
(
'@/views/bpm/taskAssignRule/index.vue'
),
name
:
'BpmTaskAssignRule
List
'
,
name
:
'BpmTaskAssignRule'
,
meta
:
{
meta
:
{
noCache
:
true
,
noCache
:
true
,
hidden
:
true
,
hidden
:
true
,
...
@@ -315,30 +315,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -315,30 +315,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
title
:
'发起 OA 请假'
,
title
:
'发起 OA 请假'
,
activeMenu
:
'bpm/oa/leave/create'
activeMenu
:
'bpm/oa/leave/create'
}
}
},
{
path
:
'/bpm/task/todo'
,
component
:
()
=>
import
(
'@/views/bpm/task/todo/index.vue'
),
name
:
'TaskTodo'
,
meta
:
{
noCache
:
true
,
hidden
:
true
,
canTo
:
true
,
title
:
'代办任务'
,
activeMenu
:
'bpm/task/todo/index'
}
},
{
path
:
'/bpm/processInstance'
,
component
:
()
=>
import
(
'@/views/bpm/processInstance/index.vue'
),
name
:
'processInstance'
,
meta
:
{
noCache
:
true
,
hidden
:
true
,
canTo
:
true
,
title
:
'流程办理'
,
activeMenu
:
'bpm/processInstance/index'
}
}
}
]
]
},
},
...
@@ -353,7 +329,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -353,7 +329,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
{
path
:
'value/:propertyId(\\d+)'
,
path
:
'value/:propertyId(\\d+)'
,
component
:
()
=>
import
(
'@/views/mall/product/property/value/index.vue'
),
component
:
()
=>
import
(
'@/views/mall/product/property/value/index.vue'
),
name
:
'PropertyValue'
,
name
:
'Pro
ductPro
pertyValue'
,
meta
:
{
title
:
'商品属性值'
,
icon
:
''
,
activeMenu
:
'/product/property'
}
meta
:
{
title
:
'商品属性值'
,
icon
:
''
,
activeMenu
:
'/product/property'
}
}
}
]
]
...
...
src/types/auto-components.d.ts
View file @
b2a91aa1
...
@@ -55,10 +55,14 @@ declare module '@vue/runtime-core' {
...
@@ -55,10 +55,14 @@ declare module '@vue/runtime-core' {
ElIcon
:
typeof
import
(
'element-plus/es'
)[
'ElIcon'
]
ElIcon
:
typeof
import
(
'element-plus/es'
)[
'ElIcon'
]
ElImageViewer
:
typeof
import
(
'element-plus/es'
)[
'ElImageViewer'
]
ElImageViewer
:
typeof
import
(
'element-plus/es'
)[
'ElImageViewer'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElInputNumber
:
typeof
import
(
'element-plus/es'
)[
'ElInputNumber'
]
ElLink
:
typeof
import
(
'element-plus/es'
)[
'ElLink'
]
ElLink
:
typeof
import
(
'element-plus/es'
)[
'ElLink'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElPagination
:
typeof
import
(
'element-plus/es'
)[
'ElPagination'
]
ElPagination
:
typeof
import
(
'element-plus/es'
)[
'ElPagination'
]
ElPopover
:
typeof
import
(
'element-plus/es'
)[
'ElPopover'
]
ElPopover
:
typeof
import
(
'element-plus/es'
)[
'ElPopover'
]
ElRadio
:
typeof
import
(
'element-plus/es'
)[
'ElRadio'
]
ElRadioButton
:
typeof
import
(
'element-plus/es'
)[
'ElRadioButton'
]
ElRadioGroup
:
typeof
import
(
'element-plus/es'
)[
'ElRadioGroup'
]
ElRow
:
typeof
import
(
'element-plus/es'
)[
'ElRow'
]
ElRow
:
typeof
import
(
'element-plus/es'
)[
'ElRow'
]
ElScrollbar
:
typeof
import
(
'element-plus/es'
)[
'ElScrollbar'
]
ElScrollbar
:
typeof
import
(
'element-plus/es'
)[
'ElScrollbar'
]
ElSelect
:
typeof
import
(
'element-plus/es'
)[
'ElSelect'
]
ElSelect
:
typeof
import
(
'element-plus/es'
)[
'ElSelect'
]
...
...
src/views/bpm/definition/index.vue
View file @
b2a91aa1
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
</Dialog>
</Dialog>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
Form
"
>
<
script
setup
lang=
"ts"
name=
"
BpmProcessDefinition
"
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
DefinitionApi
from
'@/api/bpm/definition'
import
*
as
DefinitionApi
from
'@/api/bpm/definition'
...
...
src/views/bpm/form/index.vue
View file @
b2a91aa1
...
@@ -83,12 +83,11 @@
...
@@ -83,12 +83,11 @@
</Dialog>
</Dialog>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Form"
>
<
script
setup
lang=
"ts"
name=
"
Bpm
Form"
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
FormApi
from
'@/api/bpm/form'
import
*
as
FormApi
from
'@/api/bpm/form'
import
{
setConfAndFields2
}
from
'@/utils/formCreate'
import
{
setConfAndFields2
}
from
'@/utils/formCreate'
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
const
{
push
}
=
useRouter
()
// 路由
const
{
push
}
=
useRouter
()
// 路由
...
@@ -130,7 +129,7 @@ const resetQuery = () => {
...
@@ -130,7 +129,7 @@ const resetQuery = () => {
/** 添加/修改操作 */
/** 添加/修改操作 */
const
openForm
=
(
id
?:
number
)
=>
{
const
openForm
=
(
id
?:
number
)
=>
{
push
({
push
({
name
:
'
b
pmFormEditor'
,
name
:
'
B
pmFormEditor'
,
query
:
{
query
:
{
id
id
}
}
...
...
src/views/bpm/group/index.vue
View file @
b2a91aa1
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
<UserGroupForm
ref=
"formRef"
@
success=
"getList"
/>
<UserGroupForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"UserGroup"
>
<
script
setup
lang=
"ts"
name=
"
Bpm
UserGroup"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
UserGroupApi
from
'@/api/bpm/userGroup'
import
*
as
UserGroupApi
from
'@/api/bpm/userGroup'
...
...
src/views/bpm/model/editor/index.vue
View file @
b2a91aa1
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
name=
"BpmModelEditor"
>
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
import
CustomContentPadProvider
from
'@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
import
CustomContentPadProvider
from
'@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
// 自定义左侧菜单(修改 默认任务 为 用户任务)
// 自定义左侧菜单(修改 默认任务 为 用户任务)
...
...
src/views/bpm/model/index.vue
View file @
b2a91aa1
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
</Dialog>
</Dialog>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
Form
"
>
<
script
setup
lang=
"ts"
name=
"
BpmModel
"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
,
formatDate
}
from
'@/utils/formatTime'
import
{
dateFormatter
,
formatDate
}
from
'@/utils/formatTime'
import
*
as
ModelApi
from
'@/api/bpm/model'
import
*
as
ModelApi
from
'@/api/bpm/model'
...
@@ -319,7 +319,7 @@ const handleChangeState = async (row) => {
...
@@ -319,7 +319,7 @@ const handleChangeState = async (row) => {
/** 设计流程 */
/** 设计流程 */
const
handleDesign
=
(
row
)
=>
{
const
handleDesign
=
(
row
)
=>
{
push
({
push
({
name
:
'
m
odelEditor'
,
name
:
'
BpmM
odelEditor'
,
query
:
{
query
:
{
modelId
:
row
.
id
modelId
:
row
.
id
}
}
...
@@ -352,7 +352,7 @@ const handleAssignRule = (row) => {
...
@@ -352,7 +352,7 @@ const handleAssignRule = (row) => {
/** 跳转到指定流程定义列表 */
/** 跳转到指定流程定义列表 */
const
handleDefinitionList
=
(
row
)
=>
{
const
handleDefinitionList
=
(
row
)
=>
{
push
({
push
({
name
:
'BpmProcessDefinition
List
'
,
name
:
'BpmProcessDefinition'
,
query
:
{
query
:
{
key
:
row
.
key
key
:
row
.
key
}
}
...
...
src/views/bpm/processInstance/create/index.vue
View file @
b2a91aa1
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<ProcessInstanceBpmnViewer
:bpmn-xml=
"bpmnXML"
/>
<ProcessInstanceBpmnViewer
:bpmn-xml=
"bpmnXML"
/>
</ContentWrap>
</ContentWrap>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
name=
"BpmProcessInstanceCreate"
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
*
as
DefinitionApi
from
'@/api/bpm/definition'
import
*
as
DefinitionApi
from
'@/api/bpm/definition'
import
*
as
ProcessInstanceApi
from
'@/api/bpm/processInstance'
import
*
as
ProcessInstanceApi
from
'@/api/bpm/processInstance'
...
...
src/views/bpm/processInstance/detail/index.vue
View file @
b2a91aa1
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<TaskUpdateAssigneeForm
ref=
"taskUpdateAssigneeFormRef"
@
success=
"getDetail"
/>
<TaskUpdateAssigneeForm
ref=
"taskUpdateAssigneeFormRef"
@
success=
"getDetail"
/>
</ContentWrap>
</ContentWrap>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
name=
"BpmProcessInstanceDetail"
>
import
{
useUserStore
}
from
'@/store/modules/user'
import
{
useUserStore
}
from
'@/store/modules/user'
import
{
setConfAndFields2
}
from
'@/utils/formCreate'
import
{
setConfAndFields2
}
from
'@/utils/formCreate'
import
type
{
ApiAttrs
}
from
'@form-create/element-ui/types/config'
import
type
{
ApiAttrs
}
from
'@form-create/element-ui/types/config'
...
...
src/views/bpm/processInstance/index.vue
View file @
b2a91aa1
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
v-hasPermi=
"['bpm:process-instance:query']"
v-hasPermi=
"['bpm:process-instance:query']"
@
click=
"handleCreate"
@
click=
"handleCreate"
>
>
发起流程
<Icon
icon=
"ep:plus"
class=
"mr-5px"
/>
发起流程
</el-button>
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
/>
/>
</ContentWrap>
</ContentWrap>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
name=
"BpmProcessInstance"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
ElMessageBox
}
from
'element-plus'
import
{
ElMessageBox
}
from
'element-plus'
...
...
src/views/bpm/task/done/index.vue
View file @
b2a91aa1
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<!-- 表单弹窗:详情 -->
<!-- 表单弹窗:详情 -->
<TaskDetail
ref=
"detailRef"
@
success=
"getList"
/>
<TaskDetail
ref=
"detailRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"tsx"
>
<
script
setup
lang=
"tsx"
name=
"BpmTodoTask"
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
TaskApi
from
'@/api/bpm/task'
import
*
as
TaskApi
from
'@/api/bpm/task'
...
...
src/views/bpm/task/todo/index.vue
View file @
b2a91aa1
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
</ContentWrap>
</ContentWrap>
</template>
</template>
<
script
setup
lang=
"tsx"
>
<
script
setup
lang=
"tsx"
name=
"BpmDoneTask"
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
const
{
push
}
=
useRouter
()
// 路由
const
{
push
}
=
useRouter
()
// 路由
import
*
as
TaskApi
from
'@/api/bpm/task'
import
*
as
TaskApi
from
'@/api/bpm/task'
...
...
src/views/bpm/taskAssignRule/index.vue
View file @
b2a91aa1
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<!-- 添加/修改弹窗 -->
<!-- 添加/修改弹窗 -->
<TaskAssignRuleForm
ref=
"formRef"
@
success=
"getList"
/>
<TaskAssignRuleForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"TaskAssignRule"
>
<
script
setup
lang=
"ts"
name=
"
Bpm
TaskAssignRule"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
*
as
TaskAssignRuleApi
from
'@/api/bpm/taskAssignRule'
import
*
as
TaskAssignRuleApi
from
'@/api/bpm/taskAssignRule'
import
*
as
RoleApi
from
'@/api/system/role'
import
*
as
RoleApi
from
'@/api/system/role'
...
...
src/views/infra/apiAccessLog/index.vue
View file @
b2a91aa1
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
<!-- 表单弹窗:详情 -->
<!-- 表单弹窗:详情 -->
<ApiAccessLogDetail
ref=
"detailRef"
/>
<ApiAccessLogDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"ApiAccessLog"
>
<
script
setup
lang=
"ts"
name=
"
Infra
ApiAccessLog"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
import
{
formatDate
}
from
'@/utils/formatTime'
import
{
formatDate
}
from
'@/utils/formatTime'
...
...
src/views/infra/apiErrorLog/index.vue
View file @
b2a91aa1
...
@@ -158,14 +158,13 @@
...
@@ -158,14 +158,13 @@
<ApiErrorLogDetail
ref=
"detailRef"
/>
<ApiErrorLogDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"ApiErrorLog"
>
<
script
setup
lang=
"ts"
name=
"
Infra
ApiErrorLog"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
import
*
as
ApiErrorLogApi
from
'@/api/infra/apiErrorLog'
import
*
as
ApiErrorLogApi
from
'@/api/infra/apiErrorLog'
import
ApiErrorLogDetail
from
'./ApiErrorLogDetail.vue'
import
ApiErrorLogDetail
from
'./ApiErrorLogDetail.vue'
import
{
InfraApiErrorLogProcessStatusEnum
}
from
'@/utils/constants'
import
{
InfraApiErrorLogProcessStatusEnum
}
from
'@/utils/constants'
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
const
loading
=
ref
(
true
)
// 列表的加载中
const
loading
=
ref
(
true
)
// 列表的加载中
...
...
src/views/infra/build/index.vue
View file @
b2a91aa1
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</div>
</div>
</Dialog>
</Dialog>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"Build"
>
<
script
setup
lang=
"ts"
name=
"
Infra
Build"
>
import
formCreate
from
'@form-create/element-ui'
import
formCreate
from
'@form-create/element-ui'
import
{
useClipboard
}
from
'@vueuse/core'
import
{
useClipboard
}
from
'@vueuse/core'
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
...
...
src/views/infra/codegen/index.vue
View file @
b2a91aa1
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
<!-- 弹窗:预览代码 -->
<!-- 弹窗:预览代码 -->
<PreviewCode
ref=
"previewRef"
/>
<PreviewCode
ref=
"previewRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Codegen"
>
<
script
setup
lang=
"ts"
name=
"
Infra
Codegen"
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
import
*
as
CodegenApi
from
'@/api/infra/codegen'
import
*
as
CodegenApi
from
'@/api/infra/codegen'
...
...
src/views/infra/config/index.vue
View file @
b2a91aa1
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<ConfigForm
ref=
"formRef"
@
success=
"getList"
/>
<ConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Config"
>
<
script
setup
lang=
"ts"
name=
"
Infra
Config"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/infra/dataSourceConfig/index.vue
View file @
b2a91aa1
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<DataSourceConfigForm
ref=
"formRef"
@
success=
"getList"
/>
<DataSourceConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"DataSourceConfig"
>
<
script
setup
lang=
"ts"
name=
"
Infra
DataSourceConfig"
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
DataSourceConfigApi
from
'@/api/infra/dataSourceConfig'
import
*
as
DataSourceConfigApi
from
'@/api/infra/dataSourceConfig'
import
DataSourceConfigForm
from
'./DataSourceConfigForm.vue'
import
DataSourceConfigForm
from
'./DataSourceConfigForm.vue'
...
...
src/views/infra/dbDoc/index.vue
View file @
b2a91aa1
...
@@ -2,46 +2,38 @@
...
@@ -2,46 +2,38 @@
<doc-alert
title=
"数据库文档"
url=
"https://doc.iocoder.cn/db-doc/"
/>
<doc-alert
title=
"数据库文档"
url=
"https://doc.iocoder.cn/db-doc/"
/>
<ContentWrap
title=
"数据库文档"
>
<ContentWrap
title=
"数据库文档"
>
<!-- 操作工具栏 -->
<div
class=
"mb-10px"
>
<div
class=
"mb-10px"
>
<XButton
<el-button
type=
"primary"
plain
@
click=
"handleExport('HTML')"
>
type=
"primary"
<Icon
icon=
"ep:download"
/>
导出 HTML
preIcon=
"ep:download"
</el-button>
:title=
"t('action.export') + ' HTML'"
<el-button
type=
"primary"
plain
@
click=
"handleExport('Word')"
>
@
click=
"handleExport('HTML')"
<Icon
icon=
"ep:download"
/>
导出 Word
/>
</el-button>
<XButton
<el-button
type=
"primary"
plain
@
click=
"handleExport('Markdown')"
>
type=
"primary"
<Icon
icon=
"ep:download"
/>
导出 Markdown
preIcon=
"ep:download"
</el-button>
:title=
"t('action.export') + ' Word'"
@
click=
"handleExport('Word')"
/>
<XButton
type=
"primary"
preIcon=
"ep:download"
:title=
"t('action.export') + ' Markdown'"
@
click=
"handleExport('Markdown')"
/>
</div>
</div>
<IFrame
v-if=
"!lo
ding"
v-loading=
"lo
ding"
:src=
"src"
/>
<IFrame
v-if=
"!lo
ading"
v-loading=
"loa
ding"
:src=
"src"
/>
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"
Db
Doc"
>
<
script
setup
lang=
"ts"
name=
"
InfraDB
Doc"
>
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
import
*
as
DbDocApi
from
'@/api/infra/dbDoc'
import
*
as
DbDocApi
from
'@/api/infra/dbDoc'
const
{
t
}
=
useI18n
()
// 国际化
const
loading
=
ref
(
true
)
// 是否加载中
const
src
=
ref
(
''
)
const
src
=
ref
(
''
)
// HTML 的地址
const
loding
=
ref
(
true
)
/** 页面加载 */
/** 页面加载 */
const
init
=
async
()
=>
{
const
init
=
async
()
=>
{
const
res
=
await
DbDocApi
.
exportHtml
()
try
{
let
blob
=
new
Blob
([
res
],
{
type
:
'text/html'
})
const
data
=
await
DbDocApi
.
exportHtml
()
let
blobUrl
=
window
.
URL
.
createObjectURL
(
blob
)
const
blob
=
new
Blob
([
data
],
{
type
:
'text/html'
})
src
.
value
=
blobUrl
src
.
value
=
window
.
URL
.
createObjectURL
(
blob
)
loding
.
value
=
false
}
finally
{
loading
.
value
=
false
}
}
}
/** 处理导出 */
/** 处理导出 */
const
handleExport
=
async
(
type
:
string
)
=>
{
const
handleExport
=
async
(
type
:
string
)
=>
{
if
(
type
===
'HTML'
)
{
if
(
type
===
'HTML'
)
{
...
@@ -57,6 +49,8 @@ const handleExport = async (type: string) => {
...
@@ -57,6 +49,8 @@ const handleExport = async (type: string) => {
download
.
markdown
(
res
,
'数据库文档.md'
)
download
.
markdown
(
res
,
'数据库文档.md'
)
}
}
}
}
/** 初始化 */
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
await
init
()
await
init
()
})
})
...
...
src/views/infra/druid/index.vue
View file @
b2a91aa1
...
@@ -3,10 +3,24 @@
...
@@ -3,10 +3,24 @@
<doc-alert
title=
"多数据源(读写分离)"
url=
"https://doc.iocoder.cn/dynamic-datasource/"
/>
<doc-alert
title=
"多数据源(读写分离)"
url=
"https://doc.iocoder.cn/dynamic-datasource/"
/>
<ContentWrap>
<ContentWrap>
<IFrame
:src=
"src
"
/>
<IFrame
v-if=
"!loading"
:src=
"url
"
/>
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"Druid"
>
<
script
setup
lang=
"ts"
name=
"InfraDruid"
>
const
BASE_URL
=
import
.
meta
.
env
.
VITE_BASE_URL
import
*
as
ConfigApi
from
'@/api/infra/config'
const
src
=
ref
(
BASE_URL
+
'/druid/index.html'
)
const
loading
=
ref
(
true
)
// 是否加载中
const
url
=
ref
(
import
.
meta
.
env
.
VITE_BASE_URL
+
'/druid/index.html'
)
/** 初始化 */
onMounted
(
async
()
=>
{
try
{
const
data
=
await
ConfigApi
.
getConfigKey
(
'url.druid'
)
if
(
data
&&
data
.
length
>
0
)
{
url
.
value
=
data
}
}
finally
{
loading
.
value
=
false
}
})
</
script
>
</
script
>
src/views/infra/file/FileForm.vue
View file @
b2a91aa1
...
@@ -2,17 +2,19 @@
...
@@ -2,17 +2,19 @@
<Dialog
title=
"上传文件"
v-model=
"dialogVisible"
>
<Dialog
title=
"上传文件"
v-model=
"dialogVisible"
>
<el-upload
<el-upload
ref=
"uploadRef"
ref=
"uploadRef"
:limit=
"1"
accept=
".jpg, .png, .gif"
:auto-upload=
"false"
drag
:headers=
"headers"
:action=
"url"
:action=
"url"
:data=
"data"
:data=
"data"
:disabled=
"formLoading"
:headers=
"uploadHeaders"
v-model:file-list=
"fileList"
drag
accept=
".jpg, .png, .gif"
:limit=
"1"
:on-success=
"submitFormSuccess"
:on-exceed=
"handleExceed"
:on-error=
"submitFormError"
:on-change=
"handleFileChange"
:on-change=
"handleFileChange"
:
on-progress=
"handleFileUploadProgress
"
:
auto-upload=
"false
"
:
on-success=
"handleFileSuccess
"
:
disabled=
"formLoading
"
>
>
<i
class=
"el-icon-upload"
></i>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em>
</div>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em>
</div>
...
@@ -29,44 +31,47 @@
...
@@ -29,44 +31,47 @@
</Dialog>
</Dialog>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
Dialog
}
from
'@/components/Dialog'
import
{
getAccessToken
,
getTenantId
}
from
'@/utils/auth'
import
{
getAccessToken
}
from
'@/utils/auth'
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
const
dialogVisible
=
ref
(
false
)
// 弹窗的是否展示
const
dialogVisible
=
ref
(
false
)
// 弹窗的是否展示
const
dialogTitle
=
ref
(
''
)
// 弹窗的标题
const
formLoading
=
ref
(
false
)
// 表单的加载中
const
formLoading
=
ref
(
false
)
// 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const
url
=
import
.
meta
.
env
.
VITE_UPLOAD_URL
const
url
=
import
.
meta
.
env
.
VITE_UPLOAD_URL
const
headers
=
{
Authorization
:
'Bearer '
+
getAccessToken
()
}
const
uploadHeaders
=
ref
()
// 上传 Header 头
const
fileList
=
ref
([])
// 文件列表
const
data
=
ref
({
path
:
''
})
const
data
=
ref
({
path
:
''
})
const
uploadRef
=
ref
()
const
uploadRef
=
ref
()
/** 打开弹窗 */
/** 打开弹窗 */
const
open
=
async
()
=>
{
const
open
=
async
()
=>
{
dialogVisible
.
value
=
true
dialogVisible
.
value
=
true
resetForm
()
}
}
defineExpose
({
open
})
// 提供 open 方法,用于打开弹窗
defineExpose
({
open
})
// 提供 open 方法,用于打开弹窗
/** 提交表单 */
const
emit
=
defineEmits
([
'success'
])
// 定义 success 事件,用于操作成功后的回调
/** 处理上传的文件发生变化 */
/** 处理上传的文件发生变化 */
const
handleFileChange
=
(
file
)
=>
{
const
handleFileChange
=
(
file
)
=>
{
data
.
value
.
path
=
file
.
name
data
.
value
.
path
=
file
.
name
}
}
/** 处理文件上传中 */
/** 提交表单 */
const
handleFileUploadProgress
=
()
=>
{
formLoading
.
value
=
true
// 禁止修改
}
/** 发起文件上传 */
const
submitFileForm
=
()
=>
{
const
submitFileForm
=
()
=>
{
if
(
fileList
.
value
.
length
==
0
)
{
message
.
error
(
'请上传文件'
)
return
}
// 提交请求
uploadHeaders
.
value
=
{
Authorization
:
'Bearer '
+
getAccessToken
(),
'tenant-id'
:
getTenantId
()
}
unref
(
uploadRef
)?.
submit
()
unref
(
uploadRef
)?.
submit
()
}
}
/** 文件上传成功处理 */
/** 文件上传成功处理 */
const
handleFileSuccess
=
()
=>
{
const
emit
=
defineEmits
([
'success'
])
// 定义 success 事件,用于操作成功后的回调
const
submitFormSuccess
=
()
=>
{
// 清理
// 清理
dialogVisible
.
value
=
false
dialogVisible
.
value
=
false
formLoading
.
value
=
false
formLoading
.
value
=
false
...
@@ -75,4 +80,22 @@ const handleFileSuccess = () => {
...
@@ -75,4 +80,22 @@ const handleFileSuccess = () => {
message
.
success
(
t
(
'common.createSuccess'
))
message
.
success
(
t
(
'common.createSuccess'
))
emit
(
'success'
)
emit
(
'success'
)
}
}
/** 上传错误提示 */
const
submitFormError
=
():
void
=>
{
message
.
error
(
'上传失败,请您重新上传!'
)
formLoading
.
value
=
false
}
/** 重置表单 */
const
resetForm
=
()
=>
{
// 重置上传状态和文件
formLoading
.
value
=
false
uploadRef
.
value
?.
clearFiles
()
}
/** 文件数超出提示 */
const
handleExceed
=
():
void
=>
{
message
.
error
(
'最多只能上传一个文件!'
)
}
</
script
>
</
script
>
src/views/infra/file/index.vue
View file @
b2a91aa1
<
template
>
<
template
>
<doc-alert
title=
"上传下载"
url=
"https://doc.iocoder.cn/file/"
/>
<doc-alert
title=
"上传下载"
url=
"https://doc.iocoder.cn/file/"
/>
<!-- 搜索 -->
<!-- 搜索 -->
<ContentWrap>
<ContentWrap>
<el-form
class=
"-mb-15px"
:model=
"queryParams"
ref=
"queryFormRef"
:inline=
"true"
>
<el-form
class=
"-mb-15px"
:model=
"queryParams"
ref=
"queryFormRef"
:inline=
"true"
label-width=
"68px"
>
<el-form-item
label=
"文件路径"
prop=
"path"
>
<el-form-item
label=
"文件路径"
prop=
"path"
>
<el-input
<el-input
v-model=
"queryParams.path"
v-model=
"queryParams.path"
...
@@ -33,7 +38,7 @@
...
@@ -33,7 +38,7 @@
<el-form-item>
<el-form-item>
<el-button
@
click=
"handleQuery"
><Icon
icon=
"ep:search"
class=
"mr-5px"
/>
搜索
</el-button>
<el-button
@
click=
"handleQuery"
><Icon
icon=
"ep:search"
class=
"mr-5px"
/>
搜索
</el-button>
<el-button
@
click=
"resetQuery"
><Icon
icon=
"ep:refresh"
class=
"mr-5px"
/>
重置
</el-button>
<el-button
@
click=
"resetQuery"
><Icon
icon=
"ep:refresh"
class=
"mr-5px"
/>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"openForm"
>
<el-button
type=
"primary"
plain
@
click=
"openForm"
>
<Icon
icon=
"ep:upload"
class=
"mr-5px"
/>
上传文件
<Icon
icon=
"ep:upload"
class=
"mr-5px"
/>
上传文件
</el-button>
</el-button>
</el-form-item>
</el-form-item>
...
@@ -86,11 +91,11 @@
...
@@ -86,11 +91,11 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<FileForm
ref=
"formRef"
@
success=
"getList"
/>
<FileForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
Config
"
>
<
script
setup
lang=
"ts"
name=
"
InfraFile
"
>
import
{
fileSizeFormatter
}
from
'@/utils'
import
{
fileSizeFormatter
}
from
'@/utils'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
FileApi
from
'@/api/infra/file'
import
*
as
FileApi
from
'@/api/infra/file'
import
File
Upload
Form
from
'./FileForm.vue'
import
FileForm
from
'./FileForm.vue'
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
...
...
src/views/infra/fileConfig/index.vue
View file @
b2a91aa1
...
@@ -3,17 +3,29 @@
...
@@ -3,17 +3,29 @@
<!-- 搜索 -->
<!-- 搜索 -->
<ContentWrap>
<ContentWrap>
<el-form
class=
"-mb-15px"
:model=
"queryParams"
ref=
"queryFormRef"
:inline=
"true"
>
<el-form
class=
"-mb-15px"
:model=
"queryParams"
ref=
"queryFormRef"
:inline=
"true"
label-width=
"68px"
>
<el-form-item
label=
"配置名"
prop=
"name"
>
<el-form-item
label=
"配置名"
prop=
"name"
>
<el-input
<el-input
v-model=
"queryParams.name"
v-model=
"queryParams.name"
placeholder=
"请输入配置名"
placeholder=
"请输入配置名"
clearable
clearable
@
keyup
.
enter=
"handleQuery"
@
keyup
.
enter=
"handleQuery"
class=
"!w-240px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"存储器"
prop=
"storage"
>
<el-form-item
label=
"存储器"
prop=
"storage"
>
<el-select
v-model=
"queryParams.storage"
placeholder=
"请选择存储器"
clearable
>
<el-select
v-model=
"queryParams.storage"
placeholder=
"请选择存储器"
clearable
class=
"!w-240px"
>
<el-option
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.INFRA_FILE_STORAGE)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.INFRA_FILE_STORAGE)"
:key=
"dict.value"
:key=
"dict.value"
...
@@ -30,6 +42,7 @@
...
@@ -30,6 +42,7 @@
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
:default-time=
"[new Date('1 00:00:00'), new Date('1 23:59:59')]"
:default-time=
"[new Date('1 00:00:00'), new Date('1 23:59:59')]"
class=
"!w-240px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -113,7 +126,7 @@
...
@@ -113,7 +126,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<FileConfigForm
ref=
"formRef"
@
success=
"getList"
/>
<FileConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Config"
>
<
script
setup
lang=
"ts"
name=
"
InfraFile
Config"
>
import
*
as
FileConfigApi
from
'@/api/infra/fileConfig'
import
*
as
FileConfigApi
from
'@/api/infra/fileConfig'
import
FileConfigForm
from
'./FileConfigForm.vue'
import
FileConfigForm
from
'./FileConfigForm.vue'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
...
...
src/views/infra/job/index.vue
View file @
b2a91aa1
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
<!-- 表单弹窗:查看 -->
<!-- 表单弹窗:查看 -->
<JobDetail
ref=
"detailRef"
/>
<JobDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Job"
>
<
script
setup
lang=
"ts"
name=
"
Infra
Job"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
checkPermi
}
from
'@/utils/permission'
import
{
checkPermi
}
from
'@/utils/permission'
import
JobForm
from
'./JobForm.vue'
import
JobForm
from
'./JobForm.vue'
...
...
src/views/infra/job/logger/index.vue
View file @
b2a91aa1
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<!-- 表单弹窗:查看 -->
<!-- 表单弹窗:查看 -->
<JobLogDetail
ref=
"detailRef"
/>
<JobLogDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"JobLog"
>
<
script
setup
lang=
"ts"
name=
"
Infra
JobLog"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
formatDate
}
from
'@/utils/formatTime'
import
{
formatDate
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/infra/redis/index.vue
View file @
b2a91aa1
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</el-row>
</el-row>
</el-scrollbar>
</el-scrollbar>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"Redis"
>
<
script
setup
lang=
"ts"
name=
"
Infra
Redis"
>
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
*
as
RedisApi
from
'@/api/infra/redis'
import
*
as
RedisApi
from
'@/api/infra/redis'
import
{
RedisMonitorInfoVO
}
from
'@/api/infra/redis/types'
import
{
RedisMonitorInfoVO
}
from
'@/api/infra/redis/types'
...
...
src/views/infra/server/index.vue
View file @
b2a91aa1
<
template
>
<
template
>
<doc-alert
title=
"服务监控"
url=
"https://doc.iocoder.cn/server-monitor/"
/>
<doc-alert
title=
"服务监控"
url=
"https://doc.iocoder.cn/server-monitor/"
/>
<ContentWrap>
<ContentWrap>
<IFrame
:src=
"src"
/>
<IFrame
v-if=
"!loading"
v-loading=
"loading"
:src=
"src"
/>
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"AdminServer"
>
<
script
setup
lang=
"ts"
name=
"InfraAdminServer"
>
const
BASE_URL
=
import
.
meta
.
env
.
VITE_BASE_URL
import
*
as
ConfigApi
from
'@/api/infra/config'
const
src
=
ref
(
BASE_URL
+
'/admin/applications'
)
const
loading
=
ref
(
true
)
// 是否加载中
const
src
=
ref
(
import
.
meta
.
env
.
VITE_BASE_URL
+
'/admin/applications'
)
/** 初始化 */
onMounted
(
async
()
=>
{
try
{
const
data
=
await
ConfigApi
.
getConfigKey
(
'url.spring-boot-admin'
)
if
(
data
&&
data
.
length
>
0
)
{
src
.
value
=
data
}
}
finally
{
loading
.
value
=
false
}
})
</
script
>
</
script
>
src/views/infra/skywalking/index.vue
View file @
b2a91aa1
<
template
>
<
template
>
<doc-alert
title=
"服务监控"
url=
"https://doc.iocoder.cn/server-monitor/"
/>
<doc-alert
title=
"服务监控"
url=
"https://doc.iocoder.cn/server-monitor/"
/>
<ContentWrap>
<ContentWrap>
<IFrame
:src=
"src"
/>
<IFrame
v-if=
"!loading"
v-loading=
"loading"
:src=
"src"
/>
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"Skywalking"
>
<
script
setup
lang=
"ts"
name=
"InfraSkyWalking"
>
import
*
as
ConfigApi
from
'@/api/infra/config'
const
loading
=
ref
(
true
)
// 是否加载中
const
src
=
ref
(
'http://skywalking.shop.iocoder.cn'
)
const
src
=
ref
(
'http://skywalking.shop.iocoder.cn'
)
/** 初始化 */
onMounted
(
async
()
=>
{
try
{
const
data
=
await
ConfigApi
.
getConfigKey
(
'url.skywalking'
)
if
(
data
&&
data
.
length
>
0
)
{
src
.
value
=
data
}
}
finally
{
loading
.
value
=
false
}
})
</
script
>
</
script
>
src/views/infra/swagger/index.vue
View file @
b2a91aa1
...
@@ -5,8 +5,22 @@
...
@@ -5,8 +5,22 @@
<IFrame
:src=
"src"
/>
<IFrame
:src=
"src"
/>
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"Swagger"
>
<
script
setup
lang=
"ts"
name=
"InfraSwagger"
>
const
BASE_URL
=
import
.
meta
.
env
.
VITE_BASE_URL
import
*
as
ConfigApi
from
'@/api/infra/config'
// const src = ref(BASE_URL + '/doc.html')
const
src
=
ref
(
BASE_URL
+
'/swagger-ui'
)
const
loading
=
ref
(
true
)
// 是否加载中
const
src
=
ref
(
import
.
meta
.
env
.
VITE_BASE_URL
+
'/doc.html'
)
// Knife4j UI
// const src = ref(import.meta.env.VITE_BASE_URL + '/swagger-ui') // Swagger UI
/** 初始化 */
onMounted
(
async
()
=>
{
try
{
const
data
=
await
ConfigApi
.
getConfigKey
(
'url.swagger'
)
if
(
data
&&
data
.
length
>
0
)
{
src
.
value
=
data
}
}
finally
{
loading
.
value
=
false
}
})
</
script
>
</
script
>
src/views/mall/product/category/CategoryForm.vue
View file @
b2a91aa1
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</
template
>
</
template
>
</Dialog>
</Dialog>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
name=
"ProductCategory"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
import
{
handleTree
}
from
'@/utils/tree'
import
{
handleTree
}
from
'@/utils/tree'
...
...
src/views/mall/product/property/index.vue
View file @
b2a91aa1
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<PropertyForm
ref=
"formRef"
@
success=
"getList"
/>
<PropertyForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
Config
"
>
<
script
setup
lang=
"ts"
name=
"
ProductProperty
"
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
PropertyApi
from
'@/api/mall/product/property'
import
*
as
PropertyApi
from
'@/api/mall/product/property'
import
PropertyForm
from
'./PropertyForm.vue'
import
PropertyForm
from
'./PropertyForm.vue'
...
...
src/views/mall/product/property/value/index.vue
View file @
b2a91aa1
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<ValueForm
ref=
"formRef"
@
success=
"getList"
/>
<ValueForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
Config
"
>
<
script
setup
lang=
"ts"
name=
"
ProductPropertyValue
"
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
PropertyApi
from
'@/api/mall/product/property'
import
*
as
PropertyApi
from
'@/api/mall/product/property'
import
ValueForm
from
'./ValueForm.vue'
import
ValueForm
from
'./ValueForm.vue'
...
...
src/views/mp/freePublish/index.vue
View file @
b2a91aa1
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"
f
reePublish"
>
<
script
setup
lang=
"ts"
name=
"
MpF
reePublish"
>
import
*
as
FreePublishApi
from
'@/api/mp/freePublish'
import
*
as
FreePublishApi
from
'@/api/mp/freePublish'
import
*
as
MpAccountApi
from
'@/api/mp/account'
import
*
as
MpAccountApi
from
'@/api/mp/account'
import
WxNews
from
'@/views/mp/components/wx-news/main.vue'
import
WxNews
from
'@/views/mp/components/wx-news/main.vue'
...
...
src/views/pay/app/index.vue
View file @
b2a91aa1
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</
template
>
</
template
>
</XModal>
</XModal>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"App"
>
<
script
setup
lang=
"ts"
name=
"
Pay
App"
>
import
type
{
FormExpose
}
from
'@/components/Form'
import
type
{
FormExpose
}
from
'@/components/Form'
import
{
rules
,
allSchemas
}
from
'./app.data'
import
{
rules
,
allSchemas
}
from
'./app.data'
import
*
as
AppApi
from
'@/api/pay/app'
import
*
as
AppApi
from
'@/api/pay/app'
...
...
src/views/pay/merchant/index.vue
View file @
b2a91aa1
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<MerchantForm
ref=
"formRef"
@
success=
"getList"
/>
<MerchantForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Merchant"
>
<
script
setup
lang=
"ts"
name=
"
Pay
Merchant"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
...
...
src/views/pay/order/index.vue
View file @
b2a91aa1
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</
template
>
</
template
>
</XModal>
</XModal>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Order"
>
<
script
setup
lang=
"ts"
name=
"
Pay
Order"
>
import
{
allSchemas
}
from
'./order.data'
import
{
allSchemas
}
from
'./order.data'
import
*
as
OrderApi
from
'@/api/pay/order'
import
*
as
OrderApi
from
'@/api/pay/order'
...
...
src/views/pay/refund/index.vue
View file @
b2a91aa1
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</
template
>
</
template
>
</XModal>
</XModal>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Refund"
>
<
script
setup
lang=
"ts"
name=
"
Pay
Refund"
>
import
{
allSchemas
}
from
'./refund.data'
import
{
allSchemas
}
from
'./refund.data'
import
*
as
RefundApi
from
'@/api/pay/refund'
import
*
as
RefundApi
from
'@/api/pay/refund'
...
...
src/views/system/area/index.vue
View file @
b2a91aa1
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<AreaForm
ref=
"formRef"
/>
<AreaForm
ref=
"formRef"
/>
</template>
</template>
<
script
setup
lang=
"tsx"
name=
"Area"
>
<
script
setup
lang=
"tsx"
name=
"
System
Area"
>
import
type
{
Column
}
from
'element-plus'
import
type
{
Column
}
from
'element-plus'
import
AreaForm
from
'./AreaForm.vue'
import
AreaForm
from
'./AreaForm.vue'
import
*
as
AreaApi
from
'@/api/system/area'
import
*
as
AreaApi
from
'@/api/system/area'
...
...
src/views/system/dept/index.vue
View file @
b2a91aa1
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<DeptForm
ref=
"formRef"
@
success=
"getList"
/>
<DeptForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Dept"
>
<
script
setup
lang=
"ts"
name=
"
System
Dept"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
handleTree
}
from
'@/utils/tree'
import
{
handleTree
}
from
'@/utils/tree'
...
...
src/views/system/dict/data/index.vue
View file @
b2a91aa1
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<DictDataForm
ref=
"formRef"
@
success=
"getList"
/>
<DictDataForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"DictData"
>
<
script
setup
lang=
"ts"
name=
"
System
DictData"
>
import
{
getIntDictOptions
,
DICT_TYPE
}
from
'@/utils/dict'
import
{
getIntDictOptions
,
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/system/dict/index.vue
View file @
b2a91aa1
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
<DictTypeForm
ref=
"formRef"
@
success=
"getList"
/>
<DictTypeForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"DictType"
>
<
script
setup
lang=
"ts"
name=
"
System
DictType"
>
import
{
getIntDictOptions
,
DICT_TYPE
}
from
'@/utils/dict'
import
{
getIntDictOptions
,
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
DictTypeApi
from
'@/api/system/dict/dict.type'
import
*
as
DictTypeApi
from
'@/api/system/dict/dict.type'
...
...
src/views/system/errorCode/index.vue
View file @
b2a91aa1
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<ErrorCodeForm
ref=
"formRef"
@
success=
"getList"
/>
<ErrorCodeForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"ErrorCode"
>
<
script
setup
lang=
"ts"
name=
"
System
ErrorCode"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/system/loginlog/index.vue
View file @
b2a91aa1
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
<!-- 表单弹窗:详情 -->
<!-- 表单弹窗:详情 -->
<LoginLogDetail
ref=
"detailRef"
/>
<LoginLogDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"LoginLog"
>
<
script
setup
lang=
"ts"
name=
"
System
LoginLog"
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/system/mail/account/index.vue
View file @
b2a91aa1
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<!-- 详情弹窗 -->
<!-- 详情弹窗 -->
<MailAccountDetail
ref=
"detailRef"
/>
<MailAccountDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"MailAccount"
>
<
script
setup
lang=
"ts"
name=
"
System
MailAccount"
>
import
{
allSchemas
}
from
'./account.data'
import
{
allSchemas
}
from
'./account.data'
import
*
as
MailAccountApi
from
'@/api/system/mail/account'
import
*
as
MailAccountApi
from
'@/api/system/mail/account'
import
MailAccountForm
from
'./MailAccountForm.vue'
import
MailAccountForm
from
'./MailAccountForm.vue'
...
...
src/views/system/mail/log/index.vue
View file @
b2a91aa1
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<!-- 表单弹窗:详情 -->
<!-- 表单弹窗:详情 -->
<mail-log-detail
ref=
"detailRef"
/>
<mail-log-detail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"MailLog"
>
<
script
setup
lang=
"ts"
name=
"
System
MailLog"
>
import
{
allSchemas
}
from
'./log.data'
import
{
allSchemas
}
from
'./log.data'
import
*
as
MailLogApi
from
'@/api/system/mail/log'
import
*
as
MailLogApi
from
'@/api/system/mail/log'
import
MailLogDetail
from
'./MailLogDetail.vue'
import
MailLogDetail
from
'./MailLogDetail.vue'
...
...
src/views/system/mail/template/index.vue
View file @
b2a91aa1
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<!-- 表单弹窗:发送测试 -->
<!-- 表单弹窗:发送测试 -->
<MailTemplateSendForm
ref=
"sendFormRef"
/>
<MailTemplateSendForm
ref=
"sendFormRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"MailTemplate"
>
<
script
setup
lang=
"ts"
name=
"
System
MailTemplate"
>
import
{
allSchemas
}
from
'./template.data'
import
{
allSchemas
}
from
'./template.data'
import
*
as
MailTemplateApi
from
'@/api/system/mail/template'
import
*
as
MailTemplateApi
from
'@/api/system/mail/template'
import
MailTemplateForm
from
'./MailTemplateForm.vue'
import
MailTemplateForm
from
'./MailTemplateForm.vue'
...
...
src/views/system/menu/index.vue
View file @
b2a91aa1
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<MenuForm
ref=
"formRef"
@
success=
"getList"
/>
<MenuForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Menu"
>
<
script
setup
lang=
"ts"
name=
"
System
Menu"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
handleTree
}
from
'@/utils/tree'
import
{
handleTree
}
from
'@/utils/tree'
import
*
as
MenuApi
from
'@/api/system/menu'
import
*
as
MenuApi
from
'@/api/system/menu'
...
...
src/views/system/notice/index.vue
View file @
b2a91aa1
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<NoticeForm
ref=
"formRef"
@
success=
"getList"
/>
<NoticeForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"tsx"
>
<
script
setup
lang=
"tsx"
name=
"SystemNotice"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
NoticeApi
from
'@/api/system/notice'
import
*
as
NoticeApi
from
'@/api/system/notice'
...
...
src/views/system/notify/message/index.vue
View file @
b2a91aa1
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<!-- 表单弹窗:详情 -->
<!-- 表单弹窗:详情 -->
<NotifyMessageDetail
ref=
"detailRef"
/>
<NotifyMessageDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"NotifyMessage"
>
<
script
setup
lang=
"ts"
name=
"
System
NotifyMessage"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
NotifyMessageApi
from
'@/api/system/notify/message'
import
*
as
NotifyMessageApi
from
'@/api/system/notify/message'
...
...
src/views/system/notify/my/index.vue
View file @
b2a91aa1
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
<MyNotifyMessageDetail
ref=
"detailRef"
/>
<MyNotifyMessageDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
MyNotifyMessage
"
>
<
script
setup
lang=
"ts"
name=
"
SystemMyNotify
"
>
import
{
DICT_TYPE
,
getBoolDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getBoolDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
NotifyMessageApi
from
'@/api/system/notify/message'
import
*
as
NotifyMessageApi
from
'@/api/system/notify/message'
...
...
src/views/system/notify/template/index.vue
View file @
b2a91aa1
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
</
template
>
</
template
>
</XModal>
</XModal>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"NotifyTemplate"
>
<
script
setup
lang=
"ts"
name=
"
System
NotifyTemplate"
>
import
{
FormExpose
}
from
'@/components/Form'
import
{
FormExpose
}
from
'@/components/Form'
// 业务相关的 import
// 业务相关的 import
import
{
rules
,
allSchemas
}
from
'./template.data'
import
{
rules
,
allSchemas
}
from
'./template.data'
...
...
src/views/system/oauth2/client/index.vue
View file @
b2a91aa1
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<ClientForm
ref=
"formRef"
@
success=
"getList"
/>
<ClientForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
name=
"SystemOAuth2Client"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
ClientApi
from
'@/api/system/oauth2/client'
import
*
as
ClientApi
from
'@/api/system/oauth2/client'
...
...
src/views/system/oauth2/token/index.vue
View file @
b2a91aa1
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
</ContentWrap>
</ContentWrap>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
Oauth2AccessToken
"
>
<
script
setup
lang=
"ts"
name=
"
SystemTokenClient
"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
OAuth2AccessTokenApi
from
'@/api/system/oauth2/token'
import
*
as
OAuth2AccessTokenApi
from
'@/api/system/oauth2/token'
...
...
src/views/system/operatelog/index.vue
View file @
b2a91aa1
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
<!-- 表单弹窗:详情 -->
<!-- 表单弹窗:详情 -->
<OperateLogDetail
ref=
"detailRef"
/>
<OperateLogDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"OperateLog"
>
<
script
setup
lang=
"ts"
name=
"
System
OperateLog"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/system/post/index.vue
View file @
b2a91aa1
...
@@ -111,13 +111,12 @@
...
@@ -111,13 +111,12 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<PostForm
ref=
"formRef"
@
success=
"getList"
/>
<PostForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"tsx"
>
<
script
setup
lang=
"tsx"
name=
"SystemPost"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
import
*
as
PostApi
from
'@/api/system/post'
import
*
as
PostApi
from
'@/api/system/post'
import
PostForm
from
'./PostForm.vue'
import
PostForm
from
'./PostForm.vue'
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
...
...
src/views/system/role/index.vue
View file @
b2a91aa1
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
<!-- 表单弹窗:数据权限 -->
<!-- 表单弹窗:数据权限 -->
<RoleDataPermissionForm
ref=
"dataPermissionFormRef"
/>
<RoleDataPermissionForm
ref=
"dataPermissionFormRef"
/>
</template>
</template>
<
script
setup
lang=
"tsx"
>
<
script
setup
lang=
"tsx"
name=
"SystemRole"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/system/sensitiveWord/index.vue
View file @
b2a91aa1
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
<!-- 表单弹窗:测试敏感词 -->
<!-- 表单弹窗:测试敏感词 -->
<SensitiveWordTestForm
ref=
"testFormRef"
/>
<SensitiveWordTestForm
ref=
"testFormRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"S
ensitiveWord
"
>
<
script
setup
lang=
"ts"
name=
"S
ystemSensitiveWordhao
"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/system/sms/channel/index.vue
View file @
b2a91aa1
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<SmsChannelForm
ref=
"formRef"
@
success=
"getList"
/>
<SmsChannelForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"SmsChannel"
>
<
script
setup
lang=
"ts"
name=
"S
ystemS
msChannel"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
SmsChannelApi
from
'@/api/system/sms/smsChannel'
import
*
as
SmsChannelApi
from
'@/api/system/sms/smsChannel'
...
...
src/views/system/sms/log/index.vue
View file @
b2a91aa1
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
<!-- 表单弹窗:详情 -->
<!-- 表单弹窗:详情 -->
<SmsLogDetail
ref=
"detailRef"
/>
<SmsLogDetail
ref=
"detailRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"
s
msLog"
>
<
script
setup
lang=
"ts"
name=
"
SystemS
msLog"
>
import
{
DICT_TYPE
,
getIntDictOptions
,
getDictLabel
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
,
getDictLabel
}
from
'@/utils/dict'
import
{
dateFormatter
,
formatDate
}
from
'@/utils/formatTime'
import
{
dateFormatter
,
formatDate
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
...
...
src/views/system/sms/template/index.vue
View file @
b2a91aa1
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
<!-- 表单弹窗:测试发送 -->
<!-- 表单弹窗:测试发送 -->
<SmsTemplateSendForm
ref=
"sendFormRef"
/>
<SmsTemplateSendForm
ref=
"sendFormRef"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"SmsTemplate"
>
<
script
setup
lang=
"ts"
name=
"S
ystemS
msTemplate"
>
import
{
DICT_TYPE
,
getIntDictOptions
,
getDictLabel
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
,
getDictLabel
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
SmsTemplateApi
from
'@/api/system/sms/smsTemplate'
import
*
as
SmsTemplateApi
from
'@/api/system/sms/smsTemplate'
...
...
src/views/system/tenant/index.vue
View file @
b2a91aa1
...
@@ -171,14 +171,13 @@
...
@@ -171,14 +171,13 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<TenantForm
ref=
"formRef"
@
success=
"getList"
/>
<TenantForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"Tenant"
>
<
script
setup
lang=
"ts"
name=
"
System
Tenant"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
download
from
'@/utils/download'
import
*
as
TenantApi
from
'@/api/system/tenant'
import
*
as
TenantApi
from
'@/api/system/tenant'
import
*
as
TenantPackageApi
from
'@/api/system/tenantPackage'
import
*
as
TenantPackageApi
from
'@/api/system/tenantPackage'
import
TenantForm
from
'./TenantForm.vue'
import
TenantForm
from
'./TenantForm.vue'
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
...
...
src/views/system/tenantPackage/index.vue
View file @
b2a91aa1
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<!-- 表单弹窗:添加/修改 -->
<!-- 表单弹窗:添加/修改 -->
<TenantPackageForm
ref=
"formRef"
@
success=
"getList"
/>
<TenantPackageForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"TenantPackage"
>
<
script
setup
lang=
"ts"
name=
"
System
TenantPackage"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
TenantPackageApi
from
'@/api/system/tenantPackage'
import
*
as
TenantPackageApi
from
'@/api/system/tenantPackage'
...
...
src/views/system/user/index.vue
View file @
b2a91aa1
...
@@ -198,7 +198,7 @@
...
@@ -198,7 +198,7 @@
<!-- 分配角色 -->
<!-- 分配角色 -->
<UserAssignRoleForm
ref=
"assignRoleFormRef"
@
success=
"getList"
/>
<UserAssignRoleForm
ref=
"assignRoleFormRef"
@
success=
"getList"
/>
</template>
</template>
<
script
setup
lang=
"ts"
name=
"User"
>
<
script
setup
lang=
"ts"
name=
"
System
User"
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
checkPermi
}
from
'@/utils/permission'
import
{
checkPermi
}
from
'@/utils/permission'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
...
...
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