@qqt-product/system 0.0.1
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/.eslintignore +4 -0
- package/.eslintrc.cjs +22 -0
- package/.prettierignore +4 -0
- package/.prettierrc.cjs +41 -0
- package/.vscode/extensions.json +3 -0
- package/README.md +16 -0
- package/dist/index.es.d.ts +1 -0
- package/dist/index.es.js +14234 -0
- package/dist/index.umd.js +311 -0
- package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +143 -0
- package/dist/lib/components/QAccountList/src/useConfigData.d.ts +37 -0
- package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +66 -0
- package/dist/lib/components/QBackgroundFileTaskList/src/useConfigData.d.ts +14 -0
- package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +80 -0
- package/dist/lib/components/QCompanyermissionList/src/types.d.ts +44 -0
- package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +68 -0
- package/dist/lib/components/QElsEmailSendLogList/src/useConfigData.d.ts +13 -0
- package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +72 -0
- package/dist/lib/components/QElsMsgRecordList/src/useConfigData.d.ts +16 -0
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +75 -0
- package/dist/lib/components/QI18nList/src/QI18nForm.vue.d.ts +47 -0
- package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +136 -0
- package/dist/lib/components/QI18nList/src/useConfigData.d.ts +31 -0
- package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +61 -0
- package/dist/lib/components/QImChatGroupList/src/useConfigData.d.ts +11 -0
- package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +60 -0
- package/dist/lib/components/QMqRecordList/src/useConfigData.d.ts +12 -0
- package/dist/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue.d.ts +49 -0
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue.d.ts +3 -0
- package/dist/lib/components/QPermissionDataList/src/form.vue.d.ts +50 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +86 -0
- package/dist/lib/components/QPurchaseNoticeList/src/useConfigData.d.ts +15 -0
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +47 -0
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.d.ts +12 -0
- package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +129 -0
- package/dist/lib/components/QQuartzJobList/src/components/JCron.vue.d.ts +23 -0
- package/dist/lib/components/QQuartzJobList/src/components/JCronModal.vue.d.ts +100 -0
- package/dist/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue.d.ts +55 -0
- package/dist/lib/components/QQuartzJobList/src/useConfigData.d.ts +20 -0
- package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +100 -0
- package/dist/lib/components/QRoleList/src/components/content-header/index.d.ts +23 -0
- package/dist/lib/components/QRoleList/src/components/userAuthorization/index.d.ts +79 -0
- package/dist/lib/components/QRoleList/src/useConfigData.d.ts +30 -0
- package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue.d.ts +55 -0
- package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +104 -0
- package/dist/lib/components/QSupplierAccountList/src/useConfigData.d.ts +29 -0
- package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +49 -0
- package/dist/lib/components/QUsageList/src/useConfigData.d.ts +14 -0
- package/dist/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue.d.ts +31 -0
- package/dist/lib/components/QcustomConfigEdit/component/dataFormatComponent.d.ts +46 -0
- package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +41 -0
- package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigRender.d.ts +12 -0
- package/dist/lib/components/QcustomConfigEdit/src/types.d.ts +61 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigComputed.d.ts +7 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +85 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigMethods.d.ts +16 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConstant.d.ts +18 -0
- package/dist/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue.d.ts +50 -0
- package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +112 -0
- package/dist/lib/components/QcustomConfigList/src/useConfigData.d.ts +17 -0
- package/dist/lib/components/QcustomConfigList/src/useMethods.d.ts +15 -0
- package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +66 -0
- package/dist/lib/components/QsysConfigList/src/useConfigData.d.ts +11 -0
- package/dist/lib/components/QsysConfigList/src/useMethods.d.ts +6 -0
- package/dist/lib/components/index.d.ts +39 -0
- package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +107 -0
- package/dist/lib/components/integratedReportList/src/index.vue.d.ts +70 -0
- package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +61 -0
- package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +46 -0
- package/dist/lib/components/loginLogList/src/index.vue.d.ts +45 -0
- package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +45 -0
- package/dist/lib/components/operateLogList/src/index.vue.d.ts +53 -0
- package/dist/lib/index.d.ts +6 -0
- package/dist/lib/utils/global.hook.d.ts +31 -0
- package/dist/lib/utils/global.types.d.ts +41 -0
- package/dist/lib/utils/regexp.d.ts +27 -0
- package/dist/style.css +1 -0
- package/dist/vite-env.d.ts +13 -0
- package/dist/vite.svg +1 -0
- package/index.html +13 -0
- package/package.json +65 -0
- package/public/vite.svg +1 -0
- package/src/App.vue +8 -0
- package/src/lib/components/QAccountList/index.ts +6 -0
- package/src/lib/components/QAccountList/src/QAccountDetail.vue +191 -0
- package/src/lib/components/QAccountList/src/QAccountEdit.vue +241 -0
- package/src/lib/components/QAccountList/src/QAccountList.vue +530 -0
- package/src/lib/components/QAccountList/src/useConfigData.ts +53 -0
- package/src/lib/components/QBackgroundFileTaskList/index.ts +6 -0
- package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +137 -0
- package/src/lib/components/QBackgroundFileTaskList/src/useConfigData.ts +20 -0
- package/src/lib/components/QCompanyermissionList/src/editTree.vue +291 -0
- package/src/lib/components/QCompanyermissionList/src/form.vue +238 -0
- package/src/lib/components/QCompanyermissionList/src/index.vue +309 -0
- package/src/lib/components/QCompanyermissionList/src/types.ts +44 -0
- package/src/lib/components/QElsEmailSendLogList/index.ts +6 -0
- package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +166 -0
- package/src/lib/components/QElsEmailSendLogList/src/useConfigData.ts +19 -0
- package/src/lib/components/QElsMsgRecordList/index.ts +6 -0
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue +148 -0
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +124 -0
- package/src/lib/components/QElsMsgRecordList/src/useConfigData.ts +22 -0
- package/src/lib/components/QElsTenantPortalNewsList/index.ts +6 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue +139 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +196 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +122 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/useConfigData.ts +20 -0
- package/src/lib/components/QI18nList/index.ts +6 -0
- package/src/lib/components/QI18nList/src/QI18nForm.vue +141 -0
- package/src/lib/components/QI18nList/src/QI18nList.vue +361 -0
- package/src/lib/components/QI18nList/src/useConfigData.ts +37 -0
- package/src/lib/components/QImChatGroupList/index.ts +6 -0
- package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +94 -0
- package/src/lib/components/QImChatGroupList/src/useConfigData.ts +17 -0
- package/src/lib/components/QMqRecordList/index.ts +6 -0
- package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +105 -0
- package/src/lib/components/QMqRecordList/src/useConfigData.ts +18 -0
- package/src/lib/components/QPasswordSecurityPolicy/index.ts +6 -0
- package/src/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue +266 -0
- package/src/lib/components/QPermissionDataList/index.ts +6 -0
- package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +3 -0
- package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +221 -0
- package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +117 -0
- package/src/lib/components/QPermissionDataList/src/form.vue +109 -0
- package/src/lib/components/QPurchaseNoticeList/index.ts +6 -0
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +147 -0
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +244 -0
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +163 -0
- package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +22 -0
- package/src/lib/components/QPurchaseNoticeTemplateList/index.ts +6 -0
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +85 -0
- package/src/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.ts +18 -0
- package/src/lib/components/QQuartzJobList/index.ts +6 -0
- package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +263 -0
- package/src/lib/components/QQuartzJobList/src/components/JCron.vue +82 -0
- package/src/lib/components/QQuartzJobList/src/components/JCronModal.vue +985 -0
- package/src/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue +176 -0
- package/src/lib/components/QQuartzJobList/src/useConfigData.ts +26 -0
- package/src/lib/components/QRoleList/index.ts +6 -0
- package/src/lib/components/QRoleList/src/QRoleList.vue +288 -0
- package/src/lib/components/QRoleList/src/components/content-header/contentHeader.less +31 -0
- package/src/lib/components/QRoleList/src/components/content-header/index.tsx +42 -0
- package/src/lib/components/QRoleList/src/components/userAuthorization/index.tsx +690 -0
- package/src/lib/components/QRoleList/src/components/userAuthorization/userAuthorization.less +97 -0
- package/src/lib/components/QRoleList/src/useConfigData.ts +33 -0
- package/src/lib/components/QSupplierAccountList/index.ts +6 -0
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue +187 -0
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +302 -0
- package/src/lib/components/QSupplierAccountList/src/useConfigData.ts +29 -0
- package/src/lib/components/QUsageList/index.ts +6 -0
- package/src/lib/components/QUsageList/src/QUsageList.vue +82 -0
- package/src/lib/components/QUsageList/src/useConfigData.ts +20 -0
- package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +140 -0
- package/src/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue +100 -0
- package/src/lib/components/QcustomConfigEdit/component/dataFormatComponent.tsx +100 -0
- package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +71 -0
- package/src/lib/components/QcustomConfigEdit/index.ts +6 -0
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +1807 -0
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +242 -0
- package/src/lib/components/QcustomConfigEdit/src/types.ts +71 -0
- package/src/lib/components/QcustomConfigEdit/src/useConfigComputed.ts +75 -0
- package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +123 -0
- package/src/lib/components/QcustomConfigEdit/src/useConfigMethods.ts +117 -0
- package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +301 -0
- package/src/lib/components/QcustomConfigEdit/style/index.less +41 -0
- package/src/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue +135 -0
- package/src/lib/components/QcustomConfigList/index.ts +6 -0
- package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +268 -0
- package/src/lib/components/QcustomConfigList/src/types.ts +1 -0
- package/src/lib/components/QcustomConfigList/src/useConfigData.ts +23 -0
- package/src/lib/components/QcustomConfigList/src/useMethods.ts +36 -0
- package/src/lib/components/QcustomConfigList/style/index.less +3 -0
- package/src/lib/components/QsysConfigList/index.ts +6 -0
- package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +125 -0
- package/src/lib/components/QsysConfigList/src/types.ts +1 -0
- package/src/lib/components/QsysConfigList/src/useConfigData.ts +17 -0
- package/src/lib/components/QsysConfigList/src/useMethods.ts +11 -0
- package/src/lib/components/QsysConfigList/style/index.less +3 -0
- package/src/lib/components/index.ts +78 -0
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue +49 -0
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +143 -0
- package/src/lib/components/integratedNodesList/src/index.vue +136 -0
- package/src/lib/components/integratedReportList/src/index.vue +86 -0
- package/src/lib/components/integratedReportSearchList/src/index.vue +66 -0
- package/src/lib/components/loginAbnormalLogList/src/index.vue +50 -0
- package/src/lib/components/loginLogList/src/index.vue +57 -0
- package/src/lib/components/loginSupplierLogList/src/index.vue +63 -0
- package/src/lib/components/operateLogList/src/index.vue +57 -0
- package/src/lib/index.ts +15 -0
- package/src/lib/utils/constant.ts +1 -0
- package/src/lib/utils/global.hook.ts +337 -0
- package/src/lib/utils/global.types.ts +49 -0
- package/src/lib/utils/regexp.ts +143 -0
- package/src/main.ts +11 -0
- package/src/vite-env.d.ts +13 -0
- package/tsconfig.json +24 -0
- package/tsconfig.node.json +9 -0
- package/vite.config.ts +61 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="page-list">
|
|
3
|
+
<q-list-layout ref="listLayoutRef" v-if="!showEditPage" :pageData="pageData" :apiUrls="apiUrls" />
|
|
4
|
+
<QcustomConfigEdit :busAccount="userInfo?.userInfo?.elsAccount" :currentEditRow="currentEditRow" @handleReturn="handleReturn" v-else />
|
|
5
|
+
<ImportJsonCustomConfig :isShow="uploadShow" :userToken="userInfo?.token" @close="uploadClose" />
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script lang="ts">
|
|
10
|
+
//JS引入
|
|
11
|
+
import { defineComponent, reactive, inject, nextTick } from 'vue'
|
|
12
|
+
|
|
13
|
+
//hook
|
|
14
|
+
import { useConfigData } from './useConfigData'
|
|
15
|
+
import { useConigApiMethods } from '../../../utils/global.hook'
|
|
16
|
+
import { useMethods } from './useMethods'
|
|
17
|
+
//组件
|
|
18
|
+
import QcustomConfigEdit from '../../QcustomConfigEdit/src/QcustomConfigEdit.vue'
|
|
19
|
+
import { message } from '@qqt-product/ui'
|
|
20
|
+
import ImportJsonCustomConfig from '../../QcustomConfigList/component/ImportJsonCustomConfig.vue'
|
|
21
|
+
//ts
|
|
22
|
+
import { INJECT_HTTP, HttpClient, MapObjectNoneType } from '../../../utils/global.types'
|
|
23
|
+
|
|
24
|
+
export default defineComponent({
|
|
25
|
+
name: 'QcustomConfigList',
|
|
26
|
+
components: {
|
|
27
|
+
QcustomConfigEdit,
|
|
28
|
+
ImportJsonCustomConfig,
|
|
29
|
+
},
|
|
30
|
+
props: {
|
|
31
|
+
userInfo: {
|
|
32
|
+
type: Object,
|
|
33
|
+
defalut: () => {
|
|
34
|
+
return {}
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
setup() {
|
|
40
|
+
//inject
|
|
41
|
+
|
|
42
|
+
//常量
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
data
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
const { apiUrls, currentEditRow, showEditPage, listLayoutRef, uploadShow } = useConfigData()
|
|
49
|
+
const qHttp = inject(INJECT_HTTP) as HttpClient
|
|
50
|
+
const { handleExport, handleCopy, handleCancel, handleDelete, handleUpgrade } = useConigApiMethods(qHttp)
|
|
51
|
+
const { allowCancel, allowDelete, allowEdit, allowUpgrade } = useMethods()
|
|
52
|
+
const pageData = reactive({
|
|
53
|
+
statusConfig: {
|
|
54
|
+
show: false,
|
|
55
|
+
},
|
|
56
|
+
optColumn: {
|
|
57
|
+
attrs: {},
|
|
58
|
+
extend: {},
|
|
59
|
+
optColumnList: [
|
|
60
|
+
{ authorityCode: 'template#templateHead:edit', type: 'edit', title: '编辑', click: handleEdit, allow: allowEdit },
|
|
61
|
+
{ authorityCode: 'template#templateHead:copyById', type: 'copyById', title: '复制', click: handleCusotmCopy },
|
|
62
|
+
{ authorityCode: 'template#templateHead:cancel', type: 'cancel', title: '作废', click: handleCustomCancel, allow: allowCancel },
|
|
63
|
+
{ authorityCode: 'template#templateHead:delete', type: 'delete', title: `删除`, click: handleCustomDetel, allow: allowDelete },
|
|
64
|
+
{ authorityCode: 'template#templateHead:upload', type: 'upload', title: '文件上传', click: uploadFile, allow: allowUpgrade },
|
|
65
|
+
{ authorityCode: 'template#templateHead:upgradeVersion', type: 'upgradeVersion', title: '版本升级', click: handleCustomUpgrade, allow: allowUpgrade },
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
buttonConfig: {
|
|
69
|
+
attrs: {},
|
|
70
|
+
extend: {},
|
|
71
|
+
buttons: [
|
|
72
|
+
{
|
|
73
|
+
authorityCode: 'template#templateHead:add',
|
|
74
|
+
label: '新增',
|
|
75
|
+
icon: {
|
|
76
|
+
type: 'icon-Q-add',
|
|
77
|
+
},
|
|
78
|
+
click: handleAdd,
|
|
79
|
+
attrs: {
|
|
80
|
+
type: 'primary',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
{ authorityCode: 'template#templateHead:batchGenerateConfig', label: '批量生成配置', icon: 'download', click: batchGeneratorConfig },
|
|
84
|
+
// { label: '列自定义', icon: 'setting', clickFn: this.settingColumns },
|
|
85
|
+
{ authorityCode: 'template#templateHead:exportJson', label: '导出', icon: 'download', folded: true, click: handleExportJson },
|
|
86
|
+
{ authorityCode: 'template#templateHead:importJson', label: '导入', icon: 'import', folded: true, click: handleImportJson },
|
|
87
|
+
// { label: '帮助说明', icon: 'file-text', folded: true, isDocument: true, clickFn: this.showHelpText },
|
|
88
|
+
// { label: '说明附件', icon: 'file-pdf', folded: true, isDocument: true, clickFn: this.showHelpPDF },
|
|
89
|
+
],
|
|
90
|
+
},
|
|
91
|
+
queryConfig: {
|
|
92
|
+
attrs: {},
|
|
93
|
+
extend: {},
|
|
94
|
+
form: [
|
|
95
|
+
{
|
|
96
|
+
type: 'select',
|
|
97
|
+
label: '模板名称',
|
|
98
|
+
dictCode: 'srmBusinessType',
|
|
99
|
+
fieldName: 'businessType',
|
|
100
|
+
placeholder: '请选择业务类型',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
type: 'input',
|
|
104
|
+
label: '模板名称',
|
|
105
|
+
fieldName: 'templateName',
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
formState: {},
|
|
109
|
+
},
|
|
110
|
+
pagerConfig: {},
|
|
111
|
+
})
|
|
112
|
+
//computed
|
|
113
|
+
|
|
114
|
+
/*
|
|
115
|
+
method
|
|
116
|
+
*/
|
|
117
|
+
function handleAdd() {
|
|
118
|
+
currentEditRow.value = {}
|
|
119
|
+
showEditPage.value = true
|
|
120
|
+
}
|
|
121
|
+
function handleReturn() {
|
|
122
|
+
showEditPage.value = false
|
|
123
|
+
}
|
|
124
|
+
function batchGeneratorConfig() {
|
|
125
|
+
listLayoutRef.value.loading = true
|
|
126
|
+
let records = listLayoutRef.value.gridInstance.getCheckboxRecords() || []
|
|
127
|
+
let temIds = records.map((n: MapObjectNoneType) => {
|
|
128
|
+
return n.id
|
|
129
|
+
})
|
|
130
|
+
if (temIds.length == 0) {
|
|
131
|
+
message.warning('请至少选择一个模版进行配置生成!')
|
|
132
|
+
return false
|
|
133
|
+
}
|
|
134
|
+
qHttp
|
|
135
|
+
.post({
|
|
136
|
+
url: apiUrls.value.batchGeneratorConfig,
|
|
137
|
+
data: temIds,
|
|
138
|
+
})
|
|
139
|
+
.then((res: MapObjectNoneType) => {
|
|
140
|
+
if (res.success) {
|
|
141
|
+
message.success(res.message)
|
|
142
|
+
// this.$emit('ok')
|
|
143
|
+
} else {
|
|
144
|
+
message.warning(res.message)
|
|
145
|
+
}
|
|
146
|
+
})
|
|
147
|
+
.finally(() => {
|
|
148
|
+
listLayoutRef.value.loading = false
|
|
149
|
+
listLayoutRef.value.gridInstance.clearCheckboxRow()
|
|
150
|
+
listLayoutRef.value.fetchListData()
|
|
151
|
+
})
|
|
152
|
+
|
|
153
|
+
// console.log('records', listLayoutRef.value.loa)
|
|
154
|
+
// listLayoutRef.value.loading.value = true
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function handleExportJson() {
|
|
158
|
+
handleExport({
|
|
159
|
+
actionType: 'get',
|
|
160
|
+
fileName: '业务模板配置',
|
|
161
|
+
type: 'json',
|
|
162
|
+
exportXlsUrl: apiUrls.value.exportJson,
|
|
163
|
+
setPostParms: () => {
|
|
164
|
+
const records = listLayoutRef.value.gridInstance.getCheckboxRecords() || []
|
|
165
|
+
// 构造查询参数
|
|
166
|
+
let params = !records.length ? Object.assign({}, listLayoutRef.value.pageData.form) : { selections: records.map((n: MapObjectNoneType) => n.id).join(',') }
|
|
167
|
+
// let isOrder = listLayoutRef.value.pageData.isOrder || listLayoutRef.value.pageData.isOrder
|
|
168
|
+
// this.$set(params, 'column', isOrder.column)
|
|
169
|
+
// this.$set(params, 'order', isOrder.order)
|
|
170
|
+
// params.column = isOrder.column
|
|
171
|
+
// params.order = isOrder.order
|
|
172
|
+
return params
|
|
173
|
+
},
|
|
174
|
+
berforCallback() {
|
|
175
|
+
listLayoutRef.value.loading = true
|
|
176
|
+
},
|
|
177
|
+
afterCallback() {
|
|
178
|
+
listLayoutRef.value.loading = false
|
|
179
|
+
},
|
|
180
|
+
})
|
|
181
|
+
}
|
|
182
|
+
function handleImportJson() {
|
|
183
|
+
uploadShow.value = true
|
|
184
|
+
}
|
|
185
|
+
function uploadClose() {
|
|
186
|
+
uploadShow.value = false
|
|
187
|
+
listLayoutRef.value.fetchListData()
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function handleEdit({ row }: MapObjectNoneType) {
|
|
191
|
+
currentEditRow.value = row
|
|
192
|
+
nextTick(() => {
|
|
193
|
+
showEditPage.value = true
|
|
194
|
+
})
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function handleCusotmCopy({ row }: MapObjectNoneType) {
|
|
198
|
+
handleCopy({
|
|
199
|
+
url: apiUrls.value.copyData,
|
|
200
|
+
row,
|
|
201
|
+
type: 'get',
|
|
202
|
+
tip: '确认复制模板',
|
|
203
|
+
afterCallback() {
|
|
204
|
+
listLayoutRef.value.fetchListData()
|
|
205
|
+
},
|
|
206
|
+
})
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
function handleCustomCancel({ row = {} as MapObjectNoneType }) {
|
|
210
|
+
handleCancel({
|
|
211
|
+
url: apiUrls.value.cancel,
|
|
212
|
+
row,
|
|
213
|
+
type: 'get',
|
|
214
|
+
tip: '确认作废模板',
|
|
215
|
+
afterCallback() {
|
|
216
|
+
listLayoutRef.value.fetchListData()
|
|
217
|
+
},
|
|
218
|
+
})
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function handleCustomDetel({ row = {} as MapObjectNoneType }) {
|
|
222
|
+
handleDelete({
|
|
223
|
+
url: apiUrls.value.delete,
|
|
224
|
+
row,
|
|
225
|
+
type: 'get',
|
|
226
|
+
tip: '是否删除选中数据',
|
|
227
|
+
afterCallback() {
|
|
228
|
+
listLayoutRef.value.fetchListData()
|
|
229
|
+
},
|
|
230
|
+
})
|
|
231
|
+
}
|
|
232
|
+
function handleCustomUpgrade({ row = {} as MapObjectNoneType }) {
|
|
233
|
+
handleUpgrade({
|
|
234
|
+
url: apiUrls.value.upgrade,
|
|
235
|
+
row,
|
|
236
|
+
type: 'get',
|
|
237
|
+
tip: '是否需要版本升级',
|
|
238
|
+
afterCallback() {
|
|
239
|
+
listLayoutRef.value.fetchListData()
|
|
240
|
+
},
|
|
241
|
+
})
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
function uploadFile({ row = {} as MapObjectNoneType }) {
|
|
245
|
+
currentEditRow.value = row
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return {
|
|
249
|
+
pageData,
|
|
250
|
+
apiUrls,
|
|
251
|
+
showEditPage,
|
|
252
|
+
currentEditRow,
|
|
253
|
+
handleReturn,
|
|
254
|
+
batchGeneratorConfig,
|
|
255
|
+
listLayoutRef,
|
|
256
|
+
handleExportJson,
|
|
257
|
+
uploadShow,
|
|
258
|
+
handleImportJson,
|
|
259
|
+
uploadClose,
|
|
260
|
+
handleCustomCancel,
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
})
|
|
264
|
+
</script>
|
|
265
|
+
|
|
266
|
+
<style lang="less" scoped>
|
|
267
|
+
@import url(../style/index.less);
|
|
268
|
+
</style>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { shallowRef, reactive, ref } from 'vue'
|
|
2
|
+
// import type { MapObjectNoneType } from './types'
|
|
3
|
+
// import { VxeTableInstance } from 'vxe-table'
|
|
4
|
+
// import type {}
|
|
5
|
+
export function useConfigData() {
|
|
6
|
+
//响应
|
|
7
|
+
|
|
8
|
+
const apiUrls = shallowRef({
|
|
9
|
+
list: '/template/templateHead/list',
|
|
10
|
+
columnsCode: 'TemplateHead',
|
|
11
|
+
delete: '/template/templateHead/delete',
|
|
12
|
+
upgrade: '/template/templateHead/upgradeVersion',
|
|
13
|
+
copyData: '/template/templateHead/copyById',
|
|
14
|
+
cancel: '/template/templateHead/cancel',
|
|
15
|
+
batchGeneratorConfig: '/template/templateHead/batchGenerateConfig',
|
|
16
|
+
exportJson: '/template/templateHead/exportJson',
|
|
17
|
+
})
|
|
18
|
+
const uploadShow = shallowRef<boolean>(false)
|
|
19
|
+
const showEditPage = shallowRef<boolean>(false)
|
|
20
|
+
const currentEditRow = ref({})
|
|
21
|
+
const listLayoutRef = ref()
|
|
22
|
+
return { apiUrls, showEditPage, currentEditRow, listLayoutRef, uploadShow }
|
|
23
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { MapObjectNoneType } from '../../../utils/global.types'
|
|
2
|
+
|
|
3
|
+
export function useMethods() {
|
|
4
|
+
function allowEdit({ row = {} as MapObjectNoneType }) {
|
|
5
|
+
if (row.templateStatus == '1' || row.templateStatus == '0') {
|
|
6
|
+
return false
|
|
7
|
+
}
|
|
8
|
+
return true
|
|
9
|
+
}
|
|
10
|
+
function allowCancel({ row = {} as MapObjectNoneType }) {
|
|
11
|
+
if (row.templateStatus == '1' || row.templateStatus == '0') {
|
|
12
|
+
return false
|
|
13
|
+
}
|
|
14
|
+
return true
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function allowDelete({ row = {} as MapObjectNoneType }) {
|
|
18
|
+
if (row.templateStatus == '0') {
|
|
19
|
+
return false
|
|
20
|
+
}
|
|
21
|
+
return true
|
|
22
|
+
}
|
|
23
|
+
function allowUpgrade({ row = {} as MapObjectNoneType }) {
|
|
24
|
+
if (row.templateStatus == '1') {
|
|
25
|
+
return false
|
|
26
|
+
}
|
|
27
|
+
return true
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
allowEdit,
|
|
32
|
+
allowCancel,
|
|
33
|
+
allowDelete,
|
|
34
|
+
allowUpgrade,
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
optColumn: {
|
|
50
|
+
attrs: {},
|
|
51
|
+
extend: {},
|
|
52
|
+
optColumnList: [{ 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
|
+
formState: {},
|
|
92
|
+
},
|
|
93
|
+
pagerConfig: {},
|
|
94
|
+
})
|
|
95
|
+
//computed
|
|
96
|
+
|
|
97
|
+
/*
|
|
98
|
+
method
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
function handleCustomAdd({ row = {} as MapObjectNoneType }) {
|
|
102
|
+
handlUniversal({
|
|
103
|
+
url: apiUrls.value.copyData,
|
|
104
|
+
row,
|
|
105
|
+
type: 'get',
|
|
106
|
+
tip: '是否需要添加到企业级',
|
|
107
|
+
afterCallback() {
|
|
108
|
+
listLayoutRef.value.fetchListData()
|
|
109
|
+
},
|
|
110
|
+
})
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
pageData,
|
|
115
|
+
apiUrls,
|
|
116
|
+
currentEditRow,
|
|
117
|
+
listLayoutRef,
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
})
|
|
121
|
+
</script>
|
|
122
|
+
|
|
123
|
+
<style lang="less" scoped>
|
|
124
|
+
@import url(../style/index.less);
|
|
125
|
+
</style>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { shallowRef, ref } from 'vue'
|
|
2
|
+
// import type { MapObjectNoneType } from './types'
|
|
3
|
+
// import { VxeTableInstance } from 'vxe-table'
|
|
4
|
+
// import type {}
|
|
5
|
+
export function useConfigData() {
|
|
6
|
+
//响应
|
|
7
|
+
|
|
8
|
+
const apiUrls = shallowRef({
|
|
9
|
+
list: '/template/templateHead/sysList',
|
|
10
|
+
copyData: '/template/templateHead/addBy100000',
|
|
11
|
+
columnsCode: 'TemplateHead',
|
|
12
|
+
})
|
|
13
|
+
const uploadShow = shallowRef<boolean>(false)
|
|
14
|
+
const currentEditRow = ref({})
|
|
15
|
+
const listLayoutRef = ref()
|
|
16
|
+
return { apiUrls, currentEditRow, listLayoutRef, uploadShow }
|
|
17
|
+
}
|
|
@@ -0,0 +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 QCompanyermissionList from './QCompanyermissionList/src/editTree.vue'
|
|
17
|
+
import * as QAccountList from './QAccountList/src/QAccountList.vue'
|
|
18
|
+
import * as QAccountEdit from './QAccountList/src/QAccountEdit.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
|
+
QCompanyermissionList,
|
|
56
|
+
QAccountList,
|
|
57
|
+
QAccountEdit,
|
|
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
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="detail-page">
|
|
3
|
+
<q-detail-page-layout ref="layoutRef" v-bind="options"> </q-detail-page-layout>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { ref, reactive } from 'vue'
|
|
8
|
+
import type { ComponentPublicInstance } from 'vue'
|
|
9
|
+
import type { GlobalPageLayoutTypes } from '@qqt-product/ui'
|
|
10
|
+
|
|
11
|
+
// 传参 props
|
|
12
|
+
const props = defineProps<{
|
|
13
|
+
currentRow: GlobalPageLayoutTypes.CurrentRow | null
|
|
14
|
+
userInfo: GlobalPageLayoutTypes.UserInfo
|
|
15
|
+
}>()
|
|
16
|
+
|
|
17
|
+
const currentRow = props.currentRow
|
|
18
|
+
? props.currentRow
|
|
19
|
+
: ref({
|
|
20
|
+
templateNumber: '',
|
|
21
|
+
templateVersion: 0,
|
|
22
|
+
templateAccount: '',
|
|
23
|
+
busAccount: '',
|
|
24
|
+
elsAccount: '',
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
// 编辑组件 ref
|
|
28
|
+
const layoutRef = ref<ComponentPublicInstance | null>(null)
|
|
29
|
+
|
|
30
|
+
// 配置
|
|
31
|
+
const options = reactive<Partial<GlobalPageLayoutTypes.EditPageLayoutProps>>({
|
|
32
|
+
/**
|
|
33
|
+
* 模块业务类型 string
|
|
34
|
+
* 取值根据各模块配置
|
|
35
|
+
* 当定义为"custom"时,使用本地配置
|
|
36
|
+
*/
|
|
37
|
+
businessType: 'integrated',
|
|
38
|
+
// 布局模式
|
|
39
|
+
pattern: 'vertical',
|
|
40
|
+
// 当前已选行数据a
|
|
41
|
+
currentRow: currentRow as GlobalPageLayoutTypes.CurrentRow,
|
|
42
|
+
// 当前登录租户信息
|
|
43
|
+
userInfo: props.userInfo,
|
|
44
|
+
// 明细接口 -- 接口字符串
|
|
45
|
+
detailApi: '/integrated/integratedNodes/queryById',
|
|
46
|
+
// 本地页面数据配置
|
|
47
|
+
localConfig: {},
|
|
48
|
+
})
|
|
49
|
+
</script>
|