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
|
@@ -1,8 +1,328 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
1
|
+
import { m as y, n as m } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { c as $ } from "./http.main.aefea27d.mjs";
|
|
3
3
|
import { e as h } from "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
-
import { s as
|
|
5
|
-
const
|
|
4
|
+
import { f, s as _ } from "./utils.util.js.333daba2.mjs";
|
|
5
|
+
const v = {
|
|
6
|
+
name: "GdEcharts",
|
|
7
|
+
props: {
|
|
8
|
+
loadData: {
|
|
9
|
+
type: Array,
|
|
10
|
+
default: () => []
|
|
11
|
+
},
|
|
12
|
+
develop: {
|
|
13
|
+
type: [Number, String],
|
|
14
|
+
default: 1
|
|
15
|
+
},
|
|
16
|
+
showTitle: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: Array,
|
|
22
|
+
default: () => []
|
|
23
|
+
},
|
|
24
|
+
left: {
|
|
25
|
+
type: [Number, String],
|
|
26
|
+
default: 10
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
components: {
|
|
30
|
+
ColumnarChart: () => Promise.resolve().then(() => E),
|
|
31
|
+
FunnelChart: () => Promise.resolve().then(() => F),
|
|
32
|
+
LineChart: () => Promise.resolve().then(() => R),
|
|
33
|
+
PieChart: () => Promise.resolve().then(() => H),
|
|
34
|
+
AmplifyEchart: () => Promise.resolve().then(() => Z)
|
|
35
|
+
},
|
|
36
|
+
data() {
|
|
37
|
+
return {
|
|
38
|
+
type: "0",
|
|
39
|
+
detail: {},
|
|
40
|
+
dataSource: [],
|
|
41
|
+
spinning: !1
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
computed: {
|
|
45
|
+
getColor() {
|
|
46
|
+
let e = [];
|
|
47
|
+
return (this.color.length === 0 ? this.echartsColor : this.color).forEach((a) => {
|
|
48
|
+
e.push(a === "0" ? this.primaryColor : a);
|
|
49
|
+
}), e;
|
|
50
|
+
},
|
|
51
|
+
...y(["echartsColor", "primaryColor"])
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
amplify() {
|
|
55
|
+
this.$refs.amplifyEchart.open(this.detail);
|
|
56
|
+
},
|
|
57
|
+
change(e) {
|
|
58
|
+
this.$emit("change", e);
|
|
59
|
+
},
|
|
60
|
+
setType() {
|
|
61
|
+
this.type = "0";
|
|
62
|
+
},
|
|
63
|
+
open(e) {
|
|
64
|
+
this.spinning = !0, this.detail = { ...e }, this.type = e.type, this.dataSource = [...e.data], this.assembly();
|
|
65
|
+
},
|
|
66
|
+
init(e) {
|
|
67
|
+
this.spinning = !0, this.detail = { ...e }, this.type = e.type, $({ pageNo: 1, pageSize: 100, tableId: e.tableId, viewId: e.viewId }).then((t) => {
|
|
68
|
+
t.success ? (this.dataSource = t.data.rows.filter((a) => a.id !== null), this.assembly()) : this.spinning = !1;
|
|
69
|
+
});
|
|
70
|
+
},
|
|
71
|
+
assembly() {
|
|
72
|
+
let e = {};
|
|
73
|
+
this.detail.mode == 1 ? e = this.getTotals() : this.detail.mode == 2 ? e = this.getGentles() : this.detail.mode == 3 ? e = this.getAverage() : this.detail.mode == 4 ? e = this.getMaximum() : this.detail.mode == 5 && (e = this.getMinimum());
|
|
74
|
+
let t = {
|
|
75
|
+
name: this.$i18nt(`Dynamics.${this.detail.transKey}`, this.detail.name),
|
|
76
|
+
count: this.dataSource.length,
|
|
77
|
+
columns: e.columns,
|
|
78
|
+
data: e.data
|
|
79
|
+
}, a = "columnarChart";
|
|
80
|
+
this.detail.type == 2 ? a = "pieChart" : this.detail.type == 3 ? a = "funnelChart" : this.detail.type == 4 && (a = "lineChart"), this.$nextTick(() => {
|
|
81
|
+
setTimeout(() => {
|
|
82
|
+
this.$refs[a].init(t), this.spinning = !1;
|
|
83
|
+
}, 0);
|
|
84
|
+
});
|
|
85
|
+
},
|
|
86
|
+
getTotals() {
|
|
87
|
+
let e = [], t = [], a = [];
|
|
88
|
+
(this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser()).forEach((i) => {
|
|
89
|
+
let n = 0;
|
|
90
|
+
this.dataSource.forEach((s) => {
|
|
91
|
+
s[this.detail.list[0].dataIndex] == i.code && (n += 1);
|
|
92
|
+
}), e.push({
|
|
93
|
+
value: n,
|
|
94
|
+
name: this.$i18nt(`Dynamics.${i.transkey}`, i.name)
|
|
95
|
+
}), t.push(this.$i18nt(`Dynamics.${i.transkey}`, i.name)), a.push(String(i.code));
|
|
96
|
+
});
|
|
97
|
+
let o = this.dataSource.filter((i) => !a.includes(String(i[this.detail.list[0].dataIndex])));
|
|
98
|
+
if (o.length > 0) {
|
|
99
|
+
let i = 0;
|
|
100
|
+
o.forEach((n) => {
|
|
101
|
+
i += 1;
|
|
102
|
+
}), e = [
|
|
103
|
+
{
|
|
104
|
+
value: i,
|
|
105
|
+
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
106
|
+
}
|
|
107
|
+
].concat(e), t = [`${this.$i18nt("gd.echarts.none"), "\u7A7A\u767D"}`].concat(t);
|
|
108
|
+
}
|
|
109
|
+
return { data: e, columns: t };
|
|
110
|
+
},
|
|
111
|
+
getGentles() {
|
|
112
|
+
let e = [], t = [], a = 2;
|
|
113
|
+
if (this.detail.columnName && this.detail.list.length === 1) {
|
|
114
|
+
let l = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), o = [], i = this.loadData.filter((s) => s.columnname == this.detail.columnName)[0];
|
|
115
|
+
a = i === void 0 ? a : i.filedsize !== null ? i.filedsize : a, l.forEach((s) => {
|
|
116
|
+
let r = 0;
|
|
117
|
+
this.dataSource.forEach((c) => {
|
|
118
|
+
if (c[this.detail.list[0].dataIndex] == s.code) {
|
|
119
|
+
let d = c[this.detail.columnName] !== null ? c[this.detail.columnName] : 0;
|
|
120
|
+
r += i.dicttypecode ? this.getDictionaryData(i.dicttypecode, c[this.detail.columnName]) : d;
|
|
121
|
+
}
|
|
122
|
+
}), e.push({
|
|
123
|
+
value: r.toString().length > a ? Number(r.toFixed(a)) : r,
|
|
124
|
+
name: this.$i18nt(`Dynamics.${s.transkey}`, s.name)
|
|
125
|
+
}), t.push(this.$i18nt(`Dynamics.${s.transkey}`, s.name)), o.push(String(s.code));
|
|
126
|
+
});
|
|
127
|
+
let n = this.dataSource.filter((s) => !o.includes(String(s[this.detail.list[0].dataIndex])));
|
|
128
|
+
if (n.length > 0) {
|
|
129
|
+
let s = 0;
|
|
130
|
+
n.forEach((r) => {
|
|
131
|
+
let c = r[this.detail.columnName] !== null ? r[this.detail.columnName] : 0;
|
|
132
|
+
s += i.dicttypecode ? this.getDictionaryData(i.dicttypecode, r[this.detail.columnName]) : c;
|
|
133
|
+
}), e = [
|
|
134
|
+
{
|
|
135
|
+
value: s,
|
|
136
|
+
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
137
|
+
}
|
|
138
|
+
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
139
|
+
}
|
|
140
|
+
} else
|
|
141
|
+
this.detail.list.forEach((l) => {
|
|
142
|
+
let o = 0, i = this.loadData.filter((n) => n.columnname == l.dataIndex)[0];
|
|
143
|
+
a = i === void 0 ? a : i.filedsize !== null ? i.filedsize : a, this.dataSource.forEach((n) => {
|
|
144
|
+
o += n[l.dataIndex] !== null && n[l.dataIndex] !== void 0 ? n[l.dataIndex] : 0;
|
|
145
|
+
}), e.push({
|
|
146
|
+
value: o.toString().length > a ? Number(o.toFixed(a)) : o,
|
|
147
|
+
name: this.$i18nt(`Dynamics.${l.transKey}`, l.columnComment)
|
|
148
|
+
}), t.push(this.$i18nt(`Dynamics.${l.transKey}`, l.columnComment));
|
|
149
|
+
});
|
|
150
|
+
return { data: e, columns: t };
|
|
151
|
+
},
|
|
152
|
+
getAverage() {
|
|
153
|
+
let e = [], t = [], a = 2;
|
|
154
|
+
if (this.detail.columnName && this.detail.list.length == 1) {
|
|
155
|
+
let l = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), o = [], i = this.loadData.filter((s) => s.columnname == this.detail.columnName)[0];
|
|
156
|
+
l.forEach((s) => {
|
|
157
|
+
let r = 0, c = 0, d = this.loadData.filter((u) => u.columnname == this.detail.columnName)[0];
|
|
158
|
+
a = d == null ? a : d.filedsize !== null ? d.filedsize : a, this.dataSource.forEach((u) => {
|
|
159
|
+
if (u[this.detail.list[0].dataIndex] == s.code) {
|
|
160
|
+
let g = u[this.detail.columnName] !== null && u[this.detail.columnName] !== void 0 ? u[this.detail.columnName] : 0;
|
|
161
|
+
r += d.dicttypecode ? this.getDictionaryData(d.dicttypecode, u[this.detail.columnName]) : g, c += 1;
|
|
162
|
+
}
|
|
163
|
+
}), e.push({
|
|
164
|
+
value: r.toString().length > a ? Number(r.toFixed(a)) : r,
|
|
165
|
+
name: this.$i18nt(`Dynamics.${s.transKey}`, s.name),
|
|
166
|
+
leg: c
|
|
167
|
+
}), t.push(this.$i18nt(`Dynamics.${s.transKey}`, s.name)), o.push(String(s.code));
|
|
168
|
+
});
|
|
169
|
+
let n = this.dataSource.filter((s) => !o.includes(String(s[this.detail.list[0].dataIndex])));
|
|
170
|
+
if (n.length > 0) {
|
|
171
|
+
let s = 0;
|
|
172
|
+
n.forEach((r) => {
|
|
173
|
+
let c = r[this.detail.columnName] !== null && r[this.detail.columnName] !== void 0 ? r[this.detail.columnName] : 0;
|
|
174
|
+
s += i.dicttypecode ? this.getDictionaryData(i.dicttypecode, r[this.detail.columnName]) : c;
|
|
175
|
+
}), e = [
|
|
176
|
+
{
|
|
177
|
+
value: s,
|
|
178
|
+
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`,
|
|
179
|
+
leg: n.length
|
|
180
|
+
}
|
|
181
|
+
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
182
|
+
}
|
|
183
|
+
} else
|
|
184
|
+
this.detail.list.forEach((l) => {
|
|
185
|
+
let o = 0, i = 0, n = this.loadData.filter((s) => s.columnname == l.dataIndex)[0];
|
|
186
|
+
a = n == null ? a : n.filedsize !== null ? n.filedsize : a, this.dataSource.forEach((s) => {
|
|
187
|
+
o += s[l.dataIndex] !== null && s[l.dataIndex] !== void 0 ? s[l.dataIndex] : 0, i += 1;
|
|
188
|
+
}), e.push({
|
|
189
|
+
value: o.toString().length > a ? Number(o.toFixed(a)) : o,
|
|
190
|
+
name: this.$i18nt(`Dynamics.${l.transKey}`, l.columnComment),
|
|
191
|
+
leg: i
|
|
192
|
+
}), t.push(this.$i18nt(`Dynamics.${l.transKey}`, l.columnComment));
|
|
193
|
+
});
|
|
194
|
+
return { data: e, columns: t };
|
|
195
|
+
},
|
|
196
|
+
getMaximum() {
|
|
197
|
+
let e = [], t = [];
|
|
198
|
+
if (this.detail.columnName && this.detail.list.length == 1) {
|
|
199
|
+
let a = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), l = [], o = this.loadData.filter((n) => n.columnname == this.detail.columnName)[0];
|
|
200
|
+
a.forEach((n) => {
|
|
201
|
+
let s = 0;
|
|
202
|
+
this.dataSource.forEach((r) => {
|
|
203
|
+
if (r[this.detail.list[0].dataIndex] == n.code) {
|
|
204
|
+
let c = r[this.detail.columnName] !== null && r[this.detail.columnName] !== void 0 ? r[this.detail.columnName] : 0;
|
|
205
|
+
c = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, r[this.detail.columnName]) : c, s = c > s ? c : s;
|
|
206
|
+
}
|
|
207
|
+
}), e.push({
|
|
208
|
+
value: s,
|
|
209
|
+
name: this.$i18nt(`Dynamics.${n.transkey}`, n.name)
|
|
210
|
+
}), t.push(this.$i18nt(`Dynamics.${n.transkey}`, n.name)), l.push(String(n.code));
|
|
211
|
+
});
|
|
212
|
+
let i = this.dataSource.filter((n) => !l.includes(String(n[this.detail.list[0].dataIndex])));
|
|
213
|
+
if (i.length > 0) {
|
|
214
|
+
let n = 0;
|
|
215
|
+
i.forEach((s) => {
|
|
216
|
+
let r = s[this.detail.columnName] !== null ? s[this.detail.columnName] : 0;
|
|
217
|
+
n = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, s[this.detail.columnName]) : r, n = r > n ? r : n;
|
|
218
|
+
}), e = [
|
|
219
|
+
{
|
|
220
|
+
value: n,
|
|
221
|
+
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
222
|
+
}
|
|
223
|
+
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
224
|
+
}
|
|
225
|
+
} else
|
|
226
|
+
this.detail.list.forEach((a) => {
|
|
227
|
+
let l = 0;
|
|
228
|
+
this.dataSource.forEach((o) => {
|
|
229
|
+
let i = o[a.dataIndex] != null ? o[a.dataIndex] : 0;
|
|
230
|
+
l = i > l ? i : l;
|
|
231
|
+
}), e.push({
|
|
232
|
+
value: l,
|
|
233
|
+
name: this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment)
|
|
234
|
+
}), t.push(this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment));
|
|
235
|
+
});
|
|
236
|
+
return { data: e, columns: t };
|
|
237
|
+
},
|
|
238
|
+
getMinimum() {
|
|
239
|
+
let e = [], t = [];
|
|
240
|
+
if (this.detail.columnName && this.detail.list.length == 1) {
|
|
241
|
+
let a = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), l = [], o = this.loadData.filter((n) => n.columnname == this.detail.columnName)[0];
|
|
242
|
+
a.forEach((n) => {
|
|
243
|
+
let s = null;
|
|
244
|
+
this.dataSource.forEach((r, c) => {
|
|
245
|
+
if (r[this.detail.list[0].dataIndex] == n.code) {
|
|
246
|
+
let d = r[this.detail.columnName] !== null ? r[this.detail.columnName] : 0;
|
|
247
|
+
d = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, r[this.detail.columnName]) : d, s = s === null || d < s ? d : s;
|
|
248
|
+
}
|
|
249
|
+
}), e.push({
|
|
250
|
+
value: s,
|
|
251
|
+
name: this.$i18nt(`Dynamics.${n.transkey}`, n.name)
|
|
252
|
+
}), t.push(this.$i18nt(`Dynamics.${n.transkey}`, n.name)), l.push(String(n.code));
|
|
253
|
+
});
|
|
254
|
+
let i = this.dataSource.filter((n) => !l.includes(String(n[this.detail.list[0].dataIndex])));
|
|
255
|
+
if (i.length > 0) {
|
|
256
|
+
let n = null;
|
|
257
|
+
i.forEach((s, r) => {
|
|
258
|
+
let c = s[this.detail.columnName] !== null && s[this.detail.columnName] !== void 0 ? s[this.detail.columnName] : 0;
|
|
259
|
+
n = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, s[this.detail.columnName]) : c, n = n === null || c < n ? c : n;
|
|
260
|
+
}), e = [
|
|
261
|
+
{
|
|
262
|
+
value: n,
|
|
263
|
+
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
264
|
+
}
|
|
265
|
+
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
266
|
+
}
|
|
267
|
+
} else
|
|
268
|
+
this.detail.list.forEach((a) => {
|
|
269
|
+
let l = null;
|
|
270
|
+
this.dataSource.forEach((o, i) => {
|
|
271
|
+
let n = o[a.dataIndex] !== null && o[a.dataIndex] !== void 0 ? o[a.dataIndex] : 0;
|
|
272
|
+
l = l === null || n < l ? n : l;
|
|
273
|
+
}), e.push({
|
|
274
|
+
value: l,
|
|
275
|
+
name: this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment)
|
|
276
|
+
}), t.push(this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment));
|
|
277
|
+
});
|
|
278
|
+
return { data: e, columns: t };
|
|
279
|
+
},
|
|
280
|
+
getUser() {
|
|
281
|
+
let e = this.duplicate(this.dataSource, this.detail.list[0].dataIndex), t = [];
|
|
282
|
+
return e.forEach((a) => {
|
|
283
|
+
let l = a[this.detail.list[0].dataIndex];
|
|
284
|
+
t.push({
|
|
285
|
+
name: l || `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`,
|
|
286
|
+
code: a[this.detail.list[0].dataIndex]
|
|
287
|
+
});
|
|
288
|
+
}), t;
|
|
289
|
+
},
|
|
290
|
+
duplicate(e, t) {
|
|
291
|
+
if (e.length == 0)
|
|
292
|
+
return e;
|
|
293
|
+
if (t) {
|
|
294
|
+
var a = {}, l = e.reduce((o, i) => (a[i[t]] || (a[i[t]] = o.push(i)), o), []);
|
|
295
|
+
return l;
|
|
296
|
+
} else
|
|
297
|
+
return Array.from(new Set(e));
|
|
298
|
+
},
|
|
299
|
+
getDictionary(e) {
|
|
300
|
+
return this.$options.filters.dictData(e);
|
|
301
|
+
},
|
|
302
|
+
getDictionaryData(e, t) {
|
|
303
|
+
let a = this.getDictionary(e).filter((l) => l.code == t)[0];
|
|
304
|
+
return a === void 0 ? 0 : Number(a.name);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
var b = function() {
|
|
309
|
+
var t = this, a = t._self._c;
|
|
310
|
+
return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.spinning, expression: "spinning" }], staticClass: "gd-echart" }, [t.type === "0" ? a("div", { staticClass: "empty" }, [a("i", { staticClass: "el-icon-receiving" }), a("div", { staticClass: "empty-err" }, [t._v(t._s(t.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])]) : t._e(), t.type == 1 ? a("ColumnarChart", { ref: "columnarChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), t.type == 2 ? a("PieChart", { ref: "pieChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), t.type == 3 ? a("FunnelChart", { ref: "funnelChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), t.type == 4 ? a("LineChart", { ref: "lineChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), a("AmplifyEchart", { ref: "amplifyEchart", attrs: { loadData: t.loadData, color: t.getColor } })], 1);
|
|
311
|
+
}, S = [], C = /* @__PURE__ */ m(
|
|
312
|
+
v,
|
|
313
|
+
b,
|
|
314
|
+
S,
|
|
315
|
+
!1,
|
|
316
|
+
null,
|
|
317
|
+
"97c8a505",
|
|
318
|
+
null,
|
|
319
|
+
null
|
|
320
|
+
);
|
|
321
|
+
const p = C.exports;
|
|
322
|
+
p.install = function(e) {
|
|
323
|
+
e.component(p.name, p);
|
|
324
|
+
};
|
|
325
|
+
const x = {
|
|
6
326
|
props: {
|
|
7
327
|
develop: {
|
|
8
328
|
type: [Number, String],
|
|
@@ -28,16 +348,16 @@ const _ = {
|
|
|
28
348
|
methods: {
|
|
29
349
|
init(e) {
|
|
30
350
|
let t = h.init(this.$refs.container), a = this.getOption(e);
|
|
31
|
-
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (
|
|
32
|
-
this.$emit("change",
|
|
351
|
+
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (l) => {
|
|
352
|
+
this.$emit("change", l);
|
|
33
353
|
});
|
|
34
354
|
},
|
|
35
355
|
getOption(e) {
|
|
36
356
|
let t = [];
|
|
37
|
-
e.data.forEach((
|
|
38
|
-
t.push(
|
|
357
|
+
e.data.forEach((i) => {
|
|
358
|
+
t.push(i.value);
|
|
39
359
|
});
|
|
40
|
-
let a = this.$i18nt(`Dynamics.${e.transKey}`, e.name),
|
|
360
|
+
let a = this.$i18nt(`Dynamics.${e.transKey}`, e.name), l = {
|
|
41
361
|
text: a ? `${a} (${this.$i18nt("gd.basics.total", "\u5171")} ${e.count} ${this.$i18nt("gd.basics.data", "\u6761\u6570\u636E")})` : `${this.$i18nt("gd.table.total", "\u5171")} ${e.count} ${this.$i18nt("gd.table.data", "\u6761\u6570\u636E")}`,
|
|
42
362
|
left: this.left,
|
|
43
363
|
textStyle: {
|
|
@@ -59,7 +379,7 @@ const _ = {
|
|
|
59
379
|
xAxis: [
|
|
60
380
|
{
|
|
61
381
|
type: "category",
|
|
62
|
-
data: e.columns.filter((
|
|
382
|
+
data: e.columns.filter((i, n) => n < 30),
|
|
63
383
|
axisTick: {
|
|
64
384
|
alignWithLabel: !0
|
|
65
385
|
},
|
|
@@ -78,7 +398,7 @@ const _ = {
|
|
|
78
398
|
{
|
|
79
399
|
type: "bar",
|
|
80
400
|
barWidth: "60%",
|
|
81
|
-
data: t.filter((
|
|
401
|
+
data: t.filter((i, n) => n < 30),
|
|
82
402
|
itemStyle: {
|
|
83
403
|
normal: {
|
|
84
404
|
label: {
|
|
@@ -87,33 +407,37 @@ const _ = {
|
|
|
87
407
|
textStyle: {
|
|
88
408
|
color: "#333",
|
|
89
409
|
fontSize: 14
|
|
90
|
-
}
|
|
410
|
+
},
|
|
411
|
+
formatter: (i) => f(i.data)
|
|
91
412
|
},
|
|
92
|
-
color: (
|
|
413
|
+
color: (i) => this.color[i.dataIndex]
|
|
93
414
|
}
|
|
94
415
|
}
|
|
95
416
|
}
|
|
96
417
|
]
|
|
97
418
|
};
|
|
98
|
-
return this.showTitle ? Object.assign(o, { title:
|
|
419
|
+
return this.showTitle ? Object.assign(o, { title: l }) : o;
|
|
99
420
|
}
|
|
100
421
|
}
|
|
101
422
|
};
|
|
102
|
-
var
|
|
423
|
+
var D = function() {
|
|
103
424
|
var t = this, a = t._self._c;
|
|
104
425
|
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
426
|
+
}, N = [], T = /* @__PURE__ */ m(
|
|
427
|
+
x,
|
|
428
|
+
D,
|
|
429
|
+
N,
|
|
109
430
|
!1,
|
|
110
431
|
null,
|
|
111
|
-
"
|
|
432
|
+
"8b6de49a",
|
|
112
433
|
null,
|
|
113
434
|
null
|
|
114
435
|
);
|
|
115
|
-
const
|
|
116
|
-
|
|
436
|
+
const w = T.exports, E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
437
|
+
__proto__: null,
|
|
438
|
+
default: w
|
|
439
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
440
|
+
const I = {
|
|
117
441
|
props: {
|
|
118
442
|
develop: {
|
|
119
443
|
type: [Number, String],
|
|
@@ -139,16 +463,16 @@ const C = {
|
|
|
139
463
|
methods: {
|
|
140
464
|
init(e) {
|
|
141
465
|
let t = h.init(this.$refs.container), a = this.getOption(e);
|
|
142
|
-
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (
|
|
143
|
-
this.$emit("change",
|
|
466
|
+
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (l) => {
|
|
467
|
+
this.$emit("change", l);
|
|
144
468
|
});
|
|
145
469
|
},
|
|
146
470
|
getOption(e) {
|
|
147
471
|
let t = 0;
|
|
148
|
-
e.data.forEach((
|
|
149
|
-
t += Number(
|
|
150
|
-
}), e.data = [
|
|
151
|
-
let a = this.$i18nt(`Dynamics.${e.transKey}`, e.name),
|
|
472
|
+
e.data.forEach((i, n) => {
|
|
473
|
+
t += Number(i.value), e.data[n].order = i.value;
|
|
474
|
+
}), e.data = [..._(e.data)];
|
|
475
|
+
let a = this.$i18nt(`Dynamics.${e.transKey}`, e.name), l = {
|
|
152
476
|
text: a ? `${a} (${this.$i18nt("gd.basics.total", "\u5171")} ${e.count} ${this.$i18nt("gd.basics.data", "\u6761\u6570\u636E")})` : `${this.$i18nt("gd.basics.total", "\u5171")} ${e.count} ${this.$i18nt("gd.basics.data", "\u6761\u6570\u636E")}`,
|
|
153
477
|
left: this.left,
|
|
154
478
|
textStyle: {
|
|
@@ -157,8 +481,9 @@ const C = {
|
|
|
157
481
|
}, o = {
|
|
158
482
|
tooltip: {
|
|
159
483
|
trigger: "item",
|
|
160
|
-
formatter: function(
|
|
161
|
-
return
|
|
484
|
+
formatter: function(i) {
|
|
485
|
+
return `${i.data.name}:\r\r${f(i.data.values)}\r
|
|
486
|
+
(${i.data.percentage}%)`;
|
|
162
487
|
}
|
|
163
488
|
},
|
|
164
489
|
color: this.color,
|
|
@@ -182,9 +507,9 @@ const C = {
|
|
|
182
507
|
gap: 1,
|
|
183
508
|
label: {
|
|
184
509
|
show: !0,
|
|
185
|
-
formatter: function(
|
|
186
|
-
return
|
|
187
|
-
|
|
510
|
+
formatter: function(i) {
|
|
511
|
+
return `${i.data.name}:\r\r${f(i.data.values)}\r
|
|
512
|
+
(${i.data.percentage}%)`;
|
|
188
513
|
}
|
|
189
514
|
},
|
|
190
515
|
labelLine: {
|
|
@@ -203,32 +528,35 @@ const C = {
|
|
|
203
528
|
fontSize: 15
|
|
204
529
|
}
|
|
205
530
|
},
|
|
206
|
-
data: e.data.map((
|
|
207
|
-
const s =
|
|
208
|
-
return
|
|
531
|
+
data: e.data.map((i, n) => {
|
|
532
|
+
const s = i.value;
|
|
533
|
+
return i.values = s, i.percentage = t === 0 ? "0" : (Number(s) / t * 1e4).toFixed(0) / 100, i.value = (1 / e.data.length * (n + 1) * 100).toFixed(0), i;
|
|
209
534
|
})
|
|
210
535
|
}
|
|
211
536
|
]
|
|
212
537
|
};
|
|
213
|
-
return this.showTitle ? Object.assign(o, { title:
|
|
538
|
+
return this.showTitle ? Object.assign(o, { title: l }) : o;
|
|
214
539
|
}
|
|
215
540
|
}
|
|
216
541
|
};
|
|
217
|
-
var
|
|
542
|
+
var z = function() {
|
|
218
543
|
var t = this, a = t._self._c;
|
|
219
544
|
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
220
|
-
},
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
545
|
+
}, O = [], k = /* @__PURE__ */ m(
|
|
546
|
+
I,
|
|
547
|
+
z,
|
|
548
|
+
O,
|
|
224
549
|
!1,
|
|
225
550
|
null,
|
|
226
|
-
"
|
|
551
|
+
"a2bba9b4",
|
|
227
552
|
null,
|
|
228
553
|
null
|
|
229
554
|
);
|
|
230
|
-
const
|
|
231
|
-
|
|
555
|
+
const A = k.exports, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
556
|
+
__proto__: null,
|
|
557
|
+
default: A
|
|
558
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
559
|
+
const K = {
|
|
232
560
|
props: {
|
|
233
561
|
develop: {
|
|
234
562
|
type: [Number, String],
|
|
@@ -254,8 +582,8 @@ const T = {
|
|
|
254
582
|
methods: {
|
|
255
583
|
init(e) {
|
|
256
584
|
let t = h.init(this.$refs.container), a = this.getOption(e);
|
|
257
|
-
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (
|
|
258
|
-
this.$emit("change",
|
|
585
|
+
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (l) => {
|
|
586
|
+
this.$emit("change", l);
|
|
259
587
|
});
|
|
260
588
|
},
|
|
261
589
|
getOption(e) {
|
|
@@ -271,7 +599,7 @@ const T = {
|
|
|
271
599
|
textStyle: {
|
|
272
600
|
fontSize: 16
|
|
273
601
|
}
|
|
274
|
-
},
|
|
602
|
+
}, l = {
|
|
275
603
|
tooltip: {
|
|
276
604
|
trigger: "axis"
|
|
277
605
|
},
|
|
@@ -292,25 +620,28 @@ const T = {
|
|
|
292
620
|
}
|
|
293
621
|
]
|
|
294
622
|
};
|
|
295
|
-
return this.showTitle ? Object.assign(
|
|
623
|
+
return this.showTitle ? Object.assign(l, { title: a }) : l;
|
|
296
624
|
}
|
|
297
625
|
}
|
|
298
626
|
};
|
|
299
|
-
var
|
|
627
|
+
var P = function() {
|
|
300
628
|
var t = this, a = t._self._c;
|
|
301
629
|
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
302
|
-
},
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
630
|
+
}, j = [], L = /* @__PURE__ */ m(
|
|
631
|
+
K,
|
|
632
|
+
P,
|
|
633
|
+
j,
|
|
306
634
|
!1,
|
|
307
635
|
null,
|
|
308
636
|
"f8a9de5c",
|
|
309
637
|
null,
|
|
310
638
|
null
|
|
311
639
|
);
|
|
312
|
-
const
|
|
313
|
-
|
|
640
|
+
const M = L.exports, R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
641
|
+
__proto__: null,
|
|
642
|
+
default: M
|
|
643
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
644
|
+
const G = {
|
|
314
645
|
props: {
|
|
315
646
|
develop: {
|
|
316
647
|
type: [Number, String],
|
|
@@ -336,8 +667,8 @@ const O = {
|
|
|
336
667
|
methods: {
|
|
337
668
|
init(e) {
|
|
338
669
|
let t = h.init(this.$refs.container), a = this.getOption(e);
|
|
339
|
-
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (
|
|
340
|
-
this.$emit("change",
|
|
670
|
+
t.clear(), t.dispose(), t = h.init(this.$refs.container), t.setOption(a), t.on("click", (l) => {
|
|
671
|
+
this.$emit("change", l);
|
|
341
672
|
});
|
|
342
673
|
},
|
|
343
674
|
getOption(e) {
|
|
@@ -353,7 +684,7 @@ const O = {
|
|
|
353
684
|
textStyle: {
|
|
354
685
|
fontSize: 16
|
|
355
686
|
}
|
|
356
|
-
},
|
|
687
|
+
}, l = {
|
|
357
688
|
tooltip: {
|
|
358
689
|
trigger: "item"
|
|
359
690
|
},
|
|
@@ -378,8 +709,8 @@ const O = {
|
|
|
378
709
|
fontSize: 14,
|
|
379
710
|
lineHeight: 20
|
|
380
711
|
},
|
|
381
|
-
formatter:
|
|
382
|
-
({
|
|
712
|
+
formatter: (o) => `${o.name}:\r\r${f(o.value)}\r
|
|
713
|
+
(${o.percent}%)`
|
|
383
714
|
},
|
|
384
715
|
itemStyle: {
|
|
385
716
|
borderRadius: 2
|
|
@@ -387,25 +718,28 @@ const O = {
|
|
|
387
718
|
}
|
|
388
719
|
]
|
|
389
720
|
};
|
|
390
|
-
return this.showTitle ? Object.assign(
|
|
721
|
+
return this.showTitle ? Object.assign(l, { title: a }) : l;
|
|
391
722
|
}
|
|
392
723
|
}
|
|
393
724
|
};
|
|
394
|
-
var
|
|
725
|
+
var U = function() {
|
|
395
726
|
var t = this, a = t._self._c;
|
|
396
727
|
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
397
|
-
},
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
728
|
+
}, B = [], W = /* @__PURE__ */ m(
|
|
729
|
+
G,
|
|
730
|
+
U,
|
|
731
|
+
B,
|
|
401
732
|
!1,
|
|
402
733
|
null,
|
|
403
|
-
"
|
|
734
|
+
"4f2b1bb6",
|
|
404
735
|
null,
|
|
405
736
|
null
|
|
406
737
|
);
|
|
407
|
-
const
|
|
408
|
-
|
|
738
|
+
const V = W.exports, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
739
|
+
__proto__: null,
|
|
740
|
+
default: V
|
|
741
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
742
|
+
const q = {
|
|
409
743
|
props: {
|
|
410
744
|
loadData: {
|
|
411
745
|
type: Array,
|
|
@@ -453,342 +787,25 @@ const G = {
|
|
|
453
787
|
}
|
|
454
788
|
}
|
|
455
789
|
};
|
|
456
|
-
var
|
|
790
|
+
var J = function() {
|
|
457
791
|
var t = this, a = t._self._c;
|
|
458
|
-
return a("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(
|
|
459
|
-
t.visible =
|
|
792
|
+
return a("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(l) {
|
|
793
|
+
t.visible = l;
|
|
460
794
|
}, closed: t.closed } }, [a("gd-modal-title", { attrs: { slot: "title", title: "", fullscreen: t.fullscreen, buttons: [], confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "generator-form" }, [a("gd-echarts", { ref: "VEcharts", attrs: { loadData: t.loadData, color: t.color, left: t.left } })], 1)], 1);
|
|
461
|
-
},
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
795
|
+
}, Q = [], X = /* @__PURE__ */ m(
|
|
796
|
+
q,
|
|
797
|
+
J,
|
|
798
|
+
Q,
|
|
465
799
|
!1,
|
|
466
800
|
null,
|
|
467
801
|
"bb8cc0bf",
|
|
468
802
|
null,
|
|
469
803
|
null
|
|
470
804
|
);
|
|
471
|
-
const
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
loadData: {
|
|
476
|
-
type: Array,
|
|
477
|
-
default: () => []
|
|
478
|
-
},
|
|
479
|
-
develop: {
|
|
480
|
-
type: [Number, String],
|
|
481
|
-
default: 1
|
|
482
|
-
},
|
|
483
|
-
showTitle: {
|
|
484
|
-
type: Boolean,
|
|
485
|
-
default: !0
|
|
486
|
-
},
|
|
487
|
-
color: {
|
|
488
|
-
type: Array,
|
|
489
|
-
default: () => []
|
|
490
|
-
},
|
|
491
|
-
left: {
|
|
492
|
-
type: [Number, String],
|
|
493
|
-
default: 10
|
|
494
|
-
}
|
|
495
|
-
},
|
|
496
|
-
components: {
|
|
497
|
-
ColumnarChart: S,
|
|
498
|
-
FunnelChart: E,
|
|
499
|
-
LineChart: A,
|
|
500
|
-
PieChart: R,
|
|
501
|
-
AmplifyEchart: P
|
|
502
|
-
},
|
|
503
|
-
data() {
|
|
504
|
-
return {
|
|
505
|
-
type: "0",
|
|
506
|
-
detail: {},
|
|
507
|
-
dataSource: [],
|
|
508
|
-
spinning: !1
|
|
509
|
-
};
|
|
510
|
-
},
|
|
511
|
-
computed: {
|
|
512
|
-
getColor() {
|
|
513
|
-
let e = [];
|
|
514
|
-
return (this.color.length === 0 ? this.echartsColor : this.color).forEach((a) => {
|
|
515
|
-
e.push(a === "0" ? this.primaryColor : a);
|
|
516
|
-
}), e;
|
|
517
|
-
},
|
|
518
|
-
...g(["echartsColor", "primaryColor"])
|
|
519
|
-
},
|
|
520
|
-
methods: {
|
|
521
|
-
amplify() {
|
|
522
|
-
this.$refs.amplifyEchart.open(this.detail);
|
|
523
|
-
},
|
|
524
|
-
change(e) {
|
|
525
|
-
this.$emit("change", e);
|
|
526
|
-
},
|
|
527
|
-
setType() {
|
|
528
|
-
this.type = "0";
|
|
529
|
-
},
|
|
530
|
-
open(e) {
|
|
531
|
-
this.spinning = !0, this.detail = { ...e }, this.type = e.type, this.dataSource = [...e.data], this.assembly();
|
|
532
|
-
},
|
|
533
|
-
init(e) {
|
|
534
|
-
this.spinning = !0, this.detail = { ...e }, this.type = e.type, y({ pageNo: 1, pageSize: 100, tableId: e.tableId, viewId: e.viewId }).then((t) => {
|
|
535
|
-
t.success ? (this.dataSource = t.data.rows.filter((a) => a.id !== null), this.assembly()) : this.spinning = !1;
|
|
536
|
-
});
|
|
537
|
-
},
|
|
538
|
-
assembly() {
|
|
539
|
-
let e = {};
|
|
540
|
-
this.detail.mode == 1 ? e = this.getTotals() : this.detail.mode == 2 ? e = this.getGentles() : this.detail.mode == 3 ? e = this.getAverage() : this.detail.mode == 4 ? e = this.getMaximum() : this.detail.mode == 5 && (e = this.getMinimum());
|
|
541
|
-
let t = {
|
|
542
|
-
name: this.$i18nt(`Dynamics.${this.detail.transKey}`, this.detail.name),
|
|
543
|
-
count: this.dataSource.length,
|
|
544
|
-
columns: e.columns,
|
|
545
|
-
data: e.data
|
|
546
|
-
}, a = "columnarChart";
|
|
547
|
-
this.detail.type == 2 ? a = "pieChart" : this.detail.type == 3 ? a = "funnelChart" : this.detail.type == 4 && (a = "lineChart"), this.$nextTick(() => {
|
|
548
|
-
setTimeout(() => {
|
|
549
|
-
this.$refs[a].init(t), this.spinning = !1;
|
|
550
|
-
}, 0);
|
|
551
|
-
});
|
|
552
|
-
},
|
|
553
|
-
getTotals() {
|
|
554
|
-
let e = [], t = [], a = [];
|
|
555
|
-
(this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser()).forEach((l) => {
|
|
556
|
-
let i = 0;
|
|
557
|
-
this.dataSource.forEach((s) => {
|
|
558
|
-
s[this.detail.list[0].dataIndex] == l.code && (i += 1);
|
|
559
|
-
}), e.push({
|
|
560
|
-
value: i,
|
|
561
|
-
name: this.$i18nt(`Dynamics.${l.transkey}`, l.name)
|
|
562
|
-
}), t.push(this.$i18nt(`Dynamics.${l.transkey}`, l.name)), a.push(String(l.code));
|
|
563
|
-
});
|
|
564
|
-
let o = this.dataSource.filter((l) => !a.includes(String(l[this.detail.list[0].dataIndex])));
|
|
565
|
-
if (o.length > 0) {
|
|
566
|
-
let l = 0;
|
|
567
|
-
o.forEach((i) => {
|
|
568
|
-
l += 1;
|
|
569
|
-
}), e = [
|
|
570
|
-
{
|
|
571
|
-
value: l,
|
|
572
|
-
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
573
|
-
}
|
|
574
|
-
].concat(e), t = [`${this.$i18nt("gd.echarts.none"), "\u7A7A\u767D"}`].concat(t);
|
|
575
|
-
}
|
|
576
|
-
return { data: e, columns: t };
|
|
577
|
-
},
|
|
578
|
-
getGentles() {
|
|
579
|
-
let e = [], t = [], a = 2;
|
|
580
|
-
if (this.detail.columnName && this.detail.list.length === 1) {
|
|
581
|
-
let n = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), o = [], l = this.loadData.filter((s) => s.columnname == this.detail.columnName)[0];
|
|
582
|
-
a = l === void 0 ? a : l.filedsize !== null ? l.filedsize : a, n.forEach((s) => {
|
|
583
|
-
let r = 0;
|
|
584
|
-
this.dataSource.forEach((c) => {
|
|
585
|
-
if (c[this.detail.list[0].dataIndex] == s.code) {
|
|
586
|
-
let d = c[this.detail.columnName] !== null ? c[this.detail.columnName] : 0;
|
|
587
|
-
r += l.dicttypecode ? this.getDictionaryData(l.dicttypecode, c[this.detail.columnName]) : d;
|
|
588
|
-
}
|
|
589
|
-
}), e.push({
|
|
590
|
-
value: r.toString().length > a ? Number(r.toFixed(a)) : r,
|
|
591
|
-
name: this.$i18nt(`Dynamics.${s.transkey}`, s.name)
|
|
592
|
-
}), t.push(this.$i18nt(`Dynamics.${s.transkey}`, s.name)), o.push(String(s.code));
|
|
593
|
-
});
|
|
594
|
-
let i = this.dataSource.filter((s) => !o.includes(String(s[this.detail.list[0].dataIndex])));
|
|
595
|
-
if (i.length > 0) {
|
|
596
|
-
let s = 0;
|
|
597
|
-
i.forEach((r) => {
|
|
598
|
-
let c = r[this.detail.columnName] !== null ? r[this.detail.columnName] : 0;
|
|
599
|
-
s += l.dicttypecode ? this.getDictionaryData(l.dicttypecode, r[this.detail.columnName]) : c;
|
|
600
|
-
}), e = [
|
|
601
|
-
{
|
|
602
|
-
value: s,
|
|
603
|
-
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
604
|
-
}
|
|
605
|
-
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
606
|
-
}
|
|
607
|
-
} else
|
|
608
|
-
this.detail.list.forEach((n) => {
|
|
609
|
-
let o = 0, l = this.loadData.filter((i) => i.columnname == n.dataIndex)[0];
|
|
610
|
-
a = l === void 0 ? a : l.filedsize !== null ? l.filedsize : a, this.dataSource.forEach((i) => {
|
|
611
|
-
o += i[n.dataIndex] !== null && i[n.dataIndex] !== void 0 ? i[n.dataIndex] : 0;
|
|
612
|
-
}), e.push({
|
|
613
|
-
value: o.toString().length > a ? Number(o.toFixed(a)) : o,
|
|
614
|
-
name: this.$i18nt(`Dynamics.${n.transKey}`, n.columnComment)
|
|
615
|
-
}), t.push(this.$i18nt(`Dynamics.${n.transKey}`, n.columnComment));
|
|
616
|
-
});
|
|
617
|
-
return { data: e, columns: t };
|
|
618
|
-
},
|
|
619
|
-
getAverage() {
|
|
620
|
-
let e = [], t = [], a = 2;
|
|
621
|
-
if (this.detail.columnName && this.detail.list.length == 1) {
|
|
622
|
-
let n = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), o = [], l = this.loadData.filter((s) => s.columnname == this.detail.columnName)[0];
|
|
623
|
-
n.forEach((s) => {
|
|
624
|
-
let r = 0, c = 0, d = this.loadData.filter((u) => u.columnname == this.detail.columnName)[0];
|
|
625
|
-
a = d == null ? a : d.filedsize !== null ? d.filedsize : a, this.dataSource.forEach((u) => {
|
|
626
|
-
if (u[this.detail.list[0].dataIndex] == s.code) {
|
|
627
|
-
let p = u[this.detail.columnName] !== null && u[this.detail.columnName] !== void 0 ? u[this.detail.columnName] : 0;
|
|
628
|
-
r += d.dicttypecode ? this.getDictionaryData(d.dicttypecode, u[this.detail.columnName]) : p, c += 1;
|
|
629
|
-
}
|
|
630
|
-
}), e.push({
|
|
631
|
-
value: r.toString().length > a ? Number(r.toFixed(a)) : r,
|
|
632
|
-
name: this.$i18nt(`Dynamics.${s.transKey}`, s.name),
|
|
633
|
-
leg: c
|
|
634
|
-
}), t.push(this.$i18nt(`Dynamics.${s.transKey}`, s.name)), o.push(String(s.code));
|
|
635
|
-
});
|
|
636
|
-
let i = this.dataSource.filter((s) => !o.includes(String(s[this.detail.list[0].dataIndex])));
|
|
637
|
-
if (i.length > 0) {
|
|
638
|
-
let s = 0;
|
|
639
|
-
i.forEach((r) => {
|
|
640
|
-
let c = r[this.detail.columnName] !== null && r[this.detail.columnName] !== void 0 ? r[this.detail.columnName] : 0;
|
|
641
|
-
s += l.dicttypecode ? this.getDictionaryData(l.dicttypecode, r[this.detail.columnName]) : c;
|
|
642
|
-
}), e = [
|
|
643
|
-
{
|
|
644
|
-
value: s,
|
|
645
|
-
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`,
|
|
646
|
-
leg: i.length
|
|
647
|
-
}
|
|
648
|
-
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
649
|
-
}
|
|
650
|
-
} else
|
|
651
|
-
this.detail.list.forEach((n) => {
|
|
652
|
-
let o = 0, l = 0, i = this.loadData.filter((s) => s.columnname == n.dataIndex)[0];
|
|
653
|
-
a = i == null ? a : i.filedsize !== null ? i.filedsize : a, this.dataSource.forEach((s) => {
|
|
654
|
-
o += s[n.dataIndex] !== null && s[n.dataIndex] !== void 0 ? s[n.dataIndex] : 0, l += 1;
|
|
655
|
-
}), e.push({
|
|
656
|
-
value: o.toString().length > a ? Number(o.toFixed(a)) : o,
|
|
657
|
-
name: this.$i18nt(`Dynamics.${n.transKey}`, n.columnComment),
|
|
658
|
-
leg: l
|
|
659
|
-
}), t.push(this.$i18nt(`Dynamics.${n.transKey}`, n.columnComment));
|
|
660
|
-
});
|
|
661
|
-
return { data: e, columns: t };
|
|
662
|
-
},
|
|
663
|
-
getMaximum() {
|
|
664
|
-
let e = [], t = [];
|
|
665
|
-
if (this.detail.columnName && this.detail.list.length == 1) {
|
|
666
|
-
let a = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), n = [], o = this.loadData.filter((i) => i.columnname == this.detail.columnName)[0];
|
|
667
|
-
a.forEach((i) => {
|
|
668
|
-
let s = 0;
|
|
669
|
-
this.dataSource.forEach((r) => {
|
|
670
|
-
if (r[this.detail.list[0].dataIndex] == i.code) {
|
|
671
|
-
let c = r[this.detail.columnName] !== null && r[this.detail.columnName] !== void 0 ? r[this.detail.columnName] : 0;
|
|
672
|
-
c = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, r[this.detail.columnName]) : c, s = c > s ? c : s;
|
|
673
|
-
}
|
|
674
|
-
}), e.push({
|
|
675
|
-
value: s,
|
|
676
|
-
name: this.$i18nt(`Dynamics.${i.transkey}`, i.name)
|
|
677
|
-
}), t.push(this.$i18nt(`Dynamics.${i.transkey}`, i.name)), n.push(String(i.code));
|
|
678
|
-
});
|
|
679
|
-
let l = this.dataSource.filter((i) => !n.includes(String(i[this.detail.list[0].dataIndex])));
|
|
680
|
-
if (l.length > 0) {
|
|
681
|
-
let i = 0;
|
|
682
|
-
l.forEach((s) => {
|
|
683
|
-
let r = s[this.detail.columnName] !== null ? s[this.detail.columnName] : 0;
|
|
684
|
-
i = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, s[this.detail.columnName]) : r, i = r > i ? r : i;
|
|
685
|
-
}), e = [
|
|
686
|
-
{
|
|
687
|
-
value: i,
|
|
688
|
-
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
689
|
-
}
|
|
690
|
-
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
691
|
-
}
|
|
692
|
-
} else
|
|
693
|
-
this.detail.list.forEach((a) => {
|
|
694
|
-
let n = 0;
|
|
695
|
-
this.dataSource.forEach((o) => {
|
|
696
|
-
let l = o[a.dataIndex] != null ? o[a.dataIndex] : 0;
|
|
697
|
-
n = l > n ? l : n;
|
|
698
|
-
}), e.push({
|
|
699
|
-
value: n,
|
|
700
|
-
name: this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment)
|
|
701
|
-
}), t.push(this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment));
|
|
702
|
-
});
|
|
703
|
-
return { data: e, columns: t };
|
|
704
|
-
},
|
|
705
|
-
getMinimum() {
|
|
706
|
-
let e = [], t = [];
|
|
707
|
-
if (this.detail.columnName && this.detail.list.length == 1) {
|
|
708
|
-
let a = this.detail.list[0].dictTypeCode ? this.getDictionary(this.detail.list[0].dictTypeCode) : this.getUser(), n = [], o = this.loadData.filter((i) => i.columnname == this.detail.columnName)[0];
|
|
709
|
-
a.forEach((i) => {
|
|
710
|
-
let s = null;
|
|
711
|
-
this.dataSource.forEach((r, c) => {
|
|
712
|
-
if (r[this.detail.list[0].dataIndex] == i.code) {
|
|
713
|
-
let d = r[this.detail.columnName] !== null ? r[this.detail.columnName] : 0;
|
|
714
|
-
d = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, r[this.detail.columnName]) : d, s = s === null || d < s ? d : s;
|
|
715
|
-
}
|
|
716
|
-
}), e.push({
|
|
717
|
-
value: s,
|
|
718
|
-
name: this.$i18nt(`Dynamics.${i.transkey}`, i.name)
|
|
719
|
-
}), t.push(this.$i18nt(`Dynamics.${i.transkey}`, i.name)), n.push(String(i.code));
|
|
720
|
-
});
|
|
721
|
-
let l = this.dataSource.filter((i) => !n.includes(String(i[this.detail.list[0].dataIndex])));
|
|
722
|
-
if (l.length > 0) {
|
|
723
|
-
let i = null;
|
|
724
|
-
l.forEach((s, r) => {
|
|
725
|
-
let c = s[this.detail.columnName] !== null && s[this.detail.columnName] !== void 0 ? s[this.detail.columnName] : 0;
|
|
726
|
-
i = o.dicttypecode ? this.getDictionaryData(o.dicttypecode, s[this.detail.columnName]) : c, i = i === null || c < i ? c : i;
|
|
727
|
-
}), e = [
|
|
728
|
-
{
|
|
729
|
-
value: i,
|
|
730
|
-
name: `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`
|
|
731
|
-
}
|
|
732
|
-
].concat(e), t = [`${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`].concat(t);
|
|
733
|
-
}
|
|
734
|
-
} else
|
|
735
|
-
this.detail.list.forEach((a) => {
|
|
736
|
-
let n = null;
|
|
737
|
-
this.dataSource.forEach((o, l) => {
|
|
738
|
-
let i = o[a.dataIndex] !== null && o[a.dataIndex] !== void 0 ? o[a.dataIndex] : 0;
|
|
739
|
-
n = n === null || i < n ? i : n;
|
|
740
|
-
}), e.push({
|
|
741
|
-
value: n,
|
|
742
|
-
name: this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment)
|
|
743
|
-
}), t.push(this.$i18nt(`Dynamics.${a.transKey}`, a.columnComment));
|
|
744
|
-
});
|
|
745
|
-
return { data: e, columns: t };
|
|
746
|
-
},
|
|
747
|
-
getUser() {
|
|
748
|
-
let e = this.duplicate(this.dataSource, this.detail.list[0].dataIndex), t = [];
|
|
749
|
-
return e.forEach((a) => {
|
|
750
|
-
let n = a[this.detail.list[0].dataIndex];
|
|
751
|
-
t.push({
|
|
752
|
-
name: n || `${this.$i18nt("gd.echarts.none", "\u7A7A\u767D")}`,
|
|
753
|
-
code: a[this.detail.list[0].dataIndex]
|
|
754
|
-
});
|
|
755
|
-
}), t;
|
|
756
|
-
},
|
|
757
|
-
duplicate(e, t) {
|
|
758
|
-
if (e.length == 0)
|
|
759
|
-
return e;
|
|
760
|
-
if (t) {
|
|
761
|
-
var a = {}, n = e.reduce((o, l) => (a[l[t]] || (a[l[t]] = o.push(l)), o), []);
|
|
762
|
-
return n;
|
|
763
|
-
} else
|
|
764
|
-
return Array.from(new Set(e));
|
|
765
|
-
},
|
|
766
|
-
getDictionary(e) {
|
|
767
|
-
return this.$options.filters.dictData(e);
|
|
768
|
-
},
|
|
769
|
-
getDictionaryData(e, t) {
|
|
770
|
-
let a = this.getDictionary(e).filter((n) => n.code == t)[0];
|
|
771
|
-
return a === void 0 ? 0 : Number(a.name);
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
};
|
|
775
|
-
var j = function() {
|
|
776
|
-
var t = this, a = t._self._c;
|
|
777
|
-
return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.spinning, expression: "spinning" }], staticClass: "gd-echart" }, [t.type === "0" ? a("div", { staticClass: "empty" }, [a("i", { staticClass: "el-icon-receiving" }), a("div", { staticClass: "empty-err" }, [t._v(t._s(t.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])]) : t._e(), t.type == 1 ? a("ColumnarChart", { ref: "columnarChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), t.type == 2 ? a("PieChart", { ref: "pieChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), t.type == 3 ? a("FunnelChart", { ref: "funnelChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), t.type == 4 ? a("LineChart", { ref: "lineChart", attrs: { develop: t.develop, color: t.getColor, showTitle: t.showTitle, left: t.left }, on: { change: t.change } }) : t._e(), a("AmplifyEchart", { ref: "amplifyEchart", attrs: { loadData: t.loadData, color: t.getColor } })], 1);
|
|
778
|
-
}, V = [], H = /* @__PURE__ */ m(
|
|
779
|
-
W,
|
|
780
|
-
j,
|
|
781
|
-
V,
|
|
782
|
-
!1,
|
|
783
|
-
null,
|
|
784
|
-
"11a80d1f",
|
|
785
|
-
null,
|
|
786
|
-
null
|
|
787
|
-
);
|
|
788
|
-
const f = H.exports;
|
|
789
|
-
f.install = function(e) {
|
|
790
|
-
e.component(f.name, f);
|
|
791
|
-
};
|
|
805
|
+
const Y = X.exports, Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
806
|
+
__proto__: null,
|
|
807
|
+
default: Y
|
|
808
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
792
809
|
export {
|
|
793
|
-
|
|
810
|
+
p as G
|
|
794
811
|
};
|