super-page-runtime 1.0.16 → 1.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/package.json +5 -1
- package/.eslintrc.cjs +0 -26
- package/.prettierrc.json +0 -8
- package/App.vue +0 -9
- package/components/index.ts +0 -17
- package/components/runtime/index.ts +0 -2
- package/components/runtime/utils/assemblys-config.js +0 -294
- package/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -49
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -26
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -93
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -59
- package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
- package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
- package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
- package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
- package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
- package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
- package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
- package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
- package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
- package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
- package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
- package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
- package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
- package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -46
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -56
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -55
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -57
- package/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
- package/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
- package/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
- package/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
- package/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
- package/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
- package/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
- package/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -108
- package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
- package/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
- package/components/runtime/views/assemblys/common-attr-events.vue +0 -46
- package/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -41
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -35
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -37
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -32
- package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -54
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -99
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -117
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -103
- package/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
- package/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
- package/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
- package/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
- package/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
- package/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
- package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
- package/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
- package/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
- package/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
- package/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
- package/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
- package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
- package/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
- package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -858
- package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -625
- package/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
- package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
- package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -125
- package/components/runtime/views/assemblys/error-attr.vue +0 -15
- package/components/runtime/views/assemblys/error-render.vue +0 -17
- package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
- package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -198
- package/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
- package/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
- package/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
- package/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
- package/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
- package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
- package/components/runtime/views/assemblys/form/common/condition.vue +0 -147
- package/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
- package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
- package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
- package/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
- package/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
- package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
- package/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
- package/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
- package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
- package/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
- package/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
- package/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
- package/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
- package/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
- package/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
- package/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
- package/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
- package/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
- package/components/runtime/views/assemblys/form/common/title.vue +0 -20
- package/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
- package/components/runtime/views/assemblys/form/common/verification.vue +0 -79
- package/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
- package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
- package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -57
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -80
- package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
- package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -60
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -44
- package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
- package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -79
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -104
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -76
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -62
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -70
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -155
- package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -142
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -143
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -70
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -24
- package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -203
- package/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -169
- package/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -247
- package/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -65
- package/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
- package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
- package/components/runtime/views/assemblys/object-render.vue +0 -176
- package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
- package/components/runtime/views/assemblys/page/page-attr-base.vue +0 -259
- package/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
- package/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/page/page-attr.vue +0 -84
- package/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
- package/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
- package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
- package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
- package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
- package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
- package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
- package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
- package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -64
- package/components/runtime/views/render/page-view.vue +0 -80
- package/components/runtime/views/super-page copy.vue +0 -61
- package/components/runtime/views/super-page.vue +0 -667
- package/components/super-page-dialog/index.ts +0 -2
- package/components/super-page-dialog/super-page-dialog.vue +0 -267
- package/components/wf-editor/index.ts +0 -2
- package/components/wf-editor/wf-editor.vue +0 -15
- package/cypress/e2e/example.cy.ts +0 -8
- package/cypress/e2e/tsconfig.json +0 -10
- package/cypress/fixtures/example.json +0 -5
- package/cypress/support/commands.ts +0 -39
- package/cypress/support/e2e.ts +0 -20
- package/cypress.config.ts +0 -8
- package/env.d.ts +0 -1
- package/index.html +0 -13
- package/main.ts +0 -11
- package/package-ws.json +0 -70
- package/public/favicon.ico +0 -0
- package/tsconfig copy.json +0 -17
- package/tsconfig.app copy.json +0 -14
- package/tsconfig.app.json +0 -14
- package/tsconfig.json +0 -17
- package/tsconfig.node copy.json +0 -19
- package/tsconfig.node.json +0 -19
- package/tsconfig.vitest copy.json +0 -11
- package/tsconfig.vitest.json +0 -11
- package/vite.config copy.ts +0 -109
- package/vite.config.ts +0 -86
- package/vitest.config.ts +0 -14
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-select
|
|
3
|
-
v-if="!paramValueType"
|
|
4
|
-
v-model="paramValueType"
|
|
5
|
-
style="width: 100%"
|
|
6
|
-
size="default"
|
|
7
|
-
@change="changeType"
|
|
8
|
-
>
|
|
9
|
-
<el-option
|
|
10
|
-
v-if="valueTypes && valueTypes.indexOf('input') !== -1"
|
|
11
|
-
label="手动填写"
|
|
12
|
-
value="input"
|
|
13
|
-
/>
|
|
14
|
-
<el-option
|
|
15
|
-
v-if="valueTypes && valueTypes.indexOf('context') !== -1"
|
|
16
|
-
label="环境变量"
|
|
17
|
-
value="context"
|
|
18
|
-
/>
|
|
19
|
-
<el-option
|
|
20
|
-
v-if="valueTypes && valueTypes.indexOf('request') !== -1"
|
|
21
|
-
label="请求参数"
|
|
22
|
-
value="request"
|
|
23
|
-
/>
|
|
24
|
-
<el-option
|
|
25
|
-
v-if="valueTypes && valueTypes.indexOf('custom') !== -1"
|
|
26
|
-
label="系统参数"
|
|
27
|
-
value="custom"
|
|
28
|
-
/>
|
|
29
|
-
<el-option
|
|
30
|
-
v-if="valueTypes && valueTypes.indexOf('task') !== -1"
|
|
31
|
-
label="任务字段"
|
|
32
|
-
value="task"
|
|
33
|
-
/>
|
|
34
|
-
<el-option
|
|
35
|
-
v-if="valueTypes && valueTypes.indexOf('obj') !== -1"
|
|
36
|
-
label="对象属性"
|
|
37
|
-
value="obj"
|
|
38
|
-
/>
|
|
39
|
-
</el-select>
|
|
40
|
-
<el-select
|
|
41
|
-
v-if="paramValueType === 'context'"
|
|
42
|
-
v-model="paramValue"
|
|
43
|
-
clearable
|
|
44
|
-
size="default"
|
|
45
|
-
filterable
|
|
46
|
-
style="width: 100%"
|
|
47
|
-
default-first-option
|
|
48
|
-
allow-create
|
|
49
|
-
@change="changeParamValue(item)"
|
|
50
|
-
>
|
|
51
|
-
<el-option
|
|
52
|
-
label="当前时间"
|
|
53
|
-
value="${context.currentTime}"
|
|
54
|
-
/>
|
|
55
|
-
<el-option
|
|
56
|
-
label="本周"
|
|
57
|
-
value="${context.currentWeek}"
|
|
58
|
-
/>
|
|
59
|
-
<el-option
|
|
60
|
-
label="本月"
|
|
61
|
-
value="${context.currentMonth}"
|
|
62
|
-
/>
|
|
63
|
-
<el-option
|
|
64
|
-
label="本季度"
|
|
65
|
-
value="${context.currentQuarter}"
|
|
66
|
-
/>
|
|
67
|
-
<el-option
|
|
68
|
-
label="本年"
|
|
69
|
-
value="${context.currentYear}"
|
|
70
|
-
/>
|
|
71
|
-
<el-option
|
|
72
|
-
label="最近n天"
|
|
73
|
-
value="${context.lastNDay}"
|
|
74
|
-
/>
|
|
75
|
-
<el-option
|
|
76
|
-
label="当前用户登录名"
|
|
77
|
-
value="${context.currentTransactor}"
|
|
78
|
-
/>
|
|
79
|
-
<el-option
|
|
80
|
-
label="当前用户姓名"
|
|
81
|
-
value="${context.currentTransactorName}"
|
|
82
|
-
/>
|
|
83
|
-
<el-option
|
|
84
|
-
label="当前用户姓名(英文名)"
|
|
85
|
-
value="${context.currentTransactorNameAndEnName}"
|
|
86
|
-
/>
|
|
87
|
-
<el-option
|
|
88
|
-
label="当前用户id"
|
|
89
|
-
value="${context.currentTransactorId}"
|
|
90
|
-
/>
|
|
91
|
-
<el-option
|
|
92
|
-
label="当前用户部门id"
|
|
93
|
-
value="${context.currentTransactorMainDepartmentId}"
|
|
94
|
-
/>
|
|
95
|
-
<el-option
|
|
96
|
-
label="当前用户部门名称"
|
|
97
|
-
value="${context.currentTransactorMainDepartment}"
|
|
98
|
-
/>
|
|
99
|
-
<el-option
|
|
100
|
-
label="当前用户角色id"
|
|
101
|
-
value="${context.currentTransactorRoleId}"
|
|
102
|
-
/>
|
|
103
|
-
<el-option
|
|
104
|
-
label="当前用户角色名称"
|
|
105
|
-
value="${context.currentTransactorRole}"
|
|
106
|
-
/>
|
|
107
|
-
<el-option
|
|
108
|
-
label="当前用户工作组id"
|
|
109
|
-
value="${context.currentTransactorWorkGroupId}"
|
|
110
|
-
/>
|
|
111
|
-
<el-option
|
|
112
|
-
label="当前用户工作组名称"
|
|
113
|
-
value="${context.currentTransactorWorkGroup}"
|
|
114
|
-
/>
|
|
115
|
-
<el-option
|
|
116
|
-
label="当前用户所属分支名称"
|
|
117
|
-
value="${context.currentTransactorBranchName}"
|
|
118
|
-
/>
|
|
119
|
-
<el-option
|
|
120
|
-
label="当前用户所属分支id"
|
|
121
|
-
value="${context.currentTransactorBranchId}"
|
|
122
|
-
/>
|
|
123
|
-
</el-select>
|
|
124
|
-
<template v-if="item.paramValueType === 'context' && item.paramValue && item.paramValue.indexOf('${context.lastNDay')>=0">
|
|
125
|
-
<el-input
|
|
126
|
-
v-model="item.paramValueTemp"
|
|
127
|
-
size="default"
|
|
128
|
-
style="width: 60%"
|
|
129
|
-
@change="changeParamValue(item)"
|
|
130
|
-
/>{{$t('formEditor.attribute.day')}}
|
|
131
|
-
</template>
|
|
132
|
-
<el-select
|
|
133
|
-
v-if="item.paramValueType === 'task'"
|
|
134
|
-
v-model="item.paramValue"
|
|
135
|
-
clearable
|
|
136
|
-
size="default"
|
|
137
|
-
style="width: 100%"
|
|
138
|
-
:title="item.paramValue"
|
|
139
|
-
filterable
|
|
140
|
-
default-first-option
|
|
141
|
-
allow-create
|
|
142
|
-
@change="changeParamValue(item)"
|
|
143
|
-
>
|
|
144
|
-
<el-option
|
|
145
|
-
label="当前办理人"
|
|
146
|
-
value="${task.transactor}"
|
|
147
|
-
/>
|
|
148
|
-
<el-option
|
|
149
|
-
label="当前任务委托人"
|
|
150
|
-
value="${task.trustor}"
|
|
151
|
-
/>
|
|
152
|
-
<el-option
|
|
153
|
-
label="当前指派人"
|
|
154
|
-
value="${task.assigner}"
|
|
155
|
-
/>
|
|
156
|
-
<el-option
|
|
157
|
-
label="环节名称"
|
|
158
|
-
value="${task.name}"
|
|
159
|
-
/>
|
|
160
|
-
<el-option
|
|
161
|
-
label="环节编码"
|
|
162
|
-
value="${task.nodeId}"
|
|
163
|
-
/>
|
|
164
|
-
</el-select>
|
|
165
|
-
<template v-if="item.paramValueType === 'input'">
|
|
166
|
-
<el-input
|
|
167
|
-
v-if="options.options.type === 'textarea'"
|
|
168
|
-
v-model="item.paramValue"
|
|
169
|
-
type="textarea"
|
|
170
|
-
size="default"
|
|
171
|
-
:rows="5"
|
|
172
|
-
@change="changeParamValue(item)"
|
|
173
|
-
/>
|
|
174
|
-
<el-input
|
|
175
|
-
v-if="options.options.type === 'input'"
|
|
176
|
-
v-model="item.paramValue"
|
|
177
|
-
size="default"
|
|
178
|
-
@change="changeParamValue(item)"
|
|
179
|
-
/>
|
|
180
|
-
<el-cascader
|
|
181
|
-
v-if="options.options.type === 'cascader'"
|
|
182
|
-
v-model="item.paramValue"
|
|
183
|
-
:clearable="true"
|
|
184
|
-
:options="options.options.options"
|
|
185
|
-
size="default"
|
|
186
|
-
@change="changeParamValue(item)"
|
|
187
|
-
/>
|
|
188
|
-
<el-input
|
|
189
|
-
v-if="options.options.type === 'editor'"
|
|
190
|
-
v-model="item.paramValue"
|
|
191
|
-
:rows="2"
|
|
192
|
-
type="textarea"
|
|
193
|
-
size="default"
|
|
194
|
-
@change="changeParamValue(item)"
|
|
195
|
-
/>
|
|
196
|
-
<el-input
|
|
197
|
-
v-if="options.options.type === 'number'"
|
|
198
|
-
v-model.number="item.paramValue"
|
|
199
|
-
size="default"
|
|
200
|
-
@change="changeParamValue(item)"
|
|
201
|
-
/>
|
|
202
|
-
<el-input
|
|
203
|
-
v-if="options.options.type === 'slider'"
|
|
204
|
-
v-model.number="item.paramValue"
|
|
205
|
-
size="default"
|
|
206
|
-
@change="changeParamValue(item)"
|
|
207
|
-
/>
|
|
208
|
-
<el-rate
|
|
209
|
-
v-if="options.options.type === 'rate'"
|
|
210
|
-
v-model="item.paramValue"
|
|
211
|
-
style="display: inline-block; vertical-align: middle"
|
|
212
|
-
:max="options.options.max"
|
|
213
|
-
:allow-half="options.options.allowHalf"
|
|
214
|
-
size="default"
|
|
215
|
-
@change="changeParamValue(item)"
|
|
216
|
-
/>
|
|
217
|
-
<el-cascader
|
|
218
|
-
v-if="options.options.type === 'area'"
|
|
219
|
-
v-model="item.paramValue"
|
|
220
|
-
:size="options.options.size"
|
|
221
|
-
:options="areaOptions"
|
|
222
|
-
@change="changeParamValue(item)"
|
|
223
|
-
/>
|
|
224
|
-
<el-button
|
|
225
|
-
v-if="options.options.type === 'rate'"
|
|
226
|
-
style="display: inline-block; vertical-align: middle; margin-left: 10px"
|
|
227
|
-
size="default"
|
|
228
|
-
@click="item.paramValue = 0"
|
|
229
|
-
@change="changeParamValue(item)"
|
|
230
|
-
>
|
|
231
|
-
{{ $t('superFormPublicModel.empty') }}
|
|
232
|
-
</el-button>
|
|
233
|
-
<el-color-picker
|
|
234
|
-
v-if="options.options.type === 'color'"
|
|
235
|
-
v-model="item.paramValue"
|
|
236
|
-
:show-alpha="options.options.showAlpha"
|
|
237
|
-
size="default"
|
|
238
|
-
@change="changeParamValue(item)"
|
|
239
|
-
/>
|
|
240
|
-
<el-switch
|
|
241
|
-
v-if="options.options.type === 'switch'"
|
|
242
|
-
v-model="item.paramValue"
|
|
243
|
-
:active-text="options.options.activeText"
|
|
244
|
-
:inactive-text="options.options.inactiveText"
|
|
245
|
-
:active-value="options.options.activeValue"
|
|
246
|
-
:inactive-value="options.options.inactiveValue"
|
|
247
|
-
:active-color="options.options.activeColor"
|
|
248
|
-
:inactive-color="options.options.inactiveColor"
|
|
249
|
-
size="default"
|
|
250
|
-
@change="changeParamValue(item)"
|
|
251
|
-
/>
|
|
252
|
-
<el-date-picker
|
|
253
|
-
v-if="options.options.type === 'date'"
|
|
254
|
-
v-model="options.options.defaultValue"
|
|
255
|
-
:value-format="options.options.format"
|
|
256
|
-
:format="options.options.format"
|
|
257
|
-
style="width: 100%"
|
|
258
|
-
type="date"
|
|
259
|
-
size="default"
|
|
260
|
-
@change="changeParamValue(item)"
|
|
261
|
-
/>
|
|
262
|
-
<el-date-picker
|
|
263
|
-
v-if="options.options.type === 'time'"
|
|
264
|
-
v-model="options.options.defaultValue"
|
|
265
|
-
:value-format="options.options.format"
|
|
266
|
-
:format="options.options.format"
|
|
267
|
-
style="width: 100%"
|
|
268
|
-
type="datetime"
|
|
269
|
-
size="default"
|
|
270
|
-
@change="changeParamValue(item)"
|
|
271
|
-
/>
|
|
272
|
-
<el-select
|
|
273
|
-
v-if="options.options.type === 'rangeSelector'"
|
|
274
|
-
v-model="defaultTime"
|
|
275
|
-
style="width: 100%"
|
|
276
|
-
size="default"
|
|
277
|
-
@change="SectionDateTransfer"
|
|
278
|
-
>
|
|
279
|
-
<!-- <el-option
|
|
280
|
-
v-for="item in defaultArr"
|
|
281
|
-
:key="item.id"
|
|
282
|
-
:label="item.label"
|
|
283
|
-
:value="item.value"
|
|
284
|
-
/> -->
|
|
285
|
-
<el-option
|
|
286
|
-
:label="$t('formEditor.attribute.oneYear')"
|
|
287
|
-
value="oneYear"
|
|
288
|
-
/>
|
|
289
|
-
<el-option
|
|
290
|
-
:label="$t('formEditor.attribute.twoYear')"
|
|
291
|
-
value="twoYear"
|
|
292
|
-
/>
|
|
293
|
-
<el-option
|
|
294
|
-
:label="$t('formEditor.attribute.oneQuarter')"
|
|
295
|
-
value="oneQuarter"
|
|
296
|
-
/>
|
|
297
|
-
<el-option
|
|
298
|
-
:label="$t('formEditor.attribute.twoQuarter')"
|
|
299
|
-
value="twoQuarter"
|
|
300
|
-
/>
|
|
301
|
-
<el-option
|
|
302
|
-
:label="$t('formEditor.attribute.threeQuarter')"
|
|
303
|
-
value="threeQuarter"
|
|
304
|
-
/>
|
|
305
|
-
<el-option
|
|
306
|
-
:label="$t('formEditor.attribute.oneMonth')"
|
|
307
|
-
value="oneMonth"
|
|
308
|
-
/>
|
|
309
|
-
<el-option
|
|
310
|
-
:label="$t('formEditor.attribute.twoMonth')"
|
|
311
|
-
value="twoMonth"
|
|
312
|
-
/>
|
|
313
|
-
<el-option
|
|
314
|
-
:label="$t('formEditor.attribute.threeMonth')"
|
|
315
|
-
value="threeMonth"
|
|
316
|
-
/>
|
|
317
|
-
<el-option
|
|
318
|
-
:label="$t('formEditor.attribute.oneWeek')"
|
|
319
|
-
value="oneWeek"
|
|
320
|
-
/>
|
|
321
|
-
<el-option
|
|
322
|
-
:label="$t('formEditor.attribute.twoWeek')"
|
|
323
|
-
value="twoWeek"
|
|
324
|
-
/>
|
|
325
|
-
<el-option
|
|
326
|
-
:label="$t('formEditor.attribute.threeWeek')"
|
|
327
|
-
value="threeWeek"
|
|
328
|
-
/>
|
|
329
|
-
</el-select>
|
|
330
|
-
<el-input
|
|
331
|
-
v-if="options.options.type === 'select'"
|
|
332
|
-
v-model.number="item.paramValue"
|
|
333
|
-
size="default"
|
|
334
|
-
@change="changeParamValue(item)"
|
|
335
|
-
/>
|
|
336
|
-
<el-input
|
|
337
|
-
v-if="
|
|
338
|
-
options.options.type === 'radio' ||
|
|
339
|
-
options.options.type === 'checkbox'
|
|
340
|
-
"
|
|
341
|
-
v-model="item.paramValue"
|
|
342
|
-
size="default"
|
|
343
|
-
@change="changeParamValue(item)"
|
|
344
|
-
/>
|
|
345
|
-
<el-icon @click="showValueTypes()" style="padding-left: 2px"><el-icon-setting /></el-icon>
|
|
346
|
-
</template>
|
|
347
|
-
</template>
|
|
348
|
-
|
|
349
|
-
<script lang="ts" setup>
|
|
350
|
-
import {ref} from "vue";
|
|
351
|
-
|
|
352
|
-
const paramValueType = ref('')
|
|
353
|
-
const paramValue = ref('')
|
|
354
|
-
function changeType(){
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
</script>
|
|
359
|
-
|
|
360
|
-
<style scoped>
|
|
361
|
-
|
|
362
|
-
</style>
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-input
|
|
3
|
-
v-model.number="inputValue"
|
|
4
|
-
placeholder=""
|
|
5
|
-
class="input-with-select"
|
|
6
|
-
@input="onInput"
|
|
7
|
-
>
|
|
8
|
-
<template #append>
|
|
9
|
-
<el-select
|
|
10
|
-
ref="select"
|
|
11
|
-
v-model="unit"
|
|
12
|
-
:style="{ width: '60px' }"
|
|
13
|
-
placeholder=""
|
|
14
|
-
@change="onChange"
|
|
15
|
-
>
|
|
16
|
-
<el-option
|
|
17
|
-
v-for="unit in units"
|
|
18
|
-
:key="unit.value"
|
|
19
|
-
:label="unit.label"
|
|
20
|
-
:value="unit.value"
|
|
21
|
-
/>
|
|
22
|
-
</el-select>
|
|
23
|
-
</template>
|
|
24
|
-
</el-input>
|
|
25
|
-
</template>
|
|
26
|
-
|
|
27
|
-
<script lang="ts" setup>
|
|
28
|
-
import { ref, defineProps } from 'vue';
|
|
29
|
-
|
|
30
|
-
const props = defineProps({
|
|
31
|
-
modelValue: {
|
|
32
|
-
type: [Number],
|
|
33
|
-
default: null,
|
|
34
|
-
},
|
|
35
|
-
selectedUnit: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: 'px',
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
const emit = defineEmits(['update:modelValue', 'update:selectedUnit']);
|
|
42
|
-
|
|
43
|
-
const inputValue = ref<Number>(props.modelValue);
|
|
44
|
-
const unit = ref(props.selectedUnit);
|
|
45
|
-
const units = [
|
|
46
|
-
{ label: 'px', value: 'px' },
|
|
47
|
-
{ label: 'em', value: 'em' },
|
|
48
|
-
{ label: 'ex', value: 'ex' },
|
|
49
|
-
{ label: 'cm', value: 'cm' },
|
|
50
|
-
{ label: 'vh', value: 'vh' },
|
|
51
|
-
];
|
|
52
|
-
|
|
53
|
-
function onInput(val: number) {
|
|
54
|
-
emit('update:modelValue', val);
|
|
55
|
-
emit('update:selectedUnit', unit);
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
function onChange(newUnit: string) {
|
|
59
|
-
unit.value = newUnit;
|
|
60
|
-
emit('update:selectedUnit', newUnit);
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
</script>
|
|
64
|
-
<style>
|
|
65
|
-
.input-with-select .el-input-group__append {
|
|
66
|
-
background-color: var(--el-fill-color-blank);
|
|
67
|
-
}
|
|
68
|
-
</style>
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-form-item label="动态数据源" class="amb-design-attr-item">
|
|
3
|
-
<el-select v-model="dataSource" @change="seleteDataSource">
|
|
4
|
-
<el-option value="1" label="1" />
|
|
5
|
-
<el-option value="2" label="2" />
|
|
6
|
-
</el-select>
|
|
7
|
-
</el-form-item>
|
|
8
|
-
<el-form-item label="字段设置" class="amb-design-attr-item">
|
|
9
|
-
<el-button type="primary" @click="dialogVisible = true">设置</el-button>
|
|
10
|
-
</el-form-item>
|
|
11
|
-
|
|
12
|
-
<el-dialog
|
|
13
|
-
v-model="dialogVisible"
|
|
14
|
-
title="字段设置"
|
|
15
|
-
width="30%"
|
|
16
|
-
>
|
|
17
|
-
<el-row style="padding-bottom: 8px">
|
|
18
|
-
<el-button
|
|
19
|
-
:icon="ElIconCirclePlusOutline"
|
|
20
|
-
plain
|
|
21
|
-
type="primary"
|
|
22
|
-
@click="add"
|
|
23
|
-
>
|
|
24
|
-
添加
|
|
25
|
-
</el-button>
|
|
26
|
-
<el-button
|
|
27
|
-
:icon="ElIconDelete"
|
|
28
|
-
plain
|
|
29
|
-
type="primary"
|
|
30
|
-
@click="remove"
|
|
31
|
-
>
|
|
32
|
-
删除
|
|
33
|
-
</el-button>
|
|
34
|
-
</el-row>
|
|
35
|
-
<el-table highlight-current-row @current-change="handleCurrentChange" :data="list" style="width: 100%">
|
|
36
|
-
<el-table-column label="序号" type="index" />
|
|
37
|
-
<el-table-column prop="date" label="来源字段">
|
|
38
|
-
<template #default="scope">
|
|
39
|
-
<el-select
|
|
40
|
-
v-model="scope.row.selectedFieldArr"
|
|
41
|
-
clearable
|
|
42
|
-
size="default"
|
|
43
|
-
>
|
|
44
|
-
<el-option label="字段1" value="1"/>
|
|
45
|
-
<el-option label="字段2" value="2"/>
|
|
46
|
-
</el-select>
|
|
47
|
-
</template>
|
|
48
|
-
</el-table-column>
|
|
49
|
-
<el-table-column prop="date" label="值字段">
|
|
50
|
-
<template #default="scope">
|
|
51
|
-
<el-select
|
|
52
|
-
v-model="scope.row.valueField"
|
|
53
|
-
clearable
|
|
54
|
-
size="default"
|
|
55
|
-
>
|
|
56
|
-
<el-option label="字段1" value="1"/>
|
|
57
|
-
<el-option label="字段2" value="2"/>
|
|
58
|
-
</el-select>
|
|
59
|
-
</template>
|
|
60
|
-
</el-table-column>
|
|
61
|
-
</el-table>
|
|
62
|
-
<template #footer>
|
|
63
|
-
<div class="dialog-footer">
|
|
64
|
-
<el-button @click="dialogVisible = false">取消</el-button>
|
|
65
|
-
<el-button type="primary" @click="dialogVisible = false">
|
|
66
|
-
确定
|
|
67
|
-
</el-button>
|
|
68
|
-
</div>
|
|
69
|
-
</template>
|
|
70
|
-
</el-dialog>
|
|
71
|
-
</template>
|
|
72
|
-
|
|
73
|
-
<script lang="ts" setup>
|
|
74
|
-
import {reactive, ref} from "vue";
|
|
75
|
-
|
|
76
|
-
const props = defineProps({
|
|
77
|
-
modelValue:{
|
|
78
|
-
type:String,
|
|
79
|
-
default:''
|
|
80
|
-
},
|
|
81
|
-
})
|
|
82
|
-
|
|
83
|
-
const emit = defineEmits(['update:modelValue']);
|
|
84
|
-
|
|
85
|
-
const dataSource = ref(props.modelValue)
|
|
86
|
-
|
|
87
|
-
const list = ref([
|
|
88
|
-
{selectedFieldArr:'1',valueField:'2'},
|
|
89
|
-
{selectedFieldArr:'1',valueField:'2'},
|
|
90
|
-
{selectedFieldArr:'1',valueField:'2'},
|
|
91
|
-
])
|
|
92
|
-
const dialogVisible = ref(false)
|
|
93
|
-
const currentRow = ref({})
|
|
94
|
-
|
|
95
|
-
function remove(){
|
|
96
|
-
list.value = list.value.filter(item => item !== currentRow.value)
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function seleteDataSource() {
|
|
100
|
-
emit('update:modelValue',dataSource.value)
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function handleCurrentChange(val){
|
|
104
|
-
currentRow.value = val
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function add(){
|
|
108
|
-
list.value.push({selectedFieldArr:'1',valueField:'2'},)
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
</script>
|
|
112
|
-
|
|
113
|
-
<style scoped>
|
|
114
|
-
|
|
115
|
-
</style>
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-form-item label="格式化分类" class="amb-design-attr-item">
|
|
3
|
-
<el-select v-model="formatting.type" placeholder="请选择">
|
|
4
|
-
<el-option label="数值" value="number"/>
|
|
5
|
-
<el-option label="货币" value="currency"/>
|
|
6
|
-
<el-option label="日期选择器" value="date" />
|
|
7
|
-
<el-option label="时间选择器" value="time" />
|
|
8
|
-
<el-option label="百分比" value="percent" />
|
|
9
|
-
<el-option label="键值对" value="keyValuePair"/>
|
|
10
|
-
<el-option label="选项组" value="optionGroup"/>
|
|
11
|
-
<el-option label="枚举类名" value="enumname"/>
|
|
12
|
-
<el-option label="bean名称" value="beanname"/>
|
|
13
|
-
<el-option label="动态数据源" value="dynamicDataSource"/>
|
|
14
|
-
</el-select>
|
|
15
|
-
</el-form-item>
|
|
16
|
-
<el-form-item v-if="formatting.type === 'number'|| formatting.type === 'currency'|| formatting.type === 'percent'" label="小数位数" class="amb-design-attr-item">
|
|
17
|
-
<el-input v-model="formatting.decimalDigit" />
|
|
18
|
-
</el-form-item>
|
|
19
|
-
<el-form-item v-if="formatting.type === 'number'" label="千位分隔符" class="amb-design-attr-item">
|
|
20
|
-
<el-switch
|
|
21
|
-
v-model="formatting.thousandsSeparator"
|
|
22
|
-
active-text="使用"
|
|
23
|
-
inactive-text="不使用"
|
|
24
|
-
/>
|
|
25
|
-
</el-form-item>
|
|
26
|
-
<el-form-item v-if="formatting.type === 'number'" label="数值符号" class="amb-design-attr-item">
|
|
27
|
-
<el-input v-model="formatting.symbol" />
|
|
28
|
-
</el-form-item>
|
|
29
|
-
<el-form-item v-if="formatting.type === 'currency'" label="货币符号" class="amb-design-attr-item">
|
|
30
|
-
<el-select v-model="formatting.currencySymbol" placeholder="Select" style="width: 240px">
|
|
31
|
-
<el-option label="$" value="$"/>
|
|
32
|
-
<el-option label="¥" value="¥"/>
|
|
33
|
-
</el-select>
|
|
34
|
-
</el-form-item>
|
|
35
|
-
<el-form-item v-if="formatting.type === 'date'" label="日期类型" class="amb-design-attr-item">
|
|
36
|
-
<el-select v-model="formatting.dataType" placeholder="Select" style="width: 240px">
|
|
37
|
-
<el-option value="yyyy-m-d" label="yyyy-m-d" />
|
|
38
|
-
<el-option value="yyyy-m-d hh:mm:ss" label="yyyy-m-d hh:mm:ss" />
|
|
39
|
-
<el-option value="yyyy-m" label="yyyy-m" />
|
|
40
|
-
<el-option value="m-d" label="m-d" />
|
|
41
|
-
<el-option value="yyyy年m月d日" label="yyyy年m月d日" />
|
|
42
|
-
<el-option
|
|
43
|
-
value="yyyy年m月d日hh时mm分ss秒"
|
|
44
|
-
label="yyyy年m月d日hh时mm分ss秒"
|
|
45
|
-
/>
|
|
46
|
-
<el-option value="yyyy年m月" label="yyyy年m月" />
|
|
47
|
-
<el-option value="m月d日" label="m月d日" />
|
|
48
|
-
</el-select>
|
|
49
|
-
</el-form-item>
|
|
50
|
-
<el-form-item v-if="formatting.type === 'time'" label="时间类型" class="amb-design-attr-item">
|
|
51
|
-
<el-select v-model="formatting.timeType" placeholder="Select" style="width: 240px">
|
|
52
|
-
<el-option value="h:mm" label="h:mm" />
|
|
53
|
-
<el-option value="h:mm:ss" label="h:mm:ss" />
|
|
54
|
-
<el-option value="h时mm分" label="h时mm分" />
|
|
55
|
-
<el-option value="h时mm分ss秒" label="h时mm分ss秒" />
|
|
56
|
-
</el-select>
|
|
57
|
-
</el-form-item>
|
|
58
|
-
<el-form-item v-if="formatting.type === 'keyValuePair'||formatting.type === 'enumname'||formatting.type === 'beanname'" label="键值对" class="amb-design-attr-item">
|
|
59
|
-
<el-input v-model="formatting.name" />
|
|
60
|
-
</el-form-item>
|
|
61
|
-
<el-form-item v-if="formatting.type === 'optionGroup'" label="选项组" class="amb-design-attr-item">
|
|
62
|
-
<el-select v-model="formatting.name" placeholder="Select" style="width: 240px">
|
|
63
|
-
<el-option value="1" label="1" />
|
|
64
|
-
</el-select>
|
|
65
|
-
</el-form-item>
|
|
66
|
-
<DynamicDataSourceSetting v-if="formatting.type === 'dynamicDataSource'" v-model:modelValue="formatting.dynamicDataSourceCode" />
|
|
67
|
-
</template>
|
|
68
|
-
|
|
69
|
-
<script lang="ts" setup>
|
|
70
|
-
import Suffixmodule from '../../form/common/suffixmodule.vue'
|
|
71
|
-
import IconSetDialog from '../../form/common/icon-set-dialog.vue'
|
|
72
|
-
import DynamicDataSourceSetting from './dynamic-data-source-setting.vue'
|
|
73
|
-
|
|
74
|
-
const props = defineProps({
|
|
75
|
-
formatting:{
|
|
76
|
-
type:Object,
|
|
77
|
-
default:{}
|
|
78
|
-
},
|
|
79
|
-
})
|
|
80
|
-
|
|
81
|
-
</script>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-select
|
|
3
|
-
ref="select"
|
|
4
|
-
v-model="num"
|
|
5
|
-
placeholder=""
|
|
6
|
-
@change="onChange"
|
|
7
|
-
>
|
|
8
|
-
<el-option
|
|
9
|
-
v-for="option in options"
|
|
10
|
-
:key="option"
|
|
11
|
-
:label="option"
|
|
12
|
-
:value="option"
|
|
13
|
-
/>
|
|
14
|
-
</el-select>
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<script lang="ts" setup>
|
|
18
|
-
import { defineProps, ref } from 'vue';
|
|
19
|
-
|
|
20
|
-
defineProps({
|
|
21
|
-
modelValue: {
|
|
22
|
-
type: [Number],
|
|
23
|
-
default: null,
|
|
24
|
-
},
|
|
25
|
-
options: {
|
|
26
|
-
type: Array,
|
|
27
|
-
default: null
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
const emit = defineEmits(['update:modelValue']);
|
|
32
|
-
|
|
33
|
-
const num = ref("")
|
|
34
|
-
|
|
35
|
-
function onChange(val: number) {
|
|
36
|
-
emit('update:modelValue', val);
|
|
37
|
-
};
|
|
38
|
-
</script>
|
|
39
|
-
<style>
|
|
40
|
-
.input-with-select .el-input-group__append {
|
|
41
|
-
background-color: var(--el-fill-color-blank);
|
|
42
|
-
}
|
|
43
|
-
</style>
|