gds-plus-design-vue 1.2.6 → 1.2.7
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/approvalModel.a26e8ff6.mjs +340 -0
- package/lib/approvalModel.cfd81971.js +1 -0
- package/lib/btnFunctionName.9aabfed0.js +1 -0
- package/lib/btnFunctionName.d08627cb.mjs +254 -0
- package/lib/btnRelation.8e608261.mjs +156 -0
- package/lib/btnRelation.cb3dc022.js +1 -0
- package/lib/businessRules.754cc398.mjs +539 -0
- package/lib/businessRules.f41f7035.js +1 -0
- package/lib/buttonRule.4483314f.mjs +396 -0
- package/lib/buttonRule.645de1d3.js +1 -0
- package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
- package/lib/chartDisplayRules.fedfefe8.js +1 -0
- package/lib/components.chartbi.470b96af.mjs +1798 -0
- package/lib/components.chartbi.e9459775.js +8 -0
- package/lib/components.coloreditor.affa0400.mjs +1505 -0
- package/lib/components.coloreditor.dbec8da6.js +6 -0
- package/lib/components.dataassign.39281072.mjs +147 -0
- package/lib/components.dataassign.b6a1bffb.js +1 -0
- package/lib/components.echarts.95ffc3b3.mjs +811 -0
- package/lib/components.echarts.d09e9850.js +4 -0
- package/lib/components.exception.11315db5.js +1 -0
- package/lib/components.exception.facf9df9.mjs +61 -0
- package/lib/components.form.56ea8f98.js +41 -0
- package/lib/components.form.a7b3ea37.mjs +7813 -0
- package/lib/components.globalheader.0a7ce959.js +1 -0
- package/lib/components.globalheader.4a5f7225.mjs +54 -0
- package/lib/components.iconselector.0c03cfc7.js +1 -0
- package/lib/components.iconselector.251c29b9.mjs +1169 -0
- package/lib/components.imgpreview.5546e541.mjs +213 -0
- package/lib/components.imgpreview.706a89f0.js +1 -0
- package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
- package/lib/components.lunccalendar.fe7db238.js +1 -0
- package/lib/components.middleware.01601349.js +1 -0
- package/lib/components.middleware.f5f4ac0f.mjs +148 -0
- package/lib/components.modaltitle.5ded43f9.mjs +127 -0
- package/lib/components.modaltitle.cc9ba616.js +1 -0
- package/lib/components.multitab.0f9da9f3.mjs +140 -0
- package/lib/components.multitab.726cff2f.js +1 -0
- package/lib/components.selecttree.1a71c963.mjs +170 -0
- package/lib/components.selecttree.2fadffca.js +1 -0
- package/lib/components.settingdrawer.1af86231.js +1 -0
- package/lib/components.settingdrawer.adc262cf.mjs +237 -0
- package/lib/components.sidemenu.03442146.mjs +277 -0
- package/lib/components.sidemenu.5107c7e3.js +1 -0
- package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
- package/lib/components.sidenavmenu.ef33de39.js +1 -0
- package/lib/components.statuschange.805a751b.mjs +116 -0
- package/lib/components.statuschange.83646c5d.js +1 -0
- package/lib/components.table.61eb5d81.js +8 -0
- package/lib/components.table.c986e58d.mjs +4650 -0
- package/lib/components.tableumy.35b465f9.mjs +453 -0
- package/lib/components.tableumy.eba43953.js +1 -0
- package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
- package/lib/components.tablevirtual.6af04c44.js +1 -0
- package/lib/components.teamsharing.68865424.js +1 -0
- package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
- package/lib/components.tooltip.ccb1717d.mjs +86 -0
- package/lib/components.tooltip.e2e21e66.js +1 -0
- package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
- package/lib/components.uploadfile.e93b500d.js +1 -0
- package/lib/components.uploadimg.3804913e.js +1 -0
- package/lib/components.uploadimg.e49707d9.mjs +192 -0
- package/lib/components.verificationcode.5a9c0220.js +1 -0
- package/lib/components.verificationcode.ead74922.mjs +71 -0
- package/lib/components.viewformdetails.3c1596ad.js +1 -0
- package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
- package/lib/components.viewloading.5b178ec5.js +1 -0
- package/lib/components.viewloading.cb7917b7.mjs +99 -0
- package/lib/components.watermark.849409ca.js +2 -0
- package/lib/components.watermark.a2521d0c.mjs +53 -0
- package/lib/components.xlsxexport.3405a00b.js +1 -0
- package/lib/components.xlsxexport.871f87d1.mjs +263 -0
- package/lib/components.xlsximport.85ce77cf.mjs +922 -0
- package/lib/components.xlsximport.e3bcb07d.js +1 -0
- package/lib/copy.b09a6d38.js +1 -0
- package/lib/copy.c0a2f16d.mjs +572 -0
- package/lib/dialogLayout.059ee256.mjs +138 -0
- package/lib/dialogLayout.cedf2865.js +1 -0
- package/lib/drawerContainer.38d7b530.mjs +154 -0
- package/lib/drawerContainer.ea7722d7.js +1 -0
- package/lib/drawerLayout.454e4921.js +1 -0
- package/lib/drawerLayout.fad843ee.mjs +119 -0
- package/lib/editForm.c199538f.mjs +434 -0
- package/lib/editForm.f9dc93ef.js +1 -0
- package/lib/flow.designer.4c83c0d3.js +1 -0
- package/lib/flow.designer.9442a995.mjs +7673 -0
- package/lib/flow.list.4a31969e.mjs +3032 -0
- package/lib/flow.list.f41ee531.js +1 -0
- package/lib/form.build.c38bf362.js +1 -0
- package/lib/form.build.fb9f905b.mjs +259 -0
- package/lib/form.designer.build.3fdf8007.js +1 -0
- package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
- package/lib/formFiled.624b8dd3.js +1 -0
- package/lib/formFiled.94fb1dce.mjs +498 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +233 -91087
- package/lib/http.appmanage.9b22ff82.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -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.d3a4afd9.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.1af1e119.mjs +517 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.menumanage.09fffb7d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.1d68e914.mjs +178 -0
- package/lib/http.message.87f319d7.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.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.7adf4910.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.3fa2dc66.mjs +40154 -0
- package/lib/index.fe757a98.js +8 -0
- package/lib/layoutBlocks.14c77a02.js +1 -0
- package/lib/layoutBlocks.5d71a03b.mjs +401 -0
- package/lib/layouts.a662f681.js +2 -0
- package/lib/layouts.ec4f20a2.mjs +376 -0
- package/lib/main.092a2ac8.js +1 -0
- package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
- package/lib/main.29769f01.js +1 -0
- package/lib/main.401059c6.mjs +189 -0
- package/lib/main.447be615.js +1 -0
- package/lib/main.4e507685.mjs +231 -0
- package/lib/main.72cafa63.mjs +540 -0
- package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
- package/lib/main.7601bd3d.mjs +166 -0
- package/lib/main.79199ac2.js +1 -0
- package/lib/main.821d081b.js +1 -0
- package/lib/main.8627466a.mjs +537 -0
- package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
- package/lib/main.8e6f6cba.mjs +323 -0
- package/lib/main.a9a54af9.js +1 -0
- package/lib/main.e033a376.js +1 -0
- package/lib/main.e2e4ba74.js +1 -0
- package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
- package/lib/main.ea3a04f4.js +1 -0
- package/lib/main.f44d8279.js +1 -0
- package/lib/messages.5f54a62e.js +9 -0
- package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
- package/lib/packages.filedocument.8418d852.mjs +4039 -0
- package/lib/packages.filedocument.9b8eda0d.js +1 -0
- package/lib/page.build.4d28df9a.js +12 -0
- package/lib/page.build.78cc7396.mjs +3020 -0
- package/lib/personal.echarts.940f1cc9.mjs +696 -0
- package/lib/personal.echarts.b5a7f574.js +1 -0
- package/lib/result.0161b0e0.js +1 -0
- package/lib/result.5a9330d7.mjs +627 -0
- package/lib/router.config.79a98ab8.mjs +3105 -0
- package/lib/router.config.7fd04c30.js +1 -0
- package/lib/solution.application.3ae7c0c5.js +1 -0
- package/lib/solution.application.fdc15ffc.mjs +548 -0
- package/lib/solution.applicationmenu.67aba620.js +1 -0
- package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
- package/lib/solution.approvalflow.81b7cfb7.js +1 -0
- package/lib/solution.approvalflow.a541adcc.mjs +436 -0
- package/lib/solution.dict.addbce33.mjs +769 -0
- package/lib/solution.dict.f1c9bae6.js +1 -0
- package/lib/solution.menu.2033fa37.mjs +5834 -0
- package/lib/solution.menu.6512047f.js +1 -0
- package/lib/solution.plugin.7094dbfd.js +1 -0
- package/lib/solution.plugin.d8f057cb.mjs +347 -0
- package/lib/solution.processflow.0adf4f55.js +1 -0
- package/lib/solution.processflow.a779bd58.mjs +392 -0
- package/lib/solution.role.d35cb00d.js +1 -0
- package/lib/solution.role.d9a4b25a.mjs +456 -0
- package/lib/solution.webresources.e1421655.mjs +379 -0
- package/lib/solution.webresources.e817757c.js +1 -0
- package/lib/solution.workflow.59552b8c.mjs +395 -0
- package/lib/solution.workflow.985e1f4d.js +1 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/store.config.5e5cb48a.mjs +547 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1b281679.js +216 -0
- package/lib/system.account.96d5bc17.mjs +2093 -0
- package/lib/system.config.0ff45e62.js +1 -0
- package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
- package/lib/system.dict.8e4fe6b0.js +1 -0
- package/lib/system.document.69e534a6.js +1 -0
- package/lib/system.document.8e4dbe5e.mjs +667 -0
- package/lib/system.duplicatechecking.1083eb1e.js +1 -0
- package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
- package/lib/system.email.06bb7cc1.mjs +133 -0
- package/lib/system.email.41036a31.js +1 -0
- package/lib/system.fieldsecurity.3ea880d8.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
- package/lib/system.file.b8e4e6a1.js +1 -0
- package/lib/system.log.14c22a7a.js +1 -0
- package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
- package/lib/system.onlineuser.fc26aff9.js +1 -0
- package/lib/system.org.b6f826e8.js +1 -0
- package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
- package/lib/system.permissions.75406743.mjs +972 -0
- package/lib/system.permissions.97f68887.js +1 -0
- package/lib/system.plugin.3fcf7b0b.js +1 -0
- package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
- package/lib/system.sumberrules.5e9cd262.js +1 -0
- package/lib/system.team.3e605266.js +1 -0
- package/lib/system.team.bb1fb40e.mjs +452 -0
- package/lib/system.teammembers.a098883b.js +1 -0
- package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
- package/lib/system.useraffiliation.f8b33def.js +1 -0
- package/lib/system.webresource.1d3ed352.js +1 -0
- package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
- package/lib/system.welcome.eedf1db2.js +1 -0
- package/lib/tableDescriptions.923c4ef1.mjs +80 -0
- package/lib/tableDescriptions.b12679b0.js +1 -0
- package/lib/tcheckboxs.887d733c.mjs +52 -0
- package/lib/tcheckboxs.fe7e574a.js +1 -0
- package/lib/tcurrency.10ac9aa7.mjs +85 -0
- package/lib/tcurrency.20e959c0.js +1 -0
- package/lib/tdatepicker.54036bba.js +1 -0
- package/lib/tdatepicker.a08ad382.mjs +52 -0
- package/lib/tdictSwitch.274e9f86.js +1 -0
- package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
- package/lib/tfile.5c897827.js +1 -0
- package/lib/tfile.f63b73b9.mjs +62 -0
- package/lib/tparticipants.4698962b.mjs +56 -0
- package/lib/tparticipants.b6fb4545.js +1 -0
- package/lib/translation.mains.5cfc7a2f.js +1 -0
- package/lib/translation.mains.e6cb610b.mjs +383 -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.885de913.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/view.build.051553d8.mjs +1578 -0
- package/lib/view.build.9af3087b.js +1 -0
- package/lib/viewList.209956c3.js +1 -0
- package/lib/viewList.c05c92be.mjs +318 -0
- package/lib/viewTree.0cd9f1a2.js +1 -0
- package/lib/viewTree.c5290360.mjs +409 -0
- package/locale/en_US.js +92 -28
- package/locale/id_ID.js +76 -12
- package/locale/vi_VN.js +2012 -1948
- package/locale/zh_CN.js +97 -33
- 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/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,373 @@
|
|
|
1
|
+
import { m as h, n as f } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { g as p, h as g } from "./http.main.1af1e119.mjs";
|
|
3
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
+
import "./utils.util.js.885de913.mjs";
|
|
5
|
+
const b = {
|
|
6
|
+
name: "GdTeamSharing",
|
|
7
|
+
props: {
|
|
8
|
+
tableNames: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "sys_user,sys_team"
|
|
11
|
+
},
|
|
12
|
+
tableData: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default: () => ({})
|
|
15
|
+
},
|
|
16
|
+
isInterface: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
},
|
|
20
|
+
modalAppendToBody: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !0
|
|
23
|
+
},
|
|
24
|
+
appendToBody: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: !1
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
data() {
|
|
30
|
+
return {
|
|
31
|
+
buttons: [
|
|
32
|
+
{
|
|
33
|
+
displayName: "\u786E\u5B9A",
|
|
34
|
+
functionName: "handleSubmit",
|
|
35
|
+
show: !0,
|
|
36
|
+
transKey: "gd.btn.confirm",
|
|
37
|
+
icon: "el-icon-document-checked"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
operatorButtons: [
|
|
41
|
+
{
|
|
42
|
+
displayName: "\u6DFB\u52A0\u7528\u6237/\u56E2\u961F",
|
|
43
|
+
functionName: "selRecord",
|
|
44
|
+
show: !0,
|
|
45
|
+
transKey: "gd.teamSharing.addut",
|
|
46
|
+
icon: "el-icon-plus"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: "\u5220\u9664\u5DF2\u9009",
|
|
50
|
+
functionName: "delRecord",
|
|
51
|
+
show: !0,
|
|
52
|
+
transKey: "gd.teamSharing.delSelected",
|
|
53
|
+
icon: "el-icon-delete",
|
|
54
|
+
btnType: "danger"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
id: "",
|
|
58
|
+
visible: !1,
|
|
59
|
+
confirmLoading: !1,
|
|
60
|
+
fullscreen: !1,
|
|
61
|
+
selectedAllRowKeys: [],
|
|
62
|
+
selectedRowKeys: [],
|
|
63
|
+
selectedRows: [],
|
|
64
|
+
width: "90%",
|
|
65
|
+
loadDataList: (s) => new Promise((e, t) => {
|
|
66
|
+
e({ pageNo: 1, pageSize: 100, totalRows: 0, rows: this.loadData });
|
|
67
|
+
}),
|
|
68
|
+
loadData: [],
|
|
69
|
+
loadOldData: [],
|
|
70
|
+
columns: [
|
|
71
|
+
{
|
|
72
|
+
type: "selection",
|
|
73
|
+
width: "60",
|
|
74
|
+
fixed: !0
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
transKey: "gd.teamSharing.name",
|
|
78
|
+
prop: "name",
|
|
79
|
+
label: "\u7528\u6237\u540D\u79F0",
|
|
80
|
+
align: "left"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
transKey: "gd.teamSharing.query",
|
|
84
|
+
prop: "isQuery",
|
|
85
|
+
label: "\u67E5\u8BE2",
|
|
86
|
+
type: "slot",
|
|
87
|
+
slotType: "isQuery",
|
|
88
|
+
align: "center",
|
|
89
|
+
width: "120px"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
transKey: "gd.teamSharing.edit",
|
|
93
|
+
prop: "isEdit",
|
|
94
|
+
label: "\u7F16\u8F91",
|
|
95
|
+
type: "slot",
|
|
96
|
+
slotType: "isEdit",
|
|
97
|
+
align: "center",
|
|
98
|
+
width: "120px"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
transKey: "gd.teamSharing.delete",
|
|
102
|
+
prop: "isDelete",
|
|
103
|
+
label: "\u5220\u9664",
|
|
104
|
+
type: "slot",
|
|
105
|
+
slotType: "isDelete",
|
|
106
|
+
align: "center",
|
|
107
|
+
width: "120px"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
transKey: "gd.https.assign",
|
|
111
|
+
prop: "isAllocation",
|
|
112
|
+
label: "\u5206\u6D3E",
|
|
113
|
+
type: "slot",
|
|
114
|
+
slotType: "isAllocation",
|
|
115
|
+
align: "center",
|
|
116
|
+
width: "120px"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
transKey: "gd.teamSharing.share",
|
|
120
|
+
prop: "isShare",
|
|
121
|
+
label: "\u5171\u4EAB",
|
|
122
|
+
type: "slot",
|
|
123
|
+
slotType: "isShare",
|
|
124
|
+
align: "center",
|
|
125
|
+
width: "120px"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
transKey: "gd.teamSharing.source",
|
|
129
|
+
prop: "source",
|
|
130
|
+
label: "\u6765\u6E90",
|
|
131
|
+
align: "left",
|
|
132
|
+
type: "slot",
|
|
133
|
+
slotType: "source"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
computed: {
|
|
139
|
+
height() {
|
|
140
|
+
return this.screenHeight - (this.fullscreen ? 130 : 280);
|
|
141
|
+
},
|
|
142
|
+
...h(["screenHeight", "tableLists", "tableSize", "tablePageSize"])
|
|
143
|
+
},
|
|
144
|
+
methods: {
|
|
145
|
+
handleSubmit() {
|
|
146
|
+
let s = this;
|
|
147
|
+
s.confirmLoading = !0;
|
|
148
|
+
const e = this.$refs.table.tableData;
|
|
149
|
+
if (e.length === 0 && this.loadOldData.length === 0) {
|
|
150
|
+
this.$message.warning(this.$i18nt("gd.teamSharing.addutTip", "\u8BF7\u6DFB\u52A0\u7528\u6237/\u56E2\u961F!")), s.confirmLoading = !1;
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
this.$confirm(this.$i18nt("gd.https.confirmSaveTip", "\u662F\u5426\u786E\u8BA4\u4FDD\u5B58\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
154
|
+
confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
|
|
155
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
156
|
+
showClose: !1,
|
|
157
|
+
confirmButtonLoading: !1,
|
|
158
|
+
cancelButtonLoading: !1,
|
|
159
|
+
closeOnClickModal: !1,
|
|
160
|
+
type: "warning",
|
|
161
|
+
confirmButtonClass: "el-button--danger",
|
|
162
|
+
customClass: "custom-alert",
|
|
163
|
+
callback: () => {
|
|
164
|
+
},
|
|
165
|
+
beforeClose: (t, i, a) => {
|
|
166
|
+
if (t !== "confirm") {
|
|
167
|
+
s.confirmLoading = !1, a();
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1;
|
|
171
|
+
let n = [], o = [];
|
|
172
|
+
e.forEach((l) => {
|
|
173
|
+
o.push(l.ids);
|
|
174
|
+
const d = s.loadOldData.filter((u) => l.ids === u.ids)[0];
|
|
175
|
+
n.push({
|
|
176
|
+
isdelete: l.isdelete ? 1 : 0,
|
|
177
|
+
isedit: l.isedit ? 1 : 0,
|
|
178
|
+
isquery: l.isquery ? 1 : 0,
|
|
179
|
+
isshare: l.isshare ? 1 : 0,
|
|
180
|
+
isallocation: l.isallocation ? 1 : 0,
|
|
181
|
+
dataid: l.dataid,
|
|
182
|
+
userteamid_aboutid: l.userteamid_aboutid,
|
|
183
|
+
userteamid_abouttable: l.userteamid_abouttable,
|
|
184
|
+
name: l.name,
|
|
185
|
+
type: d ? 2 : 1,
|
|
186
|
+
id: d ? d.id : 0
|
|
187
|
+
});
|
|
188
|
+
});
|
|
189
|
+
let r = s.loadOldData.filter((l) => !o.includes(l.ids)).map((l) => (l.isdelete = l.isdelete ? 1 : 0, l.isedit = l.isedit ? 1 : 0, l.isquery = l.isquery ? 1 : 0, l.isshare = l.isshare ? 1 : 0, l.isallocation = l.isallocation ? 1 : 0, l.type = 3, l));
|
|
190
|
+
if (this.isInterface) {
|
|
191
|
+
let l = {
|
|
192
|
+
tablename: s.tableData.tablename,
|
|
193
|
+
dataid: s.id,
|
|
194
|
+
list: n.concat(r)
|
|
195
|
+
};
|
|
196
|
+
p(l).then((d) => {
|
|
197
|
+
i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, s.confirmLoading = !1, d.success ? (s.$message.success(s.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), s.$emit("ok", l), s.closed()) : s.$message.error(s.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + d.message);
|
|
198
|
+
});
|
|
199
|
+
} else {
|
|
200
|
+
let l = {
|
|
201
|
+
tablename: s.tableData.tablename,
|
|
202
|
+
dataid: s.id,
|
|
203
|
+
list: n
|
|
204
|
+
};
|
|
205
|
+
s.$message.success(s.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), s.$emit("ok", l), s.closed();
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
},
|
|
210
|
+
delRecord() {
|
|
211
|
+
this.selectedRowKeys.length !== 0 && this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
212
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
213
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
214
|
+
showClose: !1,
|
|
215
|
+
confirmButtonLoading: !1,
|
|
216
|
+
cancelButtonLoading: !1,
|
|
217
|
+
closeOnClickModal: !1,
|
|
218
|
+
type: "warning",
|
|
219
|
+
confirmButtonClass: "el-button--danger",
|
|
220
|
+
customClass: "custom-alert",
|
|
221
|
+
callback: () => {
|
|
222
|
+
},
|
|
223
|
+
beforeClose: (s, e, t) => {
|
|
224
|
+
if (t(), s !== "confirm")
|
|
225
|
+
return;
|
|
226
|
+
const i = this.$refs.table.tableData, a = i.filter((o) => !this.selectedRowKeys.includes(o.ids)), n = i.filter((o) => this.selectedRowKeys.includes(o.ids));
|
|
227
|
+
this.selectedAllRowKeys = this.selectedAllRowKeys.filter((o) => !n.filter((l) => l.userteamid_aboutid === o)[0]), this.loadData = [...a], this.refresh();
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
},
|
|
231
|
+
lookupSeled(s) {
|
|
232
|
+
const e = this.$refs.table.tableData, t = e.filter((a) => s.data.includes(a.userteamid_aboutid));
|
|
233
|
+
let i = [...t];
|
|
234
|
+
s.fkData.forEach((a) => {
|
|
235
|
+
if (!t.filter((o) => o.userteamid_aboutid === a.id)[0]) {
|
|
236
|
+
const o = this.tableLists.filter((l) => l.tablename === a.tableName)[0], r = e.filter((l) => l.id === a.userteamid_aboutid)[0];
|
|
237
|
+
i.push(
|
|
238
|
+
Object.assign(
|
|
239
|
+
{ ...a },
|
|
240
|
+
{
|
|
241
|
+
transkey: o.transkey,
|
|
242
|
+
busname: o.busname,
|
|
243
|
+
isquery: !0,
|
|
244
|
+
isedit: !1,
|
|
245
|
+
isdelete: !1,
|
|
246
|
+
isshare: !1,
|
|
247
|
+
isallocation: !1,
|
|
248
|
+
userteamid_abouttable: o.tablename,
|
|
249
|
+
userteamid_aboutid: a.id,
|
|
250
|
+
dataid: this.id,
|
|
251
|
+
ids: `${a.id}&${o.tablename}`
|
|
252
|
+
},
|
|
253
|
+
r ? {
|
|
254
|
+
isquery: r.isquery,
|
|
255
|
+
isedit: r.isedit,
|
|
256
|
+
isdelete: r.isdelete,
|
|
257
|
+
isshare: r.isshare,
|
|
258
|
+
isallocation: r.isallocation
|
|
259
|
+
} : {}
|
|
260
|
+
)
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
}), this.selectedAllRowKeys = [...s.data], this.loadData = [...i], this.refresh();
|
|
264
|
+
},
|
|
265
|
+
selRecord() {
|
|
266
|
+
this.$refs.viewSearch.open({
|
|
267
|
+
fkEntityName: this.tableNames,
|
|
268
|
+
effectType: "participants",
|
|
269
|
+
val: this.selectedAllRowKeys
|
|
270
|
+
});
|
|
271
|
+
},
|
|
272
|
+
open(s) {
|
|
273
|
+
if (this.visible = !0, this.loadOldData = [], this.isInterface)
|
|
274
|
+
this.id = s, this.getShared();
|
|
275
|
+
else {
|
|
276
|
+
if (s.extensionobj) {
|
|
277
|
+
let e = [];
|
|
278
|
+
this.loadData = [...JSON.parse(s.extensionobj)].map((t) => {
|
|
279
|
+
const i = this.tableLists.filter((a) => a.tablename === t.userteamid_abouttable)[0];
|
|
280
|
+
return t.isdelete = t.isdelete === 1, t.isedit = t.isedit === 1, t.isquery = t.isquery === 1, t.isshare = t.isshare === 1, t.isallocation = t.isallocation === 1, t.transkey = i.transkey, t.busname = i.busname, t.ids = `${t.userteamid_aboutid}&${i.tablename}`, e.push(t.userteamid_aboutid), t;
|
|
281
|
+
}), this.loadOldData = JSON.parse(s.extensionobj), this.selectedAllRowKeys = [...e];
|
|
282
|
+
}
|
|
283
|
+
this.$nextTick(() => {
|
|
284
|
+
setTimeout(() => {
|
|
285
|
+
this.refresh();
|
|
286
|
+
}, 0);
|
|
287
|
+
}), this.confirmLoading = !1;
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
getShared() {
|
|
291
|
+
this.confirmLoading = !0, g({
|
|
292
|
+
id: this.id,
|
|
293
|
+
tableName: this.tableData.tablename
|
|
294
|
+
}).then((s) => {
|
|
295
|
+
if (s.success) {
|
|
296
|
+
let e = [];
|
|
297
|
+
this.loadData = [...s.data].map((t) => {
|
|
298
|
+
const i = this.tableLists.filter((a) => a.tablename === t.userteamid_abouttable)[0];
|
|
299
|
+
return t.isdelete = t.isdelete === 1, t.isedit = t.isedit === 1, t.isquery = t.isquery === 1, t.isshare = t.isshare === 1, t.isallocation = t.isallocation === 1, t.transkey = i.transkey, t.busname = i.busname, t.ids = `${t.userteamid_aboutid}&${i.tablename}`, e.push(t.userteamid_aboutid), t;
|
|
300
|
+
}), this.loadOldData = JSON.parse(JSON.stringify(s.data)), this.selectedAllRowKeys = [...e];
|
|
301
|
+
} else
|
|
302
|
+
this.$message.warning(s.message), this.confirmLoading = !1;
|
|
303
|
+
this.$nextTick(() => {
|
|
304
|
+
setTimeout(() => {
|
|
305
|
+
this.refresh();
|
|
306
|
+
}, 0);
|
|
307
|
+
}), this.confirmLoading = !1;
|
|
308
|
+
});
|
|
309
|
+
},
|
|
310
|
+
onSelectChange(s, e) {
|
|
311
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
312
|
+
},
|
|
313
|
+
refresh() {
|
|
314
|
+
this.$refs.table.refresh(!0);
|
|
315
|
+
},
|
|
316
|
+
closed() {
|
|
317
|
+
this.fullscreen = !1, this.visible = !1;
|
|
318
|
+
},
|
|
319
|
+
toggleFullscreen() {
|
|
320
|
+
this.fullscreen = !this.fullscreen;
|
|
321
|
+
},
|
|
322
|
+
doEvent(s) {
|
|
323
|
+
const e = s.item.functionName;
|
|
324
|
+
this[e] && this[e]();
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
var m = function() {
|
|
329
|
+
var e = this, t = e._self._c;
|
|
330
|
+
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, "modal-append-to-body": !1, "append-to-body": !0, appendToBody: !0, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
331
|
+
e.visible = i;
|
|
332
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.teamSharing.title", "\u5171\u4EAB"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("gd-tables", { ref: "table", attrs: { dataSource: e.loadDataList, size: e.tableSize, pageSize: e.tablePageSize, columns: e.columns, selectedRowKeys: e.selectedRowKeys, height: e.height, showPagination: !1, initialLoading: !1, disabledRefresh: !0, rowKey: "ids" }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
333
|
+
return [t("gd-btn-list", { attrs: { sysViewButtons: e.operatorButtons }, on: { functionName: e.doEvent } })];
|
|
334
|
+
}, proxy: !0 }, { key: "isQuery", fn: function({ column: i, row: a }) {
|
|
335
|
+
return [t("el-checkbox", { model: { value: a.isquery, callback: function(n) {
|
|
336
|
+
e.$set(a, "isquery", n);
|
|
337
|
+
}, expression: "row.isquery" } })];
|
|
338
|
+
} }, { key: "isEdit", fn: function({ column: i, row: a }) {
|
|
339
|
+
return [t("el-checkbox", { model: { value: a.isedit, callback: function(n) {
|
|
340
|
+
e.$set(a, "isedit", n);
|
|
341
|
+
}, expression: "row.isedit" } })];
|
|
342
|
+
} }, { key: "isDelete", fn: function({ column: i, row: a }) {
|
|
343
|
+
return [t("el-checkbox", { model: { value: a.isdelete, callback: function(n) {
|
|
344
|
+
e.$set(a, "isdelete", n);
|
|
345
|
+
}, expression: "row.isdelete" } })];
|
|
346
|
+
} }, { key: "isAllocation", fn: function({ column: i, row: a }) {
|
|
347
|
+
return [t("el-checkbox", { model: { value: a.isallocation, callback: function(n) {
|
|
348
|
+
e.$set(a, "isallocation", n);
|
|
349
|
+
}, expression: "row.isallocation" } })];
|
|
350
|
+
} }, { key: "isShare", fn: function({ column: i, row: a }) {
|
|
351
|
+
return [t("el-checkbox", { model: { value: a.isshare, callback: function(n) {
|
|
352
|
+
e.$set(a, "isshare", n);
|
|
353
|
+
}, expression: "row.isshare" } })];
|
|
354
|
+
} }, { key: "source", fn: function({ column: i, row: a }) {
|
|
355
|
+
return [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.busname)) + "/" + e._s(a.userteamid_abouttable) + " ")];
|
|
356
|
+
} }], null, !1, 428592404) }) : e._e()], 1)], 2), t("gd-search", { ref: "viewSearch", attrs: { modalAppendToBody: e.modalAppendToBody, appendToBody: e.appendToBody }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
357
|
+
}, y = [], w = /* @__PURE__ */ f(
|
|
358
|
+
b,
|
|
359
|
+
m,
|
|
360
|
+
y,
|
|
361
|
+
!1,
|
|
362
|
+
null,
|
|
363
|
+
"74494856",
|
|
364
|
+
null,
|
|
365
|
+
null
|
|
366
|
+
);
|
|
367
|
+
const c = w.exports;
|
|
368
|
+
c.install = function(s) {
|
|
369
|
+
s.component(c.name, c);
|
|
370
|
+
};
|
|
371
|
+
export {
|
|
372
|
+
c as default
|
|
373
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { m as l, n as r } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
const i = {
|
|
3
|
+
name: "GdTooltip",
|
|
4
|
+
props: {
|
|
5
|
+
highlight: {
|
|
6
|
+
type: Boolean,
|
|
7
|
+
default: !1
|
|
8
|
+
},
|
|
9
|
+
align: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "align"
|
|
12
|
+
},
|
|
13
|
+
rowKey: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "name"
|
|
16
|
+
},
|
|
17
|
+
line: {
|
|
18
|
+
type: [String, Number],
|
|
19
|
+
default: "1"
|
|
20
|
+
},
|
|
21
|
+
row: {
|
|
22
|
+
type: Object,
|
|
23
|
+
default: () => ({})
|
|
24
|
+
},
|
|
25
|
+
disabled: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !0
|
|
28
|
+
},
|
|
29
|
+
transKey: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: ""
|
|
32
|
+
},
|
|
33
|
+
prevent: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !0
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
computed: {
|
|
39
|
+
content() {
|
|
40
|
+
const e = this.row[this.rowKey] || "";
|
|
41
|
+
return this.$i18nt(this.transKey, e);
|
|
42
|
+
},
|
|
43
|
+
lineClass() {
|
|
44
|
+
return `line${this.line}`;
|
|
45
|
+
},
|
|
46
|
+
placement() {
|
|
47
|
+
let e = "top";
|
|
48
|
+
const t = this.row[this.align] || "is-center";
|
|
49
|
+
return t === "is-left" ? e = "top-start" : t === "is-right" && (e = "top-end"), e;
|
|
50
|
+
},
|
|
51
|
+
cstyle() {
|
|
52
|
+
return this.highlight ? `color:${this.primaryColor};cursor: pointer;` : "cursor: pointer;";
|
|
53
|
+
},
|
|
54
|
+
...l(["primaryColor"])
|
|
55
|
+
},
|
|
56
|
+
data() {
|
|
57
|
+
return {};
|
|
58
|
+
},
|
|
59
|
+
methods: {
|
|
60
|
+
changeHand() {
|
|
61
|
+
this.$emit("click", this.row);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
var o = function() {
|
|
66
|
+
var t = this, n = t._self._c;
|
|
67
|
+
return n("div", [n("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { placement: t.placement, "open-delay": 50, disabled: t.disabled } }, [n("div", { staticClass: "tooltip-content", attrs: { slot: "content" }, slot: "content" }, [t._v(t._s(t.content))]), t.prevent ? n("div", { class: t.lineClass, style: t.cstyle, on: { click: function(s) {
|
|
68
|
+
return s.stopPropagation(), t.changeHand.apply(null, arguments);
|
|
69
|
+
} } }, [t._v(t._s(t.content))]) : n("div", { class: t.lineClass, style: t.cstyle, on: { click: t.changeHand } }, [t._v(t._s(t.content))])])], 1);
|
|
70
|
+
}, c = [], p = /* @__PURE__ */ r(
|
|
71
|
+
i,
|
|
72
|
+
o,
|
|
73
|
+
c,
|
|
74
|
+
!1,
|
|
75
|
+
null,
|
|
76
|
+
"b6a24a5e",
|
|
77
|
+
null,
|
|
78
|
+
null
|
|
79
|
+
);
|
|
80
|
+
const a = p.exports;
|
|
81
|
+
a.install = function(e) {
|
|
82
|
+
e.component(a.name, a);
|
|
83
|
+
};
|
|
84
|
+
export {
|
|
85
|
+
a as G
|
|
86
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./components.chartbi.e9459775.js");const i={name:"GdTooltip",props:{highlight:{type:Boolean,default:!1},align:{type:String,default:"align"},rowKey:{type:String,default:"name"},line:{type:[String,Number],default:"1"},row:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!0},transKey:{type:String,default:""},prevent:{type:Boolean,default:!0}},computed:{content(){const e=this.row[this.rowKey]||"";return this.$i18nt(this.transKey,e)},lineClass(){return`line${this.line}`},placement(){let e="top";const t=this.row[this.align]||"is-center";return t==="is-left"?e="top-start":t==="is-right"&&(e="top-end"),e},cstyle(){return this.highlight?`color:${this.primaryColor};cursor: pointer;`:"cursor: pointer;"},...s.mapGetters(["primaryColor"])},data(){return{}},methods:{changeHand(){this.$emit("click",this.row)}}};var r=function(){var t=this,n=t._self._c;return n("div",[n("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],attrs:{placement:t.placement,"open-delay":50,disabled:t.disabled}},[n("div",{staticClass:"tooltip-content",attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.content))]),t.prevent?n("div",{class:t.lineClass,style:t.cstyle,on:{click:function(l){return l.stopPropagation(),t.changeHand.apply(null,arguments)}}},[t._v(t._s(t.content))]):n("div",{class:t.lineClass,style:t.cstyle,on:{click:t.changeHand}},[t._v(t._s(t.content))])])],1)},o=[],c=s.normalizeComponent(i,r,o,!1,null,"b6a24a5e",null,null);const a=c.exports;a.install=function(e){e.component(a.name,a)};exports.GDpackage=a;
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { a as d, s as p } from "./http.filemanage.c0de21d6.mjs";
|
|
2
|
+
import { b as f, d as c } from "./utils.util.js.885de913.mjs";
|
|
3
|
+
import { n as h } from "./components.chartbi.470b96af.mjs";
|
|
4
|
+
const u = {
|
|
5
|
+
name: "GdUploadFile",
|
|
6
|
+
props: {
|
|
7
|
+
record: {
|
|
8
|
+
type: Object,
|
|
9
|
+
required: !0
|
|
10
|
+
},
|
|
11
|
+
model: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => ({})
|
|
14
|
+
},
|
|
15
|
+
disabled: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: !1
|
|
18
|
+
},
|
|
19
|
+
limit: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 1
|
|
22
|
+
},
|
|
23
|
+
prop: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: ""
|
|
26
|
+
},
|
|
27
|
+
develop: {
|
|
28
|
+
type: [Number, String],
|
|
29
|
+
default: 1
|
|
30
|
+
},
|
|
31
|
+
accept: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
size: {
|
|
36
|
+
type: Number,
|
|
37
|
+
default: 100
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
data() {
|
|
41
|
+
return {
|
|
42
|
+
fileUploadList: [],
|
|
43
|
+
fileListFile: [],
|
|
44
|
+
uid: "",
|
|
45
|
+
imgList: [],
|
|
46
|
+
currentImg: "",
|
|
47
|
+
leg: 0,
|
|
48
|
+
fileName: "",
|
|
49
|
+
uidUploading: []
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
computed: {
|
|
53
|
+
isDrag() {
|
|
54
|
+
return this.options.drag !== void 0 ? this.options.drag : !1;
|
|
55
|
+
},
|
|
56
|
+
download() {
|
|
57
|
+
return this.options.download !== void 0 ? this.options.download : !1;
|
|
58
|
+
},
|
|
59
|
+
disableds() {
|
|
60
|
+
return this.limit <= this.leg ? !0 : this.disabled;
|
|
61
|
+
},
|
|
62
|
+
fileAccept() {
|
|
63
|
+
return this.accept ? this.accept : f("file");
|
|
64
|
+
},
|
|
65
|
+
fileSize() {
|
|
66
|
+
return this.size ? this.size : c("file");
|
|
67
|
+
},
|
|
68
|
+
options() {
|
|
69
|
+
return this.record.options;
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
methods: {
|
|
73
|
+
clearFiles() {
|
|
74
|
+
this.fileListFile = [], this.uidUploading = [], this.record.uidUploading = [], this.leg = 0, this.record.sourceData = JSON.stringify([]), this.model[this.prop] = "", this.$refs.uploadFile && this.$refs.uploadFile.clearFiles(), this.handleChange();
|
|
75
|
+
},
|
|
76
|
+
onExceed() {
|
|
77
|
+
this.$message.error(this.$i18nt("gd.view.fileLimitTip", "\u5DF2\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u6570\u91CF"));
|
|
78
|
+
},
|
|
79
|
+
beforeUpload(i) {
|
|
80
|
+
return !(this.limit <= this.leg);
|
|
81
|
+
},
|
|
82
|
+
setDataMore({ val: i, data: e, items: l, fkData: o }) {
|
|
83
|
+
this.setData(i);
|
|
84
|
+
},
|
|
85
|
+
isJSON(i) {
|
|
86
|
+
try {
|
|
87
|
+
JSON.parse(i);
|
|
88
|
+
} catch {
|
|
89
|
+
return !1;
|
|
90
|
+
}
|
|
91
|
+
return !0;
|
|
92
|
+
},
|
|
93
|
+
setData(i) {
|
|
94
|
+
if (i === "" || i === null) {
|
|
95
|
+
this.clearFiles();
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
const e = this.isJSON(i) ? JSON.parse(i) : [];
|
|
99
|
+
let l = [], o = [];
|
|
100
|
+
e.forEach((s) => {
|
|
101
|
+
const r = s.id ? s.id : s.fileId;
|
|
102
|
+
l.push({
|
|
103
|
+
uid: r,
|
|
104
|
+
name: s.name ? s.name : s.fileoriginname,
|
|
105
|
+
fileoriginname: s.name ? s.name : s.fileoriginname,
|
|
106
|
+
id: r,
|
|
107
|
+
fileId: r,
|
|
108
|
+
url: s.url ? s.url : s.filepath
|
|
109
|
+
}), r && o.push(r);
|
|
110
|
+
}), this.fileListFile = [...l], this.fileListFile.length === 0 && this.clearFiles(), this.leg = l.length, this.record.sourceData = JSON.stringify(l), this.model[this.prop] = o.join(",");
|
|
111
|
+
},
|
|
112
|
+
previewFile(i) {
|
|
113
|
+
this.fileName = i.fileoriginname || i.name;
|
|
114
|
+
let e = "", l = "";
|
|
115
|
+
i.response && i.response.fileoriginname ? (e = i.response.fileoriginname, l = i.response.id) : (e = i.name, l = i.fileId);
|
|
116
|
+
const o = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
|
|
117
|
+
["gif", "jpeg", "png", "jpg", "gif", "bmp", "JPG", "PNG"].includes(o) ? this.imgPreview(l) : ["mp4", "webm", "mp3", "wav", "docx", "excel", "pdf", "xlsx", "pptx", "doc", "dot", "txt"].includes(o) && this.$refs.filePreview.open(
|
|
118
|
+
Object.assign(i, {
|
|
119
|
+
fileId: i.response && i.response.fileoriginname ? i.response.id : i.fileId
|
|
120
|
+
})
|
|
121
|
+
);
|
|
122
|
+
},
|
|
123
|
+
imgPreview(i) {
|
|
124
|
+
d({
|
|
125
|
+
id: i
|
|
126
|
+
}).then((e) => {
|
|
127
|
+
const l = window.URL.createObjectURL(new Blob([e]));
|
|
128
|
+
this.imgList = [l], this.currentImg = l, this.$refs.imgPreview.open();
|
|
129
|
+
});
|
|
130
|
+
},
|
|
131
|
+
removeFileManual(i) {
|
|
132
|
+
const e = this.fileUploadList.filter((l) => (l.response ? l.response.id : l.id) === i)[0];
|
|
133
|
+
e && this.$refs.uploadFile.handleRemove && this.$refs.uploadFile.handleRemove(e);
|
|
134
|
+
},
|
|
135
|
+
removeFile(i, e) {
|
|
136
|
+
let l = [], o = [];
|
|
137
|
+
e.forEach((s) => {
|
|
138
|
+
s.response && s.response.id ? (l.push(s.response.id), o.push({
|
|
139
|
+
uid: s.response.id,
|
|
140
|
+
name: s.response.fileoriginname,
|
|
141
|
+
fileoriginname: s.response.fileoriginname,
|
|
142
|
+
id: s.response.id,
|
|
143
|
+
fileId: s.response.id,
|
|
144
|
+
url: s.response.url
|
|
145
|
+
})) : (l.push(s.fileId), o.push({
|
|
146
|
+
uid: s.id ? s.id : s.fileId,
|
|
147
|
+
name: s.name ? s.name : s.fileoriginname,
|
|
148
|
+
fileoriginname: s.name ? s.name : s.fileoriginname,
|
|
149
|
+
id: s.fileId ? s.fileId : s.id,
|
|
150
|
+
fileId: s.fileId ? s.fileId : s.id,
|
|
151
|
+
url: s.url ? s.url : s.filepath
|
|
152
|
+
}));
|
|
153
|
+
}), this.uidUploading = this.uidUploading.filter((s) => s !== i.uid), this.record.uidUploading = this.uidUploading, this.record.sourceData = JSON.stringify(o), this.model[this.prop] = l.join(","), this.leg = l.length, this.handleChange();
|
|
154
|
+
},
|
|
155
|
+
uploadFile(i) {
|
|
156
|
+
if (!this.fileAccept.includes(i.file.type) || i.file.type === "") {
|
|
157
|
+
console.log("fileAccept: " + i.file.type), this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), i.onError();
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
if (!(i.file.size / 1024 / 1024 < this.fileSize)) {
|
|
161
|
+
this.$message.error(this.$i18nt("gd.view.fileSizeTip", "\u4E0A\u4F20\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7") + this.fileSize + "(MB)"), i.onError();
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
this.$emit("uploadFile", i);
|
|
165
|
+
const o = new FormData();
|
|
166
|
+
o.append(this.options.fileName, i.file), this.uidUploading.push(i.file.uid), this.record.uidUploading = this.uidUploading, p(o, { "Content-Type": i.file.type }).then((s) => {
|
|
167
|
+
s.code === 200 ? i.onSuccess(s.data) : (this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + s.message), i.onError());
|
|
168
|
+
}).catch((s) => {
|
|
169
|
+
i.onError(s);
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
successFile(i, e, l) {
|
|
173
|
+
this.uidUploading = this.uidUploading.filter((t) => t !== e.uid), this.record.uidUploading = this.uidUploading;
|
|
174
|
+
const o = this.model[this.prop], r = (o ? o.split(",") : []).concat([i.id]);
|
|
175
|
+
this.model[this.prop] = r.join(",");
|
|
176
|
+
let n = [];
|
|
177
|
+
l.forEach((t) => {
|
|
178
|
+
t.response && t.response.id ? n.push({
|
|
179
|
+
ouid: t.uid,
|
|
180
|
+
uid: t.response.id,
|
|
181
|
+
name: t.response.fileoriginname,
|
|
182
|
+
fileoriginname: t.response.fileoriginname,
|
|
183
|
+
id: t.response.id,
|
|
184
|
+
fileId: t.response.id,
|
|
185
|
+
url: t.response.url
|
|
186
|
+
}) : n.push({
|
|
187
|
+
uid: t.id ? t.id : t.fileId,
|
|
188
|
+
name: t.name ? t.name : t.fileoriginname,
|
|
189
|
+
fileoriginname: t.name ? t.name : t.fileoriginname,
|
|
190
|
+
id: t.fileId ? t.fileId : t.id,
|
|
191
|
+
fileId: t.fileId ? t.fileId : t.id,
|
|
192
|
+
url: t.url ? t.url : t.filepath,
|
|
193
|
+
ouid: t.ouid ? t.ouid : t.uid
|
|
194
|
+
});
|
|
195
|
+
}), this.leg = r.length, this.record.sourceData = JSON.stringify(n), this.fileUploadList.push(e), this.handleChange();
|
|
196
|
+
},
|
|
197
|
+
handleChange() {
|
|
198
|
+
this.$emit("change", this.record);
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
mounted() {
|
|
202
|
+
this.develop !== 1 && this.$nextTick(() => {
|
|
203
|
+
setTimeout(() => {
|
|
204
|
+
this.record.setData === void 0 && (this.record.setData = this.setDataMore), this.record.clearFiles === void 0 && (this.record.clearFiles = this.clearFiles);
|
|
205
|
+
}, 20);
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
var g = function() {
|
|
210
|
+
var e = this, l = e._self._c;
|
|
211
|
+
return l("div", { staticClass: "gd-upload-file" }, [e.isDrag ? l("el-upload", { ref: "uploadFile", attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: e.limit, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile, disabled: e.disabled, "before-upload": e.beforeUpload, "on-exceed": e.onExceed, drag: e.isDrag } }, [l("div", { staticClass: "drag-kuang" }, [l("i", { staticClass: "el-icon-upload", staticStyle: { margin: "0", "font-size": "50px" } }), l("el-button", { staticClass: "btn-drag", attrs: { type: "text", disabled: e.disableds } }, [l("span", { class: e.disableds ? "" : "active-color" }, [e._v(e._s(e.$i18nt("gd.btn.uploadDrag", "\u62D6\u62FD\u6587\u4EF6\u6216\u70B9\u51FB\u4E0A\u4F20")))])])], 1)]) : l("el-upload", { ref: "uploadFile", attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: e.limit, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile, accept: e.fileAccept, disabled: e.disabled, "before-upload": e.beforeUpload, "on-exceed": e.onExceed } }, [e.isDrag ? e._e() : l("div", { staticClass: "upload-file-click" }, [l("el-button", { attrs: { size: "mini", type: e.disableds ? "info" : "primary", disabled: e.disableds } }, [l("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)]), l("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg, download: e.download, fileName: e.fileName } }), l("gd-file-preview", { ref: "filePreview", attrs: { options: e.options } })], 1);
|
|
212
|
+
}, m = [], v = /* @__PURE__ */ h(
|
|
213
|
+
u,
|
|
214
|
+
g,
|
|
215
|
+
m,
|
|
216
|
+
!1,
|
|
217
|
+
null,
|
|
218
|
+
"4641301d",
|
|
219
|
+
null,
|
|
220
|
+
null
|
|
221
|
+
);
|
|
222
|
+
const a = v.exports;
|
|
223
|
+
a.install = function(i) {
|
|
224
|
+
i.component(a.name, a);
|
|
225
|
+
};
|
|
226
|
+
export {
|
|
227
|
+
a as U
|
|
228
|
+
};
|