@xfu0401/form-generator 1.0.21 → 1.0.22
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 +1 -1
- package/.eslintrc.js +0 -48
- package/@xfu0401/form-generator/package.json +0 -62
- package/LICENSE +0 -127
- package/README.md +0 -268
- package/babel.config.js +0 -22
- package/public/favicon.ico +0 -0
- package/public/img/show/PixPin_2024-07-17_16-25-59.gif +0 -0
- package/public/img/show/PixPin_2024-07-17_16-33-51.png +0 -0
- package/public/img/show/file.png +0 -0
- package/public/img/show/image.png +0 -0
- package/public/img/show/pc/347/253/257/346/270/262/346/237/223.png +0 -0
- package/public/img/show/pc/347/253/257/350/257/246/346/203/205.png +0 -0
- package/public/img/show//344/272/213/344/273/266.png +0 -0
- package/public/img/show//345/205/250/345/261/200/344/272/213/344/273/266.png +0 -0
- package/public/img/show//345/205/250/345/261/200/346/240/267/345/274/217.png +0 -0
- package/public/img/show//346/240/267/345/274/217/345/261/236/346/200/247.png +0 -0
- package/public/img/show//347/247/273/345/212/250/347/253/257/346/270/262/346/237/223.png +0 -0
- package/public/img/show//347/247/273/345/212/250/347/253/257/350/257/246/346/203/205.png +0 -0
- package/public/img/show//347/274/226/350/276/221/345/231/2502.png +0 -0
- package/public/img/show//347/274/226/350/276/221/345/231/2503.png +0 -0
- package/public/img/show//347/274/226/350/276/221/345/231/2504.png +0 -0
- package/public/img/temp//344/270/273/344/273/216/350/241/250/345/215/225.jpg +0 -0
- package/public/img/temp//345/210/206/347/273/204/350/241/250/345/215/225.jpg +0 -0
- package/public/img/temp//345/215/225/345/210/227/350/241/250/345/215/225.jpg +0 -0
- package/public/img/temp//345/233/272/345/256/232/350/241/250/346/240/274/350/241/250/345/215/225.jpg +0 -0
- package/public/img/temp//345/244/232/345/210/227/350/241/250/345/215/225.jpg +0 -0
- package/public/img/temp//346/240/207/347/255/276/351/241/265/350/241/250/345/215/225.jpg +0 -0
- package/public/index.html +0 -25
- package/public/static/js/config.js +0 -2
- package/src/App.vue +0 -18
- package/src/api/data.js +0 -52
- package/src/components/Layout/Layout.vue +0 -28
- package/src/components/Layout/LeftMenu.vue +0 -46
- package/src/components/SvgIcon/index.vue +0 -43
- package/src/components/code/Code.vue +0 -98
- package/src/components/common/FGDialog.vue +0 -100
- package/src/components/editor/CodeDialog.vue +0 -68
- package/src/components/editor/CodeEditor.vue +0 -191
- package/src/components/editor/CodeJson.vue +0 -130
- package/src/components/editor/CssEditor.vue +0 -84
- package/src/components/editor/EventEditor.vue +0 -84
- package/src/components/editor/JsonDialog.vue +0 -55
- package/src/components/editor/JsonEditor.vue +0 -58
- package/src/components/editor/components/EditorLeft.vue +0 -138
- package/src/components/fileComs/ExportExcel.vue +0 -49
- package/src/components/fileComs/ExportJson.vue +0 -52
- package/src/components/fileComs/ImportExcel.vue +0 -96
- package/src/components/fileComs/ImportJson.vue +0 -65
- package/src/components/formGenerator/components/formExport.vue +0 -52
- package/src/components/formGenerator/components/formGeneratorAttrField.vue +0 -1113
- package/src/components/formGenerator/components/formGeneratorAttrForm.vue +0 -98
- package/src/components/formGenerator/components/formGeneratorCom.vue +0 -108
- package/src/components/formGenerator/components/formGeneratorOutline.vue +0 -159
- package/src/components/formGenerator/components/formGeneratorTemp.vue +0 -77
- package/src/components/formGenerator/components/formImport.vue +0 -62
- package/src/components/formGenerator/components/formPreview.vue +0 -102
- package/src/components/formGenerator/configComponents/DataConfig.vue +0 -156
- package/src/components/formGenerator/configComponents/DataDialog.vue +0 -188
- package/src/components/formGenerator/configComponents/EventConfig.vue +0 -56
- package/src/components/formGenerator/configComponents/PageConfig.vue +0 -55
- package/src/components/formGenerator/configComponents/RegConfig.vue +0 -105
- package/src/components/formGenerator/configComponents/ShadowConfig.vue +0 -95
- package/src/components/formGenerator/configComponents/SpaceConfig.vue +0 -187
- package/src/components/formGenerator/configComponents/StyleConfig.vue +0 -258
- package/src/components/formGenerator/configComponents/TableConfig.vue +0 -75
- package/src/components/formGenerator/configComponents/TableHead.vue +0 -141
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formButton.vue +0 -25
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formDivider.vue +0 -49
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formHtml.vue +0 -37
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formLink.vue +0 -26
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formNotice.vue +0 -118
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formRemark.vue +0 -29
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formSwipe.vue +0 -39
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formTable.vue +0 -130
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formTableExport.vue +0 -311
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formTag.vue +0 -30
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formText.vue +0 -27
- package/src/components/formGenerator/formComponents/pcComponents/assistComs/formTree.vue +0 -47
- package/src/components/formGenerator/formComponents/pcComponents/components/emptyTips.vue +0 -24
- package/src/components/formGenerator/formComponents/pcComponents/components/esignDialog.vue +0 -86
- package/src/components/formGenerator/formComponents/pcComponents/components/filesShow.vue +0 -121
- package/src/components/formGenerator/formComponents/pcComponents/components/imageShow.vue +0 -148
- package/src/components/formGenerator/formComponents/pcComponents/components/nameShow.vue +0 -54
- package/src/components/formGenerator/formComponents/pcComponents/components/tableOptions.vue +0 -56
- package/src/components/formGenerator/formComponents/pcComponents/components/tableStyle.vue +0 -58
- package/src/components/formGenerator/formComponents/pcComponents/components/userPicker.vue +0 -440
- package/src/components/formGenerator/formComponents/pcComponents/inputComs/formAutocomplete.vue +0 -79
- package/src/components/formGenerator/formComponents/pcComponents/inputComs/formInput.vue +0 -56
- package/src/components/formGenerator/formComponents/pcComponents/inputComs/formInputNumber.vue +0 -51
- package/src/components/formGenerator/formComponents/pcComponents/inputComs/formRichText.vue +0 -138
- package/src/components/formGenerator/formComponents/pcComponents/layoutComs/formCard.vue +0 -35
- package/src/components/formGenerator/formComponents/pcComponents/layoutComs/formCollapse.vue +0 -79
- package/src/components/formGenerator/formComponents/pcComponents/layoutComs/formRowContainer.vue +0 -337
- package/src/components/formGenerator/formComponents/pcComponents/layoutComs/formSteps.vue +0 -90
- package/src/components/formGenerator/formComponents/pcComponents/layoutComs/formSub.vue +0 -219
- package/src/components/formGenerator/formComponents/pcComponents/layoutComs/formTableContainer.vue +0 -277
- package/src/components/formGenerator/formComponents/pcComponents/layoutComs/formTabsContainer.vue +0 -65
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formCascader.vue +0 -62
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formCheckboxGroup.vue +0 -70
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formColorPicker.vue +0 -39
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formDatePicker.vue +0 -43
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formDaterangePicker.vue +0 -40
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formImage.vue +0 -235
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formOrgPicker.vue +0 -131
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formRadioGroup.vue +0 -59
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formRate.vue +0 -50
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formSelect.vue +0 -62
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formSelectHis.vue +0 -66
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formSelectProject.vue +0 -62
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formSignature.vue +0 -98
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formSlider.vue +0 -46
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formSwitch.vue +0 -37
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formTimePicker.vue +0 -41
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formTimerangePicker.vue +0 -40
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formUpload.vue +0 -253
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formUploadTemp.vue +0 -82
- package/src/components/formGenerator/formComponents/pcComponents/selectComs/formUserPicker.vue +0 -142
- package/src/components/formGenerator/formComponents/pcForm.vue +0 -155
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formButton.vue +0 -36
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formDivider.vue +0 -41
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formHtml.vue +0 -37
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formLink.vue +0 -49
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formNotice.vue +0 -43
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formRemark.vue +0 -39
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formSwipe.vue +0 -34
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formTable.vue +0 -132
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formTableExport.vue +0 -268
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formTag.vue +0 -147
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formText.vue +0 -27
- package/src/components/formGenerator/formComponents/phoneComponents/assistComs/formTree.vue +0 -21
- package/src/components/formGenerator/formComponents/phoneComponents/components/cascaderPicker.vue +0 -81
- package/src/components/formGenerator/formComponents/phoneComponents/components/datePicker.vue +0 -101
- package/src/components/formGenerator/formComponents/phoneComponents/components/esignDialog.vue +0 -156
- package/src/components/formGenerator/formComponents/phoneComponents/components/filesShow.vue +0 -128
- package/src/components/formGenerator/formComponents/phoneComponents/components/imageShow.vue +0 -123
- package/src/components/formGenerator/formComponents/phoneComponents/components/nameShow.vue +0 -84
- package/src/components/formGenerator/formComponents/phoneComponents/components/orgPicker.vue +0 -343
- package/src/components/formGenerator/formComponents/phoneComponents/components/tableShow.vue +0 -149
- package/src/components/formGenerator/formComponents/phoneComponents/components/textShow.vue +0 -25
- package/src/components/formGenerator/formComponents/phoneComponents/components/timePicker.vue +0 -90
- package/src/components/formGenerator/formComponents/phoneComponents/inputComs/formAutocomplete.vue +0 -163
- package/src/components/formGenerator/formComponents/phoneComponents/inputComs/formInput.vue +0 -111
- package/src/components/formGenerator/formComponents/phoneComponents/inputComs/formInputNumber.vue +0 -65
- package/src/components/formGenerator/formComponents/phoneComponents/inputComs/formRichText.vue +0 -147
- package/src/components/formGenerator/formComponents/phoneComponents/layoutComs/formCard.vue +0 -59
- package/src/components/formGenerator/formComponents/phoneComponents/layoutComs/formCollapse.vue +0 -71
- package/src/components/formGenerator/formComponents/phoneComponents/layoutComs/formRowContainer.vue +0 -94
- package/src/components/formGenerator/formComponents/phoneComponents/layoutComs/formSteps.vue +0 -112
- package/src/components/formGenerator/formComponents/phoneComponents/layoutComs/formSub.vue +0 -130
- package/src/components/formGenerator/formComponents/phoneComponents/layoutComs/formTableContainer.vue +0 -93
- package/src/components/formGenerator/formComponents/phoneComponents/layoutComs/formTabsContainer.vue +0 -64
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formCascader.vue +0 -210
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formCheckboxGroup.vue +0 -86
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formColorPicker.vue +0 -63
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formDatePicker.vue +0 -100
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formDateRangePicker.vue +0 -136
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formImage.vue +0 -278
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formOrgPicker.vue +0 -107
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formRadioGroup.vue +0 -93
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formRate.vue +0 -85
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formSelect.vue +0 -138
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formSelectHis.vue +0 -142
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formSelectProject.vue +0 -138
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formSignature.vue +0 -108
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formSlider.vue +0 -79
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formSwitch.vue +0 -88
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formTimePicker.vue +0 -112
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formTimeRangePicker.vue +0 -155
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formUpload.vue +0 -310
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formUploadTemp.vue +0 -81
- package/src/components/formGenerator/formComponents/phoneComponents/selectComs/formUserPicker.vue +0 -114
- package/src/components/formGenerator/formComponents/phoneForm.vue +0 -134
- package/src/components/formGenerator/formGenerator.vue +0 -401
- package/src/components/formGenerator/styles/generator.scss +0 -271
- package/src/components/formGenerator/styles/index.scss +0 -136
- package/src/components/formGenerator/styles/left-coms.scss +0 -57
- package/src/components/formGenerator/styles/phone.scss +0 -269
- package/src/components/formGenerator/styles/theme.scss +0 -5
- package/src/components/formGenerator/utils/attribute.js +0 -107
- package/src/components/formGenerator/utils/comMixins.js +0 -148
- package/src/components/formGenerator/utils/component.js +0 -26
- package/src/components/formGenerator/utils/config.js +0 -1730
- package/src/components/formGenerator/utils/event.js +0 -82
- package/src/components/formGenerator/utils/formEvent.js +0 -43
- package/src/components/formGenerator/utils/index.js +0 -666
- package/src/components/formGenerator/utils/rules.js +0 -17
- package/src/components/formGenerator/utils/style.js +0 -75
- package/src/components/formGenerator/utils/table.js +0 -317
- package/src/components/formGenerator/utils/temps.js +0 -15303
- package/src/components/huComponents/FGBreadNav.vue +0 -86
- package/src/components/huComponents/FGCheckCell.vue +0 -107
- package/src/components/huComponents/FGCheckList.vue +0 -318
- package/src/components/huComponents/FGCheckPopUp.vue +0 -164
- package/src/components/huComponents/FGIconsDialog.vue +0 -124
- package/src/components/huComponents/FGNameImg.vue +0 -147
- package/src/components/huComponents/FGOptions.vue +0 -118
- package/src/components/huComponents/FGSelect.vue +0 -46
- package/src/components/huComponents/FGTreeNode.vue +0 -103
- package/src/components/huComponents/FGTreeNodeDialog.vue +0 -89
- package/src/components/huComponents/InputColor.vue +0 -117
- package/src/components/huComponents/InputNumber.vue +0 -78
- package/src/components/huComponents/LayoutTree.vue +0 -67
- package/src/components/huComponents/MenuButton.vue +0 -57
- package/src/components/index.js +0 -14
- package/src/icons/index.js +0 -10
- package/src/icons/svg/active.svg +0 -1
- package/src/icons/svg/addSold.svg +0 -1
- package/src/icons/svg/analyse.svg +0 -1
- package/src/icons/svg/button.svg +0 -1
- package/src/icons/svg/card.svg +0 -1
- package/src/icons/svg/cascader.svg +0 -1
- package/src/icons/svg/checkbox.svg +0 -1
- package/src/icons/svg/collapse.svg +0 -1
- package/src/icons/svg/color.svg +0 -1
- package/src/icons/svg/component.svg +0 -1
- package/src/icons/svg/date-range.svg +0 -1
- package/src/icons/svg/date.svg +0 -1
- package/src/icons/svg/default-dept.svg +0 -9
- package/src/icons/svg/default-role.svg +0 -5
- package/src/icons/svg/default-user.svg +0 -16
- package/src/icons/svg/dept.svg +0 -1
- package/src/icons/svg/divider.svg +0 -1
- package/src/icons/svg/ellipsis.svg +0 -2
- package/src/icons/svg/html.svg +0 -1
- package/src/icons/svg/image.svg +0 -1
- package/src/icons/svg/input.svg +0 -1
- package/src/icons/svg/link.svg +0 -1
- package/src/icons/svg/mp4.svg +0 -19
- package/src/icons/svg/notice.svg +0 -1
- package/src/icons/svg/noview.svg +0 -1
- package/src/icons/svg/number.svg +0 -1
- package/src/icons/svg/password.svg +0 -1
- package/src/icons/svg/pdf.svg +0 -18
- package/src/icons/svg/person.svg +0 -1
- package/src/icons/svg/png.svg +0 -18
- package/src/icons/svg/ppt.svg +0 -19
- package/src/icons/svg/process.svg +0 -1
- package/src/icons/svg/radio.svg +0 -1
- package/src/icons/svg/rate.svg +0 -1
- package/src/icons/svg/remark.svg +0 -1
- package/src/icons/svg/rich-text.svg +0 -1
- package/src/icons/svg/row.svg +0 -1
- package/src/icons/svg/select.svg +0 -1
- package/src/icons/svg/signature.svg +0 -1
- package/src/icons/svg/slider.svg +0 -1
- package/src/icons/svg/steps.svg +0 -1
- package/src/icons/svg/sub.svg +0 -1
- package/src/icons/svg/swipe.svg +0 -1
- package/src/icons/svg/switch.svg +0 -1
- package/src/icons/svg/table-edit.svg +0 -1
- package/src/icons/svg/table.svg +0 -1
- package/src/icons/svg/table2.svg +0 -1
- package/src/icons/svg/table3.svg +0 -1
- package/src/icons/svg/tabs.svg +0 -1
- package/src/icons/svg/tag.svg +0 -1
- package/src/icons/svg/text.svg +0 -1
- package/src/icons/svg/textarea.svg +0 -1
- package/src/icons/svg/time-range.svg +0 -1
- package/src/icons/svg/time.svg +0 -1
- package/src/icons/svg/tree.svg +0 -1
- package/src/icons/svg/unknow.svg +0 -20
- package/src/icons/svg/upload.svg +0 -1
- package/src/icons/svg/view.svg +0 -1
- package/src/icons/svg/word.svg +0 -20
- package/src/icons/svg/xlsx.svg +0 -18
- package/src/icons/svg/zip.svg +0 -20
- package/src/images/phone_bg.png +0 -0
- package/src/main.js +0 -26
- package/src/package/FGDesigner.vue +0 -114
- package/src/package/FGPcForm.vue +0 -100
- package/src/package/FGPcShow.vue +0 -69
- package/src/package/FGPhoneForm.vue +0 -106
- package/src/package/FGPhoneShow.vue +0 -69
- package/src/package/common/init.js +0 -23
- package/src/package/common/initPc.js +0 -26
- package/src/package/common/initPhone.js +0 -28
- package/src/package/common/mixins.js +0 -57
- package/src/package/index.js +0 -40
- package/src/plugins/richEditor/richEditorPc.vue +0 -478
- package/src/plugins/richEditor/richEditorPhone.vue +0 -520
- package/src/plugins/voiceTxtarea/voiceTxtarea.vue +0 -115
- package/src/router.js +0 -111
- package/src/store/index.js +0 -14
- package/src/store/modules/app.js +0 -54
- package/src/store/modules/user.js +0 -23
- package/src/style/color.scss +0 -10
- package/src/style/main.scss +0 -78
- package/src/utils/comsData.js +0 -279
- package/src/utils/defaultValue.js +0 -2288
- package/src/utils/drawingDefalut.js +0 -2749
- package/src/utils/iconData.js +0 -283
- package/src/utils/index.js +0 -6
- package/src/utils/progress.js +0 -96
- package/src/utils/request.js +0 -41
- package/src/views/coms/components/Attributes.vue +0 -28
- package/src/views/coms/components/ELink.vue +0 -23
- package/src/views/coms/components/Events.vue +0 -20
- package/src/views/coms/components/Example.vue +0 -42
- package/src/views/coms/components/Methods.vue +0 -20
- package/src/views/coms/components/VLink.vue +0 -23
- package/src/views/coms/comsDesiger.vue +0 -224
- package/src/views/coms/comsFormPc.vue +0 -76
- package/src/views/coms/comsFormPhone.vue +0 -103
- package/src/views/coms/comsShowPc.vue +0 -56
- package/src/views/coms/comsShowPhone.vue +0 -89
- package/src/views/config/components/configCell.vue +0 -111
- package/src/views/config/config.vue +0 -84
- package/src/views/demo/demo.vue +0 -235
- package/src/views/demo/demo2.vue +0 -131
- package/src/views/demo/table.js +0 -321
- package/src/views/document/index.vue +0 -140
- package/src/views/form/create.vue +0 -44
- package/vue.config.js +0 -72
- /package/{@xfu0401/form-generator/demo.html → demo.html} +0 -0
- /package/{@xfu0401/form-generator/form-generator.common.js → form-generator.common.js} +0 -0
- /package/{@xfu0401/form-generator/form-generator.common.js.map → form-generator.common.js.map} +0 -0
- /package/{@xfu0401/form-generator/form-generator.css → form-generator.css} +0 -0
- /package/{@xfu0401/form-generator/form-generator.umd.js → form-generator.umd.js} +0 -0
- /package/{@xfu0401/form-generator/form-generator.umd.js.map → form-generator.umd.js.map} +0 -0
- /package/{@xfu0401/form-generator/form-generator.umd.min.js → form-generator.umd.min.js} +0 -0
- /package/{@xfu0401/form-generator/form-generator.umd.min.js.map → form-generator.umd.min.js.map} +0 -0
- /package/{@xfu0401/form-generator/static → static}/fonts/element-icons.535877f5.woff +0 -0
- /package/{@xfu0401/form-generator/static → static}/fonts/element-icons.732389de.ttf +0 -0
- /package/{@xfu0401/form-generator/static → static}/img/phone_bg.7ead1463.png +0 -0
package/src/router.js
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import Router from 'vue-router'
|
|
3
|
-
|
|
4
|
-
Vue.use(Router)
|
|
5
|
-
|
|
6
|
-
const Layout = () => import('@/components/Layout/Layout.vue')
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export const constantRouterMap = [
|
|
10
|
-
{
|
|
11
|
-
path: '/',
|
|
12
|
-
redirect: '/comsDesiger',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
path: '/create',
|
|
16
|
-
component: () => import('@/views/form/create')
|
|
17
|
-
},
|
|
18
|
-
// {
|
|
19
|
-
// path: '/demo',
|
|
20
|
-
// component: () => import('@/views/demo/demo2'),
|
|
21
|
-
// meta: { title: '测试' },
|
|
22
|
-
// },
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
id: 'document',
|
|
26
|
-
path: '/document',
|
|
27
|
-
component: Layout,
|
|
28
|
-
meta: { title: '开发指南' },
|
|
29
|
-
children: [{
|
|
30
|
-
id: 'document',
|
|
31
|
-
path: '/document',
|
|
32
|
-
component: () => import('@/views/document/index.vue'),
|
|
33
|
-
meta: { title: '介绍与安装' },
|
|
34
|
-
},]
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 'components',
|
|
38
|
-
path: '/components',
|
|
39
|
-
component: Layout,
|
|
40
|
-
meta: { title: '组件' },
|
|
41
|
-
children: [
|
|
42
|
-
{
|
|
43
|
-
id: 'comsDesiger',
|
|
44
|
-
path: '/comsDesiger',
|
|
45
|
-
component: () => import('@/views/coms/comsDesiger.vue'),
|
|
46
|
-
meta: { title: 'FGDesigner 表单编辑器' }
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: 'comsFormPc',
|
|
50
|
-
path: '/comsFormPc',
|
|
51
|
-
component: () => import('@/views/coms/comsFormPc.vue'),
|
|
52
|
-
meta: { title: 'FGPcForm 表单渲染(PC端)' }
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
{
|
|
56
|
-
id: 'comsFormPhone',
|
|
57
|
-
path: '/comsFormPhone',
|
|
58
|
-
component: () => import('@/views/coms/comsFormPhone.vue'),
|
|
59
|
-
meta: { title: 'FGPhoneForm 表单渲染(移动端)' }
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
id: 'comsShowPc',
|
|
64
|
-
path: '/comsShowPc',
|
|
65
|
-
component: () => import('@/views/coms/comsShowPc.vue'),
|
|
66
|
-
meta: { title: 'FGPcShow 表单详情(PC端)' }
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
{
|
|
70
|
-
id: 'comsShowPhone',
|
|
71
|
-
path: '/comsShowPhone',
|
|
72
|
-
component: () => import('@/views/coms/comsShowPhone.vue'),
|
|
73
|
-
meta: { title: 'FGPhoneShow 表单详情(移动端)' }
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
path: '/config',
|
|
79
|
-
component: Layout,
|
|
80
|
-
meta: { title: '配置属性' },
|
|
81
|
-
children: [
|
|
82
|
-
{
|
|
83
|
-
path: '/config',
|
|
84
|
-
component: () => import('@/views/config/config.vue'),
|
|
85
|
-
meta: { title: '配置属性参数说明' },
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
]
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
export default new Router({
|
|
94
|
-
// mode: 'history', //后端支持可开
|
|
95
|
-
scrollBehavior: () => ({ y: 0 }),
|
|
96
|
-
routes: constantRouterMap.concat()
|
|
97
|
-
})
|
|
98
|
-
|
|
99
|
-
// 兼容路由报错
|
|
100
|
-
const originalPush = Router.prototype.push
|
|
101
|
-
const originalReplace = Router.prototype.replace
|
|
102
|
-
// push
|
|
103
|
-
Router.prototype.push = function push(location, onResolve, onReject) {
|
|
104
|
-
if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject)
|
|
105
|
-
return originalPush.call(this, location).catch(err => err)
|
|
106
|
-
}
|
|
107
|
-
// replace
|
|
108
|
-
Router.prototype.replace = function push(location, onResolve, onReject) {
|
|
109
|
-
if (onResolve || onReject) return originalReplace.call(this, location, onResolve, onReject)
|
|
110
|
-
return originalReplace.call(this, location).catch(err => err)
|
|
111
|
-
}
|
package/src/store/index.js
DELETED
package/src/store/modules/app.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { getRGBNum } from "@/components/formGenerator/utils";
|
|
2
|
-
|
|
3
|
-
const app = {
|
|
4
|
-
state: {
|
|
5
|
-
formData: null, // 表单设计预览存储内容
|
|
6
|
-
activeData: '', // 选中数据
|
|
7
|
-
activeId: '', // 选中id
|
|
8
|
-
drawingList: [], // 用于存储拖拽过程中的表单组件列表
|
|
9
|
-
cssList: [], // 用于存储全部样式
|
|
10
|
-
eventList: [], // 用于存储全部事件
|
|
11
|
-
themeColor: '', // 主题色
|
|
12
|
-
selectedColor: '',
|
|
13
|
-
header: {}, // 请求头数据
|
|
14
|
-
refresh: false, // 刷新
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
mutations: {
|
|
18
|
-
SET_FORMDATA(state, formData) {
|
|
19
|
-
state.formData = formData
|
|
20
|
-
},
|
|
21
|
-
SET_ACTIVEDATA(state, activeData) {
|
|
22
|
-
if (activeData?.__config__?.formId) {
|
|
23
|
-
state.activeId = activeData.__config__.formId
|
|
24
|
-
}
|
|
25
|
-
state.activeData = activeData
|
|
26
|
-
},
|
|
27
|
-
SET_ACTIVEID(state, activeId) {
|
|
28
|
-
state.activeId = activeId
|
|
29
|
-
},
|
|
30
|
-
SET_CSSLIST(state, cssList) {
|
|
31
|
-
state.cssList = cssList
|
|
32
|
-
},
|
|
33
|
-
SET_EVENTLIST(state, eventList) {
|
|
34
|
-
state.eventList = eventList
|
|
35
|
-
},
|
|
36
|
-
SET_THEMECOLOR(state, themeColor) {
|
|
37
|
-
state.themeColor = themeColor
|
|
38
|
-
const { r, g, b } = getRGBNum(themeColor);
|
|
39
|
-
const selectedColor = `rgba(${r}, ${g}, ${b}, 0.08)`
|
|
40
|
-
state.selectedColor = selectedColor
|
|
41
|
-
},
|
|
42
|
-
SET_HEADER(state, header) {
|
|
43
|
-
state.header = header
|
|
44
|
-
},
|
|
45
|
-
SET_REFRESH(state) {
|
|
46
|
-
state.refresh = !state.refresh
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
actions: {
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export default app
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const user = {
|
|
2
|
-
state: {
|
|
3
|
-
token: sessionStorage.getItem('token'),
|
|
4
|
-
systemType: sessionStorage.getItem('systemType'),
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
mutations: {
|
|
8
|
-
SET_TOKEN: (state, token) => {
|
|
9
|
-
state.token = token
|
|
10
|
-
sessionStorage.setItem('token', token)
|
|
11
|
-
},
|
|
12
|
-
SET_SYSTEMTYPE: (state, systemType) => {
|
|
13
|
-
state.systemType = systemType
|
|
14
|
-
sessionStorage.setItem('systemType', systemType)
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
actions: {
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export default user
|
|
23
|
-
|
package/src/style/color.scss
DELETED
package/src/style/main.scss
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
.pc, body, html {
|
|
2
|
-
height: 100%;
|
|
3
|
-
width: 100%;
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
$textColor0:#1f2f3d;
|
|
8
|
-
$textColor1:#5e6d82;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
body, html {
|
|
12
|
-
margin: 0;
|
|
13
|
-
padding: 0;
|
|
14
|
-
// color:$textColor0;
|
|
15
|
-
// font-size: 14px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.text-color {
|
|
19
|
-
color:$textColor0;
|
|
20
|
-
}
|
|
21
|
-
.text-color1 {
|
|
22
|
-
color:$textColor1;
|
|
23
|
-
}
|
|
24
|
-
.text1 {
|
|
25
|
-
color:$textColor1;
|
|
26
|
-
font-size: 14px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.introduce {
|
|
30
|
-
line-height: 30px;
|
|
31
|
-
color:$textColor0;
|
|
32
|
-
}
|
|
33
|
-
.introduce-item {
|
|
34
|
-
line-height: 30px;
|
|
35
|
-
font-size: 14px;
|
|
36
|
-
color:$textColor1;
|
|
37
|
-
.el-link.el-link--default {
|
|
38
|
-
color:$textColor1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.coms-page {
|
|
43
|
-
>.el-card {
|
|
44
|
-
margin-top: 22px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// .text {
|
|
49
|
-
// color:#1f2f3d;
|
|
50
|
-
// }
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
a:focus {
|
|
54
|
-
outline: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.clearfix::before,
|
|
58
|
-
.clearfix::after {
|
|
59
|
-
content: "";
|
|
60
|
-
clear: both;
|
|
61
|
-
display: block;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/* 滚动条样式 */
|
|
65
|
-
::-webkit-scrollbar {/*滚动条整体样式*/
|
|
66
|
-
width: 5px;
|
|
67
|
-
height: 5px;;
|
|
68
|
-
}
|
|
69
|
-
::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
|
|
70
|
-
background-color: #cfcfcf;
|
|
71
|
-
border-radius: 5px;
|
|
72
|
-
}
|
|
73
|
-
::-webkit-scrollbar-track-piece {
|
|
74
|
-
background: 0 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
package/src/utils/comsData.js
DELETED
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import { data } from "./defaultValue"
|
|
2
|
-
export const desigerAttributes = [
|
|
3
|
-
{
|
|
4
|
-
param: "value / v-model",
|
|
5
|
-
remark: "为表单编辑器生成的动态表单数据转换的JSON字符串",
|
|
6
|
-
type: "String",
|
|
7
|
-
value: "-",
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
param: "options",
|
|
11
|
-
remark: "表单配置项",
|
|
12
|
-
type: "Object",
|
|
13
|
-
value: "-",
|
|
14
|
-
children: [
|
|
15
|
-
{
|
|
16
|
-
param: "themeColor",
|
|
17
|
-
remark: "主题色",
|
|
18
|
-
type: "String",
|
|
19
|
-
value: "#409EFF",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
param: "header",
|
|
23
|
-
remark: "请求头配置,可以在此处传入token等数据,以对象形式传入直接添加到请求头上",
|
|
24
|
-
type: "Object",
|
|
25
|
-
value: "如:{token:'xxxxx'}",
|
|
26
|
-
},
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
// {
|
|
30
|
-
// param: "form",
|
|
31
|
-
// remark: "为包含表单组件对应的key和value",
|
|
32
|
-
// type: "Object",
|
|
33
|
-
// value: "-",
|
|
34
|
-
// },
|
|
35
|
-
// {
|
|
36
|
-
// param: "enabled",
|
|
37
|
-
// remark: "在表单画板处,编辑器控件是否可以交互操作",
|
|
38
|
-
// type: "Boolean",
|
|
39
|
-
// value: "false",
|
|
40
|
-
// }, {
|
|
41
|
-
// param: "hideSaveBtn",
|
|
42
|
-
// remark: "隐藏保存按钮",
|
|
43
|
-
// type: "Boolean",
|
|
44
|
-
// value: "false",
|
|
45
|
-
// },
|
|
46
|
-
// {
|
|
47
|
-
// param: "defaultComs",
|
|
48
|
-
// remark: "表单编辑器组件库",
|
|
49
|
-
// type: "Object",
|
|
50
|
-
// value: "-",
|
|
51
|
-
// },
|
|
52
|
-
]
|
|
53
|
-
|
|
54
|
-
export const desigerMethods = [
|
|
55
|
-
{
|
|
56
|
-
method: 'validate',
|
|
57
|
-
remark: '对整个表单进行校验的方法,参数为一个回调函数。该回调函数会在校验结束后被调用,并传入两个个参数:校验是否通过、校验提示语',
|
|
58
|
-
param: 'Function(callback: Function(Boolean,Array))'
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
method: 'submit',
|
|
62
|
-
remark: '对整个表单进行提交的方法,参数为一个回调函数。传入一个参数:即为已修改的value值',
|
|
63
|
-
param: 'Function(callback: Function(object))'
|
|
64
|
-
},
|
|
65
|
-
]
|
|
66
|
-
|
|
67
|
-
export const desigerEvents = [
|
|
68
|
-
{
|
|
69
|
-
event: 'save',
|
|
70
|
-
remark: '点击保存按钮触发',
|
|
71
|
-
param: '新状态的value值,新状态的组件列表,新状态的表单属性'
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
event: 'change',
|
|
75
|
-
remark: '数据更改触发',
|
|
76
|
-
param: '新状态的value值'
|
|
77
|
-
},
|
|
78
|
-
]
|
|
79
|
-
|
|
80
|
-
export const desigerCode =
|
|
81
|
-
`<template>
|
|
82
|
-
<FGDesigner v-model="formConf" @save="handleSave" @change="handleChange"/>
|
|
83
|
-
</template>
|
|
84
|
-
|
|
85
|
-
<script>
|
|
86
|
-
export default {
|
|
87
|
-
data() {
|
|
88
|
-
return {
|
|
89
|
-
formConf: {},
|
|
90
|
-
};
|
|
91
|
-
},
|
|
92
|
-
methods: {
|
|
93
|
-
handleSave(form) {
|
|
94
|
-
console.log("数据发布:",form)
|
|
95
|
-
},
|
|
96
|
-
handleChange(form) {
|
|
97
|
-
console.log("数据更新:",form)
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
</script> `
|
|
102
|
-
|
|
103
|
-
export const formAttributes = [
|
|
104
|
-
{
|
|
105
|
-
param: "value / v-model",
|
|
106
|
-
remark: "为表单编辑器生成的动态表单数据转换的JSON字符串",
|
|
107
|
-
type: "String",
|
|
108
|
-
value: "-",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
param: "form",
|
|
112
|
-
remark: "为包含表单组件对应的key和value",
|
|
113
|
-
type: "Object",
|
|
114
|
-
value: "-",
|
|
115
|
-
},
|
|
116
|
-
]
|
|
117
|
-
|
|
118
|
-
export const formMethods = [
|
|
119
|
-
{
|
|
120
|
-
method: 'validateForm',
|
|
121
|
-
remark: '对整个表单进行校验的方法,参数为一个回调函数。该回调函数会在校验结束后被调用,并传入三个参数:校验是否通过、表单的form值、表单的value值',
|
|
122
|
-
param: 'Function(callback: Function(valid, form, value))'
|
|
123
|
-
},
|
|
124
|
-
// {
|
|
125
|
-
// method: 'submitForm',
|
|
126
|
-
// remark: '对整个表单进行提交的方法,参数为一个回调函数。传入一个参数:即为已修改的value值',
|
|
127
|
-
// param: 'Function(callback: Function(object))'
|
|
128
|
-
// },
|
|
129
|
-
{ method: 'resetForm', remark: '对整个表单进行重置,将所有字段值重置为初始值', param: '-' },
|
|
130
|
-
]
|
|
131
|
-
|
|
132
|
-
export const pcFormCode =
|
|
133
|
-
`<template>
|
|
134
|
-
<FGPcForm ref="FGPcForm" v-model="data" />
|
|
135
|
-
<div style="text-align: center">
|
|
136
|
-
<el-button type="primary" @click="submitForm">提交</el-button>
|
|
137
|
-
<el-button @click="resetForm">重置</el-button>
|
|
138
|
-
</div>
|
|
139
|
-
</template>
|
|
140
|
-
|
|
141
|
-
<script>
|
|
142
|
-
export default {
|
|
143
|
-
data() {
|
|
144
|
-
return {
|
|
145
|
-
data: '${JSON.stringify(data)}',
|
|
146
|
-
};
|
|
147
|
-
},
|
|
148
|
-
|
|
149
|
-
methods: {
|
|
150
|
-
submitForm() {
|
|
151
|
-
this.$refs["FGPcForm"].validateForm((valid, form) => {
|
|
152
|
-
if (valid) {
|
|
153
|
-
// 表单校验通过
|
|
154
|
-
} else {
|
|
155
|
-
console.log("表单校验失败");
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
},
|
|
159
|
-
resetForm() {
|
|
160
|
-
this.$refs["FGPcForm"].resetForm();
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
};
|
|
164
|
-
</script> `
|
|
165
|
-
|
|
166
|
-
export const phoneFormCode =
|
|
167
|
-
`<template>
|
|
168
|
-
<FGPhoneForm ref="FGPhoneForm" v-model="form" />
|
|
169
|
-
<div style="margin: 16px">
|
|
170
|
-
<van-button round block type="info" @click="submitForm"
|
|
171
|
-
>提交</van-button
|
|
172
|
-
>
|
|
173
|
-
<van-button round plain block style="margin-top: 15px" type="info" @click="resetForm"
|
|
174
|
-
>重置</van-button
|
|
175
|
-
>
|
|
176
|
-
</div>
|
|
177
|
-
</template>
|
|
178
|
-
|
|
179
|
-
<script>
|
|
180
|
-
export default {
|
|
181
|
-
data() {
|
|
182
|
-
return {
|
|
183
|
-
data: '${JSON.stringify(data)}',
|
|
184
|
-
};
|
|
185
|
-
},
|
|
186
|
-
|
|
187
|
-
methods: {
|
|
188
|
-
submitForm() {
|
|
189
|
-
this.$refs["FGPhoneForm"].validateForm((valid, form) => {
|
|
190
|
-
if (valid) {
|
|
191
|
-
// 表单校验通过
|
|
192
|
-
} else {
|
|
193
|
-
console.log("表单校验失败");
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
},
|
|
197
|
-
resetForm() {
|
|
198
|
-
this.$refs["FGPhoneForm"].resetForm();
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
};
|
|
202
|
-
</script> `
|
|
203
|
-
|
|
204
|
-
export const showAttributes = [
|
|
205
|
-
{
|
|
206
|
-
param: "value",
|
|
207
|
-
remark: "为表单编辑器生成的动态表单数据转换的JSON字符串",
|
|
208
|
-
type: "String",
|
|
209
|
-
value: "-",
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
param: "form",
|
|
213
|
-
remark: "为包含表单组件对应的key和value",
|
|
214
|
-
type: "Object",
|
|
215
|
-
value: "-",
|
|
216
|
-
},
|
|
217
|
-
]
|
|
218
|
-
|
|
219
|
-
export const pcShowCode =
|
|
220
|
-
`<template>
|
|
221
|
-
<FGPcShow :value="data" />
|
|
222
|
-
</template>
|
|
223
|
-
<script>
|
|
224
|
-
export default {
|
|
225
|
-
data() {
|
|
226
|
-
return {
|
|
227
|
-
data: '${JSON.stringify(data)}',
|
|
228
|
-
};
|
|
229
|
-
},
|
|
230
|
-
};
|
|
231
|
-
</script>`
|
|
232
|
-
|
|
233
|
-
export const phoneShowCode =
|
|
234
|
-
`<template>
|
|
235
|
-
<FGPhoneShow :value="data" />
|
|
236
|
-
</template>
|
|
237
|
-
<script>
|
|
238
|
-
export default {
|
|
239
|
-
data() {
|
|
240
|
-
return {
|
|
241
|
-
data: '${JSON.stringify(data)}',
|
|
242
|
-
};
|
|
243
|
-
},
|
|
244
|
-
};
|
|
245
|
-
</script>`
|
|
246
|
-
|
|
247
|
-
export const formTable = [
|
|
248
|
-
{ param: 'formRef', required: '是', remark: '表单名' },
|
|
249
|
-
{ param: 'formModel', required: '是', remark: '表单模型' },
|
|
250
|
-
{ param: 'formRules', required: '是', remark: '校验模型 ' },
|
|
251
|
-
{ param: 'size', required: '否', remark: '表单尺寸' },
|
|
252
|
-
{ param: 'labelPosition', required: '否', remark: '标签对齐 ' },
|
|
253
|
-
{ param: 'labelWidth', required: '否', remark: '标签宽度' },
|
|
254
|
-
{ param: 'gutter', required: '是', remark: '栅格间隔' },
|
|
255
|
-
{ param: 'disabled', required: '是', remark: '是否禁用表单 ' },
|
|
256
|
-
{ param: 'unFocusedComponentBorder', required: '是', remark: '是否显示未选中组件边框' },
|
|
257
|
-
{ param: 'list', required: '是', remark: '用于存放组件配置参数 ' },
|
|
258
|
-
|
|
259
|
-
]
|
|
260
|
-
|
|
261
|
-
export const configTable = [
|
|
262
|
-
{ param: '__config__.tagType', required: '是', remark: '组件类型' },
|
|
263
|
-
{ param: '__vModel__', required: '是', remark: '表单字段的属性名,可自定义 系统自增' },
|
|
264
|
-
{ param: '__config__.defaultValue', required: '否', remark: '默认值;与__vModel__对应使用,可指定表单字段的默认值;可用于表单数据回填 ' },
|
|
265
|
-
{ param: '__config__.tag', required: '是', remark: '组件名称 ' },
|
|
266
|
-
{ param: '__config__.changeTag', required: '是', remark: '是否允许显示切换组件面板 ' },
|
|
267
|
-
{ param: '__config__.tagIcon', required: '是', remark: '组件svg图标名称 ' },
|
|
268
|
-
{ param: '__config__.label', required: '是', remark: '表单标题 ' },
|
|
269
|
-
{ param: '__config__.showLabel', required: '是', remark: '是否显示表单标题 ' },
|
|
270
|
-
{ param: '__config__.labelWidth', required: '是', remark: '表单标题区域宽度(px) ' },
|
|
271
|
-
{ param: '__config__.required', required: '是', remark: '是否要求表单校验 ' },
|
|
272
|
-
{ param: '__config__.regList', required: '否', remark: '表单正则校验;赋值为数组时,显示配置项 ' },
|
|
273
|
-
{ param: '__config__.span', required: '是', remark: '24栅格系统,表示组件的栅格数 ' },
|
|
274
|
-
{ param: '__config__.layoutTree', required: '否', remark: '是否显示布局树,仅布局组件“行容器”存在 ' },
|
|
275
|
-
{ param: 'children', required: '否', remark: '子组件,仅布局组件“行容器”存在 ' },
|
|
276
|
-
{ param: '其余属性', required: '否', remark: '根据不同组件的属性灵活配置。不同组件属性名称及作用与elementUI一致,可参考:<a href="https://element.eleme.cn/#/zh-CN/component/installation" target="_blank" type="primary" >https://element.eleme.cn/#/zh-CN/component/installation</a>' }
|
|
277
|
-
]
|
|
278
|
-
|
|
279
|
-
|