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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./components.chartbi.3bbac955.js"),v=require("./utils.util.js.c0ba699b.js"),u=require("./utils.plug.js.f62510ce.js");require("./utils.echarts.js.461a74e7.js");const g={props:{record:{type:Object,default:()=>({})},sysViewButtons:{type:Array,default:()=>[]},sysViewList:{type:Array,default:()=>[]},personalViewList:{type:Array,default:()=>[]},viewCode:{type:[String,Number],required:!0},defaultViewId:{type:[String,Number],default:0},maxBtnLength:{type:Number,default:12},tableData:{type:Object,default:()=>({})},fieldData:{type:Array,default:()=>[]},selectedRowKeys:{type:Array,default:()=>[]},openMode:{type:[String,Number],default:1},confirmLoading:{type:Boolean,default:!1},showView:{type:Boolean,default:!0},showBtn:{type:Boolean,default:!0}},data(){return{viewCodeOld:""}},components:{EditPerson:()=>Promise.resolve().then(()=>require("./router.config.68077a12.js")).then(a=>a.editPerson)},computed:{getSysViewList(){const a=this.viewCodeOld===""?this.viewCode:this.viewCodeOld,e=this.sysViewList.filter(i=>i.id===a),t=this.sysViewList.filter(i=>!!(i.id!==a&&this.$hasPerm(i.permissions))),s=this.sysViewList.filter(i=>!!t.concat(e).filter(d=>d.id===i.id)[0]);return this.showPersonal?s:e},showPersonal(){return(this.record.options.viewWeights?this.record.options.viewWeights:"2")!=="1"},viewList(){return this.sysViewList.concat(this.personalViewList)},getTitle(){const a=this.sysViewList.concat(this.personalViewList).filter(e=>e.id===this.viewCode)[0];return a?this.$i18nt(`Dynamics.${a.transkey}`,a.name):"--"},fadeColord(){return this.fadeColor(this.primaryColor,.1)},...f.mapGetters(["primaryColor"])},methods:{configOk(){this.$emit("updatePersonalView")},handleMenuClick(a){!this.showPersonal&&this.viewCodeOld===""&&(this.viewCodeOld=this.viewCode),this.$refs.popover.doClose(),this.$emit("handleMenuClick",a)},fadeColor(a,e){let t=parseInt(a.substring(1,3),16),s=parseInt(a.substring(3,5),16),i=parseInt(a.substring(5,7),16);return`rgba(${t},${s},${i},${e})`},functionName(a){this.$emit("functionName",a)},personalView(){this.$store.dispatch("SeekTableId",this.tableData.id),this.$refs.popover.doClose(),this.$router.push({name:"advancedFind"})},copy(){let a=this.viewList.filter(s=>s.id==this.viewCode)[0],e=this.getViewFields(a);if(e.list.length==0){this.$message.warning(this.$i18nt("gd.https.needColumnTip","\u6700\u5C11\u9700\u8981\u4E00\u6761\u8BF7\u8865\u5145!"));return}let t={viewid:Number(this.viewCode),sysviewfilters:this.getFilterConfig(a),frozencolumn:a.frozencolumn,sysviewfields:[...e.list],viewlistdata:this.viewList.filter(s=>s.mode==1),type:2};a.mode==2&&Object.assign(t,{viewid:a.baseview,data:a}),this.$refs.editPerson.open(t)},setDefault(a){this.$refs.popover.doClose(),this.$emit("baseSetDefaultView",a)},getFilterConfig(a){const e=n=>(n=n.filter((r,o)=>{if(r.type=String(r.type),r.operators=String(r.operators),r.list.length>0)r.list=e(r.list);else{let c=this.getItemVal(r,2);r.values=typeof c=="object"?c.map(p=>Number(p)):[]}return r.fkdata&&typeof r.fkdata=="string"&&(r.fkdata=JSON.parse(r.fkdata)),r.ruleslist&&typeof r.ruleslist=="string"&&(r.ruleslist=JSON.parse(r.ruleslist)),r.recordid===void 0&&(r.columntype=="relevant"||r.columntype=="parental")&&(r.recordid=r.columnid+"@"+r.columntype),r.show===void 0&&(r.show=!0,r.checked=!1),!0}),n);let s={...a.filterconfig?JSON.parse(a.filterconfig):Object.assign({},u.plugFilters)},i=e(s.pid===null?s.list:[s]),l=s.pid===null?s:Object.assign({},u.plugFilters);return Object.assign({...l},{list:i,referencetable:this.tableData.tablename,tablename:this.tableData.tablename})},getItemVal(a,e=1){let t="";const s=String(a.operators);if(["fk","about"].includes(a.columntype)){let i=e==1&&a.values!==void 0?a.values.join(","):String(a.value).split(",");t=["3","4"].includes(s)?i:a.value}else if(a.columntype=="user"){let i=e==1&&a.values!==void 0?a.values.join(","):String(a.value).split(",");t=["3","4"].includes(s)?i:a.value}else if(a.columntype=="participants"){let i=e==1&&a.values!==void 0?a.values.join(","):String(a.value).split(",");t=["3","4"].includes(s)?i:a.value}else t=a.value;return t},getViewFields(a){let e=[];return this.fieldData.forEach(t=>{if(!this.isChecked(t.id,a.sysviewfields)){let s=a.sysviewfields.filter(i=>i.fieldid==t.id)[0];if(s&&s.type==1){let i={...t},l=this.$i18nt(`Dynamics.${t.transkey}`,t.columncomment),d=this.$i18nt(`Dynamics.${s.transkey}`,s.name);i.order=s.order,i.num=s.width,i.aliastranskey=s.transkey?s.transkey:null,i.alias=l===d?"":d,i.orderconfig=s.orderconfig==1,i.columnname=s.field?s.field.columnname:t.columnname,i.codegenid=s.field?s.field.codegenid:t.codegenid,i.gatherconfig=s.gatherconfig==1,i.maxtagcount=s.maxtagcount?s.maxtagcount:2,i.fkrelations=`${l} -- ${t.columnname}`,i.fkEffectType=t.effecttype,i.transkey=t.transkey,i.operate="edit",i.aliasold=d;let n=s.align?s.align.split("&"):[];i.align=n[0]?n[0]:"left",i.visible=n[1]?n[1]==1:!0,i.displaymode=n[2]?n[2]:"none",i.displayprefix=n[3]?n[3]:"none",i.preview=n[4]?n[4]==="true":!0,i.download=n[5]?n[5]==="true":!0,i.format=n[6]?n[6]:String(t.fieldformat),i.hyperlink=n[7]?n[7]==="true":!1,i.precision=n[8]!==void 0?n[8]:t.filedsize,e.push(i)}}t.children&&t.children.length>0&&t.children.forEach(s=>{if(!this.isChecked(s.id+"-"+t.id,a.sysviewfields)){let i=a.sysviewfields.filter(l=>(l.type==2?l.joinfieldid+"-"+l.fieldid:l.fieldid)==s.id+"-"+t.id)[0];if(i){let l={...s},d=this.$i18nt(`Dynamics.${t.transkey}`,t.columncomment),n=this.$i18nt(`Dynamics.${s.transkey}`,s.columncomment),r=this.$i18nt(`Dynamics.${i.transkey}`,i.name);l.order=i.order,l.num=i.width,l.aliastranskey=i.transkey?i.transkey:null,l.alias=n===r?"":r,l.id=l.id+"-"+t.id,l.orderconfig=i.orderconfig==1,l.gatherconfig=i.gatherconfig==1,l.fkrelations=`${d} -- ${t.columnname}`,l.fkEffectType=t.effecttype,l.maxtagcount=i.maxtagcount?i.maxtagcount:2,l.transkey=s.transkey,l.operate="edit",l.aliasold=r;let o=i.align?i.align.split("&"):[];l.align=o[0]?o[0]:"left",l.visible=o[1]?o[1]==1:!0,l.displaymode=o[2]?o[2]:"none",l.displayprefix=o[3]?o[3]:"none",l.preview=o[4]?o[4]==="true":!0,l.download=o[4]?o[4]==="true":!0,l.format=o[6]?o[6]:String(s.fieldformat),l.hyperlink=o[7]?o[7]==="true":!1,l.precision=o[8]!==void 0?o[8]:s.filedsize,e.push(l)}}})}),e=v.sort(e),{list:e}},isChecked(a,e){return e.every((t,s,i)=>(t.type==2?t.joinfieldid+"-"+t.fieldid:t.fieldid)!=a)}}};var y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"gd-view-selection"},[e.showView&&e.openMode==1?t("div",{staticClass:"selectionl"},[t("el-popover",{ref:"popover",attrs:{placement:"bottom-start",trigger:"click"}},[t("div",{staticClass:"selectionl-popover",style:{"--dilute":e.fadeColord}},[e.getSysViewList.length>0?[t("div",{staticClass:"selectionl-popover-name"},[t("div",{staticClass:"name-title"},[e._v(e._s(e.$i18nt("gd.view.sysView","\u7CFB\u7EDF\u89C6\u56FE")))])]),t("div",{staticClass:"popover-dashed"},[t("el-divider",{attrs:{dashed:""}})],1),e._l(e.getSysViewList,function(s){return[s.type===1?t("div",{staticClass:"selectionl-popover-item",on:{click:function(i){return e.handleMenuClick(s)}}},[e.defaultViewId===s.id?t("i",{staticClass:"el-icon-star-on active-color"}):e._e(),t("div",{staticClass:"name-title"},[e._v(e._s(e.$i18nt(`Dynamics.${s.transkey}`,s.name)))]),e.defaultViewId!==s.id?t("i",{staticClass:"el-icon-star-off active-color",on:{click:function(i){return i.stopPropagation(),e.setDefault(s)}}}):e._e(),e.viewCode===s.id?t("i",{staticClass:"gd-icons gd-icon-a-dingshuding-fill1"}):e._e()]):e._e()]}),t("div",{staticClass:"popover-solid"},[t("el-divider")],1)]:e._e(),t("div",{staticClass:"selectionl-popover-name"},[t("div",{staticClass:"name-title"},[e._v(e._s(e.$i18nt("gd.view.myView","\u6211\u7684\u89C6\u56FE")))]),t("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticStyle:{"margin-left":"6px"},attrs:{placement:"top","open-delay":50}},[t("template",{slot:"content"},[e._v(" "+e._s(e.$i18nt("gd.view.presentView","\u5F53\u524D\u89C6\u56FE\u53E6\u5B58\u4E3A\u4E2A\u4EBA\u89C6\u56FE"))+" ")]),t("i",{staticClass:"el-icon-edit-outline active-color",staticStyle:{"font-size":"22px",cursor:"pointer"},on:{click:e.copy}})],2),t("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticStyle:{"margin-left":"6px"},attrs:{placement:"top","open-delay":50}},[t("template",{slot:"content"},[e._v(" "+e._s(e.$i18nt("gd.view.createView","\u521B\u5EFA\u4E2A\u4EBA\u89C6\u56FE"))+" ")]),t("i",{staticClass:"el-icon-plus active-color",staticStyle:{"font-size":"22px",cursor:"pointer"},on:{click:e.personalView}})],2)],1),t("div",{staticClass:"popover-dashed"},[t("el-divider",{attrs:{dashed:""}})],1),e._l(e.personalViewList,function(s){return[t("div",{staticClass:"selectionl-popover-item",on:{click:function(i){return e.handleMenuClick(s)}}},[e.defaultViewId===s.id?t("i",{staticClass:"el-icon-star-on active-color"}):e._e(),t("div",{staticClass:"name-title"},[e._v(e._s(e.$i18nt(`Dynamics.${s.transkey}`,s.name)))]),e.defaultViewId!==s.id?t("i",{staticClass:"el-icon-star-off active-color",on:{click:function(i){return i.stopPropagation(),e.setDefault(s)}}}):e._e(),e.viewCode===s.id?t("i",{staticClass:"gd-icons gd-icon-a-dingshuding-fill1"}):e._e()])]})],2),t("el-button",{attrs:{slot:"reference",type:"primary"},slot:"reference"},[t("div",{staticClass:"selectionl-popover-view"},[t("div",{staticClass:"selectionl-popover-name line1"},[e._v(e._s(e.getTitle))]),t("i",{staticClass:"el-icon-arrow-down"})])])],1)],1):t("div",{staticClass:"selectionl"},[e.openMode==2?t("div",{staticClass:"operatorsel"},[e._v(" "+e._s(e.$i18nt("gd.basics.selected"))+" "),t("span",[e._v(e._s(e.selectedRowKeys.length))]),e._v(" "+e._s(e.$i18nt("gd.basics.data"))+" ")]):e._e()]),t("div",{staticClass:"selectionq"},[e._t("quickQueries")],2),t("div",{staticClass:"selectionr"},[e.showBtn?t("gd-btn-list",{attrs:{sysViewButtons:e.sysViewButtons,max:e.maxBtnLength},on:{functionName:e.functionName}}):e._e(),e.confirmLoading?t("div",{staticClass:"gd-dialog-meng"}):e._e()],1),t("EditPerson",{ref:"editPerson",attrs:{table:e.tableData},on:{ok:e.configOk}})],1)},h=[],w=f.normalizeComponent(g,y,h,!1,null,"c2b7fcc9",null,null);const m=w.exports;exports.default=m;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import n from "vue";
|
|
2
|
-
import { a as l, n as d } from "./chartbi.
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
2
|
+
import { a as l, n as d } from "./components.chartbi.571c5ff5.mjs";
|
|
3
|
+
import { c as u } from "./http.loginmanage.05500c29.mjs";
|
|
4
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
5
|
+
import "./utils.util.js.333daba2.mjs";
|
|
5
6
|
const m = {
|
|
6
7
|
name: "GdAuthorizeLogin",
|
|
7
8
|
data() {
|
|
@@ -70,9 +71,9 @@ const m = {
|
|
|
70
71
|
if (e === "") {
|
|
71
72
|
let o = t.configtheme ? t.configtheme.replace(/\\/g, "/").split(",") : null, a = "/";
|
|
72
73
|
if (o) {
|
|
73
|
-
let
|
|
74
|
-
String(
|
|
75
|
-
a +=
|
|
74
|
+
let c = o[o.length - 1];
|
|
75
|
+
String(c).split("").forEach((r, h) => {
|
|
76
|
+
a += h == 0 && r === "/" ? "" : r;
|
|
76
77
|
});
|
|
77
78
|
}
|
|
78
79
|
this.$router.push({
|
|
@@ -117,7 +118,7 @@ var g = function() {
|
|
|
117
118
|
null,
|
|
118
119
|
null
|
|
119
120
|
);
|
|
120
|
-
const
|
|
121
|
+
const C = f.exports;
|
|
121
122
|
export {
|
|
122
|
-
|
|
123
|
+
C as default
|
|
123
124
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./http.filedocument.6fdfc693.js"),l=require("./index.d95c407c.js"),o=require("./components.chartbi.3bbac955.js");require("./router.config.68077a12.js");require("./layouts.2d06f3e9.js");require("vue");require("./components.sidenavmenu.b1330d69.js");require("./http.loginmanage.326984c3.js");require("./http.filemanage.7e6e3e1a.js");require("./utils.util.js.c0ba699b.js");require("./http.main.2f8a6936.js");require("./http.noticemanage.2507d094.js");require("./components.globalheader.2eb787a4.js");require("./components.multitab.80eeb3ae.js");require("./components.sidemenu.240dfde7.js");require("./system.account.5cc9fe8d.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./components.settingdrawer.8c12650b.js");require("./http.appmanage.b998818f.js");require("./http.menumanage.6d740f2c.js");require("./system.welcome.ff0c85e2.js");require("./flow.designer.ffd0aa8b.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./http.codegeneratemanage.e3db2f09.js");require("./http.useraffiliation.af2013ad.js");require("./components.xlsximport.8c209857.js");require("./components.table.1e338902.js");require("./utils.datepicker.js.0a5a699e.js");require("./components.form.5533a8c3.js");require("./http.tabledevelopment.a880bb76.js");require("./http.promptmanagement.d115c4b0.js");require("./utils.plug.js.f62510ce.js");require("./components.coloreditor.f81d322a.js");require("./page.designer.page.09402332.js");require("./page.designer.componentstree.0ffc933d.js");require("./mobile.designer.componentstree.03f61105.js");require("./page.designer.fieldfiltering.7e913256.js");require("./components.iconselector.f5a58033.js");require("./utils.echarts.js.461a74e7.js");require("./table.definition..echartsconfig.d2b65881.js");require("./utils.mixins.js.750ca50e.js");require("./personal.echarts.b7ee86f4.js");require("./components.teamsharing.89e668fd.js");require("./store.config.556bd56b.js");require("./form.build.724d3357.js");require("./components.viewformdetails.940addba.js");require("./system.notice.db26f308.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.4d1101dd.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.8e21a6e7.js");require("./components.tableumy.1d804d70.js");require("./components.tooltip.0ea7e2b1.js");require("./components.selecttree.2fe70d88.js");require("./components.imgpreview.d97cf25c.js");require("./components.modaltitle.957cab33.js");require("./components.dataassign.565d22c0.js");require("./components.middleware.43b9b264.js");require("./components.echarts.fe84f881.js");require("./components.viewloading.1e9f4b3c.js");require("./components.exception.374f2ad9.js");require("./components.uploadfile.8e0e702c.js");require("./components.uploadimg.bc160e00.js");require("./components.lunccalendar.18f84642.js");require("./components.watermark.d9ec8130.js");require("./system.org.9f87a010.js");require("./system.pos.61e58a92.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.6b000092.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.134a3988.js");require("./system.role.e86b60f1.js");require("./system.log.470d3efd.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.f8aff893.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.985621a6.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.a0b94e40.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.84b88b9a.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./system.webresource.e92e8a8f.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.2ef2881c.js");require("./system.file.b9f8320c.js");require("./system.timers.9e956553.js");require("./http.timersmanage.6e894942.js");require("./http.solution.c6b2634f.js");require("./http.translationmanage.1f9dce46.js");require("./page.designer.operation.6179b661.js");require("./page.build.37b26617.js");require("./form.designer.build.dac501fa.js");require("./http.duplicatechecking.ee5c414c.js");require("./view.build.e43a2077.js");require("./table.definition..btnconfig.ce57ed41.js");require("./flow.list.4c05f2f0.js");require("./solution.dict.acbe9c55.js");require("./solution.processflow.2692dac6.js");require("./solution.workflow.11e49e25.js");require("./solution.approvalflow.436b3502.js");require("./solution.webresources.6961cc68.js");require("./solution.plugin.f9a8063f.js");require("./http.pluginmanage.6a876040.js");require("./system.plugin.0bccfec4.js");require("./solution.role.b28c4dbe.js");require("./solution.application.d459e382.js");require("./solution.applicationmenu.ae295083.js");require("./solution.menu.cca5e1f9.js");require("./page.designer.menutree.c49d9ee6.js");require("./system.translation.26b6bb39.js");require("./system.duplicatechecking.f4cab147.js");require("./system.promptmanagement.e750de82.js");require("./system.useraffiliation.c2421c7e.js");require("./system.email.11ab6f31.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.15e6b8b7.js");require("./system.datasource.6c30ce25.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.810f7b55.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.58ee701b.js");require("./http.team.e45400d5.js");require("./system.teammembers.1880f962.js");require("./system.document.f8fd7af0.js");require("./mobile.designer.menutree.97bb4046.js");require("./messages.messagetemplate.32273e00.js");require("./http.message.87f319d7.js");require("./messages.fieldconfiguration.ad4d11cf.js");require("./messages.sendplan.fbac188d.js");require("./messages.sendrecord.ef80d44a.js");require("./messages.templatelibrary.ec512390.js");require("./translation.mains.a6f19343.js");const c={props:{treeData:{type:Array,default:()=>[]},multipleLimit:{type:Number,default:12}},components:{AddPermission:()=>Promise.resolve().then(()=>require("./addPermission.c72ebbe0.js"))},data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.directory.name",prop:"name",label:"\u540D\u79F0",align:"left",width:"210",fixed:!0,type:"slot",slotType:"name"},{transKey:"gd.application.inherit",prop:"inherit",label:"\u7EE7\u627F",width:"120",align:"center",type:"slot",slotType:"inherit"},{transKey:"gd.fileDocument.allow",prop:"allow",label:"\u5141\u8BB8",align:"left",width:"420",type:"slot",slotType:"allow"},{transKey:"gd.fileDocument.refuse",prop:"refuse",label:"\u62D2\u7EDD",align:"left",width:"420",type:"slot",slotType:"refuse"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger"}],record:null,isInherit:1,width:"90%",confirmLoading:!1,visible:!1,fullscreen:!1,selectedRowKeys:[],selectedRows:[],allIds:[],disabledRowId:[],loadData:s=>a.sysDocPermissionPage({docId:this.record.id}).then(e=>{if(e.code===200){let t=[],r=[];const i=e.data.map(n=>(t.push(n.principalid_aboutid),n.isinherit&&r.push(n.id),Object.assign(n,this.getAllowRefuse(n))));return this.allIds=t,this.disabledRowId=r,{pageno:1,totalrows:e.data.length,rows:i}}})}},computed:{hig(){return this.screenHeight-(this.fullscreen?80:264)},title(){const s=this.$i18nt("gd.btn.administrativePermissions","\u7BA1\u7406\u6743\u9650");if(!this.record)return s;this.treeData.filter(r=>r.id===this.record.id)[0];let e="";return(this.record.path?this.record.path.split("."):[]).forEach(r=>{const i=this.treeData.filter(n=>n.id===Number(r))[0];e+=i===void 0?"":`/${i.name}`}),this.record.type!==1&&(e+=`/${this.record.name}`),`${s} (${e})`},...o.mapGetters(["screenHeight","primaryColor"])},methods:{saveConvertPermission({data:s,action:e,instance:t,done:r}){t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!0;const i={docId:this.record.id,inheritPermissions:s,isConvert:e==="confirm"?1:0};a.convertInheritPermissions(i).then(n=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,this.confirmLoading=!1,n.code===200?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.refresh(),r()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+n.message)})},inheritPermission(s){let e=this;this.confirmLoading=!0,this.$confirm(this.$i18nt("gd.fileDocument.inheritParentPermissionsTip","\u662F\u5426\u4ECE\u7236\u9879\u7EE7\u627F\u6743\u9650?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.btn.confirm","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,r,i)=>{if(t!=="confirm"){i(),e.confirmLoading=!1,e.isInherit=0;return}this.saveConvertPermission({data:s,action:t,instance:r,done:i})}})},convertPermission(s){this.$confirm(this.$i18nt("gd.fileDocument.closeParentPermissionsTip","\u662F\u5426\u5173\u95ED\u4ECE\u7236\u9879\u7EE7\u627F\u6743\u9650?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.fileDocument.convertInheritedTip","\u8F6C\u6362\u5DF2\u7EE7\u627F\u7684\u6743\u9650"),cancelButtonText:this.$i18nt("gd.fileDocument.deleteInherited","\u5220\u9664\u5DF2\u7EE7\u627F\u7684\u6743\u9650"),confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",distinguishCancelAndClose:!0,callback:()=>{},beforeClose:(e,t,r)=>{if(e==="close"){this.isInherit=1,r();return}this.saveConvertPermission({data:s,action:e,instance:t,done:r}),t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1}})},changeInherit(s){s===1?this.inheritPermission(s):this.convertPermission(s)},editForm(s){this.$refs.addPermission.open(s)},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},del(){let s=this;this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,t,r)=>{if(e!=="confirm"){r();return}t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1,a.sysDocPermissionDel({ids:this.selectedRowKeys.join(",")}).then(i=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,i.success?(s.$message.success(s.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),s.refresh(),r()):s.$message.error(s.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+i.message)})}})},getAllowRefuse(s){let e=[],t=[];return l.permissionList.forEach(r=>{const i=s[r.code];i!==""&&i!==null&&i!==0&&(i===2&&t.push(r),i===1&&e.push(r))}),{allow:e,refuse:t}},getDetail(){a.sysDocObjectsGetById({id:this.record.id}).then(s=>{s.code===200&&(this.record=s.data,this.isInherit=s.data.inheritpermissions)})},add(){this.$refs.addPermission.open(null)},refresh(){this.getDetail(),this.$refs.table&&this.$refs.table.refresh()},triggerRefresh(s){this.selectedRowKeys=[],this.selectedRows=[]},open(s){this.isInherit=s.inheritpermissions,this.record=s,this.visible=!0,this.getDetail(),this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)})},closed(){this.ruleForm={},this.fullscreen=!1,this.visible=!1},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e},getDictionary(s){return this.$options.filters.dictData(s)},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){let e=s.item.functionName;this[e]&&this[e]()}}};var u=function(){var e=this,t=e._self._c;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(r){e.visible=r},closed:e.closed}},[t("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.tableButtons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticClass:"document-manage",staticStyle:{"margin-top":"-6px"}},[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,columns:e.tableColumns,initialLoading:!1,showPagination:!1,selectedRowKeys:e.selectedRowKeys,height:e.hig,disabledRowId:e.disabledRowId},on:{onChange:e.onSelectChange,triggerRefresh:e.triggerRefresh},scopedSlots:e._u([{key:"operator",fn:function(){return[t("div",{staticClass:"operator"},[t("el-switch",{attrs:{"active-color":e.primaryColor,"active-value":1,"inactive-value":0},on:{change:e.changeInherit},model:{value:e.isInherit,callback:function(r){e.isInherit=r},expression:"isInherit"}}),t("span",{class:e.isInherit===1?"active-color":""},[e._v(" "+e._s(e.$i18nt("gd.fileDocument.inheritParentPermissions","\u4ECE\u7236\u6587\u4EF6\u5939\u7EE7\u627F\u6743\u9650"))+" ")])],1)]},proxy:!0},{key:"name",fn:function({column:r,row:i}){return[t("div",{on:{click:function(n){return e.editForm(i)}}},[t("span",{staticClass:"active-color",staticStyle:{cursor:"pointer","padding-right":"4px"}},[e._v(e._s(i.principalname))]),i.principalid_abouttable==="sys_user"?t("span",[e._v("("+e._s(e.$i18nt("gd.fieldSecurity.user","\u7528\u6237"))+")")]):i.principalid_abouttable==="sys_team"?t("span",[e._v("("+e._s(e.$i18nt("gd.fieldSecurity.team","\u56E2\u961F"))+")")]):e._e()])]}},{key:"allow",fn:function({column:r,row:i}){return[t("div",{staticClass:"allow-item"},e._l(i.allow,function(n){return t("el-tag",{key:n.code,attrs:{type:"success",effect:"dark",size:"mini"}},[e._v(" "+e._s(e.$i18nt(n.transkey,n.name))+" ")])}),1)]}},{key:"refuse",fn:function({column:r,row:i}){return[t("div",{staticClass:"allow-item"},e._l(i.refuse,function(n){return t("el-tag",{key:n.code,attrs:{type:"danger",effect:"dark",size:"mini"}},[e._v(" "+e._s(e.$i18nt(n.transkey,n.name))+" ")])}),1)]}},{key:"inherit",fn:function({column:r,row:i}){return[i.isinherit?t("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):t("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"18px",color:"#999"}})]}},{key:"handle",fn:function({column:r,row:i}){return[t("span",{staticClass:"active-color",staticStyle:{cursor:"pointer"}},[e._v(e._s(e.$i18nt("gd.btn.edit","\u7F16\u8F91")))]),t("el-divider",{attrs:{direction:"vertical"}}),t("span",{staticStyle:{color:"red",cursor:"pointer"}},[e._v(e._s(e.$i18nt("gd.btn.del","\u5220\u9664")))])]}}])})],1)],1),t("AddPermission",{ref:"addPermission",attrs:{recordData:e.record,allIds:e.allIds,multipleLimit:e.multipleLimit},on:{ok:e.refresh}})],1)},d=[],m=o.normalizeComponent(c,u,d,!1,null,"19358cd5",null,null);const f=m.exports;exports.default=f;
|
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
import { y as n, z as l, A as a, w as m } from "./http.filedocument.8fa3fe2d.mjs";
|
|
2
|
+
import { p as d } from "./index.9deaa991.mjs";
|
|
3
|
+
import { m as c, n as p } from "./components.chartbi.571c5ff5.mjs";
|
|
4
|
+
import "./router.config.86225b11.mjs";
|
|
5
|
+
import "./layouts.3b383d04.mjs";
|
|
6
|
+
import "vue";
|
|
7
|
+
import "./components.sidenavmenu.fa81ff82.mjs";
|
|
8
|
+
import "./http.loginmanage.05500c29.mjs";
|
|
9
|
+
import "./http.filemanage.c0de21d6.mjs";
|
|
10
|
+
import "./utils.util.js.333daba2.mjs";
|
|
11
|
+
import "./http.main.aefea27d.mjs";
|
|
12
|
+
import "./http.noticemanage.2cdb23b8.mjs";
|
|
13
|
+
import "./components.globalheader.b3b35343.mjs";
|
|
14
|
+
import "./components.multitab.5eb6edff.mjs";
|
|
15
|
+
import "./components.sidemenu.0673fe0a.mjs";
|
|
16
|
+
import "./system.account.1cadbf03.mjs";
|
|
17
|
+
import "./http.usermanage.f5491144.mjs";
|
|
18
|
+
import "./http.languagemanage.2ef16159.mjs";
|
|
19
|
+
import "./http.currencymanage.c25bd2e6.mjs";
|
|
20
|
+
import "./http.timezonemanage.b9deffe3.mjs";
|
|
21
|
+
import "./components.settingdrawer.29dbc31e.mjs";
|
|
22
|
+
import "./http.appmanage.e389782d.mjs";
|
|
23
|
+
import "./http.menumanage.3060f4c7.mjs";
|
|
24
|
+
import "./system.welcome.127b5dd4.mjs";
|
|
25
|
+
import "./flow.designer.81c29f62.mjs";
|
|
26
|
+
import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
27
|
+
import "./http.codegeneratemanage.b123bab3.mjs";
|
|
28
|
+
import "./http.useraffiliation.f2a29f92.mjs";
|
|
29
|
+
import "./components.xlsximport.81df7841.mjs";
|
|
30
|
+
import "./components.table.9ed77207.mjs";
|
|
31
|
+
import "./utils.datepicker.js.5549a741.mjs";
|
|
32
|
+
import "./components.form.db8af727.mjs";
|
|
33
|
+
import "./http.tabledevelopment.3dcb3e97.mjs";
|
|
34
|
+
import "./http.promptmanagement.dad4c6a7.mjs";
|
|
35
|
+
import "./utils.plug.js.9313aead.mjs";
|
|
36
|
+
import "./components.coloreditor.06cf0433.mjs";
|
|
37
|
+
import "./page.designer.page.6d8232c7.mjs";
|
|
38
|
+
import "./page.designer.componentstree.b0ecddd8.mjs";
|
|
39
|
+
import "./mobile.designer.componentstree.4a1442dc.mjs";
|
|
40
|
+
import "./page.designer.fieldfiltering.1ecd65a3.mjs";
|
|
41
|
+
import "./components.iconselector.8940b1a9.mjs";
|
|
42
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
43
|
+
import "./table.definition..echartsconfig.625bce88.mjs";
|
|
44
|
+
import "./utils.mixins.js.be01e599.mjs";
|
|
45
|
+
import "./personal.echarts.414b7e3d.mjs";
|
|
46
|
+
import "./components.teamsharing.3a17ddc0.mjs";
|
|
47
|
+
import "./store.config.03dd7b19.mjs";
|
|
48
|
+
import "./form.build.d04773f0.mjs";
|
|
49
|
+
import "./components.viewformdetails.d241c652.mjs";
|
|
50
|
+
import "./system.notice.bef6c23c.mjs";
|
|
51
|
+
import "./http.orgmanage.0b1df8d5.mjs";
|
|
52
|
+
import "./http.rolemanage.da5c40e9.mjs";
|
|
53
|
+
import "./http.sysapps.932ba43b.mjs";
|
|
54
|
+
import "./components.tablevirtual.66890b2c.mjs";
|
|
55
|
+
import "./components.tableumy.3e1c9a5b.mjs";
|
|
56
|
+
import "./components.tooltip.376d95fe.mjs";
|
|
57
|
+
import "./components.selecttree.756c4d22.mjs";
|
|
58
|
+
import "./components.imgpreview.f05b3e06.mjs";
|
|
59
|
+
import "./components.modaltitle.5060623f.mjs";
|
|
60
|
+
import "./components.dataassign.21d3938b.mjs";
|
|
61
|
+
import "./components.middleware.de012955.mjs";
|
|
62
|
+
import "./components.echarts.490abdfa.mjs";
|
|
63
|
+
import "./components.viewloading.aae3aab4.mjs";
|
|
64
|
+
import "./components.exception.ee1c4f83.mjs";
|
|
65
|
+
import "./components.uploadfile.0a5a1608.mjs";
|
|
66
|
+
import "./components.uploadimg.decb0360.mjs";
|
|
67
|
+
import "./components.lunccalendar.2a097955.mjs";
|
|
68
|
+
import "./components.watermark.2ec3260c.mjs";
|
|
69
|
+
import "./system.org.92f4d7f1.mjs";
|
|
70
|
+
import "./system.pos.fe067063.mjs";
|
|
71
|
+
import "./http.posmanage.ee6a7613.mjs";
|
|
72
|
+
import "./system.dict.0c229d1c.mjs";
|
|
73
|
+
import "./http.dictmanage.d8fe18dc.mjs";
|
|
74
|
+
import "./http.dictdatamanage.2583b5ae.mjs";
|
|
75
|
+
import "./system.user.9a02295e.mjs";
|
|
76
|
+
import "./system.role.67f62146.mjs";
|
|
77
|
+
import "./system.log.815840d8.mjs";
|
|
78
|
+
import "./http.logmanage.8ba72635.mjs";
|
|
79
|
+
import "./system.machine.1665954f.mjs";
|
|
80
|
+
import "./http.machinemanage.7bbe6c16.mjs";
|
|
81
|
+
import "./system.onlineuser.bccb1cd9.mjs";
|
|
82
|
+
import "./http.onlineusermanage.c8d84337.mjs";
|
|
83
|
+
import "./system.config.a9a1ee96.mjs";
|
|
84
|
+
import "./http.configmanage.c23c7fa8.mjs";
|
|
85
|
+
import "./system.noticereceived.0d293a87.mjs";
|
|
86
|
+
import "./http.noticereceivedmanage.50797be1.mjs";
|
|
87
|
+
import "./system.webresource.016d0000.mjs";
|
|
88
|
+
import "./http.webresource.1a1a768f.mjs";
|
|
89
|
+
import "./system.fieldsecurity.d35acd97.mjs";
|
|
90
|
+
import "./system.file.30d3e7bc.mjs";
|
|
91
|
+
import "./system.timers.4b2d509f.mjs";
|
|
92
|
+
import "./http.timersmanage.c79afb66.mjs";
|
|
93
|
+
import "./http.solution.b10d9197.mjs";
|
|
94
|
+
import "./http.translationmanage.f8694b51.mjs";
|
|
95
|
+
import "./page.designer.operation.80b1a5d1.mjs";
|
|
96
|
+
import "./page.build.376104d5.mjs";
|
|
97
|
+
import "./form.designer.build.c82cb559.mjs";
|
|
98
|
+
import "./http.duplicatechecking.9b79ce21.mjs";
|
|
99
|
+
import "./view.build.85732408.mjs";
|
|
100
|
+
import "./table.definition..btnconfig.9847cac5.mjs";
|
|
101
|
+
import "./flow.list.ab420927.mjs";
|
|
102
|
+
import "./solution.dict.ef98b194.mjs";
|
|
103
|
+
import "./solution.processflow.c1544b05.mjs";
|
|
104
|
+
import "./solution.workflow.c48545d1.mjs";
|
|
105
|
+
import "./solution.approvalflow.bef7fbdd.mjs";
|
|
106
|
+
import "./solution.webresources.0b51beba.mjs";
|
|
107
|
+
import "./solution.plugin.90f8dcc1.mjs";
|
|
108
|
+
import "./http.pluginmanage.54720675.mjs";
|
|
109
|
+
import "./system.plugin.af27d7ac.mjs";
|
|
110
|
+
import "./solution.role.b1ab40dd.mjs";
|
|
111
|
+
import "./solution.application.e0d58df1.mjs";
|
|
112
|
+
import "./solution.applicationmenu.71ef6b8e.mjs";
|
|
113
|
+
import "./solution.menu.5c17348f.mjs";
|
|
114
|
+
import "./page.designer.menutree.2c1846bc.mjs";
|
|
115
|
+
import "./system.translation.60ec676c.mjs";
|
|
116
|
+
import "./system.duplicatechecking.94c7ce17.mjs";
|
|
117
|
+
import "./system.promptmanagement.0b9083c5.mjs";
|
|
118
|
+
import "./system.useraffiliation.96695aeb.mjs";
|
|
119
|
+
import "./system.email.13823361.mjs";
|
|
120
|
+
import "./http.emailmanage.64fd611f.mjs";
|
|
121
|
+
import "./system.permissions.be9238ee.mjs";
|
|
122
|
+
import "./system.datasource.c103a9c2.mjs";
|
|
123
|
+
import "./http.datasource.aa5cd0d1.mjs";
|
|
124
|
+
import "./system.sumberrules.093d998e.mjs";
|
|
125
|
+
import "./http.sumberrules.176d3d06.mjs";
|
|
126
|
+
import "./system.team.8911fd95.mjs";
|
|
127
|
+
import "./http.team.a9c609d5.mjs";
|
|
128
|
+
import "./system.teammembers.35564a00.mjs";
|
|
129
|
+
import "./system.document.f67c2994.mjs";
|
|
130
|
+
import "./mobile.designer.menutree.0a2f7911.mjs";
|
|
131
|
+
import "./messages.messagetemplate.7adbbc58.mjs";
|
|
132
|
+
import "./http.message.ceb0a1c6.mjs";
|
|
133
|
+
import "./messages.fieldconfiguration.0d98a290.mjs";
|
|
134
|
+
import "./messages.sendplan.7d0097c2.mjs";
|
|
135
|
+
import "./messages.sendrecord.f0d2fd54.mjs";
|
|
136
|
+
import "./messages.templatelibrary.ff151513.mjs";
|
|
137
|
+
import "./translation.mains.2688be5b.mjs";
|
|
138
|
+
const u = {
|
|
139
|
+
props: {
|
|
140
|
+
treeData: {
|
|
141
|
+
type: Array,
|
|
142
|
+
default: () => []
|
|
143
|
+
},
|
|
144
|
+
multipleLimit: {
|
|
145
|
+
type: Number,
|
|
146
|
+
default: 12
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
components: { AddPermission: () => import("./addPermission.179a09f4.mjs") },
|
|
150
|
+
data() {
|
|
151
|
+
return {
|
|
152
|
+
tableColumns: [
|
|
153
|
+
{
|
|
154
|
+
type: "selection",
|
|
155
|
+
width: "60",
|
|
156
|
+
fixed: !0
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
transKey: "gd.directory.name",
|
|
160
|
+
prop: "name",
|
|
161
|
+
label: "\u540D\u79F0",
|
|
162
|
+
align: "left",
|
|
163
|
+
width: "210",
|
|
164
|
+
fixed: !0,
|
|
165
|
+
type: "slot",
|
|
166
|
+
slotType: "name"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
transKey: "gd.application.inherit",
|
|
170
|
+
prop: "inherit",
|
|
171
|
+
label: "\u7EE7\u627F",
|
|
172
|
+
width: "120",
|
|
173
|
+
align: "center",
|
|
174
|
+
type: "slot",
|
|
175
|
+
slotType: "inherit"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
transKey: "gd.fileDocument.allow",
|
|
179
|
+
prop: "allow",
|
|
180
|
+
label: "\u5141\u8BB8",
|
|
181
|
+
align: "left",
|
|
182
|
+
width: "420",
|
|
183
|
+
type: "slot",
|
|
184
|
+
slotType: "allow"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
transKey: "gd.fileDocument.refuse",
|
|
188
|
+
prop: "refuse",
|
|
189
|
+
label: "\u62D2\u7EDD",
|
|
190
|
+
align: "left",
|
|
191
|
+
width: "420",
|
|
192
|
+
type: "slot",
|
|
193
|
+
slotType: "refuse"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
tableButtons: [
|
|
197
|
+
{
|
|
198
|
+
displayName: "\u65B0\u589E",
|
|
199
|
+
functionName: "add",
|
|
200
|
+
show: !0,
|
|
201
|
+
transKey: "gd.btn.add",
|
|
202
|
+
icon: "el-icon-plus"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
displayName: "\u7F16\u8F91",
|
|
206
|
+
functionName: "edit",
|
|
207
|
+
show: !0,
|
|
208
|
+
transKey: "gd.btn.edit",
|
|
209
|
+
icon: "el-icon-edit"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
displayName: "\u5220\u9664",
|
|
213
|
+
functionName: "del",
|
|
214
|
+
show: !0,
|
|
215
|
+
transKey: "gd.btn.del",
|
|
216
|
+
icon: "el-icon-delete",
|
|
217
|
+
btnType: "danger"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
record: null,
|
|
221
|
+
isInherit: 1,
|
|
222
|
+
width: "90%",
|
|
223
|
+
confirmLoading: !1,
|
|
224
|
+
visible: !1,
|
|
225
|
+
fullscreen: !1,
|
|
226
|
+
selectedRowKeys: [],
|
|
227
|
+
selectedRows: [],
|
|
228
|
+
allIds: [],
|
|
229
|
+
disabledRowId: [],
|
|
230
|
+
loadData: (i) => n({ docId: this.record.id }).then((t) => {
|
|
231
|
+
if (t.code === 200) {
|
|
232
|
+
let e = [], r = [];
|
|
233
|
+
const o = t.data.map((s) => (e.push(s.principalid_aboutid), s.isinherit && r.push(s.id), Object.assign(s, this.getAllowRefuse(s))));
|
|
234
|
+
return this.allIds = e, this.disabledRowId = r, { pageno: 1, totalrows: t.data.length, rows: o };
|
|
235
|
+
}
|
|
236
|
+
})
|
|
237
|
+
};
|
|
238
|
+
},
|
|
239
|
+
computed: {
|
|
240
|
+
hig() {
|
|
241
|
+
return this.screenHeight - (this.fullscreen ? 80 : 264);
|
|
242
|
+
},
|
|
243
|
+
title() {
|
|
244
|
+
const i = this.$i18nt("gd.btn.administrativePermissions", "\u7BA1\u7406\u6743\u9650");
|
|
245
|
+
if (!this.record)
|
|
246
|
+
return i;
|
|
247
|
+
this.treeData.filter((r) => r.id === this.record.id)[0];
|
|
248
|
+
let t = "";
|
|
249
|
+
return (this.record.path ? this.record.path.split(".") : []).forEach((r) => {
|
|
250
|
+
const o = this.treeData.filter((s) => s.id === Number(r))[0];
|
|
251
|
+
t += o === void 0 ? "" : `/${o.name}`;
|
|
252
|
+
}), this.record.type !== 1 && (t += `/${this.record.name}`), `${i} (${t})`;
|
|
253
|
+
},
|
|
254
|
+
...c(["screenHeight", "primaryColor"])
|
|
255
|
+
},
|
|
256
|
+
methods: {
|
|
257
|
+
saveConvertPermission({ data: i, action: t, instance: e, done: r }) {
|
|
258
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !0;
|
|
259
|
+
const o = {
|
|
260
|
+
docId: this.record.id,
|
|
261
|
+
inheritPermissions: i,
|
|
262
|
+
isConvert: t === "confirm" ? 1 : 0
|
|
263
|
+
};
|
|
264
|
+
l(o).then((s) => {
|
|
265
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, this.confirmLoading = !1, s.code === 200 ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.refresh(), r()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + s.message);
|
|
266
|
+
});
|
|
267
|
+
},
|
|
268
|
+
inheritPermission(i) {
|
|
269
|
+
let t = this;
|
|
270
|
+
this.confirmLoading = !0, this.$confirm(this.$i18nt("gd.fileDocument.inheritParentPermissionsTip", "\u662F\u5426\u4ECE\u7236\u9879\u7EE7\u627F\u6743\u9650?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
271
|
+
confirmButtonText: this.$i18nt("gd.btn.confirm", "\u786E\u8BA4"),
|
|
272
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
273
|
+
showClose: !1,
|
|
274
|
+
confirmButtonLoading: !1,
|
|
275
|
+
cancelButtonLoading: !1,
|
|
276
|
+
closeOnClickModal: !1,
|
|
277
|
+
type: "warning",
|
|
278
|
+
confirmButtonClass: "el-button--danger",
|
|
279
|
+
customClass: "custom-alert",
|
|
280
|
+
callback: () => {
|
|
281
|
+
},
|
|
282
|
+
beforeClose: (e, r, o) => {
|
|
283
|
+
if (e !== "confirm") {
|
|
284
|
+
o(), t.confirmLoading = !1, t.isInherit = 0;
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
this.saveConvertPermission({ data: i, action: e, instance: r, done: o });
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
},
|
|
291
|
+
convertPermission(i) {
|
|
292
|
+
this.$confirm(this.$i18nt("gd.fileDocument.closeParentPermissionsTip", "\u662F\u5426\u5173\u95ED\u4ECE\u7236\u9879\u7EE7\u627F\u6743\u9650?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
293
|
+
confirmButtonText: this.$i18nt("gd.fileDocument.convertInheritedTip", "\u8F6C\u6362\u5DF2\u7EE7\u627F\u7684\u6743\u9650"),
|
|
294
|
+
cancelButtonText: this.$i18nt("gd.fileDocument.deleteInherited", "\u5220\u9664\u5DF2\u7EE7\u627F\u7684\u6743\u9650"),
|
|
295
|
+
confirmButtonLoading: !1,
|
|
296
|
+
cancelButtonLoading: !1,
|
|
297
|
+
closeOnClickModal: !1,
|
|
298
|
+
type: "warning",
|
|
299
|
+
confirmButtonClass: "el-button--danger",
|
|
300
|
+
customClass: "custom-alert",
|
|
301
|
+
distinguishCancelAndClose: !0,
|
|
302
|
+
callback: () => {
|
|
303
|
+
},
|
|
304
|
+
beforeClose: (t, e, r) => {
|
|
305
|
+
if (t === "close") {
|
|
306
|
+
this.isInherit = 1, r();
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
this.saveConvertPermission({ data: i, action: t, instance: e, done: r }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
},
|
|
313
|
+
changeInherit(i) {
|
|
314
|
+
i === 1 ? this.inheritPermission(i) : this.convertPermission(i);
|
|
315
|
+
},
|
|
316
|
+
editForm(i) {
|
|
317
|
+
this.$refs.addPermission.open(i);
|
|
318
|
+
},
|
|
319
|
+
edit() {
|
|
320
|
+
if (this.selectedRowKeys.length === 0) {
|
|
321
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
if (this.selectedRowKeys.length > 1) {
|
|
325
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
this.editForm(this.selectedRows[0]);
|
|
329
|
+
},
|
|
330
|
+
del() {
|
|
331
|
+
let i = this;
|
|
332
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
333
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
334
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
335
|
+
showClose: !1,
|
|
336
|
+
confirmButtonLoading: !1,
|
|
337
|
+
cancelButtonLoading: !1,
|
|
338
|
+
closeOnClickModal: !1,
|
|
339
|
+
type: "warning",
|
|
340
|
+
confirmButtonClass: "el-button--danger",
|
|
341
|
+
customClass: "custom-alert",
|
|
342
|
+
callback: () => {
|
|
343
|
+
},
|
|
344
|
+
beforeClose: (t, e, r) => {
|
|
345
|
+
if (t !== "confirm") {
|
|
346
|
+
r();
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, a({
|
|
350
|
+
ids: this.selectedRowKeys.join(",")
|
|
351
|
+
}).then((o) => {
|
|
352
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, o.success ? (i.$message.success(i.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), i.refresh(), r()) : i.$message.error(i.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o.message);
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
},
|
|
357
|
+
getAllowRefuse(i) {
|
|
358
|
+
let t = [], e = [];
|
|
359
|
+
return d.forEach((r) => {
|
|
360
|
+
const o = i[r.code];
|
|
361
|
+
o !== "" && o !== null && o !== 0 && (o === 2 && e.push(r), o === 1 && t.push(r));
|
|
362
|
+
}), { allow: t, refuse: e };
|
|
363
|
+
},
|
|
364
|
+
getDetail() {
|
|
365
|
+
m({ id: this.record.id }).then((i) => {
|
|
366
|
+
i.code === 200 && (this.record = i.data, this.isInherit = i.data.inheritpermissions);
|
|
367
|
+
});
|
|
368
|
+
},
|
|
369
|
+
add() {
|
|
370
|
+
this.$refs.addPermission.open(null);
|
|
371
|
+
},
|
|
372
|
+
refresh() {
|
|
373
|
+
this.getDetail(), this.$refs.table && this.$refs.table.refresh();
|
|
374
|
+
},
|
|
375
|
+
triggerRefresh(i) {
|
|
376
|
+
this.selectedRowKeys = [], this.selectedRows = [];
|
|
377
|
+
},
|
|
378
|
+
open(i) {
|
|
379
|
+
this.isInherit = i.inheritpermissions, this.record = i, this.visible = !0, this.getDetail(), this.$nextTick(() => {
|
|
380
|
+
setTimeout(() => {
|
|
381
|
+
this.refresh();
|
|
382
|
+
}, 0);
|
|
383
|
+
});
|
|
384
|
+
},
|
|
385
|
+
closed() {
|
|
386
|
+
this.ruleForm = {}, this.fullscreen = !1, this.visible = !1;
|
|
387
|
+
},
|
|
388
|
+
onSelectChange(i, t) {
|
|
389
|
+
this.selectedRowKeys = i, this.selectedRows = t;
|
|
390
|
+
},
|
|
391
|
+
getDictionary(i) {
|
|
392
|
+
return this.$options.filters.dictData(i);
|
|
393
|
+
},
|
|
394
|
+
toggleFullscreen() {
|
|
395
|
+
this.fullscreen = !this.fullscreen;
|
|
396
|
+
},
|
|
397
|
+
doEvent(i) {
|
|
398
|
+
let t = i.item.functionName;
|
|
399
|
+
this[t] && this[t]();
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
var h = function() {
|
|
404
|
+
var t = this, e = t._self._c;
|
|
405
|
+
return e("div", [e("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.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(r) {
|
|
406
|
+
t.visible = r;
|
|
407
|
+
}, closed: t.closed } }, [e("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.tableButtons, confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), e("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "document-manage", staticStyle: { "margin-top": "-6px" } }, [e("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, columns: t.tableColumns, initialLoading: !1, showPagination: !1, selectedRowKeys: t.selectedRowKeys, height: t.hig, disabledRowId: t.disabledRowId }, on: { onChange: t.onSelectChange, triggerRefresh: t.triggerRefresh }, scopedSlots: t._u([{ key: "operator", fn: function() {
|
|
408
|
+
return [e("div", { staticClass: "operator" }, [e("el-switch", { attrs: { "active-color": t.primaryColor, "active-value": 1, "inactive-value": 0 }, on: { change: t.changeInherit }, model: { value: t.isInherit, callback: function(r) {
|
|
409
|
+
t.isInherit = r;
|
|
410
|
+
}, expression: "isInherit" } }), e("span", { class: t.isInherit === 1 ? "active-color" : "" }, [t._v(" " + t._s(t.$i18nt("gd.fileDocument.inheritParentPermissions", "\u4ECE\u7236\u6587\u4EF6\u5939\u7EE7\u627F\u6743\u9650")) + " ")])], 1)];
|
|
411
|
+
}, proxy: !0 }, { key: "name", fn: function({ column: r, row: o }) {
|
|
412
|
+
return [e("div", { on: { click: function(s) {
|
|
413
|
+
return t.editForm(o);
|
|
414
|
+
} } }, [e("span", { staticClass: "active-color", staticStyle: { cursor: "pointer", "padding-right": "4px" } }, [t._v(t._s(o.principalname))]), o.principalid_abouttable === "sys_user" ? e("span", [t._v("(" + t._s(t.$i18nt("gd.fieldSecurity.user", "\u7528\u6237")) + ")")]) : o.principalid_abouttable === "sys_team" ? e("span", [t._v("(" + t._s(t.$i18nt("gd.fieldSecurity.team", "\u56E2\u961F")) + ")")]) : t._e()])];
|
|
415
|
+
} }, { key: "allow", fn: function({ column: r, row: o }) {
|
|
416
|
+
return [e("div", { staticClass: "allow-item" }, t._l(o.allow, function(s) {
|
|
417
|
+
return e("el-tag", { key: s.code, attrs: { type: "success", effect: "dark", size: "mini" } }, [t._v(" " + t._s(t.$i18nt(s.transkey, s.name)) + " ")]);
|
|
418
|
+
}), 1)];
|
|
419
|
+
} }, { key: "refuse", fn: function({ column: r, row: o }) {
|
|
420
|
+
return [e("div", { staticClass: "allow-item" }, t._l(o.refuse, function(s) {
|
|
421
|
+
return e("el-tag", { key: s.code, attrs: { type: "danger", effect: "dark", size: "mini" } }, [t._v(" " + t._s(t.$i18nt(s.transkey, s.name)) + " ")]);
|
|
422
|
+
}), 1)];
|
|
423
|
+
} }, { key: "inherit", fn: function({ column: r, row: o }) {
|
|
424
|
+
return [o.isinherit ? e("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : e("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })];
|
|
425
|
+
} }, { key: "handle", fn: function({ column: r, row: o }) {
|
|
426
|
+
return [e("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" } }, [t._v(t._s(t.$i18nt("gd.btn.edit", "\u7F16\u8F91")))]), e("el-divider", { attrs: { direction: "vertical" } }), e("span", { staticStyle: { color: "red", cursor: "pointer" } }, [t._v(t._s(t.$i18nt("gd.btn.del", "\u5220\u9664")))])];
|
|
427
|
+
} }]) })], 1)], 1), e("AddPermission", { ref: "addPermission", attrs: { recordData: t.record, allIds: t.allIds, multipleLimit: t.multipleLimit }, on: { ok: t.refresh } })], 1);
|
|
428
|
+
}, f = [], g = /* @__PURE__ */ p(
|
|
429
|
+
u,
|
|
430
|
+
h,
|
|
431
|
+
f,
|
|
432
|
+
!1,
|
|
433
|
+
null,
|
|
434
|
+
"19358cd5",
|
|
435
|
+
null,
|
|
436
|
+
null
|
|
437
|
+
);
|
|
438
|
+
const Je = g.exports;
|
|
439
|
+
export {
|
|
440
|
+
Je as default
|
|
441
|
+
};
|