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
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import {
|
|
1
|
+
import { m as f, n as c } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { d as p, e as u, b as g, f as h, a as m } from "./http.filemanage.c0de21d6.mjs";
|
|
3
|
+
import { t as y } from "./utils.mixins.js.be01e599.mjs";
|
|
3
4
|
const b = {
|
|
4
5
|
data() {
|
|
5
6
|
return {
|
|
@@ -18,7 +19,7 @@ const b = {
|
|
|
18
19
|
slotType: "fileOriginName",
|
|
19
20
|
align: "left",
|
|
20
21
|
fixed: !0,
|
|
21
|
-
renderHeader: (
|
|
22
|
+
renderHeader: (i, ...e) => this.renderHeader(i, ...e, {
|
|
22
23
|
effectType: "input"
|
|
23
24
|
}),
|
|
24
25
|
showOverflowTooltip: !0
|
|
@@ -197,67 +198,6 @@ const b = {
|
|
|
197
198
|
}
|
|
198
199
|
};
|
|
199
200
|
const w = {
|
|
200
|
-
data() {
|
|
201
|
-
return {
|
|
202
|
-
transKey: "gd.btn.edit",
|
|
203
|
-
fullscreen: !1,
|
|
204
|
-
visible: !1,
|
|
205
|
-
width: "900",
|
|
206
|
-
confirmLoading: !1,
|
|
207
|
-
src: "",
|
|
208
|
-
isShowValue: !1,
|
|
209
|
-
imgList: []
|
|
210
|
-
};
|
|
211
|
-
},
|
|
212
|
-
computed: {
|
|
213
|
-
height() {
|
|
214
|
-
return this.screenHeight - 24 - 40 - 36;
|
|
215
|
-
},
|
|
216
|
-
headTitle() {
|
|
217
|
-
return this.$i18nt(this.transKey, this.title);
|
|
218
|
-
},
|
|
219
|
-
...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
220
|
-
},
|
|
221
|
-
methods: {
|
|
222
|
-
toggleFullscreen() {
|
|
223
|
-
this.fullscreen = !this.fullscreen;
|
|
224
|
-
},
|
|
225
|
-
open(t) {
|
|
226
|
-
this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysFileInfoPreview(t);
|
|
227
|
-
},
|
|
228
|
-
sysFileInfoPreview(t) {
|
|
229
|
-
c({
|
|
230
|
-
id: t.id
|
|
231
|
-
}).then((e) => {
|
|
232
|
-
this.confirmLoading = !1, this.downloadfile(e);
|
|
233
|
-
}).catch((e) => {
|
|
234
|
-
this.confirmLoading = !1, this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A" + e.message);
|
|
235
|
-
});
|
|
236
|
-
},
|
|
237
|
-
downloadfile(t) {
|
|
238
|
-
const e = new Blob([t]), i = window.URL.createObjectURL(e);
|
|
239
|
-
this.src = i, this.imgList[i], this.$refs.imgPreview.open();
|
|
240
|
-
},
|
|
241
|
-
closed() {
|
|
242
|
-
this.fullscreen = !1, this.visible = !1;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
var v = function() {
|
|
247
|
-
var e = this, i = e._self._c;
|
|
248
|
-
return i("div", [i("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.src } })], 1);
|
|
249
|
-
}, _ = [], $ = /* @__PURE__ */ f(
|
|
250
|
-
w,
|
|
251
|
-
v,
|
|
252
|
-
_,
|
|
253
|
-
!1,
|
|
254
|
-
null,
|
|
255
|
-
"70df1ecb",
|
|
256
|
-
null,
|
|
257
|
-
null
|
|
258
|
-
);
|
|
259
|
-
const K = $.exports;
|
|
260
|
-
const T = {
|
|
261
201
|
name: "GdFile",
|
|
262
202
|
props: {
|
|
263
203
|
height: {
|
|
@@ -265,14 +205,11 @@ const T = {
|
|
|
265
205
|
default: 100
|
|
266
206
|
}
|
|
267
207
|
},
|
|
268
|
-
mixins: [
|
|
269
|
-
components: {
|
|
270
|
-
previewFrom: K
|
|
271
|
-
},
|
|
208
|
+
mixins: [y, b],
|
|
272
209
|
data() {
|
|
273
210
|
return {
|
|
274
211
|
transKey: "gd.btn.edit",
|
|
275
|
-
loadData: (
|
|
212
|
+
loadData: (i) => p(Object.assign(i, this.queryParam)).then((e) => e.data),
|
|
276
213
|
selectedRows: [],
|
|
277
214
|
selectedRowKeys: [],
|
|
278
215
|
queryParam: {},
|
|
@@ -286,22 +223,18 @@ const T = {
|
|
|
286
223
|
getHeight() {
|
|
287
224
|
return this.height;
|
|
288
225
|
},
|
|
289
|
-
...
|
|
290
|
-
},
|
|
291
|
-
created() {
|
|
292
|
-
},
|
|
293
|
-
mounted() {
|
|
226
|
+
...f(["tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
294
227
|
},
|
|
295
228
|
methods: {
|
|
296
|
-
editForm(
|
|
229
|
+
editForm(i) {
|
|
297
230
|
this.transKey = "gd.file.detail", this.$refs.editForm.open(
|
|
298
231
|
Object.assign({
|
|
299
|
-
...
|
|
232
|
+
...i
|
|
300
233
|
})
|
|
301
234
|
);
|
|
302
235
|
},
|
|
303
|
-
onSelectChange(
|
|
304
|
-
if (this.selectedRows = e, this.selectedRowKeys =
|
|
236
|
+
onSelectChange(i, e) {
|
|
237
|
+
if (this.selectedRows = e, this.selectedRowKeys = i, e.length == 0) {
|
|
305
238
|
this.baseHideBtns([], 2);
|
|
306
239
|
return;
|
|
307
240
|
}
|
|
@@ -309,15 +242,15 @@ const T = {
|
|
|
309
242
|
this.baseHideBtns(["\u9884\u89C8"], 2);
|
|
310
243
|
return;
|
|
311
244
|
}
|
|
312
|
-
let
|
|
313
|
-
["png", "jpeg", "jpg", "gif", "tif", "bmp", "doc", "docx", "xls", "xlsx", "pdf", "pptx"].includes(
|
|
245
|
+
let t = ["\u9884\u89C8"], l = e[0];
|
|
246
|
+
["png", "jpeg", "jpg", "gif", "tif", "bmp", "doc", "docx", "xls", "xlsx", "pdf", "pptx"].includes(l.filesuffix) && (t = []), this.baseHideBtns(t, 2);
|
|
314
247
|
},
|
|
315
|
-
baseHideBtns(
|
|
316
|
-
let
|
|
317
|
-
|
|
248
|
+
baseHideBtns(i, e = 1) {
|
|
249
|
+
let t = [...this.tableButtons];
|
|
250
|
+
t.map((l) => (e === 1 ? l.show = !i.includes(l.id) : l.show = !i.includes(l.displayName), l)), this.tableButtons = [...t];
|
|
318
251
|
},
|
|
319
|
-
saveQueries(
|
|
320
|
-
this.queryParam = { ...
|
|
252
|
+
saveQueries(i) {
|
|
253
|
+
this.queryParam = { ...i }, this.refresh();
|
|
321
254
|
},
|
|
322
255
|
refresh() {
|
|
323
256
|
this.$refs.table.refresh();
|
|
@@ -325,14 +258,14 @@ const T = {
|
|
|
325
258
|
add() {
|
|
326
259
|
document.querySelector(".upload-demo").click();
|
|
327
260
|
},
|
|
328
|
-
handleFileUpload(
|
|
261
|
+
handleFileUpload(i) {
|
|
329
262
|
const e = this.$message({
|
|
330
263
|
message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
|
|
331
264
|
duration: 0,
|
|
332
265
|
iconClass: "el-icon-loading"
|
|
333
|
-
}),
|
|
334
|
-
|
|
335
|
-
|
|
266
|
+
}), t = new FormData();
|
|
267
|
+
t.append("file", i.file), u(t).then((l) => {
|
|
268
|
+
l.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + l.message), this.$nextTick(() => {
|
|
336
269
|
setTimeout(() => {
|
|
337
270
|
e.close();
|
|
338
271
|
}, 200);
|
|
@@ -348,32 +281,32 @@ const T = {
|
|
|
348
281
|
this.$message.warning(this.$i18nt("gd.https.downTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u4E0B\u8F7D"));
|
|
349
282
|
return;
|
|
350
283
|
}
|
|
351
|
-
const
|
|
284
|
+
const i = this.$message({
|
|
352
285
|
message: this.$i18nt("gd.https.downloading", "\u6B63\u5728\u4E0B\u8F7D\u4E2D..."),
|
|
353
286
|
duration: 0,
|
|
354
287
|
iconClass: "el-icon-loading"
|
|
355
288
|
});
|
|
356
|
-
|
|
289
|
+
g({
|
|
357
290
|
id: this.selectedRows[0].id
|
|
358
291
|
}).then((e) => {
|
|
359
292
|
this.downloadfile(e), this.$nextTick(() => {
|
|
360
293
|
setTimeout(() => {
|
|
361
|
-
|
|
294
|
+
i.close();
|
|
362
295
|
}, 200);
|
|
363
296
|
});
|
|
364
297
|
}).catch((e) => {
|
|
365
298
|
this.$nextTick(() => {
|
|
366
299
|
setTimeout(() => {
|
|
367
|
-
|
|
300
|
+
i.close();
|
|
368
301
|
}, 200);
|
|
369
302
|
}), this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25"));
|
|
370
303
|
});
|
|
371
304
|
},
|
|
372
|
-
downloadfile(
|
|
373
|
-
var e = new Blob([
|
|
305
|
+
downloadfile(i) {
|
|
306
|
+
var e = new Blob([i.data], {
|
|
374
307
|
type: "application/octet-stream;charset=UTF-8"
|
|
375
|
-
}),
|
|
376
|
-
|
|
308
|
+
}), t = i.headers["content-disposition"], l = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), s = l.exec(t), n = s[1], a = document.createElement("a"), r = window.URL.createObjectURL(e), d = /^["](.*)["]$/g;
|
|
309
|
+
a.style.display = "none", a.href = r, a.download = decodeURI(n.replace(d, "$1")), document.body.appendChild(a), a.click(), document.body.removeChild(a), window.URL.revokeObjectURL(r);
|
|
377
310
|
},
|
|
378
311
|
del() {
|
|
379
312
|
if (this.selectedRowKeys.length === 0) {
|
|
@@ -392,24 +325,24 @@ const T = {
|
|
|
392
325
|
customClass: "custom-alert",
|
|
393
326
|
callback: () => {
|
|
394
327
|
},
|
|
395
|
-
beforeClose: (
|
|
396
|
-
this.delHand(
|
|
328
|
+
beforeClose: (i, e, t) => {
|
|
329
|
+
this.delHand(i, e, t);
|
|
397
330
|
}
|
|
398
331
|
});
|
|
399
332
|
},
|
|
400
|
-
delHand(
|
|
401
|
-
if (
|
|
402
|
-
|
|
333
|
+
delHand(i, e, t) {
|
|
334
|
+
if (i !== "confirm") {
|
|
335
|
+
t();
|
|
403
336
|
return;
|
|
404
337
|
}
|
|
405
|
-
let
|
|
406
|
-
this.selectedRows.forEach((
|
|
407
|
-
let
|
|
408
|
-
|
|
409
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(
|
|
410
|
-
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0,
|
|
411
|
-
const
|
|
412
|
-
|
|
338
|
+
let l = [];
|
|
339
|
+
this.selectedRows.forEach((s) => {
|
|
340
|
+
let n = h(s).then((a) => a);
|
|
341
|
+
l.push(n);
|
|
342
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(l).then((s) => {
|
|
343
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
344
|
+
const n = s.filter((a) => !a.success);
|
|
345
|
+
n.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n[0].message), this.refresh();
|
|
413
346
|
});
|
|
414
347
|
},
|
|
415
348
|
preview() {
|
|
@@ -421,73 +354,73 @@ const T = {
|
|
|
421
354
|
this.$message.warning(this.$i18nt("Locals.common.https.editTipOne"));
|
|
422
355
|
return;
|
|
423
356
|
}
|
|
424
|
-
let
|
|
425
|
-
if (["png", "jpeg", "jpg", "gif", "tif", "bmp"].includes(
|
|
426
|
-
this.baseFileImg(
|
|
357
|
+
let i = this.selectedRows[0];
|
|
358
|
+
if (["png", "jpeg", "jpg", "gif", "tif", "bmp"].includes(i.filesuffix)) {
|
|
359
|
+
this.baseFileImg(i);
|
|
427
360
|
return;
|
|
428
361
|
}
|
|
429
|
-
if (["doc", "docx", "xls", "xlsx", "pdf", "pptx"].includes(
|
|
430
|
-
this.previewMicrosoft(
|
|
362
|
+
if (["doc", "docx", "xls", "xlsx", "pdf", "pptx"].includes(i.filesuffix)) {
|
|
363
|
+
this.previewMicrosoft(i);
|
|
431
364
|
return;
|
|
432
365
|
}
|
|
433
366
|
},
|
|
434
|
-
previewMicrosoft(
|
|
435
|
-
this.$refs.filePreview.open({ name:
|
|
367
|
+
previewMicrosoft(i) {
|
|
368
|
+
this.$refs.filePreview.open({ name: i.fileoriginname, fileId: i.id });
|
|
436
369
|
},
|
|
437
|
-
baseFileImg(
|
|
438
|
-
|
|
439
|
-
id:
|
|
370
|
+
baseFileImg(i) {
|
|
371
|
+
m({
|
|
372
|
+
id: i.id
|
|
440
373
|
}).then((e) => {
|
|
441
|
-
const
|
|
442
|
-
this.imgList = [
|
|
374
|
+
const t = window.URL.createObjectURL(new Blob([e]));
|
|
375
|
+
this.imgList = [t], this.currentImg = t, this.$nextTick(() => {
|
|
443
376
|
setTimeout(() => {
|
|
444
377
|
this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open();
|
|
445
378
|
}, 0);
|
|
446
379
|
});
|
|
447
380
|
});
|
|
448
381
|
},
|
|
449
|
-
doEvent(
|
|
450
|
-
let e =
|
|
382
|
+
doEvent(i) {
|
|
383
|
+
let e = i.item.functionName;
|
|
451
384
|
this[e] && this[e]();
|
|
452
385
|
}
|
|
453
386
|
},
|
|
454
387
|
beforeDestroy() {
|
|
455
388
|
}
|
|
456
389
|
};
|
|
457
|
-
var
|
|
458
|
-
var e = this,
|
|
459
|
-
return
|
|
460
|
-
return [
|
|
461
|
-
} }, { key: "fileLocation", fn: function(
|
|
462
|
-
return [
|
|
463
|
-
} }, { key: "fileSuffix", fn: function(
|
|
464
|
-
return [
|
|
465
|
-
} }, { key: "fileObjectName", fn: function({ column:
|
|
466
|
-
return [
|
|
467
|
-
} }, { key: "filesizekb", fn: function({ column:
|
|
468
|
-
return [e._v(e._s(
|
|
390
|
+
var v = function() {
|
|
391
|
+
var e = this, t = e._self._c;
|
|
392
|
+
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "fileOriginName", fn: function({ column: l, row: s }) {
|
|
393
|
+
return [t("gd-tooltip", { attrs: { rowKey: "fileoriginname", row: s, highlight: "" }, on: { click: e.editForm } })];
|
|
394
|
+
} }, { key: "fileLocation", fn: function(l) {
|
|
395
|
+
return [t("el-tag", { style: e._f("dictColor")("file_storage_location", l.row.filelocation), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("file_storage_location", l.row.filelocation)) + " ")])];
|
|
396
|
+
} }, { key: "fileSuffix", fn: function(l) {
|
|
397
|
+
return [t("el-tag", [e._v(" " + e._s(l.row.filesuffix) + " ")])];
|
|
398
|
+
} }, { key: "fileObjectName", fn: function({ column: l, row: s }) {
|
|
399
|
+
return [t("gd-tooltip", { attrs: { rowKey: "fileobjectname", row: s } })];
|
|
400
|
+
} }, { key: "filesizekb", fn: function({ column: l, row: s }) {
|
|
401
|
+
return [e._v(e._s(s.filesizekb) + "(kb)")];
|
|
469
402
|
} }, { key: "operator", fn: function() {
|
|
470
|
-
return [
|
|
471
|
-
return !
|
|
472
|
-
} }, model: { value: e.queryParam.fileOriginName, callback: function(
|
|
473
|
-
e.$set(e.queryParam, "fileOriginName",
|
|
474
|
-
}, expression: "queryParam.fileOriginName" } }),
|
|
475
|
-
}, proxy: !0 }, { key: "filtering", fn: function({ colse:
|
|
476
|
-
return [
|
|
477
|
-
} }]) })], 1),
|
|
478
|
-
},
|
|
403
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.file.fileOriginName", "\u6587\u4EF6\u540D"), clearable: "" }, nativeOn: { keyup: function(l) {
|
|
404
|
+
return !l.type.indexOf("key") && e._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
405
|
+
} }, model: { value: e.queryParam.fileOriginName, callback: function(l) {
|
|
406
|
+
e.$set(e.queryParam, "fileOriginName", l);
|
|
407
|
+
}, expression: "queryParam.fileOriginName" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
408
|
+
}, proxy: !0 }, { key: "filtering", fn: function({ colse: l, visible: s }) {
|
|
409
|
+
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: l, visible: s }, on: { save: e.saveQueries } })];
|
|
410
|
+
} }]) })], 1), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", transKey: e.transKey, columns: e.formColumns, labelPosition: e.labelPosition, formMode: e.formMode } }), t("div", { staticStyle: { position: "absolute", left: "-200000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v("\u9009\u53D6\u6587\u4EF6")])], 1)], 1), t("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } }), t("gd-file-preview", { ref: "filePreview", attrs: { options: e.options } })], 1);
|
|
411
|
+
}, T = [], _ = /* @__PURE__ */ c(
|
|
412
|
+
w,
|
|
413
|
+
v,
|
|
479
414
|
T,
|
|
480
|
-
L,
|
|
481
|
-
x,
|
|
482
415
|
!1,
|
|
483
416
|
null,
|
|
484
|
-
"
|
|
417
|
+
"7edaeb13",
|
|
485
418
|
null,
|
|
486
419
|
null
|
|
487
420
|
);
|
|
488
|
-
const o =
|
|
489
|
-
o.install = function(
|
|
490
|
-
|
|
421
|
+
const o = _.exports;
|
|
422
|
+
o.install = function(i) {
|
|
423
|
+
i.component(o.name, o);
|
|
491
424
|
};
|
|
492
425
|
export {
|
|
493
426
|
o as G
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const f=require("./components.chartbi.e9459775.js"),o=require("./http.filemanage.7e6e3e1a.js"),p=require("./utils.mixins.js.750ca50e.js"),u={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.file.fileName",prop:"fileOriginName",label:"\u6587\u4EF6\u540D\u79F0",width:"300",type:"slot",slotType:"fileOriginName",align:"left",fixed:!0,renderHeader:(i,...e)=>this.renderHeader(i,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.file.fileLocation",prop:"fileLocation",width:"200",label:"\u5B58\u50A8\u4F4D\u7F6E",type:"slot",slotType:"fileLocation",align:"left"},{transKey:"gd.file.fileBucket",prop:"filebucket",width:"160",label:"\u6587\u4EF6\u4ED3\u5E93",align:"left"},{transKey:"gd.file.fileSuffix",prop:"fileSuffix",width:"160",label:"\u6587\u4EF6\u540E\u7F00",align:"left",type:"slot",slotType:"fileSuffix"},{transKey:"gd.file.fileSize",prop:"filesizekb",width:"160",label:"\u6587\u4EF6\u5927\u5C0F",align:"left",type:"slot",slotType:"filesizekb"},{transKey:"gd.file.fileObjectName",prop:"fileobjectname",width:"200",label:"\u552F\u4E00\u6807\u8BC6id",align:"left"}],formColumns:[{transKey:"gd.file.fileOriginName",effectType:"input",prop:"fileoriginname",label:"\u6587\u4EF6\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileLocation",effectType:"input",prop:"filelocation",label:"\u5B58\u50A8\u4F4D\u7F6E",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",dictTypeCode:"file_storage_location",disabled:!0,rules:[]},{transKey:"gd.file.fileBucket",effectType:"input",prop:"filebucket",label:"\u6587\u4EF6\u4ED3\u5E93",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileSuffix",effectType:"input",prop:"filesuffix",label:"\u6587\u4EF6\u540E\u7F00",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileSizeKb",effectType:"input",prop:"filesizekb",label:"\u6587\u4EF6\u5927\u5C0F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileObjectName",effectType:"input",prop:"fileobjectname",label:"\u552F\u4E00\u6807\u8BC6",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.filePath",effectType:"input",prop:"filepath",label:"\u5B58\u50A8\u8DEF\u5F84",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]}],tableButtons:[{displayName:"\u4E0A\u4F20\u6587\u4EF6",functionName:"add",show:!0,transKey:"gd.btn.upload",icon:"el-icon-upload",name:"sysFileInfo:upload"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysFileInfo:delete"},{displayName:"\u4E0B\u8F7D",functionName:"sysFileInfoDownload",show:!0,transKey:"gd.btn.download",icon:"el-icon-download",name:"sysFileInfo:download"},{displayName:"\u9884\u89C8",functionName:"preview",show:!0,transKey:"gd.btn.preview",icon:"gd-icon-yanjing-kai",name:"sysFileInfo:preview"}],tableQueries:[{transKey:"gd.file.fileOriginName",prop:"fileOriginName",label:"\u6587\u4EF6\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.file.fileLocation",prop:"fileLocation",label:"\u552F\u4E00\u7F16\u7801",effectType:"select",dictTypeCode:"file_storage_location",rules:[]},{transKey:"gd.file.fileBucket",prop:"fileBucket",label:"\u6587\u4EF6\u4ED3\u5E93",effectType:"input",rules:[]}]}}};const g={name:"GdFile",props:{height:{type:Number,default:100}},mixins:[p.tablesFilter,u],data(){return{transKey:"gd.btn.edit",loadData:i=>o.sysFileInfoPage(Object.assign(i,this.queryParam)).then(e=>e.data),selectedRows:[],selectedRowKeys:[],queryParam:{},fileList:[],options:{},currentImg:"",imgList:[]}},computed:{getHeight(){return this.height},...f.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{editForm(i){this.transKey="gd.file.detail",this.$refs.editForm.open(Object.assign({...i}))},onSelectChange(i,e){if(this.selectedRows=e,this.selectedRowKeys=i,e.length==0){this.baseHideBtns([],2);return}if(e.length>1){this.baseHideBtns(["\u9884\u89C8"],2);return}let t=["\u9884\u89C8"],l=e[0];["png","jpeg","jpg","gif","tif","bmp","doc","docx","xls","xlsx","pdf","pptx"].includes(l.filesuffix)&&(t=[]),this.baseHideBtns(t,2)},baseHideBtns(i,e=1){let t=[...this.tableButtons];t.map(l=>(e===1?l.show=!i.includes(l.id):l.show=!i.includes(l.displayName),l)),this.tableButtons=[...t]},saveQueries(i){this.queryParam={...i},this.refresh()},refresh(){this.$refs.table.refresh()},add(){document.querySelector(".upload-demo").click()},handleFileUpload(i){const e=this.$message({message:this.$i18nt("gd.https.uploading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"}),t=new FormData;t.append("file",i.file),o.sysFileInfoUpload(t).then(l=>{l.success?(this.$message.success(this.$i18nt("gd.https.uploadSucc","\u4E0A\u4F20\u6210\u529F")),this.refresh()):this.$message.error(this.$i18nt("gd.https.uploadFail","\u4E0A\u4F20\u5931\u8D25")+l.message),this.$nextTick(()=>{setTimeout(()=>{e.close()},200)})})},sysFileInfoDownload(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.downTip","\u8BF7\u9009\u62E9\u9700\u8981\u4E0B\u8F7D\u7684\u6587\u4EF6!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.downTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u4E0B\u8F7D"));return}const i=this.$message({message:this.$i18nt("gd.https.downloading","\u6B63\u5728\u4E0B\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});o.sysFileInfoDownload({id:this.selectedRows[0].id}).then(e=>{this.downloadfile(e),this.$nextTick(()=>{setTimeout(()=>{i.close()},200)})}).catch(e=>{this.$nextTick(()=>{setTimeout(()=>{i.close()},200)}),this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25"))})},downloadfile(i){var e=new Blob([i.data],{type:"application/octet-stream;charset=UTF-8"}),t=i.headers["content-disposition"],l=new RegExp("filename=([^;]+\\.[^\\.;]+);*"),s=l.exec(t),a=s[1],n=document.createElement("a"),d=window.URL.createObjectURL(e),c=/^["](.*)["]$/g;n.style.display="none",n.href=d,n.download=decodeURI(a.replace(c,"$1")),document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(d)},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(i,e,t)=>{this.delHand(i,e,t)}})},delHand(i,e,t){if(i!=="confirm"){t();return}let l=[];this.selectedRows.forEach(s=>{let a=o.sysFileInfoDelete(s).then(n=>n);l.push(a)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(l).then(s=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,t(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0;const a=s.filter(n=>!n.success);a.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+a[0].message),this.refresh()})},preview(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("Locals.common.https.editTip"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("Locals.common.https.editTipOne"));return}let i=this.selectedRows[0];if(["png","jpeg","jpg","gif","tif","bmp"].includes(i.filesuffix)){this.baseFileImg(i);return}if(["doc","docx","xls","xlsx","pdf","pptx"].includes(i.filesuffix)){this.previewMicrosoft(i);return}},previewMicrosoft(i){this.$refs.filePreview.open({name:i.fileoriginname,fileId:i.id})},baseFileImg(i){o.sysFileInfoPreview({id:i.id}).then(e=>{const t=window.URL.createObjectURL(new Blob([e]));this.imgList=[t],this.currentImg=t,this.$nextTick(()=>{setTimeout(()=>{this.$refs.imgPreview.imgListShow=!0,this.$refs.imgPreview.open()},0)})})},doEvent(i){let e=i.item.functionName;this[e]&&this[e]()}},beforeDestroy(){}};var h=function(){var e=this,t=e._self._c;return t("div",{staticClass:"gd-page-view"},[t("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"fileOriginName",fn:function({column:l,row:s}){return[t("gd-tooltip",{attrs:{rowKey:"fileoriginname",row:s,highlight:""},on:{click:e.editForm}})]}},{key:"fileLocation",fn:function(l){return[t("el-tag",{style:e._f("dictColor")("file_storage_location",l.row.filelocation),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("file_storage_location",l.row.filelocation))+" ")])]}},{key:"fileSuffix",fn:function(l){return[t("el-tag",[e._v(" "+e._s(l.row.filesuffix)+" ")])]}},{key:"fileObjectName",fn:function({column:l,row:s}){return[t("gd-tooltip",{attrs:{rowKey:"fileobjectname",row:s}})]}},{key:"filesizekb",fn:function({column:l,row:s}){return[e._v(e._s(s.filesizekb)+"(kb)")]}},{key:"operator",fn:function(){return[t("div",{staticClass:"gd-table-operator"},[t("div",{staticClass:"gd-table-operatorl"},[t("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.file.fileOriginName","\u6587\u4EF6\u540D"),clearable:""},nativeOn:{keyup:function(l){return!l.type.indexOf("key")&&e._k(l.keyCode,"enter",13,l.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.fileOriginName,callback:function(l){e.$set(e.queryParam,"fileOriginName",l)},expression:"queryParam.fileOriginName"}}),t("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[t("i",{staticClass:"el-input__icon el-icon-search"})])],1),t("div",{staticClass:"gd-table-operatorr"},[t("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:l,visible:s}){return[t("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:l,visible:s},on:{save:e.saveQueries}})]}}])})],1),t("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}}),t("div",{staticStyle:{position:"absolute",left:"-200000px"}},[t("el-upload",{ref:"upload",attrs:{"http-request":e.handleFileUpload,"file-list":e.fileList,action:""}},[t("el-button",{ref:"uploadDemo",staticClass:"upload-demo",attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("\u9009\u53D6\u6587\u4EF6")])],1)],1),t("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg}}),t("gd-file-preview",{ref:"filePreview",attrs:{options:e.options}})],1)},m=[],y=f.normalizeComponent(g,h,m,!1,null,"7edaeb13",null,null);const r=y.exports;r.install=function(i){i.component(r.name,r)};exports.GDpackage=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./components.chartbi.e9459775.js"),n=require("./http.logmanage.1e12a9bd.js"),i=require("./utils.mixins.js.750ca50e.js"),f={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.tableName",prop:"tableName",label:"\u8868\u540D",align:"left",renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"})},{transKey:"gd.log.fieldName",prop:"fieldName",label:"\u5B57\u6BB5\u540D",align:"left"},{transKey:"gd.log.operate",prop:"operate",label:"\u64CD\u4F5C",align:"left"},{transKey:"gd.log.operatorName",prop:"operateUserName",label:"\u64CD\u4F5C\u4EBA",align:"left"},{transKey:"gd.log.createdTime",prop:"createdTime",width:"200",label:"\u64CD\u4F5C\u65F6\u95F4",align:"center"},{transKey:"gd.log.oldValue",prop:"oldValue",label:"\u65E7\u503C",align:"left"},{transKey:"gd.log.newValue",prop:"newValue",label:"\u65B0\u503C",align:"left"}],formColumns:[],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysAuditLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.tableName",prop:"tablename",label:"\u8868\u540D",effectType:"input",rules:[]},{transKey:"gd.log.fieldName",prop:"fieldname",label:"\u5B57\u6BB5\u540D",effectType:"input",rules:[]},{transKey:"gd.log.executionTime",prop:"dates",label:"\u6267\u884C\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},h={name:"GdAuditlog",props:{height:{type:Number,default:100}},mixins:[i.tablesFilter,f],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>n.sysAuditLogPage(Object.assign(t,this.switchingDate())).then(e=>e.data),eventStateDict:[],eventTypeDict:[]}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},saveQueries(t){this.queryParam={...t},this.refresh()},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="dates"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}Start`,`${s} 00:00:00`),t.set(`${e}End`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),cancelButtonText:t.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,a,s)=>{if(e!=="confirm"){s();return}a.confirmButtonLoading=!0,a.cancelButtonLoading=!0,a.showCancelButton=!1,n.sysAuditLogDelete().then(r=>{r.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+r.message),a.confirmButtonLoading=!1,a.cancelButtonLoading=!1,a.showCancelButton=!0,s()})}})}}};var y=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.tableName","\u8868\u540D"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.tablename,callback:function(s){e.$set(e.queryParam,"tablename",s)},expression:"queryParam.tablename"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1)])},b=[],w=o.normalizeComponent(h,y,b,!1,null,null,null,null);const c=w.exports;c.install=function(t){t.component(c.name,c)};const K={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.methodName",prop:"methodName",label:"\u65B9\u6CD5\u540D",width:"260",type:"slot",slotType:"methodName",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.className",prop:"className",width:"200",type:"slot",slotType:"className",label:"\u7C7B\u540D",align:"left"},{transKey:"gd.org.exceptionName",prop:"exceptionName",width:"260",type:"slot",slotType:"exceptionName",label:"\u5F02\u5E38\u540D\u79F0",align:"left"},{transKey:"gd.org.exceptionMsg",prop:"exceptionMsg",width:"260",type:"slot",slotType:"exceptionMsg",label:"\u5F02\u5E38\u4FE1\u606F",align:"left"},{transKey:"gd.org.exceptionTime",prop:"exceptionTime",width:"200",type:"slot",slotType:"exceptionTime",label:"\u5F02\u5E38\u65F6\u95F4",align:"center"},{transKey:"gd.org.operatorName",prop:"name",width:"140",label:"\u64CD\u4F5C\u4EBA",align:"left"}],formColumns:[{transKey:"gd.log.methodName",prop:"methodname",effectType:"input",label:"\u65B9\u6CD5\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.className",prop:"classname",effectType:"input",label:"\u7C7B\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionName",prop:"exceptionname",effectType:"input",label:"\u5F02\u5E38\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionMsg",prop:"exceptionmsg",effectType:"textarea",label:"\u5F02\u5E38\u4FE1\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysExLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.methodName",prop:"methodName",label:"\u65B9\u6CD5\u540D",effectType:"input",rules:[]},{transKey:"gd.log.className",prop:"className",label:"\u7C7B\u540D",effectType:"input",rules:[]},{transKey:"gd.log.exceptionMsg",prop:"exceptionMsg",label:"\u5F02\u5E38\u4FE1\u606F",effectType:"textarea",rules:[]},{transKey:"gd.log.operatorName",prop:"name",label:"\u64CD\u4F5C\u4EBA",effectType:"input",rules:[]},{transKey:"gd.log.opTime",prop:"search",label:"\u5F02\u5E38\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},T={name:"GdExlog",props:{height:{type:Number,default:100}},mixins:[i.tablesFilter,K],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>n.sysExLogPage(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},mounted(){},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){console.log(t),this.queryParam={...t},this.refresh()},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="createdTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}BeginTime`,`${s} 00:00:00`),t.set(`${e}EndTime`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),cancelButtonText:t.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,a,s)=>{if(e!=="confirm")s();else return new Promise((r,m)=>{n.sysExLogDelete().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})}}};var v=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"methodName",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"methodname",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"className",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"classname",row:r}})]}},{key:"exceptionName",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"exceptionname",row:r}})]}},{key:"exceptionMsg",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"exceptionmsg",row:r}})]}},{key:"exceptionTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"exceptiontime",row:r}})]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.methodName","\u65B9\u6CD5\u540D"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.methodName,callback:function(s){e.$set(e.queryParam,"methodName",s)},expression:"queryParam.methodName"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1),a("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}})],1)},C=[],$=o.normalizeComponent(T,v,C,!1,null,null,null,null);const d=$.exports;d.install=function(t){t.component(d.name,d)};const _={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.logName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",width:"220",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.accessType",prop:"vistype",width:"160",type:"slot",slotType:"visType",label:"\u8BBF\u95EE\u7C7B\u578B ",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.whether",prop:"success",width:"160",type:"slot",slotType:"success",label:"\u662F\u5426\u6210\u529F",align:"left"},{transKey:"gd.org.ip",prop:"ip",width:"200",label:"ip\u5730\u5740",align:"left"},{transKey:"gd.org.browser",prop:"browser",width:"200",label:"\u6D4F\u89C8\u5668",align:"left"},{transKey:"gd.org.visTime",prop:"vistime",width:"200",label:"\u8BBF\u95EE\u65F6\u95F4",align:"center"},{transKey:"gd.org.visitor",prop:"account",width:"140",label:"\u8BBF\u95EE\u8005",align:"left"}],formColumns:[{transKey:"gd.log.concreteMessage",prop:"message",effectType:"input",label:"\u5177\u4F53\u6D88\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysVisLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.logName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.log.visType",prop:"visType",label:"\u8BBF\u95EE\u7C7B\u578B",effectType:"select",dictTypeCode:"visType",rules:[]},{transKey:"gd.log.whether",prop:"success",label:"\u662F\u5426\u6210\u529F",effectType:"select",dictTypeCode:"success",rules:[]},{transKey:"gd.log.visTime",prop:"visTime",label:"\u8BBF\u95EE\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},k={name:"GdVislog",props:{height:{type:Number,default:100}},mixins:[i.tablesFilter,_],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>n.sysVisLogPage(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},mounted(){},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){console.log(t),this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),cancelButtonText:t.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,a,s)=>{if(e!=="confirm")s();else return new Promise((r,m)=>{n.sysVisLogDelete().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="visTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}Start`,`${s} 00:00:00`),t.set(`${e}End`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)}}};var x=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"name",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"visType",fn:function(s){return[a("span",[e._v(e._s(e._f("dictType")("vis_type",s.row.vistype)))])]}},{key:"success",fn:function(s){return[a("span",[e._v(e._s(e._f("dictType")("yes_or_no",s.row.success)))])]}},{key:"visTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"vistime",row:r}})]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.logName","\u65E5\u5FD7\u540D\u79F0"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.name,callback:function(s){e.$set(e.queryParam,"name",s)},expression:"queryParam.name"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1),a("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}})],1)},P=[],q=o.normalizeComponent(k,x,P,!1,null,null,null,null);const p=q.exports;p.install=function(t){t.component(p.name,p)};const N={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.operatorName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",width:"220",type:"slot",slotType:"name",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.org.operatorAccount",prop:"account",width:"160",label:"\u64CD\u4F5C\u4EBA\u5E10\u53F7 ",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.requestMethod",prop:"reqmethod",width:"160",label:"\u8BF7\u6C42\u65B9\u5F0F",align:"left"},{transKey:"gd.org.resultsExecution",prop:"success",type:"slot",slotType:"success",width:"200",label:"\u6267\u884C\u7ED3\u679C",align:"left"},{transKey:"gd.org.ip",prop:"ip",width:"200",label:"ip",align:"left"},{transKey:"gd.org.requestAddress",prop:"url",width:"200",label:"\u8BF7\u6C42\u5730\u5740",align:"left"},{transKey:"gd.org.operationTime",prop:"optime",slotType:"opTime",width:"180",label:"\u64CD\u4F5C\u65F6\u95F4",align:"center"}],formColumns:[{transKey:"gd.log.methodName",prop:"methodname",effectType:"input",label:"\u65B9\u6CD5\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.address",prop:"location",effectType:"input",label:"\u5730\u5740",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.browser",prop:"browser",effectType:"input",label:"\u6D4F\u89C8\u5668",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.operatingSystem",prop:"os",effectType:"input",label:"\u64CD\u4F5C\u7CFB\u7EDF",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.className",prop:"classname",effectType:"input",label:"\u7C7B\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.concreteMessage",prop:"message",effectType:"input",label:"\u5177\u4F53\u6D88\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.requestParameters",prop:"param",effectType:"textarea",label:"\u8BF7\u6C42\u53C2\u6570",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}},{transKey:"gd.log.returnResults",prop:"result",effectType:"textarea",label:"\u8FD4\u56DE\u7ED3\u679C",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysOpLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.logName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.log.requestMethod",prop:"reqMethod",label:"\u8BF7\u6C42\u65B9\u5F0F",effectType:"select",dictTypeCode:"reqMethod",rules:[]},{transKey:"gd.log.whether",prop:"success",label:"\u6267\u884C\u7ED3\u679C",effectType:"select",dictTypeCode:"success",rules:[]},{transKey:"gd.log.opTime",prop:"search",label:"\u64CD\u4F5C\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},S={name:"GdOplog",props:{height:{type:Number,default:100}},mixins:[i.tablesFilter,N],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],isShow:!1,loadData:t=>n.sysOpLogPage(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),cancelButtonText:t.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,a,s)=>{if(e!=="confirm")s();else return new Promise((r,m)=>{n.sysOpLogDelete().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="createdTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}BeginTime`,`${s} 00:00:00`),t.set(`${e}EndTime`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)}}};var B=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"name",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"url",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"url",row:r}})]}},{key:"opTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"optime",row:r}})]}},{key:"success",fn:function({column:s,row:r}){return[a("span",[e._v(e._s(e._f("dictType")("yes_or_no",e.scope.row.success)))])]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},e.isShow?{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}:null],null,!0)})],1),a("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}})],1)},O=[],L=o.normalizeComponent(S,B,O,!1,null,null,null,null);const g=L.exports;g.install=function(t){t.component(g.name,g)};const R={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.eventid",prop:"eventid",label:"\u4E8B\u4EF6id",width:"240",align:"left",renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"})},{transKey:"gd.org.state",prop:"state",width:"120",type:"slot",slotType:"state",label:"\u72B6\u6001",align:"left"},{transKey:"gd.log.operatorName",prop:"username",width:"120",label:"\u64CD\u4F5C\u4EBA",align:"left"},{transKey:"gd.org.payload",prop:"payload",label:"\u8BF7\u6C42\u5185\u5BB9",type:"slot",slotType:"payload",align:"left",width:"300",showTooltip:!1},{transKey:"gd.org.message",prop:"message",type:"slot",slotType:"message",width:"200",label:"\u8FD4\u56DE\u6D88\u606F",align:"left",showTooltip:!1},{transKey:"gd.org.stackTrace",prop:"stacktrace",type:"slot",slotType:"stacktrace",width:"200",label:"\u9519\u8BEF\u8DDF\u8E2A",align:"left",showTooltip:!1},{transKey:"gd.org.createdTime",prop:"createdTime",width:"200",type:"slot",slotType:"createdTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"},{transKey:"gd.org.endedTime",prop:"endedTime",width:"200",type:"slot",slotType:"endedTime",label:"\u7ED3\u675F\u65F6\u95F4",align:"center"}],formColumns:[{transKey:"gd.log.methodName",prop:"methodName",effectType:"input",label:"\u65B9\u6CD5\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.className",prop:"className",effectType:"input",label:"\u7C7B\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionName",prop:"exceptionName",effectType:"input",label:"\u5F02\u5E38\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionMsg",prop:"exceptionMsg",effectType:"textarea",label:"\u5F02\u5E38\u4FE1\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysEvtLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.eventid",prop:"eventId",label:"\u4E8B\u4EF6id",effectType:"input",rules:[]},{transKey:"gd.log.state",prop:"state",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"event_status",rules:[]},{transKey:"gd.log.startTime",prop:"CreateTime",label:"\u5F00\u59CB\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},z={name:"GdEvtlog",props:{height:{type:Number,default:100}},mixins:[i.tablesFilter,R],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>n.sysEvtLogPage(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){this.queryParam={...t},this.refresh()},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="createdTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}Start`,`${s} 00:00:00`),t.set(`${e}End`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),cancelButtonText:t.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,a,s)=>{if(e!=="confirm")s();else return new Promise((r,m)=>{n.sysEvtLogDelete().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},getDictionary(t){return this.$options.filters.dictData(t)}}};var D=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"state",fn:function(s){return[a("span",[e._v(" "+e._s(e._f("dictType")("event_status",s.row.state))+" ")])]}},{key:"message",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"message",row:r,disabled:!1}})]}},{key:"payload",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"payload",align:"left",row:r,disabled:!1}})]}},{key:"stacktrace",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"stacktrace",row:r,disabled:!1}})]}},{key:"createdTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"createdtime",row:r}})]}},{key:"endedTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"endedtime",row:r}})]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.eventId","\u4E8B\u4EF6id"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.eventid,callback:function(s){e.$set(e.queryParam,"eventid",s)},expression:"queryParam.eventid"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1)])},M=[],E=o.normalizeComponent(z,D,M,!1,null,null,null,null);const u=E.exports;u.install=function(t){t.component(u.name,u)};exports.GDpackage=c;exports.GDpackage$1=d;exports.GDpackage$2=p;exports.GDpackage$3=g;exports.GDpackage$4=u;
|