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
c1a4edf7
authored
Jun 21, 2023
by
xingyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 统一 setup 格式
parent
9ac17b3c
Hide whitespace changes
Inline
Side-by-side
Showing
128 changed files
with
128 additions
and
128 deletions
+128
-128
src/components/Pagination/index.vue
+1
-1
src/components/RouterSearch/index.vue
+1
-1
src/components/UploadFile/src/UploadFile.vue
+1
-1
src/components/UploadFile/src/UploadImg.vue
+1
-1
src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
+1
-1
src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue
+1
-1
src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/base/ElementBaseInfo.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/listeners/ElementListeners.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/listeners/UserTaskListeners.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/other/ElementOtherConfig.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/properties/ElementProperties.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/task/task-components/ReceiveTask.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/task/task-components/ScriptTask.vue
+1
-1
src/components/bpmnProcessDesigner/package/penal/task/task-components/UserTask.vue
+1
-1
src/views/Home/Index.vue
+1
-1
src/views/Redirect/Redirect.vue
+1
-1
src/views/bpm/definition/index.vue
+1
-1
src/views/bpm/group/index.vue
+1
-1
src/views/bpm/model/editor/index.vue
+1
-1
src/views/bpm/model/index.vue
+1
-1
src/views/bpm/oa/leave/create.vue
+1
-1
src/views/bpm/oa/leave/index.vue
+1
-1
src/views/bpm/processInstance/create/index.vue
+1
-1
src/views/bpm/processInstance/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
-1
src/views/infra/build/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/index.vue
+1
-1
src/views/infra/fileConfig/index.vue
+1
-1
src/views/infra/job/JobForm.vue
+1
-1
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/infra/testDemo/index.vue
+1
-1
src/views/mall/product/brand/BrandForm.vue
+1
-1
src/views/mall/product/brand/index.vue
+1
-1
src/views/mall/product/category/CategoryForm.vue
+1
-1
src/views/mall/product/category/index.vue
+1
-1
src/views/mall/product/property/value/index.vue
+1
-1
src/views/mall/trade/delivery/express/ExpressForm.vue
+1
-1
src/views/mall/trade/delivery/express/index.vue
+1
-1
src/views/mall/trade/delivery/expressTemplate/ExpressTemplateForm.vue
+1
-1
src/views/mall/trade/delivery/expressTemplate/index.vue
+1
-1
src/views/mp/account/index.vue
+1
-1
src/views/mp/autoReply/components/ReplyForm.vue
+1
-1
src/views/mp/autoReply/components/ReplyTable.vue
+1
-1
src/views/mp/autoReply/index.vue
+1
-1
src/views/mp/components/wx-location/main.vue
+1
-1
src/views/mp/components/wx-msg/components/Msg.vue
+1
-1
src/views/mp/components/wx-msg/components/MsgEvent.vue
+1
-1
src/views/mp/components/wx-msg/components/MsgList.vue
+1
-1
src/views/mp/components/wx-msg/main.vue
+1
-1
src/views/mp/components/wx-music/main.vue
+1
-1
src/views/mp/components/wx-reply/components/TabImage.vue
+1
-1
src/views/mp/components/wx-reply/components/TabMusic.vue
+1
-1
src/views/mp/components/wx-reply/components/TabNews.vue
+1
-1
src/views/mp/components/wx-reply/components/TabText.vue
+1
-1
src/views/mp/components/wx-reply/components/TabVideo.vue
+1
-1
src/views/mp/components/wx-reply/components/TabVoice.vue
+1
-1
src/views/mp/components/wx-reply/main.vue
+1
-1
src/views/mp/components/wx-video-play/main.vue
+1
-1
src/views/mp/components/wx-voice-play/main.vue
+1
-1
src/views/mp/draft/components/CoverSelect.vue
+1
-1
src/views/mp/draft/components/DraftTable.vue
+1
-1
src/views/mp/draft/components/NewsForm.vue
+1
-1
src/views/mp/draft/index.vue
+1
-1
src/views/mp/material/components/ImageTable.vue
+1
-1
src/views/mp/material/components/UploadFile.vue
+1
-1
src/views/mp/material/components/UploadVideo.vue
+1
-1
src/views/mp/material/components/VideoTable.vue
+1
-1
src/views/mp/material/components/VoiceTable.vue
+1
-1
src/views/mp/menu/components/MenuEditor.vue
+1
-1
src/views/mp/menu/components/MenuPreviewer.vue
+1
-1
src/views/mp/message/MessageTable.vue
+1
-1
src/views/mp/message/index.vue
+1
-1
src/views/mp/statistics/index.vue
+1
-1
src/views/mp/tag/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/point/config/ConfigForm.vue
+1
-1
src/views/point/config/index.vue
+1
-1
src/views/point/record/RecordForm.vue
+1
-1
src/views/point/record/index.vue
+1
-1
src/views/point/signInConfig/SignInConfigForm.vue
+1
-1
src/views/point/signInConfig/index.vue
+1
-1
src/views/point/signInRecord/SignInRecordForm.vue
+1
-1
src/views/point/signInRecord/index.vue
+1
-1
src/views/report/goview/index.vue
+1
-1
src/views/report/jmreport/index.vue
+1
-1
src/views/system/dept/index.vue
+1
-1
src/views/system/dict/data/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/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/NotifyTemplateForm.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
-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
-1
src/views/system/tenantPackage/index.vue
+1
-1
src/views/system/user/index.vue
+1
-1
No files found.
src/components/Pagination/index.vue
View file @
c1a4edf7
...
...
@@ -14,7 +14,7 @@
@
current-change=
"handleCurrentChange"
/>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
computed
}
from
'vue'
defineOptions
({
name
:
'Pagination'
})
...
...
src/components/RouterSearch/index.vue
View file @
c1a4edf7
...
...
@@ -19,7 +19,7 @@
</ElDialog>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
const
router
=
useRouter
()
// 路由对象
const
showSearch
=
ref
(
false
)
// 是否显示弹框
const
value
:
Ref
=
ref
(
''
)
// 用户输入的值
...
...
src/components/UploadFile/src/UploadFile.vue
View file @
c1a4edf7
...
...
@@ -32,7 +32,7 @@
</el-upload>
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
PropType
}
from
'vue'
import
{
propTypes
}
from
'@/utils/propTypes'
...
...
src/components/UploadFile/src/UploadImg.vue
View file @
c1a4edf7
...
...
@@ -50,7 +50,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
type
{
UploadProps
}
from
'element-plus'
import
{
generateUUID
}
from
'@/utils'
...
...
src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
View file @
c1a4edf7
...
...
@@ -206,7 +206,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
// import 'bpmn-js/dist/assets/diagram-js.css' // 左边工具栏以及编辑节点的样式
// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css'
// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css'
...
...
src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue
View file @
c1a4edf7
...
...
@@ -6,7 +6,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
BpmnViewer
from
'bpmn-js/lib/Viewer'
import
DefaultEmptyXML
from
'./plugins/defaultEmpty'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
...
...
src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue
View file @
c1a4edf7
...
...
@@ -5,7 +5,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
assign
}
from
'min-dash'
defineOptions
({
name
:
'MyProcessPalette'
})
...
...
src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue
View file @
c1a4edf7
...
...
@@ -62,7 +62,7 @@
</el-collapse>
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
ElementBaseInfo
from
'./base/ElementBaseInfo.vue'
import
ElementOtherConfig
from
'./other/ElementOtherConfig.vue'
import
ElementTask
from
'./task/ElementTask.vue'
...
...
src/components/bpmnProcessDesigner/package/penal/base/ElementBaseInfo.vue
View file @
c1a4edf7
...
...
@@ -38,7 +38,7 @@
</el-form>
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'ElementBaseInfo'
})
const
props
=
defineProps
({
...
...
src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue
View file @
c1a4edf7
...
...
@@ -62,7 +62,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'FlowCondition'
})
const
props
=
defineProps
({
...
...
src/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue
View file @
c1a4edf7
...
...
@@ -222,7 +222,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'ElementForm'
})
const
props
=
defineProps
({
...
...
src/components/bpmnProcessDesigner/package/penal/listeners/ElementListeners.vue
View file @
c1a4edf7
...
...
@@ -241,7 +241,7 @@
</el-dialog>
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
ElMessageBox
}
from
'element-plus'
import
{
createListenerObject
,
updateElementExtensions
}
from
'../../utils'
import
{
initListenerType
,
initListenerForm
,
listenerType
,
fieldType
}
from
'./utilSelf'
...
...
src/components/bpmnProcessDesigner/package/penal/listeners/UserTaskListeners.vue
View file @
c1a4edf7
...
...
@@ -287,7 +287,7 @@
</el-dialog>
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
ElMessageBox
}
from
'element-plus'
import
{
createListenerObject
,
updateElementExtensions
}
from
'../../utils'
import
{
initListenerForm
,
initListenerType
,
eventType
,
listenerType
,
fieldType
}
from
'./utilSelf'
...
...
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
View file @
c1a4edf7
...
...
@@ -66,7 +66,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'ElementMultiInstance'
})
const
props
=
defineProps
({
...
...
src/components/bpmnProcessDesigner/package/penal/other/ElementOtherConfig.vue
View file @
c1a4edf7
...
...
@@ -16,7 +16,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'ElementOtherConfig'
})
const
props
=
defineProps
({
id
:
String
...
...
src/components/bpmnProcessDesigner/package/penal/properties/ElementProperties.vue
View file @
c1a4edf7
...
...
@@ -53,7 +53,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
ElMessageBox
}
from
'element-plus'
defineOptions
({
name
:
'ElementProperties'
})
const
props
=
defineProps
({
...
...
src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue
View file @
c1a4edf7
...
...
@@ -45,7 +45,7 @@
</el-dialog>
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'SignalAndMassage'
})
const
message
=
useMessage
()
...
...
src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue
View file @
c1a4edf7
...
...
@@ -20,7 +20,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
UserTask
from
'./task-components/UserTask.vue'
import
ScriptTask
from
'./task-components/ScriptTask.vue'
import
ReceiveTask
from
'./task-components/ReceiveTask.vue'
...
...
src/components/bpmnProcessDesigner/package/penal/task/task-components/ReceiveTask.vue
View file @
c1a4edf7
...
...
@@ -48,7 +48,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'ReceiveTask'
})
const
props
=
defineProps
({
id
:
String
,
...
...
src/components/bpmnProcessDesigner/package/penal/task/task-components/ScriptTask.vue
View file @
c1a4edf7
...
...
@@ -44,7 +44,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'ScriptTask'
})
const
props
=
defineProps
({
id
:
String
,
...
...
src/components/bpmnProcessDesigner/package/penal/task/task-components/UserTask.vue
View file @
c1a4edf7
...
...
@@ -37,7 +37,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'UserTask'
})
const
props
=
defineProps
({
id
:
String
,
...
...
src/views/Home/Index.vue
View file @
c1a4edf7
...
...
@@ -160,7 +160,7 @@
</el-col>
</el-row>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
set
}
from
'lodash-es'
import
{
EChartsOption
}
from
'echarts'
import
{
formatTime
}
from
'@/utils'
...
...
src/views/Redirect/Redirect.vue
View file @
c1a4edf7
<
template
>
<div></div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'Redirect'
})
const
{
currentRoute
,
replace
}
=
useRouter
()
...
...
src/views/bpm/definition/index.vue
View file @
c1a4edf7
...
...
@@ -94,7 +94,7 @@
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
MyProcessViewer
}
from
'@/components/bpmnProcessDesigner/package'
...
...
src/views/bpm/group/index.vue
View file @
c1a4edf7
...
...
@@ -111,7 +111,7 @@
<UserGroupForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -24,7 +24,7 @@
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
MyProcessDesigner
,
MyProcessPenal
}
from
'@/components/bpmnProcessDesigner/package'
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
import
CustomContentPadProvider
from
'@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
...
...
src/views/bpm/model/index.vue
View file @
c1a4edf7
...
...
@@ -226,7 +226,7 @@
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
,
formatDate
}
from
'@/utils/formatTime'
import
{
MyProcessViewer
}
from
'@/components/bpmnProcessDesigner/package'
...
...
src/views/bpm/oa/leave/create.vue
View file @
c1a4edf7
...
...
@@ -42,7 +42,7 @@
</el-form-item>
</el-form>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
*
as
LeaveApi
from
'@/api/bpm/leave'
import
{
useTagsViewStore
}
from
'@/store/modules/tagsView'
...
...
src/views/bpm/oa/leave/index.vue
View file @
c1a4edf7
...
...
@@ -138,7 +138,7 @@
/>
</ContentWrap>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
LeaveApi
from
'@/api/bpm/leave'
...
...
src/views/bpm/processInstance/create/index.vue
View file @
c1a4edf7
...
...
@@ -46,7 +46,7 @@
<ProcessInstanceBpmnViewer
:bpmn-xml=
"bpmnXML as any"
/>
</ContentWrap>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
*
as
DefinitionApi
from
'@/api/bpm/definition'
import
*
as
ProcessInstanceApi
from
'@/api/bpm/processInstance'
...
...
src/views/bpm/processInstance/index.vue
View file @
c1a4edf7
...
...
@@ -159,7 +159,7 @@
/>
</ContentWrap>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
ElMessageBox
}
from
'element-plus'
...
...
src/views/bpm/taskAssignRule/index.vue
View file @
c1a4edf7
...
...
@@ -32,7 +32,7 @@
<!-- 添加/修改弹窗 -->
<TaskAssignRuleForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -139,7 +139,7 @@
<!-- 表单弹窗:详情 -->
<ApiAccessLogDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -158,7 +158,7 @@
<ApiErrorLogDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
...
...
src/views/infra/build/index.vue
View file @
c1a4edf7
...
...
@@ -29,7 +29,7 @@
</div>
</Dialog>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
FcDesigner
from
'@form-create/designer'
import
{
useClipboard
}
from
'@vueuse/core'
import
{
isString
}
from
'@/utils/is'
...
...
src/views/infra/config/index.vue
View file @
c1a4edf7
...
...
@@ -137,7 +137,7 @@
<!-- 表单弹窗:添加/修改 -->
<ConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -57,7 +57,7 @@
<!-- 表单弹窗:添加/修改 -->
<DataSourceConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -16,7 +16,7 @@
<IFrame
v-if=
"!loading"
v-loading=
"loading"
:src=
"src"
/>
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
download
from
'@/utils/download'
import
*
as
DbDocApi
from
'@/api/infra/dbDoc'
...
...
src/views/infra/druid/index.vue
View file @
c1a4edf7
...
...
@@ -6,7 +6,7 @@
<IFrame
v-if=
"!loading"
:src=
"url"
/>
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
ConfigApi
from
'@/api/infra/config'
defineOptions
({
name
:
'InfraDruid'
})
...
...
src/views/infra/file/index.vue
View file @
c1a4edf7
...
...
@@ -91,7 +91,7 @@
<!-- 表单弹窗:添加/修改 -->
<FileForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
fileSizeFormatter
}
from
'@/utils'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
FileApi
from
'@/api/infra/file'
...
...
src/views/infra/fileConfig/index.vue
View file @
c1a4edf7
...
...
@@ -126,7 +126,7 @@
<!-- 表单弹窗:添加/修改 -->
<FileConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
FileConfigApi
from
'@/api/infra/fileConfig'
import
FileConfigForm
from
'./FileConfigForm.vue'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
...
...
src/views/infra/job/JobForm.vue
View file @
c1a4edf7
...
...
@@ -45,7 +45,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
JobApi
from
'@/api/infra/job'
defineOptions
({
name
:
'JobForm'
})
...
...
src/views/infra/job/index.vue
View file @
c1a4edf7
...
...
@@ -147,7 +147,7 @@
<!-- 表单弹窗:查看 -->
<JobDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -121,7 +121,7 @@
<!-- 表单弹窗:查看 -->
<JobLogDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -62,7 +62,7 @@
</el-row>
</el-scrollbar>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
RedisApi
from
'@/api/infra/redis'
import
{
RedisMonitorInfoVO
}
from
'@/api/infra/redis/types'
const
cache
=
ref
<
RedisMonitorInfoVO
>
()
...
...
src/views/infra/server/index.vue
View file @
c1a4edf7
...
...
@@ -5,7 +5,7 @@
<IFrame
v-if=
"!loading"
v-loading=
"loading"
:src=
"src"
/>
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
ConfigApi
from
'@/api/infra/config'
defineOptions
({
name
:
'InfraAdminServer'
})
...
...
src/views/infra/skywalking/index.vue
View file @
c1a4edf7
...
...
@@ -5,7 +5,7 @@
<IFrame
v-if=
"!loading"
v-loading=
"loading"
:src=
"src"
/>
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
ConfigApi
from
'@/api/infra/config'
defineOptions
({
name
:
'InfraSkyWalking'
})
...
...
src/views/infra/swagger/index.vue
View file @
c1a4edf7
...
...
@@ -5,7 +5,7 @@
<IFrame
:src=
"src"
/>
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
ConfigApi
from
'@/api/infra/config'
defineOptions
({
name
:
'InfraSwagger'
})
...
...
src/views/infra/testDemo/index.vue
View file @
c1a4edf7
<
template
>
<div>
index
</div>
</
template
>
<
script
setup
lang=
"ts"
></
script
>
<
script
lang=
"ts"
setup
></
script
>
src/views/mall/product/brand/BrandForm.vue
View file @
c1a4edf7
...
...
@@ -37,7 +37,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
import
*
as
ProductBrandApi
from
'@/api/mall/product/brand'
...
...
src/views/mall/product/brand/index.vue
View file @
c1a4edf7
...
...
@@ -108,7 +108,7 @@
<!-- 表单弹窗:添加/修改 -->
<BrandForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
ProductBrandApi
from
'@/api/mall/product/brand'
...
...
src/views/mall/product/category/CategoryForm.vue
View file @
c1a4edf7
...
...
@@ -50,7 +50,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
import
*
as
ProductCategoryApi
from
'@/api/mall/product/category'
...
...
src/views/mall/product/category/index.vue
View file @
c1a4edf7
...
...
@@ -80,7 +80,7 @@
<!-- 表单弹窗:添加/修改 -->
<CategoryForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
handleTree
}
from
'@/utils/tree'
import
{
dateFormatter
}
from
'@/utils/formatTime'
...
...
src/views/mall/product/property/value/index.vue
View file @
c1a4edf7
...
...
@@ -88,7 +88,7 @@
<!-- 表单弹窗:添加/修改 -->
<ValueForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
PropertyApi
from
'@/api/mall/product/property'
import
ValueForm
from
'./ValueForm.vue'
...
...
src/views/mall/trade/delivery/express/ExpressForm.vue
View file @
c1a4edf7
...
...
@@ -38,7 +38,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
import
*
as
DeliveryExpressApi
from
'@/api/mall/trade/delivery/express'
...
...
src/views/mall/trade/delivery/express/index.vue
View file @
c1a4edf7
...
...
@@ -99,7 +99,7 @@
<!-- 表单弹窗:添加/修改 -->
<ExpressForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
...
...
src/views/mall/trade/delivery/expressTemplate/ExpressTemplateForm.vue
View file @
c1a4edf7
...
...
@@ -137,7 +137,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
*
as
DeliveryExpressTemplateApi
from
'@/api/mall/trade/delivery/expressTemplate'
import
{
defaultProps
}
from
'@/utils/tree'
...
...
src/views/mall/trade/delivery/expressTemplate/index.vue
View file @
c1a4edf7
...
...
@@ -92,7 +92,7 @@
<!-- 表单弹窗:添加/修改 -->
<ExpressTemplateForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
DeliveryExpressTemplateApi
from
'@/api/mall/trade/delivery/expressTemplate'
...
...
src/views/mp/account/index.vue
View file @
c1a4edf7
...
...
@@ -100,7 +100,7 @@
<!-- 对话框(添加 / 修改) -->
<AccountForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
AccountApi
from
'@/api/mp/account'
import
AccountForm
from
'./AccountForm.vue'
...
...
src/views/mp/autoReply/components/ReplyForm.vue
View file @
c1a4edf7
...
...
@@ -32,7 +32,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxReplySelect
,
{
type
Reply
}
from
'@/views/mp/components/wx-reply'
import
type
{
FormInstance
}
from
'element-plus'
import
{
MsgType
}
from
'./types'
...
...
src/views/mp/autoReply/components/ReplyTable.vue
View file @
c1a4edf7
...
...
@@ -93,7 +93,7 @@
</el-table-column>
</el-table>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxVideoPlayer
from
'@/views/mp/components/wx-video-play'
import
WxVoicePlayer
from
'@/views/mp/components/wx-voice-play'
import
WxMusic
from
'@/views/mp/components/wx-music'
...
...
src/views/mp/autoReply/index.vue
View file @
c1a4edf7
...
...
@@ -67,7 +67,7 @@
</el-dialog>
</ContentWrap>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
ReplyForm
from
'@/views/mp/autoReply/components/ReplyForm.vue'
import
{
type
Reply
,
ReplyType
}
from
'@/views/mp/components/wx-reply'
import
WxAccountSelect
from
'@/views/mp/components/wx-account-select'
...
...
src/views/mp/components/wx-location/main.vue
View file @
c1a4edf7
...
...
@@ -39,7 +39,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'WxLocation'
})
const
props
=
defineProps
({
...
...
src/views/mp/components/wx-msg/components/Msg.vue
View file @
c1a4edf7
...
...
@@ -48,7 +48,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxVideoPlayer
from
'@/views/mp/components/wx-video-play'
import
WxVoicePlayer
from
'@/views/mp/components/wx-voice-play'
import
WxNews
from
'@/views/mp/components/wx-news'
...
...
src/views/mp/components/wx-msg/components/MsgEvent.vue
View file @
c1a4edf7
...
...
@@ -40,7 +40,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
const
props
=
defineProps
<
{
item
:
any
}
>
()
...
...
src/views/mp/components/wx-msg/components/MsgList.vue
View file @
c1a4edf7
...
...
@@ -24,7 +24,7 @@
</div>
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
Msg
from
'./Msg.vue'
import
{
formatDate
}
from
'@/utils/formatTime'
import
{
User
}
from
'../types'
...
...
src/views/mp/components/wx-msg/main.vue
View file @
c1a4edf7
...
...
@@ -30,7 +30,7 @@
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxReplySelect
,
{
Reply
,
ReplyType
}
from
'@/views/mp/components/wx-reply'
import
MsgList
from
'./components/MsgList.vue'
import
{
getMessagePage
,
sendMessage
}
from
'@/api/mp/message'
...
...
src/views/mp/components/wx-music/main.vue
View file @
c1a4edf7
...
...
@@ -25,7 +25,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'WxMusic'
})
const
props
=
defineProps
({
...
...
src/views/mp/components/wx-reply/components/TabImage.vue
View file @
c1a4edf7
...
...
@@ -55,7 +55,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxMaterialSelect
from
'@/views/mp/components/wx-material-select'
import
{
UploadType
,
useBeforeUpload
}
from
'@/views/mp/hooks/useUpload'
import
type
{
UploadRawFile
}
from
'element-plus'
...
...
src/views/mp/components/wx-reply/components/TabMusic.vue
View file @
c1a4edf7
...
...
@@ -58,7 +58,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxMaterialSelect
from
'@/views/mp/components/wx-material-select'
import
type
{
UploadRawFile
}
from
'element-plus'
import
{
UploadType
,
useBeforeUpload
}
from
'@/views/mp/hooks/useUpload'
...
...
src/views/mp/components/wx-reply/components/TabNews.vue
View file @
c1a4edf7
...
...
@@ -32,7 +32,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxNews
from
'@/views/mp/components/wx-news'
import
WxMaterialSelect
from
'@/views/mp/components/wx-material-select'
import
{
Reply
,
NewsType
}
from
'./types'
...
...
src/views/mp/components/wx-reply/components/TabText.vue
View file @
c1a4edf7
...
...
@@ -2,7 +2,7 @@
<el-input
type=
"textarea"
:rows=
"5"
placeholder=
"请输入内容"
v-model=
"content"
/>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
const
props
=
defineProps
<
{
modelValue
?:
string
|
null
}
>
()
...
...
src/views/mp/components/wx-reply/components/TabVideo.vue
View file @
c1a4edf7
...
...
@@ -48,7 +48,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxVideoPlayer
from
'@/views/mp/components/wx-video-play'
import
WxMaterialSelect
from
'@/views/mp/components/wx-material-select'
import
type
{
UploadRawFile
}
from
'element-plus'
...
...
src/views/mp/components/wx-reply/components/TabVoice.vue
View file @
c1a4edf7
...
...
@@ -52,7 +52,7 @@
</el-row>
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxMaterialSelect
from
'@/views/mp/components/wx-material-select'
import
WxVoicePlayer
from
'@/views/mp/components/wx-voice-play'
import
{
UploadType
,
useBeforeUpload
}
from
'@/views/mp/hooks/useUpload'
...
...
src/views/mp/components/wx-reply/main.vue
View file @
c1a4edf7
...
...
@@ -59,7 +59,7 @@
</el-tabs>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
Reply
,
NewsType
,
ReplyType
,
createEmptyReply
}
from
'./components/types'
import
TabText
from
'./components/TabText.vue'
import
TabImage
from
'./components/TabImage.vue'
...
...
src/views/mp/components/wx-video-play/main.vue
View file @
c1a4edf7
...
...
@@ -48,7 +48,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
'video.js/dist/video-js.css'
import
{
VideoPlayer
}
from
'@videojs-player/vue'
...
...
src/views/mp/components/wx-voice-play/main.vue
View file @
c1a4edf7
...
...
@@ -23,7 +23,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
// 因为微信语音是 amr 格式,所以需要用到 amr 解码器:https://www.npmjs.com/package/benz-amr-recorder
import
BenzAMRRecorder
from
'benz-amr-recorder'
...
...
src/views/mp/draft/components/CoverSelect.vue
View file @
c1a4edf7
...
...
@@ -59,7 +59,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxMaterialSelect
from
'@/views/mp/components/wx-material-select'
import
{
getAccessToken
}
from
'@/utils/auth'
import
type
{
UploadFiles
,
UploadProps
,
UploadRawFile
}
from
'element-plus'
...
...
src/views/mp/draft/components/DraftTable.vue
View file @
c1a4edf7
...
...
@@ -35,7 +35,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxNews
from
'@/views/mp/components/wx-news'
import
{
Article
}
from
'./types'
...
...
src/views/mp/draft/components/NewsForm.vue
View file @
c1a4edf7
...
...
@@ -125,7 +125,7 @@
</el-container>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
Editor
}
from
'@/components/Editor'
import
{
createEditorConfig
}
from
'../editor-config'
import
CoverSelect
from
'./CoverSelect.vue'
...
...
src/views/mp/draft/index.vue
View file @
c1a4edf7
...
...
@@ -61,7 +61,7 @@
</el-dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxAccountSelect
from
'@/views/mp/components/wx-account-select'
import
*
as
MpDraftApi
from
'@/api/mp/draft'
import
*
as
MpFreePublishApi
from
'@/api/mp/freePublish'
...
...
src/views/mp/material/components/ImageTable.vue
View file @
c1a4edf7
...
...
@@ -19,7 +19,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
const
props
=
defineProps
<
{
list
:
any
[]
loading
:
boolean
...
...
src/views/mp/material/components/UploadFile.vue
View file @
c1a4edf7
...
...
@@ -18,7 +18,7 @@
</
template
>
</el-upload>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
type
{
UploadProps
,
UploadUserFile
}
from
'element-plus'
import
{
HEADERS
,
...
...
src/views/mp/material/components/UploadVideo.vue
View file @
c1a4edf7
...
...
@@ -47,7 +47,7 @@
</el-dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
type
{
FormInstance
,
FormRules
,
...
...
src/views/mp/material/components/VideoTable.vue
View file @
c1a4edf7
...
...
@@ -38,7 +38,7 @@
</el-table>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxVideoPlayer
from
'@/views/mp/components/wx-video-play'
import
{
dateFormatter
}
from
'@/utils/formatTime'
...
...
src/views/mp/material/components/VoiceTable.vue
View file @
c1a4edf7
...
...
@@ -36,7 +36,7 @@
</el-table>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxVoicePlayer
from
'@/views/mp/components/wx-voice-play'
import
{
dateFormatter
}
from
'@/utils/formatTime'
...
...
src/views/mp/menu/components/MenuEditor.vue
View file @
c1a4edf7
...
...
@@ -112,7 +112,7 @@
</div>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxReplySelect
from
'@/views/mp/components/wx-reply'
import
WxNews
from
'@/views/mp/components/wx-news'
import
WxMaterialSelect
from
'@/views/mp/components/wx-material-select'
...
...
src/views/mp/menu/components/MenuPreviewer.vue
View file @
c1a4edf7
...
...
@@ -57,7 +57,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
Menu
}
from
'./types'
import
draggable
from
'vuedraggable'
...
...
src/views/mp/message/MessageTable.vue
View file @
c1a4edf7
...
...
@@ -121,7 +121,7 @@
</div>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
WxVideoPlayer
from
'@/views/mp/components/wx-video-play'
import
WxVoicePlayer
from
'@/views/mp/components/wx-voice-play'
import
WxLocation
from
'@/views/mp/components/wx-location'
...
...
src/views/mp/message/index.vue
View file @
c1a4edf7
...
...
@@ -79,7 +79,7 @@
<WxMsg
:user-id=
"messageBox.userId"
/>
</el-dialog>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
MpMessageApi
from
'@/api/mp/message'
import
WxMsg
from
'@/views/mp/components/wx-msg'
import
WxAccountSelect
from
'@/views/mp/components/wx-account-select'
...
...
src/views/mp/statistics/index.vue
View file @
c1a4edf7
...
...
@@ -73,7 +73,7 @@
</ContentWrap>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
formatDate
,
addTime
,
betweenDay
,
beginOfDay
,
endOfDay
}
from
'@/utils/formatTime'
import
*
as
StatisticsApi
from
'@/api/mp/statistics'
import
*
as
MpAccountApi
from
'@/api/mp/account'
...
...
src/views/mp/tag/index.vue
View file @
c1a4edf7
...
...
@@ -82,7 +82,7 @@
<!-- 表单弹窗:添加/修改 -->
<TagForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
MpTagApi
from
'@/api/mp/tag'
import
TagForm
from
'./TagForm.vue'
...
...
src/views/pay/app/index.vue
View file @
c1a4edf7
...
...
@@ -303,7 +303,7 @@
<!-- 表单弹窗:添加/修改 -->
<AppForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
...
...
src/views/pay/merchant/index.vue
View file @
c1a4edf7
...
...
@@ -137,7 +137,7 @@
<!-- 表单弹窗:添加/修改 -->
<MerchantForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -228,7 +228,7 @@
<!-- 表单弹窗:预览 -->
<OrderDetail
ref=
"detailRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
,
getStrDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
MerchantApi
from
'@/api/pay/merchant'
...
...
src/views/pay/refund/index.vue
View file @
c1a4edf7
...
...
@@ -232,7 +232,7 @@
<!-- 表单弹窗:预览 -->
<RefundDetail
ref=
"detailRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
,
getStrDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
MerchantApi
from
'@/api/pay/merchant'
...
...
src/views/point/config/ConfigForm.vue
View file @
c1a4edf7
...
...
@@ -33,7 +33,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
ConfigApi
from
'@/api/point/config'
const
{
t
}
=
useI18n
()
// 国际化
...
...
src/views/point/config/index.vue
View file @
c1a4edf7
...
...
@@ -101,7 +101,7 @@
<ConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
*
as
ConfigApi
from
'@/api/point/config'
...
...
src/views/point/record/RecordForm.vue
View file @
c1a4edf7
...
...
@@ -82,7 +82,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getStrDictOptions
,
getIntDictOptions
}
from
'@/utils/dict'
import
*
as
RecordApi
from
'@/api/point/record'
...
...
src/views/point/record/index.vue
View file @
c1a4edf7
...
...
@@ -169,7 +169,7 @@
<RecordForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getStrDictOptions
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
...
...
src/views/point/signInConfig/SignInConfigForm.vue
View file @
c1a4edf7
...
...
@@ -23,7 +23,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
SignInConfigApi
from
'@/api/point/signInConfig'
const
{
t
}
=
useI18n
()
// 国际化
...
...
src/views/point/signInConfig/index.vue
View file @
c1a4edf7
...
...
@@ -87,7 +87,7 @@
<SignInConfigForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
*
as
SignInConfigApi
from
'@/api/point/signInConfig'
...
...
src/views/point/signInRecord/SignInRecordForm.vue
View file @
c1a4edf7
...
...
@@ -23,7 +23,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
*
as
SignInRecordApi
from
'@/api/point/signInRecord'
const
{
t
}
=
useI18n
()
// 国际化
...
...
src/views/point/signInRecord/index.vue
View file @
c1a4edf7
...
...
@@ -108,7 +108,7 @@
<SignInRecordForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
import
*
as
SignInRecordApi
from
'@/api/point/signInRecord'
...
...
src/views/report/goview/index.vue
View file @
c1a4edf7
...
...
@@ -3,7 +3,7 @@
<IFrame
:src=
"src"
/>
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'GoView'
})
const
src
=
'http://127.0.0.1:3000'
...
...
src/views/report/jmreport/index.vue
View file @
c1a4edf7
...
...
@@ -3,7 +3,7 @@
<IFrame
:src=
"src"
/>
</ContentWrap>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
getAccessToken
}
from
'@/utils/auth'
defineOptions
({
name
:
'JimuReport'
})
...
...
src/views/system/dept/index.vue
View file @
c1a4edf7
...
...
@@ -103,7 +103,7 @@
<!-- 表单弹窗:添加/修改 -->
<DeptForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -115,7 +115,7 @@
<!-- 表单弹窗:添加/修改 -->
<DictDataForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
getIntDictOptions
,
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
...
...
src/views/system/errorCode/index.vue
View file @
c1a4edf7
...
...
@@ -137,7 +137,7 @@
<ErrorCodeForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -104,7 +104,7 @@
<!-- 表单弹窗:详情 -->
<LoginLogDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -64,7 +64,7 @@
<!-- 详情弹窗 -->
<MailAccountDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -34,7 +34,7 @@
<!-- 表单弹窗:详情 -->
<mail-log-detail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -65,7 +65,7 @@
<!-- 表单弹窗:发送测试 -->
<MailTemplateSendForm
ref=
"sendFormRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
allSchemas
}
from
'./template.data'
import
*
as
MailTemplateApi
from
'@/api/system/mail/template'
import
MailTemplateForm
from
'./MailTemplateForm.vue'
...
...
src/views/system/notice/index.vue
View file @
c1a4edf7
...
...
@@ -102,7 +102,7 @@
<!-- 表单弹窗:添加/修改 -->
<NoticeForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -153,7 +153,7 @@
<!-- 表单弹窗:详情 -->
<NotifyMessageDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -115,7 +115,7 @@
<MyNotifyMessageDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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/NotifyTemplateForm.vue
View file @
c1a4edf7
...
...
@@ -50,7 +50,7 @@
</
template
>
</Dialog>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
*
as
NotifyTemplateApi
from
'@/api/system/notify/template'
import
{
CommonStatusEnum
}
from
'@/utils/constants'
...
...
src/views/system/notify/template/index.vue
View file @
c1a4edf7
...
...
@@ -155,7 +155,7 @@
<!-- 表单弹窗:测试发送 -->
<NotifyTemplateSendForm
ref=
"sendFormRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
NotifyTemplateApi
from
'@/api/system/notify/template'
...
...
src/views/system/oauth2/client/index.vue
View file @
c1a4edf7
...
...
@@ -119,7 +119,7 @@
<!-- 表单弹窗:添加/修改 -->
<ClientForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -98,7 +98,7 @@
</ContentWrap>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -135,7 +135,7 @@
<!-- 表单弹窗:详情 -->
<OperateLogDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -111,7 +111,7 @@
<!-- 表单弹窗:添加/修改 -->
<PostForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -129,7 +129,7 @@
<!-- 表单弹窗:添加/修改 -->
<SmsChannelForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -184,7 +184,7 @@
<!-- 表单弹窗:详情 -->
<SmsLogDetail
ref=
"detailRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -211,7 +211,7 @@
<!-- 表单弹窗:测试发送 -->
<SmsTemplateSendForm
ref=
"sendFormRef"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -171,7 +171,7 @@
<!-- 表单弹窗:添加/修改 -->
<TenantForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
download
from
'@/utils/download'
...
...
src/views/system/tenantPackage/index.vue
View file @
c1a4edf7
...
...
@@ -106,7 +106,7 @@
<!-- 表单弹窗:添加/修改 -->
<TenantPackageForm
ref=
"formRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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 @
c1a4edf7
...
...
@@ -198,7 +198,7 @@
<!-- 分配角色 -->
<UserAssignRoleForm
ref=
"assignRoleFormRef"
@
success=
"getList"
/>
</template>
<
script
setup
lang=
"ts"
>
<
script
lang=
"ts"
setup
>
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