gds-plus-design-vue 1.2.62 → 1.2.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.5036013c.js +1 -0
- package/lib/addPermission.9fc97a47.mjs +421 -0
- package/lib/approvalModel.51d07afe.mjs +340 -0
- package/lib/approvalModel.66f49dfb.js +1 -0
- package/lib/attribute.318f485c.js +1 -0
- package/lib/attribute.a06ac9e7.mjs +237 -0
- package/lib/buildItem.6a834227.js +1 -0
- package/lib/buildItem.fd8634ab.mjs +205 -0
- package/lib/businessRules.0e4dbb3a.js +1 -0
- package/lib/businessRules.db6ba874.mjs +538 -0
- package/lib/components.chartbi.b043dcdc.mjs +1729 -0
- package/lib/components.chartbi.e4680eaa.js +7 -0
- package/lib/components.coloreditor.044983d2.mjs +1505 -0
- package/lib/components.coloreditor.779a9419.js +6 -0
- package/lib/components.dataassign.1853ed5c.js +1 -0
- package/lib/components.dataassign.56632583.mjs +147 -0
- package/lib/components.echarts.10d3ffe2.mjs +794 -0
- package/lib/components.echarts.e4d6b13e.js +3 -0
- package/lib/components.exception.3cc33e29.js +1 -0
- package/lib/components.exception.cc2f4ca3.mjs +61 -0
- package/lib/components.form.3344c817.mjs +7785 -0
- package/lib/components.form.91d5ed3e.js +41 -0
- package/lib/components.globalheader.07a90c4b.js +1 -0
- package/lib/components.globalheader.43fafa8c.mjs +54 -0
- package/lib/components.iconselector.8caabeaa.mjs +1165 -0
- package/lib/components.iconselector.d712170f.js +1 -0
- package/lib/components.imgpreview.57290b54.mjs +213 -0
- package/lib/components.imgpreview.86bf7971.js +1 -0
- package/lib/components.lunccalendar.76159d2e.js +1 -0
- package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
- package/lib/components.middleware.3bad5748.js +1 -0
- package/lib/components.middleware.457b1182.mjs +147 -0
- package/lib/components.modaltitle.ae92f96c.mjs +127 -0
- package/lib/components.modaltitle.e0b34fcb.js +1 -0
- package/lib/components.multitab.82fd0544.js +1 -0
- package/lib/components.multitab.8441aa6b.mjs +140 -0
- package/lib/components.selecttree.85d940a9.mjs +170 -0
- package/lib/components.selecttree.d710a362.js +1 -0
- package/lib/components.settingdrawer.779f6715.js +1 -0
- package/lib/components.settingdrawer.a6693034.mjs +237 -0
- package/lib/components.sidemenu.725677e3.mjs +277 -0
- package/lib/components.sidemenu.80e46c2d.js +1 -0
- package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
- package/lib/components.sidenavmenu.b9bb9304.js +1 -0
- package/lib/components.statuschange.15938660.mjs +116 -0
- package/lib/components.statuschange.ed1218a4.js +1 -0
- package/lib/components.table.17c02054.js +8 -0
- package/lib/components.table.e3e5e3bc.mjs +4635 -0
- package/lib/components.tableumy.2f5dfa12.mjs +450 -0
- package/lib/components.tableumy.9cf33062.js +1 -0
- package/lib/components.tablevirtual.38d4d3d8.js +1 -0
- package/lib/components.tablevirtual.ba03746e.mjs +561 -0
- package/lib/components.teamsharing.05503821.js +1 -0
- package/lib/components.teamsharing.fb4351ec.mjs +373 -0
- package/lib/components.tooltip.950dc77b.mjs +86 -0
- package/lib/components.tooltip.a05d8dd1.js +1 -0
- package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
- package/lib/components.uploadfile.5a9b6cc1.js +1 -0
- package/lib/components.uploadimg.cce7452a.js +1 -0
- package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
- package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
- package/lib/components.verificationcode.d1946db4.js +1 -0
- package/lib/components.viewformdetails.1621bc18.js +1 -0
- package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
- package/lib/components.viewloading.807bbf68.js +1 -0
- package/lib/components.viewloading.ea40b244.mjs +96 -0
- package/lib/components.watermark.1ffc66e0.mjs +53 -0
- package/lib/components.watermark.da3d7220.js +2 -0
- package/lib/components.xlsxexport.d98572f8.mjs +263 -0
- package/lib/components.xlsxexport.f5ace2cd.js +1 -0
- package/lib/components.xlsximport.cffa88fe.mjs +913 -0
- package/lib/components.xlsximport.dbd826bb.js +1 -0
- package/lib/createFile.6b37ecf2.js +1 -0
- package/lib/createFile.82d6e415.mjs +239 -0
- package/lib/createSubfolders.47af629c.js +1 -0
- package/lib/createSubfolders.d35b97e9.mjs +154 -0
- package/lib/dialogLayout.08823bb7.js +1 -0
- package/lib/dialogLayout.c4bc3b55.mjs +138 -0
- package/lib/drawerContainer.604a1271.mjs +146 -0
- package/lib/drawerContainer.6a9813ce.js +1 -0
- package/lib/drawerLayout.36cf4d05.js +1 -0
- package/lib/drawerLayout.fb60950f.mjs +119 -0
- package/lib/fileSearch.65311ded.js +1 -0
- package/lib/fileSearch.86c356fe.mjs +338 -0
- package/lib/flow.designer.1ba3a90d.js +1 -0
- package/lib/flow.designer.6da03949.mjs +7686 -0
- package/lib/flow.list.03694808.mjs +3030 -0
- package/lib/flow.list.4eb10554.js +1 -0
- package/lib/form.build.51bd261e.js +1 -0
- package/lib/form.build.b768d613.mjs +251 -0
- package/lib/form.designer.build.5a950455.js +1 -0
- package/lib/form.designer.build.e521c9c6.mjs +5091 -0
- package/lib/formFiled.464856f5.js +1 -0
- package/lib/formFiled.fe7d9df3.mjs +505 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +221 -91338
- package/lib/http.appmanage.4554a629.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
- package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.77c69971.mjs +50 -0
- package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.7c656b91.js +1 -0
- package/lib/http.filedocument.d456d26a.mjs +156 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.40657f51.mjs +517 -0
- package/lib/http.menumanage.3240ba0d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.5004bf60.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.orgmanage.84e43edb.mjs +58 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.rolemanage.03363732.js +1 -0
- package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
- package/lib/http.solution.175d36c8.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.608a06d6.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.e294ceaf.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.1d370398.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.c8487c0b.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.a4640c9a.mjs +104 -0
- package/lib/http.useraffiliation.840741ed.mjs +90 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.usermanage.3e5eff33.mjs +219 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.webresource.5158b431.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.69ad4631.mjs +44291 -0
- package/lib/index.cca024bf.js +8 -0
- package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
- package/lib/layoutBlocks.5e6be06f.js +1 -0
- package/lib/layouts.051a0bba.mjs +376 -0
- package/lib/layouts.a6a36612.js +2 -0
- package/lib/main.457f4326.js +1 -0
- package/lib/main.4fff412e.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
- package/lib/main.c3726602.js +1 -0
- package/lib/manage.5bb4f719.js +1 -0
- package/lib/manage.a1df9b88.mjs +419 -0
- package/lib/messages.7b74736f.js +9 -0
- package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
- package/lib/moveFile.0ce803e0.js +1 -0
- package/lib/moveFile.8310ea94.mjs +254 -0
- package/lib/page.build.685c1e15.mjs +3158 -0
- package/lib/page.build.846096e6.js +12 -0
- package/lib/personal.echarts.b22fba61.mjs +701 -0
- package/lib/personal.echarts.f77bfc9e.js +1 -0
- package/lib/result.19351665.mjs +526 -0
- package/lib/result.e59c0e40.js +1 -0
- package/lib/router.config.2501ec51.js +1 -0
- package/lib/router.config.98a73167.mjs +3172 -0
- package/lib/solution.58580123.js +1 -0
- package/lib/solution.890ff164.mjs +6942 -0
- package/lib/store.config.3cb11578.js +1 -0
- package/lib/store.config.fff8a5a1.mjs +542 -0
- package/lib/style.css +3 -3
- package/lib/system.account.014f3e0b.mjs +2097 -0
- package/lib/system.account.0d4f1fdc.js +216 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
- package/lib/system.config.210f516c.js +1 -0
- package/lib/system.datasource.82492d27.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
- package/lib/system.dict.f5708400.js +1 -0
- package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
- package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
- package/lib/system.email.070ab2be.js +1 -0
- package/lib/system.email.252fd642.mjs +138 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
- package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
- package/lib/system.file.17a7f2ed.js +1 -0
- package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
- package/lib/system.onlineuser.e2e39bdc.js +1 -0
- package/lib/system.org.79ee5bd6.js +1 -0
- package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
- package/lib/system.plugin.b34a3b47.js +1 -0
- package/lib/system.pos.0a3d2a37.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
- package/lib/system.sumberrules.bb228fce.js +1 -0
- package/lib/system.team.32183b63.js +1 -0
- package/lib/system.team.e6a9608e.mjs +450 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
- package/lib/system.teammembers.847d8ea7.js +1 -0
- package/lib/system.timers.28691ce4.js +38 -0
- package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
- package/lib/system.useraffiliation.7547b9c7.js +1 -0
- package/lib/system.webresource.12712b90.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
- package/lib/system.welcome.f64e49f8.js +1 -0
- package/lib/tcheckboxs.090e75eb.mjs +52 -0
- package/lib/tcheckboxs.99361be3.js +1 -0
- package/lib/tcurrency.0ddac2f8.mjs +92 -0
- package/lib/tcurrency.62763c6d.js +1 -0
- package/lib/tdatepicker.8fe48b1b.mjs +52 -0
- package/lib/tdatepicker.b19e689d.js +1 -0
- package/lib/tdictSwitch.2e07dc8a.js +1 -0
- package/lib/tdictSwitch.43d882c7.mjs +60 -0
- package/lib/tfile.1bc381f9.js +1 -0
- package/lib/tfile.72925615.mjs +62 -0
- package/lib/tparticipants.77b876e2.js +1 -0
- package/lib/tparticipants.ca5b556c.mjs +56 -0
- package/lib/translation.mains.1ce7e110.js +1 -0
- package/lib/translation.mains.278e4ba6.mjs +383 -0
- package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
- package/lib/utils.datepicker.js.8576e2fc.js +1 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.util.js.50d1ec9c.js +1 -0
- package/lib/utils.util.js.82cd8447.mjs +424 -0
- package/lib/view.build.b44fd7d7.js +1 -0
- package/lib/view.build.f2a9fcfb.mjs +2727 -0
- package/lib/viewList.5a25c4b6.mjs +346 -0
- package/lib/viewList.be5a5ec5.js +1 -0
- package/locale/en_US.js +38 -22
- package/locale/id_ID.js +22 -6
- package/locale/vi_VN.js +1929 -1913
- package/locale/zh_CN.js +44 -28
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,794 @@
|
|
|
1
|
+
import { n as m, m as g } from "./components.chartbi.b043dcdc.mjs";
|
|
2
|
+
import { c as y } from "./http.main.40657f51.mjs";
|
|
3
|
+
import { e as h } from "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
+
import { s as $ } from "./utils.util.js.82cd8447.mjs";
|
|
5
|
+
const _ = {
|
|
6
|
+
props: {
|
|
7
|
+
develop: {
|
|
8
|
+
type: [Number, String],
|
|
9
|
+
default: 1
|
|
10
|
+
},
|
|
11
|
+
color: {
|
|
12
|
+
type: Array,
|
|
13
|
+
default: () => []
|
|
14
|
+
},
|
|
15
|
+
showTitle: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: !0
|
|
18
|
+
},
|
|
19
|
+
left: {
|
|
20
|
+
type: [Number, String],
|
|
21
|
+
default: 10
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
data() {
|
|
25
|
+
return {};
|
|
26
|
+
},
|
|
27
|
+
computed: {},
|
|
28
|
+
methods: {
|
|
29
|
+
init(e) {
|
|
30
|
+
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", (n) => {
|
|
32
|
+
this.$emit("change", n);
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
getOption(e) {
|
|
36
|
+
let t = [];
|
|
37
|
+
e.data.forEach((l) => {
|
|
38
|
+
t.push(l.value);
|
|
39
|
+
});
|
|
40
|
+
let a = this.$i18nt(`Dynamics.${e.transKey}`, e.name), n = {
|
|
41
|
+
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
|
+
left: this.left,
|
|
43
|
+
textStyle: {
|
|
44
|
+
fontSize: 16
|
|
45
|
+
}
|
|
46
|
+
}, o = {
|
|
47
|
+
tooltip: {
|
|
48
|
+
trigger: "axis",
|
|
49
|
+
axisPointer: {
|
|
50
|
+
type: "shadow"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
grid: {
|
|
54
|
+
left: "3%",
|
|
55
|
+
right: "4%",
|
|
56
|
+
bottom: "3%",
|
|
57
|
+
containLabel: !0
|
|
58
|
+
},
|
|
59
|
+
xAxis: [
|
|
60
|
+
{
|
|
61
|
+
type: "category",
|
|
62
|
+
data: e.columns.filter((l, i) => i < 30),
|
|
63
|
+
axisTick: {
|
|
64
|
+
alignWithLabel: !0
|
|
65
|
+
},
|
|
66
|
+
axisLabel: {
|
|
67
|
+
interval: 0,
|
|
68
|
+
rotate: 30
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
yAxis: [
|
|
73
|
+
{
|
|
74
|
+
type: "value"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
series: [
|
|
78
|
+
{
|
|
79
|
+
type: "bar",
|
|
80
|
+
barWidth: "60%",
|
|
81
|
+
data: t.filter((l, i) => i < 30),
|
|
82
|
+
itemStyle: {
|
|
83
|
+
normal: {
|
|
84
|
+
label: {
|
|
85
|
+
show: !0,
|
|
86
|
+
position: "top",
|
|
87
|
+
textStyle: {
|
|
88
|
+
color: "#333",
|
|
89
|
+
fontSize: 14
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
color: (l) => this.color[l.dataIndex]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
};
|
|
98
|
+
return this.showTitle ? Object.assign(o, { title: n }) : o;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
var v = function() {
|
|
103
|
+
var t = this, a = t._self._c;
|
|
104
|
+
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
105
|
+
}, b = [], x = /* @__PURE__ */ m(
|
|
106
|
+
_,
|
|
107
|
+
v,
|
|
108
|
+
b,
|
|
109
|
+
!1,
|
|
110
|
+
null,
|
|
111
|
+
"ca109126",
|
|
112
|
+
null,
|
|
113
|
+
null
|
|
114
|
+
);
|
|
115
|
+
const S = x.exports;
|
|
116
|
+
const C = {
|
|
117
|
+
props: {
|
|
118
|
+
develop: {
|
|
119
|
+
type: [Number, String],
|
|
120
|
+
default: 1
|
|
121
|
+
},
|
|
122
|
+
color: {
|
|
123
|
+
type: Array,
|
|
124
|
+
default: () => []
|
|
125
|
+
},
|
|
126
|
+
showTitle: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: !0
|
|
129
|
+
},
|
|
130
|
+
left: {
|
|
131
|
+
type: [Number, String],
|
|
132
|
+
default: 10
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
data() {
|
|
136
|
+
return {};
|
|
137
|
+
},
|
|
138
|
+
computed: {},
|
|
139
|
+
methods: {
|
|
140
|
+
init(e) {
|
|
141
|
+
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", (n) => {
|
|
143
|
+
this.$emit("change", n);
|
|
144
|
+
});
|
|
145
|
+
},
|
|
146
|
+
getOption(e) {
|
|
147
|
+
let t = 0;
|
|
148
|
+
e.data.forEach((l, i) => {
|
|
149
|
+
t += Number(l.value), e.data[i].order = l.value;
|
|
150
|
+
}), e.data = [...$(e.data)];
|
|
151
|
+
let a = this.$i18nt(`Dynamics.${e.transKey}`, e.name), n = {
|
|
152
|
+
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
|
+
left: this.left,
|
|
154
|
+
textStyle: {
|
|
155
|
+
fontSize: 16
|
|
156
|
+
}
|
|
157
|
+
}, o = {
|
|
158
|
+
tooltip: {
|
|
159
|
+
trigger: "item",
|
|
160
|
+
formatter: function(l) {
|
|
161
|
+
return l.data.name + ":\r" + l.data.values;
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
color: this.color,
|
|
165
|
+
legend: {
|
|
166
|
+
type: "scroll",
|
|
167
|
+
bottom: 0,
|
|
168
|
+
data: e.columns
|
|
169
|
+
},
|
|
170
|
+
series: [
|
|
171
|
+
{
|
|
172
|
+
type: "funnel",
|
|
173
|
+
left: "10%",
|
|
174
|
+
top: 50,
|
|
175
|
+
bottom: 50,
|
|
176
|
+
width: "76%",
|
|
177
|
+
min: 0,
|
|
178
|
+
max: 100,
|
|
179
|
+
minSize: "10%",
|
|
180
|
+
maxSize: "90%",
|
|
181
|
+
sort: "descending",
|
|
182
|
+
gap: 1,
|
|
183
|
+
label: {
|
|
184
|
+
show: !0,
|
|
185
|
+
formatter: function(l) {
|
|
186
|
+
return l.data.name + ":\r" + l.data.values + `
|
|
187
|
+
` + l.data.percentage + "%";
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
labelLine: {
|
|
191
|
+
length: 10,
|
|
192
|
+
lineStyle: {
|
|
193
|
+
width: 1,
|
|
194
|
+
type: "solid"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
itemStyle: {
|
|
198
|
+
borderColor: "#fff",
|
|
199
|
+
borderWidth: 1
|
|
200
|
+
},
|
|
201
|
+
emphasis: {
|
|
202
|
+
label: {
|
|
203
|
+
fontSize: 15
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
data: e.data.map((l, i) => {
|
|
207
|
+
const s = l.value;
|
|
208
|
+
return l.values = s, l.percentage = t === 0 ? "0" : (Number(s) / t * 1e4).toFixed(0) / 100, l.value = (1 / e.data.length * (i + 1) * 100).toFixed(0), l;
|
|
209
|
+
})
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
};
|
|
213
|
+
return this.showTitle ? Object.assign(o, { title: n }) : o;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
var D = function() {
|
|
218
|
+
var t = this, a = t._self._c;
|
|
219
|
+
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
220
|
+
}, N = [], w = /* @__PURE__ */ m(
|
|
221
|
+
C,
|
|
222
|
+
D,
|
|
223
|
+
N,
|
|
224
|
+
!1,
|
|
225
|
+
null,
|
|
226
|
+
"b06311be",
|
|
227
|
+
null,
|
|
228
|
+
null
|
|
229
|
+
);
|
|
230
|
+
const E = w.exports;
|
|
231
|
+
const T = {
|
|
232
|
+
props: {
|
|
233
|
+
develop: {
|
|
234
|
+
type: [Number, String],
|
|
235
|
+
default: 1
|
|
236
|
+
},
|
|
237
|
+
color: {
|
|
238
|
+
type: Array,
|
|
239
|
+
default: () => []
|
|
240
|
+
},
|
|
241
|
+
showTitle: {
|
|
242
|
+
type: Boolean,
|
|
243
|
+
default: !0
|
|
244
|
+
},
|
|
245
|
+
left: {
|
|
246
|
+
type: [Number, String],
|
|
247
|
+
default: 10
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
data() {
|
|
251
|
+
return {};
|
|
252
|
+
},
|
|
253
|
+
computed: {},
|
|
254
|
+
methods: {
|
|
255
|
+
init(e) {
|
|
256
|
+
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", (n) => {
|
|
258
|
+
this.$emit("change", n);
|
|
259
|
+
});
|
|
260
|
+
},
|
|
261
|
+
getOption(e) {
|
|
262
|
+
let t = this.$i18nt(`Dynamics.${e.transKey}`, e.name), a = {
|
|
263
|
+
text: t ? `${t} (${this.$i18nt("gd.basics.total", "\u5171")} ${e.count} ${this.$i18nt(
|
|
264
|
+
"gd.basics.data",
|
|
265
|
+
"\u6761\u6570\u636E"
|
|
266
|
+
)})` : `${this.$i18nt("gd.basics.total", "\u5171")} ${e.count} ${this.$i18nt(
|
|
267
|
+
"gd.basics.data",
|
|
268
|
+
"\u6761\u6570\u636E"
|
|
269
|
+
)}`,
|
|
270
|
+
left: this.left,
|
|
271
|
+
textStyle: {
|
|
272
|
+
fontSize: 16
|
|
273
|
+
}
|
|
274
|
+
}, n = {
|
|
275
|
+
tooltip: {
|
|
276
|
+
trigger: "axis"
|
|
277
|
+
},
|
|
278
|
+
color: this.color,
|
|
279
|
+
legend: {},
|
|
280
|
+
xAxis: {
|
|
281
|
+
type: "category",
|
|
282
|
+
data: e.columns,
|
|
283
|
+
axisLabel: { interval: 0, rotate: 30 }
|
|
284
|
+
},
|
|
285
|
+
yAxis: {
|
|
286
|
+
type: "value"
|
|
287
|
+
},
|
|
288
|
+
series: [
|
|
289
|
+
{
|
|
290
|
+
data: e.data,
|
|
291
|
+
type: "line"
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
};
|
|
295
|
+
return this.showTitle ? Object.assign(n, { title: a }) : n;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
var I = function() {
|
|
300
|
+
var t = this, a = t._self._c;
|
|
301
|
+
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
302
|
+
}, z = [], k = /* @__PURE__ */ m(
|
|
303
|
+
T,
|
|
304
|
+
I,
|
|
305
|
+
z,
|
|
306
|
+
!1,
|
|
307
|
+
null,
|
|
308
|
+
"f8a9de5c",
|
|
309
|
+
null,
|
|
310
|
+
null
|
|
311
|
+
);
|
|
312
|
+
const A = k.exports;
|
|
313
|
+
const O = {
|
|
314
|
+
props: {
|
|
315
|
+
develop: {
|
|
316
|
+
type: [Number, String],
|
|
317
|
+
default: 1
|
|
318
|
+
},
|
|
319
|
+
color: {
|
|
320
|
+
type: Array,
|
|
321
|
+
default: () => []
|
|
322
|
+
},
|
|
323
|
+
showTitle: {
|
|
324
|
+
type: Boolean,
|
|
325
|
+
default: !0
|
|
326
|
+
},
|
|
327
|
+
left: {
|
|
328
|
+
type: [Number, String],
|
|
329
|
+
default: 10
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
data() {
|
|
333
|
+
return {};
|
|
334
|
+
},
|
|
335
|
+
computed: {},
|
|
336
|
+
methods: {
|
|
337
|
+
init(e) {
|
|
338
|
+
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", (n) => {
|
|
340
|
+
this.$emit("change", n);
|
|
341
|
+
});
|
|
342
|
+
},
|
|
343
|
+
getOption(e) {
|
|
344
|
+
let t = this.$i18nt(`Dynamics.${e.transKey}`, e.name), a = {
|
|
345
|
+
text: t ? `${t} (${this.$i18nt("gd.basics.total", "\u5171")} ${e.count} ${this.$i18nt(
|
|
346
|
+
"gd.basics.data",
|
|
347
|
+
"\u6761\u6570\u636E"
|
|
348
|
+
)})` : `${this.$i18nt("gd.basics.total", "\u5171")} ${e.count} ${this.$i18nt(
|
|
349
|
+
"gd.basics.data",
|
|
350
|
+
"\u6761\u6570\u636E"
|
|
351
|
+
)}`,
|
|
352
|
+
left: this.left,
|
|
353
|
+
textStyle: {
|
|
354
|
+
fontSize: 16
|
|
355
|
+
}
|
|
356
|
+
}, n = {
|
|
357
|
+
tooltip: {
|
|
358
|
+
trigger: "item"
|
|
359
|
+
},
|
|
360
|
+
color: this.color,
|
|
361
|
+
legend: {
|
|
362
|
+
type: "scroll",
|
|
363
|
+
bottom: 0,
|
|
364
|
+
data: e.columns
|
|
365
|
+
},
|
|
366
|
+
series: [
|
|
367
|
+
{
|
|
368
|
+
type: "pie",
|
|
369
|
+
radius: ["30%", "58%"],
|
|
370
|
+
center: this.develop == 4 ? ["50%", "45%"] : ["50%", "50%"],
|
|
371
|
+
data: e.data,
|
|
372
|
+
label: {
|
|
373
|
+
show: !0,
|
|
374
|
+
position: "outside",
|
|
375
|
+
textStyle: {
|
|
376
|
+
fontWeight: 500,
|
|
377
|
+
color: "#333",
|
|
378
|
+
fontSize: 14,
|
|
379
|
+
lineHeight: 20
|
|
380
|
+
},
|
|
381
|
+
formatter: `{b}:\r{c}\r
|
|
382
|
+
({d}%)`
|
|
383
|
+
},
|
|
384
|
+
itemStyle: {
|
|
385
|
+
borderRadius: 2
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
};
|
|
390
|
+
return this.showTitle ? Object.assign(n, { title: a }) : n;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
var F = function() {
|
|
395
|
+
var t = this, a = t._self._c;
|
|
396
|
+
return a("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
397
|
+
}, K = [], L = /* @__PURE__ */ m(
|
|
398
|
+
O,
|
|
399
|
+
F,
|
|
400
|
+
K,
|
|
401
|
+
!1,
|
|
402
|
+
null,
|
|
403
|
+
"16dc885e",
|
|
404
|
+
null,
|
|
405
|
+
null
|
|
406
|
+
);
|
|
407
|
+
const R = L.exports;
|
|
408
|
+
const G = {
|
|
409
|
+
props: {
|
|
410
|
+
loadData: {
|
|
411
|
+
type: Array,
|
|
412
|
+
default: () => []
|
|
413
|
+
},
|
|
414
|
+
color: {
|
|
415
|
+
type: Array,
|
|
416
|
+
default: () => []
|
|
417
|
+
},
|
|
418
|
+
left: {
|
|
419
|
+
type: [Number, String],
|
|
420
|
+
default: "center"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
data() {
|
|
424
|
+
return {
|
|
425
|
+
record: {},
|
|
426
|
+
width: "80%",
|
|
427
|
+
confirmLoading: !1,
|
|
428
|
+
visible: !1,
|
|
429
|
+
fullscreen: !1
|
|
430
|
+
};
|
|
431
|
+
},
|
|
432
|
+
methods: {
|
|
433
|
+
open(e) {
|
|
434
|
+
this.visible = !0, this.record = { ...e }, this.$nextTick(() => {
|
|
435
|
+
setTimeout(() => {
|
|
436
|
+
this.$refs.VEcharts.open(e);
|
|
437
|
+
}, 0);
|
|
438
|
+
});
|
|
439
|
+
},
|
|
440
|
+
toggleFullscreen() {
|
|
441
|
+
this.fullscreen = !this.fullscreen, this.$nextTick(() => {
|
|
442
|
+
setTimeout(() => {
|
|
443
|
+
this.$refs.VEcharts.open(this.record);
|
|
444
|
+
}, 0);
|
|
445
|
+
});
|
|
446
|
+
},
|
|
447
|
+
doEvent(e) {
|
|
448
|
+
let t = e.item.functionName;
|
|
449
|
+
this[t] && this[t]();
|
|
450
|
+
},
|
|
451
|
+
closed() {
|
|
452
|
+
this.fullscreen = !1, this.visible = !1;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
var U = function() {
|
|
457
|
+
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(n) {
|
|
459
|
+
t.visible = n;
|
|
460
|
+
}, 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
|
+
}, B = [], M = /* @__PURE__ */ m(
|
|
462
|
+
G,
|
|
463
|
+
U,
|
|
464
|
+
B,
|
|
465
|
+
!1,
|
|
466
|
+
null,
|
|
467
|
+
"bb8cc0bf",
|
|
468
|
+
null,
|
|
469
|
+
null
|
|
470
|
+
);
|
|
471
|
+
const P = M.exports;
|
|
472
|
+
const W = {
|
|
473
|
+
name: "GdEcharts",
|
|
474
|
+
props: {
|
|
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
|
+
};
|
|
792
|
+
export {
|
|
793
|
+
f as G
|
|
794
|
+
};
|