@qqt-product/system 0.0.16 → 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.
- package/dist/index.es.js +9595 -9168
- package/dist/index.umd.js +34 -35
- package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +15 -12
- package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +13 -10
- package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +16 -12
- package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +12 -9
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +12 -9
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +15 -12
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +9 -0
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue.d.ts +387 -3
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +15 -12
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +12 -9
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +17 -14
- package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +1 -1
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +2 -1
- package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +9 -0
- package/dist/lib/components/QRoleList/src/components/userAuthorization/index.d.ts +4 -4
- package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +19 -2
- package/dist/lib/components/QSupplierAccountList/src/useConfigData.d.ts +9 -0
- package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +0 -1
- package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +12 -9
- package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +15 -12
- package/dist/style.css +1 -1
- package/package.json +20 -9
- package/.eslintignore +0 -4
- package/.eslintrc.cjs +0 -22
- package/.prettierignore +0 -4
- package/.prettierrc.cjs +0 -41
- package/.vscode/extensions.json +0 -3
- package/dist/vite.svg +0 -1
- package/index.html +0 -13
- package/public/vite.svg +0 -1
- package/src/App.vue +0 -8
- package/src/lib/components/QAccountList/index.ts +0 -6
- package/src/lib/components/QAccountList/src/QAccountCreate.vue +0 -272
- package/src/lib/components/QAccountList/src/QAccountDetail.vue +0 -259
- package/src/lib/components/QAccountList/src/QAccountEdit.vue +0 -273
- package/src/lib/components/QAccountList/src/QAccountList.vue +0 -532
- package/src/lib/components/QAccountList/src/useConfigData.ts +0 -53
- package/src/lib/components/QBackgroundFileTaskList/index.ts +0 -6
- package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +0 -143
- package/src/lib/components/QBackgroundFileTaskList/src/useConfigData.ts +0 -20
- package/src/lib/components/QElsEmailSendLogList/index.ts +0 -6
- package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +0 -172
- package/src/lib/components/QElsEmailSendLogList/src/useConfigData.ts +0 -19
- package/src/lib/components/QElsMsgRecordList/index.ts +0 -6
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue +0 -148
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +0 -123
- package/src/lib/components/QElsMsgRecordList/src/useConfigData.ts +0 -22
- package/src/lib/components/QElsTenantPortalNewsList/index.ts +0 -6
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue +0 -139
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +0 -244
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +0 -151
- package/src/lib/components/QElsTenantPortalNewsList/src/useConfigData.ts +0 -20
- package/src/lib/components/QI18nList/index.ts +0 -6
- package/src/lib/components/QI18nList/src/QI18nForm.vue +0 -141
- package/src/lib/components/QI18nList/src/QI18nList.vue +0 -365
- package/src/lib/components/QI18nList/src/useConfigData.ts +0 -37
- package/src/lib/components/QImChatGroupList/index.ts +0 -6
- package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +0 -103
- package/src/lib/components/QImChatGroupList/src/useConfigData.ts +0 -17
- package/src/lib/components/QMqRecordList/index.ts +0 -6
- package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +0 -109
- package/src/lib/components/QMqRecordList/src/useConfigData.ts +0 -18
- package/src/lib/components/QPasswordSecurityPolicy/index.ts +0 -6
- package/src/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue +0 -266
- package/src/lib/components/QPermissionDataList/index.ts +0 -6
- package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +0 -3
- package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +0 -218
- package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +0 -110
- package/src/lib/components/QPermissionDataList/src/form.vue +0 -109
- package/src/lib/components/QPurchaseNoticeList/index.ts +0 -6
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +0 -147
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +0 -332
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +0 -189
- package/src/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.ts +0 -84
- package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +0 -22
- package/src/lib/components/QPurchaseNoticeTemplateList/index.ts +0 -6
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +0 -134
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue +0 -91
- package/src/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.ts +0 -18
- package/src/lib/components/QQuartzJobList/index.ts +0 -6
- package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +0 -276
- package/src/lib/components/QQuartzJobList/src/components/JCron.vue +0 -82
- package/src/lib/components/QQuartzJobList/src/components/JCronModal.vue +0 -985
- package/src/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue +0 -176
- package/src/lib/components/QQuartzJobList/src/useConfigData.ts +0 -26
- package/src/lib/components/QRoleList/index.ts +0 -6
- package/src/lib/components/QRoleList/src/QRoleList.vue +0 -332
- package/src/lib/components/QRoleList/src/components/content-header/contentHeader.less +0 -31
- package/src/lib/components/QRoleList/src/components/content-header/index.tsx +0 -42
- package/src/lib/components/QRoleList/src/components/userAuthorization/index.tsx +0 -690
- package/src/lib/components/QRoleList/src/components/userAuthorization/userAuthorization.less +0 -97
- package/src/lib/components/QRoleList/src/useConfigData.ts +0 -28
- package/src/lib/components/QSupplierAccountList/index.ts +0 -6
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue +0 -187
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +0 -304
- package/src/lib/components/QSupplierAccountList/src/useConfigData.ts +0 -29
- package/src/lib/components/QUsageList/index.ts +0 -6
- package/src/lib/components/QUsageList/src/QUsageList.vue +0 -287
- package/src/lib/components/QUsageList/src/useConfigData.ts +0 -154
- package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +0 -140
- package/src/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue +0 -100
- package/src/lib/components/QcustomConfigEdit/component/dataFormatComponent.tsx +0 -100
- package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +0 -71
- package/src/lib/components/QcustomConfigEdit/index.ts +0 -6
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +0 -1895
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +0 -242
- package/src/lib/components/QcustomConfigEdit/src/types.ts +0 -71
- package/src/lib/components/QcustomConfigEdit/src/useConfigComputed.ts +0 -75
- package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +0 -123
- package/src/lib/components/QcustomConfigEdit/src/useConfigMethods.ts +0 -117
- package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +0 -301
- package/src/lib/components/QcustomConfigEdit/style/index.less +0 -41
- package/src/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue +0 -135
- package/src/lib/components/QcustomConfigList/index.ts +0 -6
- package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +0 -276
- package/src/lib/components/QcustomConfigList/src/types.ts +0 -1
- package/src/lib/components/QcustomConfigList/src/useConfigData.ts +0 -23
- package/src/lib/components/QcustomConfigList/src/useMethods.ts +0 -36
- package/src/lib/components/QcustomConfigList/style/index.less +0 -3
- package/src/lib/components/QsysConfigList/index.ts +0 -6
- package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +0 -124
- package/src/lib/components/QsysConfigList/src/types.ts +0 -1
- package/src/lib/components/QsysConfigList/src/useConfigData.ts +0 -17
- package/src/lib/components/QsysConfigList/src/useMethods.ts +0 -11
- package/src/lib/components/QsysConfigList/style/index.less +0 -3
- package/src/lib/components/index.ts +0 -78
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue +0 -49
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +0 -135
- package/src/lib/components/integratedNodesList/src/index.vue +0 -130
- package/src/lib/components/integratedReportList/src/index.vue +0 -111
- package/src/lib/components/integratedReportSearchList/src/index.vue +0 -106
- package/src/lib/components/loginAbnormalLogList/src/index.vue +0 -43
- package/src/lib/components/loginLogList/src/index.vue +0 -51
- package/src/lib/components/loginSupplierLogList/src/index.vue +0 -53
- package/src/lib/components/operateLogList/src/index.vue +0 -46
- package/src/lib/index.ts +0 -15
- package/src/lib/utils/constant.ts +0 -1
- package/src/lib/utils/global.hook.ts +0 -337
- package/src/lib/utils/global.types.ts +0 -49
- package/src/lib/utils/regexp.ts +0 -143
- package/src/main.ts +0 -11
- package/src/vite-env.d.ts +0 -13
- package/tsconfig.json +0 -24
- package/tsconfig.node.json +0 -9
- package/vite.config.ts +0 -61
- /package/dist/{index.es.d.ts → index.d.ts} +0 -0
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { defineComponent } from 'vue'
|
|
2
|
-
export default defineComponent({
|
|
3
|
-
name: 'DataFormatComponent',
|
|
4
|
-
emits: ['change'],
|
|
5
|
-
model: {
|
|
6
|
-
prop: 'value',
|
|
7
|
-
event: 'change',
|
|
8
|
-
},
|
|
9
|
-
props: {
|
|
10
|
-
value: {
|
|
11
|
-
type: String || Number,
|
|
12
|
-
default: '',
|
|
13
|
-
},
|
|
14
|
-
configData: {
|
|
15
|
-
type: Object,
|
|
16
|
-
default: () => {
|
|
17
|
-
return {}
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
dictCode: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: '',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
data() {
|
|
26
|
-
return {
|
|
27
|
-
dataFormatOptions: ['YYYY-MM-DD', 'YYYY-MM-DD HH:mm', 'YYYY-MM-DD HH:mm:ss'],
|
|
28
|
-
dataFloatOptions: [
|
|
29
|
-
{ key: 1, value: '#.0' },
|
|
30
|
-
{ key: 2, value: '#.00' },
|
|
31
|
-
{ key: 3, value: '#.000' },
|
|
32
|
-
{ key: 4, value: '#.0000' },
|
|
33
|
-
{ key: 5, value: '#.00000' },
|
|
34
|
-
{ key: 6, value: '#.000000' },
|
|
35
|
-
],
|
|
36
|
-
realVue: '',
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
watch: {
|
|
40
|
-
value: {
|
|
41
|
-
immediate: true,
|
|
42
|
-
handler(val) {
|
|
43
|
-
this.realVue = val
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
methods: {
|
|
48
|
-
inputChange(e: Event) {
|
|
49
|
-
const val = (e.target as HTMLInputElement).value
|
|
50
|
-
console.log('1231232', val)
|
|
51
|
-
// this.$emit('input', val)
|
|
52
|
-
this.$emit('change', val)
|
|
53
|
-
// this.$emit('update:value', val)
|
|
54
|
-
},
|
|
55
|
-
selectChange(val: string | number) {
|
|
56
|
-
// this.$emit('input', val)
|
|
57
|
-
// this.$emit('change', val)
|
|
58
|
-
this.$emit('change', val)
|
|
59
|
-
},
|
|
60
|
-
floatChange(val: string | number) {
|
|
61
|
-
// this.$emit('input', val)
|
|
62
|
-
// this.$emit('change', val)
|
|
63
|
-
this.$emit('change', val)
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
render() {
|
|
67
|
-
const opts = this.dataFormatOptions.map((n) => <a-select-option value={n}>{n}</a-select-option>)
|
|
68
|
-
const floatOpts = this.dataFloatOptions.map((n) => (
|
|
69
|
-
<a-select-option key={n.key} value={n.value}>
|
|
70
|
-
{n.value}
|
|
71
|
-
</a-select-option>
|
|
72
|
-
))
|
|
73
|
-
const props = {
|
|
74
|
-
allowClear: true,
|
|
75
|
-
}
|
|
76
|
-
let $EL: any
|
|
77
|
-
switch (this.configData.fieldType) {
|
|
78
|
-
case 'date':
|
|
79
|
-
$EL = (
|
|
80
|
-
<a-select style={{ width: '100%' }} vModel={this.realVue} onChange={this.selectChange} {...{ props }}>
|
|
81
|
-
{opts}
|
|
82
|
-
</a-select>
|
|
83
|
-
)
|
|
84
|
-
break
|
|
85
|
-
|
|
86
|
-
case 'float':
|
|
87
|
-
$EL = (
|
|
88
|
-
<a-select style={{ width: '100%' }} vModel={this.realVue} onChange={this.floatChange} {...{ props }}>
|
|
89
|
-
{floatOpts}
|
|
90
|
-
</a-select>
|
|
91
|
-
)
|
|
92
|
-
break
|
|
93
|
-
|
|
94
|
-
default:
|
|
95
|
-
$EL = <a-input vModel={this.realVue} onChange={this.inputChange} />
|
|
96
|
-
break
|
|
97
|
-
}
|
|
98
|
-
return [<div class="data-form-comp">{$EL}</div>]
|
|
99
|
-
},
|
|
100
|
-
})
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent, watch, ref } from 'vue'
|
|
2
|
-
import { regExpOptions } from '../../../../lib/utils/regexp'
|
|
3
|
-
|
|
4
|
-
interface rexgArryTs {
|
|
5
|
-
label?: string
|
|
6
|
-
value?: string
|
|
7
|
-
msg?: string
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export default defineComponent({
|
|
11
|
-
name: 'regexComponent',
|
|
12
|
-
emits: ['updateInfo', 'change', 'update:modelValue'],
|
|
13
|
-
props: {
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: String || Number,
|
|
16
|
-
default: '',
|
|
17
|
-
},
|
|
18
|
-
configData: {
|
|
19
|
-
type: Object,
|
|
20
|
-
default: () => {
|
|
21
|
-
return {}
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
dictCode: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: '',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
setup(props, ctx) {
|
|
30
|
-
const realVal = ref('')
|
|
31
|
-
|
|
32
|
-
watch(
|
|
33
|
-
() => props.modelValue,
|
|
34
|
-
(val) => {
|
|
35
|
-
realVal.value = val
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
immediate: true,
|
|
39
|
-
},
|
|
40
|
-
)
|
|
41
|
-
|
|
42
|
-
const selectChange = (val: string | number) => {
|
|
43
|
-
if (val) {
|
|
44
|
-
const { msg = '' } = regExpOptions.find((n) => n.value === val) as rexgArryTs
|
|
45
|
-
ctx.emit('updateInfo', { msg }) // 正则验证提示语
|
|
46
|
-
ctx.emit('update:modelValue', val)
|
|
47
|
-
ctx.emit('change', val)
|
|
48
|
-
} else {
|
|
49
|
-
ctx.emit('updateInfo', { msg: '' }) // 正则验证提示语
|
|
50
|
-
ctx.emit('update:modelValue', '')
|
|
51
|
-
ctx.emit('change', '')
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
realVal,
|
|
56
|
-
selectChange,
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
render() {
|
|
60
|
-
const opts = regExpOptions.map((n) => <a-select-option value={n.value}>{n.label}</a-select-option>)
|
|
61
|
-
const props = {
|
|
62
|
-
allowClear: true,
|
|
63
|
-
}
|
|
64
|
-
const $EL = (
|
|
65
|
-
<a-select style={{ width: '100%' }} v-model={[this.realVal, 'value']} onChange={this.selectChange} {...props}>
|
|
66
|
-
{opts}
|
|
67
|
-
</a-select>
|
|
68
|
-
)
|
|
69
|
-
return <div class="data-form-comp">{$EL}</div>
|
|
70
|
-
},
|
|
71
|
-
})
|