gds-plus-design-vue 1.2.62 → 1.2.71
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/lib/addPermission.179a09f4.mjs +443 -0
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/approvalModel.7b550187.mjs +340 -0
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/businessRules.d7d35011.mjs +539 -0
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/components.coloreditor.06cf0433.mjs +1505 -0
- package/lib/components.coloreditor.f81d322a.js +6 -0
- package/lib/components.dataassign.21d3938b.mjs +147 -0
- package/lib/components.dataassign.565d22c0.js +1 -0
- package/lib/components.echarts.490abdfa.mjs +811 -0
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/components.exception.374f2ad9.js +1 -0
- package/lib/components.exception.ee1c4f83.mjs +61 -0
- package/lib/components.form.5533a8c3.js +41 -0
- package/lib/components.form.db8af727.mjs +7813 -0
- package/lib/components.globalheader.2eb787a4.js +1 -0
- package/lib/components.globalheader.b3b35343.mjs +54 -0
- package/lib/components.iconselector.8940b1a9.mjs +1169 -0
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/components.imgpreview.d97cf25c.js +1 -0
- package/lib/components.imgpreview.f05b3e06.mjs +213 -0
- package/lib/components.lunccalendar.18f84642.js +1 -0
- package/lib/components.lunccalendar.2a097955.mjs +1137 -0
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/components.middleware.de012955.mjs +148 -0
- package/lib/components.modaltitle.5060623f.mjs +127 -0
- package/lib/components.modaltitle.957cab33.js +1 -0
- package/lib/components.multitab.5eb6edff.mjs +140 -0
- package/lib/components.multitab.80eeb3ae.js +1 -0
- package/lib/components.selecttree.2fe70d88.js +1 -0
- package/lib/components.selecttree.756c4d22.mjs +170 -0
- package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
- package/lib/components.settingdrawer.8c12650b.js +1 -0
- package/lib/components.sidemenu.0673fe0a.mjs +277 -0
- package/lib/components.sidemenu.240dfde7.js +1 -0
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
- package/lib/components.statuschange.858b72e8.js +1 -0
- package/lib/components.statuschange.fae4adba.mjs +116 -0
- package/lib/components.table.1e338902.js +8 -0
- package/lib/components.table.9ed77207.mjs +4650 -0
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
- package/lib/components.tablevirtual.66890b2c.mjs +564 -0
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
- package/lib/components.teamsharing.89e668fd.js +1 -0
- package/lib/components.tooltip.0ea7e2b1.js +1 -0
- package/lib/components.tooltip.376d95fe.mjs +86 -0
- package/lib/components.uploadfile.0a5a1608.mjs +228 -0
- package/lib/components.uploadfile.8e0e702c.js +1 -0
- package/lib/components.uploadimg.bc160e00.js +1 -0
- package/lib/components.uploadimg.decb0360.mjs +192 -0
- package/lib/components.verificationcode.140533c7.js +1 -0
- package/lib/components.verificationcode.7091b10b.mjs +71 -0
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/components.viewformdetails.d241c652.mjs +1081 -0
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/components.viewloading.aae3aab4.mjs +99 -0
- package/lib/components.watermark.2ec3260c.mjs +53 -0
- package/lib/components.watermark.d9ec8130.js +2 -0
- package/lib/components.xlsxexport.0d1553b1.js +1 -0
- package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
- package/lib/components.xlsximport.81df7841.mjs +922 -0
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/createSubfolders.eac5ccae.mjs +154 -0
- package/lib/dialogLayout.bf435838.mjs +138 -0
- package/lib/dialogLayout.f0779aed.js +1 -0
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/drawerLayout.b6c7c3c6.js +1 -0
- package/lib/drawerLayout.e3c0164d.mjs +119 -0
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/fileSearch.5c8a883d.mjs +363 -0
- package/lib/flow.designer.81c29f62.mjs +7673 -0
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/flow.list.ab420927.mjs +3032 -0
- package/lib/form.build.724d3357.js +1 -0
- package/lib/form.build.d04773f0.mjs +259 -0
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/formFiled.c949a27f.mjs +507 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +245 -91338
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.appmanage.e389782d.mjs +50 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.aefea27d.mjs +517 -0
- package/lib/http.menumanage.3060f4c7.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.message.ceb0a1c6.mjs +178 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/layouts.2d06f3e9.js +2 -0
- package/lib/layouts.3b383d04.mjs +373 -0
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
- package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
- package/lib/main.60c2a1a2.js +1 -0
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/main.892caa37.js +1 -0
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/manage.f4000654.mjs +441 -0
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/page.build.376104d5.mjs +3164 -0
- package/lib/page.build.37b26617.js +12 -0
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.mjs +395 -0
- package/lib/store.config.03dd7b19.mjs +547 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1cadbf03.mjs +2093 -0
- package/lib/system.account.5cc9fe8d.js +216 -0
- package/lib/system.config.a0b94e40.js +1 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
- package/lib/system.datasource.6c30ce25.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/system.email.13823361.mjs +133 -0
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
- package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/system.log.470d3efd.js +1 -0
- package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
- package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
- package/lib/system.machine.f8aff893.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
- package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
- package/lib/system.org.9f87a010.js +1 -0
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
- package/lib/system.pos.61e58a92.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/system.team.8911fd95.mjs +452 -0
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
- package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
- package/lib/system.welcome.ff0c85e2.js +1 -0
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/tcheckboxs.999b7c2e.mjs +52 -0
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/tdatepicker.606214fa.mjs +52 -0
- package/lib/tdatepicker.8e94a60c.js +1 -0
- package/lib/tdictSwitch.ccbdd153.js +1 -0
- package/lib/tdictSwitch.e016d4cf.mjs +60 -0
- package/lib/tfile.3f39223d.mjs +62 -0
- package/lib/tfile.b3ebdc71.js +1 -0
- package/lib/tparticipants.5fe27540.mjs +56 -0
- package/lib/tparticipants.78c8c175.js +1 -0
- package/lib/translation.mains.2688be5b.mjs +383 -0
- package/lib/translation.mains.a6f19343.js +1 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/viewList.978b72c5.mjs +324 -0
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +82 -27
- package/locale/id_ID.js +66 -11
- package/locale/vi_VN.js +1968 -1913
- package/locale/zh_CN.js +88 -32
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/messages.5bcc42f9.mjs +0 -5863
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.permissions.fdad3c36.mjs +0 -212
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.user.49457fd3.js +0 -14
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
import { m as mapGetters, n as normalizeComponent } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { o as onlineFormGetCodeGenerateList } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
3
|
+
import { P as baseAdd, O as baseEdit, f as baseDetails } from "./http.main.aefea27d.mjs";
|
|
4
|
+
import { l as getMultiple, h as formatting, k as getCurrentTime } from "./utils.util.js.333daba2.mjs";
|
|
5
|
+
import { g as getCss } from "./page.build.376104d5.mjs";
|
|
6
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
7
|
+
import "./form.designer.build.c82cb559.mjs";
|
|
8
|
+
import "vue";
|
|
9
|
+
import "./page.designer.componentstree.b0ecddd8.mjs";
|
|
10
|
+
import "./mobile.designer.componentstree.4a1442dc.mjs";
|
|
11
|
+
import "./components.table.9ed77207.mjs";
|
|
12
|
+
import "./utils.datepicker.js.5549a741.mjs";
|
|
13
|
+
import "./components.form.db8af727.mjs";
|
|
14
|
+
import "./http.filemanage.c0de21d6.mjs";
|
|
15
|
+
import "./http.tabledevelopment.3dcb3e97.mjs";
|
|
16
|
+
import "./http.codegeneratemanage.b123bab3.mjs";
|
|
17
|
+
import "./http.duplicatechecking.9b79ce21.mjs";
|
|
18
|
+
import "./http.menumanage.3060f4c7.mjs";
|
|
19
|
+
const formFiled_vue_vue_type_style_index_0_lang = "", _sfc_main = {
|
|
20
|
+
props: {
|
|
21
|
+
record: {
|
|
22
|
+
type: Object,
|
|
23
|
+
required: !0
|
|
24
|
+
},
|
|
25
|
+
develop: {
|
|
26
|
+
type: [Number, String],
|
|
27
|
+
default: 1
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
data() {
|
|
31
|
+
return {
|
|
32
|
+
ruleForm: {},
|
|
33
|
+
codeList: [],
|
|
34
|
+
id: "",
|
|
35
|
+
allField: [],
|
|
36
|
+
lookupItem: {},
|
|
37
|
+
confirmLoading: !1,
|
|
38
|
+
visible: !1,
|
|
39
|
+
initialRuleForm: {},
|
|
40
|
+
executeEventData: null,
|
|
41
|
+
initData: null
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
computed: {
|
|
45
|
+
gclass() {
|
|
46
|
+
return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
|
|
47
|
+
},
|
|
48
|
+
style() {
|
|
49
|
+
const e = this.record.css, t = this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`, s = this.record.customCss ? this.record.customCss : "";
|
|
50
|
+
return `overflow: hidden;${t}${getCss(e)}${s}`;
|
|
51
|
+
},
|
|
52
|
+
tableData() {
|
|
53
|
+
let e = this.tableLists.filter((t) => {
|
|
54
|
+
const s = this.options.tableName;
|
|
55
|
+
return t.tablename === s;
|
|
56
|
+
})[0];
|
|
57
|
+
return e || [];
|
|
58
|
+
},
|
|
59
|
+
options() {
|
|
60
|
+
return this.record.options;
|
|
61
|
+
},
|
|
62
|
+
list() {
|
|
63
|
+
return this.record.list;
|
|
64
|
+
},
|
|
65
|
+
labelWidth() {
|
|
66
|
+
return `${this.options.labelWidth}${this.options.labelUnit}`;
|
|
67
|
+
},
|
|
68
|
+
...mapGetters(["tableLists"])
|
|
69
|
+
},
|
|
70
|
+
methods: {
|
|
71
|
+
init() {
|
|
72
|
+
const e = this.initData.data ? this.initData.data : "", t = typeof e == "object" && e[t] ? e[t] : e;
|
|
73
|
+
this.confirmLoading = !1, t ? this.openData(this.initData) : this.open(this.initData);
|
|
74
|
+
},
|
|
75
|
+
callBackFun(e) {
|
|
76
|
+
if (!(this.executeEventData.callback === void 0 ? !1 : this.executeEventData.callback)) {
|
|
77
|
+
this.init();
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (this.executeEventData.callbackComponents === "" && this.executeEventData.callbackFunction === "") {
|
|
81
|
+
this.init();
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
const s = {
|
|
85
|
+
key: this.executeEventData.callbackComponents,
|
|
86
|
+
functionName: this.executeEventData.callbackFunction,
|
|
87
|
+
data: e,
|
|
88
|
+
id: null,
|
|
89
|
+
source: this.record,
|
|
90
|
+
transfer: this.record,
|
|
91
|
+
callback: !1,
|
|
92
|
+
callbackComponents: "",
|
|
93
|
+
callbackFunction: ""
|
|
94
|
+
};
|
|
95
|
+
if (s.key === this.record.key) {
|
|
96
|
+
const i = s.functionName;
|
|
97
|
+
this.confirmLoading = !1, this[i] && this[i](s);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
this.record.doEvent(s), setTimeout(() => {
|
|
101
|
+
this.confirmLoading = !1;
|
|
102
|
+
}, 100);
|
|
103
|
+
},
|
|
104
|
+
lookupData(e) {
|
|
105
|
+
this.lookupItem = e;
|
|
106
|
+
const t = e.options.columnName ? e.options.columnName.toLowerCase() : e.options.columnName, s = e.options.searchWid ? e.options.searchWid + e.options.searchUnit : "90%";
|
|
107
|
+
let i = e.options.fkEntityName.split(","), o = e.options.viewdeId, l = e.options.formdeId;
|
|
108
|
+
if (["participants", "about"].includes(e.options.effectType)) {
|
|
109
|
+
const n = e.aboutEntityConfig ? e.aboutEntityConfig : [], a = n.filter((d) => d.isDefault)[0], r = a ? a.fkEntityName : i[0], c = n.filter((d) => d.fkEntityName === r)[0];
|
|
110
|
+
o = c ? c.viewdeId : o, l = c ? c.formdeId : l;
|
|
111
|
+
const m = i.filter((d) => d != r);
|
|
112
|
+
i = [r].concat(m);
|
|
113
|
+
}
|
|
114
|
+
this.$refs.viewSearch.open({
|
|
115
|
+
fkEntityName: i.join(","),
|
|
116
|
+
effectType: e.options.effectType,
|
|
117
|
+
viewId: o,
|
|
118
|
+
formId: l,
|
|
119
|
+
filterList: e.filterList ? e.filterList : [],
|
|
120
|
+
filterConfig: e.options.filterConfig,
|
|
121
|
+
val: this.ruleForm[t],
|
|
122
|
+
width: s
|
|
123
|
+
});
|
|
124
|
+
},
|
|
125
|
+
lookupSeled(e) {
|
|
126
|
+
const t = ["fk", "about", "user"].includes(this.lookupItem.options.effectType) ? e.data[0] ? e.data[0] : "" : e.data, s = this.lookupItem.options.columnName ? this.lookupItem.options.columnName.toLowerCase() : this.lookupItem.options.columnName;
|
|
127
|
+
this.ruleForm[s] = t;
|
|
128
|
+
const i = this.allField.filter((o) => o.options.columnName === this.lookupItem.options.columnName)[0];
|
|
129
|
+
i && (this.$nextTick(() => {
|
|
130
|
+
setTimeout(() => {
|
|
131
|
+
i.setData({
|
|
132
|
+
val: t,
|
|
133
|
+
data: this.ruleForm,
|
|
134
|
+
items: Object.assign(i, {
|
|
135
|
+
effectType: i.options.effectType
|
|
136
|
+
}),
|
|
137
|
+
fkData: e.fkData
|
|
138
|
+
});
|
|
139
|
+
}, 0);
|
|
140
|
+
}), this.handleChangeForm(i));
|
|
141
|
+
},
|
|
142
|
+
handleChangeForm(e) {
|
|
143
|
+
const t = e.options.columnName ? e.options.columnName.toLowerCase() : e.options.columnName, s = e.options.spaceTrim ? e.options.spaceTrim : "none";
|
|
144
|
+
["around", "all"].includes(s) && (this.ruleForm[t] = s === "around" ? this.ruleForm[t].trim() : this.ruleForm[t].replace(/\s+/g, "")), this.ruleForm[t];
|
|
145
|
+
},
|
|
146
|
+
open(e) {
|
|
147
|
+
this.visible = !0, this.confirmLoading = !0;
|
|
148
|
+
const t = e.data ? e.data : "";
|
|
149
|
+
this.initData = e, this.id = typeof t == "object" && t.id ? t.id : t, typeof t == "object" && (Object.assign(this.ruleForm, {
|
|
150
|
+
...t
|
|
151
|
+
}), this.processingData(t)), this.onlineGenerateList().then(async (s) => {
|
|
152
|
+
await this.baseInitData(), this.$nextTick(() => {
|
|
153
|
+
setTimeout(() => {
|
|
154
|
+
this.$refs.ruleForm.clearValidate(), this.confirmLoading = !1;
|
|
155
|
+
}, 0);
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
},
|
|
159
|
+
openData(e) {
|
|
160
|
+
this.visible = !0;
|
|
161
|
+
const t = e.data ? e.data : "";
|
|
162
|
+
if (this.initData = e, this.id = typeof t == "object" && t.id ? t.id : t, !this.id) {
|
|
163
|
+
this.open(e);
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
this.confirmLoading = !0, this.onlineGenerateList().then(async (s) => {
|
|
167
|
+
await this.baseInitData(), this.getDetail(this.id);
|
|
168
|
+
});
|
|
169
|
+
},
|
|
170
|
+
getFormData() {
|
|
171
|
+
this.verificationForm().then((e) => {
|
|
172
|
+
this.callBackFun(e);
|
|
173
|
+
});
|
|
174
|
+
},
|
|
175
|
+
save() {
|
|
176
|
+
this.confirmLoading || (this.id == "" ? this.add() : this.edit());
|
|
177
|
+
},
|
|
178
|
+
add() {
|
|
179
|
+
this.confirmLoading = !0, this.verificationForm().then((e) => {
|
|
180
|
+
e.id !== void 0 && delete e.id;
|
|
181
|
+
const t = this.options.baseAddApi ? this.options.baseAddApi : "";
|
|
182
|
+
return baseAdd(e, t).then((s) => {
|
|
183
|
+
if (s.code === 200)
|
|
184
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.callBackFun(s.data);
|
|
185
|
+
else {
|
|
186
|
+
const i = typeof s.message == "string" ? s.message : JSON.stringify(s.message);
|
|
187
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + i), this.confirmLoading = !1;
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
}).catch((e) => {
|
|
191
|
+
this.confirmLoading = !1;
|
|
192
|
+
});
|
|
193
|
+
},
|
|
194
|
+
edit() {
|
|
195
|
+
this.confirmLoading = !0, this.verificationForm().then((e) => {
|
|
196
|
+
const t = Object.assign({ ...e }, { id: this.id }), s = this.options.baseEditApi ? this.options.baseEditApi : "";
|
|
197
|
+
baseEdit(t, s).then((i) => {
|
|
198
|
+
if (i.code === 200)
|
|
199
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.callBackFun(t);
|
|
200
|
+
else {
|
|
201
|
+
const o = typeof i.message == "string" ? i.message : JSON.stringify(i.message);
|
|
202
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + o), this.confirmLoading = !1;
|
|
203
|
+
}
|
|
204
|
+
}).catch(() => {
|
|
205
|
+
this.confirmLoading = !1;
|
|
206
|
+
});
|
|
207
|
+
}).catch((e) => {
|
|
208
|
+
this.confirmLoading = !1;
|
|
209
|
+
});
|
|
210
|
+
},
|
|
211
|
+
getDetail(e) {
|
|
212
|
+
const t = this.options.baseDetailsApi ? this.options.baseDetailsApi : "";
|
|
213
|
+
baseDetails(
|
|
214
|
+
{
|
|
215
|
+
tableId: this.tableData.id,
|
|
216
|
+
id: e || this.id
|
|
217
|
+
},
|
|
218
|
+
t
|
|
219
|
+
).then((s) => {
|
|
220
|
+
if (s.code === 200) {
|
|
221
|
+
const i = this.baseFormatterData(s.data[0]);
|
|
222
|
+
this.ruleForm = i, this.processingData(s.data[0]);
|
|
223
|
+
} else
|
|
224
|
+
this.$message.error(s.message);
|
|
225
|
+
});
|
|
226
|
+
},
|
|
227
|
+
processingData(e) {
|
|
228
|
+
let t = {
|
|
229
|
+
...e
|
|
230
|
+
}, s = [];
|
|
231
|
+
for (let i in t) {
|
|
232
|
+
const o = this.codeList.filter((a) => a.columnname === i)[0], l = this.allField.filter((a) => (a.options.columnName ? a.options.columnName.toLowerCase() : a.options.columnName) === i)[0];
|
|
233
|
+
let n = o ? o.effecttype : "";
|
|
234
|
+
if (n === "checkbox")
|
|
235
|
+
t[i] = t[i] === null || t[i] === "" ? [] : t[i].split(",");
|
|
236
|
+
else if (n === "image")
|
|
237
|
+
s.push({
|
|
238
|
+
data: t[i],
|
|
239
|
+
items: o,
|
|
240
|
+
done: l
|
|
241
|
+
});
|
|
242
|
+
else if (n === "file")
|
|
243
|
+
s.push({
|
|
244
|
+
data: t[i],
|
|
245
|
+
items: o,
|
|
246
|
+
done: l
|
|
247
|
+
});
|
|
248
|
+
else if (n === "radio" || n === "select")
|
|
249
|
+
t[i] = t[i] !== null ? String(t[i]) : "";
|
|
250
|
+
else if (n === "double" || n === "inputnumber" || n === "double" || n === "currency")
|
|
251
|
+
t[i] = t[i] !== "" && t[i] !== null ? t[i] : void 0;
|
|
252
|
+
else if (n === "fk" || n === "about" || n === "user")
|
|
253
|
+
t[i] = t[i] ? t[i] : "", s.push({
|
|
254
|
+
data: t[i],
|
|
255
|
+
items: o,
|
|
256
|
+
done: l
|
|
257
|
+
});
|
|
258
|
+
else if (n === "switch")
|
|
259
|
+
t[i] = t[i] === null ? 0 : t[i];
|
|
260
|
+
else if (n === "datepicker")
|
|
261
|
+
t[i] = t[i] ? t[i] : "";
|
|
262
|
+
else if (n === "participants") {
|
|
263
|
+
let a = [], r = t[i] ? JSON.parse(t[i]) : [];
|
|
264
|
+
s.push({
|
|
265
|
+
data: r,
|
|
266
|
+
items: o,
|
|
267
|
+
done: l
|
|
268
|
+
}), r.forEach((c) => {
|
|
269
|
+
c.id = Number(c.id), a.includes(c.id) || a.push(c.id);
|
|
270
|
+
}), t[i] = a;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
this.ruleForm = this.baseFormatterData(t), this.$nextTick(() => {
|
|
274
|
+
setTimeout(() => {
|
|
275
|
+
s.forEach((i) => {
|
|
276
|
+
i.done && i.done.setData && i.done.setData({
|
|
277
|
+
val: i.data,
|
|
278
|
+
data: t,
|
|
279
|
+
items: i.items
|
|
280
|
+
}), i.done && i.done.options && i.done.options.effectType === "file" && (i.done.sourceData = i.data);
|
|
281
|
+
});
|
|
282
|
+
}, 0), setTimeout(() => {
|
|
283
|
+
this.confirmLoading = !1;
|
|
284
|
+
}, 300);
|
|
285
|
+
});
|
|
286
|
+
},
|
|
287
|
+
baseFormatterData(e) {
|
|
288
|
+
const t = this.allField.filter((i) => i.options.effectType === "double");
|
|
289
|
+
let s = /* @__PURE__ */ new Map();
|
|
290
|
+
for (let i in e) {
|
|
291
|
+
let o = i.toLowerCase(), l = t.filter((n) => n.options.columnName.toLowerCase() === o)[0];
|
|
292
|
+
if (l && e[i] !== "" && e[i] !== null && e[i] !== void 0) {
|
|
293
|
+
let n = getMultiple(l.options);
|
|
294
|
+
s.set(o, Number(e[i]) * n);
|
|
295
|
+
} else
|
|
296
|
+
s.set(o, e[i]);
|
|
297
|
+
}
|
|
298
|
+
return Object.fromEntries(s);
|
|
299
|
+
},
|
|
300
|
+
baseParserData(e) {
|
|
301
|
+
const t = this.allField.filter((i) => i.options.effectType === "double");
|
|
302
|
+
let s = /* @__PURE__ */ new Map();
|
|
303
|
+
for (let i in e) {
|
|
304
|
+
let o = i.toLowerCase(), l = t.filter((n) => n.options.columnName.toLowerCase() === o)[0];
|
|
305
|
+
if (l) {
|
|
306
|
+
let n = getMultiple(l.options), a = l.options.precision === void 0 ? l.options.filedSize === void 0 ? 0 : l.options.filedSize : l.options.precision;
|
|
307
|
+
s.set(o, Number((e[i] / n).toFixed(a)));
|
|
308
|
+
} else
|
|
309
|
+
s.set(o, e[i]);
|
|
310
|
+
}
|
|
311
|
+
return Object.fromEntries(s);
|
|
312
|
+
},
|
|
313
|
+
verificationForm() {
|
|
314
|
+
return new Promise((e, t) => {
|
|
315
|
+
let s = this.allField.filter((a) => ["about"].includes(a.options.effectType)), i = this.allField.filter((a) => ["participants"].includes(a.options.effectType)), o = /* @__PURE__ */ new Map();
|
|
316
|
+
s.forEach((a) => {
|
|
317
|
+
const r = a.fkData.filter((f) => f.id !== ""), c = a.options.columnName.toLowerCase(), m = a.options.relations.toLowerCase();
|
|
318
|
+
let d = r.filter((f) => f.id == this.ruleForm[c])[0], u = m + "_abouttable";
|
|
319
|
+
o.set(u, d ? d.tableName : a.options.fkEntityName.split(",")[0]), o.set(m, d ? d.name : "");
|
|
320
|
+
}), i.forEach((a) => {
|
|
321
|
+
const r = a.fkData.filter((u) => u.id !== ""), c = a.options.columnName.toLowerCase();
|
|
322
|
+
let m = r.filter((u) => this.ruleForm[c].includes(u.id)), d = [];
|
|
323
|
+
m.forEach((u) => {
|
|
324
|
+
d.push({
|
|
325
|
+
id: u.id,
|
|
326
|
+
name: u.name,
|
|
327
|
+
tableName: u.tableName
|
|
328
|
+
});
|
|
329
|
+
}), o.set(c, JSON.stringify(d));
|
|
330
|
+
});
|
|
331
|
+
let l = {
|
|
332
|
+
...this.ruleForm
|
|
333
|
+
};
|
|
334
|
+
for (const a in l) {
|
|
335
|
+
const r = typeof l[a];
|
|
336
|
+
r === "undefined" ? l[a] = "" : r === "object" && (l[a] = formatting(l[a]));
|
|
337
|
+
}
|
|
338
|
+
const n = Object.assign(
|
|
339
|
+
{
|
|
340
|
+
...this.baseParserData(Object.assign(l, Object.fromEntries(o)))
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
tableId: this.tableData.id,
|
|
344
|
+
fkList: [],
|
|
345
|
+
updateFiled_GD: this.updateFiled
|
|
346
|
+
}
|
|
347
|
+
);
|
|
348
|
+
this.$refs.ruleForm.validate((a, r) => {
|
|
349
|
+
if (a)
|
|
350
|
+
e(n);
|
|
351
|
+
else {
|
|
352
|
+
let c = new Map(Object.entries(r)), m = [];
|
|
353
|
+
for (let p of c.keys())
|
|
354
|
+
m.push(p);
|
|
355
|
+
const d = r[m[0]][0], u = this.allField.filter((p) => p.options.columnName === d.field)[0], f = u ? `${this.$i18nt(`Dynamics.${u.options.transKey}`, u.label)} (${d.field})` : d.field;
|
|
356
|
+
this.$message.error(`${this.$i18nt("gd.https.errors", "\u6821\u9A8C\u5931\u8D25")}: ${f} ${d.message}!`), t({
|
|
357
|
+
err: `${this.$i18nt("gd.https.errors", "\u6821\u9A8C\u5931\u8D25")}: ${f} ${d.message}!`
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
},
|
|
363
|
+
baseInitData() {
|
|
364
|
+
return new Promise((e) => {
|
|
365
|
+
this.allField = this.getItemList();
|
|
366
|
+
const t = this.getInitColumnData();
|
|
367
|
+
this.ruleForm = Object.assign(this.baseFormatterData(t), {
|
|
368
|
+
id: this.id
|
|
369
|
+
}), this.$nextTick(() => {
|
|
370
|
+
setTimeout(() => {
|
|
371
|
+
this.$refs.ruleForm.clearValidate();
|
|
372
|
+
}, 0);
|
|
373
|
+
}), e();
|
|
374
|
+
});
|
|
375
|
+
},
|
|
376
|
+
onlineGenerateList() {
|
|
377
|
+
return this.codeList.length > 0 ? new Promise((e) => {
|
|
378
|
+
e();
|
|
379
|
+
}) : onlineFormGetCodeGenerateList({
|
|
380
|
+
codeGenId: this.tableData.id
|
|
381
|
+
}).then((e) => (e.code == 200 && (this.codeList = e.data), e));
|
|
382
|
+
},
|
|
383
|
+
getItemList() {
|
|
384
|
+
let typeList = [
|
|
385
|
+
"input",
|
|
386
|
+
"textarea",
|
|
387
|
+
"datePicker",
|
|
388
|
+
"timePicker",
|
|
389
|
+
"inputNumber",
|
|
390
|
+
"radio",
|
|
391
|
+
"checkbox",
|
|
392
|
+
"select",
|
|
393
|
+
"rate",
|
|
394
|
+
"switch",
|
|
395
|
+
"slider",
|
|
396
|
+
"uploadImg",
|
|
397
|
+
"uploadFile",
|
|
398
|
+
"editor"
|
|
399
|
+
], updateFiled = [], notBringToFields = [], itemList = [], currencyFiled = [];
|
|
400
|
+
const traverse = (array) => (array = array.filter((element, index) => {
|
|
401
|
+
["grid", "tabs", "collapse"].includes(element.type) && element.columns.forEach((e) => {
|
|
402
|
+
e.list = traverse(e.list);
|
|
403
|
+
}), ["card", "drawer", "dialog", "batch", "form", "flexLayout", "drawerContainer", "containerPanel"].includes(element.type) && (element.list = traverse(element.list)), element.type === "table" && element.trs.forEach((e) => {
|
|
404
|
+
e.tds.forEach((t) => {
|
|
405
|
+
t.list = traverse(t.list);
|
|
406
|
+
});
|
|
407
|
+
});
|
|
408
|
+
const names = element.options.columnName ? element.options.columnName.toLowerCase() : element.options.columnName;
|
|
409
|
+
if (element.options && element.options.effectType == "currency" && currencyFiled.push(element), element.options && names) {
|
|
410
|
+
itemList.push(element);
|
|
411
|
+
let e = element.options.bringTo === void 0 ? !0 : element.options.bringTo, t = this.codeList.filter((s) => s.columnname == names)[0];
|
|
412
|
+
if (e && t && t.columnname !== "id" && t.columnname !== "ownerid" && updateFiled.push(t.id), element.options.effectType == "about") {
|
|
413
|
+
let s = names.replace("_aboutid", "_abouttable");
|
|
414
|
+
t = this.codeList.filter((i) => i.columnname == s)[0], t && updateFiled.push(t.id);
|
|
415
|
+
}
|
|
416
|
+
e && names !== "id" || notBringToFields.push(names);
|
|
417
|
+
}
|
|
418
|
+
if (typeList.includes(element.type) && element.rules !== void 0 && element.rules.length > 0 && element.rules.map((item) => (item.message === "\u5FC5\u586B\u9879" && (item.message = this.$i18nt("gd.placeholder.required", "\u5FC5\u586B\u9879")), item.pattern !== void 0 && (item.pattern = eval(item.pattern)), item)), typeList.includes(element.type)) {
|
|
419
|
+
let e = this.codeList.filter((i) => i.columnname === names)[0], t = e && e.issecurity !== void 0 ? e.issecurity : "N";
|
|
420
|
+
element.lockShow = t === "Y";
|
|
421
|
+
let s = {
|
|
422
|
+
transKey: element.options.transKey ? element.options.transKey : e ? e.transkey : null
|
|
423
|
+
};
|
|
424
|
+
if (t === "Y" && e) {
|
|
425
|
+
element.isQuery = e === void 0 ? !0 : e.isquery, element.isEdit = e === void 0 ? !0 : e.isedit, element.isAdd = e === void 0 ? !0 : e.isadd;
|
|
426
|
+
let i = element.options.disabled !== void 0 ? element.options.disabled : !1;
|
|
427
|
+
element.options.odisabled === void 0 ? s = Object.assign(s, {
|
|
428
|
+
odisabled: i
|
|
429
|
+
}) : i = element.options.odisabled;
|
|
430
|
+
let o = this.id === "" ? e.isadd ? i : !0 : e.isedit ? i : !0, l = e.isquery ? !1 : !(e.isedit || e.isadd), n = this.id === "" ? e.isadd ? element.options.bringTo : !1 : e.isedit ? element.options.bringTo : !1;
|
|
431
|
+
e !== void 0 && (s = Object.assign(s, {
|
|
432
|
+
hidden: l,
|
|
433
|
+
disabled: o,
|
|
434
|
+
columnName: names
|
|
435
|
+
})), !n && e && (updateFiled = updateFiled.filter((r) => r !== e.id)), element.orules === void 0 && (element.orules = element.rules ? element.rules : []), o ? element.rules = [] : element.rules = element.orules, e !== void 0 && !element.isAdd && addData.push(e.id), e !== void 0 && !element.isEdit && editData.push(e.id);
|
|
436
|
+
let a = this.id === "" ? e.isquery || e.isadd : e.isquery || e.isedit;
|
|
437
|
+
element.permissions = a;
|
|
438
|
+
}
|
|
439
|
+
element.options = Object.assign(
|
|
440
|
+
{
|
|
441
|
+
...element.options
|
|
442
|
+
},
|
|
443
|
+
s
|
|
444
|
+
);
|
|
445
|
+
}
|
|
446
|
+
return !0;
|
|
447
|
+
}), array);
|
|
448
|
+
return traverse(this.list), this.updateFiled = updateFiled.join(","), this.notBringToFields = notBringToFields, this.currencyFiled = currencyFiled, itemList;
|
|
449
|
+
},
|
|
450
|
+
getInitColumnData(e) {
|
|
451
|
+
let t = /* @__PURE__ */ new Map();
|
|
452
|
+
return (e || this.allField.filter((i) => !i.componentItem)).forEach((i) => {
|
|
453
|
+
const o = i.options.columnName.toLowerCase();
|
|
454
|
+
if (["input", "textarea", "image", "file", "editor"].includes(i.options.effectType))
|
|
455
|
+
t.set(o, i.options.defaultValue !== void 0 ? i.options.defaultValue : "");
|
|
456
|
+
else if (["fk", "user", "select", "radio"].includes(i.options.effectType))
|
|
457
|
+
t.set(o, i.options.defaultValue !== void 0 ? i.options.defaultValue : void 0);
|
|
458
|
+
else if (["participants", "checkbox"].includes(i.options.effectType))
|
|
459
|
+
t.set(o, i.options.defaultValue !== void 0 ? i.options.defaultValue : []);
|
|
460
|
+
else if (["switch"].includes(i.options.effectType)) {
|
|
461
|
+
const l = i.options.defaultValue !== void 0 ? i.options.defaultValue : 0;
|
|
462
|
+
t.set(o, l);
|
|
463
|
+
} else if (["inputnumber", "currency", "double"].includes(i.options.effectType))
|
|
464
|
+
t.set(
|
|
465
|
+
o,
|
|
466
|
+
i.options.defaultValue !== void 0 ? i.options.defaultValue === "undefined" ? void 0 : i.options.defaultValue : void 0
|
|
467
|
+
);
|
|
468
|
+
else if (["datepicker"].includes(i.options.effectType)) {
|
|
469
|
+
const n = (i.options.isCurrentTime !== void 0 ? i.options.isCurrentTime : !1) ? getCurrentTime() : i.options.defaultValue !== void 0 ? i.options.defaultValue : "";
|
|
470
|
+
t.set(o, n);
|
|
471
|
+
} else
|
|
472
|
+
t.set(o, i.options.defaultValue !== void 0 ? i.options.defaultValue : "");
|
|
473
|
+
}), Object.fromEntries(t);
|
|
474
|
+
},
|
|
475
|
+
executeEvent(e) {
|
|
476
|
+
if (this.confirmLoading)
|
|
477
|
+
return;
|
|
478
|
+
this.executeEventData = e;
|
|
479
|
+
const t = e.functionName ? e.functionName : "";
|
|
480
|
+
t && this[t] !== void 0 ? this[t](e) : console.log("\u6267\u884C\u9519\u8BEF");
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
mounted() {
|
|
484
|
+
this.record.executeEvent = this.executeEvent, this.record.type === "form" && (this.ruleForm = {
|
|
485
|
+
...this.record.ruleForm
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
var _sfc_render = function e() {
|
|
490
|
+
var t = this, s = t._self._c;
|
|
491
|
+
return s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], class: t.gclass, style: t.style }, [s("el-form", { ref: "ruleForm", attrs: { inline: t.options.inline, labelPosition: t.options.labelPosition, labelWidth: t.labelWidth, model: t.ruleForm }, nativeOn: { submit: function(i) {
|
|
492
|
+
i.preventDefault();
|
|
493
|
+
} } }, [t._t("formItem", null, { ruleFormData: t.ruleForm, lookupData: t.lookupData, handleChangeForm: t.handleChangeForm, tableData: t.tableData })], 2), s("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 1);
|
|
494
|
+
}, _sfc_staticRenderFns = [], __component__ = /* @__PURE__ */ normalizeComponent(
|
|
495
|
+
_sfc_main,
|
|
496
|
+
_sfc_render,
|
|
497
|
+
_sfc_staticRenderFns,
|
|
498
|
+
!1,
|
|
499
|
+
null,
|
|
500
|
+
null,
|
|
501
|
+
null,
|
|
502
|
+
null
|
|
503
|
+
);
|
|
504
|
+
const formFiled = __component__.exports;
|
|
505
|
+
export {
|
|
506
|
+
formFiled as default
|
|
507
|
+
};
|