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