gds-plus-design-vue 1.2.63 → 1.2.72
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.e559c495.js +1 -0
- package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
- package/lib/approvalModel.2b97fdf8.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
- package/lib/attribute.4f814780.mjs +367 -0
- package/lib/attribute.7b4971f5.js +1 -0
- package/lib/businessRules.4f7349f3.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
- package/lib/buttonRule.4aa9cfd8.mjs +396 -0
- package/lib/buttonRule.ba9528ab.js +1 -0
- package/lib/chartDisplayRules.25489412.js +1 -0
- package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
- package/lib/components.chartbi.13a8a7b5.js +8 -0
- package/lib/components.chartbi.7356b244.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
- package/lib/components.echarts.5dea23f6.js +4 -0
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
- package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
- package/lib/components.iconselector.4b5b7901.js +1 -0
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
- package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
- package/lib/components.middleware.64b6a988.js +1 -0
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
- package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
- package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
- package/lib/components.tableumy.aa73378d.js +1 -0
- package/lib/components.tablevirtual.879ff28f.js +1 -0
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
- package/lib/components.viewformdetails.328c8642.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
- package/lib/components.viewloading.5b9c8fee.js +1 -0
- package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
- package/lib/components.xlsximport.c53c50f6.js +1 -0
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
- package/lib/copy.3b06d60f.mjs +572 -0
- package/lib/copy.fa2fcb22.js +1 -0
- package/lib/createFile.526dd6db.js +1 -0
- package/lib/createFile.c8d65b52.mjs +439 -0
- package/lib/createSubfolders.51df8fcd.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
- package/lib/drawerContainer.790b0ee6.mjs +163 -0
- package/lib/drawerContainer.c971d22d.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
- package/lib/editForm.83d10fae.mjs +434 -0
- package/lib/editForm.e284e5ec.js +1 -0
- package/lib/extendedAttributes.bfff1926.js +1 -0
- package/lib/extendedAttributes.e6b11c68.mjs +293 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
- package/lib/fileSearch.e849491c.js +1 -0
- package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
- package/lib/flow.designer.85d0054b.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
- package/lib/flow.list.e001d91a.js +1 -0
- package/lib/form.build.19f0c882.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
- package/lib/form.designer.build.2bcc355d.js +1 -0
- package/lib/form.designer.build.7dc12e87.mjs +2529 -0
- package/lib/formFiled.40284ed9.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.07adebf0.js +8 -0
- package/lib/index.340d6f00.mjs +25906 -0
- package/lib/layoutBlocks.756e4b57.js +1 -0
- package/lib/layoutBlocks.816b49a7.mjs +413 -0
- package/lib/layoutItem.051495bc.mjs +71 -0
- package/lib/layoutItem.6f6017a5.js +1 -0
- package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
- package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
- package/lib/main.0dc447c8.js +1 -0
- package/lib/main.12118407.mjs +552 -0
- package/lib/main.1551de4d.js +1 -0
- package/lib/main.1611bb43.js +1 -0
- package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
- package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
- package/lib/main.316ac1b8.js +1 -0
- package/lib/main.48dc325f.mjs +231 -0
- package/lib/main.54ac9faa.mjs +189 -0
- package/lib/main.69a2b457.mjs +166 -0
- package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
- package/lib/main.72c15ab0.js +1 -0
- package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
- package/lib/main.9b2769b1.js +1 -0
- package/lib/main.b2314767.mjs +323 -0
- package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
- package/lib/main.e1cf9798.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
- package/lib/main.fc38c7c8.mjs +537 -0
- package/lib/main.fcb67463.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
- package/lib/manage.eb0a6c8c.js +1 -0
- package/lib/messages.fieldconfiguration.092bb027.js +1 -0
- package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
- package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
- package/lib/messages.messagetemplate.50334e5f.js +7 -0
- package/lib/messages.sendplan.60929f46.js +1 -0
- package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
- package/lib/messages.sendrecord.09a1d1cd.js +2 -0
- package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
- package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
- package/lib/messages.templatelibrary.f5952edd.js +2 -0
- package/lib/mobile.designer.componentstree.365945a3.js +1 -0
- package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
- package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
- package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
- package/lib/moveFile.3dc1dc37.mjs +276 -0
- package/lib/moveFile.f70bbff7.js +1 -0
- package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
- package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
- package/lib/page.designer.componentstree.74a3a114.js +1 -0
- package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
- package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
- package/lib/page.designer.menutree.71c18258.js +1 -0
- package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
- package/lib/page.designer.operation.1d435e6e.js +1 -0
- package/lib/page.designer.operation.fe808988.mjs +44 -0
- package/lib/page.designer.page.654634aa.js +1 -0
- package/lib/page.designer.page.821f8994.mjs +10638 -0
- package/lib/personal.echarts.118bcafb.mjs +268 -0
- package/lib/personal.echarts.e5915542.js +1 -0
- package/lib/result.4d4039ea.js +1 -0
- package/lib/result.a87217ae.mjs +639 -0
- package/lib/router.config.a09f29e7.js +1 -0
- package/lib/router.config.f0ad16fd.mjs +1424 -0
- package/lib/solution.application.8d6c84e8.js +1 -0
- package/lib/solution.application.e6b5dc4f.mjs +548 -0
- package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
- package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
- package/lib/solution.approvalflow.79da028c.js +1 -0
- package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
- package/lib/solution.dict.088a1e72.mjs +769 -0
- package/lib/solution.dict.1d5195d0.js +1 -0
- package/lib/solution.menu.e58922fe.mjs +432 -0
- package/lib/solution.menu.fa48a7e8.js +1 -0
- package/lib/solution.plugin.5d6d29cf.js +1 -0
- package/lib/solution.plugin.ae6df926.mjs +347 -0
- package/lib/solution.processflow.62936f1c.mjs +392 -0
- package/lib/solution.processflow.aa1e808b.js +1 -0
- package/lib/solution.role.2eff83a1.js +1 -0
- package/lib/solution.role.7b3e7030.mjs +456 -0
- package/lib/solution.webresources.88c4483b.mjs +379 -0
- package/lib/solution.webresources.bc00603d.js +1 -0
- package/lib/solution.workflow.0ed2cb24.js +1 -0
- package/lib/solution.workflow.85de0ae5.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.3d7480ba.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
- package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
- package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
- package/lib/system.dict.ab148847.js +1 -0
- package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
- package/lib/system.document.0e46ff8c.js +1 -0
- package/lib/system.document.cbdf25a9.mjs +667 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
- package/lib/system.duplicatechecking.a217fc52.js +1 -0
- package/lib/system.email.1db14214.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
- package/lib/system.fieldsecurity.40b4f48a.js +1 -0
- package/lib/system.file.6a6bd77c.js +1 -0
- package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
- package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
- package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
- package/lib/system.notice.2090c130.js +1 -0
- package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
- package/lib/system.noticereceived.0b79642e.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
- package/lib/system.onlineuser.e74f010d.js +1 -0
- package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
- package/lib/system.permissions.4090552f.mjs +972 -0
- package/lib/system.permissions.fdb64929.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
- package/lib/system.plugin.a0f25733.js +1 -0
- package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
- package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
- package/lib/system.promptmanagement.9718aa24.js +1 -0
- package/lib/system.role.321c48d3.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
- package/lib/system.sumberrules.6e8d208e.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
- package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
- package/lib/system.team.cf1c1558.js +1 -0
- package/lib/system.teammembers.63f21557.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
- package/lib/system.timers.51bedf97.js +38 -0
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
- package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
- package/lib/system.translation.c9f1b505.js +1 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
- package/lib/system.user.475d7391.js +14 -0
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
- package/lib/system.useraffiliation.fe1e1d39.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
- package/lib/system.webresource.81cfa690.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
- package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
- package/lib/table.definition..btnconfig.add3d840.js +1 -0
- package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
- package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
- package/lib/tableDescriptions.143d8e67.js +1 -0
- package/lib/tableDescriptions.60a07f7c.mjs +80 -0
- package/lib/tcheckboxs.e4d387ff.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
- package/lib/tcurrency.0360c142.mjs +85 -0
- package/lib/tcurrency.233f4e63.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.97590ce8.js +1 -0
- package/lib/versionControl.d1b2b0da.mjs +488 -0
- package/lib/versionEdit.c51606e4.mjs +452 -0
- package/lib/versionEdit.f710d0bb.js +1 -0
- package/lib/view.build.5789a6eb.js +1 -0
- package/lib/view.build.9976c958.mjs +1578 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
- package/lib/viewList.6e181715.js +1 -0
- package/lib/viewTree.9bdf96f0.js +1 -0
- package/lib/viewTree.c2e11b7f.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import { m as d, n as u } from "./components.chartbi.7356b244.mjs";
|
|
2
|
+
import { u as c } from "./utils.util.js.333daba2.mjs";
|
|
3
|
+
import { z as f } from "./http.tabledevelopment.3dcb3e97.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.d39bfeaa.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.13a8a7b5.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.c53c50f6.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./components.chartbi.13a8a7b5.js"),o=require("./utils.util.js.c0ba699b.js");require("./utils.echarts.js.461a74e7.js");const d={props:{fieldData:{type:Array,default:()=>[]},echartsMode:{type:Array,default:()=>[]},sequenceField:{type:Array,default:()=>[]},size:{type:Array,default:()=>[]}},data(){return{width:"800px",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"}],list:[],showAdd:!0}},computed:{predefine(){return["#F5222D","#52C41A","#FAAD14","#13C2C2","#1890FF","#722ED1","#eee","#333","#666","#999"]},operationList(){return[{name:"\u5B57\u4F53\u989C\u8272",transKey:"gd.page.fontcolor",code:"1"},{name:"\u5B57\u4F53\u5927\u5C0F",transKey:"gd.page.fontSize",code:"2"},{name:"\u5B57\u4F53\u52A0\u7C97",transKey:"gd.page.fontWeight",code:"3"}]},rulesList(){return this.getDictionary("table_form_rules").filter(e=>e.remark.split(",").includes("double")).filter(e=>!["6","5","4","3"].includes(e.code))},height(){let i=this.fullscreen?190:340;return this.screenHeight-i},...c.mapGetters(["screenHeight"])},methods:{handleSubmit(){let i=[],t=[];if(this.list.forEach((e,n)=>{i=i.concat(e.condition.list),t=t.concat(e.operation.list)}),i.length===0&&t.length===0){this.$emit("ok",this.record,[]),this.closed();return}if(!this.isCheckedAll(i)){this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip","\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!"));return}this.$emit("ok",this.record,this.list),this.closed()},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:[]},id:o.uuid()};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,n,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,n={type:t==0?"0":t>1?this.list[i].condition.list[t-1].type:"1",rules:"1",val:void 0,id:o.uuid(12)};this.list[i].condition.list.push(n),this.list[i].operation.list.length===0&&(this.addOperation(i,"1","#333"),this.addOperation(i,"2",14),this.addOperation(i,"3","normal"))},addOperation(i,t,e){let n={rules:t,val:e,type:1,id:o.uuid()};this.list[i].operation.list.push(n)},addOperationMore(i){this.list[i].operation.list.length===0&&(this.addOperation(i,"1","#333"),this.addOperation(i,"2",14),this.addOperation(i,"3","normal"))},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}},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,n,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]}})},open(i){const t=JSON.parse(JSON.stringify(i));this.record=t,this.list=t.ruleSequence.length>0?[...t.ruleSequence]:[{title:"IF",open:!0,condition:{open:!0,list:[]},operation:{open:!0,list:[]},id:o.uuid(12)}],this.visible=!0},isCheckedAll(i,t){return i.every((e,n,a)=>e.val!==""&&e.val!==void 0)},closed(){this.confirmLoading=!1,this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionary(i){return this.$options.filters.dictData(i)},doEvent(i){let t=i.item.functionName;this[t]&&this[t]()}}};var u=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(n){t.visible=n},closed:t.closed}},[e("template",{slot:"title"},[e("gd-modal-title",{attrs:{title:t.$i18nt("gd.echarts.displayRules","\u663E\u793A\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"}]},[e("div",{staticClass:"rules"},[t._l(t.list,function(n,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:n.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(n.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()]),n.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:n.condition.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.if","\u5982\u679C"))+" ")]),n.condition&&n.condition.open?e("div",{staticClass:"detail"},[t._l(n.condition.list,function(l,r){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(s){t.$set(l,"type",s)},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%"},attrs:{disabled:""},model:{value:t.record.columnName,callback:function(s){t.$set(t.record,"columnName",s)},expression:"record.columnName"}},[t._l(t.sequenceField,function(s){return[e("el-option",{attrs:{value:s.columnName,label:s.transkeyDict?`${t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment)} (${t.$i18nt(`Dynamics.${s.transkeyDict}`,s.transkeyName)})`:t.$i18nt(`Dynamics.${t.V.transkey}`,s.columncomment)}})]})],2)],1),e("div",{staticClass:"tj"},[e("el-select",{staticStyle:{width:"100%"},model:{value:l.rules,callback:function(s){t.$set(l,"rules",s)},expression:"ite.rules"}},[t._l(t.rulesList,function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${s.transkey}`,s.name))+" ")])]})],2)],1),e("div",{staticClass:"jg"},[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(s){t.$set(l,"val",s)},expression:"ite.val"}})],1),e("div",{staticClass:"sc"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",color:"#ff4d4f"},on:{click:function(s){return t.delCondition(a,r)}}})])])}),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:n.operation.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.handle"))+" "),a===t.list.length-1&&n.operation.list.length>0&&n.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()]),n.operation&&n.operation.open?e("div",{staticClass:"list"},[t._l(n.operation.list,function(l,r){return e("div",{staticClass:"lists"},[e("div",{staticClass:"zd"},[e("el-select",{staticStyle:{width:"100%"},model:{value:l.rules,callback:function(s){t.$set(l,"rules",s)},expression:"ite.rules"}},[t._l(t.operationList,function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transKey}`,s.name)}})]})],2)],1),e("div",{staticClass:"zd"},[l.rules==="1"?e("el-input",{model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[e("el-color-picker",{staticClass:"theme-picker",staticStyle:{"margin-right":"-5px"},attrs:{slot:"suffix",predefine:t.predefine,"popper-class":"theme-picker-dropdown"},slot:"suffix",model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})],1):l.rules==="2"?e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),size:"mini"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},t._l(t.size,function(s){return e("el-option",{key:s,attrs:{label:s,value:s}})}),1):l.rules==="3"?e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),size:"mini"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[e("el-option",{attrs:{value:"lighter",label:t.$i18nt("gd.page.lighter","\u7EC6")}}),e("el-option",{attrs:{value:"normal",label:t.$i18nt("gd.page.fontNormal","\u9ED8\u8BA4")}}),e("el-option",{attrs:{value:"bolder",label:t.$i18nt("gd.page.bolder","\u7C97")}})],1):t._e()],1)])}),n.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)])],2)},p=[],h=c.normalizeComponent(d,u,p,!1,null,"8a162d6f",null,null);const f=h.exports;exports.default=f;
|