@qqt-product/system 0.0.2 → 0.0.17

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.
Files changed (179) hide show
  1. package/dist/index.es.js +53481 -10448
  2. package/dist/index.umd.js +94 -22
  3. package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +2881 -0
  4. package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +2874 -0
  5. package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +2882 -0
  6. package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +23 -4
  7. package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +9 -4
  8. package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +9 -4
  9. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +2867 -0
  10. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +2 -3
  11. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +2867 -0
  12. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +2879 -0
  13. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +38 -14
  14. package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +2 -6
  15. package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +5 -8
  16. package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +9 -4
  17. package/dist/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue.d.ts +387 -3
  18. package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +2875 -0
  19. package/dist/lib/components/QPermissionDataList/src/QPermissionDataList.vue.d.ts +126 -0
  20. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +2867 -0
  21. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +2890 -0
  22. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +25 -5
  23. package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +7 -0
  24. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +222 -28
  25. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue.d.ts +45 -0
  26. package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +24 -5
  27. package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +32 -7
  28. package/dist/lib/components/QRoleList/src/components/userAuthorization/index.d.ts +4 -4
  29. package/dist/lib/components/QRoleList/src/useConfigData.d.ts +1 -11
  30. package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +25 -4
  31. package/dist/lib/components/QSupplierAccountList/src/useConfigData.d.ts +9 -0
  32. package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +15 -35
  33. package/dist/lib/components/QUsageList/src/useConfigData.d.ts +111 -10
  34. package/dist/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue.d.ts +25 -0
  35. package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +9 -10
  36. package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +1208 -0
  37. package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +1 -1
  38. package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +8 -7
  39. package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +2 -3
  40. package/dist/lib/components/index.d.ts +2 -2
  41. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +2866 -0
  42. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +2875 -0
  43. package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +8 -11
  44. package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +16 -10
  45. package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +2 -9
  46. package/dist/lib/components/loginLogList/src/index.vue.d.ts +2 -8
  47. package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +2 -12
  48. package/dist/lib/components/operateLogList/src/index.vue.d.ts +2 -13
  49. package/dist/style.css +1 -1
  50. package/dist/vite-env.d.ts +13 -13
  51. package/package.json +24 -11
  52. package/.eslintignore +0 -4
  53. package/.eslintrc.cjs +0 -22
  54. package/.prettierignore +0 -4
  55. package/.prettierrc.cjs +0 -41
  56. package/.vscode/extensions.json +0 -3
  57. package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +0 -80
  58. package/dist/lib/components/QCompanyermissionList/src/types.d.ts +0 -44
  59. package/dist/lib/components/integratedReportList/src/index.vue.d.ts +0 -70
  60. package/dist/vite.svg +0 -1
  61. package/index.html +0 -13
  62. package/public/vite.svg +0 -1
  63. package/src/App.vue +0 -8
  64. package/src/lib/components/QAccountList/index.ts +0 -6
  65. package/src/lib/components/QAccountList/src/QAccountDetail.vue +0 -191
  66. package/src/lib/components/QAccountList/src/QAccountEdit.vue +0 -241
  67. package/src/lib/components/QAccountList/src/QAccountList.vue +0 -530
  68. package/src/lib/components/QAccountList/src/useConfigData.ts +0 -53
  69. package/src/lib/components/QBackgroundFileTaskList/index.ts +0 -6
  70. package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +0 -137
  71. package/src/lib/components/QBackgroundFileTaskList/src/useConfigData.ts +0 -20
  72. package/src/lib/components/QCompanyermissionList/src/editTree.vue +0 -291
  73. package/src/lib/components/QCompanyermissionList/src/form.vue +0 -238
  74. package/src/lib/components/QCompanyermissionList/src/index.vue +0 -309
  75. package/src/lib/components/QCompanyermissionList/src/types.ts +0 -44
  76. package/src/lib/components/QElsEmailSendLogList/index.ts +0 -6
  77. package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +0 -166
  78. package/src/lib/components/QElsEmailSendLogList/src/useConfigData.ts +0 -19
  79. package/src/lib/components/QElsMsgRecordList/index.ts +0 -6
  80. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue +0 -148
  81. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +0 -124
  82. package/src/lib/components/QElsMsgRecordList/src/useConfigData.ts +0 -22
  83. package/src/lib/components/QElsTenantPortalNewsList/index.ts +0 -6
  84. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue +0 -139
  85. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +0 -196
  86. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +0 -122
  87. package/src/lib/components/QElsTenantPortalNewsList/src/useConfigData.ts +0 -20
  88. package/src/lib/components/QI18nList/index.ts +0 -6
  89. package/src/lib/components/QI18nList/src/QI18nForm.vue +0 -141
  90. package/src/lib/components/QI18nList/src/QI18nList.vue +0 -361
  91. package/src/lib/components/QI18nList/src/useConfigData.ts +0 -37
  92. package/src/lib/components/QImChatGroupList/index.ts +0 -6
  93. package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +0 -94
  94. package/src/lib/components/QImChatGroupList/src/useConfigData.ts +0 -17
  95. package/src/lib/components/QMqRecordList/index.ts +0 -6
  96. package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +0 -105
  97. package/src/lib/components/QMqRecordList/src/useConfigData.ts +0 -18
  98. package/src/lib/components/QPasswordSecurityPolicy/index.ts +0 -6
  99. package/src/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue +0 -266
  100. package/src/lib/components/QPermissionDataList/index.ts +0 -6
  101. package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +0 -3
  102. package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +0 -221
  103. package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +0 -117
  104. package/src/lib/components/QPermissionDataList/src/form.vue +0 -109
  105. package/src/lib/components/QPurchaseNoticeList/index.ts +0 -6
  106. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +0 -147
  107. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +0 -244
  108. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +0 -163
  109. package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +0 -22
  110. package/src/lib/components/QPurchaseNoticeTemplateList/index.ts +0 -6
  111. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +0 -85
  112. package/src/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.ts +0 -18
  113. package/src/lib/components/QQuartzJobList/index.ts +0 -6
  114. package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +0 -263
  115. package/src/lib/components/QQuartzJobList/src/components/JCron.vue +0 -82
  116. package/src/lib/components/QQuartzJobList/src/components/JCronModal.vue +0 -985
  117. package/src/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue +0 -176
  118. package/src/lib/components/QQuartzJobList/src/useConfigData.ts +0 -26
  119. package/src/lib/components/QRoleList/index.ts +0 -6
  120. package/src/lib/components/QRoleList/src/QRoleList.vue +0 -288
  121. package/src/lib/components/QRoleList/src/components/content-header/contentHeader.less +0 -31
  122. package/src/lib/components/QRoleList/src/components/content-header/index.tsx +0 -42
  123. package/src/lib/components/QRoleList/src/components/userAuthorization/index.tsx +0 -690
  124. package/src/lib/components/QRoleList/src/components/userAuthorization/userAuthorization.less +0 -97
  125. package/src/lib/components/QRoleList/src/useConfigData.ts +0 -33
  126. package/src/lib/components/QSupplierAccountList/index.ts +0 -6
  127. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue +0 -187
  128. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +0 -302
  129. package/src/lib/components/QSupplierAccountList/src/useConfigData.ts +0 -29
  130. package/src/lib/components/QUsageList/index.ts +0 -6
  131. package/src/lib/components/QUsageList/src/QUsageList.vue +0 -82
  132. package/src/lib/components/QUsageList/src/useConfigData.ts +0 -20
  133. package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +0 -140
  134. package/src/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue +0 -100
  135. package/src/lib/components/QcustomConfigEdit/component/dataFormatComponent.tsx +0 -100
  136. package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +0 -71
  137. package/src/lib/components/QcustomConfigEdit/index.ts +0 -6
  138. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +0 -1807
  139. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +0 -242
  140. package/src/lib/components/QcustomConfigEdit/src/types.ts +0 -71
  141. package/src/lib/components/QcustomConfigEdit/src/useConfigComputed.ts +0 -75
  142. package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +0 -123
  143. package/src/lib/components/QcustomConfigEdit/src/useConfigMethods.ts +0 -117
  144. package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +0 -301
  145. package/src/lib/components/QcustomConfigEdit/style/index.less +0 -41
  146. package/src/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue +0 -135
  147. package/src/lib/components/QcustomConfigList/index.ts +0 -6
  148. package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +0 -268
  149. package/src/lib/components/QcustomConfigList/src/types.ts +0 -1
  150. package/src/lib/components/QcustomConfigList/src/useConfigData.ts +0 -23
  151. package/src/lib/components/QcustomConfigList/src/useMethods.ts +0 -36
  152. package/src/lib/components/QcustomConfigList/style/index.less +0 -3
  153. package/src/lib/components/QsysConfigList/index.ts +0 -6
  154. package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +0 -125
  155. package/src/lib/components/QsysConfigList/src/types.ts +0 -1
  156. package/src/lib/components/QsysConfigList/src/useConfigData.ts +0 -17
  157. package/src/lib/components/QsysConfigList/src/useMethods.ts +0 -11
  158. package/src/lib/components/QsysConfigList/style/index.less +0 -3
  159. package/src/lib/components/index.ts +0 -78
  160. package/src/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue +0 -49
  161. package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +0 -143
  162. package/src/lib/components/integratedNodesList/src/index.vue +0 -136
  163. package/src/lib/components/integratedReportList/src/index.vue +0 -86
  164. package/src/lib/components/integratedReportSearchList/src/index.vue +0 -66
  165. package/src/lib/components/loginAbnormalLogList/src/index.vue +0 -50
  166. package/src/lib/components/loginLogList/src/index.vue +0 -57
  167. package/src/lib/components/loginSupplierLogList/src/index.vue +0 -63
  168. package/src/lib/components/operateLogList/src/index.vue +0 -57
  169. package/src/lib/index.ts +0 -15
  170. package/src/lib/utils/constant.ts +0 -1
  171. package/src/lib/utils/global.hook.ts +0 -337
  172. package/src/lib/utils/global.types.ts +0 -49
  173. package/src/lib/utils/regexp.ts +0 -143
  174. package/src/main.ts +0 -11
  175. package/src/vite-env.d.ts +0 -13
  176. package/tsconfig.json +0 -24
  177. package/tsconfig.node.json +0 -9
  178. package/vite.config.ts +0 -61
  179. /package/dist/{index.es.d.ts → index.d.ts} +0 -0
@@ -1,143 +0,0 @@
1
- <template>
2
- <div class="edit-page">
3
- <a-spin :spinning="customLoading">
4
- <q-edit-page-layout ref="layoutRef" v-bind="options" @customSave="handleCustomSave" @validate-success="handleValidateSuccess" @refresh="handleRefresh"></q-edit-page-layout>
5
- </a-spin>
6
- </div>
7
- </template>
8
-
9
- <script setup lang="ts">
10
- import { ref, reactive, inject } from 'vue'
11
- import type { ComponentPublicInstance } from 'vue'
12
- import { BUTTON_ADD_ONE_ROW, BUTTON_DELETE_ROW, BUTTON_SAVE } from '@qqt-product/ui'
13
- // ui组件库 types
14
- import type { GlobalPageLayoutTypes } from '@qqt-product/ui'
15
- import { usePromiseStepHook, useRefInstanceHook } from '@qqt-product/ui'
16
-
17
- const srmI18n = inject('Q_SRM_I18N', (i18nKey: string, defaultValue: string, account?: string | number): string => {
18
- if (i18nKey) {
19
- if (account) {
20
- return account + defaultValue
21
- }
22
- return defaultValue
23
- }
24
- return defaultValue
25
- })
26
-
27
- // 传参 props
28
- const props = defineProps<{
29
- currentRow: GlobalPageLayoutTypes.CurrentRow | null
30
- userInfo: GlobalPageLayoutTypes.UserInfo
31
- }>()
32
-
33
- const currentRow = props.currentRow
34
- ? props.currentRow
35
- : ref({
36
- templateNumber: '',
37
- templateVersion: 0,
38
- templateAccount: '',
39
- busAccount: '',
40
- elsAccount: '',
41
- })
42
-
43
- // 编辑组件 ref
44
- const layoutRef = ref<ComponentPublicInstance | null>(null)
45
-
46
- // 配置
47
- const options = reactive<Partial<GlobalPageLayoutTypes.EditPageLayoutProps>>({
48
- /**
49
- * 模块业务类型 string
50
- * 取值根据各模块配置
51
- * 当定义为"custom"时,使用本地配置
52
- */
53
- businessType: 'integrated',
54
- // 布局模式
55
- pattern: 'vertical',
56
- // 当前已选行数据a
57
- currentRow: currentRow as GlobalPageLayoutTypes.CurrentRow,
58
- refreshMethods(row?: GlobalPageLayoutTypes.CurrentRow) {
59
- if (options.currentRow) {
60
- options.currentRow =
61
- row ||
62
- Object.assign({}, options.currentRow, {
63
- _t: +new Date(),
64
- })
65
- }
66
- },
67
- // 当前登录租户信息
68
- userInfo: props.userInfo,
69
- // 明细接口 -- 接口字符串
70
- detailApi: '/integrated/integratedNodes/queryById',
71
- // 本地页面数据配置
72
- localConfig: {
73
- groups: [
74
- {
75
- groupName: srmI18n('i18n_field_100100', '基本信息'),
76
- groupCode: 'baseForm',
77
- groupType: 'head',
78
- },
79
- {
80
- groupName: srmI18n('i18n_field_ESeWc_7381ba96', '业务头属性'),
81
- groupCode: 'integratedParamsHeadList',
82
- groupType: 'item',
83
- buttons: [
84
- {
85
- ...BUTTON_ADD_ONE_ROW,
86
- title: srmI18n('i18n_title_add', '新增'),
87
- },
88
- BUTTON_DELETE_ROW,
89
- ],
90
- },
91
- {
92
- groupName: srmI18n('i18n_field_EScWc_743283ae', '业务行属性'),
93
- groupCode: 'integratedParamsItemList',
94
- groupType: 'item',
95
- buttons: [
96
- {
97
- ...BUTTON_ADD_ONE_ROW,
98
- title: srmI18n('i18n_title_add', '新增'),
99
- },
100
- BUTTON_DELETE_ROW,
101
- ],
102
- },
103
- ],
104
- },
105
- // 页面按钮
106
- pageButtons: [
107
- {
108
- ...BUTTON_SAVE,
109
- title: srmI18n('i18n_title_save', '保存'),
110
- emit: true,
111
- emitKey: 'customSave',
112
- args: {
113
- url: '/integrated/integratedNodes/edit',
114
- },
115
- },
116
- ],
117
- })
118
- const pageButtons = options.pageButtons as GlobalPageLayoutTypes.PageButton[]
119
- const refreshMethods = options.refreshMethods
120
-
121
- const { pageData, layoutConfig, defaultValues } = useRefInstanceHook(layoutRef)
122
- const { stepTriggerValidate, composeSave, customLoading } = usePromiseStepHook({ pageData, layoutConfig, defaultValues, pageButtons: ref(pageButtons), refreshMethods })
123
-
124
- // 自定义保存
125
- const handleCustomSave = () => {
126
- stepTriggerValidate()
127
- }
128
-
129
- // 页面校验成功后执行下一步回调步骤
130
- const handleValidateSuccess = (button: GlobalPageLayoutTypes.PageButton) => {
131
- if (button.key === BUTTON_SAVE.key) {
132
- composeSave()
133
- }
134
- }
135
-
136
- // 页面刷新
137
- const handleRefresh = () => {
138
- console.log('refresh :>> ')
139
- if (options.currentRow) {
140
- options.currentRow._t = +new Date()
141
- }
142
- }
143
- </script>
@@ -1,136 +0,0 @@
1
- <template>
2
- <q-list-layout ref="listLayoutRef" :apiUrls="apiUrls" :pageData="pageData" @add-button-click="handleCreate" />
3
- </template>
4
- <script setup lang="ts">
5
- import { reactive, inject, ref } from 'vue'
6
- import qqtApi from '@qqt-product/api'
7
- import type { GlobalPageLayoutTypes } from '@qqt-product/ui'
8
- import { VXETable } from 'vxe-table'
9
- const emit = defineEmits(['create', 'edit', 'detail'])
10
- const srmI18n = inject('Q_SRM_I18N', (i18nKey: string, defaultValue: string, account?: string | number): string => {
11
- if (i18nKey) {
12
- if (account) {
13
- return account + defaultValue
14
- }
15
- return defaultValue
16
- }
17
- return defaultValue
18
- })
19
- const listLayoutRef = ref()
20
- const qHttp: qqtApi.Request = qqtApi.useHttp()
21
- const apiUrls = reactive({
22
- columnsCode: 'integratedNodesList',
23
- list: '/integrated/integratedNodes/list',
24
- countTabsUrl: '',
25
- })
26
- const pageData = reactive({
27
- statusConfig: {
28
- show: false,
29
- },
30
- optColumn: {
31
- attrs: {},
32
- extend: {},
33
- optColumnList: [
34
- {
35
- authorityCode: 'system#systemSet:view',
36
- type: 'view',
37
- title: srmI18n('i18n_title_see', '查看'),
38
- click: ({ row }) => {
39
- emit('detail', row)
40
- },
41
- },
42
- {
43
- type: 'edit',
44
- title: srmI18n('i18n_title_edit', '编辑'),
45
- authorityCode: 'system#systemSet:edit',
46
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
47
- click: ({ row }: any) => {
48
- emit('edit', row)
49
- },
50
- },
51
- {
52
- type: 'delete',
53
- title: srmI18n('i18n_title_delete', '删除'),
54
- authorityCode: 'system#systemSet:delete',
55
- args: {
56
- url: '/integrated/integratedNodes/delete',
57
- },
58
- },
59
- {
60
- type: 'record',
61
- title: srmI18n('i18n_title_colunmRecord', '记录'),
62
- },
63
- ],
64
- },
65
- buttonConfig: {
66
- attrs: {},
67
- extend: {},
68
- buttons: [
69
- {
70
- authorityCode: 'integrated#integratedReportData:add',
71
- label: srmI18n('i18n_title_add', '新增'),
72
- icon: {
73
- type: 'icon-Q-add',
74
- },
75
- args: {
76
- businessType: 'integrated',
77
- },
78
- type: 'add',
79
- },
80
- {
81
- authorityCode: 'integrated#integratedReportData:generateColumnConfig',
82
- label: srmI18n('i18n_btn_bLAJII_690bb833', '生成列自定义'),
83
- click: () => {
84
- qHttp.get({ url: '/integrated/integratedNodes/generateColumnConfig' }).then((res) => {
85
- if (res && res.success) {
86
- VXETable.modal.message({ content: res.message, status: 'success' })
87
- listLayoutRef.value.fetchListData()
88
- } else {
89
- VXETable.modal.message({ content: res.message, status: 'error' })
90
- }
91
- })
92
- },
93
- },
94
- {
95
- label: srmI18n('i18n_title_clearCache', '清除缓存'),
96
- click: () => {
97
- qHttp.get({ url: '/integrated/integratedReportData/refreshNodes' }).then((res) => {
98
- if (res && res.success) {
99
- VXETable.modal.message({ content: res.message, status: 'success' })
100
- listLayoutRef.value.fetchListData()
101
- } else {
102
- VXETable.modal.message({ content: res.message, status: 'error' })
103
- }
104
- })
105
- },
106
- },
107
- {
108
- label: srmI18n('i18n_title_listCustom', '列自定义'),
109
- icon: {
110
- type: 'icon-Q-setting',
111
- },
112
- type: 'setting',
113
- },
114
- ],
115
- },
116
- queryConfig: {
117
- attrs: {},
118
- extend: {},
119
- form: [
120
- {
121
- type: 'input',
122
- label: srmI18n('i18n_title_keyword', '关键字'),
123
- fieldName: 'keyWord',
124
- placeholder: srmI18n('i18n_title_pleaseInputThekeyword', '请输入关键字'),
125
- },
126
- ],
127
- formState: {
128
- keyWord: '',
129
- },
130
- },
131
- pagerConfig: {},
132
- })
133
- const handleCreate = ({ row }: { row: GlobalPageLayoutTypes.CurrentRow }) => {
134
- emit('create', row)
135
- }
136
- </script>
@@ -1,86 +0,0 @@
1
- <template>
2
- <q-list-layout :apiUrls="apiUrls" :pageData="pageData" />
3
- </template>
4
- <script setup lang="ts">
5
- import { reactive } from 'vue'
6
- const apiUrls = reactive({
7
- columnsCode: 'integratedReportHeadTableList',
8
- list: '/integrated/integratedReportData/listItem',
9
- countTabsUrl: '',
10
- })
11
- const pageData = reactive({
12
- statusConfig: {
13
- show: false,
14
- },
15
- optColumn: {
16
- attrs: {},
17
- extend: {},
18
- optColumnList: [],
19
- },
20
- buttonConfig: {
21
- attrs: {},
22
- extend: {},
23
- buttons: [
24
- {
25
- authorityCode: 'integrated#integratedReportData:list',
26
- label: '头模式',
27
- icon: 'setting',
28
- type: 'head',
29
- click: () => {
30
- console.log('click')
31
- },
32
- },
33
- {
34
- authorityCode: 'integrated#integratedReportData:list',
35
- label: '行模式',
36
- icon: 'setting',
37
- type: 'list',
38
- click: () => {
39
- console.log('click')
40
- },
41
- },
42
- {
43
- authorityCode: 'integrated#integratedReportData:refreshReportData',
44
- label: '刷新',
45
- icon: 'setting',
46
- click: () => {
47
- console.log('click')
48
- },
49
- },
50
- {
51
- label: '列自定义',
52
- icon: {
53
- type: 'icon-Q-setting',
54
- },
55
- type: 'setting',
56
- },
57
- ],
58
- },
59
- queryConfig: {
60
- attrs: {},
61
- extend: {},
62
- form: [
63
- {
64
- type: 'input',
65
- label: '关键字',
66
- fieldName: 'dataJson',
67
- placeholder: '请输入各单据类型编码/状态/名称/...',
68
- },
69
- {
70
- type: 'dateRange',
71
- startProp: 'beginTime',
72
- endProp: 'endTime',
73
- label: '时间范围',
74
- placeholder: ['开始日期', '结束日期'],
75
- },
76
- ],
77
- formState: {
78
- dataJson: '',
79
- businessDataType: 'head',
80
- beginTime: '',
81
- endTime: '',
82
- },
83
- },
84
- pagerConfig: {},
85
- })
86
- </script>
@@ -1,66 +0,0 @@
1
- <template>
2
- <q-list-layout ref="listLayoutRef" :apiUrls="apiUrls" :pageData="pageData" />
3
- </template>
4
- <script setup lang="ts">
5
- import { ref, reactive } from 'vue'
6
- const listLayoutRef = ref()
7
- const apiUrls = reactive({
8
- columnsCode: 'integratedReportHeadTableList',
9
- list: '/integrated/integratedReportData/listByModule',
10
- })
11
- const pageData = reactive({
12
- statusConfig: {
13
- show: false,
14
- },
15
- optColumn: {
16
- attrs: {},
17
- extend: {},
18
- optColumnList: [],
19
- },
20
- buttonConfig: {
21
- attrs: {},
22
- extend: {},
23
- buttons: [
24
- {
25
- authorityCode: 'integrated#integratedReportData:refreshNodes',
26
- label: '刷新模块配置',
27
- click: () => {
28
- console.log('click')
29
- },
30
- },
31
- {
32
- label: '列自定义',
33
- icon: {
34
- type: 'icon-Q-setting',
35
- },
36
- type: 'setting',
37
- },
38
- ],
39
- },
40
- queryConfig: {
41
- attrs: {},
42
- extend: {},
43
- form: [
44
- {
45
- type: 'select',
46
- dictCode: 'srmIntegrateBusinessType',
47
- label: '业务模块',
48
- fieldName: 'businessTypeCore',
49
- placeholder: '请选择业务模块',
50
- },
51
- {
52
- type: 'input',
53
- label: '关键字',
54
- fieldName: 'dataJson',
55
- placeholder: '请输入各单据类型编码/状态/名称/...',
56
- },
57
- ],
58
- formState: {
59
- dataJson: '',
60
- businessDataType: 'head',
61
- businessTypeCore: '',
62
- },
63
- },
64
- pagerConfig: {},
65
- })
66
- </script>
@@ -1,50 +0,0 @@
1
- <template><q-list-layout :apiUrls="apiUrls" :pageData="pageData"></q-list-layout></template>
2
- <script setup lang="ts">
3
- import { reactive } from 'vue'
4
- const apiUrls = reactive({
5
- columnsCode: 'ElsLog',
6
- list: '/log/list',
7
- countTabsUrl: '',
8
- })
9
- const pageData = reactive({
10
- statusConfig: {
11
- show: false,
12
- },
13
- optColumn: {
14
- attrs: {},
15
- extend: {},
16
- optColumnList: [],
17
- },
18
- buttonConfig: {
19
- attrs: {},
20
- extend: {},
21
- buttons: [
22
- {
23
- label: '列自定义',
24
- icon: {
25
- type: 'icon-Q-setting',
26
- },
27
- type: 'setting',
28
- },
29
- ],
30
- },
31
- queryConfig: {
32
- attrs: {},
33
- extend: {},
34
- form: [
35
- {
36
- type: 'input',
37
- label: '搜索日志',
38
- fieldName: 'keyWord',
39
- placeholder: '请输入搜索关键字',
40
- },
41
- ],
42
- formState: {
43
- keyWord: '',
44
- logType: 2,
45
- busModule: 'userSystemSecurity',
46
- },
47
- },
48
- pagerConfig: {},
49
- })
50
- </script>
@@ -1,57 +0,0 @@
1
- <!--
2
- * @Author: your name
3
- * @Date: 2023-05-20 01:51:39
4
- * @LastEditTime: 2023-05-21 16:24:10
5
- * @LastEditors: LOK
6
- * @Description: 登录日志
7
- * @FilePath: \v6-dev\modules\system\src\lib\components\loginLogList\src\index.vue
8
- -->
9
- <template><q-list-layout :apiUrls="apiUrls" :pageData="pageData"></q-list-layout></template>
10
- <script setup lang="ts">
11
- import { reactive } from 'vue'
12
- const apiUrls = reactive({
13
- columnsCode: 'ElsLog',
14
- list: '/log/list',
15
- countTabsUrl: '',
16
- })
17
- const pageData = reactive({
18
- statusConfig: {
19
- show: false,
20
- },
21
- optColumn: {
22
- attrs: {},
23
- extend: {},
24
- optColumnList: [],
25
- },
26
- buttonConfig: {
27
- attrs: {},
28
- extend: {},
29
- buttons: [
30
- {
31
- label: '列自定义',
32
- icon: {
33
- type: 'icon-Q-setting',
34
- },
35
- type: 'setting',
36
- },
37
- ],
38
- },
39
- queryConfig: {
40
- attrs: {},
41
- extend: {},
42
- form: [
43
- {
44
- type: 'input',
45
- label: '搜索日志',
46
- fieldName: 'keyWord',
47
- placeholder: '请输入搜索关键字',
48
- },
49
- ],
50
- formState: {
51
- keyWord: '',
52
- logType: 1,
53
- },
54
- },
55
- pagerConfig: {},
56
- })
57
- </script>
@@ -1,63 +0,0 @@
1
- <!--
2
- * @Author: your name
3
- * @Date: 2023-05-21 17:05:59
4
- * @LastEditTime: 2023-05-21 17:10:07
5
- * @LastEditors: LOK
6
- * @Description: 供应商登录日志
7
- * @FilePath: \v6-dev\modules\system\src\lib\components\loginSupplierLogList\src\index.vue
8
- -->
9
- <template><q-list-layout :apiUrls="apiUrls" :pageData="pageData"></q-list-layout></template>
10
- <script setup lang="ts">
11
- import { reactive } from 'vue'
12
- const apiUrls = reactive({
13
- columnsCode: 'SupplierLoginLog',
14
- list: '/log/querySupplierLoginList',
15
- countTabsUrl: '',
16
- })
17
- const pageData = reactive({
18
- statusConfig: {
19
- show: false,
20
- },
21
- optColumn: {
22
- attrs: {},
23
- extend: {},
24
- optColumnList: [],
25
- },
26
- buttonConfig: {
27
- attrs: {},
28
- extend: {},
29
- buttons: [
30
- {
31
- label: '列自定义',
32
- icon: {
33
- type: 'icon-Q-setting',
34
- },
35
- type: 'setting',
36
- },
37
- ],
38
- },
39
- queryConfig: {
40
- attrs: {},
41
- extend: {},
42
- form: [
43
- {
44
- type: 'input',
45
- label: '供应商名称',
46
- fieldName: 'supplierName',
47
- placeholder: '请输入供应商名称',
48
- },
49
- {
50
- type: 'input',
51
- label: '月份',
52
- fieldName: 'logMonth',
53
- placeholder: '请输入月份',
54
- },
55
- ],
56
- formState: {
57
- supplierName: '',
58
- logMonth: '',
59
- },
60
- },
61
- pagerConfig: {},
62
- })
63
- </script>
@@ -1,57 +0,0 @@
1
- <template><q-list-layout :apiUrls="apiUrls" :pageData="pageData"></q-list-layout></template>
2
- <script setup lang="ts">
3
- import { reactive } from 'vue'
4
- const apiUrls = reactive({
5
- columnsCode: 'ElsLog',
6
- list: '/log/list',
7
- countTabsUrl: '',
8
- })
9
- const pageData = reactive({
10
- statusConfig: {
11
- show: false,
12
- },
13
- optColumn: {
14
- attrs: {},
15
- extend: {},
16
- optColumnList: [],
17
- },
18
- buttonConfig: {
19
- attrs: {},
20
- extend: {},
21
- buttons: [
22
- {
23
- label: '列自定义',
24
- icon: {
25
- type: 'icon-Q-setting',
26
- },
27
- type: 'setting',
28
- },
29
- ],
30
- },
31
- queryConfig: {
32
- attrs: {},
33
- extend: {},
34
- form: [
35
- {
36
- type: 'input',
37
- label: '搜索日志',
38
- fieldName: 'keyWord',
39
- placeholder: '请输入搜索关键字',
40
- },
41
- {
42
- type: 'select',
43
- label: '操作类型',
44
- fieldName: 'operateType',
45
- dictCode: 'operate_type',
46
- placeholder: '请选择',
47
- },
48
- ],
49
- formState: {
50
- keyWord: '',
51
- operateType: '',
52
- logType: 2,
53
- },
54
- },
55
- pagerConfig: {},
56
- })
57
- </script>
package/src/lib/index.ts DELETED
@@ -1,15 +0,0 @@
1
- import type { App } from 'vue'
2
- import qqtUtils from '@qqt-product/utils'
3
- import * as components from './components/index'
4
-
5
- export const qqtSysPageModules = () => {
6
- return {
7
- install: (app: App) => {
8
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
- qqtUtils.forEach(components, (component: any, key) => {
10
- app.component(component.default.name || key, component.default)
11
- })
12
- },
13
- }
14
- }
15
- export { components }
@@ -1 +0,0 @@
1
- export {}