gds-plus-design-vue 1.2.63 → 1.2.71
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.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
- package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
- package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
- package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
- package/lib/form.build.724d3357.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.c949a27f.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.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
- package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
- package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
- package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
- package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.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.1cadbf03.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
- package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
- package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
- package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
- package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
- package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
- package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
- package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
- package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
- package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.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.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.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,430 @@
|
|
|
1
|
+
import { E as c } from "./components.xlsximport.81df7841.mjs";
|
|
2
|
+
import { n as o, m as d } from "./components.chartbi.571c5ff5.mjs";
|
|
3
|
+
const m = {
|
|
4
|
+
props: {
|
|
5
|
+
selectItem: {
|
|
6
|
+
type: Object,
|
|
7
|
+
required: !0
|
|
8
|
+
},
|
|
9
|
+
loadData: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: () => []
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
data() {
|
|
15
|
+
return {
|
|
16
|
+
width: "900px",
|
|
17
|
+
visible: !1,
|
|
18
|
+
fullscreen: !1,
|
|
19
|
+
buttons: [
|
|
20
|
+
{
|
|
21
|
+
displayName: "\u786E\u5B9A",
|
|
22
|
+
functionName: "handleSubmit",
|
|
23
|
+
show: !0,
|
|
24
|
+
transKey: "gd.btn.confirm",
|
|
25
|
+
icon: "el-icon-document-checked"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
confirmLoading: !1,
|
|
29
|
+
list: [],
|
|
30
|
+
relationData: []
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
components: { EffectTypeIcon: c },
|
|
34
|
+
methods: {
|
|
35
|
+
toggleFullscreen() {
|
|
36
|
+
this.fullscreen = !this.fullscreen;
|
|
37
|
+
},
|
|
38
|
+
changeCode(l) {
|
|
39
|
+
this.$nextTick(() => {
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
let e = [...this.list];
|
|
42
|
+
e.forEach((t, n) => {
|
|
43
|
+
let s = this.filteredOptions(t), a = this.loadData.filter((i) => !s.includes(i.columnname));
|
|
44
|
+
e[n].loadData = a;
|
|
45
|
+
}), this.list = [...e];
|
|
46
|
+
}, 0);
|
|
47
|
+
});
|
|
48
|
+
},
|
|
49
|
+
filteredOptions(l) {
|
|
50
|
+
let e = [];
|
|
51
|
+
if (this.list.forEach((t, n) => {
|
|
52
|
+
t.columnname !== void 0 && e.push(t.columnname);
|
|
53
|
+
}), e.includes(l.columnname)) {
|
|
54
|
+
let t = e.indexOf(l.columnname);
|
|
55
|
+
e.splice(t, 1);
|
|
56
|
+
}
|
|
57
|
+
return e;
|
|
58
|
+
},
|
|
59
|
+
open() {
|
|
60
|
+
this.visible = !0, this.fullscreen = !1;
|
|
61
|
+
let l = this.selectItem.filter || [];
|
|
62
|
+
l.map((t) => {
|
|
63
|
+
t.changeEmpty = t.changeEmpty == null ? !0 : t.changeEmpty;
|
|
64
|
+
let n = [
|
|
65
|
+
{
|
|
66
|
+
columnname: "&user&",
|
|
67
|
+
columncomment: this.$i18nt("gd.form.currentUser", "\u5F53\u524D\u7528\u6237(\u975E\u672C\u8868\u5B57\u6BB5)"),
|
|
68
|
+
effecttype: "",
|
|
69
|
+
id: -1
|
|
70
|
+
}
|
|
71
|
+
], s = this.filteredOptions(t), a = this.loadData.filter((i) => !s.includes(i.columnname));
|
|
72
|
+
return t.loadData = a.concat(n), t;
|
|
73
|
+
}), this.list = [...l], this.visible = !0;
|
|
74
|
+
let e = this.loadData.filter((t) => t.columnname == this.selectItem.columnName)[0].children;
|
|
75
|
+
this.relationData = e.filter((t) => t.effecttype == "about" && t.columnname == (t.relations + "_AboutTable").toLowerCase() ? !1 : !(t.effecttype == "currency" && t.columnname == (t.relations + "_Currency_Base").toLowerCase()));
|
|
76
|
+
},
|
|
77
|
+
handleDelete(l) {
|
|
78
|
+
let e = [...this.list];
|
|
79
|
+
e.splice(l, 1), this.list = [...e], this.$nextTick(() => {
|
|
80
|
+
setTimeout(() => {
|
|
81
|
+
e.forEach((t, n) => {
|
|
82
|
+
let s = [
|
|
83
|
+
{
|
|
84
|
+
columnname: "&user&",
|
|
85
|
+
columncomment: this.$i18nt("gd.form.currentUser", "\u5F53\u524D\u7528\u6237(\u975E\u672C\u8868\u5B57\u6BB5)"),
|
|
86
|
+
effecttype: "",
|
|
87
|
+
id: -1
|
|
88
|
+
}
|
|
89
|
+
], a = this.filteredOptions(t), i = this.loadData.filter((r) => !a.includes(r.columnname));
|
|
90
|
+
e[n].loadData = i.concat(s);
|
|
91
|
+
}), this.list = [...e];
|
|
92
|
+
}, 0);
|
|
93
|
+
});
|
|
94
|
+
},
|
|
95
|
+
handleAdd() {
|
|
96
|
+
let l = [...this.list], e = this.filteredOptions({
|
|
97
|
+
columnName: void 0
|
|
98
|
+
}), t = [
|
|
99
|
+
{
|
|
100
|
+
columnname: "&user&",
|
|
101
|
+
columncomment: this.$i18nt("gd.form.currentUser", "\u5F53\u524D\u7528\u6237(\u975E\u672C\u8868\u5B57\u6BB5)"),
|
|
102
|
+
effecttype: "",
|
|
103
|
+
id: -1
|
|
104
|
+
}
|
|
105
|
+
], n = {
|
|
106
|
+
fieldName: "",
|
|
107
|
+
fieldValue: null,
|
|
108
|
+
operator: "equal",
|
|
109
|
+
columnName: "",
|
|
110
|
+
changeEmpty: !0,
|
|
111
|
+
loadData: this.loadData.filter((s) => !e.includes(s.columnname)).concat(t)
|
|
112
|
+
};
|
|
113
|
+
l.push(n), this.list = [...l];
|
|
114
|
+
},
|
|
115
|
+
handleSubmit() {
|
|
116
|
+
const l = this.isChecked();
|
|
117
|
+
if (!l) {
|
|
118
|
+
this.$message.warning(this.$i18nt("gd.field.replenishData", "\u8BF7\u8865\u5145\u6570\u636E"));
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
let e = [...this.list];
|
|
122
|
+
e.forEach((t, n) => {
|
|
123
|
+
e[n].loadData = [];
|
|
124
|
+
}), this.selectItem.filter = [...e], this.selectItem.fieldFiltering = l, this.cancel();
|
|
125
|
+
},
|
|
126
|
+
isChecked() {
|
|
127
|
+
return this.list.every((l, e, t) => l.fieldName !== "" && l.columnName !== "");
|
|
128
|
+
},
|
|
129
|
+
doEvent(l) {
|
|
130
|
+
let e = l.item.functionName;
|
|
131
|
+
this[e] && this[e]();
|
|
132
|
+
},
|
|
133
|
+
cancel() {
|
|
134
|
+
this.fullscreen = !1, this.visible = !1, this.$emit("closed");
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
var u = function() {
|
|
139
|
+
var e = this, t = e._self._c;
|
|
140
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(n) {
|
|
141
|
+
e.visible = n;
|
|
142
|
+
}, closed: e.cancel } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.form.filterFields", "\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0, closed: "cancel" }, on: { changeEvent: e.doEvent } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("el-form", { ref: "form", attrs: { "label-width": "100px", "label-position": "left", size: "mini" }, nativeOn: { submit: function(n) {
|
|
143
|
+
n.preventDefault();
|
|
144
|
+
} } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { staticStyle: { "text-align": "left" }, attrs: { span: 7 } }, [e._v(" " + e._s(e.$i18nt("gd.form.tableFields", "\u672C\u8868\u5B57\u6BB5")) + " ")]), t("el-col", { staticStyle: { "text-align": "left" }, attrs: { span: 5 } }, [e._v(" " + e._s(e.$i18nt("gd.form.operator", "\u64CD\u4F5C\u7B26")) + " ")]), t("el-col", { staticStyle: { "text-align": "left" }, attrs: { span: 7 } }, [e._v(" " + e._s(e.$i18nt("gd.form.associatedTableFields", "\u5173\u8054\u8868\u5B57\u6BB5")) + " ")]), t("el-col", { staticStyle: { "text-align": "left" }, attrs: { span: 4 } }), t("el-col", { attrs: { span: 1 } })], 1), e._l(e.list, function(n, s) {
|
|
145
|
+
return t("div", { key: s, staticClass: "option-change-box" }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 7 } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", clearable: "" }, on: { change: e.changeCode }, model: { value: n.columnName, callback: function(a) {
|
|
146
|
+
e.$set(n, "columnName", a);
|
|
147
|
+
}, expression: "item.columnName" } }, [e._l(n.loadData, function(a, i) {
|
|
148
|
+
return [a.columnname != e.selectItem.columnName ? t("el-option", { key: a.columnname, attrs: { value: a.columnname, label: e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment) } }, [t("EffectTypeIcon", { attrs: { effectType: a.effecttype } }), t("span", { staticStyle: { "margin-left": "4px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment)) + " (" + e._s(a.columnname) + ") ")])], 1) : e._e()];
|
|
149
|
+
})], 2)], 1), t("el-col", { attrs: { span: 5 } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: n.operator, callback: function(a) {
|
|
150
|
+
e.$set(n, "operator", a);
|
|
151
|
+
}, expression: "item.operator" } }, [t("el-option", { attrs: { value: "equal", label: e.$i18nt("gd.form.equal", "\u76F8\u7B49 (equal)") } }), t("el-option", { attrs: { value: "in", label: e.$i18nt("gd.form.contain", "\u5305\u542B (in)") } }), t("el-option", { attrs: { value: "like", label: e.$i18nt("gd.form.vague", "\u6A21\u7CCA (like)") } })], 1)], 1), t("el-col", { attrs: { span: 7 } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "", filterable: "" }, model: { value: n.fieldName, callback: function(a) {
|
|
152
|
+
e.$set(n, "fieldName", a);
|
|
153
|
+
}, expression: "item.fieldName" } }, e._l(e.relationData, function(a, i) {
|
|
154
|
+
return t("el-option", { key: a.columnname, attrs: { value: a.columnname, label: e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment) } }, [t("EffectTypeIcon", { attrs: { effectType: a.effecttype } }), t("span", { staticStyle: { "margin-left": "4px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.columncomment)) + " (" + e._s(a.columnname) + ") ")])], 1);
|
|
155
|
+
}), 1)], 1), t("el-col", { attrs: { span: 4 } }, [t("div", { staticClass: "bian" }, [t("el-checkbox", { model: { value: n.changeEmpty, callback: function(a) {
|
|
156
|
+
e.$set(n, "changeEmpty", a);
|
|
157
|
+
}, expression: "item.changeEmpty" } }, [e._v(" " + e._s(e.$i18nt("gd.form.changeEmptying", "\u53D8\u5316\u6E05\u7A7A")) + " ")])], 1)]), t("el-col", { attrs: { span: 1 } }, [t("div", { staticClass: "option-delete-box", on: { click: function(a) {
|
|
158
|
+
return e.handleDelete(s);
|
|
159
|
+
} } }, [t("i", { staticClass: "el-icon-delete" })])])], 1)], 1);
|
|
160
|
+
})], 2), t("div", { staticClass: "add" }, [t("el-button", { staticClass: "active-color", attrs: { type: "text" }, on: { click: e.handleAdd } }, [e._v(e._s(e.$i18nt("gd.btn.add", "\u65B0\u589E")))])], 1)], 1)], 2)], 1);
|
|
161
|
+
}, f = [], h = /* @__PURE__ */ o(
|
|
162
|
+
m,
|
|
163
|
+
u,
|
|
164
|
+
f,
|
|
165
|
+
!1,
|
|
166
|
+
null,
|
|
167
|
+
"6c54112e",
|
|
168
|
+
null,
|
|
169
|
+
null
|
|
170
|
+
);
|
|
171
|
+
const p = h.exports;
|
|
172
|
+
const g = {
|
|
173
|
+
props: {
|
|
174
|
+
selectItem: {
|
|
175
|
+
type: Object,
|
|
176
|
+
required: !0
|
|
177
|
+
},
|
|
178
|
+
loadData: {
|
|
179
|
+
type: Array,
|
|
180
|
+
default: () => []
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
data() {
|
|
184
|
+
return {
|
|
185
|
+
width: "1000px",
|
|
186
|
+
visible: !1,
|
|
187
|
+
fullscreen: !1,
|
|
188
|
+
buttons: [
|
|
189
|
+
{
|
|
190
|
+
displayName: "\u6E05\u7A7A",
|
|
191
|
+
functionName: "empty",
|
|
192
|
+
show: !0,
|
|
193
|
+
icon: "el-icon-delete",
|
|
194
|
+
transKey: "gd.btn.empty",
|
|
195
|
+
btnType: "danger"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
displayName: "\u786E\u5B9A",
|
|
199
|
+
functionName: "handleSubmit",
|
|
200
|
+
show: !0,
|
|
201
|
+
transKey: "gd.btn.confirm",
|
|
202
|
+
icon: "el-icon-document-checked"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
confirmLoading: !1,
|
|
206
|
+
list: [],
|
|
207
|
+
columnName: "",
|
|
208
|
+
ocolumnName: ""
|
|
209
|
+
};
|
|
210
|
+
},
|
|
211
|
+
computed: {
|
|
212
|
+
columnNameDict() {
|
|
213
|
+
return this.getDictionary(this.selectItem.dictTypeCode);
|
|
214
|
+
},
|
|
215
|
+
dictList() {
|
|
216
|
+
let l = this.loadData.filter((t) => t.columnname === this.columnName)[0];
|
|
217
|
+
return l === void 0 ? [] : this.getDictionary(l.dicttypecode);
|
|
218
|
+
},
|
|
219
|
+
dictData() {
|
|
220
|
+
return this.loadData.filter((e) => e.dicttypecode && e.columnname !== this.selectItem.columnName);
|
|
221
|
+
},
|
|
222
|
+
columnData() {
|
|
223
|
+
let l = this.loadData.filter((e) => e.columnname === this.columnName)[0];
|
|
224
|
+
return l || {};
|
|
225
|
+
},
|
|
226
|
+
style() {
|
|
227
|
+
return `color:${this.primaryColor};`;
|
|
228
|
+
},
|
|
229
|
+
...d(["primaryColor"])
|
|
230
|
+
},
|
|
231
|
+
components: { EffectTypeIcon: c },
|
|
232
|
+
methods: {
|
|
233
|
+
getDictList(l) {
|
|
234
|
+
let e = [];
|
|
235
|
+
return this.list.forEach((n) => {
|
|
236
|
+
n.columnValue && n.columnValue !== l.columnValue && e.push(n.columnValue);
|
|
237
|
+
}), this.dictList.filter((n) => !e.includes(n.code));
|
|
238
|
+
},
|
|
239
|
+
selectColumnName(l) {
|
|
240
|
+
let e = this;
|
|
241
|
+
if (this.list.length > 0) {
|
|
242
|
+
this.$confirm(this.$i18nt("gd.https.changeContent", "\u662F\u5426\u653E\u5F03\u66F4\u6539?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
243
|
+
confirmButtonText: this.$i18nt("gd.https.changeOk", "\u786E\u8BA4\u653E\u5F03"),
|
|
244
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
245
|
+
showClose: !1,
|
|
246
|
+
confirmButtonLoading: !1,
|
|
247
|
+
cancelButtonLoading: !1,
|
|
248
|
+
closeOnClickModal: !1,
|
|
249
|
+
type: "warning",
|
|
250
|
+
confirmButtonClass: "el-button--danger",
|
|
251
|
+
customClass: "custom-alert",
|
|
252
|
+
callback: () => {
|
|
253
|
+
},
|
|
254
|
+
beforeClose: (t, n, s) => {
|
|
255
|
+
if (s(), t !== "confirm") {
|
|
256
|
+
e.columnName = e.ocolumnName;
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
e.columnName = l, e.list = [], e.ocolumnName = l;
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
this.ocolumnName = l;
|
|
265
|
+
},
|
|
266
|
+
empty() {
|
|
267
|
+
let l = this;
|
|
268
|
+
if (l.columnName) {
|
|
269
|
+
this.$confirm(this.$i18nt("gd.https.emptyContent", "\u662F\u5426\u6E05\u7A7A\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
270
|
+
confirmButtonText: this.$i18nt("gd.https.emptyOk", "\u786E\u8BA4\u653E\u5F03"),
|
|
271
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u786E\u8BA4\u6E05\u7A7A"),
|
|
272
|
+
showClose: !1,
|
|
273
|
+
confirmButtonLoading: !1,
|
|
274
|
+
cancelButtonLoading: !1,
|
|
275
|
+
closeOnClickModal: !1,
|
|
276
|
+
type: "warning",
|
|
277
|
+
confirmButtonClass: "el-button--danger",
|
|
278
|
+
customClass: "custom-alert",
|
|
279
|
+
callback: () => {
|
|
280
|
+
},
|
|
281
|
+
beforeClose: (e, t, n) => {
|
|
282
|
+
if (n(), e !== "confirm") {
|
|
283
|
+
l.columnName = l.ocolumnName;
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
l.columnName = "", l.list = [], l.ocolumnName = "";
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
l.columnName = "", l.list = [], l.ocolumnName = "";
|
|
292
|
+
},
|
|
293
|
+
open() {
|
|
294
|
+
this.visible = !0, this.fullscreen = !1;
|
|
295
|
+
let l = this.selectItem.filter || [], e = l[0] ? l[0].columnName : "";
|
|
296
|
+
this.columnName = e, this.ocolumnName = e, this.list = l;
|
|
297
|
+
},
|
|
298
|
+
handleDelete(l) {
|
|
299
|
+
let e = [...this.list];
|
|
300
|
+
e.splice(l, 1), this.list = [...e];
|
|
301
|
+
},
|
|
302
|
+
handleAdd() {
|
|
303
|
+
let l = [...this.list], e = {
|
|
304
|
+
fieldValue: [],
|
|
305
|
+
columnName: this.columnName,
|
|
306
|
+
columnValue: "",
|
|
307
|
+
changeEmpty: !0
|
|
308
|
+
};
|
|
309
|
+
l.push(e), this.list = [...l];
|
|
310
|
+
},
|
|
311
|
+
handleSubmit() {
|
|
312
|
+
if (this.columnName !== "" && this.list.length == 0) {
|
|
313
|
+
this.$message.warning(this.$i18nt("gd.field.replenishData", "\u8BF7\u8865\u5145\u6570\u636E"));
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
if (!this.isChecked()) {
|
|
317
|
+
this.$message.warning(this.$i18nt("gd.field.replenishData", "\u8BF7\u8865\u5145\u6570\u636E"));
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
this.selectItem.filter = [...this.list], this.cancel();
|
|
321
|
+
},
|
|
322
|
+
isChecked() {
|
|
323
|
+
return this.list.every((l, e, t) => l.fieldValue.length > 0 && l.fieldValue !== "");
|
|
324
|
+
},
|
|
325
|
+
toggleFullscreen() {
|
|
326
|
+
this.fullscreen = !this.fullscreen;
|
|
327
|
+
},
|
|
328
|
+
doEvent(l) {
|
|
329
|
+
let e = l.item.functionName;
|
|
330
|
+
this[e] && this[e]();
|
|
331
|
+
},
|
|
332
|
+
getDictionary(l) {
|
|
333
|
+
return this.$options.filters.dictData(l);
|
|
334
|
+
},
|
|
335
|
+
cancel() {
|
|
336
|
+
this.fullscreen = !1, this.visible = !1;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
var y = function() {
|
|
341
|
+
var e = this, t = e._self._c;
|
|
342
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(n) {
|
|
343
|
+
e.visible = n;
|
|
344
|
+
}, closed: e.cancel } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.form.filterFields", "\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0, closed: "cancel" }, on: { changeEvent: e.doEvent } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("el-form", { ref: "form", attrs: { "label-width": "100px", "label-position": "left", size: "mini" }, nativeOn: { submit: function(n) {
|
|
345
|
+
n.preventDefault();
|
|
346
|
+
} } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 8 } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", clearable: "" }, on: { change: e.selectColumnName }, model: { value: e.columnName, callback: function(n) {
|
|
347
|
+
e.columnName = n;
|
|
348
|
+
}, expression: "columnName" } }, [e._l(e.dictData, function(n, s) {
|
|
349
|
+
return [n.columnname != e.selectItem.columnName ? t("el-option", { key: n.columnname, attrs: { value: n.columnname, label: e.$i18nt(`Dynamics.${n.transkey}`, n.columncomment) } }, [t("EffectTypeIcon", { attrs: { effectType: n.effecttype } }), t("span", { staticStyle: { "margin-left": "4px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.columncomment)) + " (" + e._s(n.columnname) + ") ")])], 1) : e._e()];
|
|
350
|
+
})], 2)], 1)], 1), t("el-divider"), e._l(e.list, function(n, s) {
|
|
351
|
+
return t("div", { key: s, staticClass: "option-change-box" }, [t("div", [e._v(e._s(e.$i18nt("gd.form.equalVal", "\u5982\u679C")))]), t("div", { staticClass: "option-tag" }, [e.columnData.columnname ? t("el-tag", { style: e.style, attrs: { size: "small" } }, [e._v(" " + e._s(e.columnData.columnname) + " " + e._s(e.$i18nt(`Dynamics.${e.columnData.transkey}`, e.columnData.columncomment)) + " ")]) : t("el-tag", { attrs: { size: "small" } }, [e._v("--")])], 1), t("div", [e._v(e._s(e.$i18nt("gd.form.theValueIs", "\u503C\u4E3A")))]), t("div", { staticClass: "option-sels" }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: n.columnValue, callback: function(a) {
|
|
352
|
+
e.$set(n, "columnValue", a);
|
|
353
|
+
}, expression: "item.columnValue" } }, [e._l(e.getDictList(n), function(a, i) {
|
|
354
|
+
return [t("el-option", { attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } })];
|
|
355
|
+
})], 2)], 1), t("div", [e._v(e._s(e.$i18nt("gd.form.when", "\u65F6\uFF0C")) + e._s(e.$i18nt("gd.form.filterVal", "\u8FC7\u6EE4")))]), t("div", { staticClass: "option-sel" }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), multiple: "" }, model: { value: n.fieldValue, callback: function(a) {
|
|
356
|
+
e.$set(n, "fieldValue", a);
|
|
357
|
+
}, expression: "item.fieldValue" } }, [e._l(e.columnNameDict, function(a, i) {
|
|
358
|
+
return [t("el-option", { attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } })];
|
|
359
|
+
})], 2)], 1), t("div", [e._v(e._s(e.$i18nt("gd.form.dictionaryValue", "\u5B57\u5178\u503C")))]), t("div", { staticClass: "option-delete-box", on: { click: function(a) {
|
|
360
|
+
return e.handleDelete(s);
|
|
361
|
+
} } }, [t("i", { staticClass: "el-icon-delete" })])]);
|
|
362
|
+
})], 2), e.columnName && e.list.length < e.dictList.length ? t("div", { staticClass: "add" }, [t("el-button", { staticClass: "active-color", attrs: { type: "text" }, on: { click: e.handleAdd } }, [e._v(e._s(e.$i18nt("gd.btn.add", "\u65B0\u589E")))])], 1) : e._e()], 1)], 2)], 1);
|
|
363
|
+
}, _ = [], v = /* @__PURE__ */ o(
|
|
364
|
+
g,
|
|
365
|
+
y,
|
|
366
|
+
_,
|
|
367
|
+
!1,
|
|
368
|
+
null,
|
|
369
|
+
"28faaad1",
|
|
370
|
+
null,
|
|
371
|
+
null
|
|
372
|
+
);
|
|
373
|
+
const b = v.exports;
|
|
374
|
+
const $ = {
|
|
375
|
+
props: {
|
|
376
|
+
selectItem: {
|
|
377
|
+
type: Object,
|
|
378
|
+
required: !0
|
|
379
|
+
},
|
|
380
|
+
loadData: {
|
|
381
|
+
type: Array,
|
|
382
|
+
default: () => []
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
data() {
|
|
386
|
+
return {
|
|
387
|
+
ref: ""
|
|
388
|
+
};
|
|
389
|
+
},
|
|
390
|
+
computed: {
|
|
391
|
+
getLoadData() {
|
|
392
|
+
return this.loadData.filter((l) => l.effecttype == "about" && l.columnname == (l.relations + "_AboutTable").toLowerCase() ? !1 : !(l.effecttype == "currency" && l.columnname == (l.relations + "_Currency_Base").toLowerCase()));
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
components: {
|
|
396
|
+
FkField: p,
|
|
397
|
+
DictField: b
|
|
398
|
+
},
|
|
399
|
+
methods: {
|
|
400
|
+
setScreen(l) {
|
|
401
|
+
this.ref = l, this.$refs[l].open();
|
|
402
|
+
},
|
|
403
|
+
visibleChange(l) {
|
|
404
|
+
l || this.$refs[this.ref].handleSubmit();
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
var D = function() {
|
|
409
|
+
var e = this, t = e._self._c;
|
|
410
|
+
return t("div", [e.selectItem.effectType === "fk" || e.selectItem.effectType === "user" ? [t("div", { staticStyle: { display: "flex", "align-items": "center" } }, [t("el-button", { attrs: { type: "primary" }, on: { click: function(n) {
|
|
411
|
+
return e.setScreen("fkField");
|
|
412
|
+
} } }, [e._v(" " + e._s(e.$i18nt("gd.form.filterFields", "\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5")) + " ")]), e.selectItem.fieldFiltering ? e._e() : t("i", { staticClass: "el-icon-warning", staticStyle: { color: "#f56c6c", "font-size": "20px", "margin-left": "10px", "line-height": "28px" } })], 1), t("FkField", { ref: "fkField", attrs: { selectItem: e.selectItem, loadData: e.getLoadData }, on: { closed: function(n) {
|
|
413
|
+
return e.$emit("closed");
|
|
414
|
+
} } })] : [t("el-button", { attrs: { type: "primary" }, on: { click: function(n) {
|
|
415
|
+
return e.setScreen("dictField");
|
|
416
|
+
} } }, [e._v(" " + e._s(e.$i18nt("gd.form.filterFields", "\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5")) + " ")]), t("DictField", { ref: "dictField", attrs: { selectItem: e.selectItem, loadData: e.getLoadData } })]], 2);
|
|
417
|
+
}, N = [], k = /* @__PURE__ */ o(
|
|
418
|
+
$,
|
|
419
|
+
D,
|
|
420
|
+
N,
|
|
421
|
+
!1,
|
|
422
|
+
null,
|
|
423
|
+
"7f3e5a85",
|
|
424
|
+
null,
|
|
425
|
+
null
|
|
426
|
+
);
|
|
427
|
+
const w = k.exports;
|
|
428
|
+
export {
|
|
429
|
+
w as F
|
|
430
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("./components.xlsximport.8c209857.js"),o=require("./components.chartbi.3bbac955.js");const m={props:{selectItem:{type:Object,required:!0},loadData:{type:Array,default:()=>[]}},data(){return{width:"900px",visible:!1,fullscreen:!1,buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],confirmLoading:!1,list:[],relationData:[]}},components:{EffectTypeIcon:c.EffectTypeIcon},methods:{toggleFullscreen(){this.fullscreen=!this.fullscreen},changeCode(l){this.$nextTick(()=>{setTimeout(()=>{let e=[...this.list];e.forEach((t,n)=>{let s=this.filteredOptions(t),a=this.loadData.filter(i=>!s.includes(i.columnname));e[n].loadData=a}),this.list=[...e]},0)})},filteredOptions(l){let e=[];if(this.list.forEach((t,n)=>{t.columnname!==void 0&&e.push(t.columnname)}),e.includes(l.columnname)){let t=e.indexOf(l.columnname);e.splice(t,1)}return e},open(){this.visible=!0,this.fullscreen=!1;let l=this.selectItem.filter||[];l.map(t=>{t.changeEmpty=t.changeEmpty==null?!0:t.changeEmpty;let n=[{columnname:"&user&",columncomment:this.$i18nt("gd.form.currentUser","\u5F53\u524D\u7528\u6237(\u975E\u672C\u8868\u5B57\u6BB5)"),effecttype:"",id:-1}],s=this.filteredOptions(t),a=this.loadData.filter(i=>!s.includes(i.columnname));return t.loadData=a.concat(n),t}),this.list=[...l],this.visible=!0;let e=this.loadData.filter(t=>t.columnname==this.selectItem.columnName)[0].children;this.relationData=e.filter(t=>t.effecttype=="about"&&t.columnname==(t.relations+"_AboutTable").toLowerCase()?!1:!(t.effecttype=="currency"&&t.columnname==(t.relations+"_Currency_Base").toLowerCase()))},handleDelete(l){let e=[...this.list];e.splice(l,1),this.list=[...e],this.$nextTick(()=>{setTimeout(()=>{e.forEach((t,n)=>{let s=[{columnname:"&user&",columncomment:this.$i18nt("gd.form.currentUser","\u5F53\u524D\u7528\u6237(\u975E\u672C\u8868\u5B57\u6BB5)"),effecttype:"",id:-1}],a=this.filteredOptions(t),i=this.loadData.filter(r=>!a.includes(r.columnname));e[n].loadData=i.concat(s)}),this.list=[...e]},0)})},handleAdd(){let l=[...this.list],e=this.filteredOptions({columnName:void 0}),t=[{columnname:"&user&",columncomment:this.$i18nt("gd.form.currentUser","\u5F53\u524D\u7528\u6237(\u975E\u672C\u8868\u5B57\u6BB5)"),effecttype:"",id:-1}],n={fieldName:"",fieldValue:null,operator:"equal",columnName:"",changeEmpty:!0,loadData:this.loadData.filter(s=>!e.includes(s.columnname)).concat(t)};l.push(n),this.list=[...l]},handleSubmit(){const l=this.isChecked();if(!l){this.$message.warning(this.$i18nt("gd.field.replenishData","\u8BF7\u8865\u5145\u6570\u636E"));return}let e=[...this.list];e.forEach((t,n)=>{e[n].loadData=[]}),this.selectItem.filter=[...e],this.selectItem.fieldFiltering=l,this.cancel()},isChecked(){return this.list.every((l,e,t)=>l.fieldName!==""&&l.columnName!=="")},doEvent(l){let e=l.item.functionName;this[e]&&this[e]()},cancel(){this.fullscreen=!1,this.visible=!1,this.$emit("closed")}}};var d=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(n){e.visible=n},closed:e.cancel}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.$i18nt("gd.form.filterFields","\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0,closed:"cancel"},on:{changeEvent:e.doEvent}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[t("el-form",{ref:"form",attrs:{"label-width":"100px","label-position":"left",size:"mini"},nativeOn:{submit:function(n){n.preventDefault()}}},[t("el-row",{attrs:{gutter:24}},[t("el-col",{staticStyle:{"text-align":"left"},attrs:{span:7}},[e._v(" "+e._s(e.$i18nt("gd.form.tableFields","\u672C\u8868\u5B57\u6BB5"))+" ")]),t("el-col",{staticStyle:{"text-align":"left"},attrs:{span:5}},[e._v(" "+e._s(e.$i18nt("gd.form.operator","\u64CD\u4F5C\u7B26"))+" ")]),t("el-col",{staticStyle:{"text-align":"left"},attrs:{span:7}},[e._v(" "+e._s(e.$i18nt("gd.form.associatedTableFields","\u5173\u8054\u8868\u5B57\u6BB5"))+" ")]),t("el-col",{staticStyle:{"text-align":"left"},attrs:{span:4}}),t("el-col",{attrs:{span:1}})],1),e._l(e.list,function(n,s){return t("div",{key:s,staticClass:"option-change-box"},[t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:7}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:"",clearable:""},on:{change:e.changeCode},model:{value:n.columnName,callback:function(a){e.$set(n,"columnName",a)},expression:"item.columnName"}},[e._l(n.loadData,function(a,i){return[a.columnname!=e.selectItem.columnName?t("el-option",{key:a.columnname,attrs:{value:a.columnname,label:e.$i18nt(`Dynamics.${a.transkey}`,a.columncomment)}},[t("EffectTypeIcon",{attrs:{effectType:a.effecttype}}),t("span",{staticStyle:{"margin-left":"4px"}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${a.transkey}`,a.columncomment))+" ("+e._s(a.columnname)+") ")])],1):e._e()]})],2)],1),t("el-col",{attrs:{span:5}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:n.operator,callback:function(a){e.$set(n,"operator",a)},expression:"item.operator"}},[t("el-option",{attrs:{value:"equal",label:e.$i18nt("gd.form.equal","\u76F8\u7B49 (equal)")}}),t("el-option",{attrs:{value:"in",label:e.$i18nt("gd.form.contain","\u5305\u542B (in)")}}),t("el-option",{attrs:{value:"like",label:e.$i18nt("gd.form.vague","\u6A21\u7CCA (like)")}})],1)],1),t("el-col",{attrs:{span:7}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),clearable:"",filterable:""},model:{value:n.fieldName,callback:function(a){e.$set(n,"fieldName",a)},expression:"item.fieldName"}},e._l(e.relationData,function(a,i){return t("el-option",{key:a.columnname,attrs:{value:a.columnname,label:e.$i18nt(`Dynamics.${a.transkey}`,a.columncomment)}},[t("EffectTypeIcon",{attrs:{effectType:a.effecttype}}),t("span",{staticStyle:{"margin-left":"4px"}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${a.transkey}`,a.columncomment))+" ("+e._s(a.columnname)+") ")])],1)}),1)],1),t("el-col",{attrs:{span:4}},[t("div",{staticClass:"bian"},[t("el-checkbox",{model:{value:n.changeEmpty,callback:function(a){e.$set(n,"changeEmpty",a)},expression:"item.changeEmpty"}},[e._v(" "+e._s(e.$i18nt("gd.form.changeEmptying","\u53D8\u5316\u6E05\u7A7A"))+" ")])],1)]),t("el-col",{attrs:{span:1}},[t("div",{staticClass:"option-delete-box",on:{click:function(a){return e.handleDelete(s)}}},[t("i",{staticClass:"el-icon-delete"})])])],1)],1)})],2),t("div",{staticClass:"add"},[t("el-button",{staticClass:"active-color",attrs:{type:"text"},on:{click:e.handleAdd}},[e._v(e._s(e.$i18nt("gd.btn.add","\u65B0\u589E")))])],1)],1)],2)],1)},u=[],f=o.normalizeComponent(m,d,u,!1,null,"6c54112e",null,null);const h=f.exports;const p={props:{selectItem:{type:Object,required:!0},loadData:{type:Array,default:()=>[]}},data(){return{width:"1000px",visible:!1,fullscreen:!1,buttons:[{displayName:"\u6E05\u7A7A",functionName:"empty",show:!0,icon:"el-icon-delete",transKey:"gd.btn.empty",btnType:"danger"},{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],confirmLoading:!1,list:[],columnName:"",ocolumnName:""}},computed:{columnNameDict(){return this.getDictionary(this.selectItem.dictTypeCode)},dictList(){let l=this.loadData.filter(t=>t.columnname===this.columnName)[0];return l===void 0?[]:this.getDictionary(l.dicttypecode)},dictData(){return this.loadData.filter(e=>e.dicttypecode&&e.columnname!==this.selectItem.columnName)},columnData(){let l=this.loadData.filter(e=>e.columnname===this.columnName)[0];return l||{}},style(){return`color:${this.primaryColor};`},...o.mapGetters(["primaryColor"])},components:{EffectTypeIcon:c.EffectTypeIcon},methods:{getDictList(l){let e=[];return this.list.forEach(n=>{n.columnValue&&n.columnValue!==l.columnValue&&e.push(n.columnValue)}),this.dictList.filter(n=>!e.includes(n.code))},selectColumnName(l){let e=this;if(this.list.length>0){this.$confirm(this.$i18nt("gd.https.changeContent","\u662F\u5426\u653E\u5F03\u66F4\u6539?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.changeOk","\u786E\u8BA4\u653E\u5F03"),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:(t,n,s)=>{if(s(),t!=="confirm"){e.columnName=e.ocolumnName;return}e.columnName=l,e.list=[],e.ocolumnName=l}});return}this.ocolumnName=l},empty(){let l=this;if(l.columnName){this.$confirm(this.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u653E\u5F03"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u786E\u8BA4\u6E05\u7A7A"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,t,n)=>{if(n(),e!=="confirm"){l.columnName=l.ocolumnName;return}l.columnName="",l.list=[],l.ocolumnName=""}});return}l.columnName="",l.list=[],l.ocolumnName=""},open(){this.visible=!0,this.fullscreen=!1;let l=this.selectItem.filter||[],e=l[0]?l[0].columnName:"";this.columnName=e,this.ocolumnName=e,this.list=l},handleDelete(l){let e=[...this.list];e.splice(l,1),this.list=[...e]},handleAdd(){let l=[...this.list],e={fieldValue:[],columnName:this.columnName,columnValue:"",changeEmpty:!0};l.push(e),this.list=[...l]},handleSubmit(){if(this.columnName!==""&&this.list.length==0){this.$message.warning(this.$i18nt("gd.field.replenishData","\u8BF7\u8865\u5145\u6570\u636E"));return}if(!this.isChecked()){this.$message.warning(this.$i18nt("gd.field.replenishData","\u8BF7\u8865\u5145\u6570\u636E"));return}this.selectItem.filter=[...this.list],this.cancel()},isChecked(){return this.list.every((l,e,t)=>l.fieldValue.length>0&&l.fieldValue!=="")},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(l){let e=l.item.functionName;this[e]&&this[e]()},getDictionary(l){return this.$options.filters.dictData(l)},cancel(){this.fullscreen=!1,this.visible=!1}}};var g=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(n){e.visible=n},closed:e.cancel}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.$i18nt("gd.form.filterFields","\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0,closed:"cancel"},on:{changeEvent:e.doEvent}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[t("el-form",{ref:"form",attrs:{"label-width":"100px","label-position":"left",size:"mini"},nativeOn:{submit:function(n){n.preventDefault()}}},[t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:8}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:"",clearable:""},on:{change:e.selectColumnName},model:{value:e.columnName,callback:function(n){e.columnName=n},expression:"columnName"}},[e._l(e.dictData,function(n,s){return[n.columnname!=e.selectItem.columnName?t("el-option",{key:n.columnname,attrs:{value:n.columnname,label:e.$i18nt(`Dynamics.${n.transkey}`,n.columncomment)}},[t("EffectTypeIcon",{attrs:{effectType:n.effecttype}}),t("span",{staticStyle:{"margin-left":"4px"}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.columncomment))+" ("+e._s(n.columnname)+") ")])],1):e._e()]})],2)],1)],1),t("el-divider"),e._l(e.list,function(n,s){return t("div",{key:s,staticClass:"option-change-box"},[t("div",[e._v(e._s(e.$i18nt("gd.form.equalVal","\u5982\u679C")))]),t("div",{staticClass:"option-tag"},[e.columnData.columnname?t("el-tag",{style:e.style,attrs:{size:"small"}},[e._v(" "+e._s(e.columnData.columnname)+" "+e._s(e.$i18nt(`Dynamics.${e.columnData.transkey}`,e.columnData.columncomment))+" ")]):t("el-tag",{attrs:{size:"small"}},[e._v("--")])],1),t("div",[e._v(e._s(e.$i18nt("gd.form.theValueIs","\u503C\u4E3A")))]),t("div",{staticClass:"option-sels"},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:n.columnValue,callback:function(a){e.$set(n,"columnValue",a)},expression:"item.columnValue"}},[e._l(e.getDictList(n),function(a,i){return[t("el-option",{attrs:{value:a.code,label:e.$i18nt(`Dynamics.${a.transkey}`,a.name)}})]})],2)],1),t("div",[e._v(e._s(e.$i18nt("gd.form.when","\u65F6\uFF0C"))+e._s(e.$i18nt("gd.form.filterVal","\u8FC7\u6EE4")))]),t("div",{staticClass:"option-sel"},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),multiple:""},model:{value:n.fieldValue,callback:function(a){e.$set(n,"fieldValue",a)},expression:"item.fieldValue"}},[e._l(e.columnNameDict,function(a,i){return[t("el-option",{attrs:{value:a.code,label:e.$i18nt(`Dynamics.${a.transkey}`,a.name)}})]})],2)],1),t("div",[e._v(e._s(e.$i18nt("gd.form.dictionaryValue","\u5B57\u5178\u503C")))]),t("div",{staticClass:"option-delete-box",on:{click:function(a){return e.handleDelete(s)}}},[t("i",{staticClass:"el-icon-delete"})])])})],2),e.columnName&&e.list.length<e.dictList.length?t("div",{staticClass:"add"},[t("el-button",{staticClass:"active-color",attrs:{type:"text"},on:{click:e.handleAdd}},[e._v(e._s(e.$i18nt("gd.btn.add","\u65B0\u589E")))])],1):e._e()],1)],2)],1)},y=[],_=o.normalizeComponent(p,g,y,!1,null,"28faaad1",null,null);const v=_.exports;const b={props:{selectItem:{type:Object,required:!0},loadData:{type:Array,default:()=>[]}},data(){return{ref:""}},computed:{getLoadData(){return this.loadData.filter(l=>l.effecttype=="about"&&l.columnname==(l.relations+"_AboutTable").toLowerCase()?!1:!(l.effecttype=="currency"&&l.columnname==(l.relations+"_Currency_Base").toLowerCase()))}},components:{FkField:h,DictField:v},methods:{setScreen(l){this.ref=l,this.$refs[l].open()},visibleChange(l){l||this.$refs[this.ref].handleSubmit()}}};var $=function(){var e=this,t=e._self._c;return t("div",[e.selectItem.effectType==="fk"||e.selectItem.effectType==="user"?[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("el-button",{attrs:{type:"primary"},on:{click:function(n){return e.setScreen("fkField")}}},[e._v(" "+e._s(e.$i18nt("gd.form.filterFields","\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5"))+" ")]),e.selectItem.fieldFiltering?e._e():t("i",{staticClass:"el-icon-warning",staticStyle:{color:"#f56c6c","font-size":"20px","margin-left":"10px","line-height":"28px"}})],1),t("FkField",{ref:"fkField",attrs:{selectItem:e.selectItem,loadData:e.getLoadData},on:{closed:function(n){return e.$emit("closed")}}})]:[t("el-button",{attrs:{type:"primary"},on:{click:function(n){return e.setScreen("dictField")}}},[e._v(" "+e._s(e.$i18nt("gd.form.filterFields","\u8BBE\u7F6E\u7B5B\u9009\u5B57\u6BB5"))+" ")]),t("DictField",{ref:"dictField",attrs:{selectItem:e.selectItem,loadData:e.getLoadData}})]],2)},D=[],N=o.normalizeComponent(b,$,D,!1,null,"7f3e5a85",null,null);const x=N.exports;exports.FieldFiltering=x;
|