@qqt-product/system 0.0.1 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +53240 -10634
- package/dist/index.umd.js +94 -21
- package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +2878 -0
- package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +2871 -0
- package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +2878 -0
- package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +23 -4
- package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +9 -4
- package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +9 -4
- package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +2864 -0
- package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +2 -3
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +2864 -0
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +2876 -0
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +29 -14
- package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +2 -6
- package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +5 -8
- package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +9 -4
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +2872 -0
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataList.vue.d.ts +126 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +2864 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +2887 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +25 -5
- package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +7 -0
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +221 -28
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue.d.ts +45 -0
- package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +24 -5
- package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +23 -7
- package/dist/lib/components/QRoleList/src/useConfigData.d.ts +1 -11
- package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +7 -3
- package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +15 -35
- package/dist/lib/components/QUsageList/src/useConfigData.d.ts +111 -10
- package/dist/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue.d.ts +25 -0
- package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +9 -10
- package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +1209 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +1 -1
- package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +8 -7
- package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +2 -3
- package/dist/lib/components/index.d.ts +2 -2
- package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +2863 -0
- package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +2872 -0
- package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +8 -11
- package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +16 -10
- package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +2 -9
- package/dist/lib/components/loginLogList/src/index.vue.d.ts +2 -8
- package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +2 -12
- package/dist/lib/components/operateLogList/src/index.vue.d.ts +2 -13
- package/dist/style.css +1 -1
- package/dist/vite-env.d.ts +13 -13
- package/package.json +13 -11
- package/src/lib/components/QAccountList/src/QAccountCreate.vue +272 -0
- package/src/lib/components/QAccountList/src/QAccountDetail.vue +82 -14
- package/src/lib/components/QAccountList/src/QAccountEdit.vue +65 -33
- package/src/lib/components/QAccountList/src/QAccountList.vue +532 -530
- package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +143 -137
- package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +172 -166
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +123 -124
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +66 -18
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +151 -122
- package/src/lib/components/QI18nList/src/QI18nList.vue +365 -361
- package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +103 -94
- package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +109 -105
- package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +3 -3
- package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +218 -221
- package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +110 -117
- package/src/lib/components/QPermissionDataList/src/form.vue +109 -109
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +1 -1
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +120 -32
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +189 -163
- package/src/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.ts +84 -0
- package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +22 -22
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +134 -85
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue +91 -0
- package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +276 -263
- package/src/lib/components/QRoleList/src/QRoleList.vue +332 -288
- package/src/lib/components/QRoleList/src/useConfigData.ts +1 -6
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +304 -302
- package/src/lib/components/QUsageList/src/QUsageList.vue +287 -82
- package/src/lib/components/QUsageList/src/useConfigData.ts +147 -13
- package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +140 -140
- package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +28 -28
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +130 -42
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +2 -2
- package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +2 -2
- package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +12 -12
- package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +276 -268
- package/src/lib/components/QcustomConfigList/src/useConfigData.ts +1 -1
- package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +124 -125
- package/src/lib/components/index.ts +78 -78
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +2 -10
- package/src/lib/components/integratedNodesList/src/index.vue +130 -136
- package/src/lib/components/integratedReportList/src/index.vue +55 -30
- package/src/lib/components/integratedReportSearchList/src/index.vue +106 -66
- package/src/lib/components/loginAbnormalLogList/src/index.vue +43 -50
- package/src/lib/components/loginLogList/src/index.vue +51 -57
- package/src/lib/components/loginSupplierLogList/src/index.vue +53 -63
- package/src/lib/components/operateLogList/src/index.vue +46 -57
- package/src/vite-env.d.ts +13 -13
- package/tsconfig.json +24 -24
- package/vite.config.ts +1 -1
- package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +0 -80
- package/dist/lib/components/QCompanyermissionList/src/types.d.ts +0 -44
- package/dist/lib/components/integratedReportList/src/index.vue.d.ts +0 -70
- package/src/lib/components/QCompanyermissionList/src/editTree.vue +0 -291
- package/src/lib/components/QCompanyermissionList/src/form.vue +0 -238
- package/src/lib/components/QCompanyermissionList/src/index.vue +0 -309
- package/src/lib/components/QCompanyermissionList/src/types.ts +0 -44
|
@@ -1,125 +1,124 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="page-list">
|
|
3
|
-
<q-list-layout ref="listLayoutRef" :pageData="pageData" :apiUrls="apiUrls" />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script lang="ts">
|
|
8
|
-
//JS引入
|
|
9
|
-
import { defineComponent, reactive, inject } from 'vue'
|
|
10
|
-
|
|
11
|
-
//hook
|
|
12
|
-
import { useConfigData } from './useConfigData'
|
|
13
|
-
import { useConigApiMethods } from '../../../utils/global.hook'
|
|
14
|
-
import { useMethods } from './useMethods'
|
|
15
|
-
//组件
|
|
16
|
-
|
|
17
|
-
//ts
|
|
18
|
-
import { INJECT_HTTP, HttpClient, MapObjectNoneType } from '../../../utils/global.types'
|
|
19
|
-
|
|
20
|
-
export default defineComponent({
|
|
21
|
-
name: 'QsysConfigList',
|
|
22
|
-
|
|
23
|
-
props: {
|
|
24
|
-
userInfo: {
|
|
25
|
-
type: Object,
|
|
26
|
-
defalut: () => {
|
|
27
|
-
return {}
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
setup() {
|
|
33
|
-
//inject
|
|
34
|
-
|
|
35
|
-
//常量
|
|
36
|
-
|
|
37
|
-
/*
|
|
38
|
-
data
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
const { apiUrls, currentEditRow, listLayoutRef } = useConfigData()
|
|
42
|
-
const qHttp = inject(INJECT_HTTP) as HttpClient
|
|
43
|
-
const { handlUniversal } = useConigApiMethods(qHttp)
|
|
44
|
-
const { allowEnable } = useMethods()
|
|
45
|
-
const pageData = reactive({
|
|
46
|
-
statusConfig: {
|
|
47
|
-
show: false,
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
attrs: {},
|
|
51
|
-
extend: {},
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
buttonConfig: {
|
|
55
|
-
attrs: {},
|
|
56
|
-
extend: {},
|
|
57
|
-
buttons: [
|
|
58
|
-
// { authorityCode: 'template#templateHead:batchGenerateConfig', label: '批量生成配置', icon: 'download', click: batchGeneratorConfig },
|
|
59
|
-
// { label: '列自定义', icon: 'setting', clickFn: this.settingColumns },
|
|
60
|
-
// { authorityCode: 'template#templateHead:exportJson', label: '导出', icon: 'download', folded: true, click: handleExportJson },
|
|
61
|
-
// { authorityCode: 'template#templateHead:importJson', label: '导入', icon: 'import', folded: true, click: handleImportJson },
|
|
62
|
-
// { label: '帮助说明', icon: 'file-text', folded: true, isDocument: true, clickFn: this.showHelpText },
|
|
63
|
-
// { label: '说明附件', icon: 'file-pdf', folded: true, isDocument: true, clickFn: this.showHelpPDF },
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
queryConfig: {
|
|
67
|
-
attrs: {},
|
|
68
|
-
extend: {},
|
|
69
|
-
|
|
70
|
-
form: [
|
|
71
|
-
{
|
|
72
|
-
type: 'select',
|
|
73
|
-
label: '业务类型',
|
|
74
|
-
dictCode: 'srmBusinessType',
|
|
75
|
-
fieldName: 'businessType',
|
|
76
|
-
placeholder: '请选择业务类型',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
type: 'input',
|
|
80
|
-
label: '模板名称',
|
|
81
|
-
fieldName: 'templateName',
|
|
82
|
-
placeholder: '请输入模板名称',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
type: 'input',
|
|
86
|
-
label: '模板编号',
|
|
87
|
-
fieldName: 'templateNumber',
|
|
88
|
-
placeholder: '请输入表格编码',
|
|
89
|
-
},
|
|
90
|
-
],
|
|
91
|
-
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="page-list">
|
|
3
|
+
<q-list-layout ref="listLayoutRef" :pageData="pageData" :apiUrls="apiUrls" />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script lang="ts">
|
|
8
|
+
//JS引入
|
|
9
|
+
import { defineComponent, reactive, inject } from 'vue'
|
|
10
|
+
|
|
11
|
+
//hook
|
|
12
|
+
import { useConfigData } from './useConfigData'
|
|
13
|
+
import { useConigApiMethods } from '../../../utils/global.hook'
|
|
14
|
+
import { useMethods } from './useMethods'
|
|
15
|
+
//组件
|
|
16
|
+
|
|
17
|
+
//ts
|
|
18
|
+
import { INJECT_HTTP, HttpClient, MapObjectNoneType } from '../../../utils/global.types'
|
|
19
|
+
|
|
20
|
+
export default defineComponent({
|
|
21
|
+
name: 'QsysConfigList',
|
|
22
|
+
|
|
23
|
+
props: {
|
|
24
|
+
userInfo: {
|
|
25
|
+
type: Object,
|
|
26
|
+
defalut: () => {
|
|
27
|
+
return {}
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
setup() {
|
|
33
|
+
//inject
|
|
34
|
+
|
|
35
|
+
//常量
|
|
36
|
+
|
|
37
|
+
/*
|
|
38
|
+
data
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
const { apiUrls, currentEditRow, listLayoutRef } = useConfigData()
|
|
42
|
+
const qHttp = inject(INJECT_HTTP) as HttpClient
|
|
43
|
+
const { handlUniversal } = useConigApiMethods(qHttp)
|
|
44
|
+
const { allowEnable } = useMethods()
|
|
45
|
+
const pageData = reactive({
|
|
46
|
+
statusConfig: {
|
|
47
|
+
show: false,
|
|
48
|
+
},
|
|
49
|
+
optionConfig: {
|
|
50
|
+
attrs: {},
|
|
51
|
+
extend: {},
|
|
52
|
+
options: [{ authorityCode: 'template#templateHead:addBy100000', type: 'edit', title: '添加至企业级', click: handleCustomAdd, allow: allowEnable }],
|
|
53
|
+
},
|
|
54
|
+
buttonConfig: {
|
|
55
|
+
attrs: {},
|
|
56
|
+
extend: {},
|
|
57
|
+
buttons: [
|
|
58
|
+
// { authorityCode: 'template#templateHead:batchGenerateConfig', label: '批量生成配置', icon: 'download', click: batchGeneratorConfig },
|
|
59
|
+
// { label: '列自定义', icon: 'setting', clickFn: this.settingColumns },
|
|
60
|
+
// { authorityCode: 'template#templateHead:exportJson', label: '导出', icon: 'download', folded: true, click: handleExportJson },
|
|
61
|
+
// { authorityCode: 'template#templateHead:importJson', label: '导入', icon: 'import', folded: true, click: handleImportJson },
|
|
62
|
+
// { label: '帮助说明', icon: 'file-text', folded: true, isDocument: true, clickFn: this.showHelpText },
|
|
63
|
+
// { label: '说明附件', icon: 'file-pdf', folded: true, isDocument: true, clickFn: this.showHelpPDF },
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
queryConfig: {
|
|
67
|
+
attrs: {},
|
|
68
|
+
extend: {},
|
|
69
|
+
|
|
70
|
+
form: [
|
|
71
|
+
{
|
|
72
|
+
type: 'select',
|
|
73
|
+
label: '业务类型',
|
|
74
|
+
dictCode: 'srmBusinessType',
|
|
75
|
+
fieldName: 'businessType',
|
|
76
|
+
placeholder: '请选择业务类型',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
type: 'input',
|
|
80
|
+
label: '模板名称',
|
|
81
|
+
fieldName: 'templateName',
|
|
82
|
+
placeholder: '请输入模板名称',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: 'input',
|
|
86
|
+
label: '模板编号',
|
|
87
|
+
fieldName: 'templateNumber',
|
|
88
|
+
placeholder: '请输入表格编码',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
pagerConfig: {},
|
|
93
|
+
})
|
|
94
|
+
//computed
|
|
95
|
+
|
|
96
|
+
/*
|
|
97
|
+
method
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
function handleCustomAdd({ row = {} as MapObjectNoneType }) {
|
|
101
|
+
handlUniversal({
|
|
102
|
+
url: apiUrls.value.copyData,
|
|
103
|
+
row,
|
|
104
|
+
type: 'get',
|
|
105
|
+
tip: '是否需要添加到企业级',
|
|
106
|
+
afterCallback() {
|
|
107
|
+
listLayoutRef.value.fetchListData()
|
|
108
|
+
},
|
|
109
|
+
})
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return {
|
|
113
|
+
pageData,
|
|
114
|
+
apiUrls,
|
|
115
|
+
currentEditRow,
|
|
116
|
+
listLayoutRef,
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
})
|
|
120
|
+
</script>
|
|
121
|
+
|
|
122
|
+
<style lang="less" scoped>
|
|
123
|
+
@import url(../style/index.less);
|
|
124
|
+
</style>
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import * as QcustomConfigEdit from './QcustomConfigEdit/src/QcustomConfigEdit.vue'
|
|
2
|
-
import * as QcustomConfigList from './QcustomConfigList/src/QcustomConfigList.vue'
|
|
3
|
-
import * as QsysConfigList from './QsysConfigList/src/QsysConfigList.vue'
|
|
4
|
-
import * as QLoginLogList from './loginLogList/src/index.vue'
|
|
5
|
-
import * as QOperateLogList from './operateLogList/src/index.vue'
|
|
6
|
-
import * as QLoginSupplierLogList from './loginSupplierLogList/src/index.vue'
|
|
7
|
-
import * as QLoginAbnormalLogList from './loginAbnormalLogList/src/index.vue'
|
|
8
|
-
import * as QIntegratedNodesList from './integratedNodesList/src/index.vue'
|
|
9
|
-
import * as QIntegratedNodesEdit from './integratedNodesList/src/QIntegratedNodesEdit.vue'
|
|
10
|
-
import * as QIntegratedNodesDetail from './integratedNodesList/src/QIntegratedNodesDetail.vue'
|
|
11
|
-
import * as QIntegratedReportList from './integratedReportList/src/index.vue'
|
|
12
|
-
import * as QIntegratedReportSearchList from './integratedReportSearchList/src/index.vue'
|
|
13
|
-
import * as QPasswordSecurityPolicy from './QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue'
|
|
14
|
-
import * as QI18nList from './QI18nList/src/QI18nList.vue'
|
|
15
|
-
import * as QSupplierAccountList from './QSupplierAccountList/src/QSupplierAccountList.vue'
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as QAccountDetail from './QAccountList/src/QAccountDetail.vue'
|
|
20
|
-
import * as QRoleList from './QRoleList/src/QRoleList.vue'
|
|
21
|
-
import * as QPermissionDataList from './QPermissionDataList/src/QPermissionDataList.vue'
|
|
22
|
-
import * as QPermissionDataEdit from './QPermissionDataList/src/QPermissionDataEdit.vue'
|
|
23
|
-
import * as QPermissionDataAuth from './QPermissionDataList/src/QPermissionDataAuth.vue'
|
|
24
|
-
import * as QPurchaseNoticeTemplateList from './QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue'
|
|
25
|
-
import * as QElsTenantPortalNewsList from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue'
|
|
26
|
-
import * as QElsTenantPortalNewsEdit from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue'
|
|
27
|
-
import * as QElsTenantPortalNewsDetail from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue'
|
|
28
|
-
import * as QPurchaseNoticeList from './QPurchaseNoticeList/src/QPurchaseNoticeList.vue'
|
|
29
|
-
import * as QPurchaseNoticeEdit from './QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue'
|
|
30
|
-
import * as QPurchaseNoticeDetail from './QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue'
|
|
31
|
-
import * as QElsMsgRecordList from './QElsMsgRecordList/src/QElsMsgRecordList.vue'
|
|
32
|
-
import * as QElsMsgRecordDetail from './QElsMsgRecordList/src/QElsMsgRecordDetail.vue'
|
|
33
|
-
import * as QImChatGroupList from './QImChatGroupList/src/QImChatGroupList.vue'
|
|
34
|
-
import * as QElsEmailSendLogList from './QElsEmailSendLogList/src/QElsEmailSendLogList.vue'
|
|
35
|
-
import * as QQuartzJobList from './QQuartzJobList/src/QQuartzJobList.vue'
|
|
36
|
-
import * as QBackgroundFileTaskList from './QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue'
|
|
37
|
-
import * as QMqRecordList from './QMqRecordList/src/QMqRecordList.vue'
|
|
38
|
-
import * as QUsageList from './QUsageList/src/QUsageList.vue'
|
|
39
|
-
export {
|
|
40
|
-
QcustomConfigEdit,
|
|
41
|
-
QcustomConfigList,
|
|
42
|
-
QsysConfigList,
|
|
43
|
-
QLoginLogList,
|
|
44
|
-
QOperateLogList,
|
|
45
|
-
QLoginSupplierLogList,
|
|
46
|
-
QLoginAbnormalLogList,
|
|
47
|
-
QIntegratedNodesList,
|
|
48
|
-
QIntegratedNodesEdit,
|
|
49
|
-
QIntegratedNodesDetail,
|
|
50
|
-
QIntegratedReportList,
|
|
51
|
-
QIntegratedReportSearchList,
|
|
52
|
-
QPasswordSecurityPolicy,
|
|
53
|
-
QI18nList,
|
|
54
|
-
QSupplierAccountList,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
QAccountDetail,
|
|
59
|
-
QRoleList,
|
|
60
|
-
QPermissionDataList,
|
|
61
|
-
QPermissionDataEdit,
|
|
62
|
-
QPermissionDataAuth,
|
|
63
|
-
QPurchaseNoticeTemplateList,
|
|
64
|
-
QElsTenantPortalNewsList,
|
|
65
|
-
QElsTenantPortalNewsEdit,
|
|
66
|
-
QElsTenantPortalNewsDetail,
|
|
67
|
-
QPurchaseNoticeList,
|
|
68
|
-
QPurchaseNoticeEdit,
|
|
69
|
-
QPurchaseNoticeDetail,
|
|
70
|
-
QElsMsgRecordList,
|
|
71
|
-
QElsMsgRecordDetail,
|
|
72
|
-
QImChatGroupList,
|
|
73
|
-
QElsEmailSendLogList,
|
|
74
|
-
QQuartzJobList,
|
|
75
|
-
QBackgroundFileTaskList,
|
|
76
|
-
QMqRecordList,
|
|
77
|
-
QUsageList,
|
|
78
|
-
}
|
|
1
|
+
import * as QcustomConfigEdit from './QcustomConfigEdit/src/QcustomConfigEdit.vue'
|
|
2
|
+
import * as QcustomConfigList from './QcustomConfigList/src/QcustomConfigList.vue'
|
|
3
|
+
import * as QsysConfigList from './QsysConfigList/src/QsysConfigList.vue'
|
|
4
|
+
import * as QLoginLogList from './loginLogList/src/index.vue'
|
|
5
|
+
import * as QOperateLogList from './operateLogList/src/index.vue'
|
|
6
|
+
import * as QLoginSupplierLogList from './loginSupplierLogList/src/index.vue'
|
|
7
|
+
import * as QLoginAbnormalLogList from './loginAbnormalLogList/src/index.vue'
|
|
8
|
+
import * as QIntegratedNodesList from './integratedNodesList/src/index.vue'
|
|
9
|
+
import * as QIntegratedNodesEdit from './integratedNodesList/src/QIntegratedNodesEdit.vue'
|
|
10
|
+
import * as QIntegratedNodesDetail from './integratedNodesList/src/QIntegratedNodesDetail.vue'
|
|
11
|
+
import * as QIntegratedReportList from './integratedReportList/src/index.vue'
|
|
12
|
+
import * as QIntegratedReportSearchList from './integratedReportSearchList/src/index.vue'
|
|
13
|
+
import * as QPasswordSecurityPolicy from './QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue'
|
|
14
|
+
import * as QI18nList from './QI18nList/src/QI18nList.vue'
|
|
15
|
+
import * as QSupplierAccountList from './QSupplierAccountList/src/QSupplierAccountList.vue'
|
|
16
|
+
import * as QAccountList from './QAccountList/src/QAccountList.vue'
|
|
17
|
+
import * as QAccountEdit from './QAccountList/src/QAccountEdit.vue'
|
|
18
|
+
import * as QAccountCreate from './QAccountList/src/QAccountCreate.vue'
|
|
19
|
+
import * as QAccountDetail from './QAccountList/src/QAccountDetail.vue'
|
|
20
|
+
import * as QRoleList from './QRoleList/src/QRoleList.vue'
|
|
21
|
+
import * as QPermissionDataList from './QPermissionDataList/src/QPermissionDataList.vue'
|
|
22
|
+
import * as QPermissionDataEdit from './QPermissionDataList/src/QPermissionDataEdit.vue'
|
|
23
|
+
import * as QPermissionDataAuth from './QPermissionDataList/src/QPermissionDataAuth.vue'
|
|
24
|
+
import * as QPurchaseNoticeTemplateList from './QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue'
|
|
25
|
+
import * as QElsTenantPortalNewsList from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue'
|
|
26
|
+
import * as QElsTenantPortalNewsEdit from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue'
|
|
27
|
+
import * as QElsTenantPortalNewsDetail from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue'
|
|
28
|
+
import * as QPurchaseNoticeList from './QPurchaseNoticeList/src/QPurchaseNoticeList.vue'
|
|
29
|
+
import * as QPurchaseNoticeEdit from './QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue'
|
|
30
|
+
import * as QPurchaseNoticeDetail from './QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue'
|
|
31
|
+
import * as QElsMsgRecordList from './QElsMsgRecordList/src/QElsMsgRecordList.vue'
|
|
32
|
+
import * as QElsMsgRecordDetail from './QElsMsgRecordList/src/QElsMsgRecordDetail.vue'
|
|
33
|
+
import * as QImChatGroupList from './QImChatGroupList/src/QImChatGroupList.vue'
|
|
34
|
+
import * as QElsEmailSendLogList from './QElsEmailSendLogList/src/QElsEmailSendLogList.vue'
|
|
35
|
+
import * as QQuartzJobList from './QQuartzJobList/src/QQuartzJobList.vue'
|
|
36
|
+
import * as QBackgroundFileTaskList from './QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue'
|
|
37
|
+
import * as QMqRecordList from './QMqRecordList/src/QMqRecordList.vue'
|
|
38
|
+
import * as QUsageList from './QUsageList/src/QUsageList.vue'
|
|
39
|
+
export {
|
|
40
|
+
QcustomConfigEdit,
|
|
41
|
+
QcustomConfigList,
|
|
42
|
+
QsysConfigList,
|
|
43
|
+
QLoginLogList,
|
|
44
|
+
QOperateLogList,
|
|
45
|
+
QLoginSupplierLogList,
|
|
46
|
+
QLoginAbnormalLogList,
|
|
47
|
+
QIntegratedNodesList,
|
|
48
|
+
QIntegratedNodesEdit,
|
|
49
|
+
QIntegratedNodesDetail,
|
|
50
|
+
QIntegratedReportList,
|
|
51
|
+
QIntegratedReportSearchList,
|
|
52
|
+
QPasswordSecurityPolicy,
|
|
53
|
+
QI18nList,
|
|
54
|
+
QSupplierAccountList,
|
|
55
|
+
QAccountList,
|
|
56
|
+
QAccountEdit,
|
|
57
|
+
QAccountCreate,
|
|
58
|
+
QAccountDetail,
|
|
59
|
+
QRoleList,
|
|
60
|
+
QPermissionDataList,
|
|
61
|
+
QPermissionDataEdit,
|
|
62
|
+
QPermissionDataAuth,
|
|
63
|
+
QPurchaseNoticeTemplateList,
|
|
64
|
+
QElsTenantPortalNewsList,
|
|
65
|
+
QElsTenantPortalNewsEdit,
|
|
66
|
+
QElsTenantPortalNewsDetail,
|
|
67
|
+
QPurchaseNoticeList,
|
|
68
|
+
QPurchaseNoticeEdit,
|
|
69
|
+
QPurchaseNoticeDetail,
|
|
70
|
+
QElsMsgRecordList,
|
|
71
|
+
QElsMsgRecordDetail,
|
|
72
|
+
QImChatGroupList,
|
|
73
|
+
QElsEmailSendLogList,
|
|
74
|
+
QQuartzJobList,
|
|
75
|
+
QBackgroundFileTaskList,
|
|
76
|
+
QMqRecordList,
|
|
77
|
+
QUsageList,
|
|
78
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="edit-page">
|
|
3
3
|
<a-spin :spinning="customLoading">
|
|
4
|
-
<q-edit-page-layout ref="layoutRef" v-bind="options" @customSave="handleCustomSave" @validate-success="handleValidateSuccess"
|
|
4
|
+
<q-edit-page-layout ref="layoutRef" v-bind="options" @customSave="handleCustomSave" @validate-success="handleValidateSuccess"></q-edit-page-layout>
|
|
5
5
|
</a-spin>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -115,11 +115,9 @@ const options = reactive<Partial<GlobalPageLayoutTypes.EditPageLayoutProps>>({
|
|
|
115
115
|
},
|
|
116
116
|
],
|
|
117
117
|
})
|
|
118
|
-
const pageButtons = options.pageButtons as GlobalPageLayoutTypes.PageButton[]
|
|
119
|
-
const refreshMethods = options.refreshMethods
|
|
120
118
|
|
|
121
119
|
const { pageData, layoutConfig, defaultValues } = useRefInstanceHook(layoutRef)
|
|
122
|
-
const { stepTriggerValidate, composeSave, customLoading } = usePromiseStepHook({ pageData, layoutConfig, defaultValues,
|
|
120
|
+
const { stepTriggerValidate, composeSave, customLoading } = usePromiseStepHook({ pageData, layoutConfig, defaultValues, options })
|
|
123
121
|
|
|
124
122
|
// 自定义保存
|
|
125
123
|
const handleCustomSave = () => {
|
|
@@ -134,10 +132,4 @@ const handleValidateSuccess = (button: GlobalPageLayoutTypes.PageButton) => {
|
|
|
134
132
|
}
|
|
135
133
|
|
|
136
134
|
// 页面刷新
|
|
137
|
-
const handleRefresh = () => {
|
|
138
|
-
console.log('refresh :>> ')
|
|
139
|
-
if (options.currentRow) {
|
|
140
|
-
options.currentRow._t = +new Date()
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
135
|
</script>
|