gds-plus-design-vue 1.2.5 → 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 -91033
- 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.c59fc1e8.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.4e325110.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.955f770e.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.be62e9a4.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.7e418640.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.f0d2d130.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.61ff56ec.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.a817cf68.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.6feb94c3.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.1930d109.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.61d303bd.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.ed69ec93.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.bd18554e.mjs → system.notice.dc1b67cc.mjs} +1075 -1263
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.4dc360c0.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.08a15a71.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.6e858bf3.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.a1f1c194.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.eb8fd7dd.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.c84db7d5.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.d2195303.mjs → system.role.9edb5922.mjs} +601 -523
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.141dc00b.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.d73c659f.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.4a3dd57d.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.d9488c23.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.6874aa87.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.5e3e2bab.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.204911b7.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.79e15015.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 +96 -29
- package/locale/id_ID.js +80 -13
- package/locale/vi_VN.js +2015 -1948
- package/locale/zh_CN.js +100 -33
- package/package.json +106 -105
- package/lib/chartbi.b5b6fdab.js +0 -60
- package/lib/chartbi.b6818e8e.mjs +0 -27604
- package/lib/main.6713b76c.js +0 -1
- package/lib/main.a28f67df.js +0 -1
- package/lib/main.b4a303dc.js +0 -1
- package/lib/main.f3ae0933.js +0 -1
- package/lib/messages.1346558e.js +0 -9
- package/lib/system.account.64fbdaeb.mjs +0 -2552
- package/lib/system.account.7c43a95e.js +0 -216
- package/lib/system.config.93d6cb7d.js +0 -1
- package/lib/system.datasource.4bb39222.js +0 -1
- package/lib/system.dict.5a2e60fe.js +0 -1
- package/lib/system.duplicatechecking.65b77e64.js +0 -1
- package/lib/system.duplicatechecking.751664ba.mjs +0 -2142
- package/lib/system.email.2f53252e.mjs +0 -7432
- package/lib/system.email.fec5ae26.js +0 -41
- package/lib/system.fieldsecurity.920adca4.js +0 -1
- package/lib/system.file.5a9a5e0e.js +0 -1
- package/lib/system.log.b309c0e0.js +0 -1
- package/lib/system.machine.9368e508.js +0 -1
- package/lib/system.notice.ff62c06a.js +0 -1
- package/lib/system.noticereceived.9550818b.js +0 -1
- package/lib/system.onlineuser.6cf4fe24.js +0 -1
- package/lib/system.org.0c67131d.js +0 -1
- package/lib/system.permissions.af548a3b.js +0 -9
- package/lib/system.permissions.cc5ac7ac.mjs +0 -212
- package/lib/system.plugin.83d03fb2.js +0 -1
- package/lib/system.pos.eae2051e.js +0 -1
- package/lib/system.promptmanagement.04501417.js +0 -1
- package/lib/system.role.e623c50b.js +0 -1
- package/lib/system.sumberrules.a01e1805.js +0 -1
- package/lib/system.team.0cebcde7.js +0 -1
- package/lib/system.team.27a6d5d5.mjs +0 -1000
- package/lib/system.teammembers.b67f003f.js +0 -1
- package/lib/system.timers.b27fcb6d.js +0 -38
- package/lib/system.translation.d2c982ed.js +0 -1
- package/lib/system.user.0664c21c.js +0 -14
- package/lib/system.useraffiliation.6b7a1612.js +0 -1
- package/lib/system.webresource.5de18052.js +0 -1
- package/lib/system.welcome.ec7aa744.js +0 -1
|
@@ -1,155 +1,7 @@
|
|
|
1
|
-
import { m as n, n as r } from "./chartbi.
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
url: "/SysPlugin/page",
|
|
6
|
-
method: "post",
|
|
7
|
-
data: s
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
function g(s) {
|
|
11
|
-
return window.axios({
|
|
12
|
-
url: "/SysPlugin/add",
|
|
13
|
-
method: "post",
|
|
14
|
-
data: s
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function m(s) {
|
|
18
|
-
return window.axios({
|
|
19
|
-
url: "/SysPlugin/edit",
|
|
20
|
-
method: "post",
|
|
21
|
-
data: s
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function h(s) {
|
|
25
|
-
return window.axios({
|
|
26
|
-
url: "/SysPlugin/delete",
|
|
27
|
-
method: "post",
|
|
28
|
-
data: s
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
function p(s) {
|
|
32
|
-
return window.axios({
|
|
33
|
-
url: "/SysPluginStep/page",
|
|
34
|
-
method: "post",
|
|
35
|
-
data: s
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function f(s) {
|
|
39
|
-
return window.axios({
|
|
40
|
-
url: "/SysPluginStep/add",
|
|
41
|
-
method: "post",
|
|
42
|
-
data: s
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function y(s) {
|
|
46
|
-
return window.axios({
|
|
47
|
-
url: "/SysPluginStep/edit",
|
|
48
|
-
method: "post",
|
|
49
|
-
data: s
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
function b(s) {
|
|
53
|
-
return window.axios({
|
|
54
|
-
url: "/SysPluginStep/changeStatus",
|
|
55
|
-
method: "post",
|
|
56
|
-
data: s
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function v(s) {
|
|
60
|
-
return window.axios({
|
|
61
|
-
url: "/SysPluginStep/delete",
|
|
62
|
-
method: "post",
|
|
63
|
-
data: s
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
function w(s) {
|
|
67
|
-
return window.axios({
|
|
68
|
-
url: "/SysPluginStep/getNameSpacesDetails",
|
|
69
|
-
method: "post",
|
|
70
|
-
data: s
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
const $ = {
|
|
74
|
-
data() {
|
|
75
|
-
return {
|
|
76
|
-
tableColumns: [{
|
|
77
|
-
type: "selection",
|
|
78
|
-
width: "60",
|
|
79
|
-
fixed: !0
|
|
80
|
-
}, {
|
|
81
|
-
transKey: "gd.plugin.name",
|
|
82
|
-
prop: "name",
|
|
83
|
-
label: "\u540D\u79F0",
|
|
84
|
-
type: "slot",
|
|
85
|
-
slotType: "name",
|
|
86
|
-
align: "left",
|
|
87
|
-
fixed: !0,
|
|
88
|
-
renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
|
|
89
|
-
effectType: "input"
|
|
90
|
-
}),
|
|
91
|
-
showOverflowTooltip: !0
|
|
92
|
-
}, {
|
|
93
|
-
transKey: "gd.plugin.status",
|
|
94
|
-
prop: "statecodes",
|
|
95
|
-
label: "\u72B6\u6001",
|
|
96
|
-
type: "slot",
|
|
97
|
-
slotType: "statecodes",
|
|
98
|
-
align: "left",
|
|
99
|
-
showOverflowTooltip: !0
|
|
100
|
-
}, {
|
|
101
|
-
transKey: "gd.plugin.remarks",
|
|
102
|
-
prop: "description",
|
|
103
|
-
label: "\u5907\u6CE8",
|
|
104
|
-
align: "left"
|
|
105
|
-
}],
|
|
106
|
-
tableButtons: [
|
|
107
|
-
{
|
|
108
|
-
displayName: "\u65B0\u589E",
|
|
109
|
-
functionName: "add",
|
|
110
|
-
show: !0,
|
|
111
|
-
transKey: "gd.btn.add",
|
|
112
|
-
icon: "el-icon-plus",
|
|
113
|
-
name: "sysPlugin:add"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
displayName: "\u7F16\u8F91",
|
|
117
|
-
functionName: "edit",
|
|
118
|
-
show: !0,
|
|
119
|
-
transKey: "gd.btn.edit",
|
|
120
|
-
icon: "el-icon-edit",
|
|
121
|
-
name: "sysPlugin:edit"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
displayName: "\u5220\u9664",
|
|
125
|
-
functionName: "del",
|
|
126
|
-
show: !0,
|
|
127
|
-
transKey: "gd.btn.del",
|
|
128
|
-
icon: "el-icon-delete",
|
|
129
|
-
btnType: "danger",
|
|
130
|
-
name: "sysPlugin:delete"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
displayName: "\u6B65\u9AA4",
|
|
134
|
-
functionName: "step",
|
|
135
|
-
show: !0,
|
|
136
|
-
transKey: "gd.plugin.step",
|
|
137
|
-
icon: "gd-icons gd-icon-caozuojilu",
|
|
138
|
-
name: "sysPlugin:step"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
tableQueries: [{
|
|
142
|
-
transKey: "gd.plugin.name",
|
|
143
|
-
effectType: "input",
|
|
144
|
-
prop: "name",
|
|
145
|
-
label: "\u540D\u79F0",
|
|
146
|
-
placeholder: "\u8BF7\u8F93\u5165",
|
|
147
|
-
placeholderTransKey: "gd.placeholder.input",
|
|
148
|
-
rules: []
|
|
149
|
-
}]
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
}, F = {
|
|
1
|
+
import { m as n, n as r } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { a as u, b as g, s as m, c as h, d as p, e as f, f as y, g as b, h as v, i as $ } from "./http.pluginmanage.54720675.mjs";
|
|
3
|
+
import { t as c } from "./utils.mixins.js.be01e599.mjs";
|
|
4
|
+
const w = {
|
|
153
5
|
props: {
|
|
154
6
|
formMode: {
|
|
155
7
|
type: String,
|
|
@@ -197,339 +49,353 @@ const $ = {
|
|
|
197
49
|
togglefullscreen() {
|
|
198
50
|
this.fullscreen = !this.fullscreen;
|
|
199
51
|
},
|
|
200
|
-
open(
|
|
201
|
-
this.fullscreen = !1, this.title =
|
|
202
|
-
id:
|
|
203
|
-
name:
|
|
204
|
-
description:
|
|
52
|
+
open(a) {
|
|
53
|
+
this.fullscreen = !1, this.title = a ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u65B0\u589E"), this.record = a, this.fileList = [], this.visible = !0, this.sysViewButtons = this.sysViewButtons.map((e) => (e.name = a ? "sysPlugin:edit" : "sysPlugin:add", e)), a ? this.ruleFormData = {
|
|
54
|
+
id: a.id,
|
|
55
|
+
name: a.name,
|
|
56
|
+
description: a.description
|
|
205
57
|
} : this.$nextTick(() => {
|
|
206
58
|
this.ruleFormData = {}, this.$refs.ruleForm.resetFields();
|
|
207
59
|
});
|
|
208
60
|
},
|
|
209
|
-
handleAvatarSuccess(
|
|
61
|
+
handleAvatarSuccess(a, e, t) {
|
|
210
62
|
this.$refs.fileUploadBtn.clearFiles();
|
|
211
63
|
},
|
|
212
|
-
uploadLogo(
|
|
213
|
-
if (
|
|
214
|
-
if (this.fileList = [
|
|
215
|
-
let t =
|
|
216
|
-
var e =
|
|
64
|
+
uploadLogo(a) {
|
|
65
|
+
if (a.file.type == "application/x-msdownload") {
|
|
66
|
+
if (this.fileList = [a.file], !this.record) {
|
|
67
|
+
let t = a.file.name.lastIndexOf(".");
|
|
68
|
+
var e = a.file.name.substring(0, t);
|
|
217
69
|
this.ruleFormData.name = e;
|
|
218
70
|
}
|
|
219
71
|
} else
|
|
220
72
|
this.$message.warning(this.$i18nt("gd.plugin.fileFormatTip", "\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!")), this.fileList = [];
|
|
221
73
|
return !1;
|
|
222
74
|
},
|
|
223
|
-
handleChange(
|
|
224
|
-
if (e.length > 1 && e.splice(0, 1),
|
|
225
|
-
if (this.fileList = [
|
|
226
|
-
let
|
|
227
|
-
var t =
|
|
75
|
+
handleChange(a, e) {
|
|
76
|
+
if (e.length > 1 && e.splice(0, 1), a.raw.type == "application/x-msdownload") {
|
|
77
|
+
if (this.fileList = [a.raw], !this.record) {
|
|
78
|
+
let s = a.raw.name.lastIndexOf(".");
|
|
79
|
+
var t = a.raw.name.substring(0, s);
|
|
228
80
|
this.ruleFormData.name = t;
|
|
229
81
|
}
|
|
230
82
|
} else
|
|
231
83
|
this.$message.warning(this.$i18nt("gd.plugin.fileFormatTip", "\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!")), this.fileList = [];
|
|
232
84
|
return !1;
|
|
233
85
|
},
|
|
234
|
-
handleRemove(
|
|
235
|
-
const e = this.fileList.indexOf(
|
|
86
|
+
handleRemove(a) {
|
|
87
|
+
const e = this.fileList.indexOf(a), t = this.fileList.slice();
|
|
236
88
|
t.splice(e, 1), this.fileList = t;
|
|
237
89
|
},
|
|
238
90
|
handleSubmit() {
|
|
239
|
-
this.$refs.ruleForm.validate((
|
|
240
|
-
|
|
91
|
+
this.$refs.ruleForm.validate((a) => {
|
|
92
|
+
a && (this.record ? this.edit(this.ruleFormData) : this.add(this.ruleFormData));
|
|
241
93
|
});
|
|
242
94
|
},
|
|
243
|
-
add(
|
|
95
|
+
add(a) {
|
|
244
96
|
this.confirmLoading = !0;
|
|
245
97
|
let { fileList: e } = this;
|
|
246
98
|
if (e.length == 0)
|
|
247
99
|
return this.$message.error(this.$i18nt("gd.web.selectFileTip")), this.confirmLoading = !1, !1;
|
|
248
100
|
{
|
|
249
101
|
let t = new FormData();
|
|
250
|
-
t.append("file", e[0]), t.append("name",
|
|
251
|
-
|
|
252
|
-
|
|
102
|
+
t.append("file", e[0]), t.append("name", a.name), u(t).then((s) => {
|
|
103
|
+
if (s.success) {
|
|
104
|
+
let i = Object.assign({ id: s.data }, a);
|
|
105
|
+
this.$message.success(this.$i18nt("gd.https.addSucc")), this.handleCancel(), this.$emit("ok", i);
|
|
106
|
+
} else
|
|
107
|
+
this.$message.error(this.$i18nt("gd.https.addFail") + s.message);
|
|
108
|
+
this.confirmLoading = !1;
|
|
109
|
+
}).finally((s) => {
|
|
253
110
|
this.confirmLoading = !1;
|
|
254
111
|
});
|
|
255
112
|
}
|
|
256
113
|
},
|
|
257
|
-
edit(
|
|
114
|
+
edit(a) {
|
|
258
115
|
this.confirmLoading = !0;
|
|
259
116
|
let { fileList: e } = this, t = new FormData();
|
|
260
|
-
t.append("file", e[0]), t.append("description",
|
|
261
|
-
|
|
262
|
-
}).finally((
|
|
117
|
+
t.append("file", e[0]), t.append("description", a.description), t.append("id", a.id), g(t).then((s) => {
|
|
118
|
+
s.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.handleCancel(), this.$emit("ok", a)) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + s.message), this.confirmLoading = !1;
|
|
119
|
+
}).finally((s) => {
|
|
263
120
|
this.confirmLoading = !1;
|
|
264
121
|
});
|
|
265
122
|
},
|
|
266
123
|
handleCancel() {
|
|
267
124
|
this.$refs.ruleForm.resetFields(), this.visible = !1;
|
|
268
125
|
},
|
|
269
|
-
selType(
|
|
270
|
-
this.type =
|
|
126
|
+
selType(a) {
|
|
127
|
+
this.type = a;
|
|
271
128
|
},
|
|
272
|
-
doEvent(
|
|
273
|
-
let e =
|
|
129
|
+
doEvent(a) {
|
|
130
|
+
let e = a.item.functionName;
|
|
274
131
|
this[e] && this[e]();
|
|
275
132
|
}
|
|
276
133
|
}
|
|
277
134
|
};
|
|
278
|
-
var
|
|
135
|
+
var F = function() {
|
|
279
136
|
var e = this, t = e._self._c;
|
|
280
|
-
return t("div", [e.formMode == "dialog" ? t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.modalStyle.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(
|
|
281
|
-
e.visible =
|
|
282
|
-
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(
|
|
283
|
-
|
|
284
|
-
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(
|
|
285
|
-
e.$set(e.ruleFormData, "id",
|
|
286
|
-
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(
|
|
287
|
-
e.$set(e.ruleFormData, "name",
|
|
288
|
-
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(
|
|
289
|
-
e.$set(e.ruleFormData, "description",
|
|
290
|
-
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1) : t("el-drawer", { attrs: { visible: e.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: e.width, "custom-class": "gd-drawer-form", "show-close": !1 }, on: { "update:visible": function(
|
|
291
|
-
e.visible =
|
|
292
|
-
} } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, showFullscreen: !1 }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(
|
|
293
|
-
|
|
294
|
-
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(
|
|
295
|
-
e.$set(e.ruleFormData, "id",
|
|
296
|
-
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(
|
|
297
|
-
e.$set(e.ruleFormData, "name",
|
|
298
|
-
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(
|
|
299
|
-
e.$set(e.ruleFormData, "description",
|
|
137
|
+
return t("div", [e.formMode == "dialog" ? t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.modalStyle.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
138
|
+
e.visible = s;
|
|
139
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(s) {
|
|
140
|
+
s.preventDefault();
|
|
141
|
+
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(s) {
|
|
142
|
+
e.$set(e.ruleFormData, "id", s);
|
|
143
|
+
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(s) {
|
|
144
|
+
e.$set(e.ruleFormData, "name", s);
|
|
145
|
+
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(s) {
|
|
146
|
+
e.$set(e.ruleFormData, "description", s);
|
|
147
|
+
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1) : t("el-drawer", { attrs: { visible: e.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: e.width, "custom-class": "gd-drawer-form", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
148
|
+
e.visible = s;
|
|
149
|
+
} } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, showFullscreen: !1 }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(s) {
|
|
150
|
+
s.preventDefault();
|
|
151
|
+
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(s) {
|
|
152
|
+
e.$set(e.ruleFormData, "id", s);
|
|
153
|
+
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(s) {
|
|
154
|
+
e.$set(e.ruleFormData, "name", s);
|
|
155
|
+
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(s) {
|
|
156
|
+
e.$set(e.ruleFormData, "description", s);
|
|
300
157
|
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1);
|
|
301
|
-
},
|
|
158
|
+
}, _ = [], D = /* @__PURE__ */ r(
|
|
159
|
+
w,
|
|
302
160
|
F,
|
|
303
161
|
_,
|
|
304
|
-
S,
|
|
305
162
|
!1,
|
|
306
163
|
null,
|
|
307
164
|
null,
|
|
308
165
|
null,
|
|
309
166
|
null
|
|
310
167
|
);
|
|
311
|
-
const k = D.exports,
|
|
168
|
+
const k = D.exports, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
169
|
+
__proto__: null,
|
|
170
|
+
default: k
|
|
171
|
+
}, Symbol.toStringTag, { value: "Module" })), x = {
|
|
312
172
|
data() {
|
|
313
173
|
return {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
}
|
|
346
|
-
],
|
|
347
|
-
eventhandler: [
|
|
348
|
-
{
|
|
349
|
-
required: (this.type == "edit", !1),
|
|
350
|
-
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
351
|
-
trigger: "change"
|
|
352
|
-
}
|
|
353
|
-
]
|
|
354
|
-
},
|
|
355
|
-
title: "",
|
|
356
|
-
sysViewButtons: [
|
|
174
|
+
tableColumns: [{
|
|
175
|
+
type: "selection",
|
|
176
|
+
width: "60",
|
|
177
|
+
fixed: !0
|
|
178
|
+
}, {
|
|
179
|
+
transKey: "gd.plugin.name",
|
|
180
|
+
prop: "name",
|
|
181
|
+
label: "\u540D\u79F0",
|
|
182
|
+
type: "slot",
|
|
183
|
+
slotType: "name",
|
|
184
|
+
align: "left",
|
|
185
|
+
fixed: !0,
|
|
186
|
+
renderHeader: (a, ...e) => this.renderHeader(a, ...e, {
|
|
187
|
+
effectType: "input"
|
|
188
|
+
}),
|
|
189
|
+
showOverflowTooltip: !0
|
|
190
|
+
}, {
|
|
191
|
+
transKey: "gd.plugin.status",
|
|
192
|
+
prop: "statecodes",
|
|
193
|
+
label: "\u72B6\u6001",
|
|
194
|
+
type: "slot",
|
|
195
|
+
slotType: "statecodes",
|
|
196
|
+
align: "left",
|
|
197
|
+
showOverflowTooltip: !0
|
|
198
|
+
}, {
|
|
199
|
+
transKey: "gd.plugin.remarks",
|
|
200
|
+
prop: "description",
|
|
201
|
+
label: "\u5907\u6CE8",
|
|
202
|
+
align: "left"
|
|
203
|
+
}],
|
|
204
|
+
tableButtons: [
|
|
357
205
|
{
|
|
358
|
-
displayName: "\
|
|
359
|
-
functionName: "
|
|
206
|
+
displayName: "\u65B0\u589E",
|
|
207
|
+
functionName: "add",
|
|
360
208
|
show: !0,
|
|
361
|
-
transKey: "gd.btn.
|
|
362
|
-
|
|
363
|
-
|
|
209
|
+
transKey: "gd.btn.add",
|
|
210
|
+
icon: "el-icon-plus",
|
|
211
|
+
name: "sysPlugin:add"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
displayName: "\u7F16\u8F91",
|
|
215
|
+
functionName: "edit",
|
|
216
|
+
show: !0,
|
|
217
|
+
transKey: "gd.btn.edit",
|
|
218
|
+
icon: "el-icon-edit",
|
|
219
|
+
name: "sysPlugin:edit"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
displayName: "\u5220\u9664",
|
|
223
|
+
functionName: "del",
|
|
224
|
+
show: !0,
|
|
225
|
+
transKey: "gd.btn.del",
|
|
226
|
+
icon: "el-icon-delete",
|
|
227
|
+
btnType: "danger",
|
|
228
|
+
name: "sysPlugin:delete"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
displayName: "\u6B65\u9AA4",
|
|
232
|
+
functionName: "step",
|
|
233
|
+
show: !0,
|
|
234
|
+
transKey: "gd.plugin.step",
|
|
235
|
+
icon: "gd-icons gd-icon-caozuojilu",
|
|
236
|
+
name: "sysPlugin:step"
|
|
364
237
|
}
|
|
365
238
|
],
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
239
|
+
tableQueries: [{
|
|
240
|
+
transKey: "gd.plugin.name",
|
|
241
|
+
effectType: "input",
|
|
242
|
+
prop: "name",
|
|
243
|
+
label: "\u540D\u79F0",
|
|
244
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
245
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
246
|
+
rules: []
|
|
247
|
+
}]
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
const P = {
|
|
252
|
+
name: "GdPlugin",
|
|
253
|
+
props: {
|
|
254
|
+
height: {
|
|
255
|
+
type: Number,
|
|
256
|
+
default: 100
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
mixins: [c, x],
|
|
260
|
+
data() {
|
|
261
|
+
return {
|
|
262
|
+
selectedRowKeys: [],
|
|
263
|
+
loadData: (a) => m(Object.assign(a, this.queryParam)).then((e) => e.data),
|
|
264
|
+
queryParam: {}
|
|
373
265
|
};
|
|
374
266
|
},
|
|
267
|
+
components: {
|
|
268
|
+
editForm: () => Promise.resolve().then(() => S),
|
|
269
|
+
dataIndex: () => Promise.resolve().then(() => R)
|
|
270
|
+
},
|
|
375
271
|
computed: {
|
|
376
|
-
|
|
377
|
-
return this.
|
|
378
|
-
},
|
|
379
|
-
options() {
|
|
380
|
-
return this.getDictionary("SdkMessage");
|
|
272
|
+
getHeight() {
|
|
273
|
+
return this.height;
|
|
381
274
|
},
|
|
382
|
-
...n(["
|
|
275
|
+
...n(["tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
383
276
|
},
|
|
384
277
|
methods: {
|
|
385
|
-
|
|
386
|
-
this.
|
|
387
|
-
},
|
|
388
|
-
edit(s, e) {
|
|
389
|
-
this.type = e, this.visible = !0, this.fullscreen = !1, this.title = this.type == "edit" ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u5931\u8D25"), this.stageId = s.stage, this.sdkmessageId = s.sdkmessage, this.entityNameId = s.entityname, this.$nextTick(() => {
|
|
390
|
-
setTimeout(() => {
|
|
391
|
-
this.type == "add" ? (this.ruleFormData = {
|
|
392
|
-
sysPluginId: s[0].sysPluginId,
|
|
393
|
-
pluginName: s[0].name
|
|
394
|
-
}, this.ruleFormData.order = 1, this.getEventhandler(s[0].sysPluginId)) : this.ruleFormData = {
|
|
395
|
-
id: s.id,
|
|
396
|
-
sysPluginId: s.syspluginid,
|
|
397
|
-
entityName: s.entityname,
|
|
398
|
-
sdkmessage: String(s.sdkmessage),
|
|
399
|
-
stage: String(s.stage),
|
|
400
|
-
order: s.order,
|
|
401
|
-
description: s.description,
|
|
402
|
-
securityString: s.securitystring,
|
|
403
|
-
eventhandler: s.eventhandler
|
|
404
|
-
}, this.$refs.ruleForm.resetFields();
|
|
405
|
-
}, 0);
|
|
406
|
-
});
|
|
407
|
-
},
|
|
408
|
-
stageremarkFilter(s) {
|
|
409
|
-
const e = this.sdkStageType.filter((t) => t.code == s);
|
|
410
|
-
if (e.length > 0)
|
|
411
|
-
return e[0].remark;
|
|
278
|
+
onSelectChange(a, e) {
|
|
279
|
+
this.selectedRows = e, this.selectedRowKeys = a;
|
|
412
280
|
},
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
const e = this.optionsentityname.filter((t) => t.value == s);
|
|
425
|
-
if (e.length > 0)
|
|
426
|
-
return e[0].label;
|
|
427
|
-
},
|
|
428
|
-
handleChange(s) {
|
|
429
|
-
console.log(`selected ${s}`), this.sdkmessageId = s;
|
|
430
|
-
},
|
|
431
|
-
handleChangeEntityName(s) {
|
|
432
|
-
this.entityNameId = s;
|
|
281
|
+
editForm(a) {
|
|
282
|
+
this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
283
|
+
Object.assign(
|
|
284
|
+
{
|
|
285
|
+
...a
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
status: String(a.status)
|
|
289
|
+
}
|
|
290
|
+
)
|
|
291
|
+
);
|
|
433
292
|
},
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
pluginId: s
|
|
437
|
-
}).then((t) => {
|
|
438
|
-
t.success ? this.sdkEventHandler = t.data : this.$message.error(this.$i18nt("Locals.common.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
|
|
439
|
-
}).finally((t) => {
|
|
440
|
-
this.confirmLoading = !1;
|
|
441
|
-
});
|
|
293
|
+
add() {
|
|
294
|
+
this.$refs.editForm.open(null);
|
|
442
295
|
},
|
|
443
|
-
|
|
444
|
-
this.
|
|
296
|
+
edit() {
|
|
297
|
+
if (this.selectedRowKeys.length === 0) {
|
|
298
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
if (this.selectedRowKeys.length > 1) {
|
|
302
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
this.editForm(this.selectedRows[0]);
|
|
445
306
|
},
|
|
446
|
-
|
|
447
|
-
this
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
307
|
+
del() {
|
|
308
|
+
if (this.selectedRowKeys.length === 0) {
|
|
309
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
313
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
314
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
315
|
+
showClose: !1,
|
|
316
|
+
confirmButtonLoading: !1,
|
|
317
|
+
cancelButtonLoading: !1,
|
|
318
|
+
closeOnClickModal: !1,
|
|
319
|
+
type: "warning",
|
|
320
|
+
confirmButtonClass: "el-button--danger",
|
|
321
|
+
customClass: "custom-alert",
|
|
322
|
+
callback: () => {
|
|
323
|
+
},
|
|
324
|
+
beforeClose: (a, e, t) => {
|
|
325
|
+
this.delHand(a, e, t);
|
|
463
326
|
}
|
|
464
327
|
});
|
|
465
328
|
},
|
|
466
|
-
|
|
467
|
-
|
|
329
|
+
delHand(a, e, t) {
|
|
330
|
+
if (a !== "confirm") {
|
|
331
|
+
t();
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
let s = [];
|
|
335
|
+
this.selectedRows.forEach((i) => {
|
|
336
|
+
let l = h(i).then((o) => o);
|
|
337
|
+
s.push(l);
|
|
338
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((i) => {
|
|
339
|
+
t();
|
|
340
|
+
const l = i.filter((o) => !o.success);
|
|
341
|
+
l.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") + l[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
342
|
+
});
|
|
343
|
+
},
|
|
344
|
+
saveQueries(a) {
|
|
345
|
+
this.queryParam = {
|
|
346
|
+
...a
|
|
347
|
+
}, this.refresh();
|
|
468
348
|
},
|
|
469
|
-
|
|
470
|
-
|
|
349
|
+
step() {
|
|
350
|
+
if (this.selectedRowKeys.length === 0) {
|
|
351
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
if (this.selectedRowKeys.length > 1) {
|
|
355
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
this.$refs.dataIndex.index(this.selectedRows[0]);
|
|
471
359
|
},
|
|
472
|
-
|
|
473
|
-
this.
|
|
360
|
+
refresh() {
|
|
361
|
+
this.$refs.table.refresh();
|
|
474
362
|
},
|
|
475
|
-
doEvent(
|
|
476
|
-
let e =
|
|
363
|
+
doEvent(a) {
|
|
364
|
+
let e = a.item.functionName;
|
|
477
365
|
this[e] && this[e]();
|
|
478
366
|
}
|
|
479
367
|
}
|
|
480
368
|
};
|
|
481
|
-
var
|
|
369
|
+
var C = function() {
|
|
482
370
|
var e = this, t = e._self._c;
|
|
483
|
-
return t("
|
|
484
|
-
e.
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
} }
|
|
488
|
-
e.$
|
|
489
|
-
|
|
490
|
-
e
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
},
|
|
494
|
-
|
|
495
|
-
},
|
|
496
|
-
|
|
497
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.entityName", "\u5B9E\u4F53\u540D\u79F0"), prop: "entityName" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.handleChangeEntityName }, model: { value: e.ruleFormData.entityName, callback: function(a) {
|
|
498
|
-
e.$set(e.ruleFormData, "entityName", a);
|
|
499
|
-
}, expression: "ruleFormData.entityName" } }, e._l(e.tableLists, function(a, i) {
|
|
500
|
-
return t("el-option", { key: i, attrs: { label: e.$i18nt(`Dynamics.${a.transkey}`, a.busname), value: a.tablename } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.busname)) + " " + e._s(a.tablename) + " ")]);
|
|
501
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.executePhase", "\u6267\u884C\u9636\u6BB5"), prop: "stage" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.stage, callback: function(a) {
|
|
502
|
-
e.$set(e.ruleFormData, "stage", a);
|
|
503
|
-
}, expression: "ruleFormData.stage" } }, e._l(e.sdkStageType, function(a, i) {
|
|
504
|
-
return t("el-option", { key: i, attrs: { value: a.code, label: a.name }, on: { click: function(l) {
|
|
505
|
-
return e.selType(a.code);
|
|
506
|
-
} } });
|
|
507
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.eventHandler", "\u4E8B\u4EF6\u5904\u7406\u7A0B\u5E8F"), prop: "eventhandler" } }, [e.type == "edit" ? t("el-input", { staticStyle: { width: "100%" }, attrs: { disabled: !0, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.eventhandler, callback: function(a) {
|
|
508
|
-
e.$set(e.ruleFormData, "eventhandler", a);
|
|
509
|
-
}, expression: "ruleFormData.eventhandler" } }) : t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.eventhandler, callback: function(a) {
|
|
510
|
-
e.$set(e.ruleFormData, "eventhandler", a);
|
|
511
|
-
}, expression: "ruleFormData.eventhandler" } }, e._l(e.sdkEventHandler, function(a, i) {
|
|
512
|
-
return t("el-option", { key: i, attrs: { value: a.eventHandlerId, label: a.eventHandlerName }, nativeOn: { click: function(l) {
|
|
513
|
-
return e.sdkEventHandlerType(a.eventHandlerName);
|
|
514
|
-
} } });
|
|
515
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.sort", "\u6392\u5E8F"), prop: "order" } }, [t("el-input-number", { staticStyle: { width: "100px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), min: 1, max: 1e3, "controls-position": "right" }, model: { value: e.ruleFormData.order, callback: function(a) {
|
|
516
|
-
e.$set(e.ruleFormData, "order", a);
|
|
517
|
-
}, expression: "ruleFormData.order" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.secureString", "\u5B89\u5168\u5B57\u7B26\u4E32"), prop: "securityString" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.securityString, callback: function(a) {
|
|
518
|
-
e.$set(e.ruleFormData, "securityString", a);
|
|
519
|
-
}, expression: "ruleFormData.securityString" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(a) {
|
|
520
|
-
e.$set(e.ruleFormData, "description", a);
|
|
521
|
-
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1);
|
|
522
|
-
}, C = [], T = /* @__PURE__ */ r(
|
|
523
|
-
x,
|
|
371
|
+
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: "name", fn: function({ column: s, row: i }) {
|
|
372
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForm } })];
|
|
373
|
+
} }, { key: "statecodes", fn: function(s) {
|
|
374
|
+
return [t("el-tag", { style: e._f("dictColor")("state_code", s.row.statecodes), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("state_code", s.row.statecodes)) + " ")])];
|
|
375
|
+
} }, { key: "operator", fn: function() {
|
|
376
|
+
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.plugin.name", "\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(s) {
|
|
377
|
+
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
378
|
+
} }, model: { value: e.queryParam.name, callback: function(s) {
|
|
379
|
+
e.$set(e.queryParam, "name", s);
|
|
380
|
+
}, expression: "queryParam.name" } }), 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)])];
|
|
381
|
+
}, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: i }) {
|
|
382
|
+
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: i }, on: { save: e.saveQueries } })];
|
|
383
|
+
} }]) })], 1), t("editForm", { ref: "editForm", attrs: { formMode: e.formMode }, on: { ok: e.refresh } }), t("dataIndex", { ref: "dataIndex", on: { ok: e.refresh } })], 1);
|
|
384
|
+
}, T = [], N = /* @__PURE__ */ r(
|
|
524
385
|
P,
|
|
525
386
|
C,
|
|
387
|
+
T,
|
|
526
388
|
!1,
|
|
527
389
|
null,
|
|
528
|
-
|
|
390
|
+
"63412450",
|
|
529
391
|
null,
|
|
530
392
|
null
|
|
531
393
|
);
|
|
532
|
-
const
|
|
394
|
+
const d = N.exports;
|
|
395
|
+
d.install = function(a) {
|
|
396
|
+
a.component(d.name, d);
|
|
397
|
+
};
|
|
398
|
+
const L = {
|
|
533
399
|
data() {
|
|
534
400
|
return {
|
|
535
401
|
tableColumns: [
|
|
@@ -651,9 +517,9 @@ const K = {
|
|
|
651
517
|
default: 400
|
|
652
518
|
}
|
|
653
519
|
},
|
|
654
|
-
mixins: [
|
|
520
|
+
mixins: [c, L],
|
|
655
521
|
components: {
|
|
656
|
-
editForm:
|
|
522
|
+
editForm: () => Promise.resolve().then(() => V)
|
|
657
523
|
},
|
|
658
524
|
data() {
|
|
659
525
|
return {
|
|
@@ -663,7 +529,7 @@ const K = {
|
|
|
663
529
|
typeId: [],
|
|
664
530
|
id: [],
|
|
665
531
|
name: "",
|
|
666
|
-
loadData: (
|
|
532
|
+
loadData: (a) => (this.queryParam.typeId = this.id, p(Object.assign(a, this.queryParam)).then((e) => e.data)),
|
|
667
533
|
selectedRowKeys: [],
|
|
668
534
|
selectedRows: [],
|
|
669
535
|
fullscreen: !1,
|
|
@@ -678,8 +544,8 @@ const K = {
|
|
|
678
544
|
return this.getDictionary("Stage");
|
|
679
545
|
},
|
|
680
546
|
getHeight() {
|
|
681
|
-
let
|
|
682
|
-
return this.screenHeight -
|
|
547
|
+
let a = this.fullscreen ? 170 : 320;
|
|
548
|
+
return this.screenHeight - a;
|
|
683
549
|
},
|
|
684
550
|
...n(["tablePageSize", "tableSize", "labelPosition", "formMode", "screenHeight"])
|
|
685
551
|
},
|
|
@@ -687,10 +553,10 @@ const K = {
|
|
|
687
553
|
reset() {
|
|
688
554
|
this.queryParam = {};
|
|
689
555
|
},
|
|
690
|
-
editForm(
|
|
556
|
+
editForm(a) {
|
|
691
557
|
this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
692
558
|
Object.assign({
|
|
693
|
-
...
|
|
559
|
+
...a
|
|
694
560
|
})
|
|
695
561
|
);
|
|
696
562
|
},
|
|
@@ -700,11 +566,11 @@ const K = {
|
|
|
700
566
|
togglefullscreen() {
|
|
701
567
|
this.fullscreen = !this.fullscreen;
|
|
702
568
|
},
|
|
703
|
-
index(
|
|
569
|
+
index(a) {
|
|
704
570
|
let e = [];
|
|
705
|
-
this.fullscreen = !1, this.visible = !0, this.id =
|
|
706
|
-
sysPluginId:
|
|
707
|
-
name:
|
|
571
|
+
this.fullscreen = !1, this.visible = !0, this.id = a.id, this.queryParam.typeId = a.id, e.push({
|
|
572
|
+
sysPluginId: a.id,
|
|
573
|
+
name: a.name
|
|
708
574
|
}), this.typeId = e, this.$nextTick(() => {
|
|
709
575
|
setTimeout(() => {
|
|
710
576
|
this.$refs.table && this.$refs.table.refresh();
|
|
@@ -714,16 +580,16 @@ const K = {
|
|
|
714
580
|
handleCancel() {
|
|
715
581
|
this.queryParam = {}, this.visible = !1;
|
|
716
582
|
},
|
|
717
|
-
editSysDictDataStatus(
|
|
718
|
-
|
|
583
|
+
editSysDictDataStatus(a, e) {
|
|
584
|
+
f({
|
|
719
585
|
id: e.id,
|
|
720
|
-
stateCodes:
|
|
586
|
+
stateCodes: a == 0 ? 1 : 0
|
|
721
587
|
}).then((t) => {
|
|
722
588
|
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
|
|
723
589
|
});
|
|
724
590
|
},
|
|
725
|
-
sysDataDelete(
|
|
726
|
-
|
|
591
|
+
sysDataDelete(a) {
|
|
592
|
+
y(a).then((e) => {
|
|
727
593
|
e.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + e.message);
|
|
728
594
|
}).catch((e) => {
|
|
729
595
|
this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + e.message);
|
|
@@ -735,18 +601,18 @@ const K = {
|
|
|
735
601
|
refresh() {
|
|
736
602
|
this.$refs.table.refresh();
|
|
737
603
|
},
|
|
738
|
-
onSelectChange(
|
|
739
|
-
this.selectedRowKeys =
|
|
604
|
+
onSelectChange(a, e) {
|
|
605
|
+
this.selectedRowKeys = a, this.selectedRows = e;
|
|
740
606
|
},
|
|
741
|
-
dictSwitch(
|
|
742
|
-
let t = this.$options.filters.dictData(e).filter((
|
|
607
|
+
dictSwitch(a, e) {
|
|
608
|
+
let t = this.$options.filters.dictData(e).filter((s) => s.code == a)[0];
|
|
743
609
|
return t && t.colour ? t.colour : null;
|
|
744
610
|
},
|
|
745
|
-
getDictionary(
|
|
746
|
-
return this.$options.filters.dictData(
|
|
611
|
+
getDictionary(a) {
|
|
612
|
+
return this.$options.filters.dictData(a);
|
|
747
613
|
},
|
|
748
|
-
doEvent(
|
|
749
|
-
let e =
|
|
614
|
+
doEvent(a) {
|
|
615
|
+
let e = a.item.functionName;
|
|
750
616
|
this[e] && this[e]();
|
|
751
617
|
}
|
|
752
618
|
},
|
|
@@ -764,183 +630,268 @@ const K = {
|
|
|
764
630
|
};
|
|
765
631
|
var I = function() {
|
|
766
632
|
var e = this, t = e._self._c;
|
|
767
|
-
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: "80%", center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(
|
|
768
|
-
e.visible =
|
|
769
|
-
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.plugin.stepManagement", "SDK\u6B65\u9AA4\u7BA1\u7406"), fullscreen: e.fullscreen, buttons: [], emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { staticClass: "gd-dict", class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "entityName", fn: function({ column:
|
|
633
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: "80%", center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
634
|
+
e.visible = s;
|
|
635
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.plugin.stepManagement", "SDK\u6B65\u9AA4\u7BA1\u7406"), fullscreen: e.fullscreen, buttons: [], emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { staticClass: "gd-dict", class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "entityName", fn: function({ column: s, row: i }) {
|
|
770
636
|
return [t("gd-tooltip", { attrs: { rowKey: "entityname", row: i } })];
|
|
771
|
-
} }, { key: "stateCodes", fn: function(
|
|
772
|
-
return [t("el-popconfirm", { attrs: { title:
|
|
773
|
-
} }, { key: "stage", fn: function(
|
|
774
|
-
return [e.dictSwitch(
|
|
775
|
-
} }, { key: "sdkMessage", fn: function(
|
|
776
|
-
return [e.dictSwitch(
|
|
777
|
-
} }, { key: "eventHandler", fn: function({ column:
|
|
637
|
+
} }, { key: "stateCodes", fn: function(s) {
|
|
638
|
+
return [t("el-popconfirm", { attrs: { title: s.row.statecodes == 0 ? e.$i18nt("gd.btn.enable", "\u542F\u7528") : e.$i18nt("gd.btn.deactivate", "\u505C\u7528") }, on: { confirm: () => e.editSysDictDataStatus(s.row.statecodes, s.row) } }, [t("el-tag", { style: e._f("dictColor")("state_code", s.row.statecodes), attrs: { slot: "reference", effect: "dark" }, slot: "reference" }, [e._v(" " + e._s(e._f("dictType")("state_code", s.row.statecodes)) + " ")])], 1)];
|
|
639
|
+
} }, { key: "stage", fn: function(s) {
|
|
640
|
+
return [e.dictSwitch(s.row.stage, "stage") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", size: "mini", color: e.dictSwitch(s.row.stage, "stage") } }, [e._v(" " + e._s(e._f("dictType")("stage", s.row.stage)) + " ")]) : t("div", [e._v(e._s(e._f("dictType")("stage", s.row.stage)))])];
|
|
641
|
+
} }, { key: "sdkMessage", fn: function(s) {
|
|
642
|
+
return [e.dictSwitch(s.row.sdkmessage, "SdkMessage") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", size: "mini", color: e.dictSwitch(s.row.sdkmessage, "SdkMessage") } }, [e._v(" " + e._s(e._f("dictType")("SdkMessage", s.row.sdkmessage)) + " ")]) : t("div", [e._v(e._s(e._f("dictType")("SdkMessage", s.row.stage)))])];
|
|
643
|
+
} }, { key: "eventHandler", fn: function({ column: s, row: i }) {
|
|
778
644
|
return [t("gd-tooltip", { attrs: { rowKey: "eventhandler", row: i } })];
|
|
779
|
-
} }, { key: "action", fn: function(
|
|
645
|
+
} }, { key: "action", fn: function(s) {
|
|
780
646
|
return [e.$hasPerm("sysPluginStep:edit") ? t("a", { on: { click: function(i) {
|
|
781
|
-
return e.$refs.editForm.edit(
|
|
782
|
-
} } }, [e._v(" " + e._s(e.$i18nt("gd.btn.edit")) + " ")]) : e._e(), e.$hasPerm("sysPluginStep:edit") ? t("el-divider", { attrs: { direction: "vertical" } }) : e._e(), e.$hasPerm("sysPluginStep:delete") ? t("el-popconfirm", { attrs: { placement: "top-start", title: e.$i18nt("gd.https.delContent") }, on: { confirm: () => e.sysDataDelete(
|
|
647
|
+
return e.$refs.editForm.edit(s.row, "edit");
|
|
648
|
+
} } }, [e._v(" " + e._s(e.$i18nt("gd.btn.edit")) + " ")]) : e._e(), e.$hasPerm("sysPluginStep:edit") ? t("el-divider", { attrs: { direction: "vertical" } }) : e._e(), e.$hasPerm("sysPluginStep:delete") ? t("el-popconfirm", { attrs: { placement: "top-start", title: e.$i18nt("gd.https.delContent") }, on: { confirm: () => e.sysDataDelete(s.row) } }, [t("a", { attrs: { slot: "reference" }, slot: "reference" }, [e._v(e._s(e.$i18nt("gd.btn.del", "\u5220\u9664")))])]) : e._e()];
|
|
783
649
|
} }, { key: "operator", fn: function() {
|
|
784
|
-
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-select", { staticClass: "table-operator-input", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.plugin.eventSteps", "\u4E8B\u4EF6\u6B65\u9AA4"), clearable: "" }, model: { value: e.queryParam.stage, callback: function(
|
|
785
|
-
e.$set(e.queryParam, "stage",
|
|
786
|
-
}, expression: "queryParam.stage" } }, e._l(e.sdkStageType, function(
|
|
787
|
-
return t("el-option", { key: i, attrs: { label:
|
|
650
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "260px" } }, [t("el-select", { staticClass: "table-operator-input", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.plugin.eventSteps", "\u4E8B\u4EF6\u6B65\u9AA4"), clearable: "" }, model: { value: e.queryParam.stage, callback: function(s) {
|
|
651
|
+
e.$set(e.queryParam, "stage", s);
|
|
652
|
+
}, expression: "queryParam.stage" } }, e._l(e.sdkStageType, function(s, i) {
|
|
653
|
+
return t("el-option", { key: i, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.name), value: s.code } });
|
|
788
654
|
}), 1), 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)])];
|
|
789
655
|
}, proxy: !0 }]) })], 1)], 1), t("edit-form", { ref: "editForm", on: { ok: e.refresh } })], 1);
|
|
790
|
-
},
|
|
656
|
+
}, O = [], E = /* @__PURE__ */ r(
|
|
791
657
|
K,
|
|
792
658
|
I,
|
|
793
|
-
|
|
659
|
+
O,
|
|
794
660
|
!1,
|
|
795
661
|
null,
|
|
796
|
-
"
|
|
662
|
+
"e5cb5cf0",
|
|
797
663
|
null,
|
|
798
664
|
null
|
|
799
665
|
);
|
|
800
|
-
const R =
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
height: {
|
|
805
|
-
type: Number,
|
|
806
|
-
default: 100
|
|
807
|
-
}
|
|
808
|
-
},
|
|
809
|
-
mixins: [u, $],
|
|
666
|
+
const q = E.exports, R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
667
|
+
__proto__: null,
|
|
668
|
+
default: q
|
|
669
|
+
}, Symbol.toStringTag, { value: "Module" })), B = {
|
|
810
670
|
data() {
|
|
811
671
|
return {
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
672
|
+
visible: !1,
|
|
673
|
+
confirmLoading: !1,
|
|
674
|
+
stageId: "",
|
|
675
|
+
ruleFormData: {},
|
|
676
|
+
rules: {
|
|
677
|
+
eventhandler: [
|
|
678
|
+
{
|
|
679
|
+
required: !0,
|
|
680
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
681
|
+
trigger: "change"
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
stage: [
|
|
685
|
+
{
|
|
686
|
+
required: !0,
|
|
687
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
688
|
+
trigger: "change"
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
entityName: [
|
|
692
|
+
{
|
|
693
|
+
required: !0,
|
|
694
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
695
|
+
trigger: "change"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
sdkmessage: [
|
|
699
|
+
{
|
|
700
|
+
required: !0,
|
|
701
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
702
|
+
trigger: "change"
|
|
703
|
+
}
|
|
704
|
+
],
|
|
705
|
+
eventhandler: [
|
|
706
|
+
{
|
|
707
|
+
required: (this.type == "edit", !1),
|
|
708
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
709
|
+
trigger: "change"
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
title: "",
|
|
714
|
+
sysViewButtons: [
|
|
715
|
+
{
|
|
716
|
+
displayName: "\u786E\u5B9A",
|
|
717
|
+
functionName: "handleSubmit",
|
|
718
|
+
show: !0,
|
|
719
|
+
transKey: "gd.btn.confirm",
|
|
720
|
+
name: "sysPluginStep:edit",
|
|
721
|
+
icon: "el-icon-document-checked"
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
type: null,
|
|
725
|
+
fullscreen: !1,
|
|
726
|
+
width: "700px",
|
|
727
|
+
currentSelectedIcon: "",
|
|
728
|
+
visibleIcon: !1,
|
|
729
|
+
sdkEventHandler: [],
|
|
730
|
+
eventName: ""
|
|
815
731
|
};
|
|
816
732
|
},
|
|
817
|
-
components: {
|
|
818
|
-
editForm: k,
|
|
819
|
-
dataIndex: R
|
|
820
|
-
},
|
|
821
733
|
computed: {
|
|
822
|
-
|
|
823
|
-
return this.
|
|
734
|
+
sdkStageType() {
|
|
735
|
+
return this.getDictionary("Stage");
|
|
824
736
|
},
|
|
825
|
-
|
|
737
|
+
options() {
|
|
738
|
+
return this.getDictionary("SdkMessage");
|
|
739
|
+
},
|
|
740
|
+
...n(["labelPosition", "formMode", "tableLists"])
|
|
826
741
|
},
|
|
827
742
|
methods: {
|
|
828
|
-
|
|
829
|
-
this.
|
|
743
|
+
togglefullscreen() {
|
|
744
|
+
this.fullscreen = !this.fullscreen;
|
|
830
745
|
},
|
|
831
|
-
|
|
832
|
-
this.
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
746
|
+
edit(a, e) {
|
|
747
|
+
this.type = e, this.visible = !0, this.fullscreen = !1, this.title = this.type == "edit" ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u5931\u8D25"), this.stageId = a.stage, this.sdkmessageId = a.sdkmessage, this.entityNameId = a.entityname, this.$nextTick(() => {
|
|
748
|
+
setTimeout(() => {
|
|
749
|
+
this.type == "add" ? (this.ruleFormData = {
|
|
750
|
+
sysPluginId: a[0].sysPluginId,
|
|
751
|
+
pluginName: a[0].name
|
|
752
|
+
}, this.ruleFormData.order = 1, this.getEventhandler(a[0].sysPluginId)) : this.ruleFormData = {
|
|
753
|
+
id: a.id,
|
|
754
|
+
sysPluginId: a.syspluginid,
|
|
755
|
+
entityName: a.entityname,
|
|
756
|
+
sdkmessage: String(a.sdkmessage),
|
|
757
|
+
stage: String(a.stage),
|
|
758
|
+
order: a.order,
|
|
759
|
+
description: a.description,
|
|
760
|
+
securityString: a.securitystring,
|
|
761
|
+
eventhandler: a.eventhandler
|
|
762
|
+
}, this.$refs.ruleForm.resetFields();
|
|
763
|
+
}, 0);
|
|
764
|
+
});
|
|
837
765
|
},
|
|
838
|
-
|
|
839
|
-
this
|
|
766
|
+
stageremarkFilter(a) {
|
|
767
|
+
const e = this.sdkStageType.filter((t) => t.code == a);
|
|
768
|
+
if (e.length > 0)
|
|
769
|
+
return e[0].remark;
|
|
840
770
|
},
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
return;
|
|
845
|
-
}
|
|
846
|
-
if (this.selectedRowKeys.length > 1) {
|
|
847
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
848
|
-
return;
|
|
849
|
-
}
|
|
850
|
-
this.editForm(this.selectedRows[0]);
|
|
771
|
+
stageNameFilter(a) {
|
|
772
|
+
const e = this.sdkStageType.filter((t) => t.code == a);
|
|
773
|
+
if (e.length > 0)
|
|
774
|
+
return e[0].code;
|
|
851
775
|
},
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
return;
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
776
|
+
messageTypeFilter(a) {
|
|
777
|
+
const e = this.options.filter((t) => t.code == a);
|
|
778
|
+
if (e.length > 0)
|
|
779
|
+
return e[0].name;
|
|
780
|
+
},
|
|
781
|
+
entityNameFilter(a) {
|
|
782
|
+
const e = this.optionsentityname.filter((t) => t.value == a);
|
|
783
|
+
if (e.length > 0)
|
|
784
|
+
return e[0].label;
|
|
785
|
+
},
|
|
786
|
+
handleChange(a) {
|
|
787
|
+
console.log(`selected ${a}`), this.sdkmessageId = a;
|
|
788
|
+
},
|
|
789
|
+
handleChangeEntityName(a) {
|
|
790
|
+
this.entityNameId = a;
|
|
791
|
+
},
|
|
792
|
+
getEventhandler(a) {
|
|
793
|
+
b({
|
|
794
|
+
pluginId: a
|
|
795
|
+
}).then((t) => {
|
|
796
|
+
t.success ? this.sdkEventHandler = t.data : this.$message.error(this.$i18nt("Locals.common.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
|
|
797
|
+
}).finally((t) => {
|
|
798
|
+
this.confirmLoading = !1;
|
|
872
799
|
});
|
|
873
800
|
},
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
801
|
+
sdkEventHandlerType(a) {
|
|
802
|
+
this.eventName = a;
|
|
803
|
+
},
|
|
804
|
+
handleSubmit() {
|
|
805
|
+
this.$refs.ruleForm.validate((a) => {
|
|
806
|
+
if (a) {
|
|
807
|
+
if (this.confirmLoading = !0, this.type == "edit") {
|
|
808
|
+
var e = this.stageremarkFilter(this.stageId), t = this.messageTypeFilter(this.sdkmessageId);
|
|
809
|
+
this.ruleFormData.name = e + this.entityNameId + t, this.ruleFormData.sdkmessage = String(this.sdkmessageId), this.ruleFormData.entityName = this.entityNameId;
|
|
810
|
+
} else
|
|
811
|
+
this.ruleFormData.name = this.eventName;
|
|
812
|
+
(this.type == "edit" ? v : $)(this.ruleFormData).then((i) => {
|
|
813
|
+
if (i.success) {
|
|
814
|
+
let l = this.type == "edit" ? this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F") : this.$i18nt("Locals.common.https.addSucc", "\u65B0\u589E\u6210\u529F");
|
|
815
|
+
this.$message.success(l), this.visible = !1, this.confirmLoading = !1, this.$emit("ok", this.ruleFormData), this.$refs.ruleForm.resetFields();
|
|
816
|
+
} else
|
|
817
|
+
this.type == "edit" ? this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") : this.$i18nt("Locals.common.https.addFail", "\u65B0\u589E\u5931\u8D25"), this.$message.error(this.$i18nt("gd.https.editFail") + i.message);
|
|
818
|
+
}).finally((i) => {
|
|
819
|
+
this.confirmLoading = !1;
|
|
820
|
+
});
|
|
821
|
+
}
|
|
887
822
|
});
|
|
888
823
|
},
|
|
889
|
-
|
|
890
|
-
this.
|
|
891
|
-
...s
|
|
892
|
-
}, this.refresh();
|
|
824
|
+
handleCancel() {
|
|
825
|
+
this.$refs.ruleForm.resetFields(), this.visible = !1;
|
|
893
826
|
},
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
897
|
-
return;
|
|
898
|
-
}
|
|
899
|
-
if (this.selectedRowKeys.length > 1) {
|
|
900
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
901
|
-
return;
|
|
902
|
-
}
|
|
903
|
-
this.$refs.dataIndex.index(this.selectedRows[0]);
|
|
827
|
+
getDictionary(a) {
|
|
828
|
+
return this.$options.filters.dictData(a);
|
|
904
829
|
},
|
|
905
|
-
|
|
906
|
-
this
|
|
830
|
+
selType(a) {
|
|
831
|
+
this.stageId = a;
|
|
907
832
|
},
|
|
908
|
-
doEvent(
|
|
909
|
-
let e =
|
|
833
|
+
doEvent(a) {
|
|
834
|
+
let e = a.item.functionName;
|
|
910
835
|
this[e] && this[e]();
|
|
911
836
|
}
|
|
912
837
|
}
|
|
913
838
|
};
|
|
914
|
-
var
|
|
839
|
+
var H = function() {
|
|
915
840
|
var e = this, t = e._self._c;
|
|
916
|
-
return t("
|
|
917
|
-
|
|
918
|
-
} }, {
|
|
919
|
-
|
|
920
|
-
} }, {
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
},
|
|
927
|
-
|
|
928
|
-
}
|
|
929
|
-
|
|
841
|
+
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
842
|
+
e.visible = s;
|
|
843
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData, rules: e.rules }, nativeOn: { submit: function(s) {
|
|
844
|
+
s.preventDefault();
|
|
845
|
+
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.sysPluginId, callback: function(s) {
|
|
846
|
+
e.$set(e.ruleFormData, "sysPluginId", s);
|
|
847
|
+
}, expression: "ruleFormData.sysPluginId" } })], 1), t("el-form-item", { staticStyle: { display: "none" } }, [e.type == "edit" ? t("el-input", { model: { value: e.ruleFormData.id, callback: function(s) {
|
|
848
|
+
e.$set(e.ruleFormData, "id", s);
|
|
849
|
+
}, expression: "ruleFormData.id" } }) : t("el-input", { model: { value: e.ruleFormData.pluginName, callback: function(s) {
|
|
850
|
+
e.$set(e.ruleFormData, "pluginName", s);
|
|
851
|
+
}, expression: "ruleFormData.pluginName" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.executeMessage", "\u6267\u884C\u6D88\u606F"), prop: "sdkmessage" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.handleChange }, model: { value: e.ruleFormData.sdkmessage, callback: function(s) {
|
|
852
|
+
e.$set(e.ruleFormData, "sdkmessage", s);
|
|
853
|
+
}, expression: "ruleFormData.sdkmessage" } }, e._l(e.options, function(s, i) {
|
|
854
|
+
return t("el-option", { key: i, attrs: { value: s.code, label: s.name } });
|
|
855
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.entityName", "\u5B9E\u4F53\u540D\u79F0"), prop: "entityName" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.handleChangeEntityName }, model: { value: e.ruleFormData.entityName, callback: function(s) {
|
|
856
|
+
e.$set(e.ruleFormData, "entityName", s);
|
|
857
|
+
}, expression: "ruleFormData.entityName" } }, e._l(e.tableLists, function(s, i) {
|
|
858
|
+
return t("el-option", { key: i, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.tablename } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + e._s(s.tablename) + " ")]);
|
|
859
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.executePhase", "\u6267\u884C\u9636\u6BB5"), prop: "stage" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.stage, callback: function(s) {
|
|
860
|
+
e.$set(e.ruleFormData, "stage", s);
|
|
861
|
+
}, expression: "ruleFormData.stage" } }, e._l(e.sdkStageType, function(s, i) {
|
|
862
|
+
return t("el-option", { key: i, attrs: { value: s.code, label: s.name }, on: { click: function(l) {
|
|
863
|
+
return e.selType(s.code);
|
|
864
|
+
} } });
|
|
865
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.eventHandler", "\u4E8B\u4EF6\u5904\u7406\u7A0B\u5E8F"), prop: "eventhandler" } }, [e.type == "edit" ? t("el-input", { staticStyle: { width: "100%" }, attrs: { disabled: !0, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.eventhandler, callback: function(s) {
|
|
866
|
+
e.$set(e.ruleFormData, "eventhandler", s);
|
|
867
|
+
}, expression: "ruleFormData.eventhandler" } }) : t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.eventhandler, callback: function(s) {
|
|
868
|
+
e.$set(e.ruleFormData, "eventhandler", s);
|
|
869
|
+
}, expression: "ruleFormData.eventhandler" } }, e._l(e.sdkEventHandler, function(s, i) {
|
|
870
|
+
return t("el-option", { key: i, attrs: { value: s.eventHandlerId, label: s.eventHandlerName }, nativeOn: { click: function(l) {
|
|
871
|
+
return e.sdkEventHandlerType(s.eventHandlerName);
|
|
872
|
+
} } });
|
|
873
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.sort", "\u6392\u5E8F"), prop: "order" } }, [t("el-input-number", { staticStyle: { width: "100px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), min: 1, max: 1e3, "controls-position": "right" }, model: { value: e.ruleFormData.order, callback: function(s) {
|
|
874
|
+
e.$set(e.ruleFormData, "order", s);
|
|
875
|
+
}, expression: "ruleFormData.order" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.secureString", "\u5B89\u5168\u5B57\u7B26\u4E32"), prop: "securityString" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.securityString, callback: function(s) {
|
|
876
|
+
e.$set(e.ruleFormData, "securityString", s);
|
|
877
|
+
}, expression: "ruleFormData.securityString" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(s) {
|
|
878
|
+
e.$set(e.ruleFormData, "description", s);
|
|
879
|
+
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1);
|
|
880
|
+
}, M = [], z = /* @__PURE__ */ r(
|
|
930
881
|
B,
|
|
931
|
-
O,
|
|
932
882
|
H,
|
|
883
|
+
M,
|
|
933
884
|
!1,
|
|
934
885
|
null,
|
|
935
|
-
|
|
886
|
+
null,
|
|
936
887
|
null,
|
|
937
888
|
null
|
|
938
889
|
);
|
|
939
|
-
const
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
};
|
|
890
|
+
const j = z.exports, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
891
|
+
__proto__: null,
|
|
892
|
+
default: j
|
|
893
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
943
894
|
export {
|
|
944
895
|
d as G,
|
|
945
|
-
|
|
896
|
+
k as e
|
|
946
897
|
};
|