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
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
import { m as o, n as r } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { s as c, a as u, b as h } from "./http.solution.b10d9197.mjs";
|
|
3
|
+
import { s as p, a as g, b as m } from "./http.sysapps.932ba43b.mjs";
|
|
4
|
+
const f = {
|
|
5
|
+
data() {
|
|
6
|
+
return {
|
|
7
|
+
tableColumns: [{
|
|
8
|
+
type: "selection",
|
|
9
|
+
width: "60",
|
|
10
|
+
fixed: !0
|
|
11
|
+
}, {
|
|
12
|
+
transKey: "gd.plugin.name",
|
|
13
|
+
prop: "name",
|
|
14
|
+
label: "\u540D\u79F0",
|
|
15
|
+
type: "slot",
|
|
16
|
+
slotType: "name",
|
|
17
|
+
align: "left"
|
|
18
|
+
}, {
|
|
19
|
+
transKey: "gd.flow.creationTime",
|
|
20
|
+
prop: "createdtime",
|
|
21
|
+
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
22
|
+
align: "center"
|
|
23
|
+
}],
|
|
24
|
+
tableButtons: [{
|
|
25
|
+
displayName: "\u65B0\u589E",
|
|
26
|
+
functionName: "add",
|
|
27
|
+
show: !0,
|
|
28
|
+
transKey: "gd.btn.add",
|
|
29
|
+
icon: "el-icon-plus",
|
|
30
|
+
name: "sysSolution:add"
|
|
31
|
+
}, {
|
|
32
|
+
displayName: "\u5220\u9664",
|
|
33
|
+
functionName: "del",
|
|
34
|
+
show: !0,
|
|
35
|
+
transKey: "gd.btn.del",
|
|
36
|
+
icon: "el-icon-delete",
|
|
37
|
+
btnType: "danger",
|
|
38
|
+
name: "sysSolution:del"
|
|
39
|
+
}]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}, y = {
|
|
43
|
+
data() {
|
|
44
|
+
return {
|
|
45
|
+
tableColumns: [
|
|
46
|
+
{
|
|
47
|
+
type: "selection",
|
|
48
|
+
width: "60",
|
|
49
|
+
fixed: !0
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
transKey: "gd.plugin.name",
|
|
53
|
+
prop: "name",
|
|
54
|
+
label: "\u540D\u79F0",
|
|
55
|
+
type: "slot",
|
|
56
|
+
slotType: "name",
|
|
57
|
+
align: "left",
|
|
58
|
+
fixed: !0,
|
|
59
|
+
showOverflowTooltip: !0
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
transKey: "gd.application.code",
|
|
63
|
+
prop: "code",
|
|
64
|
+
width: "200",
|
|
65
|
+
label: "\u552F\u4E00\u7F16\u7801",
|
|
66
|
+
align: "left"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
transKey: "gd.application.version",
|
|
70
|
+
prop: "version",
|
|
71
|
+
width: "200",
|
|
72
|
+
label: "\u7248\u672C",
|
|
73
|
+
align: "left"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
transKey: "gd.application.introduction",
|
|
77
|
+
prop: "introduction",
|
|
78
|
+
label: "\u4ECB\u7ECD",
|
|
79
|
+
align: "left",
|
|
80
|
+
showOverflowTooltip: !0
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
tableQueries: [{
|
|
84
|
+
transKey: "gd.plugin.name",
|
|
85
|
+
effectType: "input",
|
|
86
|
+
prop: "name",
|
|
87
|
+
label: "\u540D\u79F0",
|
|
88
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
89
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
90
|
+
rules: []
|
|
91
|
+
}],
|
|
92
|
+
formButtons: [{
|
|
93
|
+
displayName: "\u65B0\u5EFA",
|
|
94
|
+
functionName: "addBuilt",
|
|
95
|
+
show: !0,
|
|
96
|
+
transKey: "gd.btn.addBuilt",
|
|
97
|
+
icon: "el-icon-plus"
|
|
98
|
+
}, {
|
|
99
|
+
displayName: "\u786E\u5B9A",
|
|
100
|
+
functionName: "handleSubmit",
|
|
101
|
+
show: !0,
|
|
102
|
+
transKey: "gd.btn.confirm",
|
|
103
|
+
icon: "el-icon-document-checked"
|
|
104
|
+
}],
|
|
105
|
+
formButtonsedit: [
|
|
106
|
+
{
|
|
107
|
+
displayName: "\u786E\u5B9A",
|
|
108
|
+
functionName: "handleSubmit",
|
|
109
|
+
show: !0,
|
|
110
|
+
transKey: "gd.btn.confirm",
|
|
111
|
+
icon: "el-icon-document-checked"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
formColumns: [
|
|
115
|
+
{
|
|
116
|
+
transKey: "gd.application.logo",
|
|
117
|
+
effectType: "image",
|
|
118
|
+
prop: "logo",
|
|
119
|
+
label: "\u5E94\u7528\u56FE\u6807",
|
|
120
|
+
placeholder: "\u8BF7\u4E0A\u4F20",
|
|
121
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
122
|
+
limit: 1,
|
|
123
|
+
rules: [{
|
|
124
|
+
required: !0,
|
|
125
|
+
message: "\u8BF7\u4E0A\u4F20",
|
|
126
|
+
transKey: "gd.placeholder.input",
|
|
127
|
+
trigger: "change"
|
|
128
|
+
}]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
transKey: "gd.application.name",
|
|
132
|
+
prop: "name",
|
|
133
|
+
effectType: "input",
|
|
134
|
+
label: "\u540D\u79F0",
|
|
135
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
136
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
137
|
+
rules: [{
|
|
138
|
+
required: !0,
|
|
139
|
+
message: "\u8BF7\u8F93\u5165",
|
|
140
|
+
transKey: "gd.placeholder.input",
|
|
141
|
+
trigger: "change"
|
|
142
|
+
}]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
transKey: "gd.application.code",
|
|
146
|
+
prop: "code",
|
|
147
|
+
effectType: "input",
|
|
148
|
+
label: "\u552F\u4E00\u7F16\u7801",
|
|
149
|
+
disabled: !1,
|
|
150
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
151
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
152
|
+
rules: [{
|
|
153
|
+
required: !0,
|
|
154
|
+
message: "\u8BF7\u8F93\u5165",
|
|
155
|
+
transKey: "gd.placeholder.input",
|
|
156
|
+
trigger: "change"
|
|
157
|
+
}]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
transKey: null,
|
|
161
|
+
prop: "clientid",
|
|
162
|
+
effectType: "input",
|
|
163
|
+
label: "client_id",
|
|
164
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
165
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
166
|
+
rules: []
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
transKey: null,
|
|
170
|
+
prop: "clientsecret",
|
|
171
|
+
effectType: "input",
|
|
172
|
+
label: "client_secret",
|
|
173
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
174
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
175
|
+
rules: []
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
transKey: "gd.application.version",
|
|
179
|
+
prop: "version",
|
|
180
|
+
effectType: "input",
|
|
181
|
+
label: "\u7248\u672C",
|
|
182
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
183
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
184
|
+
rules: [{
|
|
185
|
+
required: !0,
|
|
186
|
+
message: "\u8BF7\u8F93\u5165",
|
|
187
|
+
transKey: "gd.placeholder.input",
|
|
188
|
+
trigger: "change"
|
|
189
|
+
}]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
transKey: "gd.application.introduction",
|
|
193
|
+
effectType: "textarea",
|
|
194
|
+
prop: "introduction",
|
|
195
|
+
label: "\u4ECB\u7ECD",
|
|
196
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
197
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
198
|
+
rules: [{
|
|
199
|
+
required: !0,
|
|
200
|
+
message: "\u8BF7\u8F93\u5165",
|
|
201
|
+
transKey: "gd.placeholder.input",
|
|
202
|
+
trigger: "change"
|
|
203
|
+
}],
|
|
204
|
+
autosize: {
|
|
205
|
+
minRows: 4,
|
|
206
|
+
maxRows: 6
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
const b = {
|
|
214
|
+
mixins: [y],
|
|
215
|
+
props: {
|
|
216
|
+
detail: {
|
|
217
|
+
type: Object,
|
|
218
|
+
default: () => {
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
selList: {
|
|
222
|
+
type: Array,
|
|
223
|
+
default: () => []
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
data() {
|
|
227
|
+
return {
|
|
228
|
+
fullscreen: !1,
|
|
229
|
+
confirmLoading: !1,
|
|
230
|
+
visible: !1,
|
|
231
|
+
width: "70%",
|
|
232
|
+
selectedRowKeys: [],
|
|
233
|
+
selectedRows: [],
|
|
234
|
+
queryParam: {},
|
|
235
|
+
loadData: (s) => p(Object.assign(s, this.queryParam)).then((e) => (this.getRow(e.data), this.allList = e.data.rows, e.data)),
|
|
236
|
+
disabledRowId: [],
|
|
237
|
+
transKey: "gd.btn.add",
|
|
238
|
+
formLoading: !1,
|
|
239
|
+
basicAttribute: {
|
|
240
|
+
pc: {
|
|
241
|
+
isInherit: 1,
|
|
242
|
+
isNavigation: 1,
|
|
243
|
+
layout: "sidemenu",
|
|
244
|
+
logoOpen: !0,
|
|
245
|
+
logo: {
|
|
246
|
+
mode: "imageWithText",
|
|
247
|
+
bigPicture: "",
|
|
248
|
+
smallPicture: "",
|
|
249
|
+
title: "",
|
|
250
|
+
titleFont: 15,
|
|
251
|
+
subtitle: "",
|
|
252
|
+
subtitleFont: 12,
|
|
253
|
+
flexDirection: "row"
|
|
254
|
+
},
|
|
255
|
+
menus: [
|
|
256
|
+
{
|
|
257
|
+
name: "\u901A\u7528\u5BFC\u5165",
|
|
258
|
+
key: "universalImport",
|
|
259
|
+
statu: !0,
|
|
260
|
+
disabled: !1,
|
|
261
|
+
transkey: "gd.menu.universalImport"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: "\u6D88\u606F",
|
|
265
|
+
key: "information",
|
|
266
|
+
statu: !0,
|
|
267
|
+
disabled: !1,
|
|
268
|
+
transkey: "gd.menu.information"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: "\u9AD8\u7EA7\u67E5\u627E",
|
|
272
|
+
key: "advancedFind",
|
|
273
|
+
statu: !0,
|
|
274
|
+
disabled: !1,
|
|
275
|
+
transkey: "gd.menu.menuAdvancedFind"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: "\u4E3B\u9898\u914D\u7F6E",
|
|
279
|
+
key: "theme",
|
|
280
|
+
statu: !0,
|
|
281
|
+
disabled: !1,
|
|
282
|
+
transkey: "gd.menu.themeConfiguration"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: "\u5168\u5C4F",
|
|
286
|
+
key: "fullScreen",
|
|
287
|
+
statu: !0,
|
|
288
|
+
disabled: !1,
|
|
289
|
+
transkey: "gd.menu.fullScreen"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: "\u7528\u6237",
|
|
293
|
+
key: "user",
|
|
294
|
+
statu: !0,
|
|
295
|
+
disabled: !0,
|
|
296
|
+
transkey: "gd.menu.user"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: "\u9000\u51FA\u767B\u5F55",
|
|
300
|
+
key: "logout",
|
|
301
|
+
statu: !0,
|
|
302
|
+
disabled: !1,
|
|
303
|
+
transkey: "gd.menu.logOut"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
mobile: {
|
|
308
|
+
mode: "icon",
|
|
309
|
+
boxShadow: !0,
|
|
310
|
+
menus: [
|
|
311
|
+
{
|
|
312
|
+
class: "",
|
|
313
|
+
selClass: "",
|
|
314
|
+
name: "",
|
|
315
|
+
pageData: {}
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
allList: [],
|
|
321
|
+
code: ""
|
|
322
|
+
};
|
|
323
|
+
},
|
|
324
|
+
computed: {
|
|
325
|
+
getHeight() {
|
|
326
|
+
return this.screenHeight - (this.fullscreen ? 160 : 320);
|
|
327
|
+
},
|
|
328
|
+
styled() {
|
|
329
|
+
return `color:${this.primaryColor};cursor: pointer;`;
|
|
330
|
+
},
|
|
331
|
+
getFormColumns() {
|
|
332
|
+
return this.formColumns.filter((e) => (e.prop === "code" && (e.disabled = this.transKey === "gd.btn.edit"), !0));
|
|
333
|
+
},
|
|
334
|
+
...o(["tablePageSize", "screenHeight", "tableSize", "primaryColor", "formMode", "labelPosition"])
|
|
335
|
+
},
|
|
336
|
+
methods: {
|
|
337
|
+
getRow(s) {
|
|
338
|
+
let e = [];
|
|
339
|
+
s.rows.filter((t) => this.selList.includes(t.id)).forEach((t) => {
|
|
340
|
+
e.push(t.id);
|
|
341
|
+
}), this.disabledRowId = e;
|
|
342
|
+
},
|
|
343
|
+
toggleFullscreen() {
|
|
344
|
+
this.fullscreen = !this.fullscreen;
|
|
345
|
+
},
|
|
346
|
+
saveQueries(s) {
|
|
347
|
+
this.queryParam = {
|
|
348
|
+
...s
|
|
349
|
+
}, this.refresh();
|
|
350
|
+
},
|
|
351
|
+
open(s) {
|
|
352
|
+
this.fullScreen = !1, this.type = s ? 2 : 1, this.visible = !0;
|
|
353
|
+
},
|
|
354
|
+
handleSubmit() {
|
|
355
|
+
if (this.confirmLoading)
|
|
356
|
+
return;
|
|
357
|
+
if (this.selectedRowKeys.length == 0) {
|
|
358
|
+
this.closed();
|
|
359
|
+
return;
|
|
360
|
+
}
|
|
361
|
+
this.confirmLoading = !0;
|
|
362
|
+
let s = [];
|
|
363
|
+
this.selectedRows.forEach((t) => {
|
|
364
|
+
s.push({
|
|
365
|
+
componenttype: 23,
|
|
366
|
+
objectid: t.id,
|
|
367
|
+
name: this.getTransKeyName(t.transkey, t.name)
|
|
368
|
+
});
|
|
369
|
+
});
|
|
370
|
+
let e = {
|
|
371
|
+
solutionId: this.detail.id,
|
|
372
|
+
data: s
|
|
373
|
+
};
|
|
374
|
+
c(e).then((t) => {
|
|
375
|
+
t.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok", this.selectedRowKeys), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + t.message), this.confirmLoading = !1;
|
|
376
|
+
});
|
|
377
|
+
},
|
|
378
|
+
refresh() {
|
|
379
|
+
this.$refs.table.refresh();
|
|
380
|
+
},
|
|
381
|
+
closed() {
|
|
382
|
+
this.selectedRowKeys = [], this.selectedRows = [], this.formButtons.forEach((s) => {
|
|
383
|
+
s.displayName == "\u65B0\u5EFA" && (s.show = !0);
|
|
384
|
+
}), this.visible = !1;
|
|
385
|
+
},
|
|
386
|
+
onSelectChange(s, e) {
|
|
387
|
+
this.selectedRowKeys = s, this.selectedRows = e, this.selectedRows.length > 0 ? this.formButtons.forEach((t) => {
|
|
388
|
+
t.displayName == "\u65B0\u5EFA" && (t.show = !1);
|
|
389
|
+
}) : this.formButtons.forEach((t) => {
|
|
390
|
+
t.displayName == "\u65B0\u5EFA" && (t.show = !0);
|
|
391
|
+
});
|
|
392
|
+
},
|
|
393
|
+
doEvent(s) {
|
|
394
|
+
let e = s.item.functionName;
|
|
395
|
+
this[e]();
|
|
396
|
+
},
|
|
397
|
+
getTransKeyName(s, e) {
|
|
398
|
+
return this.getBootTrans && s ? this.$i18nt(`Dynamics.${s}`, e) : e;
|
|
399
|
+
},
|
|
400
|
+
addBuilt() {
|
|
401
|
+
this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
|
|
402
|
+
},
|
|
403
|
+
sbumit({ data: s, record: e, btn: t }, i, a) {
|
|
404
|
+
this.formLoading = !0, (e ? g : m)(e ? s : Object.assign(s, { basicAttribute: JSON.stringify(this.basicAttribute) })).then((n) => {
|
|
405
|
+
n.success ? (this.code = s.code, this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), this.refresh(), e || setTimeout(() => {
|
|
406
|
+
const l = this.allList.find((d) => d.id === n.data);
|
|
407
|
+
this.selectedRowKeys = [l.id], this.selectedRows = [l], setTimeout(() => {
|
|
408
|
+
this.handleSubmit();
|
|
409
|
+
}, 10);
|
|
410
|
+
}, 400)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.formLoading = !1;
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
var w = function() {
|
|
416
|
+
var e = this, t = e._self._c;
|
|
417
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
418
|
+
e.visible = i;
|
|
419
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.https.add", "\u65B0\u589E"), fullscreen: e.fullscreen, buttons: e.formButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, filtering: !0, height: e.getHeight, selectedRowKeys: e.selectedRowKeys, disabledRowId: e.disabledRowId }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
|
|
420
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" } })];
|
|
421
|
+
} }, { key: "status", fn: function(i) {
|
|
422
|
+
return [t("div", [i.row.status ? t("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : t("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })])];
|
|
423
|
+
} }, { key: "filtering", fn: function({ colse: i, visible: a }) {
|
|
424
|
+
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: a }, on: { save: e.saveQueries } })];
|
|
425
|
+
} }], null, !1, 444474338) }) : e._e()], 1)], 2), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtonsedit, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, needLoad: !0 }, on: { sbumit: e.sbumit } })], 1);
|
|
426
|
+
}, v = [], K = /* @__PURE__ */ r(
|
|
427
|
+
b,
|
|
428
|
+
w,
|
|
429
|
+
v,
|
|
430
|
+
!1,
|
|
431
|
+
null,
|
|
432
|
+
"3046fefb",
|
|
433
|
+
null,
|
|
434
|
+
null
|
|
435
|
+
);
|
|
436
|
+
const _ = K.exports;
|
|
437
|
+
const S = {
|
|
438
|
+
mixins: [f],
|
|
439
|
+
props: {
|
|
440
|
+
height: {
|
|
441
|
+
type: Number,
|
|
442
|
+
default: 0
|
|
443
|
+
},
|
|
444
|
+
record: {
|
|
445
|
+
type: Object,
|
|
446
|
+
default: () => ({})
|
|
447
|
+
},
|
|
448
|
+
selList: {
|
|
449
|
+
type: Array,
|
|
450
|
+
default: () => []
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
components: {
|
|
454
|
+
applicationEdit: _
|
|
455
|
+
},
|
|
456
|
+
data() {
|
|
457
|
+
return {
|
|
458
|
+
queryParam: {},
|
|
459
|
+
loadData: (s) => u(Object.assign(s, this.getQueryParam)).then((e) => e.data),
|
|
460
|
+
selectedRowKeys: [],
|
|
461
|
+
selectedRows: [],
|
|
462
|
+
type: 23
|
|
463
|
+
};
|
|
464
|
+
},
|
|
465
|
+
computed: {
|
|
466
|
+
getQueryParam() {
|
|
467
|
+
return Object.assign(this.queryParam, {
|
|
468
|
+
solutionId: this.record.id,
|
|
469
|
+
type: this.type
|
|
470
|
+
});
|
|
471
|
+
},
|
|
472
|
+
...o(["tablePageSize", "tableSize"])
|
|
473
|
+
},
|
|
474
|
+
methods: {
|
|
475
|
+
add() {
|
|
476
|
+
this.$refs.applicationEdit.open(null);
|
|
477
|
+
},
|
|
478
|
+
okSbumit(s) {
|
|
479
|
+
this.refresh(), this.$emit("ok", s);
|
|
480
|
+
},
|
|
481
|
+
del() {
|
|
482
|
+
if (this.selectedRowKeys.length === 0) {
|
|
483
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
[...this.selectedRows], this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
487
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
488
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
489
|
+
showClose: !1,
|
|
490
|
+
confirmButtonLoading: !1,
|
|
491
|
+
cancelButtonLoading: !1,
|
|
492
|
+
closeOnClickModal: !1,
|
|
493
|
+
type: "warning",
|
|
494
|
+
confirmButtonClass: "el-button--danger",
|
|
495
|
+
customClass: "custom-alert",
|
|
496
|
+
callback: () => {
|
|
497
|
+
},
|
|
498
|
+
beforeClose: (s, e, t) => {
|
|
499
|
+
this.delHand(s, e, t);
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
},
|
|
503
|
+
delHand(s, e, t) {
|
|
504
|
+
if (s !== "confirm") {
|
|
505
|
+
t();
|
|
506
|
+
return;
|
|
507
|
+
}
|
|
508
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, h({
|
|
509
|
+
solutionId: this.record.id,
|
|
510
|
+
ids: this.selectedRowKeys,
|
|
511
|
+
type: this.type
|
|
512
|
+
}).then((i) => {
|
|
513
|
+
t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.$emit("del", this.selectedRows)) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + i.message), this.refresh();
|
|
514
|
+
});
|
|
515
|
+
},
|
|
516
|
+
refresh() {
|
|
517
|
+
this.$refs.table.refresh();
|
|
518
|
+
},
|
|
519
|
+
onSelectChange(s, e) {
|
|
520
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
521
|
+
},
|
|
522
|
+
doEvent(s) {
|
|
523
|
+
let e = s.item.functionName;
|
|
524
|
+
this[e]();
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
var C = function() {
|
|
529
|
+
var e = this, t = e._self._c;
|
|
530
|
+
return t("div", [t("div", [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
|
|
531
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" } })];
|
|
532
|
+
} }, { key: "operator", fn: function() {
|
|
533
|
+
return [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)];
|
|
534
|
+
}, proxy: !0 }]) })], 1), t("applicationEdit", { ref: "applicationEdit", attrs: { detail: e.record, selList: e.selList }, on: { ok: e.okSbumit } })], 1);
|
|
535
|
+
}, R = [], $ = /* @__PURE__ */ r(
|
|
536
|
+
S,
|
|
537
|
+
C,
|
|
538
|
+
R,
|
|
539
|
+
!1,
|
|
540
|
+
null,
|
|
541
|
+
"d75cc054",
|
|
542
|
+
null,
|
|
543
|
+
null
|
|
544
|
+
);
|
|
545
|
+
const x = $.exports;
|
|
546
|
+
export {
|
|
547
|
+
x as A
|
|
548
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./components.chartbi.e9459775.js"),r=require("./http.solution.c6b2634f.js"),o=require("./http.appmanage.b998818f.js"),u=require("./http.sysapps.469d47f7.js"),p={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.btnConfig.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left"},{transKey:"gd.flow.creationTime",prop:"createdtime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysSolution:add"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysSolution:del"}]}}},h={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.btnConfig.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left"},{transKey:"gd.dict.code",prop:"code",label:"\u552F\u4E00\u7F16\u7801",align:"left"},{transKey:"gd.menu.sort",prop:"sort",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.dict.state",prop:"statecodes",label:"\u72B6\u6001",type:"slot",slotType:"statecodes",align:"left"}],tableButtons:[{displayName:"\u65B0\u5EFA",functionName:"addBuilt",show:!0,transKey:"gd.btn.addBuilt",icon:"el-icon-plus"},{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],formButtons:[{displayName:"\u786E\u5B9A",functionName:"handleok",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],appColumns:[{transKey:"gd.application.name",prop:"name",effectType:"input",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.application.code",prop:"code",effectType:"input",label:"\u552F\u4E00\u7F16\u7801",disabled:!1,placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.application.icon",prop:"icon",effectType:"icon",label:"\u56FE\u6807",disabled:!1,placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.application.sort",prop:"sort",effectType:"inputnumber",label:"\u6392\u5E8F",defaultValue:100,placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change",type:"number"}]}]}}};const g={props:{detail:{type:Object,default:()=>{}},selList:{type:Array,default:()=>[]}},mixins:[h],data(){return{confirmLoading:!1,fullscreen:!1,visible:!1,width:"70%",selectedRowKeys:[],selectedRows:[],queryParam:{appsId:""},loadData:s=>o.getAppListByAppsId(Object.assign(s,this.queryParam)).then(e=>(this.getRow(e.data),this.allList=e.data,{pageNo:1,pageSize:s.pageSize,rows:e.data,totalRows:e.data.length})),appList:[],disabledRowId:[],formLoading:!1,transKey:"",basicAttribute:{isInherit:1,isNavigation:1,layout:"sidemenu",logoOpen:!0,logo:{mode:"imageWithText",bigPicture:"",smallPicture:"",title:"",titleFont:15,subtitle:"",subtitleFont:12,flexDirection:"row"},menus:[{name:"\u901A\u7528\u5BFC\u5165",key:"universalImport",statu:!0,disabled:!1,transkey:"gd.menu.universalImport"},{name:"\u6D88\u606F",key:"information",statu:!0,disabled:!1,transkey:"gd.menu.information"},{name:"\u9AD8\u7EA7\u67E5\u627E",key:"advancedFind",statu:!0,disabled:!1,transkey:"gd.menu.menuAdvancedFind"},{name:"\u4E3B\u9898\u914D\u7F6E",key:"theme",statu:!0,disabled:!1,transkey:"gd.menu.themeConfiguration"},{name:"\u5168\u5C4F",key:"fullScreen",statu:!0,disabled:!1,transkey:"gd.menu.fullScreen"},{name:"\u7528\u6237",key:"user",statu:!0,disabled:!0,transkey:"gd.menu.user"}]},code:"",allList:""}},computed:{getHeight(){return this.screenHeight-(this.fullscreen?160:320)},getBootTrans(){return this.$bootTrans==null?!1:this.$bootTrans},...n.mapGetters(["tablePageSize","screenHeight","tableSize","primaryColor","labelPosition","formMode"])},methods:{getRow(s){let e=[];s.filter(t=>this.selList.includes(t.id)).forEach(t=>{e.push(t.id)}),this.disabledRowId=e},toggleFullscreen(){this.fullscreen=!this.fullscreen},open(s){this.fullScreen=!1,this.type=s?2:1,this.visible=!0},getSysAppsPage(){u.sysAppsPage().then(s=>{s.success&&(this.appList=s.data.rows,this.queryParam.appsId=this.appList[0].id)})},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e,this.selectedRows.length>0?this.tableButtons.forEach(t=>{t.displayName=="\u65B0\u5EFA"&&(t.show=!1)}):this.tableButtons.forEach(t=>{t.displayName=="\u65B0\u5EFA"&&(t.show=!0)})},handleSubmit(){if(this.confirmLoading)return;if(this.selectedRowKeys.length==0){this.closed();return}this.confirmLoading=!0;let s=[];this.selectedRows.forEach(t=>{s.push({componenttype:7,objectid:t.id,name:this.getTransKeyName(t.transkey,t.name)})});let e={solutionId:this.detail.id,data:s};r.sysSolutionComponentBatchadd(e).then(t=>{t.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok",this.selectedRowKeys),this.closed()):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25")+t.message),this.confirmLoading=!1})},closed(){this.selectedRowKeys=[],this.selectedRows=[],this.tableButtons.forEach(s=>{s.displayName=="\u65B0\u5EFA"&&(s.show=!0)}),this.visible=!1},refresh(){this.$refs.table.refresh()},doEvent(s){let e=s.item.functionName;this[e]()},getTransKeyName(s,e){return this.getBootTrans&&s?this.$i18nt(`Dynamics.${s}`,e):e},addBuilt(){this.transKey="gd.btn.add",this.$refs.editForm.open(null).then(({instance:s,done:e})=>{e({code:uuid(8,!1)})})},sbumit(s,e,t){this.saveSysApp(s,e,t)},saveSysApp({data:s,record:e,btn:t},a,i){this.formLoading=!0,(e?o.sysAppEdit:o.sysAppAdd)(e?s:Object.assign(s,{sys_AppsId:this.queryParam.appsId,isNavigation:1,isInherit:1,basicAttribute:JSON.stringify(this.basicAttribute),applicationType:1,active:"Y"})).then(l=>{l.success?(this.code=s.code,this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),i(),this.refresh(),e||setTimeout(()=>{const d=this.allList.find(c=>c.id===l.data);this.selectedRowKeys=[d.id],this.selectedRows=[d],setTimeout(()=>{this.handleSubmit()},10)},400)):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+l.message),this.formLoading=!1})}},created(){this.getSysAppsPage()}};var m=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(a){e.visible=a},closed:e.closed}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.$i18nt("gd.https.add","\u65B0\u589E"),fullscreen:e.fullscreen,buttons:e.tableButtons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,filtering:!1,height:e.getHeight,selectedRowKeys:e.selectedRowKeys,disabledRowId:e.disabledRowId},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"statecodes",fn:function({column:a,row:i}){return[t("span",[e._v(e._s(e._f("dictType")("state_code",i.statecodes)))])]}},{key:"name",fn:function({column:a,row:i}){return[t("gd-tooltip",{attrs:{rowKey:"name",row:i,highlight:""}})]}},{key:"operator",fn:function(){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.btnConfig.name","\u540D\u79F0"),clearable:""},model:{value:e.queryParam.appsId,callback:function(a){e.$set(e.queryParam,"appsId",a)},expression:"queryParam.appsId"}},e._l(e.appList,function(a,i){return t("el-option",{key:i,attrs:{label:e.$i18nt(`Dynamics.${a.transKey}`,a.name),value:a.id}})}),1),t("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[t("i",{staticClass:"el-input__icon el-icon-search"})])],1)])]},proxy:!0}],null,!1,984274528)}):e._e()],1)],2),t("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",loading:e.formLoading,transKey:e.transKey,buttons:e.formButtons,columns:e.appColumns,labelPosition:e.labelPosition,formMode:e.formMode,needLoad:!0},on:{sbumit:e.sbumit}})],1)},f=[],y=n.normalizeComponent(g,m,f,!1,null,"4a5202ec",null,null);const b=y.exports;const w={mixins:[p],props:{height:{type:Number,default:0},record:{type:Object,default:()=>({})},tableDataAll:{type:Array,default:()=>[]},selList:{type:Array,default:()=>[]}},components:{applicationAdd:b},data(){return{queryParam:{},loadData:s=>r.sysSolutionComponentPage(Object.assign(s,this.getQueryParam)).then(e=>e.data),selectedRowKeys:[],selectedRows:[],type:7}},computed:{getQueryParam(){return Object.assign(this.queryParam,{solutionId:this.record.id,type:this.type})},...n.mapGetters(["tablePageSize","tableSize"])},methods:{add(){this.$refs.applicationAdd.open(null)},okSbumit(s){this.refresh(),this.$emit("ok",s)},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}[...this.selectedRows],this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,e,t)=>{this.delHand(s,e,t)}})},delHand(s,e,t){if(s!=="confirm"){t();return}e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,r.sysSolutionComponentRemove({solutionId:this.record.id,ids:this.selectedRowKeys,type:this.type}).then(a=>{t(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,a.success?(this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),this.$emit("del",this.selectedRows)):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+a.message),this.refresh()})},refresh(){this.$refs.table.refresh()},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e},doEvent(s){let e=s.item.functionName;this[e]()}}};var _=function(){var e=this,t=e._self._c;return t("div",[t("div",[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.height,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:a,row:i}){return[t("gd-tooltip",{attrs:{rowKey:"name",row:i}})]}},{key:"operator",fn:function(){return[t("div",{staticClass:"gd-table-operatorr"},[t("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)]},proxy:!0}])})],1),t("applicationAdd",{ref:"applicationAdd",attrs:{detail:e.record,selList:e.selList},on:{ok:e.okSbumit}})],1)},v=[],K=n.normalizeComponent(w,_,v,!1,null,"2670b4a7",null,null);const S=K.exports;exports.ApplicationMenu=S;
|