gds-plus-design-vue 1.2.62 → 1.2.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.5036013c.js +1 -0
- package/lib/addPermission.9fc97a47.mjs +421 -0
- package/lib/approvalModel.51d07afe.mjs +340 -0
- package/lib/approvalModel.66f49dfb.js +1 -0
- package/lib/attribute.318f485c.js +1 -0
- package/lib/attribute.a06ac9e7.mjs +237 -0
- package/lib/buildItem.6a834227.js +1 -0
- package/lib/buildItem.fd8634ab.mjs +205 -0
- package/lib/businessRules.0e4dbb3a.js +1 -0
- package/lib/businessRules.db6ba874.mjs +538 -0
- package/lib/components.chartbi.b043dcdc.mjs +1729 -0
- package/lib/components.chartbi.e4680eaa.js +7 -0
- package/lib/components.coloreditor.044983d2.mjs +1505 -0
- package/lib/components.coloreditor.779a9419.js +6 -0
- package/lib/components.dataassign.1853ed5c.js +1 -0
- package/lib/components.dataassign.56632583.mjs +147 -0
- package/lib/components.echarts.10d3ffe2.mjs +794 -0
- package/lib/components.echarts.e4d6b13e.js +3 -0
- package/lib/components.exception.3cc33e29.js +1 -0
- package/lib/components.exception.cc2f4ca3.mjs +61 -0
- package/lib/components.form.3344c817.mjs +7785 -0
- package/lib/components.form.91d5ed3e.js +41 -0
- package/lib/components.globalheader.07a90c4b.js +1 -0
- package/lib/components.globalheader.43fafa8c.mjs +54 -0
- package/lib/components.iconselector.8caabeaa.mjs +1165 -0
- package/lib/components.iconselector.d712170f.js +1 -0
- package/lib/components.imgpreview.57290b54.mjs +213 -0
- package/lib/components.imgpreview.86bf7971.js +1 -0
- package/lib/components.lunccalendar.76159d2e.js +1 -0
- package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
- package/lib/components.middleware.3bad5748.js +1 -0
- package/lib/components.middleware.457b1182.mjs +147 -0
- package/lib/components.modaltitle.ae92f96c.mjs +127 -0
- package/lib/components.modaltitle.e0b34fcb.js +1 -0
- package/lib/components.multitab.82fd0544.js +1 -0
- package/lib/components.multitab.8441aa6b.mjs +140 -0
- package/lib/components.selecttree.85d940a9.mjs +170 -0
- package/lib/components.selecttree.d710a362.js +1 -0
- package/lib/components.settingdrawer.779f6715.js +1 -0
- package/lib/components.settingdrawer.a6693034.mjs +237 -0
- package/lib/components.sidemenu.725677e3.mjs +277 -0
- package/lib/components.sidemenu.80e46c2d.js +1 -0
- package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
- package/lib/components.sidenavmenu.b9bb9304.js +1 -0
- package/lib/components.statuschange.15938660.mjs +116 -0
- package/lib/components.statuschange.ed1218a4.js +1 -0
- package/lib/components.table.17c02054.js +8 -0
- package/lib/components.table.e3e5e3bc.mjs +4635 -0
- package/lib/components.tableumy.2f5dfa12.mjs +450 -0
- package/lib/components.tableumy.9cf33062.js +1 -0
- package/lib/components.tablevirtual.38d4d3d8.js +1 -0
- package/lib/components.tablevirtual.ba03746e.mjs +561 -0
- package/lib/components.teamsharing.05503821.js +1 -0
- package/lib/components.teamsharing.fb4351ec.mjs +373 -0
- package/lib/components.tooltip.950dc77b.mjs +86 -0
- package/lib/components.tooltip.a05d8dd1.js +1 -0
- package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
- package/lib/components.uploadfile.5a9b6cc1.js +1 -0
- package/lib/components.uploadimg.cce7452a.js +1 -0
- package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
- package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
- package/lib/components.verificationcode.d1946db4.js +1 -0
- package/lib/components.viewformdetails.1621bc18.js +1 -0
- package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
- package/lib/components.viewloading.807bbf68.js +1 -0
- package/lib/components.viewloading.ea40b244.mjs +96 -0
- package/lib/components.watermark.1ffc66e0.mjs +53 -0
- package/lib/components.watermark.da3d7220.js +2 -0
- package/lib/components.xlsxexport.d98572f8.mjs +263 -0
- package/lib/components.xlsxexport.f5ace2cd.js +1 -0
- package/lib/components.xlsximport.cffa88fe.mjs +913 -0
- package/lib/components.xlsximport.dbd826bb.js +1 -0
- package/lib/createFile.6b37ecf2.js +1 -0
- package/lib/createFile.82d6e415.mjs +239 -0
- package/lib/createSubfolders.47af629c.js +1 -0
- package/lib/createSubfolders.d35b97e9.mjs +154 -0
- package/lib/dialogLayout.08823bb7.js +1 -0
- package/lib/dialogLayout.c4bc3b55.mjs +138 -0
- package/lib/drawerContainer.604a1271.mjs +146 -0
- package/lib/drawerContainer.6a9813ce.js +1 -0
- package/lib/drawerLayout.36cf4d05.js +1 -0
- package/lib/drawerLayout.fb60950f.mjs +119 -0
- package/lib/fileSearch.65311ded.js +1 -0
- package/lib/fileSearch.86c356fe.mjs +338 -0
- package/lib/flow.designer.1ba3a90d.js +1 -0
- package/lib/flow.designer.6da03949.mjs +7686 -0
- package/lib/flow.list.03694808.mjs +3030 -0
- package/lib/flow.list.4eb10554.js +1 -0
- package/lib/form.build.51bd261e.js +1 -0
- package/lib/form.build.b768d613.mjs +251 -0
- package/lib/form.designer.build.5a950455.js +1 -0
- package/lib/form.designer.build.e521c9c6.mjs +5091 -0
- package/lib/formFiled.464856f5.js +1 -0
- package/lib/formFiled.fe7d9df3.mjs +505 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +221 -91338
- package/lib/http.appmanage.4554a629.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
- package/lib/http.codegeneratemanage.aecadd5d.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.4baf16c0.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.77c69971.mjs +50 -0
- package/lib/http.duplicatechecking.31964ce7.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.7c656b91.js +1 -0
- package/lib/http.filedocument.d456d26a.mjs +156 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.40657f51.mjs +517 -0
- package/lib/http.menumanage.3240ba0d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.5004bf60.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.e03bd5f3.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.5162fd7a.js +1 -0
- package/lib/http.orgmanage.84e43edb.mjs +58 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.rolemanage.03363732.js +1 -0
- package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
- package/lib/http.solution.175d36c8.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.608a06d6.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.e294ceaf.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.1d370398.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.c8487c0b.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
- package/lib/http.timersmanage.6e894942.js +1 -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.a4640c9a.mjs +104 -0
- package/lib/http.useraffiliation.840741ed.mjs +90 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.usermanage.3e5eff33.mjs +219 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.webresource.5158b431.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.69ad4631.mjs +44291 -0
- package/lib/index.cca024bf.js +8 -0
- package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
- package/lib/layoutBlocks.5e6be06f.js +1 -0
- package/lib/layouts.051a0bba.mjs +376 -0
- package/lib/layouts.a6a36612.js +2 -0
- package/lib/main.457f4326.js +1 -0
- package/lib/main.4fff412e.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
- package/lib/main.c3726602.js +1 -0
- package/lib/manage.5bb4f719.js +1 -0
- package/lib/manage.a1df9b88.mjs +419 -0
- package/lib/messages.7b74736f.js +9 -0
- package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
- package/lib/moveFile.0ce803e0.js +1 -0
- package/lib/moveFile.8310ea94.mjs +254 -0
- package/lib/page.build.685c1e15.mjs +3158 -0
- package/lib/page.build.846096e6.js +12 -0
- package/lib/personal.echarts.b22fba61.mjs +701 -0
- package/lib/personal.echarts.f77bfc9e.js +1 -0
- package/lib/result.19351665.mjs +526 -0
- package/lib/result.e59c0e40.js +1 -0
- package/lib/router.config.2501ec51.js +1 -0
- package/lib/router.config.98a73167.mjs +3172 -0
- package/lib/solution.58580123.js +1 -0
- package/lib/solution.890ff164.mjs +6942 -0
- package/lib/store.config.3cb11578.js +1 -0
- package/lib/store.config.fff8a5a1.mjs +542 -0
- package/lib/style.css +3 -3
- package/lib/system.account.014f3e0b.mjs +2097 -0
- package/lib/system.account.0d4f1fdc.js +216 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
- package/lib/system.config.210f516c.js +1 -0
- package/lib/system.datasource.82492d27.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
- package/lib/system.dict.f5708400.js +1 -0
- package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
- package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
- package/lib/system.email.070ab2be.js +1 -0
- package/lib/system.email.252fd642.mjs +138 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
- package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
- package/lib/system.file.17a7f2ed.js +1 -0
- package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
- package/lib/system.onlineuser.e2e39bdc.js +1 -0
- package/lib/system.org.79ee5bd6.js +1 -0
- package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
- package/lib/system.plugin.b34a3b47.js +1 -0
- package/lib/system.pos.0a3d2a37.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
- package/lib/system.sumberrules.bb228fce.js +1 -0
- package/lib/system.team.32183b63.js +1 -0
- package/lib/system.team.e6a9608e.mjs +450 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
- package/lib/system.teammembers.847d8ea7.js +1 -0
- package/lib/system.timers.28691ce4.js +38 -0
- package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
- package/lib/system.useraffiliation.7547b9c7.js +1 -0
- package/lib/system.webresource.12712b90.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
- package/lib/system.welcome.f64e49f8.js +1 -0
- package/lib/tcheckboxs.090e75eb.mjs +52 -0
- package/lib/tcheckboxs.99361be3.js +1 -0
- package/lib/tcurrency.0ddac2f8.mjs +92 -0
- package/lib/tcurrency.62763c6d.js +1 -0
- package/lib/tdatepicker.8fe48b1b.mjs +52 -0
- package/lib/tdatepicker.b19e689d.js +1 -0
- package/lib/tdictSwitch.2e07dc8a.js +1 -0
- package/lib/tdictSwitch.43d882c7.mjs +60 -0
- package/lib/tfile.1bc381f9.js +1 -0
- package/lib/tfile.72925615.mjs +62 -0
- package/lib/tparticipants.77b876e2.js +1 -0
- package/lib/tparticipants.ca5b556c.mjs +56 -0
- package/lib/translation.mains.1ce7e110.js +1 -0
- package/lib/translation.mains.278e4ba6.mjs +383 -0
- package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
- package/lib/utils.datepicker.js.8576e2fc.js +1 -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.util.js.50d1ec9c.js +1 -0
- package/lib/utils.util.js.82cd8447.mjs +424 -0
- package/lib/view.build.b44fd7d7.js +1 -0
- package/lib/view.build.f2a9fcfb.mjs +2727 -0
- package/lib/viewList.5a25c4b6.mjs +346 -0
- package/lib/viewList.be5a5ec5.js +1 -0
- package/locale/en_US.js +38 -22
- package/locale/id_ID.js +22 -6
- package/locale/vi_VN.js +1929 -1913
- package/locale/zh_CN.js +44 -28
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -1,131 +1,7 @@
|
|
|
1
|
-
import { n as g, m as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
url: "/SysJob/pageJobDetail",
|
|
6
|
-
method: "post",
|
|
7
|
-
data: a
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
function Y(a) {
|
|
11
|
-
return window.axios({
|
|
12
|
-
url: "/SysJob/jobTriggerList",
|
|
13
|
-
method: "get",
|
|
14
|
-
params: a
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function W(a) {
|
|
18
|
-
return window.axios({
|
|
19
|
-
url: "/SysJob/pauseAllJob",
|
|
20
|
-
method: "post",
|
|
21
|
-
data: a
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function G(a) {
|
|
25
|
-
return window.axios({
|
|
26
|
-
url: "/SysJob/startAllJob",
|
|
27
|
-
method: "post",
|
|
28
|
-
data: a
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
function U(a) {
|
|
32
|
-
return window.axios({
|
|
33
|
-
url: "/SysJob/pauseJob",
|
|
34
|
-
method: "post",
|
|
35
|
-
data: a
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function Q(a) {
|
|
39
|
-
return window.axios({
|
|
40
|
-
url: "/SysJob/startJob",
|
|
41
|
-
method: "post",
|
|
42
|
-
data: a
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function X(a) {
|
|
46
|
-
return window.axios({
|
|
47
|
-
url: "/SysJob/pauseTrigger",
|
|
48
|
-
method: "post",
|
|
49
|
-
data: a
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
function Z(a) {
|
|
53
|
-
return window.axios({
|
|
54
|
-
url: "/SysJob/startTrigger",
|
|
55
|
-
method: "post",
|
|
56
|
-
data: a
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function ee(a) {
|
|
60
|
-
return window.axios({
|
|
61
|
-
url: "/SysJob/cancelSleep",
|
|
62
|
-
method: "post",
|
|
63
|
-
data: a
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
function te(a) {
|
|
67
|
-
return window.axios({
|
|
68
|
-
url: "/SysJob/persistAll",
|
|
69
|
-
method: "post",
|
|
70
|
-
data: a
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
function ae(a) {
|
|
74
|
-
return window.axios({
|
|
75
|
-
url: "/SysJob/jobClusterList",
|
|
76
|
-
method: "get",
|
|
77
|
-
params: a
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
function se(a) {
|
|
81
|
-
return window.axios({
|
|
82
|
-
url: "/SysJob/addJobDetail",
|
|
83
|
-
method: "post",
|
|
84
|
-
data: a
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
function re(a) {
|
|
88
|
-
return window.axios({
|
|
89
|
-
url: "/SysJob/updateJobDetail",
|
|
90
|
-
method: "post",
|
|
91
|
-
data: a
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
function ie(a) {
|
|
95
|
-
return window.axios({
|
|
96
|
-
url: "/SysJob/deleteJobDetail",
|
|
97
|
-
method: "post",
|
|
98
|
-
data: a
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
function ne(a) {
|
|
102
|
-
return window.axios({
|
|
103
|
-
url: "/SysJob/addJobTrigger",
|
|
104
|
-
method: "post",
|
|
105
|
-
data: a
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
function le(a) {
|
|
109
|
-
return window.axios({
|
|
110
|
-
url: "/SysJob/updateJobTrigger",
|
|
111
|
-
method: "post",
|
|
112
|
-
data: a
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
function oe(a) {
|
|
116
|
-
return window.axios({
|
|
117
|
-
url: "/SysJob/deleteJobTrigger",
|
|
118
|
-
method: "post",
|
|
119
|
-
data: a
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
function ce(a) {
|
|
123
|
-
return window.axios({
|
|
124
|
-
url: "/SysJob/runJob",
|
|
125
|
-
method: "post",
|
|
126
|
-
data: a
|
|
127
|
-
});
|
|
128
|
-
}
|
|
1
|
+
import { n as g, m as K } from "./components.chartbi.b043dcdc.mjs";
|
|
2
|
+
import { s as z, a as q, b as H, c as Y, d as W, e as G, f as U, g as Q, h as X, i as Z, j as ee, k as te, l as ae, m as se, n as re, o as ie, p as ne, q as le } from "./http.timersmanage.01dbc1a2.mjs";
|
|
3
|
+
import { t as oe } from "./utils.mixins.js.be01e599.mjs";
|
|
4
|
+
import { u as ce } from "./utils.util.js.82cd8447.mjs";
|
|
129
5
|
const de = {
|
|
130
6
|
data() {
|
|
131
7
|
return {
|
|
@@ -915,7 +791,7 @@ var $e = function() {
|
|
|
915
791
|
null
|
|
916
792
|
);
|
|
917
793
|
const Te = xe.exports;
|
|
918
|
-
const
|
|
794
|
+
const Ce = {
|
|
919
795
|
props: {
|
|
920
796
|
cron: {
|
|
921
797
|
type: Object,
|
|
@@ -1044,7 +920,7 @@ const Se = {
|
|
|
1044
920
|
this.changeRadioValue(this.cron.day);
|
|
1045
921
|
}
|
|
1046
922
|
};
|
|
1047
|
-
var
|
|
923
|
+
var Se = function() {
|
|
1048
924
|
var e = this, t = e._self._c;
|
|
1049
925
|
return t("div", [t("el-radio-group", { on: { change: e.onChange }, model: { value: e.radioValue, callback: function(s) {
|
|
1050
926
|
e.radioValue = s;
|
|
@@ -1074,8 +950,8 @@ var Ce = function() {
|
|
|
1074
950
|
return [r > 0 ? t("el-option", { key: s, attrs: { value: r } }, [e._v(" " + e._s(r) + " ")]) : e._e()];
|
|
1075
951
|
})], 2)], 1)], 1)], 1);
|
|
1076
952
|
}, De = [], Le = /* @__PURE__ */ g(
|
|
1077
|
-
Se,
|
|
1078
953
|
Ce,
|
|
954
|
+
Se,
|
|
1079
955
|
De,
|
|
1080
956
|
!1,
|
|
1081
957
|
null,
|
|
@@ -1253,7 +1129,7 @@ const Fe = [
|
|
|
1253
1129
|
{ key: 5, value: "\u661F\u671F\u56DB", keyI18n: "gd.task.thursday" },
|
|
1254
1130
|
{ key: 6, value: "\u661F\u671F\u4E94", keyI18n: "gd.task.friday" },
|
|
1255
1131
|
{ key: 7, value: "\u661F\u671F\u516D", keyI18n: "gd.task.saturday" }
|
|
1256
|
-
],
|
|
1132
|
+
], Ie = {
|
|
1257
1133
|
props: {
|
|
1258
1134
|
cron: {
|
|
1259
1135
|
type: Object,
|
|
@@ -1380,7 +1256,7 @@ const Fe = [
|
|
|
1380
1256
|
this.changeRadioValue(this.cron.week);
|
|
1381
1257
|
}
|
|
1382
1258
|
};
|
|
1383
|
-
var
|
|
1259
|
+
var Ke = function() {
|
|
1384
1260
|
var e = this, t = e._self._c;
|
|
1385
1261
|
return t("div", [t("el-radio-group", { on: { change: e.onChange }, model: { value: e.radioValue, callback: function(s) {
|
|
1386
1262
|
e.radioValue = s;
|
|
@@ -1419,10 +1295,10 @@ var Ie = function() {
|
|
|
1419
1295
|
}, expression: "checkboxList" } }, e._l(e.weekList, function(s, r) {
|
|
1420
1296
|
return t("el-option", { key: r, attrs: { value: s.key, label: s.value } }, [e._v(" " + e._s(s.keyI18n ? e.$i18nt(s.keyI18n, 0, s.value) : s.value) + " ")]);
|
|
1421
1297
|
}), 1)], 1)], 1)], 1);
|
|
1422
|
-
},
|
|
1423
|
-
Je,
|
|
1298
|
+
}, Je = [], Me = /* @__PURE__ */ g(
|
|
1424
1299
|
Ie,
|
|
1425
1300
|
Ke,
|
|
1301
|
+
Je,
|
|
1426
1302
|
!1,
|
|
1427
1303
|
null,
|
|
1428
1304
|
"63c96e39",
|
|
@@ -1626,21 +1502,21 @@ const We = {
|
|
|
1626
1502
|
this.isShow = !1;
|
|
1627
1503
|
let a = this.ex.split(" "), e = 0, t = [], s = new Date(), r = s.getFullYear(), i = s.getMonth() + 1, o = s.getDate(), l = s.getHours(), d = s.getMinutes(), k = s.getSeconds();
|
|
1628
1504
|
this.getSecondArr(a[0]), this.getMinArr(a[1]), this.getHourArr(a[2]), this.getDayArr(a[3]), this.getMonthArr(a[4]), this.getWeekArr(a[5]), this.getYearArr(a[6], r);
|
|
1629
|
-
let _ = this.dateArr[0], b = this.dateArr[1], f = this.dateArr[2], y = this.dateArr[3], p = this.dateArr[4], L = this.dateArr[5], j = this.getIndex(_, k), O = this.getIndex(b, d), V = this.getIndex(f, l), R = this.getIndex(y, o), A = this.getIndex(p, i),
|
|
1505
|
+
let _ = this.dateArr[0], b = this.dateArr[1], f = this.dateArr[2], y = this.dateArr[3], p = this.dateArr[4], L = this.dateArr[5], j = this.getIndex(_, k), O = this.getIndex(b, d), V = this.getIndex(f, l), R = this.getIndex(y, o), A = this.getIndex(p, i), J = this.getIndex(L, r);
|
|
1630
1506
|
const N = function() {
|
|
1631
1507
|
j = 0, k = _[j];
|
|
1632
1508
|
}, D = function() {
|
|
1633
1509
|
O = 0, d = b[O], N();
|
|
1634
|
-
},
|
|
1510
|
+
}, C = function() {
|
|
1635
1511
|
V = 0, l = f[V], D();
|
|
1636
1512
|
}, v = function() {
|
|
1637
|
-
R = 0, o = y[R],
|
|
1513
|
+
R = 0, o = y[R], C();
|
|
1638
1514
|
}, w = function() {
|
|
1639
1515
|
A = 0, i = p[A], v();
|
|
1640
1516
|
};
|
|
1641
|
-
r !== L[
|
|
1517
|
+
r !== L[J] && w(), i !== p[A] && v(), o !== y[R] && C(), l !== f[V] && D(), d !== b[O] && N();
|
|
1642
1518
|
e:
|
|
1643
|
-
for (let B =
|
|
1519
|
+
for (let B = J; B < L.length; B++) {
|
|
1644
1520
|
let m = L[B];
|
|
1645
1521
|
if (i > p[p.length - 1]) {
|
|
1646
1522
|
w();
|
|
@@ -1660,7 +1536,7 @@ const We = {
|
|
|
1660
1536
|
for (let x = R; x < y.length; x++) {
|
|
1661
1537
|
let n = y[x], h = n < 10 ? "0" + n : n;
|
|
1662
1538
|
if (l > f[f.length - 1]) {
|
|
1663
|
-
if (
|
|
1539
|
+
if (C(), x === y.length - 1) {
|
|
1664
1540
|
if (v(), $ === p.length - 1) {
|
|
1665
1541
|
w();
|
|
1666
1542
|
continue e;
|
|
@@ -1723,7 +1599,7 @@ const We = {
|
|
|
1723
1599
|
let M = f[c] < 10 ? "0" + f[c] : f[c];
|
|
1724
1600
|
if (d > b[b.length - 1]) {
|
|
1725
1601
|
if (D(), c === f.length - 1) {
|
|
1726
|
-
if (
|
|
1602
|
+
if (C(), x === y.length - 1) {
|
|
1727
1603
|
if (v(), $ === p.length - 1) {
|
|
1728
1604
|
w();
|
|
1729
1605
|
continue e;
|
|
@@ -1740,7 +1616,7 @@ const We = {
|
|
|
1740
1616
|
if (k > _[_.length - 1]) {
|
|
1741
1617
|
if (N(), T === b.length - 1) {
|
|
1742
1618
|
if (D(), c === f.length - 1) {
|
|
1743
|
-
if (
|
|
1619
|
+
if (C(), x === y.length - 1) {
|
|
1744
1620
|
if (v(), $ === p.length - 1) {
|
|
1745
1621
|
w();
|
|
1746
1622
|
continue e;
|
|
@@ -1753,16 +1629,16 @@ const We = {
|
|
|
1753
1629
|
}
|
|
1754
1630
|
continue;
|
|
1755
1631
|
}
|
|
1756
|
-
for (let
|
|
1757
|
-
let E = _[
|
|
1632
|
+
for (let S = j; S <= _.length - 1; S++) {
|
|
1633
|
+
let E = _[S] < 10 ? "0" + _[S] : _[S];
|
|
1758
1634
|
if (u !== "00" && n !== "00" && (t.push(
|
|
1759
1635
|
m + "-" + u + "-" + n + " " + M + ":" + P + ":" + E
|
|
1760
1636
|
), e++), e === 5)
|
|
1761
1637
|
break e;
|
|
1762
|
-
if (
|
|
1638
|
+
if (S === _.length - 1) {
|
|
1763
1639
|
if (N(), T === b.length - 1) {
|
|
1764
1640
|
if (D(), c === f.length - 1) {
|
|
1765
|
-
if (
|
|
1641
|
+
if (C(), x === y.length - 1) {
|
|
1766
1642
|
if (v(), $ === p.length - 1) {
|
|
1767
1643
|
w();
|
|
1768
1644
|
continue e;
|
|
@@ -2202,14 +2078,14 @@ const rt = [
|
|
|
2202
2078
|
});
|
|
2203
2079
|
},
|
|
2204
2080
|
add(a) {
|
|
2205
|
-
this.confirmLoading = !0,
|
|
2081
|
+
this.confirmLoading = !0, z(a).then((e) => {
|
|
2206
2082
|
e.success ? setTimeout(() => {
|
|
2207
2083
|
this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.handleCancel(), this.$emit("ok", a);
|
|
2208
2084
|
}, 1500) : (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message), this.confirmLoading = !1);
|
|
2209
2085
|
});
|
|
2210
2086
|
},
|
|
2211
2087
|
edit(a) {
|
|
2212
|
-
this.confirmLoading = !0,
|
|
2088
|
+
this.confirmLoading = !0, q(Object.assign({ ...this.detail }, a)).then((e) => {
|
|
2213
2089
|
e.success ? setTimeout(() => {
|
|
2214
2090
|
this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.handleCancel(), this.$emit("ok", a);
|
|
2215
2091
|
}, 1500) : (this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message), this.confirmLoading = !1);
|
|
@@ -2392,7 +2268,7 @@ const dt = {
|
|
|
2392
2268
|
height() {
|
|
2393
2269
|
return this.screenHeight - (this.fullScreen ? 140 : 210);
|
|
2394
2270
|
},
|
|
2395
|
-
...
|
|
2271
|
+
...K(["screenHeight"])
|
|
2396
2272
|
},
|
|
2397
2273
|
methods: {
|
|
2398
2274
|
closed() {
|
|
@@ -2521,14 +2397,14 @@ const dt = {
|
|
|
2521
2397
|
});
|
|
2522
2398
|
},
|
|
2523
2399
|
add(a) {
|
|
2524
|
-
this.confirmLoading = !0,
|
|
2400
|
+
this.confirmLoading = !0, H(a).then((e) => {
|
|
2525
2401
|
e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.visible = !1, this.confirmLoading = !1, this.$emit("ok", a), this.$refs.formRef.resetFields()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
|
|
2526
2402
|
}).finally((e) => {
|
|
2527
2403
|
this.confirmLoading = !1;
|
|
2528
2404
|
});
|
|
2529
2405
|
},
|
|
2530
2406
|
edit(a) {
|
|
2531
|
-
this.confirmLoading = !0,
|
|
2407
|
+
this.confirmLoading = !0, Y(Object.assign({ ...this.detail }, a)).then((e) => {
|
|
2532
2408
|
e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.visible = !1, this.confirmLoading = !1, this.$emit("ok", a), this.$refs.formRef.resetFields()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
|
|
2533
2409
|
}).finally((e) => {
|
|
2534
2410
|
this.confirmLoading = !1;
|
|
@@ -2601,7 +2477,7 @@ const mt = {
|
|
|
2601
2477
|
return {
|
|
2602
2478
|
jobId: "",
|
|
2603
2479
|
customSize: "",
|
|
2604
|
-
innerTableLoadData: (a) =>
|
|
2480
|
+
innerTableLoadData: (a) => W({
|
|
2605
2481
|
JobId: this.jobId
|
|
2606
2482
|
}).then((e) => {
|
|
2607
2483
|
let t = e.data.map((s) => (s.args = s.args.replace("[", "").replace("]", ""), s));
|
|
@@ -2719,7 +2595,7 @@ const _t = {
|
|
|
2719
2595
|
transKey: "gd.task.updatedTime"
|
|
2720
2596
|
}
|
|
2721
2597
|
],
|
|
2722
|
-
loadData: (a) =>
|
|
2598
|
+
loadData: (a) => G(Object.assign(a, this.queryParam)).then((e) => (this.load = !0, {
|
|
2723
2599
|
pageNo: 1,
|
|
2724
2600
|
pageSize: 10,
|
|
2725
2601
|
rows: e.data,
|
|
@@ -2730,7 +2606,7 @@ const _t = {
|
|
|
2730
2606
|
};
|
|
2731
2607
|
},
|
|
2732
2608
|
computed: {
|
|
2733
|
-
...
|
|
2609
|
+
...K(["tableSize"])
|
|
2734
2610
|
},
|
|
2735
2611
|
methods: {
|
|
2736
2612
|
open(a) {
|
|
@@ -2780,7 +2656,7 @@ const Tt = {
|
|
|
2780
2656
|
default: 100
|
|
2781
2657
|
}
|
|
2782
2658
|
},
|
|
2783
|
-
mixins: [de,
|
|
2659
|
+
mixins: [de, oe],
|
|
2784
2660
|
components: { editTrigger: ct, editForm: pt, colony: xt, childRenTable: kt },
|
|
2785
2661
|
data() {
|
|
2786
2662
|
return {
|
|
@@ -2791,10 +2667,10 @@ const Tt = {
|
|
|
2791
2667
|
currentExpandRow: [],
|
|
2792
2668
|
sourceData: [],
|
|
2793
2669
|
customSize: this.tableSize,
|
|
2794
|
-
loadData: (a) =>
|
|
2670
|
+
loadData: (a) => U(Object.assign(a, this.queryParam)).then((e) => {
|
|
2795
2671
|
let t = [];
|
|
2796
2672
|
return e.data.rows.forEach((s) => {
|
|
2797
|
-
t.push(Object.assign(s, { loading: !1, uuid:
|
|
2673
|
+
t.push(Object.assign(s, { loading: !1, uuid: ce(8) }));
|
|
2798
2674
|
}), this.sourceData = t, this.expandedRowKeys = [], Object.assign({ ...e.data }, { rows: t });
|
|
2799
2675
|
})
|
|
2800
2676
|
};
|
|
@@ -2803,7 +2679,7 @@ const Tt = {
|
|
|
2803
2679
|
getHeight() {
|
|
2804
2680
|
return this.height;
|
|
2805
2681
|
},
|
|
2806
|
-
...
|
|
2682
|
+
...K(["tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
2807
2683
|
},
|
|
2808
2684
|
methods: {
|
|
2809
2685
|
changTableSize(a) {
|
|
@@ -2858,7 +2734,7 @@ const Tt = {
|
|
|
2858
2734
|
return;
|
|
2859
2735
|
}
|
|
2860
2736
|
i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1;
|
|
2861
|
-
let l = e == 1 ?
|
|
2737
|
+
let l = e == 1 ? ae : se, d = e == 1 ? { jobId: a.jobid } : { jobId: a.jobid, triggerId: a.triggerid };
|
|
2862
2738
|
l(d).then((k) => {
|
|
2863
2739
|
if (o(), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, !k.success) {
|
|
2864
2740
|
s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25: ") + k.message);
|
|
@@ -2888,7 +2764,7 @@ const Tt = {
|
|
|
2888
2764
|
s();
|
|
2889
2765
|
return;
|
|
2890
2766
|
}
|
|
2891
|
-
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1,
|
|
2767
|
+
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, Q().then((r) => {
|
|
2892
2768
|
s(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, r.success ? (a.$message.success(a.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a.refresh()) : a.$message.error(a.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message);
|
|
2893
2769
|
}).catch((r) => {
|
|
2894
2770
|
a.$message.error(a.$i18nt("gd.error.error", "\u9519\u8BEF") + r.message);
|
|
@@ -2913,7 +2789,7 @@ const Tt = {
|
|
|
2913
2789
|
s();
|
|
2914
2790
|
return;
|
|
2915
2791
|
}
|
|
2916
|
-
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1,
|
|
2792
|
+
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, X().then((r) => {
|
|
2917
2793
|
s(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, r.success ? (a.$message.success(a.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a.refresh()) : a.$message.error(a.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message);
|
|
2918
2794
|
}).catch((r) => {
|
|
2919
2795
|
a.$message.error(a.$i18nt("gd.error.error", "\u9519\u8BEF") + r.message);
|
|
@@ -2938,7 +2814,7 @@ const Tt = {
|
|
|
2938
2814
|
s();
|
|
2939
2815
|
return;
|
|
2940
2816
|
}
|
|
2941
|
-
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1,
|
|
2817
|
+
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, Z().then((r) => {
|
|
2942
2818
|
if (s(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, !r.success) {
|
|
2943
2819
|
a.$message.error(a.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message);
|
|
2944
2820
|
return;
|
|
@@ -2970,7 +2846,7 @@ const Tt = {
|
|
|
2970
2846
|
s();
|
|
2971
2847
|
return;
|
|
2972
2848
|
}
|
|
2973
|
-
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1,
|
|
2849
|
+
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, ee().then((r) => {
|
|
2974
2850
|
if (s(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, !r.success) {
|
|
2975
2851
|
a.$message.error(a.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message);
|
|
2976
2852
|
return;
|
|
@@ -3003,7 +2879,7 @@ const Tt = {
|
|
|
3003
2879
|
i();
|
|
3004
2880
|
return;
|
|
3005
2881
|
}
|
|
3006
|
-
r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, (a == 1 ?
|
|
2882
|
+
r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, (a == 1 ? re : ie)({ jobId: e.jobid }).then((l) => {
|
|
3007
2883
|
if (i(), r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, !l.success) {
|
|
3008
2884
|
t.$message.error(t.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + l.message);
|
|
3009
2885
|
return;
|
|
@@ -3036,7 +2912,7 @@ const Tt = {
|
|
|
3036
2912
|
o();
|
|
3037
2913
|
return;
|
|
3038
2914
|
}
|
|
3039
|
-
i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, (a == 1 ?
|
|
2915
|
+
i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, (a == 1 ? ne : le)({ jobId: e.jobid, triggerId: e.triggerid }).then((d) => {
|
|
3040
2916
|
if (o(), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, !d.success) {
|
|
3041
2917
|
s.$message.error(s.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + d.message);
|
|
3042
2918
|
return;
|
|
@@ -3072,7 +2948,7 @@ const Tt = {
|
|
|
3072
2948
|
r();
|
|
3073
2949
|
return;
|
|
3074
2950
|
}
|
|
3075
|
-
s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1,
|
|
2951
|
+
s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, te({ jobId: a.jobid }).then((i) => {
|
|
3076
2952
|
if (r(), s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0, !i.success) {
|
|
3077
2953
|
e.$message.error(e.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message);
|
|
3078
2954
|
return;
|
|
@@ -3100,7 +2976,7 @@ const Tt = {
|
|
|
3100
2976
|
this.customSize = this.tableSize;
|
|
3101
2977
|
}
|
|
3102
2978
|
};
|
|
3103
|
-
var
|
|
2979
|
+
var Ct = function() {
|
|
3104
2980
|
var e = this, t = e._self._c;
|
|
3105
2981
|
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list gd-timers", 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, rowKey: "uuid", tableExpand: e.currentExpandRow }, on: { expandChange: e.onExpandChange, changTableSize: e.changTableSize }, scopedSlots: e._u([{ key: "jobId", fn: function({ row: s }) {
|
|
3106
2982
|
return [t("gd-tooltip", { attrs: { rowKey: "jobid", row: s, highlight: "" }, on: { click: e.editForm } })];
|
|
@@ -3141,20 +3017,20 @@ var St = function() {
|
|
|
3141
3017
|
}, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: r }) {
|
|
3142
3018
|
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: r }, on: { save: e.saveQueries } })];
|
|
3143
3019
|
} }]) })], 1), t("editForm", { ref: "editForm", on: { ok: e.refresh } }), t("editTrigger", { ref: "editTrigger", on: { ok: e.okTrigger } }), t("colony", { ref: "colony" })], 1);
|
|
3144
|
-
},
|
|
3020
|
+
}, St = [], Dt = /* @__PURE__ */ g(
|
|
3145
3021
|
Tt,
|
|
3146
|
-
St,
|
|
3147
3022
|
Ct,
|
|
3023
|
+
St,
|
|
3148
3024
|
!1,
|
|
3149
3025
|
null,
|
|
3150
3026
|
"94f6b4b0",
|
|
3151
3027
|
null,
|
|
3152
3028
|
null
|
|
3153
3029
|
);
|
|
3154
|
-
const
|
|
3155
|
-
|
|
3156
|
-
a.component(
|
|
3030
|
+
const I = Dt.exports;
|
|
3031
|
+
I.install = function(a) {
|
|
3032
|
+
a.component(I.name, I);
|
|
3157
3033
|
};
|
|
3158
3034
|
export {
|
|
3159
|
-
|
|
3035
|
+
I as G
|
|
3160
3036
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./http.translationmanage.1f9dce46.js"),r=require("./components.chartbi.e4680eaa.js"),u=require("./http.main.2f8a6936.js");const h={props:{openPermissions:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0},tmtype:{type:String,default:""}},data(){return{visible:!1,mockData:[],targetKeys:[],translationDetail:{name:"",langs:[]},confirmLoading:!0,title:"",sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],type:1,addData:null,fullScreen:!1,width:"800px",errInit:null,ruleFormData:{defaulttext:"",name:"",langs:"",type:"3",hintcatalogid:""},rules:{defaulttext:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}]}}},computed:{},methods:{toggleFullscreen(){this.fullScreen=!this.fullScreen},changeText(e){let t=[...this.translationDetail.langs];t.map(s=>(s.description=s.languagecode.replace(/-/g,"_")==="zh_CN"?e:s.description,s)),this.translationDetail.langs=[...t]},changeLanguage(e,t){t.languagecode.replace(/-/g,"_")==="zh_CN"&&(this.ruleFormData.defaulttext=e)},init(e){this.fullScreen=!1,this.visible=!0,this.type=e?2:1,this.title=e?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add"),this.openPermissions&&(this.sysViewButtons=this.sysViewButtons.map(t=>(t.name=e?"sysTranslation:edit":"sysTranslation:add",t))),e?(this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData.defaulttext=e.defaulttext,this.ruleFormData.id=e.id,this.ruleFormData.name=e.name,this.ruleFormData.hintcatalogid=e.hintcatalogid,this.ruleFormData.type=e.type.toString()},0)}),this.sysTranslationDetail(e.id)):(this.getAllLanguage(),this.tmtype==="translationManagement"&&(this.ruleFormData.type="2"))},editInit(e){if(this.confirmLoading=!0,this.title=this.$i18nt("gd.https.edit"),this.visible=!0,this.openPermissions&&(this.sysViewButtons=this.sysViewButtons.map(t=>(t.name="sysTranslation:edit",t))),!e||e.key===""){this.init(null);return}n.sysTranslationPage({name:e.key}).then(t=>{if(t.code==200){let s=t.data.rows[0],a=e.list.filter(i=>i.code.replace(/-/g,"_")==="zh_CN")[0];s!==void 0&&s.defaulttext===""&&(s=Object.assign(s,{defaulttext:a.val})),s!==void 0?this.init(s):(this.ruleFormData=Object.assign(this.ruleFormData,{defaulttext:e.list[0]?e.list[0].val:"",name:e.key}),this.addData=e.list.length>0?{langs:e.list}:null,this.init(null),this.errInit=e.key,this.$emit("err",e.transKey),this.$message.error(this.$i18nt("gd.translation.errTip","\u6570\u636E\u9519\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u6DFB\u52A0\uFF01")))}})},addInit(e){if(e===""){this.init(null);return}let t=JSON.parse(e);this.addData=t,this.init(null),this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData.defaulttext=t.langs[0].val,this.ruleFormData.name=this.errInit?this.errInit:t.name},0)})},add(e){this.confirmLoading=!0,delete e.id,n.sysTranslationAdd(e).then(t=>{t.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok",e),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25: ")+t.message)}).finally(t=>{this.confirmLoading=!1})},edit(e){this.confirmLoading=!0,n.sysTranslationEdit(e).then(t=>{t.success?(this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F")),this.$emit("ok",e),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25: ")+t.message)}).finally(t=>{this.confirmLoading=!1})},getAllLanguage(){this.confirmLoading=!0,n.GetAllLanguage().then(e=>{let t=e.data;this.addData&&t.map(s=>{let a=this.addData.langs.filter(i=>i.code==s.languagecode)[0];return s.languagecode=s.languagecode.replace(/-/g,"_"),s.description=a===void 0?"":a.val,s}),this.translationDetail.langs=t,this.confirmLoading=!1})},sysTranslationDetail(e){this.confirmLoading=!0,n.sysTranslationDetail({id:e}).then(t=>{let s=t.data&&t.data.langs?t.data.langs:[];s.map(a=>(a.languagecode=a.languagecode.replace(/-/g,"_"),a)),this.translationDetail=Object.assign(t.data,{langs:s}),this.confirmLoading=!1})},filterOption(e,t){return t.description.indexOf(e)>-1},handleChange(e,t,s){this.targetKeys=e},handleSubmit(){this.$refs.ruleForm.validate(e=>{if(e){const t={...this.ruleFormData,langs:this.translationDetail.langs||[],name:this.ruleFormData.name||this.translationDetail.name};this.type==1?this.add(t):this.edit(t)}})},getDictionary(e){return this.$options.filters.dictData(e)},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.$refs.ruleForm.resetFields(),this.ruleFormData={defaulttext:"",name:"",langs:"",id:"",type:"",hintcatalogid:""},this.translationDetail={name:"",langs:[]},this.addData=null,this.errInit=null,this.$emit("closed")},doEvent(e){let t=e.item.functionName;this[t]&&this[t]()}}};var m=function(){var t=this,s=t._self._c;return s("el-dialog",{class:t.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:t.width,visible:t.visible,fullscreen:t.fullScreen,footer:null,top:"80px","modal-append-to-body":t.modalAppendToBody,"append-to-body":t.appendToBody,"show-close":!1},on:{"update:visible":function(a){t.visible=a},closed:t.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:t.title,fullscreen:t.fullScreen,buttons:t.sysViewButtons,confirmLoading:t.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:t.doEvent,toggleFullscreen:t.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.confirmLoading,expression:"confirmLoading"}]},[s("div",{class:t.fullScreen?"modal-bodyq":"modal-body"},[s("el-form",{ref:"ruleForm",attrs:{rules:t.rules,model:t.ruleFormData,"label-width":"160px"},nativeOn:{submit:function(a){a.preventDefault()}}},[s("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{prop:"defaulttext"},scopedSlots:t._u([{key:"label",fn:function(){return[t._v(" "+t._s(t.$i18nt("gd.translation.value"))+"\xA0 "),s("el-tooltip",{attrs:{content:t.$i18nt("gd.translation.valueTip"),placement:"top"}},[s("i",{staticClass:"el-icon-question"})])]},proxy:!0}])},[s("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),disabled:t.type!=1},on:{input:t.changeText},model:{value:t.ruleFormData.defaulttext,callback:function(a){t.$set(t.ruleFormData,"defaulttext",a)},expression:"ruleFormData.defaulttext"}})],1),s("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{prop:"name"},scopedSlots:t._u([{key:"label",fn:function(){return[t._v(" "+t._s(t.$i18nt("gd.translation.key"))+"\xA0 "),s("el-tooltip",{attrs:{content:t.$i18nt("gd.translation.keyTip"),placement:"top"}},[s("i",{staticClass:"el-icon-question"})])]},proxy:!0}])},[s("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),disabled:t.type!=1},model:{value:t.ruleFormData.name,callback:function(a){t.$set(t.ruleFormData,"name",a)},expression:"ruleFormData.name"}})],1),t.tmtype==="translationManagement"?s("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{prop:"type"},scopedSlots:t._u([{key:"label",fn:function(){return[t._v(t._s(t.$i18nt("gd.translation.type"))+"\xA0")]},proxy:!0}],null,!1,1857044530)},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:"","collapse-tags":""},model:{value:t.ruleFormData.type,callback:function(a){t.$set(t.ruleFormData,"type",a)},expression:"ruleFormData.type"}},t._l(t.getDictionary("translation_type"),function(a){return s("el-option",{key:a.code,attrs:{label:t.$i18nt(`Dynamics.${a.transkey}`,a.name),value:a.code}},[s("span",[t._v(t._s(t.$i18nt(`Dynamics.${a.transkey}`,a.name)))])])}),1)],1):t._e(),s("el-divider",{attrs:{dashed:""}}),t._l(this.translationDetail.langs,function(a){return[s("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:a.languagename}},[s("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",autosize:""},on:{input:function(i){return t.changeLanguage(i,a)}},model:{value:a.description,callback:function(i){t.$set(a,"description",i)},expression:"item.description"}})],1)]})],2)],1)])],1)},g=[],p=r.normalizeComponent(h,m,g,!1,null,"4f343c96",null,null);const c=p.exports;const f={data(){return{visible:!1,solutionId:"",sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"save",icon:"el-icon-document-checked"}],confirmLoading:!1,type:1,record:{},advanced:!1,fullScreen:!1,width:"800px",fileList:[]}},computed:{title(){return this.$i18nt("gd.web.selectFile")}},methods:{handleRemove(e){const t=this.fileList.indexOf(e),s=this.fileList.slice();s.splice(t,1),this.fileList=s},beforeUpload(e){return this.fileList=[e],!1},toggleFullscreen(){this.fullScreen=!this.fullScreen},open(e){this.fileList=[],this.fullScreen=!1,this.visible=!0},handleSubmit(){this.confirmLoading=!0;let e=new FormData;e.append("file",this.fileList[0]),u.sysFileUpload(e).then(t=>{t.code==200?this.translationImport(t):(this.confirmLoading=!1,this.$message.error(t.message))}).catch(t=>{this.$message.error("\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5"),this.confirmLoading=!1})},translationImport(e){let t={fileId:e.data};n.sysTranslationImport(t).then(s=>{this.confirmLoading=!1,s.success?(this.closed(),this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok")):this.$message.error(s.message)})},closed(){this.selectedRowKeys=[],this.visible=!1},doEvent(e){let t=e.item.functionName;this[t]&&this[t]()}}};var y=function(){var t=this,s=t._self._c;return s("el-dialog",{class:t.fullScreen?"gd-dialog":"gd-dialog gd-dialog-fangda",attrs:{width:t.width,visible:t.visible,fullscreen:t.fullScreen,footer:null,top:"80px","show-close":!1},on:{"update:visible":function(a){t.visible=a},cancel:t.closed}},[s("template",{slot:"title"},[s("gd-modal-title",{attrs:{title:t.title,confirmLoading:t.confirmLoading,visible:t.visible,fullscreen:t.fullScreen,buttons:t.sysViewButtons,showClose:!0},on:{changeEvent:t.doEvent}})],1),s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.confirmLoading,expression:"confirmLoading"}]},[s("div",{class:t.fullScreen?"modal-bodyq":"modal-body"},[s("el-alert",{staticStyle:{"margin-bottom":"12px"},attrs:{title:t.$i18nt("gd.translation.importTip","\u9009\u62E9\u8981\u5BFC\u5165\u7684(.xlsx)\u6587\u4EF6"),type:"info","show-icon":"",closable:!1}}),s("el-row",{staticStyle:{"margin-left":"-12px","margin-right":"-12px"},attrs:{gutter:48}},[s("el-col",{attrs:{md:20,sm:24}},[s("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"","file-list":t.fileList,remove:t.handleRemove,"before-upload":t.beforeUpload,accept:".xlsx"}},[s("el-button",{attrs:{id:"upload"}},[s("i",{staticClass:"el-icon-upload2"}),t._v(" "+t._s(t.$i18nt("gd.web.selectFile","\u9009\u62E9\u6587\u4EF6"))+" ")])],1)],1)],1)],1)])],2)},_=[],b=r.normalizeComponent(f,y,_,!1,null,"4232173a",null,null);const $=b.exports;const v={props:{height:{type:Number,default:100}},name:"GdTranslationList",components:{editForm:c,timport:$},data(){return{sysViewButtons:[{displayName:"\u521D\u59CB\u5316\u7FFB\u8BD1",functionName:"initialize",show:!0,transKey:"gd.translation.initialize",icon:"el-icon-refresh",btnType:"danger",name:"sysTranslation:initialize"},{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysTranslation:add"},{displayName:"\u7F16\u8F91",functionName:"editForm",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysTranslation:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysTranslation:delete"},{displayName:"\u5BFC\u5165",functionName:"transimport",show:!0,transKey:"gd.btn.import",icon:"gd-icon-daoru1",name:"sysTranslation:import"},{displayName:"\u5BFC\u51FA",functionName:"transexport",show:!0,transKey:"gd.btn.export",icon:"gd-icon-daoru",name:"sysTranslation:export"},{displayName:"\u53D1\u5E03",functionName:"release",show:!0,transKey:"gd.btn.release",icon:"gd-icon-fabu1",btnType:"danger",name:"sysTranslation:release"}],advanced:!1,queryParam:{},columns:[{type:"selection",width:"60",fixed:!0},{label:"\u7FFB\u8BD1\u503C(value)",prop:"defaulttext",align:"left",type:"slot",slotType:"defaulttext",transKey:"gd.translation.value",width:"260"},{label:"\u5BF9\u5E94\u503C(key)",prop:"name",transKey:"gd.translation.key",align:"left",width:"360"},{label:"\u7C7B\u578B",prop:"type",type:"slot",slotType:"type",align:"left",transKey:"gd.translation.type",width:"160"},{label:"\u72B6\u6001",prop:"statecodes",type:"slot",slotType:"statecodes",align:"left",transKey:"gd.translation.stateCodes",width:"160"},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createdtime",align:"center",transKey:"gd.web.creationTime",width:"180"}],loadData:e=>n.sysTranslationPage(Object.assign(e,this.queryParam)).then(t=>t.data),selectedRowKeys:[],selectedRows:[],state:!1,quickQuery:!0,seeQuerys:!1}},computed:{stylew(){return this.seeQuerys?"width: calc(100% - 356px);":""},y(){let e=this.getBntnShow?0:38,t=this.quickQuery?4:0;return this.screenHeight-232-t+e},getBntnShow(){let e=this.sysViewButtons.filter(t=>t.name&&this.$hasPerm(t.name));return this.crumbsState?!0:e.length>0},getBootTrans(){return this.$bootTrans==null?!1:this.$bootTrans},getHeight(){return this.height},...r.mapGetters(["tableSize","tablePageSize","screenHeight","multiTab","crumbsState"])},methods:{changeWid(e){this.seeQuerys=e},reset(){this.queryParam={}},query(){this.$refs.table.refresh(!0)},release(){let e=this;this.$confirm(this.$i18nt("gd.https.releaseContent","\u786E\u8BA4\u53D1\u5E03?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.releaseOk","\u7ACB\u5373\u53D1\u5E03"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,s,a)=>{a(),t==="confirm"&&(s.confirmButtonLoading=!0,s.cancelButtonLoading=!0,s.showCancelButton=!1,n.deployTranslation().then(i=>{a(),s.confirmButtonLoading=!1,s.cancelButtonLoading=!1,s.showCancelButton=!0,i.success?(e.$message.success(e.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),e.handleOk()):e.$message.error(e.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message)}).catch(i=>{e.$message.error(e.$i18nt("gd.error.error")+i.message)}))}})},getPopupContainer(e){return e.parentElement},cache(){this.formLoading=!0,n.sysTranslationCache().then(e=>{e.success?this.$message.success(this.$i18nt("gd.https.operateSucc")):this.$message.error(this.$i18nt("gd.https.operateFail")+e.message),this.formLoading=!1})},transexport(){if(this.state)return;this.state=!0;const e=this.$message({message:this.$i18nt("gd.login.exporting","\u6B63\u5728\u5BFC\u51FA\u4E2D..."),duration:0,iconClass:"el-icon-loading"});n.sysTranslationExport({}).then(t=>{this.exportWay(t,e)}).catch(t=>{e.close(),this.$message.error("err!")})},exportWay(e,t){if(e){const s=new Blob([e.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),a=URL.createObjectURL(s),i=document.createElement("a");i.style.display="none",i.href=a;let d=new Date().getTime();i.download=`translation${d}`,i.click(),URL.revokeObjectURL(i.href),setTimeout(()=>{this.state=!1,t.close()},1e3)}else t.close(),setTimeout(()=>{this.statu=!1},1e3),this.$nextTick(()=>{setTimeout(()=>{this.$message.error(e.message)},0)})},transimport(){this.$refs.timport.open()},add(){this.$refs.editForm.init(null)},editForm(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne"));return}this.$refs.editForm.init(this.selectedRows[0])},del(){let e=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip"));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\u8BA4\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:(t,s,a)=>{if(a(),t==="confirm")return new Promise((i,d)=>{n.sysTranslationDelete({ids:e.selectedRowKeys.join(",")}).then(l=>{l.success?(e.$message.success(e.$i18nt("gd.https.delSucc")),e.handleOk()):e.$message.error(e.$i18nt("gd.https.delFail")+l.message),i()}).catch(l=>{e.$message.error(e.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},initialize(){let e=this;this.$confirm(this.$i18nt("gd.https.initializeTip","\u662F\u5426\u521D\u59CB\u5316\u7FFB\u8BD1?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.translation.initializeOk","\u7ACB\u5373\u521D\u59CB\u5316"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,s,a)=>{if(a(),t==="confirm")return new Promise((i,d)=>{n.sysTranslationInit({}).then(l=>{l.success?(e.$message.success(e.$i18nt("gd.https.operateSucc")),e.handleOk()):e.$message.error(e.$i18nt("gd.https.operateFail")+l.message),i()}).catch(l=>{e.$message.error(e.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},handleOk(){this.$refs.table.refresh()},getDictionary(e){return this.$options.filters.dictData(e)},dictSwitch(e,t){let s=this.$options.filters.dictData(t).filter(a=>a.code==e)[0];return s!=null&&s.colour?s.colour:""},onSelectChange(e,t){this.selectedRowKeys=e,this.selectedRows=t},doEvent(e){let t=e.item.functionName;this[t]()}}};var w=function(){var t=this,s=t._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list"},[s("gd-tables",{ref:"table",attrs:{height:t.getHeight,columns:t.columns,dataSource:t.loadData,selectedRowKeys:t.selectedRowKeys,size:t.tableSize,pageSize:t.tablePageSize,filtering:!1},on:{onChange:t.onSelectChange},scopedSlots:t._u([t.quickQuery?{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"300px","margin-right":"12px"}},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:t.$i18nt("gd.translation.value"),clearable:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.query.apply(null,arguments)}},model:{value:t.queryParam.description,callback:function(a){t.$set(t.queryParam,"description",a)},expression:"queryParam.description"}}),s("div",{staticClass:"table-operator-search",on:{click:t.query}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"300px"}},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:t.$i18nt("gd.translation.key"),clearable:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.query.apply(null,arguments)}},model:{value:t.queryParam.name,callback:function(a){t.$set(t.queryParam,"name",a)},expression:"queryParam.name"}}),s("div",{staticClass:"table-operator-search",on:{click:t.query}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:t.sysViewButtons},on:{functionName:t.doEvent}})],1)])]},proxy:!0}:null,{key:"defaulttext",fn:function({row:a}){return[s("span",{staticClass:"active-color",staticStyle:{cursor:"pointer"},on:{click:function(i){return t.$refs.editForm.init(a)}}},[t._v(" "+t._s(a.defaulttext)+" ")])]}},{key:"type",fn:function(a){return[t.dictSwitch(a.row.type,"translation_type")?s("el-tag",{attrs:{color:t.dictSwitch(a.row.type,"translation_type")}},[t._v(" "+t._s(t._f("dictType")("translation_type",a.row.type))+" ")]):s("span",[t._v(t._s(t._f("dictType")("translation_type",a.row.type)))])]}},{key:"statecodes",fn:function(a){return[t.dictSwitch(a.row.statecodes,"state_code")?s("el-tag",{attrs:{effect:"dark",color:t.dictSwitch(a.row.statecodes,"state_code")}},[t._v(" "+t._s(t._f("dictType")("state_code",a.row.statecodes))+" ")]):s("span",[t._v(t._s(t._f("dictType")("state_code",a.row.statecodes)))])]}}],null,!0)})],1),s("editForm",{ref:"editForm",attrs:{tmtype:"translationManagement",openPermissions:!0},on:{ok:t.handleOk}}),s("timport",{ref:"timport",on:{ok:t.handleOk}})],1)},x=[],k=r.normalizeComponent(v,w,x,!1,null,"7d5985b0",null,null);const o=k.exports;o.install=function(e){e.component(o.name,o)};exports.GDpackage=o;exports.editForm=c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as r, m as $ } from "./chartbi.
|
|
3
|
-
import {
|
|
1
|
+
import { a as d, b as c, c as u, G as h, d as m, e as g, f as p, g as f, h as y, i as b, j as _ } from "./http.translationmanage.a4640c9a.mjs";
|
|
2
|
+
import { n as r, m as $ } from "./components.chartbi.b043dcdc.mjs";
|
|
3
|
+
import { s as v } from "./http.main.40657f51.mjs";
|
|
4
4
|
const w = {
|
|
5
5
|
props: {
|
|
6
6
|
openPermissions: {
|
|
@@ -183,7 +183,7 @@ const w = {
|
|
|
183
183
|
};
|
|
184
184
|
var x = function() {
|
|
185
185
|
var t = this, s = t._self._c;
|
|
186
|
-
return s("el-dialog", { class: t.fullScreen ? "gd-dialog" : "gd-dialog
|
|
186
|
+
return s("el-dialog", { class: t.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: t.width, visible: t.visible, fullscreen: t.fullScreen, footer: null, top: "80px", "modal-append-to-body": t.modalAppendToBody, "append-to-body": t.appendToBody, "show-close": !1 }, on: { "update:visible": function(a) {
|
|
187
187
|
t.visible = a;
|
|
188
188
|
}, closed: t.handleCancel } }, [s("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullScreen, buttons: t.sysViewButtons, confirmLoading: t.confirmLoading, showClose: !0, closed: "handleCancel" }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [s("div", { class: t.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-form", { ref: "ruleForm", attrs: { rules: t.rules, model: t.ruleFormData, "label-width": "160px" }, nativeOn: { submit: function(a) {
|
|
189
189
|
a.preventDefault();
|
|
@@ -214,7 +214,7 @@ var x = function() {
|
|
|
214
214
|
k,
|
|
215
215
|
!1,
|
|
216
216
|
null,
|
|
217
|
-
"
|
|
217
|
+
"4f343c96",
|
|
218
218
|
null,
|
|
219
219
|
null
|
|
220
220
|
);
|