@qqt-product/system 0.0.16 → 0.0.18

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 (148) hide show
  1. package/dist/index.es.js +9601 -9171
  2. package/dist/index.umd.js +34 -35
  3. package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +16 -12
  4. package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +14 -10
  5. package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +17 -12
  6. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +13 -9
  7. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +13 -9
  8. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +16 -12
  9. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +9 -0
  10. package/dist/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue.d.ts +387 -3
  11. package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +16 -12
  12. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +13 -9
  13. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +18 -14
  14. package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +1 -1
  15. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +2 -1
  16. package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +21 -1
  17. package/dist/lib/components/QRoleList/src/components/userAuthorization/index.d.ts +4 -4
  18. package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +19 -2
  19. package/dist/lib/components/QSupplierAccountList/src/useConfigData.d.ts +9 -0
  20. package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +0 -1
  21. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +13 -9
  22. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +16 -12
  23. package/dist/style.css +1 -1
  24. package/package.json +20 -9
  25. package/.eslintignore +0 -4
  26. package/.eslintrc.cjs +0 -22
  27. package/.prettierignore +0 -4
  28. package/.prettierrc.cjs +0 -41
  29. package/.vscode/extensions.json +0 -3
  30. package/dist/vite.svg +0 -1
  31. package/index.html +0 -13
  32. package/public/vite.svg +0 -1
  33. package/src/App.vue +0 -8
  34. package/src/lib/components/QAccountList/index.ts +0 -6
  35. package/src/lib/components/QAccountList/src/QAccountCreate.vue +0 -272
  36. package/src/lib/components/QAccountList/src/QAccountDetail.vue +0 -259
  37. package/src/lib/components/QAccountList/src/QAccountEdit.vue +0 -273
  38. package/src/lib/components/QAccountList/src/QAccountList.vue +0 -532
  39. package/src/lib/components/QAccountList/src/useConfigData.ts +0 -53
  40. package/src/lib/components/QBackgroundFileTaskList/index.ts +0 -6
  41. package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +0 -143
  42. package/src/lib/components/QBackgroundFileTaskList/src/useConfigData.ts +0 -20
  43. package/src/lib/components/QElsEmailSendLogList/index.ts +0 -6
  44. package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +0 -172
  45. package/src/lib/components/QElsEmailSendLogList/src/useConfigData.ts +0 -19
  46. package/src/lib/components/QElsMsgRecordList/index.ts +0 -6
  47. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue +0 -148
  48. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +0 -123
  49. package/src/lib/components/QElsMsgRecordList/src/useConfigData.ts +0 -22
  50. package/src/lib/components/QElsTenantPortalNewsList/index.ts +0 -6
  51. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue +0 -139
  52. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +0 -244
  53. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +0 -151
  54. package/src/lib/components/QElsTenantPortalNewsList/src/useConfigData.ts +0 -20
  55. package/src/lib/components/QI18nList/index.ts +0 -6
  56. package/src/lib/components/QI18nList/src/QI18nForm.vue +0 -141
  57. package/src/lib/components/QI18nList/src/QI18nList.vue +0 -365
  58. package/src/lib/components/QI18nList/src/useConfigData.ts +0 -37
  59. package/src/lib/components/QImChatGroupList/index.ts +0 -6
  60. package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +0 -103
  61. package/src/lib/components/QImChatGroupList/src/useConfigData.ts +0 -17
  62. package/src/lib/components/QMqRecordList/index.ts +0 -6
  63. package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +0 -109
  64. package/src/lib/components/QMqRecordList/src/useConfigData.ts +0 -18
  65. package/src/lib/components/QPasswordSecurityPolicy/index.ts +0 -6
  66. package/src/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue +0 -266
  67. package/src/lib/components/QPermissionDataList/index.ts +0 -6
  68. package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +0 -3
  69. package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +0 -218
  70. package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +0 -110
  71. package/src/lib/components/QPermissionDataList/src/form.vue +0 -109
  72. package/src/lib/components/QPurchaseNoticeList/index.ts +0 -6
  73. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +0 -147
  74. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +0 -332
  75. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +0 -189
  76. package/src/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.ts +0 -84
  77. package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +0 -22
  78. package/src/lib/components/QPurchaseNoticeTemplateList/index.ts +0 -6
  79. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +0 -134
  80. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue +0 -91
  81. package/src/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.ts +0 -18
  82. package/src/lib/components/QQuartzJobList/index.ts +0 -6
  83. package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +0 -276
  84. package/src/lib/components/QQuartzJobList/src/components/JCron.vue +0 -82
  85. package/src/lib/components/QQuartzJobList/src/components/JCronModal.vue +0 -985
  86. package/src/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue +0 -176
  87. package/src/lib/components/QQuartzJobList/src/useConfigData.ts +0 -26
  88. package/src/lib/components/QRoleList/index.ts +0 -6
  89. package/src/lib/components/QRoleList/src/QRoleList.vue +0 -332
  90. package/src/lib/components/QRoleList/src/components/content-header/contentHeader.less +0 -31
  91. package/src/lib/components/QRoleList/src/components/content-header/index.tsx +0 -42
  92. package/src/lib/components/QRoleList/src/components/userAuthorization/index.tsx +0 -690
  93. package/src/lib/components/QRoleList/src/components/userAuthorization/userAuthorization.less +0 -97
  94. package/src/lib/components/QRoleList/src/useConfigData.ts +0 -28
  95. package/src/lib/components/QSupplierAccountList/index.ts +0 -6
  96. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue +0 -187
  97. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +0 -304
  98. package/src/lib/components/QSupplierAccountList/src/useConfigData.ts +0 -29
  99. package/src/lib/components/QUsageList/index.ts +0 -6
  100. package/src/lib/components/QUsageList/src/QUsageList.vue +0 -287
  101. package/src/lib/components/QUsageList/src/useConfigData.ts +0 -154
  102. package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +0 -140
  103. package/src/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue +0 -100
  104. package/src/lib/components/QcustomConfigEdit/component/dataFormatComponent.tsx +0 -100
  105. package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +0 -71
  106. package/src/lib/components/QcustomConfigEdit/index.ts +0 -6
  107. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +0 -1895
  108. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +0 -242
  109. package/src/lib/components/QcustomConfigEdit/src/types.ts +0 -71
  110. package/src/lib/components/QcustomConfigEdit/src/useConfigComputed.ts +0 -75
  111. package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +0 -123
  112. package/src/lib/components/QcustomConfigEdit/src/useConfigMethods.ts +0 -117
  113. package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +0 -301
  114. package/src/lib/components/QcustomConfigEdit/style/index.less +0 -41
  115. package/src/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue +0 -135
  116. package/src/lib/components/QcustomConfigList/index.ts +0 -6
  117. package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +0 -276
  118. package/src/lib/components/QcustomConfigList/src/types.ts +0 -1
  119. package/src/lib/components/QcustomConfigList/src/useConfigData.ts +0 -23
  120. package/src/lib/components/QcustomConfigList/src/useMethods.ts +0 -36
  121. package/src/lib/components/QcustomConfigList/style/index.less +0 -3
  122. package/src/lib/components/QsysConfigList/index.ts +0 -6
  123. package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +0 -124
  124. package/src/lib/components/QsysConfigList/src/types.ts +0 -1
  125. package/src/lib/components/QsysConfigList/src/useConfigData.ts +0 -17
  126. package/src/lib/components/QsysConfigList/src/useMethods.ts +0 -11
  127. package/src/lib/components/QsysConfigList/style/index.less +0 -3
  128. package/src/lib/components/index.ts +0 -78
  129. package/src/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue +0 -49
  130. package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +0 -135
  131. package/src/lib/components/integratedNodesList/src/index.vue +0 -130
  132. package/src/lib/components/integratedReportList/src/index.vue +0 -111
  133. package/src/lib/components/integratedReportSearchList/src/index.vue +0 -106
  134. package/src/lib/components/loginAbnormalLogList/src/index.vue +0 -43
  135. package/src/lib/components/loginLogList/src/index.vue +0 -51
  136. package/src/lib/components/loginSupplierLogList/src/index.vue +0 -53
  137. package/src/lib/components/operateLogList/src/index.vue +0 -46
  138. package/src/lib/index.ts +0 -15
  139. package/src/lib/utils/constant.ts +0 -1
  140. package/src/lib/utils/global.hook.ts +0 -337
  141. package/src/lib/utils/global.types.ts +0 -49
  142. package/src/lib/utils/regexp.ts +0 -143
  143. package/src/main.ts +0 -11
  144. package/src/vite-env.d.ts +0 -13
  145. package/tsconfig.json +0 -24
  146. package/tsconfig.node.json +0 -9
  147. package/vite.config.ts +0 -61
  148. /package/dist/{index.es.d.ts → index.d.ts} +0 -0
@@ -1,110 +0,0 @@
1
- <template>
2
- <q-list-layout ref="listLayoutRef" :pageData="pageData" :apiUrls="apiUrls" />
3
- <CopyForm v-if="showItemInfoForm" @hide="showItemInfoForm = false" @afterHandleSaveSuccess="afterHandleSaveItemInfoSuccess"></CopyForm>
4
- </template>
5
-
6
- <script setup lang="ts">
7
- import { reactive, ref } from 'vue'
8
- import CopyForm from './form.vue'
9
- import type { GlobalListPageLayoutTypes } from '@qqt-product/ui'
10
-
11
- const emit = defineEmits(['create', 'edit', 'copy', 'auth'])
12
- const listLayoutRef = ref()
13
- const showItemInfoForm = ref(false)
14
- const apiUrls = reactive({
15
- columnsCode: 'permissionGroupList',
16
- list: '/account/permissionGroup/list',
17
- })
18
- const pageData = reactive({
19
- statusConfig: {
20
- show: false,
21
- },
22
- optionConfig: {
23
- options: [
24
- {
25
- authorityCode: 'system#permissionGroup:add',
26
- type: 'edit',
27
- title: '编辑',
28
- click({ row }: GlobalListPageLayoutTypes.ListOptionsEventParams) {
29
- const payload = {
30
- row,
31
- }
32
- emit('edit', payload)
33
- },
34
- },
35
- {
36
- authorityCode: 'system#permissionGroup:copy',
37
- title: '复制',
38
- click({ row }: GlobalListPageLayoutTypes.ListOptionsEventParams) {
39
- const payload = {
40
- row,
41
- }
42
- showItemInfoForm.value = true
43
- emit('copy', payload)
44
- },
45
- },
46
- {
47
- type: 'delete',
48
- title: '删除',
49
- authorityCode: 'system#permissionGroup:delete',
50
- args: {
51
- url: '/account/permissionGroup/delete',
52
- },
53
- },
54
- // {
55
- // authorityCode: 'system#permissionGroup:authUser',
56
- // type: 'edit',
57
- // title: '用户配置',
58
- // click({ row }: GlobalListPageLayoutTypes.ListOptionsEventParams) {
59
- // const payload = {
60
- // row,
61
- // }
62
- // emit('auth', payload)
63
- // },
64
- // },
65
- ],
66
- },
67
- buttonConfig: {
68
- buttons: [
69
- {
70
- authorityCode: 'system#permissionGroup:add',
71
- label: '新增',
72
- icon: {
73
- type: 'icon-Q-add',
74
- },
75
- attrs: {
76
- type: 'primary',
77
- },
78
- click({ row }: GlobalListPageLayoutTypes.ListOptionsEventParams) {
79
- const payload = {
80
- row,
81
- }
82
- emit('create', payload)
83
- },
84
- },
85
- {
86
- label: '列自定义',
87
- icon: {
88
- type: 'icon-Q-setting',
89
- },
90
- type: 'setting',
91
- },
92
- ],
93
- },
94
- queryConfig: {
95
- form: [
96
- {
97
- type: 'input',
98
- label: '数据权限组',
99
- fieldName: 'keyWord',
100
- placeholder: '请输入权限组名称/编码',
101
- },
102
- ],
103
- },
104
- pagerConfig: {},
105
- })
106
- // 保存成功后
107
- const afterHandleSaveItemInfoSuccess = () => {
108
- listLayoutRef.value.fetchListData()
109
- }
110
- </script>
@@ -1,109 +0,0 @@
1
- <template>
2
- <vxe-modal v-model="showModal" :width="800" :title="srmI18n('i18n_field_BRWFbWV_c80c7b10', '复制数据权限组')" :hide="hideModal">
3
- <template #default>
4
- <vxe-form title-colon title-align="right" title-width="160" :data="itemInfo.formData" :rules="itemInfo.formRules" :loading="itemInfo.loading" @submit="submitEvent">
5
- <vxe-form-gather span="24">
6
- <vxe-form-item :title="srmI18n('i18n_field_bWVAo_f564cee2', '权限组编码')" field="groupCode" span="24">
7
- <template #default="{ data }">
8
- <vxe-input v-model="data.groupCode" type="text" clearable></vxe-input>
9
- </template>
10
- </vxe-form-item>
11
- <vxe-form-item :title="srmI18n('i18n_field_bWVRL_f55f9aba', '权限组名称')" field="groupName" span="24">
12
- <template #default="{ data }">
13
- <vxe-input v-model="data.groupName" type="text" clearable></vxe-input>
14
- </template>
15
- </vxe-form-item>
16
- </vxe-form-gather>
17
- <vxe-form-item align="center" span="24">
18
- <template #default>
19
- <vxe-button :content="srmI18n('i18n_title_cancle', '取消')" @click="hideModal"></vxe-button>
20
- <vxe-button type="submit" status="primary" :content="srmI18n('i18n_title_save', '保存')"></vxe-button>
21
- </template>
22
- </vxe-form-item>
23
- </vxe-form>
24
- </template>
25
- </vxe-modal>
26
- </template>
27
- <script lang="ts">
28
- import { defineComponent, reactive, ref, inject } from 'vue'
29
- import { VXETable, VxeFormEvents, VxeFormPropTypes } from 'vxe-table'
30
- import qqtApi from '@qqt-product/api'
31
- export default defineComponent({
32
- name: 'ParamConfigForm',
33
- props: {
34
- title: {
35
- type: String,
36
- default: '',
37
- },
38
- currentRow: {
39
- type: Object,
40
- },
41
- configurationClassificationList: {
42
- type: Object,
43
- },
44
- itemTypeList: {
45
- type: Object,
46
- },
47
- },
48
- setup(props, { emit }) {
49
- const qHttp: qqtApi.Request = qqtApi.useHttp()
50
- const srmI18n = inject('Q_SRM_I18N', (i18nKey: string, defaultValue: string, account?: string | number): string => {
51
- if (i18nKey) {
52
- if (account) {
53
- return account + defaultValue
54
- }
55
- return defaultValue
56
- }
57
- return defaultValue
58
- })
59
- const modalTitle = ref(props.title)
60
- const showModal = ref(true)
61
- const hideModal = () => {
62
- emit('hide', false)
63
- }
64
- const itemInfo = reactive({
65
- loading: false,
66
- formData: {
67
- groupCode: '',
68
- groupName: '',
69
- id: '',
70
- },
71
- formRules: {
72
- groupName: [{ required: true, message: srmI18n('i18n_field_VWNbWVRL_533015f1', '请输入权限组名称') }],
73
- groupCode: [{ required: true, message: srmI18n('18n_field_VWNbWVAo_53354a19', '请输入权限组编码') }],
74
- } as VxeFormPropTypes.Rules,
75
- })
76
- itemInfo.formData = Object.assign({}, itemInfo.formData, props.currentRow)
77
- // 保存
78
- const save = async () => {
79
- itemInfo.loading = true
80
- const res = await qHttp.post({ url: '/account/permissionGroup/copy', data: itemInfo.formData })
81
- if (res && res.success) {
82
- VXETable.modal.message({ content: res.message, status: 'success' })
83
- hideModal()
84
- emit('afterHandleSaveSuccess')
85
- } else {
86
- VXETable.modal.message({ content: res.message, status: 'error' })
87
- }
88
- itemInfo.loading = false
89
- }
90
- const submitEvent: VxeFormEvents.Submit = () => {
91
- save()
92
- }
93
- return {
94
- modalTitle,
95
- showModal,
96
- hideModal,
97
- itemInfo,
98
- save,
99
- submitEvent,
100
- srmI18n,
101
- }
102
- },
103
- })
104
- </script>
105
- <style lang="scss" scoped>
106
- :deep(.vxe-form--gather) {
107
- padding: 20px 0px;
108
- }
109
- </style>
@@ -1,6 +0,0 @@
1
- import QPurchaseNoticeList from './src/QPurchaseNoticeList.vue'
2
- import qqtUtils from '@qqt-product/utils'
3
-
4
- export default qqtUtils.withInstall(QPurchaseNoticeList)
5
-
6
- export { QPurchaseNoticeList }
@@ -1,147 +0,0 @@
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, inject } from 'vue'
8
- import type { ComponentPublicInstance } from 'vue'
9
- import type { GlobalPageLayoutTypes } from '@qqt-product/ui'
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
-
20
- // 传参 props
21
- const props = defineProps<{
22
- currentRow: GlobalPageLayoutTypes.CurrentRow | null
23
- userInfo: GlobalPageLayoutTypes.UserInfo
24
- }>()
25
-
26
- const currentRow = props.currentRow
27
- ? props.currentRow
28
- : ref({
29
- templateNumber: '',
30
- templateVersion: 0,
31
- templateAccount: '',
32
- busAccount: '',
33
- elsAccount: '',
34
- })
35
-
36
- // 编辑组件 ref
37
- const layoutRef = ref<ComponentPublicInstance | null>(null)
38
-
39
- // 配置
40
- const options = reactive<Partial<GlobalPageLayoutTypes.EditPageLayoutProps>>({
41
- /**
42
- * 模块业务类型 string
43
- * 取值根据各模块配置
44
- * 当定义为"custom"时,使用本地配置
45
- */
46
- businessType: 'custom',
47
- // 布局模式
48
- pattern: 'vertical',
49
- // 当前已选行数据a
50
- currentRow: currentRow as GlobalPageLayoutTypes.CurrentRow,
51
- // 当前登录租户信息
52
- userInfo: props.userInfo,
53
- // 明细接口 -- 接口字符串
54
- detailApi: '/notice/purchaseNotice/noToken/queryById',
55
- // 本地页面数据配置
56
- localConfig: {
57
- groups: [
58
- {
59
- groupName: srmI18n('i18n_field_100100', '基本信息'),
60
- groupCode: 'baseForm',
61
- groupType: 'head',
62
- },
63
- {
64
- groupName: srmI18n('i18n_title_supplierList', '供应商列表'),
65
- groupCode: 'purchaseNoticeSupplierList',
66
- groupType: 'item',
67
- },
68
- {
69
- groupName: srmI18n('i18n_title_attachmentList', '附件列表'),
70
- groupCode: 'purchaseAttachmentList',
71
- groupType: 'item',
72
- },
73
- ],
74
- formFields: [
75
- {
76
- groupCode: 'baseForm',
77
- fieldType: 'input',
78
- fieldLabel: srmI18n('i18n_field_noticeNumber', '通知单号'),
79
- fieldName: 'noticeNumber',
80
- disabled: true,
81
- },
82
- {
83
- groupCode: 'baseForm',
84
- fieldType: 'input',
85
- fieldLabel: srmI18n('i18n_field_subject', '标题'),
86
- placeholder: srmI18n('i18n_title_pleaseEnterTitle', '请输入标题'),
87
- fieldName: 'noticeTitle',
88
- required: '1',
89
- },
90
- {
91
- groupCode: 'baseForm',
92
- fieldType: 'select',
93
- fieldLabel: srmI18n('i18n_field_msgCategory', '类型'),
94
- fieldName: 'noticeType',
95
- placeholder: srmI18n('i18n_title_selectType', '请选择类型'),
96
- dictCode: 'srmNoticeType',
97
- required: '1',
98
- },
99
- {
100
- groupCode: 'baseForm',
101
- fieldType: 'select',
102
- fieldLabel: srmI18n('i18n_field_publicScope', '公开范围'),
103
- fieldName: 'noticeScope',
104
- placeholder: srmI18n('i18n_title_pleaseSelectThePublicScope', '请选择公开范围'),
105
- dictCode: 'srmNoticeScope',
106
- required: '1',
107
- },
108
- {
109
- groupCode: 'baseForm',
110
- fieldType: 'date',
111
- fieldLabel: srmI18n('i18n_field_effectiveTime', '生效时间'),
112
- fieldName: 'effectiveTime',
113
- dataFormat: 'YYYY-MM-DD HH:mm:ss',
114
- required: '1',
115
- },
116
- {
117
- groupCode: 'baseForm',
118
- fieldType: 'date',
119
- fieldLabel: srmI18n('i18n_field_expiryTime', '失效时间'),
120
- fieldName: 'expiryTime',
121
- dataFormat: 'YYYY-MM-DD HH:mm:ss',
122
- required: '1',
123
- },
124
- {
125
- groupCode: 'baseForm',
126
- fieldType: 'switch',
127
- fieldLabel: srmI18n('i18n_title_isPlacedTop', '是否置顶'),
128
- fieldName: 'top',
129
- },
130
- {
131
- groupCode: 'baseForm',
132
- fieldType: 'editor',
133
- fieldLabel: '',
134
- fieldName: 'noticeContent',
135
- },
136
- ],
137
- itemColumns: [
138
- { field: 'toElsAccount', groupCode: 'purchaseNoticeSupplierList', fieldType: 'input', title: srmI18n('i18n_title_supplierELSAccount', '供应商ELS账号'), width: 200 },
139
- { field: 'supplierCode', groupCode: 'purchaseNoticeSupplierList', fieldType: 'input', title: srmI18n('i18n_massProdHead88b_supplierErpCode', '供应商ERP编码'), width: 200 },
140
- { field: 'supplierName', groupCode: 'purchaseNoticeSupplierList', fieldType: 'input', title: srmI18n('i18n_massProdHeade95_supplierName', '供应商名称'), width: 200 },
141
- { field: 'fileName', groupCode: 'purchaseAttachmentList', fieldType: 'input', title: srmI18n('i18n_title_fileName', '文件名称'), width: 150 },
142
- { field: 'createBy', groupCode: 'purchaseAttachmentList', fieldType: 'input', title: srmI18n('i18n_title_uploader', '上传方'), width: 150 },
143
- { field: 'updateTime', groupCode: 'purchaseAttachmentList', fieldType: 'input', title: srmI18n('i18n_title_uploadTime', '上传时间'), width: 300 },
144
- ],
145
- },
146
- })
147
- </script>