gds-plus-design-vue 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/approvalModel.a26e8ff6.mjs +340 -0
- package/lib/approvalModel.cfd81971.js +1 -0
- package/lib/btnFunctionName.9aabfed0.js +1 -0
- package/lib/btnFunctionName.d08627cb.mjs +254 -0
- package/lib/btnRelation.8e608261.mjs +156 -0
- package/lib/btnRelation.cb3dc022.js +1 -0
- package/lib/businessRules.754cc398.mjs +539 -0
- package/lib/businessRules.f41f7035.js +1 -0
- package/lib/buttonRule.4483314f.mjs +396 -0
- package/lib/buttonRule.645de1d3.js +1 -0
- package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
- package/lib/chartDisplayRules.fedfefe8.js +1 -0
- package/lib/components.chartbi.470b96af.mjs +1798 -0
- package/lib/components.chartbi.e9459775.js +8 -0
- package/lib/components.coloreditor.affa0400.mjs +1505 -0
- package/lib/components.coloreditor.dbec8da6.js +6 -0
- package/lib/components.dataassign.39281072.mjs +147 -0
- package/lib/components.dataassign.b6a1bffb.js +1 -0
- package/lib/components.echarts.95ffc3b3.mjs +811 -0
- package/lib/components.echarts.d09e9850.js +4 -0
- package/lib/components.exception.11315db5.js +1 -0
- package/lib/components.exception.facf9df9.mjs +61 -0
- package/lib/components.form.56ea8f98.js +41 -0
- package/lib/components.form.a7b3ea37.mjs +7813 -0
- package/lib/components.globalheader.0a7ce959.js +1 -0
- package/lib/components.globalheader.4a5f7225.mjs +54 -0
- package/lib/components.iconselector.0c03cfc7.js +1 -0
- package/lib/components.iconselector.251c29b9.mjs +1169 -0
- package/lib/components.imgpreview.5546e541.mjs +213 -0
- package/lib/components.imgpreview.706a89f0.js +1 -0
- package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
- package/lib/components.lunccalendar.fe7db238.js +1 -0
- package/lib/components.middleware.01601349.js +1 -0
- package/lib/components.middleware.f5f4ac0f.mjs +148 -0
- package/lib/components.modaltitle.5ded43f9.mjs +127 -0
- package/lib/components.modaltitle.cc9ba616.js +1 -0
- package/lib/components.multitab.0f9da9f3.mjs +140 -0
- package/lib/components.multitab.726cff2f.js +1 -0
- package/lib/components.selecttree.1a71c963.mjs +170 -0
- package/lib/components.selecttree.2fadffca.js +1 -0
- package/lib/components.settingdrawer.1af86231.js +1 -0
- package/lib/components.settingdrawer.adc262cf.mjs +237 -0
- package/lib/components.sidemenu.03442146.mjs +277 -0
- package/lib/components.sidemenu.5107c7e3.js +1 -0
- package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
- package/lib/components.sidenavmenu.ef33de39.js +1 -0
- package/lib/components.statuschange.805a751b.mjs +116 -0
- package/lib/components.statuschange.83646c5d.js +1 -0
- package/lib/components.table.61eb5d81.js +8 -0
- package/lib/components.table.c986e58d.mjs +4650 -0
- package/lib/components.tableumy.35b465f9.mjs +453 -0
- package/lib/components.tableumy.eba43953.js +1 -0
- package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
- package/lib/components.tablevirtual.6af04c44.js +1 -0
- package/lib/components.teamsharing.68865424.js +1 -0
- package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
- package/lib/components.tooltip.ccb1717d.mjs +86 -0
- package/lib/components.tooltip.e2e21e66.js +1 -0
- package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
- package/lib/components.uploadfile.e93b500d.js +1 -0
- package/lib/components.uploadimg.3804913e.js +1 -0
- package/lib/components.uploadimg.e49707d9.mjs +192 -0
- package/lib/components.verificationcode.5a9c0220.js +1 -0
- package/lib/components.verificationcode.ead74922.mjs +71 -0
- package/lib/components.viewformdetails.3c1596ad.js +1 -0
- package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
- package/lib/components.viewloading.5b178ec5.js +1 -0
- package/lib/components.viewloading.cb7917b7.mjs +99 -0
- package/lib/components.watermark.849409ca.js +2 -0
- package/lib/components.watermark.a2521d0c.mjs +53 -0
- package/lib/components.xlsxexport.3405a00b.js +1 -0
- package/lib/components.xlsxexport.871f87d1.mjs +263 -0
- package/lib/components.xlsximport.85ce77cf.mjs +922 -0
- package/lib/components.xlsximport.e3bcb07d.js +1 -0
- package/lib/copy.b09a6d38.js +1 -0
- package/lib/copy.c0a2f16d.mjs +572 -0
- package/lib/dialogLayout.059ee256.mjs +138 -0
- package/lib/dialogLayout.cedf2865.js +1 -0
- package/lib/drawerContainer.38d7b530.mjs +154 -0
- package/lib/drawerContainer.ea7722d7.js +1 -0
- package/lib/drawerLayout.454e4921.js +1 -0
- package/lib/drawerLayout.fad843ee.mjs +119 -0
- package/lib/editForm.c199538f.mjs +434 -0
- package/lib/editForm.f9dc93ef.js +1 -0
- package/lib/flow.designer.4c83c0d3.js +1 -0
- package/lib/flow.designer.9442a995.mjs +7673 -0
- package/lib/flow.list.4a31969e.mjs +3032 -0
- package/lib/flow.list.f41ee531.js +1 -0
- package/lib/form.build.c38bf362.js +1 -0
- package/lib/form.build.fb9f905b.mjs +259 -0
- package/lib/form.designer.build.3fdf8007.js +1 -0
- package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
- package/lib/formFiled.624b8dd3.js +1 -0
- package/lib/formFiled.94fb1dce.mjs +498 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +233 -91087
- package/lib/http.appmanage.9b22ff82.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.d3a4afd9.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.1af1e119.mjs +517 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.menumanage.09fffb7d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.1d68e914.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.3fa2dc66.mjs +40154 -0
- package/lib/index.fe757a98.js +8 -0
- package/lib/layoutBlocks.14c77a02.js +1 -0
- package/lib/layoutBlocks.5d71a03b.mjs +401 -0
- package/lib/layouts.a662f681.js +2 -0
- package/lib/layouts.ec4f20a2.mjs +376 -0
- package/lib/main.092a2ac8.js +1 -0
- package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
- package/lib/main.29769f01.js +1 -0
- package/lib/main.401059c6.mjs +189 -0
- package/lib/main.447be615.js +1 -0
- package/lib/main.4e507685.mjs +231 -0
- package/lib/main.72cafa63.mjs +540 -0
- package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
- package/lib/main.7601bd3d.mjs +166 -0
- package/lib/main.79199ac2.js +1 -0
- package/lib/main.821d081b.js +1 -0
- package/lib/main.8627466a.mjs +537 -0
- package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
- package/lib/main.8e6f6cba.mjs +323 -0
- package/lib/main.a9a54af9.js +1 -0
- package/lib/main.e033a376.js +1 -0
- package/lib/main.e2e4ba74.js +1 -0
- package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
- package/lib/main.ea3a04f4.js +1 -0
- package/lib/main.f44d8279.js +1 -0
- package/lib/messages.5f54a62e.js +9 -0
- package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
- package/lib/packages.filedocument.8418d852.mjs +4039 -0
- package/lib/packages.filedocument.9b8eda0d.js +1 -0
- package/lib/page.build.4d28df9a.js +12 -0
- package/lib/page.build.78cc7396.mjs +3020 -0
- package/lib/personal.echarts.940f1cc9.mjs +696 -0
- package/lib/personal.echarts.b5a7f574.js +1 -0
- package/lib/result.0161b0e0.js +1 -0
- package/lib/result.5a9330d7.mjs +627 -0
- package/lib/router.config.79a98ab8.mjs +3105 -0
- package/lib/router.config.7fd04c30.js +1 -0
- package/lib/solution.application.3ae7c0c5.js +1 -0
- package/lib/solution.application.fdc15ffc.mjs +548 -0
- package/lib/solution.applicationmenu.67aba620.js +1 -0
- package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
- package/lib/solution.approvalflow.81b7cfb7.js +1 -0
- package/lib/solution.approvalflow.a541adcc.mjs +436 -0
- package/lib/solution.dict.addbce33.mjs +769 -0
- package/lib/solution.dict.f1c9bae6.js +1 -0
- package/lib/solution.menu.2033fa37.mjs +5834 -0
- package/lib/solution.menu.6512047f.js +1 -0
- package/lib/solution.plugin.7094dbfd.js +1 -0
- package/lib/solution.plugin.d8f057cb.mjs +347 -0
- package/lib/solution.processflow.0adf4f55.js +1 -0
- package/lib/solution.processflow.a779bd58.mjs +392 -0
- package/lib/solution.role.d35cb00d.js +1 -0
- package/lib/solution.role.d9a4b25a.mjs +456 -0
- package/lib/solution.webresources.e1421655.mjs +379 -0
- package/lib/solution.webresources.e817757c.js +1 -0
- package/lib/solution.workflow.59552b8c.mjs +395 -0
- package/lib/solution.workflow.985e1f4d.js +1 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/store.config.5e5cb48a.mjs +547 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1b281679.js +216 -0
- package/lib/system.account.96d5bc17.mjs +2093 -0
- package/lib/system.config.0ff45e62.js +1 -0
- package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
- package/lib/system.dict.8e4fe6b0.js +1 -0
- package/lib/system.document.69e534a6.js +1 -0
- package/lib/system.document.8e4dbe5e.mjs +667 -0
- package/lib/system.duplicatechecking.1083eb1e.js +1 -0
- package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
- package/lib/system.email.06bb7cc1.mjs +133 -0
- package/lib/system.email.41036a31.js +1 -0
- package/lib/system.fieldsecurity.3ea880d8.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
- package/lib/system.file.b8e4e6a1.js +1 -0
- package/lib/system.log.14c22a7a.js +1 -0
- package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
- package/lib/system.onlineuser.fc26aff9.js +1 -0
- package/lib/system.org.b6f826e8.js +1 -0
- package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
- package/lib/system.permissions.75406743.mjs +972 -0
- package/lib/system.permissions.97f68887.js +1 -0
- package/lib/system.plugin.3fcf7b0b.js +1 -0
- package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
- package/lib/system.sumberrules.5e9cd262.js +1 -0
- package/lib/system.team.3e605266.js +1 -0
- package/lib/system.team.bb1fb40e.mjs +452 -0
- package/lib/system.teammembers.a098883b.js +1 -0
- package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
- package/lib/system.useraffiliation.f8b33def.js +1 -0
- package/lib/system.webresource.1d3ed352.js +1 -0
- package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
- package/lib/system.welcome.eedf1db2.js +1 -0
- package/lib/tableDescriptions.923c4ef1.mjs +80 -0
- package/lib/tableDescriptions.b12679b0.js +1 -0
- package/lib/tcheckboxs.887d733c.mjs +52 -0
- package/lib/tcheckboxs.fe7e574a.js +1 -0
- package/lib/tcurrency.10ac9aa7.mjs +85 -0
- package/lib/tcurrency.20e959c0.js +1 -0
- package/lib/tdatepicker.54036bba.js +1 -0
- package/lib/tdatepicker.a08ad382.mjs +52 -0
- package/lib/tdictSwitch.274e9f86.js +1 -0
- package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
- package/lib/tfile.5c897827.js +1 -0
- package/lib/tfile.f63b73b9.mjs +62 -0
- package/lib/tparticipants.4698962b.mjs +56 -0
- package/lib/tparticipants.b6fb4545.js +1 -0
- package/lib/translation.mains.5cfc7a2f.js +1 -0
- package/lib/translation.mains.e6cb610b.mjs +383 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.885de913.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/view.build.051553d8.mjs +1578 -0
- package/lib/view.build.9af3087b.js +1 -0
- package/lib/viewList.209956c3.js +1 -0
- package/lib/viewList.c05c92be.mjs +318 -0
- package/lib/viewTree.0cd9f1a2.js +1 -0
- package/lib/viewTree.c5290360.mjs +409 -0
- package/locale/en_US.js +92 -28
- package/locale/id_ID.js +76 -12
- package/locale/vi_VN.js +2012 -1948
- package/locale/zh_CN.js +97 -33
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.03984fed.js +0 -1
- package/lib/main.1050afb3.js +0 -1
- package/lib/main.64122541.js +0 -1
- package/lib/main.b7d2c6ee.js +0 -1
- package/lib/messages.828b6ed8.js +0 -9
- package/lib/system.account.3181bcd6.js +0 -216
- package/lib/system.account.7c6ea20c.mjs +0 -2552
- package/lib/system.config.10f57fa2.js +0 -1
- package/lib/system.datasource.d5eea7f2.js +0 -1
- package/lib/system.dict.d73658f1.js +0 -1
- package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
- package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
- package/lib/system.email.4bf52f2d.js +0 -41
- package/lib/system.email.db5da8d7.mjs +0 -7432
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.c1884db7.js +0 -1
- package/lib/system.log.389af80d.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.a89f4826.js +0 -1
- package/lib/system.noticereceived.5e0773c3.js +0 -1
- package/lib/system.onlineuser.67733846.js +0 -1
- package/lib/system.org.ff54d620.js +0 -1
- package/lib/system.permissions.cc9a9866.mjs +0 -212
- package/lib/system.permissions.e6317c5a.js +0 -9
- package/lib/system.plugin.3467d572.js +0 -1
- package/lib/system.pos.4aadf86e.js +0 -1
- package/lib/system.promptmanagement.9ba710d6.js +0 -1
- package/lib/system.role.890c8ca2.js +0 -1
- package/lib/system.sumberrules.068ebe4a.js +0 -1
- package/lib/system.team.27cd57f7.mjs +0 -1000
- package/lib/system.team.2b28502b.js +0 -1
- package/lib/system.teammembers.e3baf783.js +0 -1
- package/lib/system.timers.cb0a3bd0.js +0 -38
- package/lib/system.translation.f3884a0a.js +0 -1
- package/lib/system.user.3bd95871.js +0 -14
- package/lib/system.useraffiliation.7db6e13c.js +0 -1
- package/lib/system.webresource.ede248a8.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import { m as d, n as u } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { u as c } from "./utils.util.js.885de913.mjs";
|
|
3
|
+
import { I as f } from "./http.tabledevelopment.7adf4910.mjs";
|
|
4
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
5
|
+
const p = {
|
|
6
|
+
props: {
|
|
7
|
+
table: {
|
|
8
|
+
type: Object,
|
|
9
|
+
default: () => ({})
|
|
10
|
+
},
|
|
11
|
+
loadData: {
|
|
12
|
+
type: Array,
|
|
13
|
+
default: () => []
|
|
14
|
+
},
|
|
15
|
+
type: {
|
|
16
|
+
type: [String, Number],
|
|
17
|
+
default: 1
|
|
18
|
+
},
|
|
19
|
+
id: {
|
|
20
|
+
type: [String, Number],
|
|
21
|
+
default: ""
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
data() {
|
|
25
|
+
return {
|
|
26
|
+
width: "1100px",
|
|
27
|
+
record: null,
|
|
28
|
+
confirmLoading: !1,
|
|
29
|
+
visible: !1,
|
|
30
|
+
fullscreen: !1,
|
|
31
|
+
buttons: [
|
|
32
|
+
{
|
|
33
|
+
displayName: "\u786E\u5B9A",
|
|
34
|
+
functionName: "handleSubmit",
|
|
35
|
+
show: !0,
|
|
36
|
+
transKey: "gd.btn.confirm",
|
|
37
|
+
icon: "el-icon-document-checked"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
ruleFormData: {
|
|
41
|
+
name: "",
|
|
42
|
+
using: !0,
|
|
43
|
+
explain: "",
|
|
44
|
+
id: ""
|
|
45
|
+
},
|
|
46
|
+
rules: {
|
|
47
|
+
name: [
|
|
48
|
+
{
|
|
49
|
+
required: !0,
|
|
50
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
51
|
+
trigger: "change"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
list: [],
|
|
56
|
+
btnData: [],
|
|
57
|
+
tableFieldList: [],
|
|
58
|
+
tableFieldAll: [],
|
|
59
|
+
showAdd: !0
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
components: { EffectTypeIcon: () => import("./components.xlsximport.85ce77cf.mjs").then((i) => i.e) },
|
|
63
|
+
watch: {
|
|
64
|
+
list: {
|
|
65
|
+
handler(i) {
|
|
66
|
+
this.isSatisfy();
|
|
67
|
+
},
|
|
68
|
+
deep: !0,
|
|
69
|
+
immediate: !0
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
computed: {
|
|
73
|
+
height() {
|
|
74
|
+
let i = this.fullscreen ? 190 : 340;
|
|
75
|
+
return this.screenHeight - i;
|
|
76
|
+
},
|
|
77
|
+
rulesList() {
|
|
78
|
+
return this.getDictionary("table_form_rules").filter((i) => (i.sysDictType = [], !0));
|
|
79
|
+
},
|
|
80
|
+
...d(["screenHeight", "primaryColor"])
|
|
81
|
+
},
|
|
82
|
+
methods: {
|
|
83
|
+
handleSubmit() {
|
|
84
|
+
let i = [], t = [];
|
|
85
|
+
if (this.list.forEach((e, s) => {
|
|
86
|
+
i = i.concat(e.condition.list), t = t.concat(e.operation.list);
|
|
87
|
+
}), i.length == 0)
|
|
88
|
+
return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip", "\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")), !1;
|
|
89
|
+
if (!this.isCheckedAll(i, 1))
|
|
90
|
+
return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip", "\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")), !1;
|
|
91
|
+
if (t.length == 0)
|
|
92
|
+
return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip", "\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")), !1;
|
|
93
|
+
if (!this.isCheckedAll(t, 2))
|
|
94
|
+
return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip", "\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")), !1;
|
|
95
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((e) => {
|
|
96
|
+
e ? (this.$emit(
|
|
97
|
+
"ok",
|
|
98
|
+
Object.assign(
|
|
99
|
+
{ ...this.ruleFormData },
|
|
100
|
+
{
|
|
101
|
+
key: this.record ? "2" : "1",
|
|
102
|
+
list: [...this.list]
|
|
103
|
+
}
|
|
104
|
+
)
|
|
105
|
+
), this.closed()) : this.confirmLoading = !1;
|
|
106
|
+
});
|
|
107
|
+
},
|
|
108
|
+
remainingBtn(i, t) {
|
|
109
|
+
let e = [];
|
|
110
|
+
return i.forEach((a, l) => {
|
|
111
|
+
l !== t && (e = e.concat(a.columnComment));
|
|
112
|
+
}), this.btnData.filter((a) => !e.includes(a.name));
|
|
113
|
+
},
|
|
114
|
+
conditionColumn(i, t, e) {
|
|
115
|
+
const s = this.tableFieldAll.filter((l) => l.value === i[i.length - 1])[0], a = this.rulesList.filter((l) => l.remark.split(",").includes(s.effectType));
|
|
116
|
+
Object.assign(t, {
|
|
117
|
+
effectType: s.effectType,
|
|
118
|
+
dictTypeCode: s.dictTypeCode,
|
|
119
|
+
val: "",
|
|
120
|
+
rulesList: a,
|
|
121
|
+
rules: a.length > 0 ? a[0].code : ""
|
|
122
|
+
});
|
|
123
|
+
},
|
|
124
|
+
addList() {
|
|
125
|
+
let i = [...this.list];
|
|
126
|
+
i.length > 1 && (i[i.length - 1].title = "ELSE IF");
|
|
127
|
+
let t = {
|
|
128
|
+
title: "Else",
|
|
129
|
+
open: !0,
|
|
130
|
+
condition: {
|
|
131
|
+
open: !0,
|
|
132
|
+
list: []
|
|
133
|
+
},
|
|
134
|
+
operation: {
|
|
135
|
+
open: !0,
|
|
136
|
+
list: []
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
i.push(t), this.list = [...i];
|
|
140
|
+
},
|
|
141
|
+
del(i) {
|
|
142
|
+
let t = this;
|
|
143
|
+
this.$confirm(this.$i18nt("gd.https.delExpression", "\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
144
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
145
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
146
|
+
showClose: !1,
|
|
147
|
+
confirmButtonLoading: !1,
|
|
148
|
+
cancelButtonLoading: !1,
|
|
149
|
+
closeOnClickModal: !1,
|
|
150
|
+
type: "warning",
|
|
151
|
+
confirmButtonClass: "el-button--danger",
|
|
152
|
+
customClass: "custom-alert",
|
|
153
|
+
callback: () => {
|
|
154
|
+
},
|
|
155
|
+
beforeClose: (e, s, a) => {
|
|
156
|
+
if (a(), e !== "confirm")
|
|
157
|
+
return;
|
|
158
|
+
let l = [...t.list];
|
|
159
|
+
l.splice(i, 1), l.length > 1 && (l[l.length - 1].title = "Else"), t.list = [...l];
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
},
|
|
163
|
+
delCondition(i, t) {
|
|
164
|
+
let e = [...this.list];
|
|
165
|
+
e[i].condition.list.splice(t, 1), e[i].condition.list.length > 0 && (e[i].condition.list[0].type = "0"), e[i].condition.list.length === 0 && i != e.length - 1 && (e[i].operation.list = []), this.list = [...e];
|
|
166
|
+
},
|
|
167
|
+
delOperation(i, t) {
|
|
168
|
+
let e = [...this.list];
|
|
169
|
+
e[i].operation.list = [], this.list = [...e];
|
|
170
|
+
},
|
|
171
|
+
addCondition(i) {
|
|
172
|
+
let t = this.list[i].condition.list.length, s = {
|
|
173
|
+
type: t == 0 ? "0" : t > 1 ? this.list[i].condition.list[t - 1].type : "1",
|
|
174
|
+
columnComment: "",
|
|
175
|
+
rules: "1",
|
|
176
|
+
val: "",
|
|
177
|
+
rulesList: [...this.rulesList],
|
|
178
|
+
effectType: "select",
|
|
179
|
+
fieldFormat: null,
|
|
180
|
+
dictTypeCode: null,
|
|
181
|
+
fkData: [],
|
|
182
|
+
id: c(12)
|
|
183
|
+
};
|
|
184
|
+
this.list[i].condition.list.push(s), this.list[i].operation.list.length === 0 && (this.addOperation(i, "1"), this.addOperation(i, "2"));
|
|
185
|
+
},
|
|
186
|
+
addOperation(i, t) {
|
|
187
|
+
let e = {
|
|
188
|
+
rules: "4",
|
|
189
|
+
columnComment: [],
|
|
190
|
+
val: t,
|
|
191
|
+
type: 1,
|
|
192
|
+
effectType: "select",
|
|
193
|
+
fkData: [],
|
|
194
|
+
id: c(),
|
|
195
|
+
fieldFormat: null
|
|
196
|
+
};
|
|
197
|
+
this.list[i].operation.list.push(e);
|
|
198
|
+
},
|
|
199
|
+
addOperationMore(i) {
|
|
200
|
+
this.list[i].operation.list.length === 0 && (this.addOperation(i, "1"), this.addOperation(i, "2"));
|
|
201
|
+
},
|
|
202
|
+
getBtnList() {
|
|
203
|
+
this.confirmLoading = !0, f({
|
|
204
|
+
type: this.type,
|
|
205
|
+
SysCodeGenId: this.table.id
|
|
206
|
+
}).then((i) => {
|
|
207
|
+
i.code === 200 && (this.btnData = i.data.filter((t) => this.type === 1 && t.sysviewid == this.id ? !0 : this.type === 2 && t.sysformidbyset == this.id)), this.confirmLoading = !1;
|
|
208
|
+
});
|
|
209
|
+
},
|
|
210
|
+
init(i) {
|
|
211
|
+
const t = JSON.parse(JSON.stringify(i));
|
|
212
|
+
this.record = t, this.visible = !0, this.getBtnList(), this.getTableField(), this.ruleFormData = {
|
|
213
|
+
name: i ? i.name : "",
|
|
214
|
+
using: i ? i.using : !0,
|
|
215
|
+
explain: i ? i.explain : "",
|
|
216
|
+
id: i ? i.id : c(12)
|
|
217
|
+
}, i ? this.list = [...t.list] : this.list = [
|
|
218
|
+
{
|
|
219
|
+
title: "IF",
|
|
220
|
+
open: !0,
|
|
221
|
+
condition: {
|
|
222
|
+
open: !0,
|
|
223
|
+
list: []
|
|
224
|
+
},
|
|
225
|
+
operation: {
|
|
226
|
+
open: !0,
|
|
227
|
+
list: []
|
|
228
|
+
},
|
|
229
|
+
id: c(12)
|
|
230
|
+
}
|
|
231
|
+
], this.$nextTick(() => {
|
|
232
|
+
setTimeout(() => {
|
|
233
|
+
this.$refs.ruleForm.clearValidate();
|
|
234
|
+
}, 0);
|
|
235
|
+
});
|
|
236
|
+
},
|
|
237
|
+
openItem(i, t) {
|
|
238
|
+
if (i == 1) {
|
|
239
|
+
this.list[t].open = !this.list[t].open;
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
if (i == 2) {
|
|
243
|
+
this.list[t].condition.open = !this.list[t].condition.open;
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
if (i == 3) {
|
|
247
|
+
this.list[t].operation.open = !this.list[t].operation.open;
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
getTableField() {
|
|
252
|
+
let i = [], t = [];
|
|
253
|
+
this.loadData.filter((s) => s.dicttypecode ? !0 : s.children && s.children.length > 0 && this.type == 1 ? (s.children = s.children.filter((a) => a.dicttypecode), !0) : !1).forEach((s) => {
|
|
254
|
+
let a = {
|
|
255
|
+
value: s.columnname,
|
|
256
|
+
label: this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment),
|
|
257
|
+
dictTypeCode: s.dicttypecode,
|
|
258
|
+
transKey: s.transkey,
|
|
259
|
+
id: s.id,
|
|
260
|
+
fkEntityName: s.fkentityname,
|
|
261
|
+
effectType: s.effecttype,
|
|
262
|
+
fieldFormat: s.fieldformat,
|
|
263
|
+
hasChildren: this.type == 1,
|
|
264
|
+
columnname: s.columnname
|
|
265
|
+
};
|
|
266
|
+
if (t.push(a), s.children && s.children.length > 0 && this.type == 1) {
|
|
267
|
+
let l = [];
|
|
268
|
+
s.children.forEach((o) => {
|
|
269
|
+
const n = {
|
|
270
|
+
value: `${o.columnname}${s.fkentityname}${s.columnname}`,
|
|
271
|
+
label: this.$i18nt(`Dynamics.${o.transkey}`, o.columncomment),
|
|
272
|
+
columnname: s.columnname,
|
|
273
|
+
dictTypeCode: o.dicttypecode,
|
|
274
|
+
transKey: o.transkey,
|
|
275
|
+
id: o.id,
|
|
276
|
+
fkEntityName: o.fkentityname,
|
|
277
|
+
effectType: o.effecttype,
|
|
278
|
+
fieldFormat: s.fieldformat,
|
|
279
|
+
hasChildren: !1
|
|
280
|
+
};
|
|
281
|
+
l.push(n), t.push(n);
|
|
282
|
+
}), Object.assign(a, { children: l });
|
|
283
|
+
}
|
|
284
|
+
i.push(a);
|
|
285
|
+
}), this.tableFieldList = i, this.tableFieldAll = t;
|
|
286
|
+
},
|
|
287
|
+
isSatisfy() {
|
|
288
|
+
if (this.list.length == 0)
|
|
289
|
+
return;
|
|
290
|
+
let i = [...this.list], t = i[i.length - 1];
|
|
291
|
+
t.condition.list.length > 0 ? this.showAdd = !this.isChecked(t.condition.list) : this.showAdd = !1;
|
|
292
|
+
},
|
|
293
|
+
isChecked(i) {
|
|
294
|
+
return i.every((t, e, s) => {
|
|
295
|
+
let a = t.rules === "5" || t.rules === "6" ? t.columnComment : t.val;
|
|
296
|
+
return !(t.columnComment !== void 0 && a);
|
|
297
|
+
});
|
|
298
|
+
},
|
|
299
|
+
isCheckedAll(i, t) {
|
|
300
|
+
return i.every((e, s, a) => {
|
|
301
|
+
let l = "";
|
|
302
|
+
return t === 1 ? l = e.rules === "5" || e.rules === "6" ? e.columnComment : e.val : l = e.rules === "7" ? e.columnComment : e.val, (t === 1 ? e.columnComment !== void 0 : !0) && l !== "" && l !== void 0;
|
|
303
|
+
});
|
|
304
|
+
},
|
|
305
|
+
closed() {
|
|
306
|
+
this.confirmLoading = !1, this.fullscreen = !1, this.visible = !1;
|
|
307
|
+
},
|
|
308
|
+
toggleFullscreen() {
|
|
309
|
+
this.fullscreen = !this.fullscreen;
|
|
310
|
+
},
|
|
311
|
+
getDictionaryd(i) {
|
|
312
|
+
let t = i.rules === "3" ? "table_form_essential" : i.rules === "4" ? "table_form_so" : "table_form_locking";
|
|
313
|
+
return this.getDictionary(t);
|
|
314
|
+
},
|
|
315
|
+
getDictionary(i) {
|
|
316
|
+
return this.$options.filters.dictData(i);
|
|
317
|
+
},
|
|
318
|
+
doEvent(i) {
|
|
319
|
+
let t = i.item.functionName;
|
|
320
|
+
this[t] && this[t]();
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
var h = function() {
|
|
325
|
+
var t = this, e = t._self._c;
|
|
326
|
+
return e("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.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) {
|
|
327
|
+
t.visible = s;
|
|
328
|
+
}, closed: t.closed } }, [e("template", { slot: "title" }, [e("gd-modal-title", { attrs: { title: t.$i18nt("gd.view.btnRules", "\u6309\u94AE\u89C4\u5219"), fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent } })], 1), e("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "generator-form" }, [e("div", { staticClass: "view-config" }, [e("div", { staticClass: "config-item" }, [e("div", { staticClass: "rules" }, [t._l(t.list, function(s, a) {
|
|
329
|
+
return e("div", { key: a, staticClass: "rules-if" }, [e("div", { staticClass: "title" }, [e("div", { staticClass: "l", on: { click: function(l) {
|
|
330
|
+
return t.openItem(1, a);
|
|
331
|
+
} } }, [e("i", { staticClass: "if-icon", class: s.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(s.title) + " ")]), a != 0 ? e("div", { staticClass: "r" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", cursor: "pointer", color: "#ff4d4f" }, on: { click: function(l) {
|
|
332
|
+
return t.del(a);
|
|
333
|
+
} } })]) : t._e()]), s.open ? e("div", { staticClass: "rules-ifs" }, [e("div", { staticClass: "condition" }, [e("div", { staticClass: "title", on: { click: function(l) {
|
|
334
|
+
return t.openItem(2, a);
|
|
335
|
+
} } }, [e("i", { staticClass: "if-icon", class: s.condition.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.if", "\u5982\u679C")) + " ")]), s.condition && s.condition.open ? e("div", { staticClass: "detail" }, [t._l(s.condition.list, function(l, o) {
|
|
336
|
+
return e("div", { staticClass: "lists" }, [e("div", { staticClass: "rg" }, [l.type == 0 ? e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input"), value: t.$i18nt("gd.basics.if", "\u5982\u679C"), disabled: "" } }) : e("el-select", { staticStyle: { width: "100%" }, model: { value: l.type, callback: function(n) {
|
|
337
|
+
t.$set(l, "type", n);
|
|
338
|
+
}, expression: "ite.type" } }, [e("el-option", { attrs: { value: "1", label: t.$i18nt("gd.filter.and", "\u548C") } }), e("el-option", { attrs: { value: "2", label: t.$i18nt("gd.filter.or", "\u6216") } })], 1)], 1), e("div", { staticClass: "zd" }, [e("el-cascader", { staticStyle: { width: "100%" }, attrs: { options: t.tableFieldList }, on: { change: function(n) {
|
|
339
|
+
return t.conditionColumn(n, l);
|
|
340
|
+
} }, scopedSlots: t._u([{ key: "default", fn: function({ node: n, data: r }) {
|
|
341
|
+
return [e("EffectTypeIcon", { attrs: { effectType: r.effectType } }), e("span", { staticStyle: { "margin-left": "4px" } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.label)) + " "), r.hasChildren ? t._e() : e("span", [t._v("(" + t._s(r.columnname) + ")")])])];
|
|
342
|
+
} }], null, !0), model: { value: l.columnComment, callback: function(n) {
|
|
343
|
+
t.$set(l, "columnComment", n);
|
|
344
|
+
}, expression: "ite.columnComment" } })], 1), e("div", { staticClass: "tj" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: !(l.columnComment !== "" && l.columnComment.length > 0) }, model: { value: l.rules, callback: function(n) {
|
|
345
|
+
t.$set(l, "rules", n);
|
|
346
|
+
}, expression: "ite.rules" } }, [t._l(l.rulesList, function(n) {
|
|
347
|
+
return [e("el-option", { attrs: { value: n.code, label: t.$i18nt(`Dynamics.${n.transkey}`, n.name) } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${n.transkey}`, n.name)) + " ")])];
|
|
348
|
+
})], 2)], 1), e("div", { staticClass: "jg" }, [e("el-select", { staticStyle: { width: "100%" }, model: { value: l.val, callback: function(n) {
|
|
349
|
+
t.$set(l, "val", n);
|
|
350
|
+
}, expression: "ite.val" } }, [t._l(t.getDictionary(l.dictTypeCode), function(n) {
|
|
351
|
+
return [e("el-option", { attrs: { value: n.code, label: t.$i18nt(`Dynamics.${n.transkey}`, n.name) } })];
|
|
352
|
+
})], 2)], 1), e("div", { staticClass: "sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(n) {
|
|
353
|
+
return t.delCondition(a, o);
|
|
354
|
+
} } })])]);
|
|
355
|
+
}), e("div", { staticClass: "add" }, [e("span", { staticClass: "active-color", on: { click: function(l) {
|
|
356
|
+
return t.addCondition(a);
|
|
357
|
+
} } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addCondition", "\u6DFB\u52A0\u6761\u4EF6")) + " ")])])], 2) : t._e()]), e("div", { staticClass: "operation" }, [e("div", { staticClass: "title", on: { click: function(l) {
|
|
358
|
+
return t.openItem(3, a);
|
|
359
|
+
} } }, [e("i", { class: s.operation.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.handle")) + " "), a === t.list.length - 1 && s.operation.list.length > 0 && s.condition.list.length === 0 ? e("div", { staticClass: "title-sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(l) {
|
|
360
|
+
return l.stopPropagation(), t.delOperation(a);
|
|
361
|
+
} } })]) : t._e()]), s.operation && s.operation.open ? e("div", { staticClass: "list" }, [t._l(s.operation.list, function(l, o) {
|
|
362
|
+
return e("div", { staticClass: "lists" }, [e("div", { staticClass: "tjs" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: l.val, callback: function(n) {
|
|
363
|
+
t.$set(l, "val", n);
|
|
364
|
+
}, expression: "ite.val" } }, [t._l(t.getDictionaryd(l), function(n, r) {
|
|
365
|
+
return [e("el-option", { attrs: { value: n.code, label: t.$i18nt(`Dynamics.${n.transkey}`, n.name) } })];
|
|
366
|
+
})], 2)], 1), e("div", { staticClass: "jg" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", multiple: "" }, model: { value: l.columnComment, callback: function(n) {
|
|
367
|
+
t.$set(l, "columnComment", n);
|
|
368
|
+
}, expression: "ite.columnComment" } }, [t._l(t.remainingBtn(s.operation.list, o), function(n) {
|
|
369
|
+
return [e("el-option", { attrs: { label: t.$i18nt(`Dynamics.${n.transkey}`, n.displayname), value: n.name } })];
|
|
370
|
+
})], 2)], 1), e("div", { staticClass: "sc" })]);
|
|
371
|
+
}), t.list.length > 1 && a === t.list.length - 1 && s.operation.list.length === 0 ? e("div", { staticClass: "add active-color" }, [e("span", { on: { click: function(l) {
|
|
372
|
+
return t.addOperationMore(a);
|
|
373
|
+
} } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addHandle", "\u6DFB\u52A0\u64CD\u4F5C")) + " ")])]) : t._e()], 2) : t._e()])]) : t._e()]);
|
|
374
|
+
}), t.showAdd ? e("div", { staticClass: "rules-el" }, [e("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.addList } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addElse", "\u6DFB\u52A0 ELSE")) + " ")])]) : t._e()], 2)]), e("div", { staticClass: "config-item config-items" }, [e("div", { staticClass: "b" }, [e("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: t.ruleFormData, size: "mini", rules: t.rules }, nativeOn: { submit: function(s) {
|
|
375
|
+
s.preventDefault();
|
|
376
|
+
} } }, [e("el-form-item", { attrs: { label: t.$i18nt("gd.view.displayName", "\u663E\u793A\u540D\u79F0"), prop: "name" } }, [e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleFormData.name, callback: function(s) {
|
|
377
|
+
t.$set(t.ruleFormData, "name", s);
|
|
378
|
+
}, expression: "ruleFormData.name" } })], 1), e("el-form-item", { attrs: { label: t.$i18nt("gd.view.explain", "\u8BF4\u660E"), prop: "explain" } }, [e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", rows: 4 }, model: { value: t.ruleFormData.explain, callback: function(s) {
|
|
379
|
+
t.$set(t.ruleFormData, "explain", s);
|
|
380
|
+
}, expression: "ruleFormData.explain" } })], 1), e("div", { staticClass: "using-flex" }, [e("div", { staticClass: "using-flex-title" }, [t._v(" " + t._s(t.$i18nt("gd.msg.temPlate.isEnabled", "\u662F\u5426\u542F\u7528")) + " ")]), e("el-switch", { attrs: { "active-color": t.primaryColor }, model: { value: t.ruleFormData.using, callback: function(s) {
|
|
381
|
+
t.$set(t.ruleFormData, "using", s);
|
|
382
|
+
}, expression: "ruleFormData.using" } })], 1)], 1)], 1)])])])], 2);
|
|
383
|
+
}, m = [], g = /* @__PURE__ */ u(
|
|
384
|
+
p,
|
|
385
|
+
h,
|
|
386
|
+
m,
|
|
387
|
+
!1,
|
|
388
|
+
null,
|
|
389
|
+
"87a996f7",
|
|
390
|
+
null,
|
|
391
|
+
null
|
|
392
|
+
);
|
|
393
|
+
const $ = g.exports;
|
|
394
|
+
export {
|
|
395
|
+
$ as default
|
|
396
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./components.chartbi.e9459775.js"),c=require("./utils.util.js.c0ba699b.js"),u=require("./http.tabledevelopment.a880bb76.js");require("./utils.echarts.js.461a74e7.js");const f={props:{table:{type:Object,default:()=>({})},loadData:{type:Array,default:()=>[]},type:{type:[String,Number],default:1},id:{type:[String,Number],default:""}},data(){return{width:"1100px",record:null,confirmLoading:!1,visible:!1,fullscreen:!1,buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],ruleFormData:{name:"",using:!0,explain:"",id:""},rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}]},list:[],btnData:[],tableFieldList:[],tableFieldAll:[],showAdd:!0}},components:{EffectTypeIcon:()=>Promise.resolve().then(()=>require("./components.xlsximport.e3bcb07d.js")).then(i=>i.effectTypeIcon)},watch:{list:{handler(i){this.isSatisfy()},deep:!0,immediate:!0}},computed:{height(){let i=this.fullscreen?190:340;return this.screenHeight-i},rulesList(){return this.getDictionary("table_form_rules").filter(i=>(i.sysDictType=[],!0))},...d.mapGetters(["screenHeight","primaryColor"])},methods:{handleSubmit(){let i=[],t=[];if(this.list.forEach((e,s)=>{i=i.concat(e.condition.list),t=t.concat(e.operation.list)}),i.length==0)return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip","\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")),!1;if(!this.isCheckedAll(i,1))return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip","\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")),!1;if(t.length==0)return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip","\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")),!1;if(!this.isCheckedAll(t,2))return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip","\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")),!1;this.confirmLoading=!0,this.$refs.ruleForm.validate(e=>{e?(this.$emit("ok",Object.assign({...this.ruleFormData},{key:this.record?"2":"1",list:[...this.list]})),this.closed()):this.confirmLoading=!1})},remainingBtn(i,t){let e=[];return i.forEach((a,l)=>{l!==t&&(e=e.concat(a.columnComment))}),this.btnData.filter(a=>!e.includes(a.name))},conditionColumn(i,t,e){const s=this.tableFieldAll.filter(l=>l.value===i[i.length-1])[0],a=this.rulesList.filter(l=>l.remark.split(",").includes(s.effectType));Object.assign(t,{effectType:s.effectType,dictTypeCode:s.dictTypeCode,val:"",rulesList:a,rules:a.length>0?a[0].code:""})},addList(){let i=[...this.list];i.length>1&&(i[i.length-1].title="ELSE IF");let t={title:"Else",open:!0,condition:{open:!0,list:[]},operation:{open:!0,list:[]}};i.push(t),this.list=[...i]},del(i){let t=this;this.$confirm(this.$i18nt("gd.https.delExpression","\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"),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:(e,s,a)=>{if(a(),e!=="confirm")return;let l=[...t.list];l.splice(i,1),l.length>1&&(l[l.length-1].title="Else"),t.list=[...l]}})},delCondition(i,t){let e=[...this.list];e[i].condition.list.splice(t,1),e[i].condition.list.length>0&&(e[i].condition.list[0].type="0"),e[i].condition.list.length===0&&i!=e.length-1&&(e[i].operation.list=[]),this.list=[...e]},delOperation(i,t){let e=[...this.list];e[i].operation.list=[],this.list=[...e]},addCondition(i){let t=this.list[i].condition.list.length,s={type:t==0?"0":t>1?this.list[i].condition.list[t-1].type:"1",columnComment:"",rules:"1",val:"",rulesList:[...this.rulesList],effectType:"select",fieldFormat:null,dictTypeCode:null,fkData:[],id:c.uuid(12)};this.list[i].condition.list.push(s),this.list[i].operation.list.length===0&&(this.addOperation(i,"1"),this.addOperation(i,"2"))},addOperation(i,t){let e={rules:"4",columnComment:[],val:t,type:1,effectType:"select",fkData:[],id:c.uuid(),fieldFormat:null};this.list[i].operation.list.push(e)},addOperationMore(i){this.list[i].operation.list.length===0&&(this.addOperation(i,"1"),this.addOperation(i,"2"))},getBtnList(){this.confirmLoading=!0,u.sysButtonList({type:this.type,SysCodeGenId:this.table.id}).then(i=>{i.code===200&&(this.btnData=i.data.filter(t=>this.type===1&&t.sysviewid==this.id?!0:this.type===2&&t.sysformidbyset==this.id)),this.confirmLoading=!1})},init(i){const t=JSON.parse(JSON.stringify(i));this.record=t,this.visible=!0,this.getBtnList(),this.getTableField(),this.ruleFormData={name:i?i.name:"",using:i?i.using:!0,explain:i?i.explain:"",id:i?i.id:c.uuid(12)},i?this.list=[...t.list]:this.list=[{title:"IF",open:!0,condition:{open:!0,list:[]},operation:{open:!0,list:[]},id:c.uuid(12)}],this.$nextTick(()=>{setTimeout(()=>{this.$refs.ruleForm.clearValidate()},0)})},openItem(i,t){if(i==1){this.list[t].open=!this.list[t].open;return}if(i==2){this.list[t].condition.open=!this.list[t].condition.open;return}if(i==3){this.list[t].operation.open=!this.list[t].operation.open;return}},getTableField(){let i=[],t=[];this.loadData.filter(s=>s.dicttypecode?!0:s.children&&s.children.length>0&&this.type==1?(s.children=s.children.filter(a=>a.dicttypecode),!0):!1).forEach(s=>{let a={value:s.columnname,label:this.$i18nt(`Dynamics.${s.transkey}`,s.columncomment),dictTypeCode:s.dicttypecode,transKey:s.transkey,id:s.id,fkEntityName:s.fkentityname,effectType:s.effecttype,fieldFormat:s.fieldformat,hasChildren:this.type==1,columnname:s.columnname};if(t.push(a),s.children&&s.children.length>0&&this.type==1){let l=[];s.children.forEach(o=>{const n={value:`${o.columnname}${s.fkentityname}${s.columnname}`,label:this.$i18nt(`Dynamics.${o.transkey}`,o.columncomment),columnname:s.columnname,dictTypeCode:o.dicttypecode,transKey:o.transkey,id:o.id,fkEntityName:o.fkentityname,effectType:o.effecttype,fieldFormat:s.fieldformat,hasChildren:!1};l.push(n),t.push(n)}),Object.assign(a,{children:l})}i.push(a)}),this.tableFieldList=i,this.tableFieldAll=t},isSatisfy(){if(this.list.length==0)return;let i=[...this.list],t=i[i.length-1];t.condition.list.length>0?this.showAdd=!this.isChecked(t.condition.list):this.showAdd=!1},isChecked(i){return i.every((t,e,s)=>{let a=t.rules==="5"||t.rules==="6"?t.columnComment:t.val;return!(t.columnComment!==void 0&&a)})},isCheckedAll(i,t){return i.every((e,s,a)=>{let l="";return t===1?l=e.rules==="5"||e.rules==="6"?e.columnComment:e.val:l=e.rules==="7"?e.columnComment:e.val,(t===1?e.columnComment!==void 0:!0)&&l!==""&&l!==void 0})},closed(){this.confirmLoading=!1,this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionaryd(i){let t=i.rules==="3"?"table_form_essential":i.rules==="4"?"table_form_so":"table_form_locking";return this.getDictionary(t)},getDictionary(i){return this.$options.filters.dictData(i)},doEvent(i){let t=i.item.functionName;this[t]&&this[t]()}}};var p=function(){var t=this,e=t._self._c;return e("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:t.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:t.fullscreen,visible:t.visible,width:t.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){t.visible=s},closed:t.closed}},[e("template",{slot:"title"},[e("gd-modal-title",{attrs:{title:t.$i18nt("gd.view.btnRules","\u6309\u94AE\u89C4\u5219"),fullscreen:t.fullscreen,buttons:t.buttons,confirmLoading:t.confirmLoading,showClose:!0},on:{changeEvent:t.doEvent}})],1),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.confirmLoading,expression:"confirmLoading"}],staticClass:"generator-form"},[e("div",{staticClass:"view-config"},[e("div",{staticClass:"config-item"},[e("div",{staticClass:"rules"},[t._l(t.list,function(s,a){return e("div",{key:a,staticClass:"rules-if"},[e("div",{staticClass:"title"},[e("div",{staticClass:"l",on:{click:function(l){return t.openItem(1,a)}}},[e("i",{staticClass:"if-icon",class:s.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(s.title)+" ")]),a!=0?e("div",{staticClass:"r"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",cursor:"pointer",color:"#ff4d4f"},on:{click:function(l){return t.del(a)}}})]):t._e()]),s.open?e("div",{staticClass:"rules-ifs"},[e("div",{staticClass:"condition"},[e("div",{staticClass:"title",on:{click:function(l){return t.openItem(2,a)}}},[e("i",{staticClass:"if-icon",class:s.condition.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.if","\u5982\u679C"))+" ")]),s.condition&&s.condition.open?e("div",{staticClass:"detail"},[t._l(s.condition.list,function(l,o){return e("div",{staticClass:"lists"},[e("div",{staticClass:"rg"},[l.type==0?e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input"),value:t.$i18nt("gd.basics.if","\u5982\u679C"),disabled:""}}):e("el-select",{staticStyle:{width:"100%"},model:{value:l.type,callback:function(n){t.$set(l,"type",n)},expression:"ite.type"}},[e("el-option",{attrs:{value:"1",label:t.$i18nt("gd.filter.and","\u548C")}}),e("el-option",{attrs:{value:"2",label:t.$i18nt("gd.filter.or","\u6216")}})],1)],1),e("div",{staticClass:"zd"},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.tableFieldList},on:{change:function(n){return t.conditionColumn(n,l)}},scopedSlots:t._u([{key:"default",fn:function({node:n,data:r}){return[e("EffectTypeIcon",{attrs:{effectType:r.effectType}}),e("span",{staticStyle:{"margin-left":"4px"}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${r.transKey}`,r.label))+" "),r.hasChildren?t._e():e("span",[t._v("("+t._s(r.columnname)+")")])])]}}],null,!0),model:{value:l.columnComment,callback:function(n){t.$set(l,"columnComment",n)},expression:"ite.columnComment"}})],1),e("div",{staticClass:"tj"},[e("el-select",{staticStyle:{width:"100%"},attrs:{disabled:!(l.columnComment!==""&&l.columnComment.length>0)},model:{value:l.rules,callback:function(n){t.$set(l,"rules",n)},expression:"ite.rules"}},[t._l(l.rulesList,function(n){return[e("el-option",{attrs:{value:n.code,label:t.$i18nt(`Dynamics.${n.transkey}`,n.name)}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${n.transkey}`,n.name))+" ")])]})],2)],1),e("div",{staticClass:"jg"},[e("el-select",{staticStyle:{width:"100%"},model:{value:l.val,callback:function(n){t.$set(l,"val",n)},expression:"ite.val"}},[t._l(t.getDictionary(l.dictTypeCode),function(n){return[e("el-option",{attrs:{value:n.code,label:t.$i18nt(`Dynamics.${n.transkey}`,n.name)}})]})],2)],1),e("div",{staticClass:"sc"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",color:"#ff4d4f"},on:{click:function(n){return t.delCondition(a,o)}}})])])}),e("div",{staticClass:"add"},[e("span",{staticClass:"active-color",on:{click:function(l){return t.addCondition(a)}}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addCondition","\u6DFB\u52A0\u6761\u4EF6"))+" ")])])],2):t._e()]),e("div",{staticClass:"operation"},[e("div",{staticClass:"title",on:{click:function(l){return t.openItem(3,a)}}},[e("i",{class:s.operation.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.handle"))+" "),a===t.list.length-1&&s.operation.list.length>0&&s.condition.list.length===0?e("div",{staticClass:"title-sc"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",color:"#ff4d4f"},on:{click:function(l){return l.stopPropagation(),t.delOperation(a)}}})]):t._e()]),s.operation&&s.operation.open?e("div",{staticClass:"list"},[t._l(s.operation.list,function(l,o){return e("div",{staticClass:"lists"},[e("div",{staticClass:"tjs"},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),disabled:""},model:{value:l.val,callback:function(n){t.$set(l,"val",n)},expression:"ite.val"}},[t._l(t.getDictionaryd(l),function(n,r){return[e("el-option",{attrs:{value:n.code,label:t.$i18nt(`Dynamics.${n.transkey}`,n.name)}})]})],2)],1),e("div",{staticClass:"jg"},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:"",multiple:""},model:{value:l.columnComment,callback:function(n){t.$set(l,"columnComment",n)},expression:"ite.columnComment"}},[t._l(t.remainingBtn(s.operation.list,o),function(n){return[e("el-option",{attrs:{label:t.$i18nt(`Dynamics.${n.transkey}`,n.displayname),value:n.name}})]})],2)],1),e("div",{staticClass:"sc"})])}),t.list.length>1&&a===t.list.length-1&&s.operation.list.length===0?e("div",{staticClass:"add active-color"},[e("span",{on:{click:function(l){return t.addOperationMore(a)}}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addHandle","\u6DFB\u52A0\u64CD\u4F5C"))+" ")])]):t._e()],2):t._e()])]):t._e()])}),t.showAdd?e("div",{staticClass:"rules-el"},[e("span",{staticClass:"active-color",staticStyle:{cursor:"pointer"},on:{click:t.addList}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addElse","\u6DFB\u52A0 ELSE"))+" ")])]):t._e()],2)]),e("div",{staticClass:"config-item config-items"},[e("div",{staticClass:"b"},[e("el-form",{ref:"ruleForm",attrs:{"label-width":"110px","label-position":"top",model:t.ruleFormData,size:"mini",rules:t.rules},nativeOn:{submit:function(s){s.preventDefault()}}},[e("el-form-item",{attrs:{label:t.$i18nt("gd.view.displayName","\u663E\u793A\u540D\u79F0"),prop:"name"}},[e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:t.ruleFormData.name,callback:function(s){t.$set(t.ruleFormData,"name",s)},expression:"ruleFormData.name"}})],1),e("el-form-item",{attrs:{label:t.$i18nt("gd.view.explain","\u8BF4\u660E"),prop:"explain"}},[e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",rows:4},model:{value:t.ruleFormData.explain,callback:function(s){t.$set(t.ruleFormData,"explain",s)},expression:"ruleFormData.explain"}})],1),e("div",{staticClass:"using-flex"},[e("div",{staticClass:"using-flex-title"},[t._v(" "+t._s(t.$i18nt("gd.msg.temPlate.isEnabled","\u662F\u5426\u542F\u7528"))+" ")]),e("el-switch",{attrs:{"active-color":t.primaryColor},model:{value:t.ruleFormData.using,callback:function(s){t.$set(t.ruleFormData,"using",s)},expression:"ruleFormData.using"}})],1)],1)],1)])])])],2)},h=[],m=d.normalizeComponent(f,p,h,!1,null,"87a996f7",null,null);const g=m.exports;exports.default=g;
|