gds-plus-design-vue 1.2.61 → 1.2.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.5036013c.js +1 -0
- package/lib/addPermission.9fc97a47.mjs +421 -0
- package/lib/approvalModel.51d07afe.mjs +340 -0
- package/lib/approvalModel.66f49dfb.js +1 -0
- package/lib/attribute.318f485c.js +1 -0
- package/lib/attribute.a06ac9e7.mjs +237 -0
- package/lib/buildItem.6a834227.js +1 -0
- package/lib/buildItem.fd8634ab.mjs +205 -0
- package/lib/businessRules.0e4dbb3a.js +1 -0
- package/lib/businessRules.db6ba874.mjs +538 -0
- package/lib/components.chartbi.b043dcdc.mjs +1729 -0
- package/lib/components.chartbi.e4680eaa.js +7 -0
- package/lib/components.coloreditor.044983d2.mjs +1505 -0
- package/lib/components.coloreditor.779a9419.js +6 -0
- package/lib/components.dataassign.1853ed5c.js +1 -0
- package/lib/components.dataassign.56632583.mjs +147 -0
- package/lib/components.echarts.10d3ffe2.mjs +794 -0
- package/lib/components.echarts.e4d6b13e.js +3 -0
- package/lib/components.exception.3cc33e29.js +1 -0
- package/lib/components.exception.cc2f4ca3.mjs +61 -0
- package/lib/components.form.3344c817.mjs +7785 -0
- package/lib/components.form.91d5ed3e.js +41 -0
- package/lib/components.globalheader.07a90c4b.js +1 -0
- package/lib/components.globalheader.43fafa8c.mjs +54 -0
- package/lib/components.iconselector.8caabeaa.mjs +1165 -0
- package/lib/components.iconselector.d712170f.js +1 -0
- package/lib/components.imgpreview.57290b54.mjs +213 -0
- package/lib/components.imgpreview.86bf7971.js +1 -0
- package/lib/components.lunccalendar.76159d2e.js +1 -0
- package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
- package/lib/components.middleware.3bad5748.js +1 -0
- package/lib/components.middleware.457b1182.mjs +147 -0
- package/lib/components.modaltitle.ae92f96c.mjs +127 -0
- package/lib/components.modaltitle.e0b34fcb.js +1 -0
- package/lib/components.multitab.82fd0544.js +1 -0
- package/lib/components.multitab.8441aa6b.mjs +140 -0
- package/lib/components.selecttree.85d940a9.mjs +170 -0
- package/lib/components.selecttree.d710a362.js +1 -0
- package/lib/components.settingdrawer.779f6715.js +1 -0
- package/lib/components.settingdrawer.a6693034.mjs +237 -0
- package/lib/components.sidemenu.725677e3.mjs +277 -0
- package/lib/components.sidemenu.80e46c2d.js +1 -0
- package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
- package/lib/components.sidenavmenu.b9bb9304.js +1 -0
- package/lib/components.statuschange.15938660.mjs +116 -0
- package/lib/components.statuschange.ed1218a4.js +1 -0
- package/lib/components.table.17c02054.js +8 -0
- package/lib/components.table.e3e5e3bc.mjs +4635 -0
- package/lib/components.tableumy.2f5dfa12.mjs +450 -0
- package/lib/components.tableumy.9cf33062.js +1 -0
- package/lib/components.tablevirtual.38d4d3d8.js +1 -0
- package/lib/components.tablevirtual.ba03746e.mjs +561 -0
- package/lib/components.teamsharing.05503821.js +1 -0
- package/lib/components.teamsharing.fb4351ec.mjs +373 -0
- package/lib/components.tooltip.950dc77b.mjs +86 -0
- package/lib/components.tooltip.a05d8dd1.js +1 -0
- package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
- package/lib/components.uploadfile.5a9b6cc1.js +1 -0
- package/lib/components.uploadimg.cce7452a.js +1 -0
- package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
- package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
- package/lib/components.verificationcode.d1946db4.js +1 -0
- package/lib/components.viewformdetails.1621bc18.js +1 -0
- package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
- package/lib/components.viewloading.807bbf68.js +1 -0
- package/lib/components.viewloading.ea40b244.mjs +96 -0
- package/lib/components.watermark.1ffc66e0.mjs +53 -0
- package/lib/components.watermark.da3d7220.js +2 -0
- package/lib/components.xlsxexport.d98572f8.mjs +263 -0
- package/lib/components.xlsxexport.f5ace2cd.js +1 -0
- package/lib/components.xlsximport.cffa88fe.mjs +913 -0
- package/lib/components.xlsximport.dbd826bb.js +1 -0
- package/lib/createFile.6b37ecf2.js +1 -0
- package/lib/createFile.82d6e415.mjs +239 -0
- package/lib/createSubfolders.47af629c.js +1 -0
- package/lib/createSubfolders.d35b97e9.mjs +154 -0
- package/lib/dialogLayout.08823bb7.js +1 -0
- package/lib/dialogLayout.c4bc3b55.mjs +138 -0
- package/lib/drawerContainer.604a1271.mjs +146 -0
- package/lib/drawerContainer.6a9813ce.js +1 -0
- package/lib/drawerLayout.36cf4d05.js +1 -0
- package/lib/drawerLayout.fb60950f.mjs +119 -0
- package/lib/fileSearch.65311ded.js +1 -0
- package/lib/fileSearch.86c356fe.mjs +338 -0
- package/lib/flow.designer.1ba3a90d.js +1 -0
- package/lib/flow.designer.6da03949.mjs +7686 -0
- package/lib/flow.list.03694808.mjs +3030 -0
- package/lib/flow.list.4eb10554.js +1 -0
- package/lib/form.build.51bd261e.js +1 -0
- package/lib/form.build.b768d613.mjs +251 -0
- package/lib/form.designer.build.5a950455.js +1 -0
- package/lib/form.designer.build.e521c9c6.mjs +5091 -0
- package/lib/formFiled.464856f5.js +1 -0
- package/lib/formFiled.fe7d9df3.mjs +505 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +221 -91087
- package/lib/http.appmanage.4554a629.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
- package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.77c69971.mjs +50 -0
- package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.7c656b91.js +1 -0
- package/lib/http.filedocument.d456d26a.mjs +156 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.40657f51.mjs +517 -0
- package/lib/http.menumanage.3240ba0d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.5004bf60.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.orgmanage.84e43edb.mjs +58 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.rolemanage.03363732.js +1 -0
- package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
- package/lib/http.solution.175d36c8.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.608a06d6.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.e294ceaf.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.1d370398.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.c8487c0b.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.a4640c9a.mjs +104 -0
- package/lib/http.useraffiliation.840741ed.mjs +90 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.usermanage.3e5eff33.mjs +219 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.webresource.5158b431.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.69ad4631.mjs +44291 -0
- package/lib/index.cca024bf.js +8 -0
- package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
- package/lib/layoutBlocks.5e6be06f.js +1 -0
- package/lib/layouts.051a0bba.mjs +376 -0
- package/lib/layouts.a6a36612.js +2 -0
- package/lib/main.457f4326.js +1 -0
- package/lib/main.4fff412e.js +1 -0
- package/lib/{main.6c47713a.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.28952cf7.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5b3edd34.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.b4704b4b.mjs → main.c1df94d8.mjs} +4 -4
- package/lib/main.c3726602.js +1 -0
- package/lib/manage.5bb4f719.js +1 -0
- package/lib/manage.a1df9b88.mjs +419 -0
- package/lib/messages.7b74736f.js +9 -0
- package/lib/{messages.1787f71e.mjs → messages.ad082386.mjs} +994 -1952
- package/lib/moveFile.0ce803e0.js +1 -0
- package/lib/moveFile.8310ea94.mjs +254 -0
- package/lib/page.build.685c1e15.mjs +3158 -0
- package/lib/page.build.846096e6.js +12 -0
- package/lib/personal.echarts.b22fba61.mjs +701 -0
- package/lib/personal.echarts.f77bfc9e.js +1 -0
- package/lib/result.19351665.mjs +526 -0
- package/lib/result.e59c0e40.js +1 -0
- package/lib/router.config.2501ec51.js +1 -0
- package/lib/router.config.98a73167.mjs +3172 -0
- package/lib/solution.58580123.js +1 -0
- package/lib/solution.890ff164.mjs +6942 -0
- package/lib/store.config.3cb11578.js +1 -0
- package/lib/store.config.fff8a5a1.mjs +542 -0
- package/lib/style.css +3 -3
- package/lib/system.account.014f3e0b.mjs +2097 -0
- package/lib/system.account.0d4f1fdc.js +216 -0
- package/lib/{system.config.9bee857f.mjs → system.config.0899edb8.mjs} +7 -6
- package/lib/system.config.210f516c.js +1 -0
- package/lib/system.datasource.82492d27.js +1 -0
- package/lib/{system.datasource.926c6da1.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.d48f77d5.mjs → system.dict.ef24873d.mjs} +28 -107
- package/lib/system.dict.f5708400.js +1 -0
- package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
- package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
- package/lib/system.email.070ab2be.js +1 -0
- package/lib/system.email.252fd642.mjs +138 -0
- package/lib/{system.fieldsecurity.a91a8420.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
- package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
- package/lib/system.file.17a7f2ed.js +1 -0
- package/lib/{system.file.ca5f4aae.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.e80ba9c9.mjs → system.log.b86cf57f.mjs} +31 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.c1e753fb.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.a6017645.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.bbf6efd3.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.2b756c66.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
- package/lib/system.onlineuser.e2e39bdc.js +1 -0
- package/lib/system.org.79ee5bd6.js +1 -0
- package/lib/{system.org.5f9e7b94.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.17fe31d5.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.c503c5b7.mjs → system.plugin.45a0f530.mjs} +23 -93
- package/lib/system.plugin.b34a3b47.js +1 -0
- package/lib/system.pos.0a3d2a37.js +1 -0
- package/lib/{system.pos.a169dcb9.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.00fc2917.mjs → system.promptmanagement.d7250932.mjs} +153 -287
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.52d67131.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.357dc3bb.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
- package/lib/system.sumberrules.bb228fce.js +1 -0
- package/lib/system.team.32183b63.js +1 -0
- package/lib/system.team.e6a9608e.mjs +450 -0
- package/lib/{system.teammembers.90598753.mjs → system.teammembers.4a7e7339.mjs} +135 -82
- package/lib/system.teammembers.847d8ea7.js +1 -0
- package/lib/system.timers.28691ce4.js +38 -0
- package/lib/{system.timers.f66ddd64.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.279d9e27.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.80ca9f42.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.10ae5122.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.b5c11d9e.mjs → system.useraffiliation.518e341e.mjs} +4 -3
- package/lib/system.useraffiliation.7547b9c7.js +1 -0
- package/lib/system.webresource.12712b90.js +1 -0
- package/lib/{system.webresource.6dbe70f3.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.a162fc7d.mjs → system.welcome.191e98f5.mjs} +10 -3
- package/lib/system.welcome.f64e49f8.js +1 -0
- package/lib/tcheckboxs.090e75eb.mjs +52 -0
- package/lib/tcheckboxs.99361be3.js +1 -0
- package/lib/tcurrency.0ddac2f8.mjs +92 -0
- package/lib/tcurrency.62763c6d.js +1 -0
- package/lib/tdatepicker.8fe48b1b.mjs +52 -0
- package/lib/tdatepicker.b19e689d.js +1 -0
- package/lib/tdictSwitch.2e07dc8a.js +1 -0
- package/lib/tdictSwitch.43d882c7.mjs +60 -0
- package/lib/tfile.1bc381f9.js +1 -0
- package/lib/tfile.72925615.mjs +62 -0
- package/lib/tparticipants.77b876e2.js +1 -0
- package/lib/tparticipants.ca5b556c.mjs +56 -0
- package/lib/translation.mains.1ce7e110.js +1 -0
- package/lib/translation.mains.278e4ba6.mjs +383 -0
- package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
- package/lib/utils.datepicker.js.8576e2fc.js +1 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.util.js.50d1ec9c.js +1 -0
- package/lib/utils.util.js.82cd8447.mjs +424 -0
- package/lib/view.build.b44fd7d7.js +1 -0
- package/lib/view.build.f2a9fcfb.mjs +2727 -0
- package/lib/viewList.5a25c4b6.mjs +346 -0
- package/lib/viewList.be5a5ec5.js +1 -0
- package/locale/en_US.js +48 -23
- package/locale/id_ID.js +32 -7
- package/locale/vi_VN.js +1973 -1948
- package/locale/zh_CN.js +53 -29
- package/package.json +106 -105
- package/lib/chartbi.0d1d3b58.mjs +0 -27639
- package/lib/chartbi.d3f580d6.js +0 -60
- package/lib/main.0088ac99.js +0 -1
- package/lib/main.34c14bdb.js +0 -1
- package/lib/main.4b9adacf.js +0 -1
- package/lib/main.d1239940.js +0 -1
- package/lib/messages.add7c391.js +0 -9
- package/lib/system.account.00b82418.mjs +0 -2552
- package/lib/system.account.04cb26b6.js +0 -216
- package/lib/system.config.6244fa9b.js +0 -1
- package/lib/system.datasource.32878f5f.js +0 -1
- package/lib/system.dict.d25839ec.js +0 -1
- package/lib/system.duplicatechecking.4ed8c391.mjs +0 -2142
- package/lib/system.duplicatechecking.670ee24a.js +0 -1
- package/lib/system.email.52671629.mjs +0 -7432
- package/lib/system.email.dd537fd0.js +0 -41
- package/lib/system.fieldsecurity.4947c737.js +0 -1
- package/lib/system.file.93d65d16.js +0 -1
- package/lib/system.log.252cce0b.js +0 -1
- package/lib/system.machine.4e393981.js +0 -1
- package/lib/system.notice.ab23c15b.js +0 -1
- package/lib/system.noticereceived.123b764e.js +0 -1
- package/lib/system.onlineuser.295ad7f5.js +0 -1
- package/lib/system.org.c3bb51ff.js +0 -1
- package/lib/system.permissions.967200f1.js +0 -9
- package/lib/system.plugin.f8da8731.js +0 -1
- package/lib/system.pos.22fabf30.js +0 -1
- package/lib/system.promptmanagement.639a98e1.js +0 -1
- package/lib/system.role.4cf72743.js +0 -1
- package/lib/system.sumberrules.1a5b80df.js +0 -1
- package/lib/system.team.777feecf.mjs +0 -1000
- package/lib/system.team.ad10fc96.js +0 -1
- package/lib/system.teammembers.b193dd23.js +0 -1
- package/lib/system.timers.e31fe5fd.js +0 -38
- package/lib/system.translation.d3ed3d35.js +0 -1
- package/lib/system.useraffiliation.593c9ad4.js +0 -1
- package/lib/system.webresource.25e56654.js +0 -1
- package/lib/system.welcome.ec4e941f.js +0 -1
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
import { u as c } from "./utils.util.js.82cd8447.mjs";
|
|
2
|
+
import { m as d, n as u } from "./components.chartbi.b043dcdc.mjs";
|
|
3
|
+
import { a as f } from "./http.main.40657f51.mjs";
|
|
4
|
+
import { E as p } from "./components.xlsximport.cffa88fe.mjs";
|
|
5
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
6
|
+
import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
7
|
+
const m = {
|
|
8
|
+
props: {
|
|
9
|
+
formRecord: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: !0
|
|
12
|
+
},
|
|
13
|
+
table: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: () => ({})
|
|
16
|
+
},
|
|
17
|
+
loadData: {
|
|
18
|
+
type: Array,
|
|
19
|
+
default: () => []
|
|
20
|
+
},
|
|
21
|
+
viewData: {
|
|
22
|
+
type: Array,
|
|
23
|
+
default: () => []
|
|
24
|
+
},
|
|
25
|
+
formData: {
|
|
26
|
+
type: Array,
|
|
27
|
+
default: () => []
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
data() {
|
|
31
|
+
return {
|
|
32
|
+
width: "1100px",
|
|
33
|
+
record: null,
|
|
34
|
+
confirmLoading: !1,
|
|
35
|
+
visible: !1,
|
|
36
|
+
fullscreen: !1,
|
|
37
|
+
buttons: [
|
|
38
|
+
{
|
|
39
|
+
displayName: "\u786E\u5B9A",
|
|
40
|
+
functionName: "handleSubmit",
|
|
41
|
+
show: !0,
|
|
42
|
+
transKey: "gd.btn.confirm",
|
|
43
|
+
icon: "el-icon-document-checked"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
ruleFormData: {
|
|
47
|
+
adapted: [],
|
|
48
|
+
name: "",
|
|
49
|
+
using: !0,
|
|
50
|
+
explain: "",
|
|
51
|
+
id: ""
|
|
52
|
+
},
|
|
53
|
+
rules: {
|
|
54
|
+
name: [
|
|
55
|
+
{
|
|
56
|
+
required: !0,
|
|
57
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
58
|
+
trigger: "change"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
adapted: [
|
|
62
|
+
{
|
|
63
|
+
required: !0,
|
|
64
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u9009\u62E9"),
|
|
65
|
+
trigger: "change"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
list: [],
|
|
70
|
+
collapseList: [],
|
|
71
|
+
tabsList: [],
|
|
72
|
+
containerPanelList: [],
|
|
73
|
+
showAdd: !0,
|
|
74
|
+
detail: {},
|
|
75
|
+
type: 1,
|
|
76
|
+
loading: !1
|
|
77
|
+
};
|
|
78
|
+
},
|
|
79
|
+
components: { EffectTypeIcon: p },
|
|
80
|
+
watch: {
|
|
81
|
+
list: {
|
|
82
|
+
handler(s) {
|
|
83
|
+
this.isSatisfy();
|
|
84
|
+
},
|
|
85
|
+
deep: !0,
|
|
86
|
+
immediate: !0
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
computed: {
|
|
90
|
+
adaptedList() {
|
|
91
|
+
return [
|
|
92
|
+
{ name: "\u8868\u5355", code: "form", transKey: "gd.btnConfig.form" },
|
|
93
|
+
{ name: "\u4E1A\u52A1\u6D41\u7A0B", code: "flowsProcess", transKey: "gd.flow.process.title" }
|
|
94
|
+
];
|
|
95
|
+
},
|
|
96
|
+
getTabsColumns() {
|
|
97
|
+
let s = [];
|
|
98
|
+
return this.tabsList.forEach((t) => {
|
|
99
|
+
t.columns && t.columns.length > 0 && (s = s.concat(t.columns));
|
|
100
|
+
}), s;
|
|
101
|
+
},
|
|
102
|
+
getCollapseColumns() {
|
|
103
|
+
let s = [];
|
|
104
|
+
return this.collapseList.forEach((t) => {
|
|
105
|
+
t.columns && t.columns.length > 0 && (s = s.concat(t.columns));
|
|
106
|
+
}), s;
|
|
107
|
+
},
|
|
108
|
+
height() {
|
|
109
|
+
let s = this.fullscreen ? 190 : 340;
|
|
110
|
+
return this.screenHeight - s;
|
|
111
|
+
},
|
|
112
|
+
fieldFormat() {
|
|
113
|
+
return this.getDictionary("time_longshort");
|
|
114
|
+
},
|
|
115
|
+
operationList() {
|
|
116
|
+
return this.getDictionary("table_form_operation");
|
|
117
|
+
},
|
|
118
|
+
rulesList() {
|
|
119
|
+
return this.getDictionary("table_form_rules").filter((s) => (s.sysDictType = [], !0));
|
|
120
|
+
},
|
|
121
|
+
...d(["screenHeight", "primaryColor"])
|
|
122
|
+
},
|
|
123
|
+
methods: {
|
|
124
|
+
hasTimePicker(s) {
|
|
125
|
+
const t = s || "yyyy-MM-dd";
|
|
126
|
+
return ["hh:mm:ss", "hh:mm", "mm:ss", "HH:mm:ss", "HH:mm"].includes(t);
|
|
127
|
+
},
|
|
128
|
+
pickerType(s) {
|
|
129
|
+
const t = s || "yyyy-MM-dd";
|
|
130
|
+
let e = "date";
|
|
131
|
+
return t === "yyyy-MM-dd hh:mm:ss" || t === "yyyy-MM-dd HH:mm:ss" ? e = "datetime" : t === "yyyy-MM" ? e = "month" : t === "yyyy" && (e = "year"), e;
|
|
132
|
+
},
|
|
133
|
+
handleSubmit() {
|
|
134
|
+
let s = [], t = [];
|
|
135
|
+
if (this.list.forEach((e, a) => {
|
|
136
|
+
s = s.concat(e.condition.list), t = t.concat(e.operation.list);
|
|
137
|
+
}), s.length == 0)
|
|
138
|
+
return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip", "\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")), !1;
|
|
139
|
+
if (!this.isCheckedAll(s, 1))
|
|
140
|
+
return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip", "\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")), !1;
|
|
141
|
+
if (t.length == 0)
|
|
142
|
+
return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip", "\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")), !1;
|
|
143
|
+
if (!this.isCheckedAll(t, 2))
|
|
144
|
+
return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip", "\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")), !1;
|
|
145
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((e) => {
|
|
146
|
+
e ? (this.$emit(
|
|
147
|
+
"ok",
|
|
148
|
+
Object.assign(
|
|
149
|
+
{ ...this.ruleFormData },
|
|
150
|
+
{
|
|
151
|
+
key: this.record ? "2" : "1",
|
|
152
|
+
list: [...this.list]
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
), this.closed()) : this.confirmLoading = !1;
|
|
156
|
+
});
|
|
157
|
+
},
|
|
158
|
+
lookup(s, t) {
|
|
159
|
+
this.detail = s;
|
|
160
|
+
let e = this.loadData.filter((a) => a.columnname === s.columnComment)[0];
|
|
161
|
+
this.type = t, this.$refs.engineSearch.open(
|
|
162
|
+
Object.assign(e, {
|
|
163
|
+
val: s.val
|
|
164
|
+
})
|
|
165
|
+
);
|
|
166
|
+
},
|
|
167
|
+
lookupSeled(s) {
|
|
168
|
+
let t = [...this.list];
|
|
169
|
+
t.forEach((e, a) => {
|
|
170
|
+
this.type === 1 ? e.condition.list.forEach((n, l) => {
|
|
171
|
+
n.id == this.detail.id && (t[a].condition.list[l].val = s.data[0], t[a].condition.list[l].fkData = [...s.fkData]);
|
|
172
|
+
}) : e.operation.list.forEach((n, l) => {
|
|
173
|
+
n.id == this.detail.id && (t[a].operation.list[l].val = s.data[0], t[a].operation.list[l].fkData = [...s.fkData]);
|
|
174
|
+
});
|
|
175
|
+
}), this.list = [...t];
|
|
176
|
+
},
|
|
177
|
+
conditionColumn(s, t, e) {
|
|
178
|
+
const a = this.loadData.filter((l) => l.columnname === t.columnComment)[0];
|
|
179
|
+
if (e === 2 && !a) {
|
|
180
|
+
this.conditionColumnView(s, t);
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
let n = {
|
|
184
|
+
effectType: a ? a.effecttype : "input",
|
|
185
|
+
val: "",
|
|
186
|
+
showTime: !1,
|
|
187
|
+
fkData: []
|
|
188
|
+
};
|
|
189
|
+
if (a.fieldformat) {
|
|
190
|
+
const l = this.fieldFormat.filter((i) => i.code == a.fieldformat)[0], r = l ? l.name.replace("DD", "dd") : "yyyy-MM-dd HH:mm:ss";
|
|
191
|
+
Object.assign(n, {
|
|
192
|
+
fieldFormat: r,
|
|
193
|
+
showTime: r === "yyyy-MM-dd hh:mm:ss" || r === "yyyy-MM-dd HH:mm:ss"
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
if (a.dicttypecode && Object.assign(n, {
|
|
197
|
+
dictTypeCode: a.dicttypecode
|
|
198
|
+
}), e == 1) {
|
|
199
|
+
const l = this.rulesList.filter((r) => r.remark.split(",").includes(a.effecttype));
|
|
200
|
+
Object.assign(n, {
|
|
201
|
+
rulesList: [...l],
|
|
202
|
+
rules: l.length > 0 ? l[0].code : ""
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
Object.assign(t, { ...n }), ["fk", "about", "user"].includes(t.effectType) && this.searchData("", t);
|
|
206
|
+
},
|
|
207
|
+
conditionColumnView(s, t) {
|
|
208
|
+
let e = "input";
|
|
209
|
+
const a = this.viewData.filter((o) => o.componentName === s)[0], n = this.formData.filter((o) => o.formId === s)[0], l = this.getTabsColumns.filter((o) => o.key === s)[0], r = this.getCollapseColumns.filter((o) => o.key === s)[0], i = this.containerPanelList.filter((o) => o.key === s)[0];
|
|
210
|
+
a ? e = "viewtable" : n ? e = "displayform" : l ? e = "tabsColumns" : r ? e = "collapseColumns" : i && (e = "containerPanel"), Object.assign(t, {
|
|
211
|
+
effectType: e,
|
|
212
|
+
val: ""
|
|
213
|
+
});
|
|
214
|
+
},
|
|
215
|
+
del(s) {
|
|
216
|
+
let t = this;
|
|
217
|
+
this.$confirm(this.$i18nt("gd.https.delExpression", "\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
218
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
219
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
220
|
+
showClose: !1,
|
|
221
|
+
confirmButtonLoading: !1,
|
|
222
|
+
cancelButtonLoading: !1,
|
|
223
|
+
closeOnClickModal: !1,
|
|
224
|
+
type: "warning",
|
|
225
|
+
confirmButtonClass: "el-button--danger",
|
|
226
|
+
customClass: "custom-alert",
|
|
227
|
+
callback: () => {
|
|
228
|
+
},
|
|
229
|
+
beforeClose: (e, a, n) => {
|
|
230
|
+
if (n(), e !== "confirm")
|
|
231
|
+
return;
|
|
232
|
+
let l = [...t.list];
|
|
233
|
+
l.splice(s, 1), l.length > 1 && (l[l.length - 1].title = "Else"), t.list = [...l];
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
},
|
|
237
|
+
addList() {
|
|
238
|
+
let s = [...this.list];
|
|
239
|
+
s.length > 1 && (s[s.length - 1].title = "ELSE IF");
|
|
240
|
+
let t = {
|
|
241
|
+
title: "Else",
|
|
242
|
+
open: !0,
|
|
243
|
+
condition: {
|
|
244
|
+
open: !0,
|
|
245
|
+
list: []
|
|
246
|
+
},
|
|
247
|
+
operation: {
|
|
248
|
+
open: !0,
|
|
249
|
+
list: []
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
s.push(t), this.list = [...s];
|
|
253
|
+
},
|
|
254
|
+
delCondition(s, t) {
|
|
255
|
+
let e = [...this.list];
|
|
256
|
+
e[s].condition.list.splice(t, 1), e[s].condition.list.length > 0 && (e[s].condition.list[0].type = "0"), this.list = [...e];
|
|
257
|
+
},
|
|
258
|
+
delOperation(s, t) {
|
|
259
|
+
let e = [...this.list];
|
|
260
|
+
e[s].operation.list.splice(t, 1), this.list = [...e];
|
|
261
|
+
},
|
|
262
|
+
addCondition(s) {
|
|
263
|
+
let t = this.list[s].condition.list.length, a = {
|
|
264
|
+
type: t == 0 ? "0" : t > 1 ? this.list[s].condition.list[t - 1].type : "1",
|
|
265
|
+
columnComment: "",
|
|
266
|
+
rules: "1",
|
|
267
|
+
val: "",
|
|
268
|
+
rulesList: [...this.rulesList],
|
|
269
|
+
effectType: "input",
|
|
270
|
+
fieldFormat: null,
|
|
271
|
+
dictTypeCode: "",
|
|
272
|
+
showTime: !1,
|
|
273
|
+
fkData: [],
|
|
274
|
+
id: c(12)
|
|
275
|
+
};
|
|
276
|
+
this.list[s].condition.list.push(a);
|
|
277
|
+
},
|
|
278
|
+
addOperation(s) {
|
|
279
|
+
let t = {
|
|
280
|
+
rules: "2",
|
|
281
|
+
columnComment: "",
|
|
282
|
+
val: "",
|
|
283
|
+
type: 1,
|
|
284
|
+
effectType: "input",
|
|
285
|
+
fkData: [],
|
|
286
|
+
id: c(12),
|
|
287
|
+
fieldFormat: null,
|
|
288
|
+
dictTypeCode: "",
|
|
289
|
+
showTime: !1
|
|
290
|
+
};
|
|
291
|
+
this.list[s].operation.list.push(t);
|
|
292
|
+
},
|
|
293
|
+
searchData(s, t) {
|
|
294
|
+
const a = this.loadData.filter((n) => n.columnname === t.columnComment)[0].fkentityname.split(",")[0];
|
|
295
|
+
this.loading = !0, t.fkData = [], f({
|
|
296
|
+
name: s,
|
|
297
|
+
fkEntityName: a
|
|
298
|
+
}).then((n) => {
|
|
299
|
+
n.code === 200 && (t.fkData = n.data.map((l) => (l.tableName = a, l))), this.loading = !1;
|
|
300
|
+
});
|
|
301
|
+
},
|
|
302
|
+
init(s) {
|
|
303
|
+
const t = JSON.parse(JSON.stringify(s));
|
|
304
|
+
this.record = t, this.visible = !0, this.ruleFormData = {
|
|
305
|
+
name: s ? s.name : "",
|
|
306
|
+
using: s ? s.using : !0,
|
|
307
|
+
explain: s ? s.explain : "",
|
|
308
|
+
id: s ? s.id : c(12),
|
|
309
|
+
adapted: s && s.adapted ? s.adapted : ["form", "flowsProcess"]
|
|
310
|
+
}, s ? this.list = [...t.list] : this.list = [
|
|
311
|
+
{
|
|
312
|
+
title: "IF",
|
|
313
|
+
open: !0,
|
|
314
|
+
condition: {
|
|
315
|
+
open: !0,
|
|
316
|
+
list: []
|
|
317
|
+
},
|
|
318
|
+
operation: {
|
|
319
|
+
open: !0,
|
|
320
|
+
list: []
|
|
321
|
+
},
|
|
322
|
+
id: c(12)
|
|
323
|
+
}
|
|
324
|
+
], this.$nextTick(() => {
|
|
325
|
+
setTimeout(() => {
|
|
326
|
+
this.$refs.ruleForm.clearValidate(), this.getControl();
|
|
327
|
+
}, 0);
|
|
328
|
+
});
|
|
329
|
+
},
|
|
330
|
+
openItem(s, t) {
|
|
331
|
+
if (s == 1) {
|
|
332
|
+
this.list[t].open = !this.list[t].open;
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
if (s == 2) {
|
|
336
|
+
this.list[t].condition.open = !this.list[t].condition.open;
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
if (s == 3) {
|
|
340
|
+
this.list[t].operation.open = !this.list[t].operation.open;
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
getControl() {
|
|
345
|
+
let s = [], t = [], e = [];
|
|
346
|
+
const a = (n) => (n = n.filter((l, r) => (l.type === "tabs" ? t.push(l) : l.type === "collapse" ? s.push(l) : l.type === "containerPanel" && e.push(l), l.columns && l.columns.length > 0 && l.columns.forEach((i) => {
|
|
347
|
+
i.list = a(i.list);
|
|
348
|
+
}), l.list && l.list.length > 0 && (l.list = a(l.list)), !0)), n);
|
|
349
|
+
a(this.formRecord.list), this.collapseList = [...s], this.tabsList = [...t], this.containerPanelList = [...e];
|
|
350
|
+
},
|
|
351
|
+
getHeaderbName(s) {
|
|
352
|
+
if (s.transKey) {
|
|
353
|
+
if (s.langs !== void 0 && s.langs.length > 0) {
|
|
354
|
+
let t = s.langs.filter((e) => e.code === this.language)[0];
|
|
355
|
+
return t === void 0 ? this.$i18nt(`Dynamics.${s.transKey}`, t.val) : t.val;
|
|
356
|
+
}
|
|
357
|
+
} else
|
|
358
|
+
return s.label;
|
|
359
|
+
return this.$i18nt(`Dynamics.${s.transKey}`, s.label);
|
|
360
|
+
},
|
|
361
|
+
getTabName(s) {
|
|
362
|
+
if (s.transKey) {
|
|
363
|
+
if (s.langs !== void 0 && s.langs.length > 0) {
|
|
364
|
+
let t = s.langs.filter((e) => e.code === this.language)[0];
|
|
365
|
+
return t === void 0 ? this.$i18nt(`Dynamics.${s.transKey}`, t.val) : t.val;
|
|
366
|
+
}
|
|
367
|
+
} else
|
|
368
|
+
return s.label;
|
|
369
|
+
return this.$i18nt(`Dynamics.${s.transKey}`, s.label);
|
|
370
|
+
},
|
|
371
|
+
isSatisfy() {
|
|
372
|
+
if (this.list.length == 0)
|
|
373
|
+
return;
|
|
374
|
+
let s = [...this.list], t = s[s.length - 1];
|
|
375
|
+
t.condition.list.length > 0 ? this.showAdd = !this.isChecked(t.condition.list) : this.showAdd = !1;
|
|
376
|
+
},
|
|
377
|
+
isChecked(s) {
|
|
378
|
+
return s.every((t, e, a) => {
|
|
379
|
+
let n = t.rules === "5" || t.rules === "6" ? t.columnComment : t.val;
|
|
380
|
+
return !(t.columnComment !== void 0 && n);
|
|
381
|
+
});
|
|
382
|
+
},
|
|
383
|
+
isCheckedAll(s, t) {
|
|
384
|
+
return s.every((e, a, n) => {
|
|
385
|
+
let l = "";
|
|
386
|
+
return t === 1 ? l = e.rules === "5" || e.rules === "6" ? e.columnComment : e.val : l = e.rules === "7" ? e.columnComment : e.val, e.columnComment !== void 0 && l !== "" && l !== void 0;
|
|
387
|
+
});
|
|
388
|
+
},
|
|
389
|
+
getDictionary(s) {
|
|
390
|
+
let t = this.loadData.filter((e) => e.columnname == s.columnComment)[0];
|
|
391
|
+
return t === void 0 ? [] : t.dicttypecode === null ? [] : this.getDictionary(t.dicttypecode);
|
|
392
|
+
},
|
|
393
|
+
closed() {
|
|
394
|
+
this.confirmLoading = !1, this.fullscreen = !1, this.visible = !1;
|
|
395
|
+
},
|
|
396
|
+
toggleFullscreen() {
|
|
397
|
+
this.fullscreen = !this.fullscreen;
|
|
398
|
+
},
|
|
399
|
+
getDictionaryd(s) {
|
|
400
|
+
let t = s.rules === "3" ? "table_form_essential" : s.rules === "4" ? "table_form_so" : "table_form_locking";
|
|
401
|
+
return this.getDictionary(t);
|
|
402
|
+
},
|
|
403
|
+
getDictionary(s) {
|
|
404
|
+
return this.$options.filters.dictData(s);
|
|
405
|
+
},
|
|
406
|
+
doEvent(s) {
|
|
407
|
+
let t = s.item.functionName;
|
|
408
|
+
this[t] && this[t]();
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
var h = function() {
|
|
413
|
+
var t = this, e = t._self._c;
|
|
414
|
+
return e("div", [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(a) {
|
|
415
|
+
t.visible = a;
|
|
416
|
+
}, closed: t.closed } }, [e("template", { slot: "title" }, [e("gd-modal-title", { attrs: { title: t.$i18nt("gd.basics.businessSettings", "\u4E1A\u52A1\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(a, n) {
|
|
417
|
+
return e("div", { key: n, staticClass: "rules-if" }, [e("div", { staticClass: "title" }, [e("div", { staticClass: "l", on: { click: function(l) {
|
|
418
|
+
return t.openItem(1, n);
|
|
419
|
+
} } }, [e("i", { staticClass: "if-icon", class: a.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(a.title) + " ")]), n != 0 ? e("div", { staticClass: "r" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", cursor: "pointer", color: "#ff4d4f" }, on: { click: function(l) {
|
|
420
|
+
return t.del(n);
|
|
421
|
+
} } })]) : t._e()]), a.open ? e("div", { staticClass: "rules-ifs" }, [e("div", { staticClass: "condition" }, [e("div", { staticClass: "title", on: { click: function(l) {
|
|
422
|
+
return t.openItem(2, n);
|
|
423
|
+
} } }, [e("i", { staticClass: "if-icon", class: a.condition.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.if", "\u5982\u679C")) + " ")]), a.condition && a.condition.open ? e("div", { staticClass: "detail" }, [t._l(a.condition.list, function(l, r) {
|
|
424
|
+
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(i) {
|
|
425
|
+
t.$set(l, "type", i);
|
|
426
|
+
}, 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-select", { staticStyle: { width: "100%" }, on: { change: function(i) {
|
|
427
|
+
return t.conditionColumn(i, l, 1);
|
|
428
|
+
} }, model: { value: l.columnComment, callback: function(i) {
|
|
429
|
+
t.$set(l, "columnComment", i);
|
|
430
|
+
}, expression: "ite.columnComment" } }, [t._l(t.loadData, function(i) {
|
|
431
|
+
return [e("el-option", { attrs: { value: i.columnname, label: t.$i18nt(`Dynamics.${i.transkey}`, i.columncomment) } }, [e("EffectTypeIcon", { attrs: { effectType: i.effecttype } }), e("span", { staticStyle: { "margin-left": "4px" } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${i.transkey}`, i.columncomment)) + " (" + t._s(i.columnname) + ") ")])], 1)];
|
|
432
|
+
})], 2)], 1), e("div", { staticClass: "tj" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: l.columnComment === "" }, model: { value: l.rules, callback: function(i) {
|
|
433
|
+
t.$set(l, "rules", i);
|
|
434
|
+
}, expression: "ite.rules" } }, [t._l(l.rulesList, function(i) {
|
|
435
|
+
return [e("el-option", { attrs: { value: i.code, label: t.$i18nt(`Dynamics.${i.transkey}`, i.name) } })];
|
|
436
|
+
})], 2)], 1), e("div", { staticClass: "jg" }, [l.rules != 5 && l.rules != 6 ? e("div", [["select", "radio", "checkbox", "switch"].includes(l.effectType) ? e("el-select", { staticStyle: { width: "100%" }, model: { value: l.val, callback: function(i) {
|
|
437
|
+
t.$set(l, "val", i);
|
|
438
|
+
}, expression: "ite.val" } }, [t._l(t.getDictionary(l.dictTypeCode), function(i) {
|
|
439
|
+
return [e("el-option", { attrs: { value: i.code, label: t.$i18nt(`Dynamics.${i.transkey}`, i.name) } })];
|
|
440
|
+
})], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? e("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(i) {
|
|
441
|
+
t.$set(l, "val", i);
|
|
442
|
+
}, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? e("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(i) {
|
|
443
|
+
t.$set(l, "val", i);
|
|
444
|
+
}, expression: "ite.val" } }) : e("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(i) {
|
|
445
|
+
t.$set(l, "val", i);
|
|
446
|
+
}, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? e("div", { staticClass: "cao_about" }, [e("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (i) => t.searchData(i, l) }, model: { value: l.val, callback: function(i) {
|
|
447
|
+
t.$set(l, "val", i);
|
|
448
|
+
}, expression: "ite.val" } }, [t._l(l.fkData, function(i, o) {
|
|
449
|
+
return [e("el-option", { attrs: { label: i.name, value: i.id } })];
|
|
450
|
+
})], 2), e("div", { staticClass: "cao_setting", on: { click: function(i) {
|
|
451
|
+
return t.lookup(l, 1);
|
|
452
|
+
} } }, [e("i", { staticClass: "el-input__icon el-icon-search" })])], 1) : e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: l.val, callback: function(i) {
|
|
453
|
+
t.$set(l, "val", i);
|
|
454
|
+
}, expression: "ite.val" } })], 2) : t._e()]), e("div", { staticClass: "sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(i) {
|
|
455
|
+
return t.delCondition(n, r);
|
|
456
|
+
} } })])]);
|
|
457
|
+
}), e("div", { staticClass: "add" }, [e("span", { staticClass: "active-color", on: { click: function(l) {
|
|
458
|
+
return t.addCondition(n);
|
|
459
|
+
} } }, [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) {
|
|
460
|
+
return t.openItem(3, n);
|
|
461
|
+
} } }, [e("i", { class: a.operation.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.handle", "\u64CD\u4F5C")) + " ")]), a.operation && a.operation.open ? e("div", { staticClass: "list" }, [t._l(a.operation.list, function(l, r) {
|
|
462
|
+
return e("div", { staticClass: "lists" }, [e("div", { staticClass: "tj" }, [e("el-select", { staticStyle: { width: "100%" }, model: { value: l.rules, callback: function(i) {
|
|
463
|
+
t.$set(l, "rules", i);
|
|
464
|
+
}, expression: "ite.rules" } }, [t._l(t.operationList, function(i) {
|
|
465
|
+
return [e("el-option", { attrs: { value: i.code, label: t.$i18nt(`Dynamics.${i.transkey}`, i.name) } })];
|
|
466
|
+
})], 2)], 1), e("div", { staticClass: "zd" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: function(i) {
|
|
467
|
+
return t.conditionColumn(i, l, 2);
|
|
468
|
+
} }, model: { value: l.columnComment, callback: function(i) {
|
|
469
|
+
t.$set(l, "columnComment", i);
|
|
470
|
+
}, expression: "ite.columnComment" } }, [e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.field.field", "\u5B57\u6BB5") } }, [t._l(t.loadData, function(i, o) {
|
|
471
|
+
return [e("el-option", { attrs: { value: i.columnname, label: t.$i18nt(`Dynamics.${i.transkey}`, i.columncomment) } }, [e("EffectTypeIcon", { attrs: { effectType: i.effecttype } }), e("span", { staticStyle: { "margin-left": "4px" } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${i.transkey}`, i.columncomment)) + " (" + t._s(i.columnname) + ") ")])], 1)];
|
|
472
|
+
})], 2), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.associatedView", "\u5173\u8054\u89C6\u56FE") } }, [t._l(t.viewData, function(i, o) {
|
|
473
|
+
return [e("el-option", { attrs: { value: i.componentName, label: t.$i18nt(`Dynamics.${i.transkey}`, i.label) } })];
|
|
474
|
+
})], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.quickShowForm", "\u5FEB\u901F\u663E\u793A\u7A97\u4F53") } }, [t._l(t.formData, function(i, o) {
|
|
475
|
+
return [e("el-option", { attrs: { value: i.formId, label: t.$i18nt(`Dynamics.${i.transkey}`, i.label) } })];
|
|
476
|
+
})], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.tabLayout", "\u6807\u7B7E\u9875\u5E03\u5C40") } }, [t._l(t.getTabsColumns, function(i, o) {
|
|
477
|
+
return [e("el-option", { attrs: { value: i.key, label: t.getTabName(i) } })];
|
|
478
|
+
})], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.basics.collapsePanel", "\u6298\u53E0\u9762\u677F") } }, [t._l(t.getCollapseColumns, function(i, o) {
|
|
479
|
+
return [e("el-option", { attrs: { value: i.key, label: t.getHeaderbName(i) } })];
|
|
480
|
+
})], 2) : t._e(), l.rules == 4 ? e("el-option-group", { staticStyle: { "font-size": "14px" }, attrs: { label: t.$i18nt("gd.layoutContainer.containerPanel", "\u5BB9\u5668\u9762\u677F") } }, [t._l(t.containerPanelList, function(i, o) {
|
|
481
|
+
return [e("el-option", { attrs: { value: i.key, label: i.key } })];
|
|
482
|
+
})], 2) : t._e()], 1)], 1), e("div", { staticClass: "jg" }, [l.rules == "1" ? e("el-input", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: l.val, callback: function(i) {
|
|
483
|
+
t.$set(l, "val", i);
|
|
484
|
+
}, expression: "ite.val" } }) : l.rules == "2" || l.rules == "5" ? e("div", [["select", "radio", "checkbox", "switch"].includes(l.effectType) ? e("el-select", { staticStyle: { width: "100%" }, model: { value: l.val, callback: function(i) {
|
|
485
|
+
t.$set(l, "val", i);
|
|
486
|
+
}, expression: "ite.val" } }, [t._l(t.getDictionary(l.dictTypeCode), function(i) {
|
|
487
|
+
return [e("el-option", { attrs: { value: i.code, label: t.$i18nt(`Dynamics.${i.transkey}`, i.name) } })];
|
|
488
|
+
})], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? e("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(i) {
|
|
489
|
+
t.$set(l, "val", i);
|
|
490
|
+
}, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? e("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(i) {
|
|
491
|
+
t.$set(l, "val", i);
|
|
492
|
+
}, expression: "ite.val" } }) : e("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(i) {
|
|
493
|
+
t.$set(l, "val", i);
|
|
494
|
+
}, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? e("div", { staticClass: "cao_about" }, [e("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (i) => t.searchData(i, l) }, model: { value: l.val, callback: function(i) {
|
|
495
|
+
t.$set(l, "val", i);
|
|
496
|
+
}, expression: "ite.val" } }, [t._l(l.fkData, function(i, o) {
|
|
497
|
+
return [e("el-option", { attrs: { label: i.name, value: i.id } })];
|
|
498
|
+
})], 2), e("div", { staticClass: "cao_setting", on: { click: function(i) {
|
|
499
|
+
return t.lookup(l, 2);
|
|
500
|
+
} } }, [e("i", { staticClass: "el-input__icon el-icon-search" })])], 1) : e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: l.val, callback: function(i) {
|
|
501
|
+
t.$set(l, "val", i);
|
|
502
|
+
}, expression: "ite.val" } })], 2) : t._e(), ["3", "4", "6"].includes(l.rules) ? e("el-select", { staticStyle: { width: "100%" }, model: { value: l.val, callback: function(i) {
|
|
503
|
+
t.$set(l, "val", i);
|
|
504
|
+
}, expression: "ite.val" } }, [t._l(t.getDictionaryd(l), function(i) {
|
|
505
|
+
return [e("el-option", { attrs: { value: i.code, label: t.$i18nt(`Dynamics.${i.transkey}`, i.name) } })];
|
|
506
|
+
})], 2) : t._e()], 1), e("div", { staticClass: "sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(i) {
|
|
507
|
+
return t.delOperation(n, r);
|
|
508
|
+
} } })])]);
|
|
509
|
+
}), e("div", { staticClass: "add" }, [e("span", { staticClass: "active-color", on: { click: function(l) {
|
|
510
|
+
return t.addOperation(n);
|
|
511
|
+
} } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addHandle", "\u6DFB\u52A0\u64CD\u4F5C")) + " ")])])], 2) : t._e()])]) : t._e()]);
|
|
512
|
+
}), 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(a) {
|
|
513
|
+
a.preventDefault();
|
|
514
|
+
} } }, [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(a) {
|
|
515
|
+
t.$set(t.ruleFormData, "name", a);
|
|
516
|
+
}, 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(a) {
|
|
517
|
+
t.$set(t.ruleFormData, "explain", a);
|
|
518
|
+
}, expression: "ruleFormData.explain" } })], 1), e("el-form-item", { attrs: { label: t.$i18nt("gd.btnConfig.adaptTo", "\u9002\u5E94\u4E8E"), prop: "adapted" } }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { multiple: "", placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: t.ruleFormData.adapted, callback: function(a) {
|
|
519
|
+
t.$set(t.ruleFormData, "adapted", a);
|
|
520
|
+
}, expression: "ruleFormData.adapted" } }, t._l(t.adaptedList, function(a) {
|
|
521
|
+
return e("el-option", { key: a.code, attrs: { label: t.$i18nt(a.transKey, a.name), value: a.code } });
|
|
522
|
+
}), 1)], 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(a) {
|
|
523
|
+
t.$set(t.ruleFormData, "using", a);
|
|
524
|
+
}, expression: "ruleFormData.using" } })], 1)], 1)], 1)])])])], 2), e("gd-search", { ref: "engineSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 1);
|
|
525
|
+
}, y = [], v = /* @__PURE__ */ u(
|
|
526
|
+
m,
|
|
527
|
+
h,
|
|
528
|
+
y,
|
|
529
|
+
!1,
|
|
530
|
+
null,
|
|
531
|
+
"5353cc5e",
|
|
532
|
+
null,
|
|
533
|
+
null
|
|
534
|
+
);
|
|
535
|
+
const D = v.exports;
|
|
536
|
+
export {
|
|
537
|
+
D as default
|
|
538
|
+
};
|