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,938 @@
|
|
|
1
|
+
import { w as h, x as m, y as f, a as c, d as u, z as p, A as g, B as y } from "./http.tabledevelopment.3dcb3e97.mjs";
|
|
2
|
+
import { u as l } from "./utils.util.js.333daba2.mjs";
|
|
3
|
+
import { n as r, m as d } from "./components.chartbi.571c5ff5.mjs";
|
|
4
|
+
import { t as b } from "./utils.mixins.js.be01e599.mjs";
|
|
5
|
+
const v = {
|
|
6
|
+
props: {
|
|
7
|
+
table: {
|
|
8
|
+
type: Object,
|
|
9
|
+
default: () => ({})
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
width: "900px",
|
|
15
|
+
record: null,
|
|
16
|
+
confirmLoading: !1,
|
|
17
|
+
visible: !1,
|
|
18
|
+
fullscreen: !1,
|
|
19
|
+
buttons: [
|
|
20
|
+
{
|
|
21
|
+
displayName: "\u786E\u5B9A",
|
|
22
|
+
functionName: "handleSubmit",
|
|
23
|
+
show: !0,
|
|
24
|
+
transKey: "gd.btn.confirm",
|
|
25
|
+
icon: "el-icon-document-checked"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
ruleFormData: {
|
|
29
|
+
displayName: "",
|
|
30
|
+
type: "1",
|
|
31
|
+
icon: "",
|
|
32
|
+
sn: 100,
|
|
33
|
+
displayPos: "1",
|
|
34
|
+
sysViewData: "",
|
|
35
|
+
functionName: "",
|
|
36
|
+
description: "",
|
|
37
|
+
transKey: ""
|
|
38
|
+
},
|
|
39
|
+
rules: {
|
|
40
|
+
displayName: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "blur" }],
|
|
41
|
+
sn: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "blur", type: "number" }],
|
|
42
|
+
sysViewData: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: "change" }],
|
|
43
|
+
functionName: [{ required: !0, message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"), trigger: "blur" }]
|
|
44
|
+
},
|
|
45
|
+
viewList: [],
|
|
46
|
+
formList: [],
|
|
47
|
+
btnTips: "",
|
|
48
|
+
btnList: [],
|
|
49
|
+
deletebtnList: []
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
components: {
|
|
53
|
+
IconSelector: () => import("./components.iconselector.8940b1a9.mjs"),
|
|
54
|
+
BtnFunctionName: () => Promise.resolve().then(() => B)
|
|
55
|
+
},
|
|
56
|
+
computed: {
|
|
57
|
+
disabled() {
|
|
58
|
+
return !!this.record;
|
|
59
|
+
},
|
|
60
|
+
title() {
|
|
61
|
+
return this.record ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u65B0\u589E");
|
|
62
|
+
},
|
|
63
|
+
getPosition() {
|
|
64
|
+
return this.ruleFormData.displayPos === "1" ? this.viewList : this.formList;
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
methods: {
|
|
68
|
+
add() {
|
|
69
|
+
const s = {
|
|
70
|
+
syscodegenid: this.table.id,
|
|
71
|
+
sn: this.ruleFormData.sn,
|
|
72
|
+
displayname: this.ruleFormData.displayName,
|
|
73
|
+
displaypos: this.ruleFormData.displayPos,
|
|
74
|
+
icon: this.ruleFormData.icon,
|
|
75
|
+
type: this.ruleFormData.type,
|
|
76
|
+
functionname: this.ruleFormData.functionName,
|
|
77
|
+
description: this.ruleFormData.description,
|
|
78
|
+
childbutton: this.btnList,
|
|
79
|
+
sysviewdata: this.ruleFormData.displayPos === "1" ? this.ruleFormData.sysViewData.join(",") : "",
|
|
80
|
+
sysformdata: this.ruleFormData.displayPos === "2" ? this.ruleFormData.sysViewData.join(",") : ""
|
|
81
|
+
};
|
|
82
|
+
h(s).then((e) => {
|
|
83
|
+
e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", e.data), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message), this.confirmLoading = !1;
|
|
84
|
+
}), console.log(s);
|
|
85
|
+
},
|
|
86
|
+
edit() {
|
|
87
|
+
const s = this.btnList.concat(this.deletebtnList), e = {
|
|
88
|
+
syscodegenid: this.table.id,
|
|
89
|
+
sn: this.ruleFormData.sn,
|
|
90
|
+
displayname: this.ruleFormData.displayName,
|
|
91
|
+
displaypos: this.ruleFormData.displayPos,
|
|
92
|
+
icon: this.ruleFormData.icon,
|
|
93
|
+
type: this.ruleFormData.type,
|
|
94
|
+
functionname: this.ruleFormData.functionName,
|
|
95
|
+
description: this.ruleFormData.description,
|
|
96
|
+
childbutton: s,
|
|
97
|
+
sysviewid: this.ruleFormData.displayPos === "1" ? this.ruleFormData.sysViewData : null,
|
|
98
|
+
sysformidbyset: this.ruleFormData.displayPos === "2" ? this.ruleFormData.sysViewData : null
|
|
99
|
+
};
|
|
100
|
+
m(Object.assign({ ...this.record }, e)).then((t) => {
|
|
101
|
+
t.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail") + t.message), this.confirmLoading = !1;
|
|
102
|
+
});
|
|
103
|
+
},
|
|
104
|
+
handleSubmit() {
|
|
105
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
|
|
106
|
+
if (!s) {
|
|
107
|
+
this.confirmLoading = !1;
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
if (this.ruleFormData.type === "2" && !this.isBtnChecked()) {
|
|
111
|
+
this.$message.error(this.$i18nt("gd.btnConfig.subbuttonTip")), this.btnTips = this.$i18nt("gd.btnConfig.subbuttonTip"), this.confirmLoading = !1;
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
this.btnTips = "", this.record ? this.edit() : this.add();
|
|
115
|
+
});
|
|
116
|
+
},
|
|
117
|
+
selFunctionName() {
|
|
118
|
+
let s = this.ruleFormData.displayPos === "1" ? "view" : "form";
|
|
119
|
+
this.$refs.btnFunctionName.open(s);
|
|
120
|
+
},
|
|
121
|
+
okFunctionName(s) {
|
|
122
|
+
if (Object.assign(this.ruleFormData, {
|
|
123
|
+
functionName: s.name,
|
|
124
|
+
icon: s.icon,
|
|
125
|
+
type: s.name == "exportData" ? "2" : "1"
|
|
126
|
+
}), s.name !== "exportData" && (this.btnList = []), s.name !== "exportData" || this.btnList.length > 0 || this.record)
|
|
127
|
+
return;
|
|
128
|
+
let e = [
|
|
129
|
+
{ id: 0, sn: 1, key: 1, name: l(12), displayName: "\u5F53\u524D\u9759\u6001\u9875" },
|
|
130
|
+
{ id: 0, sn: 2, key: 2, name: l(12), displayName: "\u5F53\u524D\u9759\u6001\u9875\uFF08\uFF08\u6240\u6709\uFF09" },
|
|
131
|
+
{ id: 0, sn: 3, key: 4, name: l(12), displayName: "\u5F53\u524D\u9009\u4E2D" },
|
|
132
|
+
{ id: 0, sn: 4, key: 3, name: l(12), displayName: "\u81EA\u5B9A\u4E49" }
|
|
133
|
+
];
|
|
134
|
+
this.btnList = [...e];
|
|
135
|
+
},
|
|
136
|
+
delList(s) {
|
|
137
|
+
this.deletebtnList = this.btnList.filter((t) => t.name === s.name && t.id != 0), this.deletebtnList.forEach((t) => {
|
|
138
|
+
t.statecodes = 0;
|
|
139
|
+
});
|
|
140
|
+
let e = this.btnList.filter((t) => t.name !== s.name);
|
|
141
|
+
this.btnList = [...e];
|
|
142
|
+
},
|
|
143
|
+
addList() {
|
|
144
|
+
let s = [...this.btnList], e = {
|
|
145
|
+
id: 0,
|
|
146
|
+
sn: s.length + 1,
|
|
147
|
+
key: "",
|
|
148
|
+
name: l(12),
|
|
149
|
+
displayName: ""
|
|
150
|
+
};
|
|
151
|
+
s.push(e), this.btnList = [...s];
|
|
152
|
+
},
|
|
153
|
+
open(s) {
|
|
154
|
+
this.record = s, this.getViewList(), this.getFormList(), this.getDetail(), this.$nextTick(() => {
|
|
155
|
+
setTimeout(() => {
|
|
156
|
+
this.$refs.ruleForm.resetFields();
|
|
157
|
+
}, 0);
|
|
158
|
+
}), this.visible = !0;
|
|
159
|
+
},
|
|
160
|
+
getDetail() {
|
|
161
|
+
!this.record || (this.confirmLoading = !0, f({ id: this.record.id }).then((s) => {
|
|
162
|
+
if (s.code === 200) {
|
|
163
|
+
this.record = s.data, Object.assign(this.ruleFormData, {
|
|
164
|
+
displayName: s.data.displayname,
|
|
165
|
+
type: String(s.data.type),
|
|
166
|
+
icon: s.data.icon,
|
|
167
|
+
sn: s.data.sn,
|
|
168
|
+
displayPos: String(s.data.displaypos),
|
|
169
|
+
sysViewData: s.data.sysviewid ? s.data.sysviewid : s.data.sysformidbyset ? s.data.sysformidbyset : "",
|
|
170
|
+
functionName: s.data.functionname,
|
|
171
|
+
description: s.data.description,
|
|
172
|
+
transKey: s.data.transkey
|
|
173
|
+
});
|
|
174
|
+
let e = s.data.childbutton ? s.data.childbutton : [];
|
|
175
|
+
e.map((t) => (t.displayName = t.displayname == null ? t.name : t.displayname, t)), this.btnList = [...e];
|
|
176
|
+
}
|
|
177
|
+
this.confirmLoading = !1;
|
|
178
|
+
}));
|
|
179
|
+
},
|
|
180
|
+
getViewList() {
|
|
181
|
+
c({
|
|
182
|
+
SysCodeGenId: this.table.id
|
|
183
|
+
}).then((s) => {
|
|
184
|
+
this.viewList = s.data.map((e) => (e.displayname = e.name, e));
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
getFormList() {
|
|
188
|
+
u({
|
|
189
|
+
sysCodeGenId: this.table.id
|
|
190
|
+
}).then((s) => {
|
|
191
|
+
this.formList = s.data.filter((e) => e.type != 2);
|
|
192
|
+
});
|
|
193
|
+
},
|
|
194
|
+
isBtnChecked() {
|
|
195
|
+
return this.btnList.length == 0 ? !1 : this.btnList.every((s, e, t) => s.sn !== "" && s.displayName !== "" && s.key !== "");
|
|
196
|
+
},
|
|
197
|
+
closed() {
|
|
198
|
+
this.deletebtnList = [], this.fullscreen = !1, this.visible = !1;
|
|
199
|
+
},
|
|
200
|
+
handleIcon() {
|
|
201
|
+
this.$refs.iconSelector.open();
|
|
202
|
+
},
|
|
203
|
+
getDictionary(s) {
|
|
204
|
+
return this.$options.filters.dictData(s);
|
|
205
|
+
},
|
|
206
|
+
doEvent(s) {
|
|
207
|
+
let e = s.item.functionName;
|
|
208
|
+
this[e] && this[e]();
|
|
209
|
+
},
|
|
210
|
+
lookupSeled(s) {
|
|
211
|
+
this.ruleFormData.displayName = s.defaulttext;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
var _ = function() {
|
|
216
|
+
var e = this, t = e._self._c;
|
|
217
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
218
|
+
e.visible = i;
|
|
219
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.title, fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent } })], 1), t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", staticClass: "gd-form", attrs: { "label-width": "110px", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(i) {
|
|
220
|
+
i.preventDefault();
|
|
221
|
+
} } }, [t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.displayName", "\u663E\u793A\u540D\u79F0"), prop: "displayName" } }, [t("div", { class: this.record ? "gd-form-item-name" : "" }), e.record ? e._e() : t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: e.disabled }, model: { value: e.ruleFormData.displayName, callback: function(i) {
|
|
222
|
+
e.$set(e.ruleFormData, "displayName", i);
|
|
223
|
+
}, expression: "ruleFormData.displayName" } }), e.record && e.visible ? t("gd-translation", { ref: "gdTranslation", attrs: { keyI18n: "transKey", name: "displayName", recordData: e.ruleFormData, type: 2 }, on: { lookupSeled: e.lookupSeled } }) : e._e()], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.type", "\u6309\u94AE\u7C7B\u578B"), prop: "type" } }, [t("el-radio-group", { model: { value: e.ruleFormData.type, callback: function(i) {
|
|
224
|
+
e.$set(e.ruleFormData, "type", i);
|
|
225
|
+
}, expression: "ruleFormData.type" } }, e._l(e.getDictionary("table_btn_type"), function(i) {
|
|
226
|
+
return t("el-radio", { key: i.code, attrs: { label: i.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)) + " ")]);
|
|
227
|
+
}), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.icon", "\u56FE\u6807"), prop: "icon" } }, [t("div", { staticClass: "item-operator flex" }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: e.ruleFormData.icon, callback: function(i) {
|
|
228
|
+
e.$set(e.ruleFormData, "icon", i);
|
|
229
|
+
}, expression: "ruleFormData.icon" } }, [e.ruleFormData.icon ? t("i", { staticClass: "el-input__icon gd-icons active-color", class: e.ruleFormData.icon, staticStyle: { "font-weight": "400", "font-size": "16px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : e._e()]), t("div", { staticClass: "item-operator-cao flex" }, [t("i", { staticClass: "el-icon-search", on: { click: e.handleIcon } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.sort", "\u6392\u5E8F"), prop: "sn" } }, [t("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", min: 1, step: 1 }, model: { value: e.ruleFormData.sn, callback: function(i) {
|
|
230
|
+
e.$set(e.ruleFormData, "sn", i);
|
|
231
|
+
}, expression: "ruleFormData.sn" } })], 1)], 1)], 1), t("div", { staticClass: "means" }, [t("el-divider"), t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.btnConfig.displayPosition", "\u663E\u793A\u4F4D\u7F6E")))]), t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.adaptTo", "\u9002\u7528\u4E8E"), prop: "displayPos" } }, [t("el-radio-group", { attrs: { disabled: e.disabled }, model: { value: e.ruleFormData.displayPos, callback: function(i) {
|
|
232
|
+
e.$set(e.ruleFormData, "displayPos", i);
|
|
233
|
+
}, expression: "ruleFormData.displayPos" } }, e._l(e.getDictionary("table_btn_apply"), function(i) {
|
|
234
|
+
return t("el-radio", { key: i.code, attrs: { label: i.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)) + " ")]);
|
|
235
|
+
}), 1)], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.displayPosition", "\u663E\u793A\u4F4D\u7F6E"), prop: "sysViewData" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", clearable: "", multiple: !e.record, "collapse-tags": !0 }, model: { value: e.ruleFormData.sysViewData, callback: function(i) {
|
|
236
|
+
e.$set(e.ruleFormData, "sysViewData", i);
|
|
237
|
+
}, expression: "ruleFormData.sysViewData" } }, e._l(e.getPosition, function(i) {
|
|
238
|
+
return t("el-option", { key: i.id, attrs: { value: i.id, label: e.$i18nt(`Dynamics.${i.transkey}`, i.displayname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.displayname)) + " ")]);
|
|
239
|
+
}), 1)], 1)], 1)], 1)], 1), t("div", { staticClass: "means" }, [t("el-divider"), t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.btnConfig.executionFunction", "\u6267\u884C\u65B9\u6CD5")))]), t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.functionName", "\u65B9\u6CD5\u540D"), prop: "functionName" } }, [t("div", { staticClass: "item-operator flex" }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: e.ruleFormData.functionName, callback: function(i) {
|
|
240
|
+
e.$set(e.ruleFormData, "functionName", i);
|
|
241
|
+
}, expression: "ruleFormData.functionName" } }), t("div", { staticClass: "item-operator-cao flex", on: { click: e.selFunctionName } }, [t("i", { staticClass: "el-icon-search" })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.btnConfig.explain", "\u8BF4\u660E"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", autosize: { minRows: 1, maxRows: 4 } }, model: { value: e.ruleFormData.description, callback: function(i) {
|
|
242
|
+
e.$set(e.ruleFormData, "description", i);
|
|
243
|
+
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1), e.ruleFormData.type === "2" ? t("div", { staticClass: "means" }, [t("el-divider"), t("div", { staticClass: "title" }, [e._v(" " + e._s(e.$i18nt("gd.btnConfig.subbutton", "\u5B50\u6309\u94AE")) + " "), t("i", { staticClass: "el-icon-circle-plus-outline active-color", staticStyle: { "font-size": "22px", margin: "0 4px", cursor: "pointer" }, on: { click: e.addList } }), t("span", { staticClass: "tips" }, [e._v(e._s(e.btnTips))])]), e.btnList.length > 0 ? [t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 5 } }, [e._v(e._s(e.$i18nt("gd.btnConfig.sort", "\u5E8F\u53F7")))]), t("el-col", { attrs: { span: 8 } }, [e._v(e._s(e.$i18nt("gd.btnConfig.name", "\u540D\u79F0")))]), t("el-col", { attrs: { span: 8 } }, [e._v(e._s(e.$i18nt("gd.btnConfig.key", "Key")))]), t("el-col", { attrs: { span: 3 } })], 1), e._l(e.btnList, function(i, a) {
|
|
244
|
+
return [t("el-row", { style: a === 0 ? "" : "margin-top: 8px ", attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 5 } }, [t("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", min: 1, step: 1 }, model: { value: i.sn, callback: function(n) {
|
|
245
|
+
e.$set(i, "sn", n);
|
|
246
|
+
}, expression: "item.sn" } })], 1), t("el-col", { attrs: { span: 8 } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: i.displayName, callback: function(n) {
|
|
247
|
+
e.$set(i, "displayName", n);
|
|
248
|
+
}, expression: "item.displayName" } })], 1), t("el-col", { attrs: { span: 8 } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: i.key, callback: function(n) {
|
|
249
|
+
e.$set(i, "key", n);
|
|
250
|
+
}, expression: "item.key" } })], 1), t("el-col", { attrs: { span: 3 } }, [t("i", { staticClass: "el-icon-delete", staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(n) {
|
|
251
|
+
return e.delList(i);
|
|
252
|
+
} } })])], 1)];
|
|
253
|
+
})] : e._e()], 2) : e._e()], 1)], 2), t("IconSelector", { ref: "iconSelector", model: { value: e.ruleFormData.icon, callback: function(i) {
|
|
254
|
+
e.$set(e.ruleFormData, "icon", i);
|
|
255
|
+
}, expression: "ruleFormData.icon" } }), t("BtnFunctionName", { ref: "btnFunctionName", attrs: { table: e.table }, on: { ok: e.okFunctionName } })], 1);
|
|
256
|
+
}, w = [], C = /* @__PURE__ */ r(
|
|
257
|
+
v,
|
|
258
|
+
_,
|
|
259
|
+
w,
|
|
260
|
+
!1,
|
|
261
|
+
null,
|
|
262
|
+
"0cf14899",
|
|
263
|
+
null,
|
|
264
|
+
null
|
|
265
|
+
);
|
|
266
|
+
const $ = C.exports, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
267
|
+
__proto__: null,
|
|
268
|
+
default: $
|
|
269
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
270
|
+
const F = {
|
|
271
|
+
props: {
|
|
272
|
+
height: {
|
|
273
|
+
type: Number,
|
|
274
|
+
default: 100
|
|
275
|
+
},
|
|
276
|
+
record: {
|
|
277
|
+
type: Object,
|
|
278
|
+
default: () => ({})
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
mixins: [b],
|
|
282
|
+
components: { editForm: () => Promise.resolve().then(() => D) },
|
|
283
|
+
data() {
|
|
284
|
+
return {
|
|
285
|
+
tableButtons: [
|
|
286
|
+
{
|
|
287
|
+
displayName: "\u65B0\u589E",
|
|
288
|
+
functionName: "add",
|
|
289
|
+
show: !0,
|
|
290
|
+
transKey: "gd.btn.add",
|
|
291
|
+
icon: "el-icon-plus",
|
|
292
|
+
name: "sysTableBtn:add"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
displayName: "\u7F16\u8F91",
|
|
296
|
+
functionName: "edit",
|
|
297
|
+
show: !0,
|
|
298
|
+
transKey: "gd.btn.edit",
|
|
299
|
+
icon: "el-icon-edit",
|
|
300
|
+
name: "sysTableBtn:edit"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
displayName: "\u5220\u9664",
|
|
304
|
+
functionName: "del",
|
|
305
|
+
show: !0,
|
|
306
|
+
transKey: "gd.btn.del",
|
|
307
|
+
icon: "el-icon-delete",
|
|
308
|
+
btnType: "danger",
|
|
309
|
+
name: "sysTableBtn:delete"
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
selectedRowKeys: [],
|
|
313
|
+
selectedRows: [],
|
|
314
|
+
queryParam: {},
|
|
315
|
+
sysViewList: [],
|
|
316
|
+
loadData: (s) => this.record.id === void 0 ? new Promise((e, t) => {
|
|
317
|
+
e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
|
|
318
|
+
}) : p(Object.assign({ SysCodeGenId: this.record.id }, this.getQueryParam)).then((e) => ({ pageNo: 1, pageSize: 100, totalRows: 0, rows: e.data.filter((i) => i.parentid == null) })),
|
|
319
|
+
show: !1
|
|
320
|
+
};
|
|
321
|
+
},
|
|
322
|
+
computed: {
|
|
323
|
+
getQueryParam() {
|
|
324
|
+
let s = /* @__PURE__ */ new Map();
|
|
325
|
+
for (let e in this.queryParam)
|
|
326
|
+
["displayposition", "displaypos"].includes(e) ? s.set(e, this.queryParam[e] ? this.queryParam[e].join(",") : "") : s.set(e, this.queryParam[e]);
|
|
327
|
+
return Object.fromEntries(s);
|
|
328
|
+
},
|
|
329
|
+
tableQueries() {
|
|
330
|
+
const s = this.sysViewList;
|
|
331
|
+
return [
|
|
332
|
+
{ transKey: "gd.btnConfig.displayName", prop: "displayName", label: "\u663E\u793A\u540D\u79F0", effectType: "input" },
|
|
333
|
+
{ transKey: "gd.btnConfig.adaptTo", prop: "displaypos", label: "\u9002\u5E94\u4E8E", effectType: "selectMultiple", dictTypeCode: "table_btn_apply" },
|
|
334
|
+
{ transKey: "gd.btnConfig.displayPosition", prop: "displayposition", width: "160", label: "\u663E\u793A\u4F4D\u7F6E", effectType: "selectMultiple", dictData: s }
|
|
335
|
+
];
|
|
336
|
+
},
|
|
337
|
+
tableColumns() {
|
|
338
|
+
const s = this.sysViewList;
|
|
339
|
+
return [
|
|
340
|
+
{
|
|
341
|
+
type: "selection",
|
|
342
|
+
width: "60",
|
|
343
|
+
fixed: !0
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
transKey: "gd.btnConfig.displayName",
|
|
347
|
+
prop: "displayName",
|
|
348
|
+
label: "\u663E\u793A\u540D\u79F0",
|
|
349
|
+
width: "180",
|
|
350
|
+
type: "slot",
|
|
351
|
+
slotType: "displayName",
|
|
352
|
+
align: "left",
|
|
353
|
+
fixed: !0,
|
|
354
|
+
renderHeader: (e, ...t) => this.renderHeader(e, ...t, {
|
|
355
|
+
effectType: "input"
|
|
356
|
+
})
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
transKey: "gd.btnConfig.sort",
|
|
360
|
+
prop: "sn",
|
|
361
|
+
width: "120",
|
|
362
|
+
label: "\u5E8F\u53F7",
|
|
363
|
+
align: "left"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
transKey: "gd.btnConfig.type",
|
|
367
|
+
prop: "type",
|
|
368
|
+
width: "120",
|
|
369
|
+
label: "\u7C7B\u578B",
|
|
370
|
+
type: "slot",
|
|
371
|
+
slotType: "type",
|
|
372
|
+
align: "left"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
transKey: "gd.btnConfig.adaptTo",
|
|
376
|
+
prop: "displaypos",
|
|
377
|
+
label: "\u9002\u5E94\u4E8E",
|
|
378
|
+
width: "160",
|
|
379
|
+
type: "slot",
|
|
380
|
+
slotType: "displaypos",
|
|
381
|
+
align: "left",
|
|
382
|
+
renderHeader: (e, ...t) => this.renderHeader(e, ...t, {
|
|
383
|
+
effectType: "selectMultiple",
|
|
384
|
+
dictTypeCode: "table_btn_apply"
|
|
385
|
+
})
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
transKey: "gd.btnConfig.displayPosition",
|
|
389
|
+
prop: "displayposition",
|
|
390
|
+
width: "160",
|
|
391
|
+
label: "\u663E\u793A\u4F4D\u7F6E",
|
|
392
|
+
align: "left",
|
|
393
|
+
renderHeader: (e, ...t) => this.renderHeader(e, ...t, {
|
|
394
|
+
effectType: "selectMultiple",
|
|
395
|
+
dictData: s
|
|
396
|
+
})
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
transKey: "gd.btnConfig.creationTime",
|
|
400
|
+
prop: "createdtime",
|
|
401
|
+
width: "160",
|
|
402
|
+
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
403
|
+
align: "left"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
transKey: "gd.btnConfig.explain",
|
|
407
|
+
prop: "description",
|
|
408
|
+
width: "210",
|
|
409
|
+
label: "\u8BF4\u660E",
|
|
410
|
+
align: "left"
|
|
411
|
+
}
|
|
412
|
+
];
|
|
413
|
+
},
|
|
414
|
+
...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
415
|
+
},
|
|
416
|
+
methods: {
|
|
417
|
+
queriesRefresh(s) {
|
|
418
|
+
this.queryParam = { ...s }, this.refresh();
|
|
419
|
+
},
|
|
420
|
+
getDisplayPosition() {
|
|
421
|
+
return new Promise((s) => Promise.all([this.getViewList(), this.getFormList()]).then((e) => {
|
|
422
|
+
let t = [];
|
|
423
|
+
e.forEach((i, a) => {
|
|
424
|
+
(i.data ? i.data : []).forEach((o) => {
|
|
425
|
+
t.push({
|
|
426
|
+
code: o.id,
|
|
427
|
+
transKey: o.transkey,
|
|
428
|
+
name: a === 1 ? o.displayname : o.name
|
|
429
|
+
});
|
|
430
|
+
});
|
|
431
|
+
}), this.sysViewList = t, s();
|
|
432
|
+
}));
|
|
433
|
+
},
|
|
434
|
+
getViewList() {
|
|
435
|
+
return c({ sysCodeGenId: this.record.id }).then((s) => s);
|
|
436
|
+
},
|
|
437
|
+
getFormList() {
|
|
438
|
+
return u({ sysCodeGenId: this.record.id }).then((s) => s);
|
|
439
|
+
},
|
|
440
|
+
async refresh() {
|
|
441
|
+
await this.getDisplayPosition(), this.show = !0, this.$nextTick(() => {
|
|
442
|
+
setTimeout(() => {
|
|
443
|
+
this.$refs.table.refresh();
|
|
444
|
+
}, 100);
|
|
445
|
+
});
|
|
446
|
+
},
|
|
447
|
+
editForm(s) {
|
|
448
|
+
this.$refs.editForm.open(s);
|
|
449
|
+
},
|
|
450
|
+
del() {
|
|
451
|
+
if (this.selectedRowKeys.length === 0) {
|
|
452
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
453
|
+
return;
|
|
454
|
+
}
|
|
455
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
456
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
457
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
458
|
+
showClose: !1,
|
|
459
|
+
confirmButtonLoading: !1,
|
|
460
|
+
cancelButtonLoading: !1,
|
|
461
|
+
closeOnClickModal: !1,
|
|
462
|
+
type: "warning",
|
|
463
|
+
confirmButtonClass: "el-button--danger",
|
|
464
|
+
customClass: "custom-alert",
|
|
465
|
+
callback: () => {
|
|
466
|
+
},
|
|
467
|
+
beforeClose: (s, e, t) => {
|
|
468
|
+
this.delHand(s, e, t);
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
},
|
|
472
|
+
delHand(s, e, t) {
|
|
473
|
+
if (s !== "confirm") {
|
|
474
|
+
t();
|
|
475
|
+
return;
|
|
476
|
+
}
|
|
477
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, g({ ids: this.selectedRowKeys.join(",") }).then((i) => {
|
|
478
|
+
t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i.success ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + i.message), this.handleOk();
|
|
479
|
+
});
|
|
480
|
+
},
|
|
481
|
+
add() {
|
|
482
|
+
this.$refs.editForm.open(null);
|
|
483
|
+
},
|
|
484
|
+
edit() {
|
|
485
|
+
if (this.selectedRowKeys.length === 0) {
|
|
486
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
if (this.selectedRowKeys.length > 1) {
|
|
490
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
493
|
+
this.editForm(this.selectedRows[0]);
|
|
494
|
+
},
|
|
495
|
+
handleOk() {
|
|
496
|
+
this.$refs.table.refresh();
|
|
497
|
+
},
|
|
498
|
+
onSelectChange(s, e) {
|
|
499
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
500
|
+
},
|
|
501
|
+
doEvent(s) {
|
|
502
|
+
let e = s.item.functionName;
|
|
503
|
+
this[e] && this[e]();
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
var L = function() {
|
|
508
|
+
var e = this, t = e._self._c;
|
|
509
|
+
return t("div", [t("div", [e.show ? t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, "max-height": e.height, showPagination: !1, initialLoading: !1, filtering: "" }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "displayName", fn: function({ column: i, row: a }) {
|
|
510
|
+
return [t("gd-tooltip", { attrs: { rowKey: "displayname", row: a, highlight: "", transKey: `Dynamics.${a.transkey}` }, on: { click: e.editForm } })];
|
|
511
|
+
} }, { key: "type", fn: function(i) {
|
|
512
|
+
return [e._v(" " + e._s(e._f("dictType")("table_btn_type", i.row.type)) + " ")];
|
|
513
|
+
} }, { key: "displaypos", fn: function(i) {
|
|
514
|
+
return [e._v(" " + e._s(e._f("dictType")("table_btn_apply", i.row.displaypos)) + " ")];
|
|
515
|
+
} }, { key: "operator", fn: function() {
|
|
516
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
517
|
+
}, proxy: !0 }, { key: "filtering", fn: function({ colse: i, visible: a, changeTrigger: n }) {
|
|
518
|
+
return [t("gd-table-queries-field", { ref: "queriesField", attrs: { columns: e.tableQueries, height: 780, queryParam: e.queryParam, colse: i, visible: a, openRules: !1, changeTrigger: n }, on: { save: e.queriesRefresh } })];
|
|
519
|
+
} }], null, !1, 4164397829) }) : e._e()], 1), t("editForm", { ref: "editForm", attrs: { table: e.record }, on: { ok: e.refresh } })], 1);
|
|
520
|
+
}, k = [], N = /* @__PURE__ */ r(
|
|
521
|
+
F,
|
|
522
|
+
L,
|
|
523
|
+
k,
|
|
524
|
+
!1,
|
|
525
|
+
null,
|
|
526
|
+
"9bba5dd7",
|
|
527
|
+
null,
|
|
528
|
+
null
|
|
529
|
+
);
|
|
530
|
+
const A = N.exports;
|
|
531
|
+
const x = {
|
|
532
|
+
props: {
|
|
533
|
+
table: {
|
|
534
|
+
type: Object,
|
|
535
|
+
default: () => ({})
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
data() {
|
|
539
|
+
return {
|
|
540
|
+
type: "",
|
|
541
|
+
width: "800px",
|
|
542
|
+
confirmLoading: !1,
|
|
543
|
+
visible: !1,
|
|
544
|
+
fullscreen: !1,
|
|
545
|
+
selectedRowKeys: [],
|
|
546
|
+
selectedRows: [],
|
|
547
|
+
tableColumns: [
|
|
548
|
+
{
|
|
549
|
+
type: "selection-radio",
|
|
550
|
+
width: "60",
|
|
551
|
+
fixed: !0
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
transKey: "gd.btnConfig.functionName",
|
|
555
|
+
prop: "name",
|
|
556
|
+
label: "\u65B9\u6CD5\u540D",
|
|
557
|
+
width: "160",
|
|
558
|
+
align: "left",
|
|
559
|
+
showOverflowTooltip: !0
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
transKey: "gd.btnConfig.icon",
|
|
563
|
+
prop: "icon",
|
|
564
|
+
label: "\u56FE\u6807",
|
|
565
|
+
width: "80",
|
|
566
|
+
type: "slot",
|
|
567
|
+
slotType: "icon",
|
|
568
|
+
align: "center",
|
|
569
|
+
showOverflowTooltip: !0
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
transKey: "gd.btnConfig.explain",
|
|
573
|
+
prop: "title",
|
|
574
|
+
label: "\u8BF4\u660E",
|
|
575
|
+
type: "slot",
|
|
576
|
+
slotType: "explain",
|
|
577
|
+
align: "left",
|
|
578
|
+
showOverflowTooltip: !0
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
transKey: "gd.btn.handle",
|
|
582
|
+
prop: "action",
|
|
583
|
+
label: "\u64CD\u4F5C",
|
|
584
|
+
width: "110",
|
|
585
|
+
align: "center",
|
|
586
|
+
type: "slot",
|
|
587
|
+
slotType: "action",
|
|
588
|
+
showOverflowTooltip: !0
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
buttons: [
|
|
592
|
+
{
|
|
593
|
+
displayName: "\u786E\u5B9A",
|
|
594
|
+
functionName: "handleSubmit",
|
|
595
|
+
show: !0,
|
|
596
|
+
transKey: "gd.btn.confirm",
|
|
597
|
+
icon: "el-icon-document-checked"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
loadData: (s) => this.getLoadField(),
|
|
601
|
+
list: [
|
|
602
|
+
{
|
|
603
|
+
name: "save",
|
|
604
|
+
title: "\u4FDD\u5B58\u6570\u636E;\u6570\u636EID\u5B58\u5728\u8C03\u7528\u6570\u636E\u7F16\u8F91\u63D0\u4EA4\uFF0C\u4E0D\u5B58\u5728\u8C03\u7528\u6570\u636E\u65B0\u589E\u63D0\u4EA4",
|
|
605
|
+
type: ["form"],
|
|
606
|
+
transKey: "gd.btnConfig.btnSave",
|
|
607
|
+
icon: "el-icon-document-checked"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
name: "saveClose",
|
|
611
|
+
title: "\u4FDD\u5B58\u6570\u636E\u5E76\u5173\u95ED;\u6570\u636EID\u5B58\u5728\u8C03\u7528\u6570\u636E\u7F16\u8F91\u63D0\u4EA4\uFF0C\u4E0D\u5B58\u5728\u8C03\u7528\u6570\u636E\u65B0\u589E\u63D0\u4EA4",
|
|
612
|
+
type: ["form"],
|
|
613
|
+
transKey: "gd.btnConfig.btnSaveClose",
|
|
614
|
+
icon: "el-icon-document-checked"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
name: "saveAdd",
|
|
618
|
+
title: "\u4FDD\u5B58\u6570\u636E\u5E76\u91CD\u65B0\u65B0\u589E\u6570\u636E;",
|
|
619
|
+
type: ["form"],
|
|
620
|
+
transKey: "gd.btnConfig.saveAdd",
|
|
621
|
+
icon: "el-icon-document-checked"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
name: "add",
|
|
625
|
+
title: "\u6253\u5F00\u8868\u5355\u65B0\u589E\u6570\u636E",
|
|
626
|
+
type: ["view"],
|
|
627
|
+
transKey: "gd.btnConfig.btnAdd",
|
|
628
|
+
icon: "el-icon-plus"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
name: "edit",
|
|
632
|
+
title: "\u6253\u5F00\u8868\u5355\u7F16\u8F91\u6570\u636E",
|
|
633
|
+
type: ["view"],
|
|
634
|
+
transKey: "gd.btnConfig.btnEdit",
|
|
635
|
+
icon: "el-icon-edit"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
name: "del",
|
|
639
|
+
title: "\u5220\u9664\u9009\u4E2D\u6570\u636E",
|
|
640
|
+
type: ["view"],
|
|
641
|
+
transKey: "gd.btnConfig.btnDel",
|
|
642
|
+
icon: "el-icon-delete",
|
|
643
|
+
btnType: "danger"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: "importData",
|
|
647
|
+
title: "\u5BFC\u5165\u6570\u636E",
|
|
648
|
+
type: ["view"],
|
|
649
|
+
transKey: "gd.btnConfig.btnImportData",
|
|
650
|
+
icon: "gd-icon-daoru1"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
name: "exportData",
|
|
654
|
+
title: "\u5BFC\u51FA\u6570\u636E",
|
|
655
|
+
type: ["view"],
|
|
656
|
+
transKey: "gd.btnConfig.btnExportData",
|
|
657
|
+
icon: "gd-icon-daoru"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: "deactivateData",
|
|
661
|
+
title: "\u7981\u7528\u6570\u636E(\u6570\u636E\u72B6\u6001)",
|
|
662
|
+
type: ["view", "form"],
|
|
663
|
+
transKey: "gd.btnConfig.btnDeactivateData",
|
|
664
|
+
icon: "gd-icon-jinyong1",
|
|
665
|
+
btnType: "danger"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
name: "enableData",
|
|
669
|
+
title: "\u542F\u7528\u6570\u636E(\u6570\u636E\u72B6\u6001)",
|
|
670
|
+
type: ["view", "form"],
|
|
671
|
+
transKey: "gd.btnConfig.btnEnableData",
|
|
672
|
+
icon: "el-icon-video-play"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
name: "assign",
|
|
676
|
+
title: "\u5206\u6D3E",
|
|
677
|
+
type: ["view", "form"],
|
|
678
|
+
transKey: "gd.btnConfig.btnAssign",
|
|
679
|
+
icon: "gd-icon-map-site"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
name: "batchUpdate",
|
|
683
|
+
title: "\u7EDF\u4E00\u66F4\u65B0",
|
|
684
|
+
type: ["view"],
|
|
685
|
+
transKey: "gd.btnConfig.btnBatchUpdate",
|
|
686
|
+
icon: "el-icon-refresh"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
name: "teamSharing",
|
|
690
|
+
title: "\u56E2\u961F\u5171\u4EAB",
|
|
691
|
+
type: ["view"],
|
|
692
|
+
transKey: "gd.btnConfig.btnTeamSharing",
|
|
693
|
+
icon: "el-icon-share"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
name: "statusChange",
|
|
697
|
+
title: "\u72B6\u6001\u53D8\u66F4",
|
|
698
|
+
type: ["view"],
|
|
699
|
+
transKey: "gd.btnConfig.btnStatusChange",
|
|
700
|
+
icon: "el-icon-edit-outline",
|
|
701
|
+
tableName: ["sys_employees"]
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
};
|
|
705
|
+
},
|
|
706
|
+
computed: {
|
|
707
|
+
...d(["tablePageSize", "tableSize"])
|
|
708
|
+
},
|
|
709
|
+
methods: {
|
|
710
|
+
toggleFullscreen() {
|
|
711
|
+
this.fullscreen = !this.fullscreen;
|
|
712
|
+
},
|
|
713
|
+
save(s) {
|
|
714
|
+
this.$emit("ok", s), this.closed();
|
|
715
|
+
},
|
|
716
|
+
handleSubmit() {
|
|
717
|
+
const s = this.selectedRows[0];
|
|
718
|
+
if (s == null) {
|
|
719
|
+
this.closed();
|
|
720
|
+
return;
|
|
721
|
+
}
|
|
722
|
+
this.save(s);
|
|
723
|
+
},
|
|
724
|
+
getLoadField() {
|
|
725
|
+
return new Promise((s, e) => {
|
|
726
|
+
const t = this.list.filter((i) => {
|
|
727
|
+
const a = i.type.includes(this.type);
|
|
728
|
+
return i.tableName ? a && i.tableName.includes(this.table.tablename) : a;
|
|
729
|
+
});
|
|
730
|
+
s({ pageNo: 1, pageSize: 40, totalRows: 0, rows: t });
|
|
731
|
+
});
|
|
732
|
+
},
|
|
733
|
+
open(s) {
|
|
734
|
+
this.type = s, this.visible = !0, this.$nextTick(() => {
|
|
735
|
+
setTimeout(() => {
|
|
736
|
+
this.refresh();
|
|
737
|
+
}, 0);
|
|
738
|
+
});
|
|
739
|
+
},
|
|
740
|
+
closed() {
|
|
741
|
+
this.fullscreen = !1, this.visible = !1;
|
|
742
|
+
},
|
|
743
|
+
refresh() {
|
|
744
|
+
this.$refs.table.refresh();
|
|
745
|
+
},
|
|
746
|
+
onSelectChange(s, e) {
|
|
747
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
748
|
+
},
|
|
749
|
+
doEvent(s) {
|
|
750
|
+
let e = s.item.functionName;
|
|
751
|
+
this[e] && this[e]();
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
var S = function() {
|
|
756
|
+
var e = this, t = e._self._c;
|
|
757
|
+
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
758
|
+
e.visible = i;
|
|
759
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.executionFunction", "\u6267\u884C\u65B9\u6CD5"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent } })], 1), t("gd-tables", { ref: "table", attrs: { rowKey: "name", dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, showPagination: !1, initialLoading: !1, disabledRefresh: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "icon", fn: function({ column: i, row: a }) {
|
|
760
|
+
return [t("i", { staticClass: "gd-icons active-color", class: a.icon })];
|
|
761
|
+
} }, { key: "explain", fn: function({ column: i, row: a }) {
|
|
762
|
+
return [e._v(" " + e._s(e.$i18nt(a.transKey, a.title)) + " ")];
|
|
763
|
+
} }, { key: "action", fn: function({ column: i, row: a }) {
|
|
764
|
+
return [t("div", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: function(n) {
|
|
765
|
+
return e.save(a);
|
|
766
|
+
} } }, [e._v(e._s(e.$i18nt("gd.btn.confirm", "\u786E\u8BA4")))])];
|
|
767
|
+
} }]) })], 2);
|
|
768
|
+
}, K = [], T = /* @__PURE__ */ r(
|
|
769
|
+
x,
|
|
770
|
+
S,
|
|
771
|
+
K,
|
|
772
|
+
!1,
|
|
773
|
+
null,
|
|
774
|
+
"e813ad81",
|
|
775
|
+
null,
|
|
776
|
+
null
|
|
777
|
+
);
|
|
778
|
+
const P = T.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
779
|
+
__proto__: null,
|
|
780
|
+
default: P
|
|
781
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
782
|
+
const R = {
|
|
783
|
+
props: {
|
|
784
|
+
codeGenId: {
|
|
785
|
+
type: [String, Number],
|
|
786
|
+
default: ""
|
|
787
|
+
},
|
|
788
|
+
type: {
|
|
789
|
+
type: [String, Number],
|
|
790
|
+
default: "1"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
data() {
|
|
794
|
+
return {
|
|
795
|
+
title: "\u89C6\u56FE\u6309\u94AE\u8BBE\u7F6E",
|
|
796
|
+
fullscreen: !1,
|
|
797
|
+
visible: !1,
|
|
798
|
+
width: "900px",
|
|
799
|
+
confirmLoading: !1,
|
|
800
|
+
spinning: !1,
|
|
801
|
+
closeList: [],
|
|
802
|
+
loadData: [],
|
|
803
|
+
allBtn: [],
|
|
804
|
+
selectedKeys: [],
|
|
805
|
+
btnList: [],
|
|
806
|
+
checkAll: !1,
|
|
807
|
+
indeterminate: !0,
|
|
808
|
+
sysViewButtons: [
|
|
809
|
+
{
|
|
810
|
+
displayName: "\u786E\u5B9A",
|
|
811
|
+
functionName: "handleSubmit",
|
|
812
|
+
show: !0,
|
|
813
|
+
transKey: "gd.btn.confirm",
|
|
814
|
+
icon: "el-icon-document-checked"
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
activeIndex: "0",
|
|
818
|
+
selId: "0",
|
|
819
|
+
changeChecked: !1
|
|
820
|
+
};
|
|
821
|
+
},
|
|
822
|
+
computed: {
|
|
823
|
+
hstyle() {
|
|
824
|
+
const s = this.fullscreen ? 126 : 320;
|
|
825
|
+
return `height:${this.screenHeight - s}px`;
|
|
826
|
+
},
|
|
827
|
+
isIndeterminate() {
|
|
828
|
+
return this.closeList.length > 0 && this.closeList.length < this.allBtn.length;
|
|
829
|
+
},
|
|
830
|
+
...d(["screenHeight"])
|
|
831
|
+
},
|
|
832
|
+
methods: {
|
|
833
|
+
togglefullscreen() {
|
|
834
|
+
this.fullscreen = !this.fullscreen;
|
|
835
|
+
},
|
|
836
|
+
open(s) {
|
|
837
|
+
this.fullScreen = !1, this.loadData = [...s], this.title = this.type == 1 ? this.$i18nt("gd.btnConfig.viewBtnSettings", "\u89C6\u56FE\u6309\u94AE\u8BBE\u7F6E") : this.$i18nt("gd.btnConfig.formBtnSettings", "\u8868\u5355\u6309\u94AE\u8BBE\u7F6E"), this.visible = !0, this.spinning = !0, Promise.all([this.getBtnList()]).then((e) => {
|
|
838
|
+
this.loadData.forEach((t) => {
|
|
839
|
+
let i = this.getCloseBtn(t);
|
|
840
|
+
return t.close = [...i], t.initial = [...i], t;
|
|
841
|
+
}), this.closeList = this.loadData.length > 0 ? [...this.loadData[0].close] : [], this.checkedOptions = [...this.closeList], this.spinning = !1;
|
|
842
|
+
});
|
|
843
|
+
},
|
|
844
|
+
belonging(s) {
|
|
845
|
+
let e = "--", t = this.type == 1 ? s.sysviewid : s.sysformidbyset, i = this.loadData.filter((a) => a.id == t);
|
|
846
|
+
return i.length > 0 && (e = i.length > 0 ? this.type == 1 ? i[0].name : i[0].displayname : ""), e;
|
|
847
|
+
},
|
|
848
|
+
getBtnList() {
|
|
849
|
+
return p({
|
|
850
|
+
type: this.type,
|
|
851
|
+
SysCodeGenId: this.codeGenId
|
|
852
|
+
}).then((s) => {
|
|
853
|
+
let e = [];
|
|
854
|
+
return s.data.forEach((t, i) => {
|
|
855
|
+
s.data[i].belonging = this.belonging(t), e.push(t.id);
|
|
856
|
+
}), this.btnList = s.data.filter((t) => t.parentid == null), this.allBtn = [...e], s.data;
|
|
857
|
+
});
|
|
858
|
+
},
|
|
859
|
+
select(s, e) {
|
|
860
|
+
this.selId != s && (this.selId = s, this.selectedKeys = e, this.closeList = this.loadData[parseInt(s)].close);
|
|
861
|
+
},
|
|
862
|
+
onCheckAllChange(s) {
|
|
863
|
+
let e = this.closeList.length === 0 ? [...this.allBtn] : this.allBtn.length === this.closeList.length ? [] : [...this.allBtn];
|
|
864
|
+
this.closeList = [...e], this.loadData[parseInt(this.selId)].close = [...e];
|
|
865
|
+
},
|
|
866
|
+
handleCheckedCitiesChange(s) {
|
|
867
|
+
this.loadData[parseInt(this.selId)].close = [...s], this.closeList = [...s];
|
|
868
|
+
},
|
|
869
|
+
getCloseBtn(s) {
|
|
870
|
+
let e = [];
|
|
871
|
+
return this.btnList.forEach((t) => {
|
|
872
|
+
this.type == 1 && t.sysviewid == s.id && e.push(t.id), this.type == 2 && t.sysformidbyset == s.id && e.push(t.id);
|
|
873
|
+
}), e;
|
|
874
|
+
},
|
|
875
|
+
handleSubmit() {
|
|
876
|
+
this.confirmLoading = !0, this.spinning = !0;
|
|
877
|
+
let s = [];
|
|
878
|
+
this.loadData.forEach((e) => {
|
|
879
|
+
let t = this.btnFilter(e, 1), i = this.btnFilter(e, 0), a = t.concat(i);
|
|
880
|
+
if (a.length > 0) {
|
|
881
|
+
let n = {
|
|
882
|
+
type: this.type,
|
|
883
|
+
componentId: e.id,
|
|
884
|
+
btnS: a
|
|
885
|
+
};
|
|
886
|
+
s.push(n);
|
|
887
|
+
}
|
|
888
|
+
}), y(s).then((e) => {
|
|
889
|
+
e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + e.message), this.confirmLoading = !1, this.spinning = !1;
|
|
890
|
+
});
|
|
891
|
+
},
|
|
892
|
+
btnFilter(s, e) {
|
|
893
|
+
let t = [], i = [];
|
|
894
|
+
return e == 1 ? t = s.close.filter((a) => !s.initial.includes(a)) : t = s.initial.filter((a) => !s.close.includes(a)), t.forEach((a) => {
|
|
895
|
+
i.push({ type: e, btnId: a });
|
|
896
|
+
}), i;
|
|
897
|
+
},
|
|
898
|
+
handleCancel() {
|
|
899
|
+
this.visible = !1;
|
|
900
|
+
},
|
|
901
|
+
doEvent(s) {
|
|
902
|
+
let e = s.item.functionName;
|
|
903
|
+
this[e] && this[e]();
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
};
|
|
907
|
+
var I = function() {
|
|
908
|
+
var e = this, t = e._self._c;
|
|
909
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
910
|
+
e.visible = i;
|
|
911
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.btn.copy"), fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, closed: "handleCancel", toggleFullscreen: "togglefullscreen" }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.spinning, expression: "spinning" }] }, [t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("div", { staticClass: "list" }, [t("div", { staticClass: "l" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e.type == 1 ? e.$i18nt("gd.btnConfig.view") : e.$i18nt("gd.btnConfig.form")) + " ")]), t("div", { staticClass: "detail", style: e.hstyle }, [t("el-menu", { staticClass: "el-menu-vertical-demo", attrs: { "default-active": e.activeIndex }, on: { select: e.select } }, [e._l(e.loadData, function(i, a) {
|
|
912
|
+
return [t("el-menu-item", { attrs: { index: String(a) } }, [t("div", { staticClass: "line1" }, [e._v(e._s(e.type == 1 ? i.name : i.displayname))])])];
|
|
913
|
+
})], 2)], 1)]), t("div", { staticClass: "r" }, [t("div", { staticClass: "title more" }, [t("div", { staticClass: "btn" }, [t("el-checkbox", { attrs: { indeterminate: e.isIndeterminate }, on: { change: e.onCheckAllChange }, model: { value: e.changeChecked, callback: function(i) {
|
|
914
|
+
e.changeChecked = i;
|
|
915
|
+
}, expression: "changeChecked" } }, [e._v(" " + e._s(e.$i18nt("gd.btnConfig.btn")) + " ")])], 1), t("div", { staticClass: "suo" }, [e._v(" " + e._s(e.type == 1 ? e.$i18nt("gd.btnConfig.belongingView") : e.$i18nt("gd.btnConfig.belongingForm")) + " ")]), t("div", { staticClass: "explain" }, [e._v(e._s(e.$i18nt("gd.btnConfig.explain")))])]), t("div", { staticClass: "detail", style: e.hstyle }, e._l(e.btnList, function(i, a) {
|
|
916
|
+
return t("div", { key: a, staticClass: "more" }, [t("div", { staticClass: "btn" }, [t("el-checkbox-group", { on: { change: e.handleCheckedCitiesChange }, model: { value: e.closeList, callback: function(n) {
|
|
917
|
+
e.closeList = n;
|
|
918
|
+
}, expression: "closeList" } }, [t("el-checkbox", { attrs: { label: i.id } }, [t("div", [e._v(e._s(i.displayname))])])], 1)], 1), t("div", { staticClass: "suo line1" }, [e._v(e._s(i.belonging))]), t("div", { staticClass: "explain line1" }, [e._v(e._s(i.description))])]);
|
|
919
|
+
}), 0)])])])])], 1)], 1);
|
|
920
|
+
}, z = [], O = /* @__PURE__ */ r(
|
|
921
|
+
R,
|
|
922
|
+
I,
|
|
923
|
+
z,
|
|
924
|
+
!1,
|
|
925
|
+
null,
|
|
926
|
+
"efb5923b",
|
|
927
|
+
null,
|
|
928
|
+
null
|
|
929
|
+
);
|
|
930
|
+
const E = O.exports, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
931
|
+
__proto__: null,
|
|
932
|
+
default: E
|
|
933
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
934
|
+
export {
|
|
935
|
+
M as a,
|
|
936
|
+
A as b,
|
|
937
|
+
$ as e
|
|
938
|
+
};
|