gds-plus-design-vue 1.2.6 → 1.2.8
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.44734e9d.mjs +318 -0
- package/lib/addPermission.bf562510.js +1 -0
- package/lib/attribute.3f0f5019.js +1 -0
- package/lib/attribute.76ccdde6.mjs +238 -0
- package/lib/businessRules.5ca5c0e7.mjs +539 -0
- package/lib/businessRules.880c9f2b.js +1 -0
- package/lib/buttonRule.ccef0e48.js +1 -0
- package/lib/buttonRule.e502b1ae.mjs +396 -0
- package/lib/chartDisplayRules.1d31faf0.mjs +288 -0
- package/lib/chartDisplayRules.a13fd48e.js +1 -0
- package/lib/components.chartbi.6c030f0f.js +8 -0
- package/lib/components.chartbi.6ee50371.mjs +1818 -0
- package/lib/components.coloreditor.37a3fdde.js +6 -0
- package/lib/components.coloreditor.96579c7c.mjs +1505 -0
- package/lib/components.dataassign.8581a13d.js +1 -0
- package/lib/components.dataassign.c1e2b55a.mjs +143 -0
- package/lib/components.echarts.52debcdc.js +4 -0
- package/lib/components.echarts.7dc652cb.mjs +811 -0
- package/lib/components.exception.052c180b.mjs +61 -0
- package/lib/components.exception.6c834aa8.js +1 -0
- package/lib/components.form.0ead4b56.mjs +7819 -0
- package/lib/components.form.d8bc80ef.js +41 -0
- package/lib/components.globalheader.822c6dae.js +1 -0
- package/lib/components.globalheader.ca080888.mjs +54 -0
- package/lib/components.iconselector.9938ea4c.mjs +1171 -0
- package/lib/components.iconselector.adb82810.js +1 -0
- package/lib/components.imgpreview.22a86cd8.mjs +213 -0
- package/lib/components.imgpreview.fbd7888e.js +1 -0
- package/lib/components.lunccalendar.46abeb74.js +1 -0
- package/lib/components.lunccalendar.6553c69b.mjs +1137 -0
- package/lib/components.middleware.b3acec88.mjs +148 -0
- package/lib/components.middleware.ce94e5b4.js +1 -0
- package/lib/components.modaltitle.3f93c4e8.js +1 -0
- package/lib/components.modaltitle.e5fe44d5.mjs +127 -0
- package/lib/components.multitab.2b18bdf6.mjs +140 -0
- package/lib/components.multitab.4a86226d.js +1 -0
- package/lib/components.selecttree.087b9745.js +1 -0
- package/lib/components.selecttree.4c059920.mjs +170 -0
- package/lib/components.settingdrawer.16b851c5.mjs +237 -0
- package/lib/components.settingdrawer.b2cfb9b8.js +1 -0
- package/lib/components.sidemenu.031acc28.mjs +277 -0
- package/lib/components.sidemenu.8e3a537e.js +1 -0
- package/lib/components.sidenavmenu.0706d953.mjs +1149 -0
- package/lib/components.sidenavmenu.823b4f59.js +1 -0
- package/lib/components.statuschange.567b5e11.mjs +116 -0
- package/lib/components.statuschange.7196493d.js +1 -0
- package/lib/components.table.65f063db.mjs +3592 -0
- package/lib/components.table.b8c3c470.js +8 -0
- package/lib/components.table.childheader.7db99198.mjs +327 -0
- package/lib/components.table.childheader.86f374d1.js +1 -0
- package/lib/components.table.queriesfield.219de875.js +1 -0
- package/lib/components.table.queriesfield.a724759d.mjs +760 -0
- package/lib/components.tableumy.56c007b5.js +1 -0
- package/lib/components.tableumy.b40caab4.mjs +457 -0
- package/lib/components.tablevirtual.6fa9320d.js +1 -0
- package/lib/components.tablevirtual.89a68883.mjs +568 -0
- package/lib/components.teamsharing.e151d4f4.mjs +373 -0
- package/lib/components.teamsharing.e968f9bb.js +1 -0
- package/lib/components.tooltip.8372e161.js +1 -0
- package/lib/components.tooltip.c757843a.mjs +86 -0
- package/lib/components.uploadfile.0152727f.mjs +228 -0
- package/lib/components.uploadfile.33ccd11b.js +1 -0
- package/lib/components.uploadimg.8b1bf1ea.js +1 -0
- package/lib/components.uploadimg.d02cb929.mjs +192 -0
- package/lib/components.verificationcode.75bf3289.mjs +71 -0
- package/lib/components.verificationcode.a42a0e18.js +1 -0
- package/lib/components.viewformdetails.3ada7218.mjs +1104 -0
- package/lib/components.viewformdetails.e7f59d7c.js +1 -0
- package/lib/components.viewloading.2f810949.js +1 -0
- package/lib/components.viewloading.cd104247.mjs +99 -0
- package/lib/components.watermark.7e8f0083.mjs +53 -0
- package/lib/components.watermark.d279985e.js +2 -0
- package/lib/components.xlsxexport.0cff4489.mjs +263 -0
- package/lib/components.xlsxexport.5e1ad46d.js +1 -0
- package/lib/components.xlsximport.8cafe05a.mjs +927 -0
- package/lib/components.xlsximport.df06bcca.js +1 -0
- package/lib/createFile.5dbb535e.js +1 -0
- package/lib/createFile.6b52ae4a.mjs +313 -0
- package/lib/createSubfolders.a693b60b.js +1 -0
- package/lib/createSubfolders.a7ec5be5.mjs +161 -0
- package/lib/editForm.7f53e2c0.mjs +437 -0
- package/lib/editForm.f9d19fc6.js +1 -0
- package/lib/extendedAttributes.2bae1c67.js +1 -0
- package/lib/extendedAttributes.f3511188.mjs +164 -0
- package/lib/fileSearch.1a0822df.js +1 -0
- package/lib/fileSearch.2925210a.mjs +370 -0
- package/lib/flow.designer.5691358c.mjs +7693 -0
- package/lib/flow.designer.b867aa28.js +1 -0
- package/lib/flow.list.32617f34.js +1 -0
- package/lib/flow.list.c7c51336.mjs +3032 -0
- package/lib/form.build.56150ca8.js +1 -0
- package/lib/form.build.e7d3a429.mjs +272 -0
- package/lib/form.designer.build.062420a5.js +1 -0
- package/lib/form.designer.build.446085d5.mjs +2570 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +253 -91087
- 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.c0336daf.js +1 -0
- package/lib/http.filedocument.d34b2ab9.mjs +333 -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.6af4594d.js +1 -0
- package/lib/http.main.e9bb1f06.mjs +521 -0
- package/lib/http.menumanage.3060f4c7.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.00e72e09.mjs +186 -0
- package/lib/http.message.73c3ed85.js +1 -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.1786b914.mjs +58 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.tabledevelopment.de861b92.mjs +362 -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.9fb74fce.js +8 -0
- package/lib/index.c7fb3fad.mjs +26186 -0
- package/lib/layoutBlocks.2a9fd4c5.mjs +1315 -0
- package/lib/layoutBlocks.6a4da386.js +1 -0
- package/lib/layoutItem.256598c5.mjs +71 -0
- package/lib/layoutItem.e4885ed5.js +1 -0
- package/lib/layouts.1fde07ec.mjs +403 -0
- package/lib/layouts.bf328153.js +2 -0
- package/lib/{main.b5a3be02.mjs → main.05fd438c.mjs} +4 -4
- package/lib/main.0f2bcff6.js +1 -0
- package/lib/main.1552a904.js +1 -0
- package/lib/{main.3caa11e1.mjs → main.1f4d3f43.mjs} +113 -188
- package/lib/main.2066dab3.js +1 -0
- package/lib/main.39edeb2a.js +1 -0
- package/lib/{main.c41228a0.mjs → main.5a9e8258.mjs} +9 -8
- package/lib/main.5f9d7aa8.js +1 -0
- package/lib/main.62898cc4.mjs +447 -0
- package/lib/main.64d2ef8c.js +1 -0
- package/lib/main.88ae39aa.mjs +321 -0
- package/lib/main.b4b93a97.mjs +166 -0
- package/lib/main.c48e4f5f.mjs +231 -0
- package/lib/main.d04067b3.js +1 -0
- package/lib/main.d359f072.js +1 -0
- package/lib/{main.f0045877.mjs → main.e526a965.mjs} +13 -10
- package/lib/manage.8aaeb1c6.js +1 -0
- package/lib/manage.d1ff64ad.mjs +312 -0
- package/lib/messages.fieldconfiguration.15062d8d.mjs +1097 -0
- package/lib/messages.fieldconfiguration.984a75e3.js +1 -0
- package/lib/messages.messagetemplate.78e89fbf.mjs +1319 -0
- package/lib/messages.messagetemplate.bf867f64.js +7 -0
- package/lib/messages.sendplan.65b1295f.mjs +1126 -0
- package/lib/messages.sendplan.d75f9094.js +1 -0
- package/lib/messages.sendrecord.47241576.js +2 -0
- package/lib/messages.sendrecord.9708e459.mjs +640 -0
- package/lib/messages.templatelibrary.62ea4983.mjs +808 -0
- package/lib/messages.templatelibrary.f66ee730.js +2 -0
- package/lib/mobile.designer.componentstree.5255fd5f.mjs +2064 -0
- package/lib/mobile.designer.componentstree.814241c0.js +1 -0
- package/lib/mobile.designer.menutree.171c6cc9.js +1 -0
- package/lib/mobile.designer.menutree.a249cc5d.mjs +1036 -0
- package/lib/moveFile.4396bab7.js +1 -0
- package/lib/moveFile.da62e3db.mjs +147 -0
- package/lib/page.application.480f9494.mjs +1290 -0
- package/lib/page.application.a69ec83d.js +1 -0
- package/lib/page.build.0ab96a45.mjs +3174 -0
- package/lib/page.build.20336cc7.js +12 -0
- package/lib/page.designer.componentstree.55a042f0.js +1 -0
- package/lib/page.designer.componentstree.be31a11e.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.336795ea.js +1 -0
- package/lib/page.designer.fieldfiltering.dddb11fc.mjs +430 -0
- package/lib/page.designer.menutree.ab8b4503.js +1 -0
- package/lib/page.designer.menutree.d70ae1b3.mjs +5967 -0
- package/lib/page.designer.operation.7d51fb35.mjs +44 -0
- package/lib/page.designer.operation.83aa6f6a.js +1 -0
- package/lib/page.designer.page.01716ab3.mjs +10721 -0
- package/lib/page.designer.page.898ff9ad.js +1 -0
- package/lib/personal.echarts.0c77e256.js +1 -0
- package/lib/personal.echarts.1c275870.mjs +268 -0
- package/lib/router.config.405561c6.js +1 -0
- package/lib/router.config.db45c038.mjs +222 -0
- package/lib/search.advanced.1ae41423.js +1 -0
- package/lib/search.advanced.7f41a40b.mjs +2089 -0
- package/lib/solution.application.0fd29267.js +1 -0
- package/lib/solution.application.abae1a39.mjs +554 -0
- package/lib/solution.applicationmenu.773f3bfa.mjs +508 -0
- package/lib/solution.applicationmenu.ce3cc0d2.js +1 -0
- package/lib/solution.approvalflow.a717e233.mjs +442 -0
- package/lib/solution.approvalflow.b97bc1ea.js +1 -0
- package/lib/solution.dict.49786d64.mjs +773 -0
- package/lib/solution.dict.9e8c7994.js +1 -0
- package/lib/solution.menu.042ac0a1.mjs +432 -0
- package/lib/solution.menu.224d6798.js +1 -0
- package/lib/solution.plugin.01aaf06c.mjs +353 -0
- package/lib/solution.plugin.b69b77ef.js +1 -0
- package/lib/solution.processflow.2299a000.mjs +398 -0
- package/lib/solution.processflow.c9989a94.js +1 -0
- package/lib/solution.role.6e63d70e.mjs +462 -0
- package/lib/solution.role.e5464d08.js +1 -0
- package/lib/solution.webresources.4f7ed1a7.js +2 -0
- package/lib/solution.webresources.d8915d2c.mjs +547 -0
- package/lib/solution.workflow.1a82bfb7.mjs +401 -0
- package/lib/solution.workflow.5a20c27d.js +1 -0
- package/lib/store.config.5cf35072.mjs +557 -0
- package/lib/store.config.c75c7725.js +1 -0
- package/lib/style.css +3 -3
- package/lib/system.account.2cb0721d.js +216 -0
- package/lib/system.account.ec94a47c.mjs +2108 -0
- package/lib/system.config.64037b88.js +1 -0
- package/lib/{system.config.d2ad8c97.mjs → system.config.d56e285f.mjs} +7 -6
- package/lib/system.datasource.5ed32e16.js +1 -0
- package/lib/{system.datasource.a77831ab.mjs → system.datasource.a155badd.mjs} +15 -64
- package/lib/system.dict.c0b37e93.js +1 -0
- package/lib/{system.dict.cb276470.mjs → system.dict.e02fe0ae.mjs} +269 -344
- package/lib/system.document.3abdc3dd.js +1 -0
- package/lib/system.document.e3488436.mjs +1378 -0
- package/lib/system.duplicatechecking.5aa6941b.js +1 -0
- package/lib/system.duplicatechecking.a217842c.mjs +722 -0
- package/lib/system.email.25602dc0.js +1 -0
- package/lib/system.email.7bdc8432.mjs +133 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.53edcbbd.mjs} +486 -938
- package/lib/system.fieldsecurity.e4135e49.js +1 -0
- package/lib/{system.file.8064c8e9.mjs → system.file.1f130523.mjs} +84 -151
- package/lib/system.file.2d50278a.js +1 -0
- package/lib/{system.log.2b2fc11a.mjs → system.log.5077a7ad.mjs} +31 -93
- package/lib/system.log.50c0047e.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.371c330f.mjs} +5 -25
- package/lib/system.machine.3800ef26.js +1 -0
- package/lib/{system.notice.5f8cd020.mjs → system.notice.7f1dc4c9.mjs} +1017 -1194
- package/lib/system.notice.91f015fe.js +1 -0
- package/lib/system.noticereceived.6153e2ce.js +1 -0
- package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.742c0412.mjs} +19 -27
- package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.2ad609d4.mjs} +36 -38
- package/lib/system.onlineuser.a51e2a4f.js +1 -0
- package/lib/system.org.469d97ef.js +1 -0
- package/lib/{system.org.1169fe47.mjs → system.org.eebb3b3c.mjs} +3 -3
- package/lib/system.permissions.a701c89b.mjs +974 -0
- package/lib/system.permissions.c5ae6f5a.js +1 -0
- package/lib/{system.plugin.502a69d8.mjs → system.plugin.0c2a59c1.mjs} +503 -552
- package/lib/system.plugin.fb5b87b4.js +1 -0
- package/lib/{system.pos.8c44c029.mjs → system.pos.4a07ee48.mjs} +31 -62
- package/lib/system.pos.9c5c80e4.js +1 -0
- package/lib/system.promptmanagement.218bf207.js +1 -0
- package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.8d07150f.mjs} +318 -449
- package/lib/system.role.70d21d63.js +1 -0
- package/lib/{system.role.19959d7f.mjs → system.role.94863f39.mjs} +512 -486
- package/lib/system.sumberrules.7e46d49b.js +1 -0
- package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.9bcb4bbd.mjs} +169 -192
- package/lib/system.team.4a78bf70.mjs +452 -0
- package/lib/system.team.715cf1a0.js +1 -0
- package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b47e16f6.mjs} +259 -199
- package/lib/system.teammembers.e6af5083.js +1 -0
- package/lib/{system.timers.6f61bfe1.mjs → system.timers.69adc41b.mjs} +2202 -2278
- package/lib/system.timers.d18e69c5.js +38 -0
- package/lib/{system.translation.9b88fbf2.mjs → system.translation.9411e286.mjs} +437 -431
- package/lib/system.translation.a664f0d7.js +1 -0
- package/lib/system.user.8e77f525.js +14 -0
- package/lib/{system.user.bdf2613e.mjs → system.user.f37efc86.mjs} +1082 -1025
- package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.7a63a529.mjs} +419 -412
- package/lib/system.useraffiliation.92672d44.js +1 -0
- package/lib/system.webresource.6347bbf9.js +1 -0
- package/lib/{system.webresource.c36d6792.mjs → system.webresource.c5df74a9.mjs} +177 -219
- package/lib/system.welcome.7bc93674.js +1 -0
- package/lib/{system.welcome.14785b50.mjs → system.welcome.ad7177c1.mjs} +10 -3
- package/lib/table.definition..btnconfig.05e5e6d9.js +1 -0
- package/lib/table.definition..btnconfig.804c82c0.mjs +943 -0
- package/lib/table.definition..echartsconfig.449af1f1.js +1 -0
- package/lib/table.definition..echartsconfig.6668e52b.mjs +2163 -0
- package/lib/tableDescriptions.b8736cbe.js +1 -0
- package/lib/tableDescriptions.e511f3fd.mjs +80 -0
- package/lib/tcheckboxs.931b3af1.mjs +52 -0
- package/lib/tcheckboxs.a8dffb60.js +1 -0
- package/lib/tcurrency.043f5b00.js +1 -0
- package/lib/tcurrency.8da387ae.mjs +85 -0
- package/lib/tdatepicker.2b3a94c9.mjs +52 -0
- package/lib/tdatepicker.5d868745.js +1 -0
- package/lib/tdictSwitch.4c589f8b.js +1 -0
- package/lib/tdictSwitch.d14f58ee.mjs +60 -0
- package/lib/tfile.981f5327.mjs +62 -0
- package/lib/tfile.fc50065f.js +1 -0
- package/lib/tparticipants.6db03e93.js +1 -0
- package/lib/tparticipants.86cb1855.mjs +56 -0
- package/lib/translation.mains.624f16ba.mjs +383 -0
- package/lib/translation.mains.f09be5db.js +1 -0
- package/lib/utils.axios.js.4fec2453.mjs +1361 -0
- package/lib/utils.axios.js.69442e57.js +5 -0
- package/lib/utils.concurrencyrequest.js.3b4cb0a8.mjs +20 -0
- package/lib/utils.concurrencyrequest.js.cf116d0c.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.b0db799e.mjs +359 -0
- package/lib/versionControl.f9e611b7.js +1 -0
- package/lib/versionEdit.03e6b7b1.js +1 -0
- package/lib/versionEdit.ad608130.mjs +330 -0
- package/lib/view.build.0100d219.js +1 -0
- package/lib/view.build.5f025506.mjs +1588 -0
- package/lib/viewTree.1da3a1ae.js +1 -0
- package/lib/viewTree.fa1eab4f.mjs +414 -0
- package/locale/en_US.js +178 -25
- package/locale/id_ID.js +169 -16
- package/locale/vi_VN.js +2104 -1951
- package/locale/zh_CN.js +187 -34
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.03984fed.js +0 -1
- package/lib/main.1050afb3.js +0 -1
- package/lib/main.64122541.js +0 -1
- package/lib/main.b7d2c6ee.js +0 -1
- package/lib/messages.828b6ed8.js +0 -9
- package/lib/messages.a739f4fc.mjs +0 -5847
- package/lib/system.account.3181bcd6.js +0 -216
- package/lib/system.account.7c6ea20c.mjs +0 -2552
- package/lib/system.config.10f57fa2.js +0 -1
- package/lib/system.datasource.d5eea7f2.js +0 -1
- package/lib/system.dict.d73658f1.js +0 -1
- package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
- package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
- package/lib/system.email.4bf52f2d.js +0 -41
- package/lib/system.email.db5da8d7.mjs +0 -7432
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.c1884db7.js +0 -1
- package/lib/system.log.389af80d.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.a89f4826.js +0 -1
- package/lib/system.noticereceived.5e0773c3.js +0 -1
- package/lib/system.onlineuser.67733846.js +0 -1
- package/lib/system.org.ff54d620.js +0 -1
- package/lib/system.permissions.cc9a9866.mjs +0 -212
- package/lib/system.permissions.e6317c5a.js +0 -9
- package/lib/system.plugin.3467d572.js +0 -1
- package/lib/system.pos.4aadf86e.js +0 -1
- package/lib/system.promptmanagement.9ba710d6.js +0 -1
- package/lib/system.role.890c8ca2.js +0 -1
- package/lib/system.sumberrules.068ebe4a.js +0 -1
- package/lib/system.team.27cd57f7.mjs +0 -1000
- package/lib/system.team.2b28502b.js +0 -1
- package/lib/system.teammembers.e3baf783.js +0 -1
- package/lib/system.timers.cb0a3bd0.js +0 -38
- package/lib/system.translation.f3884a0a.js +0 -1
- package/lib/system.user.3bd95871.js +0 -14
- package/lib/system.useraffiliation.7db6e13c.js +0 -1
- package/lib/system.webresource.ede248a8.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { m as d, n as u } from "./components.chartbi.6ee50371.mjs";
|
|
2
|
+
import { K as p, L as h } from "./http.filedocument.d34b2ab9.mjs";
|
|
3
|
+
import { a as m } from "./http.main.e9bb1f06.mjs";
|
|
4
|
+
import { g as f } from "./utils.axios.js.4fec2453.mjs";
|
|
5
|
+
import { p as b } from "./system.document.e3488436.mjs";
|
|
6
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
7
|
+
import "./utils.util.js.333daba2.mjs";
|
|
8
|
+
import "./utils.mixins.js.be01e599.mjs";
|
|
9
|
+
import "./utils.concurrencyrequest.js.3b4cb0a8.mjs";
|
|
10
|
+
import "./http.tabledevelopment.de861b92.mjs";
|
|
11
|
+
const g = {
|
|
12
|
+
props: {
|
|
13
|
+
recordData: {
|
|
14
|
+
type: Object,
|
|
15
|
+
defalt: () => {
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
allIds: {
|
|
19
|
+
type: Array,
|
|
20
|
+
defalt: () => []
|
|
21
|
+
},
|
|
22
|
+
multipleLimit: {
|
|
23
|
+
type: Number,
|
|
24
|
+
default: 12
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
data() {
|
|
28
|
+
return {
|
|
29
|
+
ruleForm: {
|
|
30
|
+
principalidAboutId: "",
|
|
31
|
+
principalidAboutTable: "",
|
|
32
|
+
principalidAboutIdBatch: [],
|
|
33
|
+
isInherit: !1
|
|
34
|
+
},
|
|
35
|
+
rules: {
|
|
36
|
+
principalidAboutId: [
|
|
37
|
+
{
|
|
38
|
+
required: !0,
|
|
39
|
+
message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
|
|
40
|
+
trigger: ["change", "blur"]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
principalidAboutIdBatch: [
|
|
44
|
+
{
|
|
45
|
+
required: !0,
|
|
46
|
+
message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
|
|
47
|
+
trigger: ["change", "blur"]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
record: null,
|
|
52
|
+
width: "800px",
|
|
53
|
+
confirmLoading: !1,
|
|
54
|
+
visible: !1,
|
|
55
|
+
fullscreen: !1,
|
|
56
|
+
loading: !1,
|
|
57
|
+
hasRefresh: !1,
|
|
58
|
+
fkData: [],
|
|
59
|
+
fkEntityName: "sys_user,sys_team",
|
|
60
|
+
list: [],
|
|
61
|
+
batchPrincipalid: [],
|
|
62
|
+
permissionList: b,
|
|
63
|
+
source: null
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
computed: {
|
|
67
|
+
maxTip() {
|
|
68
|
+
return `${this.$i18nt("gd.https.exceedMaxiNumber", "\u8D85\u8FC7\u6279\u91CF\u63D0\u4EA4\u6700\u5927\u6570")} :${this.multipleLimit}`;
|
|
69
|
+
},
|
|
70
|
+
docacltemList() {
|
|
71
|
+
const s = this.getDictionary("docacltem");
|
|
72
|
+
return (s || []).map((e) => Object.assign(e, {
|
|
73
|
+
bjcolor: e.colour ? `background:${e.colour};color:#fff;` : ""
|
|
74
|
+
}));
|
|
75
|
+
},
|
|
76
|
+
title() {
|
|
77
|
+
return this.record ? this.$i18nt("gd.btn.edit", "\u7F16\u8F91") : this.$i18nt("gd.btn.add", "\u65B0\u589E");
|
|
78
|
+
},
|
|
79
|
+
fadeColord() {
|
|
80
|
+
return this.fadeColor(this.primaryColor, 0.1);
|
|
81
|
+
},
|
|
82
|
+
disabledRowId() {
|
|
83
|
+
return this.record ? this.allIds.filter((s) => s !== this.record.principalid_aboutid) : this.allIds;
|
|
84
|
+
},
|
|
85
|
+
disabled() {
|
|
86
|
+
return !!(this.record && this.record.isinherit);
|
|
87
|
+
},
|
|
88
|
+
buttons() {
|
|
89
|
+
return this.disabled ? [] : [
|
|
90
|
+
{
|
|
91
|
+
displayName: "\u786E\u5B9A",
|
|
92
|
+
functionName: "handleSubmit",
|
|
93
|
+
show: !0,
|
|
94
|
+
transKey: "gd.btn.confirm",
|
|
95
|
+
icon: "el-icon-document-checked"
|
|
96
|
+
}
|
|
97
|
+
];
|
|
98
|
+
},
|
|
99
|
+
...d(["primaryColor", "tableLists"])
|
|
100
|
+
},
|
|
101
|
+
methods: {
|
|
102
|
+
selDocacltem(s) {
|
|
103
|
+
const t = s.remark ? s.remark.split(",") : [];
|
|
104
|
+
this.list = this.list.map((e) => {
|
|
105
|
+
const i = t.filter((a) => a.toUpperCase() === e.code.toUpperCase())[0];
|
|
106
|
+
return Object.assign(
|
|
107
|
+
{ ...e },
|
|
108
|
+
{
|
|
109
|
+
refuse: 0,
|
|
110
|
+
allow: !!i
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
});
|
|
114
|
+
},
|
|
115
|
+
edit(s) {
|
|
116
|
+
this.confirmLoading = !0;
|
|
117
|
+
const t = this.fkData.filter((i) => i.id === this.ruleForm.principalidAboutId)[0], e = Object.assign(s, {
|
|
118
|
+
sysDocObjectId: this.recordData.id,
|
|
119
|
+
principalId_AboutId: this.ruleForm.principalidAboutId,
|
|
120
|
+
principalId_AboutTable: t.tableName,
|
|
121
|
+
id: this.record.id
|
|
122
|
+
});
|
|
123
|
+
p(e).then((i) => {
|
|
124
|
+
i.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok", e), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message), this.confirmLoading = !1;
|
|
125
|
+
});
|
|
126
|
+
},
|
|
127
|
+
add(s) {
|
|
128
|
+
if (this.batchPrincipalid.length > this.multipleLimit) {
|
|
129
|
+
this.$message.error(this.maxTip);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
this.confirmLoading = !0;
|
|
133
|
+
let t = [];
|
|
134
|
+
this.batchPrincipalid.forEach((e, i) => {
|
|
135
|
+
let a = Object.assign({}, s, {
|
|
136
|
+
sysDocObjectId: this.recordData.id,
|
|
137
|
+
principalId_AboutId: e.id,
|
|
138
|
+
principalId_AboutTable: e.tableName
|
|
139
|
+
});
|
|
140
|
+
const r = this.sysDocPermissionAdd(a, i * 100).then((l) => ({ res: l, item: e }));
|
|
141
|
+
t.push(r);
|
|
142
|
+
}), Promise.all(t).then((e) => {
|
|
143
|
+
this.hasRefresh = !0, this.confirmLoading = !1;
|
|
144
|
+
const i = e.filter((o) => !o.res.success);
|
|
145
|
+
if (i.length === 0) {
|
|
146
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed();
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
let a = [], r = `<p>${this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")}</<p>`, l = [];
|
|
150
|
+
this.batchPrincipalid.forEach((o) => {
|
|
151
|
+
const c = i.filter((n) => n.item.id === o.id)[0];
|
|
152
|
+
c && (a.push(
|
|
153
|
+
Object.assign({}, o, {
|
|
154
|
+
errTip: c.res.message
|
|
155
|
+
})
|
|
156
|
+
), r += `<p>${o.name} (${c.res.message});</p>`, l.push(o.id));
|
|
157
|
+
}), this.batchPrincipalid = a, this.ruleForm.principalidAboutIdBatch = l, this.$message({
|
|
158
|
+
dangerouslyUseHTMLString: !0,
|
|
159
|
+
message: r,
|
|
160
|
+
type: "error"
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
},
|
|
164
|
+
sysDocPermissionAdd(s, t) {
|
|
165
|
+
return new Promise((e) => {
|
|
166
|
+
setTimeout(() => {
|
|
167
|
+
h(s).then((i) => {
|
|
168
|
+
e(i);
|
|
169
|
+
});
|
|
170
|
+
}, t);
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
handleSubmit() {
|
|
174
|
+
this.$refs.ruleForm.validate((s) => {
|
|
175
|
+
if (s) {
|
|
176
|
+
let t = /* @__PURE__ */ new Map();
|
|
177
|
+
this.list.forEach((e) => {
|
|
178
|
+
t.set(e.code, e.allow ? 1 : e.refuse ? 2 : 0);
|
|
179
|
+
}), this.record ? this.edit(Object.fromEntries(t)) : this.add(Object.fromEntries(t));
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
},
|
|
183
|
+
changeAllow(s, t) {
|
|
184
|
+
s && (t.refuse = !1);
|
|
185
|
+
},
|
|
186
|
+
changeRefuse(s, t) {
|
|
187
|
+
s && (t.allow = !1);
|
|
188
|
+
},
|
|
189
|
+
delPrincipalid(s) {
|
|
190
|
+
this.ruleForm.principalidAboutIdBatch = this.ruleForm.principalidAboutIdBatch.filter((t) => t !== s.id), this.getBatchPrincipalid();
|
|
191
|
+
},
|
|
192
|
+
getBatchPrincipalid() {
|
|
193
|
+
let s = [];
|
|
194
|
+
this.fkData.forEach((t) => {
|
|
195
|
+
if (this.ruleForm.principalidAboutIdBatch.includes(t.id)) {
|
|
196
|
+
const e = this.tableLists.filter((i) => i.tablename === t.tableName)[0];
|
|
197
|
+
s.push(
|
|
198
|
+
Object.assign({}, t, {
|
|
199
|
+
tableBusName: e ? e.busname : "--",
|
|
200
|
+
tableTransKey: e ? e.transkey : null,
|
|
201
|
+
errTip: ""
|
|
202
|
+
})
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
}), this.batchPrincipalid = s;
|
|
206
|
+
},
|
|
207
|
+
lookup() {
|
|
208
|
+
const s = this.record ? this.ruleForm.principalidAboutId : this.ruleForm.principalidAboutIdBatch;
|
|
209
|
+
this.$refs.viewSearch.open({
|
|
210
|
+
fkEntityName: this.fkEntityName,
|
|
211
|
+
effectType: this.record ? "about" : "participants",
|
|
212
|
+
val: s
|
|
213
|
+
});
|
|
214
|
+
},
|
|
215
|
+
lookupSeled(s) {
|
|
216
|
+
this.fkData = [...s.fkData], Object.assign(this.ruleForm, {
|
|
217
|
+
principalidAboutId: this.record ? s.data[0] : "",
|
|
218
|
+
principalidAboutIdBatch: this.record ? [] : s.data
|
|
219
|
+
}), this.getBatchPrincipalid();
|
|
220
|
+
},
|
|
221
|
+
searchData(s) {
|
|
222
|
+
this.source && this.source.cancel("Operation canceled by the user.");
|
|
223
|
+
const t = this.fkEntityName.split(",")[0], e = { name: s, fkEntityName: t }, i = this.fkData.filter((a) => a.id === this.ruleForm.principalidAboutId);
|
|
224
|
+
this.loading = !0, this.source = f(), m(e, this.source.token).then((a) => {
|
|
225
|
+
if (this.loading = !1, this.source = null, a.code === 200) {
|
|
226
|
+
a.data.map((l) => (l.tableName = t, l));
|
|
227
|
+
const r = a.data.filter((l) => l.id !== this.ruleForm.principalidAboutId).filter((l) => !this.disabledRowId.includes(l.id));
|
|
228
|
+
this.fkData = i.concat(r);
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
},
|
|
232
|
+
open(s) {
|
|
233
|
+
this.record = s, this.visible = !0;
|
|
234
|
+
let t = JSON.parse(JSON.stringify(this.permissionList)).map((e) => Object.assign(e, {
|
|
235
|
+
show: ["createfile", "createsubfolder"].includes(e.code) ? this.recordData.type === 1 : !0
|
|
236
|
+
}));
|
|
237
|
+
if (!s) {
|
|
238
|
+
this.list = t, this.searchData("");
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
this.ruleForm = {
|
|
242
|
+
principalidAboutId: s.principalid_aboutid,
|
|
243
|
+
principalidAboutTable: s.principalid_abouttable,
|
|
244
|
+
principalidAboutIdBatch: []
|
|
245
|
+
}, this.list = t.map((e) => {
|
|
246
|
+
const i = s[e.code];
|
|
247
|
+
return Object.assign(e, { allow: i === 1, refuse: i === 2 });
|
|
248
|
+
}), this.fkData = [{ tableName: s.principalid_abouttable, id: s.principalid_aboutid, name: s.principalname }];
|
|
249
|
+
},
|
|
250
|
+
closed() {
|
|
251
|
+
this.hasRefresh && (this.$emit("ok"), this.hasRefresh = !1), this.ruleForm = {
|
|
252
|
+
principalidAboutIdBatch: [],
|
|
253
|
+
principalidAboutId: "",
|
|
254
|
+
principalidAboutTable: ""
|
|
255
|
+
}, this.batchPrincipalid = [], this.fullscreen = !1, this.visible = !1;
|
|
256
|
+
},
|
|
257
|
+
onSelectChange(s, t) {
|
|
258
|
+
this.selectedRowKeys = s, this.selectedRows = t;
|
|
259
|
+
},
|
|
260
|
+
getDictionary(s) {
|
|
261
|
+
return this.$options.filters.dictData(s);
|
|
262
|
+
},
|
|
263
|
+
fadeColor(s, t) {
|
|
264
|
+
let e = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), a = parseInt(s.substring(5, 7), 16);
|
|
265
|
+
return `rgba(${e},${i},${a},${t})`;
|
|
266
|
+
},
|
|
267
|
+
toggleFullscreen() {
|
|
268
|
+
this.fullscreen = !this.fullscreen;
|
|
269
|
+
},
|
|
270
|
+
doEvent(s) {
|
|
271
|
+
let t = s.item.functionName;
|
|
272
|
+
this[t] && this[t]();
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
var v = function() {
|
|
277
|
+
var t = this, e = t._self._c;
|
|
278
|
+
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(i) {
|
|
279
|
+
t.visible = i;
|
|
280
|
+
}, closed: t.closed } }, [e("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.buttons, 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" }], style: { "--fadecolor": t.fadeColord } }, [t.visible ? e("el-form", { ref: "ruleForm", staticClass: "gd-form", attrs: { model: t.ruleForm, "label-width": "120px", rules: t.rules }, nativeOn: { submit: function(i) {
|
|
281
|
+
i.preventDefault();
|
|
282
|
+
} } }, [e("el-row", { attrs: { gutter: 24 } }, [e("el-col", { attrs: { span: 12 } }, [t.record ? e("el-form-item", { attrs: { label: t.$i18nt("gd.fileDocument.userGroup", "\u7528\u6237/\u7528\u6237\u7EC4"), prop: "principalidAboutId" } }, [e("div", { staticClass: "cao_about" }, [e("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: t.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": t.searchData, disabled: t.disabled }, model: { value: t.ruleForm.principalidAboutId, callback: function(i) {
|
|
283
|
+
t.$set(t.ruleForm, "principalidAboutId", i);
|
|
284
|
+
}, expression: "ruleForm.principalidAboutId" } }, t._l(t.fkData, function(i) {
|
|
285
|
+
return e("el-option", { key: i.id, attrs: { label: i.name, value: i.id } });
|
|
286
|
+
}), 1), e("div", { staticClass: "cao_setting" }, [e("i", { staticClass: "el-input__icon el-icon-search", on: { click: t.lookup } })])], 1)]) : e("el-form-item", { attrs: { label: t.$i18nt("gd.fileDocument.userGroup", "\u7528\u6237/\u7528\u6237\u7EC4"), prop: "principalidAboutIdBatch" } }, [e("div", { staticClass: "cao_about" }, [e("el-select", { staticClass: "cao_input", attrs: { multiple: "", placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: t.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": t.searchData, "collapse-tags": "", "multiple-limit": t.multipleLimit }, on: { change: t.getBatchPrincipalid }, model: { value: t.ruleForm.principalidAboutIdBatch, callback: function(i) {
|
|
287
|
+
t.$set(t.ruleForm, "principalidAboutIdBatch", i);
|
|
288
|
+
}, expression: "ruleForm.principalidAboutIdBatch" } }, t._l(t.fkData, function(i) {
|
|
289
|
+
return e("el-option", { key: i.id, attrs: { label: i.name, value: i.id } });
|
|
290
|
+
}), 1), e("div", { staticClass: "cao_setting" }, [e("i", { staticClass: "el-input__icon el-icon-search", on: { click: t.lookup } })])], 1)])], 1)], 1)], 1) : t._e(), [t.batchPrincipalid.length > 0 ? e("div", { staticClass: "batch-principalid" }, [t._l(t.batchPrincipalid, function(i) {
|
|
291
|
+
return [e("div", { staticClass: "item" }, [i.errTip ? e("el-tooltip", { attrs: { placement: "top", effect: "dark", content: i.errTip } }, [e("i", { staticClass: "el-icon-warning" })]) : t._e(), e("el-tooltip", { staticClass: "name-tooltip", attrs: { effect: "dark", content: `${i.name} (${t.$i18nt(`Dynamics.${i.tableTransKey}`, i.tableBusName)})`, placement: "top" } }, [e("div", { staticClass: "line1" }, [t._v(" " + t._s(i.name) + " ")])]), e("i", { staticClass: "el-icon-error", on: { click: function(a) {
|
|
292
|
+
return t.delPrincipalid(i);
|
|
293
|
+
} } })], 1)];
|
|
294
|
+
})], 2) : t._e(), t.batchPrincipalid.length > t.multipleLimit ? e("div", { staticClass: "max-tip" }, [t._v(t._s(t.maxTip))]) : t._e()], e("el-divider"), e("div", { staticClass: "list" }, [e("div", { staticClass: "list-item list-label" }, [e("div", { staticClass: "item-name" }, [t._v(t._s(t.$i18nt("gd.page.limitsAuthority", "\u6743\u9650")))]), e("div", { staticClass: "item-hand", staticStyle: { color: "#52c41a" } }, [t._v(t._s(t.$i18nt("gd.page.allow", "\u5141\u8BB8")))]), e("div", { staticClass: "item-hand", staticStyle: { color: "red" } }, [t._v(t._s(t.$i18nt("gd.page.refuse", "\u62D2\u7EDD")))])]), e("div", { staticClass: "list-kuang" }, [t._l(t.list, function(i) {
|
|
295
|
+
return [i.show ? e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name" }, [t._v(" " + t._s(t.$i18nt(i.transkey, i.name)) + " ( "), e("span", { staticClass: "active-color" }, [t._v(t._s(i.code))]), t._v(" ) ")]), e("div", { staticClass: "item-hand" }, [e("el-checkbox", { attrs: { disabled: t.disabled }, on: { change: (a) => t.changeAllow(a, i) }, model: { value: i.allow, callback: function(a) {
|
|
296
|
+
t.$set(i, "allow", a);
|
|
297
|
+
}, expression: "item.allow" } })], 1), e("div", { staticClass: "item-hand" }, [e("el-checkbox", { attrs: { disabled: t.disabled }, on: { change: (a) => t.changeRefuse(a, i) }, model: { value: i.refuse, callback: function(a) {
|
|
298
|
+
t.$set(i, "refuse", a);
|
|
299
|
+
}, expression: "item.refuse" } })], 1)]) : t._e()];
|
|
300
|
+
})], 2)]), t.docacltemList.length > 0 ? e("div", { staticClass: "list" }, [e("el-alert", { staticStyle: { "border-radius": "6px 6px 0 0" }, attrs: { "show-icon": "", title: t.$i18nt("gd.fileDocument.quicklyPermission", "\u5FEB\u901F\u9009\u62E9\u6743\u9650\u6A21\u5757"), type: "info", effect: "dark", closable: !1 } }), e("div", { staticClass: "list-kuang" }, [e("div", { staticClass: "list-dict" }, [t._l(t.docacltemList, function(i) {
|
|
301
|
+
return [e("div", { staticClass: "dict-item" }, [e("div", { staticClass: "item-name gdhvr-float-shadow", style: i.bjcolor, on: { click: function(a) {
|
|
302
|
+
return t.selDocacltem(i);
|
|
303
|
+
} } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${i.transkey}`, i.name)) + " ")])])];
|
|
304
|
+
})], 2)])], 1) : t._e()], 2)], 1), e("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0, disabledRowId: t.disabledRowId }, on: { lookupSeled: t.lookupSeled } })], 1);
|
|
305
|
+
}, _ = [], k = /* @__PURE__ */ u(
|
|
306
|
+
g,
|
|
307
|
+
v,
|
|
308
|
+
_,
|
|
309
|
+
!1,
|
|
310
|
+
null,
|
|
311
|
+
"3dfe1cdc",
|
|
312
|
+
null,
|
|
313
|
+
null
|
|
314
|
+
);
|
|
315
|
+
const B = k.exports;
|
|
316
|
+
export {
|
|
317
|
+
B as default
|
|
318
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./components.chartbi.6c030f0f.js"),n=require("./http.filedocument.c0336daf.js"),p=require("./http.main.6af4594d.js"),h=require("./utils.axios.js.69442e57.js"),f=require("./system.document.3abdc3dd.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");require("./utils.mixins.js.750ca50e.js");require("./utils.concurrencyrequest.js.cf116d0c.js");require("./http.tabledevelopment.a880bb76.js");const m={props:{recordData:{type:Object,defalt:()=>{}},allIds:{type:Array,defalt:()=>[]},multipleLimit:{type:Number,default:12}},data(){return{ruleForm:{principalidAboutId:"",principalidAboutTable:"",principalidAboutIdBatch:[],isInherit:!1},rules:{principalidAboutId:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:["change","blur"]}],principalidAboutIdBatch:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:["change","blur"]}]},record:null,width:"800px",confirmLoading:!1,visible:!1,fullscreen:!1,loading:!1,hasRefresh:!1,fkData:[],fkEntityName:"sys_user,sys_team",list:[],batchPrincipalid:[],permissionList:f.permissionList,source:null}},computed:{maxTip(){return`${this.$i18nt("gd.https.exceedMaxiNumber","\u8D85\u8FC7\u6279\u91CF\u63D0\u4EA4\u6700\u5927\u6570")} :${this.multipleLimit}`},docacltemList(){const s=this.getDictionary("docacltem");return(s||[]).map(e=>Object.assign(e,{bjcolor:e.colour?`background:${e.colour};color:#fff;`:""}))},title(){return this.record?this.$i18nt("gd.btn.edit","\u7F16\u8F91"):this.$i18nt("gd.btn.add","\u65B0\u589E")},fadeColord(){return this.fadeColor(this.primaryColor,.1)},disabledRowId(){return this.record?this.allIds.filter(s=>s!==this.record.principalid_aboutid):this.allIds},disabled(){return!!(this.record&&this.record.isinherit)},buttons(){return this.disabled?[]:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}]},...d.mapGetters(["primaryColor","tableLists"])},methods:{selDocacltem(s){const t=s.remark?s.remark.split(","):[];this.list=this.list.map(e=>{const i=t.filter(a=>a.toUpperCase()===e.code.toUpperCase())[0];return Object.assign({...e},{refuse:0,allow:!!i})})},edit(s){this.confirmLoading=!0;const t=this.fkData.filter(i=>i.id===this.ruleForm.principalidAboutId)[0],e=Object.assign(s,{sysDocObjectId:this.recordData.id,principalId_AboutId:this.ruleForm.principalidAboutId,principalId_AboutTable:t.tableName,id:this.record.id});n.sysDocPermissionEdit(e).then(i=>{i.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok",e),this.closed()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message),this.confirmLoading=!1})},add(s){if(this.batchPrincipalid.length>this.multipleLimit){this.$message.error(this.maxTip);return}this.confirmLoading=!0;let t=[];this.batchPrincipalid.forEach((e,i)=>{let a=Object.assign({},s,{sysDocObjectId:this.recordData.id,principalId_AboutId:e.id,principalId_AboutTable:e.tableName});const r=this.sysDocPermissionAdd(a,i*100).then(l=>({res:l,item:e}));t.push(r)}),Promise.all(t).then(e=>{this.hasRefresh=!0,this.confirmLoading=!1;const i=e.filter(c=>!c.res.success);if(i.length===0){this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.closed();return}let a=[],r=`<p>${this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")}</<p>`,l=[];this.batchPrincipalid.forEach(c=>{const o=i.filter(u=>u.item.id===c.id)[0];o&&(a.push(Object.assign({},c,{errTip:o.res.message})),r+=`<p>${c.name} (${o.res.message});</p>`,l.push(c.id))}),this.batchPrincipalid=a,this.ruleForm.principalidAboutIdBatch=l,this.$message({dangerouslyUseHTMLString:!0,message:r,type:"error"})})},sysDocPermissionAdd(s,t){return new Promise(e=>{setTimeout(()=>{n.sysDocPermissionAdd(s).then(i=>{e(i)})},t)})},handleSubmit(){this.$refs.ruleForm.validate(s=>{if(s){let t=new Map;this.list.forEach(e=>{t.set(e.code,e.allow?1:e.refuse?2:0)}),this.record?this.edit(Object.fromEntries(t)):this.add(Object.fromEntries(t))}})},changeAllow(s,t){s&&(t.refuse=!1)},changeRefuse(s,t){s&&(t.allow=!1)},delPrincipalid(s){this.ruleForm.principalidAboutIdBatch=this.ruleForm.principalidAboutIdBatch.filter(t=>t!==s.id),this.getBatchPrincipalid()},getBatchPrincipalid(){let s=[];this.fkData.forEach(t=>{if(this.ruleForm.principalidAboutIdBatch.includes(t.id)){const e=this.tableLists.filter(i=>i.tablename===t.tableName)[0];s.push(Object.assign({},t,{tableBusName:e?e.busname:"--",tableTransKey:e?e.transkey:null,errTip:""}))}}),this.batchPrincipalid=s},lookup(){const s=this.record?this.ruleForm.principalidAboutId:this.ruleForm.principalidAboutIdBatch;this.$refs.viewSearch.open({fkEntityName:this.fkEntityName,effectType:this.record?"about":"participants",val:s})},lookupSeled(s){this.fkData=[...s.fkData],Object.assign(this.ruleForm,{principalidAboutId:this.record?s.data[0]:"",principalidAboutIdBatch:this.record?[]:s.data}),this.getBatchPrincipalid()},searchData(s){this.source&&this.source.cancel("Operation canceled by the user.");const t=this.fkEntityName.split(",")[0],e={name:s,fkEntityName:t},i=this.fkData.filter(a=>a.id===this.ruleForm.principalidAboutId);this.loading=!0,this.source=h.getCancelToken(),p.baseFkList(e,this.source.token).then(a=>{if(this.loading=!1,this.source=null,a.code===200){a.data.map(l=>(l.tableName=t,l));const r=a.data.filter(l=>l.id!==this.ruleForm.principalidAboutId).filter(l=>!this.disabledRowId.includes(l.id));this.fkData=i.concat(r)}})},open(s){this.record=s,this.visible=!0;let t=JSON.parse(JSON.stringify(this.permissionList)).map(e=>Object.assign(e,{show:["createfile","createsubfolder"].includes(e.code)?this.recordData.type===1:!0}));if(!s){this.list=t,this.searchData("");return}this.ruleForm={principalidAboutId:s.principalid_aboutid,principalidAboutTable:s.principalid_abouttable,principalidAboutIdBatch:[]},this.list=t.map(e=>{const i=s[e.code];return Object.assign(e,{allow:i===1,refuse:i===2})}),this.fkData=[{tableName:s.principalid_abouttable,id:s.principalid_aboutid,name:s.principalname}]},closed(){this.hasRefresh&&(this.$emit("ok"),this.hasRefresh=!1),this.ruleForm={principalidAboutIdBatch:[],principalidAboutId:"",principalidAboutTable:""},this.batchPrincipalid=[],this.fullscreen=!1,this.visible=!1},onSelectChange(s,t){this.selectedRowKeys=s,this.selectedRows=t},getDictionary(s){return this.$options.filters.dictData(s)},fadeColor(s,t){let e=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),a=parseInt(s.substring(5,7),16);return`rgba(${e},${i},${a},${t})`},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){let t=s.item.functionName;this[t]&&this[t]()}}};var b=function(){var t=this,e=t._self._c;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(i){t.visible=i},closed:t.closed}},[e("gd-modal-title",{attrs:{slot:"title",title:t.title,fullscreen:t.fullscreen,buttons:t.buttons,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"}],style:{"--fadecolor":t.fadeColord}},[t.visible?e("el-form",{ref:"ruleForm",staticClass:"gd-form",attrs:{model:t.ruleForm,"label-width":"120px",rules:t.rules},nativeOn:{submit:function(i){i.preventDefault()}}},[e("el-row",{attrs:{gutter:24}},[e("el-col",{attrs:{span:12}},[t.record?e("el-form-item",{attrs:{label:t.$i18nt("gd.fileDocument.userGroup","\u7528\u6237/\u7528\u6237\u7EC4"),prop:"principalidAboutId"}},[e("div",{staticClass:"cao_about"},[e("el-select",{staticClass:"cao_input",attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),loading:t.loading,"reserve-keyword":"",filterable:"",remote:"",clearable:"","remote-method":t.searchData,disabled:t.disabled},model:{value:t.ruleForm.principalidAboutId,callback:function(i){t.$set(t.ruleForm,"principalidAboutId",i)},expression:"ruleForm.principalidAboutId"}},t._l(t.fkData,function(i){return e("el-option",{key:i.id,attrs:{label:i.name,value:i.id}})}),1),e("div",{staticClass:"cao_setting"},[e("i",{staticClass:"el-input__icon el-icon-search",on:{click:t.lookup}})])],1)]):e("el-form-item",{attrs:{label:t.$i18nt("gd.fileDocument.userGroup","\u7528\u6237/\u7528\u6237\u7EC4"),prop:"principalidAboutIdBatch"}},[e("div",{staticClass:"cao_about"},[e("el-select",{staticClass:"cao_input",attrs:{multiple:"",placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),loading:t.loading,"reserve-keyword":"",filterable:"",remote:"",clearable:"","remote-method":t.searchData,"collapse-tags":"","multiple-limit":t.multipleLimit},on:{change:t.getBatchPrincipalid},model:{value:t.ruleForm.principalidAboutIdBatch,callback:function(i){t.$set(t.ruleForm,"principalidAboutIdBatch",i)},expression:"ruleForm.principalidAboutIdBatch"}},t._l(t.fkData,function(i){return e("el-option",{key:i.id,attrs:{label:i.name,value:i.id}})}),1),e("div",{staticClass:"cao_setting"},[e("i",{staticClass:"el-input__icon el-icon-search",on:{click:t.lookup}})])],1)])],1)],1)],1):t._e(),[t.batchPrincipalid.length>0?e("div",{staticClass:"batch-principalid"},[t._l(t.batchPrincipalid,function(i){return[e("div",{staticClass:"item"},[i.errTip?e("el-tooltip",{attrs:{placement:"top",effect:"dark",content:i.errTip}},[e("i",{staticClass:"el-icon-warning"})]):t._e(),e("el-tooltip",{staticClass:"name-tooltip",attrs:{effect:"dark",content:`${i.name} (${t.$i18nt(`Dynamics.${i.tableTransKey}`,i.tableBusName)})`,placement:"top"}},[e("div",{staticClass:"line1"},[t._v(" "+t._s(i.name)+" ")])]),e("i",{staticClass:"el-icon-error",on:{click:function(a){return t.delPrincipalid(i)}}})],1)]})],2):t._e(),t.batchPrincipalid.length>t.multipleLimit?e("div",{staticClass:"max-tip"},[t._v(t._s(t.maxTip))]):t._e()],e("el-divider"),e("div",{staticClass:"list"},[e("div",{staticClass:"list-item list-label"},[e("div",{staticClass:"item-name"},[t._v(t._s(t.$i18nt("gd.page.limitsAuthority","\u6743\u9650")))]),e("div",{staticClass:"item-hand",staticStyle:{color:"#52c41a"}},[t._v(t._s(t.$i18nt("gd.page.allow","\u5141\u8BB8")))]),e("div",{staticClass:"item-hand",staticStyle:{color:"red"}},[t._v(t._s(t.$i18nt("gd.page.refuse","\u62D2\u7EDD")))])]),e("div",{staticClass:"list-kuang"},[t._l(t.list,function(i){return[i.show?e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name"},[t._v(" "+t._s(t.$i18nt(i.transkey,i.name))+" ( "),e("span",{staticClass:"active-color"},[t._v(t._s(i.code))]),t._v(" ) ")]),e("div",{staticClass:"item-hand"},[e("el-checkbox",{attrs:{disabled:t.disabled},on:{change:a=>t.changeAllow(a,i)},model:{value:i.allow,callback:function(a){t.$set(i,"allow",a)},expression:"item.allow"}})],1),e("div",{staticClass:"item-hand"},[e("el-checkbox",{attrs:{disabled:t.disabled},on:{change:a=>t.changeRefuse(a,i)},model:{value:i.refuse,callback:function(a){t.$set(i,"refuse",a)},expression:"item.refuse"}})],1)]):t._e()]})],2)]),t.docacltemList.length>0?e("div",{staticClass:"list"},[e("el-alert",{staticStyle:{"border-radius":"6px 6px 0 0"},attrs:{"show-icon":"",title:t.$i18nt("gd.fileDocument.quicklyPermission","\u5FEB\u901F\u9009\u62E9\u6743\u9650\u6A21\u5757"),type:"info",effect:"dark",closable:!1}}),e("div",{staticClass:"list-kuang"},[e("div",{staticClass:"list-dict"},[t._l(t.docacltemList,function(i){return[e("div",{staticClass:"dict-item"},[e("div",{staticClass:"item-name gdhvr-float-shadow",style:i.bjcolor,on:{click:function(a){return t.selDocacltem(i)}}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${i.transkey}`,i.name))+" ")])])]})],2)])],1):t._e()],2)],1),e("gd-search",{ref:"viewSearch",attrs:{appendToBody:!0,disabledRowId:t.disabledRowId},on:{lookupSeled:t.lookupSeled}})],1)},g=[],v=d.normalizeComponent(m,b,g,!1,null,"3dfe1cdc",null,null);const _=v.exports;exports.default=_;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./http.filedocument.c0336daf.js"),n=require("./system.document.3abdc3dd.js"),o=require("./components.chartbi.6c030f0f.js");require("./utils.util.js.c0ba699b.js");require("./utils.mixins.js.750ca50e.js");require("./utils.concurrencyrequest.js.cf116d0c.js");require("./http.tabledevelopment.a880bb76.js");require("./utils.echarts.js.461a74e7.js");const v={props:{treeData:{type:Array,default:()=>[]},fileAccept:{type:String,default:""},fileSize:{type:Number,default:1024}},data(){return{maxLeg:5,type:2,record:{},statu:!1,confirmLoading:!1,visible:!1,fullscreen:!1,buttons:[{displayName:"\u5237\u65B0",functionName:"init",show:!0,transKey:"gd.basics.refresh",icon:"el-icon-refresh"}],permissionMenus:[],attributesList:[],permissionData:{},docTypeList:[],docTypeData:{},activeName:"attribute"}},components:{ExtendedAttributes:()=>Promise.resolve().then(()=>require("./extendedAttributes.2bae1c67.js"))},computed:{hasRename(){return this.permissionData.rename===1},docTypeName(){const i=this.record.sysdoctypeid?this.record.sysdoctypeid:"",t=this.docTypeList.filter(e=>e.id===i)[0];return t?this.$i18nt(`Dynamics.${t.transkey}`,t.name):""},title(){return this.record.name},getHeight(){const i=this.fullscreen?206:380;return this.screenHeight-i},pathAddress(){let i="";return this.record.path===void 0||(this.record.path.split(".").forEach(e=>{const s=this.treeData.filter(r=>r.id===Number(e))[0];i+=s&&e!=="0"?`/${s.name}`:""}),this.record.type!==1&&(i+=`/${this.record.name}`)),i},fileIcon(){return n.getIcon(this.record)},fileType(){const t=this.getDictionary("sys_doc_objects_type").filter(e=>e.code==this.record.type)[0];return t?this.$i18nt(`Dynamics.${t.transkey}`,t.name):this.record.type},recordFileSize(){if(this.record.type===1)return 0;const i=this.record.filesize?this.record.filesize:0;return this.getFilSize(i)},timeLongshort(){return this.getDictionary("time_longshort")},...o.mapGetters(["primaryColor","tablePageSize","tableSize","screenHeight","tableLists"])},methods:{editExtendedAttributes(){this.$refs.extendedAttributes.open(this.record)},seeFkItem(i){const t=this.tableLists.filter(r=>r.tablename===i.fkentity)[0];this.statu=!0;let e={tableId:t.id,data:[{id:i.fkId}]};const s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});this.$refs.middleware.init(e).then(r=>{setTimeout(()=>{this.statu=!1},1e3),s.close()})},getFilSize(i){let t=i/1024;return t<1024?`${Math.ceil(t)}K`:`${(i/1024/1024).toFixed(2)}M`},getFieldFormat(i){if(!["datepicker"].includes(i.datatype))return"";const t=this.timeLongshort.filter(e=>String(e.code)===String(i.fieldformat))[0];return t?t.name.replace("DD","dd"):"yyyy-MM-dd HH:mm:ss"},init(){this.confirmLoading=!0,Promise.all([this.getDetail(),this.getRootPermission(),this.getDocTypePage()]).then(i=>{let t=[];const e=this.record.attributes?this.record.attributes:[],s=this.docTypeList.filter(a=>a.id===this.record.sysdoctypeid)[0];this.docTypeData=s||{},(s?s.sysdoctypeattributes:[]).forEach(a=>{if(a.ishidden!==1){const l=e.filter(m=>m.attrcode===a.attrcode)[0];let d={name:a.name,code:a.attrcode,fkName:"",effectType:a.datatype,dictTypeCode:a.dicttypecode,fieldFormat:this.getFieldFormat(a),transkey:a.transkey?`Dynamics.${a.transkey}`:null,value:"",fieldsize:a.fieldsize,fkentity:a.fkentity,statecodes:a.statecodes};l&&Object.assign(d,{fkName:l.attrname?l.attrname:l.attrvalue,fkId:["fk"].includes(a.datatype)?l.attrvalue:"",value:this.getDefaultvalue(a,l.attrvalue)}),t.push(d)}}),this.attributesList=[...t],this.activeName==="version"&&this.refresh(),this.confirmLoading=!1})},getDefaultvalue(i,t){return["checkbox"].includes(i.datatype)?t.split(","):["double","currency"].includes(i.datatype)?t&&Number(t).toFixed(i.fieldsize):t},open(i){this.type=i.type,this.activeName="attribute",this.record=i,this.visible=!0,this.init()},getDocTypePage(){c.sysDocTypePage({pageno:1,pagesize:1e3}).then(i=>{i.code===200&&(this.docTypeList=i.data.rows)})},getDetail(){return c.sysDocObjectsGetById({id:this.record.id}).then(i=>(i.code!==200||(this.record=i.data),i))},getRootPermission(){return c.getUserDocPrivs({docId:this.record.id}).then(i=>{let t={};i.code===200?t=i.data:this.$message.error(i.message),this.permissionData=t;const e=n.permissionList.filter(s=>s.type.includes(this.record.type));return this.permissionMenus=e.map(s=>{const r=t[s.code];return Object.assign({...s},{allow:r!==void 0?r===1:!1,refuse:r!==void 0?r===2:!1})}),i})},getBlobType(i){let t="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return i==="pdf"?t="application/pdf":i==="docx"&&(t="application/msword"),t},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionary(i){return this.$options.filters.dictData(i)},doEvent(i){let t=i.item.functionName;this[t]&&this[t]()}}};var u=function(){var t=this,e=t._self._c;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:"700px",center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1,"destroy-on-close":!0},on:{"update:visible":function(s){t.visible=s},closed:t.closed}},[e("gd-modal-title",{attrs:{slot:"title",title:t.title,fullscreen:t.fullscreen,buttons:t.buttons,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:"gd-doc-attribute"},[t.visible?e("el-tabs",{attrs:{type:"card"},model:{value:t.activeName,callback:function(s){t.activeName=s},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:t.$i18nt("gd.fileDocument.properties","\u6587\u6863\u5C5E\u6027"),name:"attribute"}},[e("div",{staticClass:"attribute",staticStyle:{"margin-top":"10px"}},[e("div",{staticClass:"attribute-item"},[e("div",{staticClass:"list"},[e("div",{staticClass:"list-item list-label"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.form.attribute","\u5C5E\u6027")))]),e("div",{staticClass:"item-val"},[t._v(t._s(t.$i18nt("gd.form.value","\u503C")))])]),e("div",{staticClass:"list-kuang"},[e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.translation.name","\u540D\u79F0")))]),e("div",{staticClass:"item-val line1",attrs:{title:t.record.name}},[t._v(t._s(t.record.name))])]),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.pathAddress","\u8DEF\u5F84\u5730\u5740")))]),e("div",{staticClass:"item-val line1",attrs:{title:t.pathAddress}},[t._v(t._s(t.pathAddress))])]),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.file.fileAccept","\u6587\u4EF6\u7C7B\u578B")))]),e("div",{staticClass:"item-val"},[e("i",{staticClass:"gd-icons",class:t.fileIcon})])]),t.record.filesize?[e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.file.fileSize","\u6587\u4EF6\u5927\u5C0F")))]),e("div",{staticClass:"item-val",attrs:{title:t.recordFileSize}},[t._v(t._s(t.recordFileSize))])]),t.record.version!==void 0?e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.currentVersion","\u5F53\u524D\u7248\u672C")))]),e("div",{staticClass:"item-val",attrs:{title:t.record.version}},[t._v(t._s(t.record.version))])]):t._e(),t.record.iseffectiveness!==void 0?e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.iseffectiveness","\u6709\u6548")))]),e("div",{staticClass:"item-val"},[e("el-tag",{style:t._f("dictColor")("yes_or_no",t.record.iseffectiveness),attrs:{effect:"dark"}},[t._v(" "+t._s(t._f("dictType")("yes_or_no",t.record.iseffectiveness))+" ")])],1)]):t._e(),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.classification","\u6587\u6863\u5206\u7C7B")))]),e("div",{staticClass:"item-val",attrs:{title:t.docTypeName}},[t._v(t._s(t.docTypeName))])])]:t._e(),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650")))]),e("div",{staticClass:"item-val",attrs:{title:t._f("dictType")("yes_or_no",t.record.inheritpermissions)}},[e("el-tag",{style:t._f("dictColor")("yes_or_no",t.record.inheritpermissions),attrs:{effect:"dark"}},[t._v(" "+t._s(t._f("dictType")("yes_or_no",t.record.inheritpermissions))+" ")])],1)]),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.uploadTime","\u6700\u540E\u4E0A\u4F20\u65F6\u95F4")))]),e("div",{staticClass:"item-val",attrs:{title:t.record.uploaddate}},[t._v(t._s(t.record.uploaddate))])]),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.mdifyUser","\u4FEE\u6539\u7528\u6237")))]),e("div",{staticClass:"item-val",attrs:{title:t.record.updatedbyname}},[t._v(t._s(t.record.updatedbyname?t.record.updatedbyname:""))])]),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.web.updatedTime","\u4FEE\u6539\u65F6\u95F4")))]),e("div",{staticClass:"item-val",attrs:{title:t.record.updatedtime}},[t._v(t._s(t.record.updatedtime))])]),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.fileDocument.createUser","\u521B\u5EFA\u7528\u6237")))]),e("div",{staticClass:"item-val",attrs:{title:t.record.createdbyname}},[t._v(t._s(t.record.createdbyname?t.record.createdbyname:""))])]),e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.web.creationTime","\u521B\u5EFA\u65F6\u95F4")))]),e("div",{staticClass:"item-val",attrs:{title:t.record.createdtime}},[t._v(t._s(t.record.createdtime))])])],2)])])])]),t.type===2?e("el-tab-pane",{attrs:{label:t.$i18nt("gd.fileDocument.extendedAttributes","\u6269\u5C55\u5C5E\u6027"),name:"extendedAttributes"}},[e("div",{staticClass:"attribute"},[t.type===2?e("div",{staticClass:"attribute-item"},[e("div",{staticClass:"list-title list-title-flex"},[e("div",{staticClass:"list-title-name"}),t.hasRename&&t.docTypeData.statecodes===1&&t.attributesList.length>0?e("div",{staticClass:"list-title-edit active-color",on:{click:t.editExtendedAttributes}},[e("i",{staticClass:"el-icon-edit-outline active-color"}),t._v(" "+t._s(t.$i18nt("gd.btn.edit","\u7F16\u8F91"))+" ")]):t._e()]),e("div",{staticClass:"list"},[e("div",{staticClass:"list-item list-label"},[e("div",{staticClass:"item-name item-names"},[t._v(t._s(t.$i18nt("gd.form.attribute","\u5C5E\u6027")))]),e("div",{staticClass:"item-val"},[t._v(" "+t._s(t.$i18nt("gd.form.value","\u503C"))+" ")])]),t.attributesList.length>0?e("div",{staticClass:"list-kuang"},t._l(t.attributesList,function(s){return e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name item-names"},[t._v(" "+t._s(t.$i18nt(s.transkey,s.name))+" ")]),["radio","select","switch"].includes(s.effectType)?e("div",{staticClass:"item-val line1",attrs:{title:t._f("dictType")(s.dictTypeCode,s.value)}},[e("el-tag",{style:t._f("dictColor")(s.dictTypeCode,s.value),attrs:{effect:"dark"}},[t._v(" "+t._s(t._f("dictType")(s.dictTypeCode,s.value))+" ")])],1):["datepicker"].includes(s.effectType)?e("div",{staticClass:"item-val line1",attrs:{title:t._f("formatTime")(s.value,s.fieldFormat)}},[t._v(" "+t._s(t._f("formatTime")(s.value,s.fieldFormat))+" ")]):["checkbox"].includes(s.effectType)?e("div",{staticClass:"item-val line1"},[t._l(s.value,function(r,a){return[a<t.maxLeg?e("el-tag",{style:t._f("dictColor")(s.dictTypeCode,r),attrs:{effect:"dark"}},[t._v(" "+t._s(t._f("dictType")(s.dictTypeCode,r))+" ")]):t._e(),a===t.maxLeg?e("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],attrs:{effect:"dark",placement:"top"}},[e("div",{attrs:{slot:"content"},slot:"content"},[t._l(s.value,function(l,d){return[d>=t.maxLeg?e("span",{staticStyle:{"padding-right":"4px"}},[t._v(t._s(t._f("dictType")(s.dictTypeCode,l)))]):t._e()]})],2),e("el-tag",{staticStyle:{"background-color":"#fff","border-color":"#dcdfe2",color:"rgba(0, 0, 0, 0.65)"},attrs:{effect:"dark"}},[t._v(" ... ")])],1):t._e()]})],2):["fk"].includes(s.effectType)?e("div",{staticClass:"item-val line1",attrs:{title:s.fkName}},[s.fkId?e("span",{staticClass:"active-color",on:{click:function(r){return t.seeFkItem(s)}}},[t._v(t._s(s.fkName))]):t._e()]):e("div",{staticClass:"item-val line1",attrs:{title:s.value}},[t._v(t._s(s.value))])])}),0):e("div",{staticClass:"empty"},[e("div",{staticClass:"empty-icon"},[e("i",{staticClass:"el-icon-receiving"})]),e("div",{staticClass:"empty-title"},[e("span",[t._v(t._s(t.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])])]):t._e()])]):t._e(),e("el-tab-pane",{attrs:{label:t.$i18nt("gd.page.limitsAuthority","\u6743\u9650"),name:"permission"}},[e("div",{staticClass:"list",staticStyle:{"margin-top":"12px"}},[e("div",{staticClass:"list-item list-label"},[e("div",{staticClass:"item-name"},[t._v(t._s(t.$i18nt("gd.page.limitsAuthority","\u6743\u9650")))]),e("div",{staticClass:"item-hand"},[t._v(t._s(t.$i18nt("gd.fileDocument.allow","\u5141\u8BB8")))]),e("div",{staticClass:"item-hand"},[t._v(t._s(t.$i18nt("gd.fileDocument.refuse","\u62D2\u7EDD")))])]),e("div",{staticClass:"list-kuang"},[t._l(t.permissionMenus,function(s){return[s.show?e("div",{staticClass:"list-item"},[e("div",{staticClass:"item-name"},[t._v(" "+t._s(t.$i18nt(s.transkey,s.name))+" ("+t._s(s.code)+") ")]),e("div",{staticClass:"item-hand"},[s.allow?e("i",{staticClass:"el-icon-check",staticStyle:{color:"#52c41a"}}):t._e()]),e("div",{staticClass:"item-hand"},[s.refuse?e("i",{staticClass:"el-icon-close",staticStyle:{color:"red"}}):t._e()])]):t._e()]})],2)])])],1):t._e()],1)],1),e("ExtendedAttributes",{ref:"extendedAttributes",on:{ok:t.init}}),e("gd-middleware",{ref:"middleware",on:{ok:t.init}})],1)},f=[],p=o.normalizeComponent(v,u,f,!1,null,"c4a2af33",null,null);const _=p.exports;exports.default=_;
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { g as c, C as o, r as m } from "./http.filedocument.d34b2ab9.mjs";
|
|
2
|
+
import { b as v, p as f } from "./system.document.e3488436.mjs";
|
|
3
|
+
import { m as u, n as p } from "./components.chartbi.6ee50371.mjs";
|
|
4
|
+
import "./utils.util.js.333daba2.mjs";
|
|
5
|
+
import "./utils.mixins.js.be01e599.mjs";
|
|
6
|
+
import "./utils.concurrencyrequest.js.3b4cb0a8.mjs";
|
|
7
|
+
import "./http.tabledevelopment.de861b92.mjs";
|
|
8
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
9
|
+
const _ = {
|
|
10
|
+
props: {
|
|
11
|
+
treeData: {
|
|
12
|
+
type: Array,
|
|
13
|
+
default: () => []
|
|
14
|
+
},
|
|
15
|
+
fileAccept: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: ""
|
|
18
|
+
},
|
|
19
|
+
fileSize: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 1024
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
data() {
|
|
25
|
+
return {
|
|
26
|
+
maxLeg: 5,
|
|
27
|
+
type: 2,
|
|
28
|
+
record: {},
|
|
29
|
+
statu: !1,
|
|
30
|
+
confirmLoading: !1,
|
|
31
|
+
visible: !1,
|
|
32
|
+
fullscreen: !1,
|
|
33
|
+
buttons: [
|
|
34
|
+
{
|
|
35
|
+
displayName: "\u5237\u65B0",
|
|
36
|
+
functionName: "init",
|
|
37
|
+
show: !0,
|
|
38
|
+
transKey: "gd.basics.refresh",
|
|
39
|
+
icon: "el-icon-refresh"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
permissionMenus: [],
|
|
43
|
+
attributesList: [],
|
|
44
|
+
permissionData: {},
|
|
45
|
+
docTypeList: [],
|
|
46
|
+
docTypeData: {},
|
|
47
|
+
activeName: "attribute"
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
components: {
|
|
51
|
+
ExtendedAttributes: () => import("./extendedAttributes.f3511188.mjs")
|
|
52
|
+
},
|
|
53
|
+
computed: {
|
|
54
|
+
hasRename() {
|
|
55
|
+
return this.permissionData.rename === 1;
|
|
56
|
+
},
|
|
57
|
+
docTypeName() {
|
|
58
|
+
const s = this.record.sysdoctypeid ? this.record.sysdoctypeid : "", t = this.docTypeList.filter((e) => e.id === s)[0];
|
|
59
|
+
return t ? this.$i18nt(`Dynamics.${t.transkey}`, t.name) : "";
|
|
60
|
+
},
|
|
61
|
+
title() {
|
|
62
|
+
return this.record.name;
|
|
63
|
+
},
|
|
64
|
+
getHeight() {
|
|
65
|
+
const s = this.fullscreen ? 206 : 380;
|
|
66
|
+
return this.screenHeight - s;
|
|
67
|
+
},
|
|
68
|
+
pathAddress() {
|
|
69
|
+
let s = "";
|
|
70
|
+
return this.record.path === void 0 || (this.record.path.split(".").forEach((e) => {
|
|
71
|
+
const i = this.treeData.filter((r) => r.id === Number(e))[0];
|
|
72
|
+
s += i && e !== "0" ? `/${i.name}` : "";
|
|
73
|
+
}), this.record.type !== 1 && (s += `/${this.record.name}`)), s;
|
|
74
|
+
},
|
|
75
|
+
fileIcon() {
|
|
76
|
+
return v(this.record);
|
|
77
|
+
},
|
|
78
|
+
fileType() {
|
|
79
|
+
const t = this.getDictionary("sys_doc_objects_type").filter((e) => e.code == this.record.type)[0];
|
|
80
|
+
return t ? this.$i18nt(`Dynamics.${t.transkey}`, t.name) : this.record.type;
|
|
81
|
+
},
|
|
82
|
+
recordFileSize() {
|
|
83
|
+
if (this.record.type === 1)
|
|
84
|
+
return 0;
|
|
85
|
+
const s = this.record.filesize ? this.record.filesize : 0;
|
|
86
|
+
return this.getFilSize(s);
|
|
87
|
+
},
|
|
88
|
+
timeLongshort() {
|
|
89
|
+
return this.getDictionary("time_longshort");
|
|
90
|
+
},
|
|
91
|
+
...u(["primaryColor", "tablePageSize", "tableSize", "screenHeight", "tableLists"])
|
|
92
|
+
},
|
|
93
|
+
methods: {
|
|
94
|
+
editExtendedAttributes() {
|
|
95
|
+
this.$refs.extendedAttributes.open(this.record);
|
|
96
|
+
},
|
|
97
|
+
seeFkItem(s) {
|
|
98
|
+
const t = this.tableLists.filter((r) => r.tablename === s.fkentity)[0];
|
|
99
|
+
this.statu = !0;
|
|
100
|
+
let e = {
|
|
101
|
+
tableId: t.id,
|
|
102
|
+
data: [
|
|
103
|
+
{
|
|
104
|
+
id: s.fkId
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
};
|
|
108
|
+
const i = this.$message({
|
|
109
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
110
|
+
duration: 0,
|
|
111
|
+
iconClass: "el-icon-loading"
|
|
112
|
+
});
|
|
113
|
+
this.$refs.middleware.init(e).then((r) => {
|
|
114
|
+
setTimeout(() => {
|
|
115
|
+
this.statu = !1;
|
|
116
|
+
}, 1e3), i.close();
|
|
117
|
+
});
|
|
118
|
+
},
|
|
119
|
+
getFilSize(s) {
|
|
120
|
+
let t = s / 1024;
|
|
121
|
+
return t < 1024 ? `${Math.ceil(t)}K` : `${(s / 1024 / 1024).toFixed(2)}M`;
|
|
122
|
+
},
|
|
123
|
+
getFieldFormat(s) {
|
|
124
|
+
if (!["datepicker"].includes(s.datatype))
|
|
125
|
+
return "";
|
|
126
|
+
const t = this.timeLongshort.filter((e) => String(e.code) === String(s.fieldformat))[0];
|
|
127
|
+
return t ? t.name.replace("DD", "dd") : "yyyy-MM-dd HH:mm:ss";
|
|
128
|
+
},
|
|
129
|
+
init() {
|
|
130
|
+
this.confirmLoading = !0, Promise.all([this.getDetail(), this.getRootPermission(), this.getDocTypePage()]).then((s) => {
|
|
131
|
+
let t = [];
|
|
132
|
+
const e = this.record.attributes ? this.record.attributes : [], i = this.docTypeList.filter((a) => a.id === this.record.sysdoctypeid)[0];
|
|
133
|
+
this.docTypeData = i || {}, (i ? i.sysdoctypeattributes : []).forEach((a) => {
|
|
134
|
+
if (a.ishidden !== 1) {
|
|
135
|
+
const l = e.filter((n) => n.attrcode === a.attrcode)[0];
|
|
136
|
+
let d = {
|
|
137
|
+
name: a.name,
|
|
138
|
+
code: a.attrcode,
|
|
139
|
+
fkName: "",
|
|
140
|
+
effectType: a.datatype,
|
|
141
|
+
dictTypeCode: a.dicttypecode,
|
|
142
|
+
fieldFormat: this.getFieldFormat(a),
|
|
143
|
+
transkey: a.transkey ? `Dynamics.${a.transkey}` : null,
|
|
144
|
+
value: "",
|
|
145
|
+
fieldsize: a.fieldsize,
|
|
146
|
+
fkentity: a.fkentity,
|
|
147
|
+
statecodes: a.statecodes
|
|
148
|
+
};
|
|
149
|
+
l && Object.assign(d, {
|
|
150
|
+
fkName: l.attrname ? l.attrname : l.attrvalue,
|
|
151
|
+
fkId: ["fk"].includes(a.datatype) ? l.attrvalue : "",
|
|
152
|
+
value: this.getDefaultvalue(a, l.attrvalue)
|
|
153
|
+
}), t.push(d);
|
|
154
|
+
}
|
|
155
|
+
}), this.attributesList = [...t], this.activeName === "version" && this.refresh(), this.confirmLoading = !1;
|
|
156
|
+
});
|
|
157
|
+
},
|
|
158
|
+
getDefaultvalue(s, t) {
|
|
159
|
+
return ["checkbox"].includes(s.datatype) ? t.split(",") : ["double", "currency"].includes(s.datatype) ? t && Number(t).toFixed(s.fieldsize) : t;
|
|
160
|
+
},
|
|
161
|
+
open(s) {
|
|
162
|
+
this.type = s.type, this.activeName = "attribute", this.record = s, this.visible = !0, this.init();
|
|
163
|
+
},
|
|
164
|
+
getDocTypePage() {
|
|
165
|
+
c({ pageno: 1, pagesize: 1e3 }).then((s) => {
|
|
166
|
+
s.code === 200 && (this.docTypeList = s.data.rows);
|
|
167
|
+
});
|
|
168
|
+
},
|
|
169
|
+
getDetail() {
|
|
170
|
+
return o({ id: this.record.id }).then((s) => (s.code !== 200 || (this.record = s.data), s));
|
|
171
|
+
},
|
|
172
|
+
getRootPermission() {
|
|
173
|
+
return m({ docId: this.record.id }).then((s) => {
|
|
174
|
+
let t = {};
|
|
175
|
+
s.code === 200 ? t = s.data : this.$message.error(s.message), this.permissionData = t;
|
|
176
|
+
const e = f.filter((i) => i.type.includes(this.record.type));
|
|
177
|
+
return this.permissionMenus = e.map((i) => {
|
|
178
|
+
const r = t[i.code];
|
|
179
|
+
return Object.assign(
|
|
180
|
+
{ ...i },
|
|
181
|
+
{
|
|
182
|
+
allow: r !== void 0 ? r === 1 : !1,
|
|
183
|
+
refuse: r !== void 0 ? r === 2 : !1
|
|
184
|
+
}
|
|
185
|
+
);
|
|
186
|
+
}), s;
|
|
187
|
+
});
|
|
188
|
+
},
|
|
189
|
+
getBlobType(s) {
|
|
190
|
+
let t = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
191
|
+
return s === "pdf" ? t = "application/pdf" : s === "docx" && (t = "application/msword"), t;
|
|
192
|
+
},
|
|
193
|
+
closed() {
|
|
194
|
+
this.fullscreen = !1, this.visible = !1;
|
|
195
|
+
},
|
|
196
|
+
toggleFullscreen() {
|
|
197
|
+
this.fullscreen = !this.fullscreen;
|
|
198
|
+
},
|
|
199
|
+
getDictionary(s) {
|
|
200
|
+
return this.$options.filters.dictData(s);
|
|
201
|
+
},
|
|
202
|
+
doEvent(s) {
|
|
203
|
+
let t = s.item.functionName;
|
|
204
|
+
this[t] && this[t]();
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
var y = function() {
|
|
209
|
+
var t = this, e = t._self._c;
|
|
210
|
+
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: "700px", center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1, "destroy-on-close": !0 }, on: { "update:visible": function(i) {
|
|
211
|
+
t.visible = i;
|
|
212
|
+
}, closed: t.closed } }, [e("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.buttons, 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: "gd-doc-attribute" }, [t.visible ? e("el-tabs", { attrs: { type: "card" }, model: { value: t.activeName, callback: function(i) {
|
|
213
|
+
t.activeName = i;
|
|
214
|
+
}, expression: "activeName" } }, [e("el-tab-pane", { attrs: { label: t.$i18nt("gd.fileDocument.properties", "\u6587\u6863\u5C5E\u6027"), name: "attribute" } }, [e("div", { staticClass: "attribute", staticStyle: { "margin-top": "10px" } }, [e("div", { staticClass: "attribute-item" }, [e("div", { staticClass: "list" }, [e("div", { staticClass: "list-item list-label" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.form.attribute", "\u5C5E\u6027")))]), e("div", { staticClass: "item-val" }, [t._v(t._s(t.$i18nt("gd.form.value", "\u503C")))])]), e("div", { staticClass: "list-kuang" }, [e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.translation.name", "\u540D\u79F0")))]), e("div", { staticClass: "item-val line1", attrs: { title: t.record.name } }, [t._v(t._s(t.record.name))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.pathAddress", "\u8DEF\u5F84\u5730\u5740")))]), e("div", { staticClass: "item-val line1", attrs: { title: t.pathAddress } }, [t._v(t._s(t.pathAddress))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.file.fileAccept", "\u6587\u4EF6\u7C7B\u578B")))]), e("div", { staticClass: "item-val" }, [e("i", { staticClass: "gd-icons", class: t.fileIcon })])]), t.record.filesize ? [e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.file.fileSize", "\u6587\u4EF6\u5927\u5C0F")))]), e("div", { staticClass: "item-val", attrs: { title: t.recordFileSize } }, [t._v(t._s(t.recordFileSize))])]), t.record.version !== void 0 ? e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.currentVersion", "\u5F53\u524D\u7248\u672C")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.version } }, [t._v(t._s(t.record.version))])]) : t._e(), t.record.iseffectiveness !== void 0 ? e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.iseffectiveness", "\u6709\u6548")))]), e("div", { staticClass: "item-val" }, [e("el-tag", { style: t._f("dictColor")("yes_or_no", t.record.iseffectiveness), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")("yes_or_no", t.record.iseffectiveness)) + " ")])], 1)]) : t._e(), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.classification", "\u6587\u6863\u5206\u7C7B")))]), e("div", { staticClass: "item-val", attrs: { title: t.docTypeName } }, [t._v(t._s(t.docTypeName))])])] : t._e(), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.inheritedPermissions", "\u7EE7\u627F\u6743\u9650")))]), e("div", { staticClass: "item-val", attrs: { title: t._f("dictType")("yes_or_no", t.record.inheritpermissions) } }, [e("el-tag", { style: t._f("dictColor")("yes_or_no", t.record.inheritpermissions), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")("yes_or_no", t.record.inheritpermissions)) + " ")])], 1)]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.uploadTime", "\u6700\u540E\u4E0A\u4F20\u65F6\u95F4")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.uploaddate } }, [t._v(t._s(t.record.uploaddate))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.mdifyUser", "\u4FEE\u6539\u7528\u6237")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.updatedbyname } }, [t._v(t._s(t.record.updatedbyname ? t.record.updatedbyname : ""))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.web.updatedTime", "\u4FEE\u6539\u65F6\u95F4")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.updatedtime } }, [t._v(t._s(t.record.updatedtime))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.createUser", "\u521B\u5EFA\u7528\u6237")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.createdbyname } }, [t._v(t._s(t.record.createdbyname ? t.record.createdbyname : ""))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.web.creationTime", "\u521B\u5EFA\u65F6\u95F4")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.createdtime } }, [t._v(t._s(t.record.createdtime))])])], 2)])])])]), t.type === 2 ? e("el-tab-pane", { attrs: { label: t.$i18nt("gd.fileDocument.extendedAttributes", "\u6269\u5C55\u5C5E\u6027"), name: "extendedAttributes" } }, [e("div", { staticClass: "attribute" }, [t.type === 2 ? e("div", { staticClass: "attribute-item" }, [e("div", { staticClass: "list-title list-title-flex" }, [e("div", { staticClass: "list-title-name" }), t.hasRename && t.docTypeData.statecodes === 1 && t.attributesList.length > 0 ? e("div", { staticClass: "list-title-edit active-color", on: { click: t.editExtendedAttributes } }, [e("i", { staticClass: "el-icon-edit-outline active-color" }), t._v(" " + t._s(t.$i18nt("gd.btn.edit", "\u7F16\u8F91")) + " ")]) : t._e()]), e("div", { staticClass: "list" }, [e("div", { staticClass: "list-item list-label" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.form.attribute", "\u5C5E\u6027")))]), e("div", { staticClass: "item-val" }, [t._v(" " + t._s(t.$i18nt("gd.form.value", "\u503C")) + " ")])]), t.attributesList.length > 0 ? e("div", { staticClass: "list-kuang" }, t._l(t.attributesList, function(i) {
|
|
215
|
+
return e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(" " + t._s(t.$i18nt(i.transkey, i.name)) + " ")]), ["radio", "select", "switch"].includes(i.effectType) ? e("div", { staticClass: "item-val line1", attrs: { title: t._f("dictType")(i.dictTypeCode, i.value) } }, [e("el-tag", { style: t._f("dictColor")(i.dictTypeCode, i.value), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")(i.dictTypeCode, i.value)) + " ")])], 1) : ["datepicker"].includes(i.effectType) ? e("div", { staticClass: "item-val line1", attrs: { title: t._f("formatTime")(i.value, i.fieldFormat) } }, [t._v(" " + t._s(t._f("formatTime")(i.value, i.fieldFormat)) + " ")]) : ["checkbox"].includes(i.effectType) ? e("div", { staticClass: "item-val line1" }, [t._l(i.value, function(r, a) {
|
|
216
|
+
return [a < t.maxLeg ? e("el-tag", { style: t._f("dictColor")(i.dictTypeCode, r), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")(i.dictTypeCode, r)) + " ")]) : t._e(), a === t.maxLeg ? e("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { effect: "dark", placement: "top" } }, [e("div", { attrs: { slot: "content" }, slot: "content" }, [t._l(i.value, function(l, d) {
|
|
217
|
+
return [d >= t.maxLeg ? e("span", { staticStyle: { "padding-right": "4px" } }, [t._v(t._s(t._f("dictType")(i.dictTypeCode, l)))]) : t._e()];
|
|
218
|
+
})], 2), e("el-tag", { staticStyle: { "background-color": "#fff", "border-color": "#dcdfe2", color: "rgba(0, 0, 0, 0.65)" }, attrs: { effect: "dark" } }, [t._v(" ... ")])], 1) : t._e()];
|
|
219
|
+
})], 2) : ["fk"].includes(i.effectType) ? e("div", { staticClass: "item-val line1", attrs: { title: i.fkName } }, [i.fkId ? e("span", { staticClass: "active-color", on: { click: function(r) {
|
|
220
|
+
return t.seeFkItem(i);
|
|
221
|
+
} } }, [t._v(t._s(i.fkName))]) : t._e()]) : e("div", { staticClass: "item-val line1", attrs: { title: i.value } }, [t._v(t._s(i.value))])]);
|
|
222
|
+
}), 0) : e("div", { staticClass: "empty" }, [e("div", { staticClass: "empty-icon" }, [e("i", { staticClass: "el-icon-receiving" })]), e("div", { staticClass: "empty-title" }, [e("span", [t._v(t._s(t.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])])]) : t._e()])]) : t._e(), e("el-tab-pane", { attrs: { label: t.$i18nt("gd.page.limitsAuthority", "\u6743\u9650"), name: "permission" } }, [e("div", { staticClass: "list", staticStyle: { "margin-top": "12px" } }, [e("div", { staticClass: "list-item list-label" }, [e("div", { staticClass: "item-name" }, [t._v(t._s(t.$i18nt("gd.page.limitsAuthority", "\u6743\u9650")))]), e("div", { staticClass: "item-hand" }, [t._v(t._s(t.$i18nt("gd.fileDocument.allow", "\u5141\u8BB8")))]), e("div", { staticClass: "item-hand" }, [t._v(t._s(t.$i18nt("gd.fileDocument.refuse", "\u62D2\u7EDD")))])]), e("div", { staticClass: "list-kuang" }, [t._l(t.permissionMenus, function(i) {
|
|
223
|
+
return [i.show ? e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name" }, [t._v(" " + t._s(t.$i18nt(i.transkey, i.name)) + " (" + t._s(i.code) + ") ")]), e("div", { staticClass: "item-hand" }, [i.allow ? e("i", { staticClass: "el-icon-check", staticStyle: { color: "#52c41a" } }) : t._e()]), e("div", { staticClass: "item-hand" }, [i.refuse ? e("i", { staticClass: "el-icon-close", staticStyle: { color: "red" } }) : t._e()])]) : t._e()];
|
|
224
|
+
})], 2)])])], 1) : t._e()], 1)], 1), e("ExtendedAttributes", { ref: "extendedAttributes", on: { ok: t.init } }), e("gd-middleware", { ref: "middleware", on: { ok: t.init } })], 1);
|
|
225
|
+
}, g = [], h = /* @__PURE__ */ p(
|
|
226
|
+
_,
|
|
227
|
+
y,
|
|
228
|
+
g,
|
|
229
|
+
!1,
|
|
230
|
+
null,
|
|
231
|
+
"c4a2af33",
|
|
232
|
+
null,
|
|
233
|
+
null
|
|
234
|
+
);
|
|
235
|
+
const N = h.exports;
|
|
236
|
+
export {
|
|
237
|
+
N as default
|
|
238
|
+
};
|