gds-plus-design-vue 1.2.5 → 1.2.7
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/approvalModel.a26e8ff6.mjs +340 -0
- package/lib/approvalModel.cfd81971.js +1 -0
- package/lib/btnFunctionName.9aabfed0.js +1 -0
- package/lib/btnFunctionName.d08627cb.mjs +254 -0
- package/lib/btnRelation.8e608261.mjs +156 -0
- package/lib/btnRelation.cb3dc022.js +1 -0
- package/lib/businessRules.754cc398.mjs +539 -0
- package/lib/businessRules.f41f7035.js +1 -0
- package/lib/buttonRule.4483314f.mjs +396 -0
- package/lib/buttonRule.645de1d3.js +1 -0
- package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
- package/lib/chartDisplayRules.fedfefe8.js +1 -0
- package/lib/components.chartbi.470b96af.mjs +1798 -0
- package/lib/components.chartbi.e9459775.js +8 -0
- package/lib/components.coloreditor.affa0400.mjs +1505 -0
- package/lib/components.coloreditor.dbec8da6.js +6 -0
- package/lib/components.dataassign.39281072.mjs +147 -0
- package/lib/components.dataassign.b6a1bffb.js +1 -0
- package/lib/components.echarts.95ffc3b3.mjs +811 -0
- package/lib/components.echarts.d09e9850.js +4 -0
- package/lib/components.exception.11315db5.js +1 -0
- package/lib/components.exception.facf9df9.mjs +61 -0
- package/lib/components.form.56ea8f98.js +41 -0
- package/lib/components.form.a7b3ea37.mjs +7813 -0
- package/lib/components.globalheader.0a7ce959.js +1 -0
- package/lib/components.globalheader.4a5f7225.mjs +54 -0
- package/lib/components.iconselector.0c03cfc7.js +1 -0
- package/lib/components.iconselector.251c29b9.mjs +1169 -0
- package/lib/components.imgpreview.5546e541.mjs +213 -0
- package/lib/components.imgpreview.706a89f0.js +1 -0
- package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
- package/lib/components.lunccalendar.fe7db238.js +1 -0
- package/lib/components.middleware.01601349.js +1 -0
- package/lib/components.middleware.f5f4ac0f.mjs +148 -0
- package/lib/components.modaltitle.5ded43f9.mjs +127 -0
- package/lib/components.modaltitle.cc9ba616.js +1 -0
- package/lib/components.multitab.0f9da9f3.mjs +140 -0
- package/lib/components.multitab.726cff2f.js +1 -0
- package/lib/components.selecttree.1a71c963.mjs +170 -0
- package/lib/components.selecttree.2fadffca.js +1 -0
- package/lib/components.settingdrawer.1af86231.js +1 -0
- package/lib/components.settingdrawer.adc262cf.mjs +237 -0
- package/lib/components.sidemenu.03442146.mjs +277 -0
- package/lib/components.sidemenu.5107c7e3.js +1 -0
- package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
- package/lib/components.sidenavmenu.ef33de39.js +1 -0
- package/lib/components.statuschange.805a751b.mjs +116 -0
- package/lib/components.statuschange.83646c5d.js +1 -0
- package/lib/components.table.61eb5d81.js +8 -0
- package/lib/components.table.c986e58d.mjs +4650 -0
- package/lib/components.tableumy.35b465f9.mjs +453 -0
- package/lib/components.tableumy.eba43953.js +1 -0
- package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
- package/lib/components.tablevirtual.6af04c44.js +1 -0
- package/lib/components.teamsharing.68865424.js +1 -0
- package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
- package/lib/components.tooltip.ccb1717d.mjs +86 -0
- package/lib/components.tooltip.e2e21e66.js +1 -0
- package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
- package/lib/components.uploadfile.e93b500d.js +1 -0
- package/lib/components.uploadimg.3804913e.js +1 -0
- package/lib/components.uploadimg.e49707d9.mjs +192 -0
- package/lib/components.verificationcode.5a9c0220.js +1 -0
- package/lib/components.verificationcode.ead74922.mjs +71 -0
- package/lib/components.viewformdetails.3c1596ad.js +1 -0
- package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
- package/lib/components.viewloading.5b178ec5.js +1 -0
- package/lib/components.viewloading.cb7917b7.mjs +99 -0
- package/lib/components.watermark.849409ca.js +2 -0
- package/lib/components.watermark.a2521d0c.mjs +53 -0
- package/lib/components.xlsxexport.3405a00b.js +1 -0
- package/lib/components.xlsxexport.871f87d1.mjs +263 -0
- package/lib/components.xlsximport.85ce77cf.mjs +922 -0
- package/lib/components.xlsximport.e3bcb07d.js +1 -0
- package/lib/copy.b09a6d38.js +1 -0
- package/lib/copy.c0a2f16d.mjs +572 -0
- package/lib/dialogLayout.059ee256.mjs +138 -0
- package/lib/dialogLayout.cedf2865.js +1 -0
- package/lib/drawerContainer.38d7b530.mjs +154 -0
- package/lib/drawerContainer.ea7722d7.js +1 -0
- package/lib/drawerLayout.454e4921.js +1 -0
- package/lib/drawerLayout.fad843ee.mjs +119 -0
- package/lib/editForm.c199538f.mjs +434 -0
- package/lib/editForm.f9dc93ef.js +1 -0
- package/lib/flow.designer.4c83c0d3.js +1 -0
- package/lib/flow.designer.9442a995.mjs +7673 -0
- package/lib/flow.list.4a31969e.mjs +3032 -0
- package/lib/flow.list.f41ee531.js +1 -0
- package/lib/form.build.c38bf362.js +1 -0
- package/lib/form.build.fb9f905b.mjs +259 -0
- package/lib/form.designer.build.3fdf8007.js +1 -0
- package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
- package/lib/formFiled.624b8dd3.js +1 -0
- package/lib/formFiled.94fb1dce.mjs +498 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +233 -91033
- package/lib/http.appmanage.9b22ff82.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.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.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.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.6fdfc693.js +1 -0
- package/lib/http.filedocument.d3a4afd9.mjs +293 -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.1af1e119.mjs +517 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.menumanage.09fffb7d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.1d68e914.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.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.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -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.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.3fa2dc66.mjs +40154 -0
- package/lib/index.fe757a98.js +8 -0
- package/lib/layoutBlocks.14c77a02.js +1 -0
- package/lib/layoutBlocks.5d71a03b.mjs +401 -0
- package/lib/layouts.a662f681.js +2 -0
- package/lib/layouts.ec4f20a2.mjs +376 -0
- package/lib/main.092a2ac8.js +1 -0
- package/lib/{main.c59fc1e8.mjs → main.15237e71.mjs} +12 -10
- package/lib/main.29769f01.js +1 -0
- package/lib/main.401059c6.mjs +189 -0
- package/lib/main.447be615.js +1 -0
- package/lib/main.4e507685.mjs +231 -0
- package/lib/main.72cafa63.mjs +540 -0
- package/lib/{main.4e325110.mjs → main.73f22d9e.mjs} +9 -8
- package/lib/main.7601bd3d.mjs +166 -0
- package/lib/main.79199ac2.js +1 -0
- package/lib/main.821d081b.js +1 -0
- package/lib/main.8627466a.mjs +537 -0
- package/lib/{main.955f770e.mjs → main.88e9be9d.mjs} +4 -4
- package/lib/main.8e6f6cba.mjs +323 -0
- package/lib/main.a9a54af9.js +1 -0
- package/lib/main.e033a376.js +1 -0
- package/lib/main.e2e4ba74.js +1 -0
- package/lib/{main.be62e9a4.mjs → main.e79d9e56.mjs} +113 -188
- package/lib/main.ea3a04f4.js +1 -0
- package/lib/main.f44d8279.js +1 -0
- package/lib/messages.5f54a62e.js +9 -0
- package/lib/{messages.7e418640.mjs → messages.d4354532.mjs} +4321 -5268
- package/lib/packages.filedocument.8418d852.mjs +4039 -0
- package/lib/packages.filedocument.9b8eda0d.js +1 -0
- package/lib/page.build.4d28df9a.js +12 -0
- package/lib/page.build.78cc7396.mjs +3020 -0
- package/lib/personal.echarts.940f1cc9.mjs +696 -0
- package/lib/personal.echarts.b5a7f574.js +1 -0
- package/lib/result.0161b0e0.js +1 -0
- package/lib/result.5a9330d7.mjs +627 -0
- package/lib/router.config.79a98ab8.mjs +3105 -0
- package/lib/router.config.7fd04c30.js +1 -0
- package/lib/solution.application.3ae7c0c5.js +1 -0
- package/lib/solution.application.fdc15ffc.mjs +548 -0
- package/lib/solution.applicationmenu.67aba620.js +1 -0
- package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
- package/lib/solution.approvalflow.81b7cfb7.js +1 -0
- package/lib/solution.approvalflow.a541adcc.mjs +436 -0
- package/lib/solution.dict.addbce33.mjs +769 -0
- package/lib/solution.dict.f1c9bae6.js +1 -0
- package/lib/solution.menu.2033fa37.mjs +5834 -0
- package/lib/solution.menu.6512047f.js +1 -0
- package/lib/solution.plugin.7094dbfd.js +1 -0
- package/lib/solution.plugin.d8f057cb.mjs +347 -0
- package/lib/solution.processflow.0adf4f55.js +1 -0
- package/lib/solution.processflow.a779bd58.mjs +392 -0
- package/lib/solution.role.d35cb00d.js +1 -0
- package/lib/solution.role.d9a4b25a.mjs +456 -0
- package/lib/solution.webresources.e1421655.mjs +379 -0
- package/lib/solution.webresources.e817757c.js +1 -0
- package/lib/solution.workflow.59552b8c.mjs +395 -0
- package/lib/solution.workflow.985e1f4d.js +1 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/store.config.5e5cb48a.mjs +547 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1b281679.js +216 -0
- package/lib/system.account.96d5bc17.mjs +2093 -0
- package/lib/system.config.0ff45e62.js +1 -0
- package/lib/{system.config.f0d2d130.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.61ff56ec.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.a817cf68.mjs → system.dict.3697546d.mjs} +269 -344
- package/lib/system.dict.8e4fe6b0.js +1 -0
- package/lib/system.document.69e534a6.js +1 -0
- package/lib/system.document.8e4dbe5e.mjs +667 -0
- package/lib/system.duplicatechecking.1083eb1e.js +1 -0
- package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
- package/lib/system.email.06bb7cc1.mjs +133 -0
- package/lib/system.email.41036a31.js +1 -0
- package/lib/system.fieldsecurity.3ea880d8.js +1 -0
- package/lib/{system.fieldsecurity.6feb94c3.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.1930d109.mjs → system.file.8ccc4569.mjs} +84 -151
- package/lib/system.file.b8e4e6a1.js +1 -0
- package/lib/system.log.14c22a7a.js +1 -0
- package/lib/{system.log.61d303bd.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.ed69ec93.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.bd18554e.mjs → system.notice.dc1b67cc.mjs} +1075 -1263
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.4dc360c0.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.08a15a71.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
- package/lib/system.onlineuser.fc26aff9.js +1 -0
- package/lib/system.org.b6f826e8.js +1 -0
- package/lib/{system.org.6e858bf3.mjs → system.org.dd710a91.mjs} +3 -3
- package/lib/system.permissions.75406743.mjs +972 -0
- package/lib/system.permissions.97f68887.js +1 -0
- package/lib/system.plugin.3fcf7b0b.js +1 -0
- package/lib/{system.plugin.a1f1c194.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.eb8fd7dd.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.c84db7d5.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.d2195303.mjs → system.role.9edb5922.mjs} +601 -523
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.141dc00b.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
- package/lib/system.sumberrules.5e9cd262.js +1 -0
- package/lib/system.team.3e605266.js +1 -0
- package/lib/system.team.bb1fb40e.mjs +452 -0
- package/lib/system.teammembers.a098883b.js +1 -0
- package/lib/{system.teammembers.d73c659f.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.4a3dd57d.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.d9488c23.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.6874aa87.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.5e3e2bab.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
- package/lib/system.useraffiliation.f8b33def.js +1 -0
- package/lib/system.webresource.1d3ed352.js +1 -0
- package/lib/{system.webresource.204911b7.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.79e15015.mjs → system.welcome.573a76db.mjs} +10 -3
- package/lib/system.welcome.eedf1db2.js +1 -0
- package/lib/tableDescriptions.923c4ef1.mjs +80 -0
- package/lib/tableDescriptions.b12679b0.js +1 -0
- package/lib/tcheckboxs.887d733c.mjs +52 -0
- package/lib/tcheckboxs.fe7e574a.js +1 -0
- package/lib/tcurrency.10ac9aa7.mjs +85 -0
- package/lib/tcurrency.20e959c0.js +1 -0
- package/lib/tdatepicker.54036bba.js +1 -0
- package/lib/tdatepicker.a08ad382.mjs +52 -0
- package/lib/tdictSwitch.274e9f86.js +1 -0
- package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
- package/lib/tfile.5c897827.js +1 -0
- package/lib/tfile.f63b73b9.mjs +62 -0
- package/lib/tparticipants.4698962b.mjs +56 -0
- package/lib/tparticipants.b6fb4545.js +1 -0
- package/lib/translation.mains.5cfc7a2f.js +1 -0
- package/lib/translation.mains.e6cb610b.mjs +383 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -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.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.885de913.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/view.build.051553d8.mjs +1578 -0
- package/lib/view.build.9af3087b.js +1 -0
- package/lib/viewList.209956c3.js +1 -0
- package/lib/viewList.c05c92be.mjs +318 -0
- package/lib/viewTree.0cd9f1a2.js +1 -0
- package/lib/viewTree.c5290360.mjs +409 -0
- package/locale/en_US.js +96 -29
- package/locale/id_ID.js +80 -13
- package/locale/vi_VN.js +2015 -1948
- package/locale/zh_CN.js +100 -33
- package/package.json +106 -105
- package/lib/chartbi.b5b6fdab.js +0 -60
- package/lib/chartbi.b6818e8e.mjs +0 -27604
- package/lib/main.6713b76c.js +0 -1
- package/lib/main.a28f67df.js +0 -1
- package/lib/main.b4a303dc.js +0 -1
- package/lib/main.f3ae0933.js +0 -1
- package/lib/messages.1346558e.js +0 -9
- package/lib/system.account.64fbdaeb.mjs +0 -2552
- package/lib/system.account.7c43a95e.js +0 -216
- package/lib/system.config.93d6cb7d.js +0 -1
- package/lib/system.datasource.4bb39222.js +0 -1
- package/lib/system.dict.5a2e60fe.js +0 -1
- package/lib/system.duplicatechecking.65b77e64.js +0 -1
- package/lib/system.duplicatechecking.751664ba.mjs +0 -2142
- package/lib/system.email.2f53252e.mjs +0 -7432
- package/lib/system.email.fec5ae26.js +0 -41
- package/lib/system.fieldsecurity.920adca4.js +0 -1
- package/lib/system.file.5a9a5e0e.js +0 -1
- package/lib/system.log.b309c0e0.js +0 -1
- package/lib/system.machine.9368e508.js +0 -1
- package/lib/system.notice.ff62c06a.js +0 -1
- package/lib/system.noticereceived.9550818b.js +0 -1
- package/lib/system.onlineuser.6cf4fe24.js +0 -1
- package/lib/system.org.0c67131d.js +0 -1
- package/lib/system.permissions.af548a3b.js +0 -9
- package/lib/system.permissions.cc5ac7ac.mjs +0 -212
- package/lib/system.plugin.83d03fb2.js +0 -1
- package/lib/system.pos.eae2051e.js +0 -1
- package/lib/system.promptmanagement.04501417.js +0 -1
- package/lib/system.role.e623c50b.js +0 -1
- package/lib/system.sumberrules.a01e1805.js +0 -1
- package/lib/system.team.0cebcde7.js +0 -1
- package/lib/system.team.27a6d5d5.mjs +0 -1000
- package/lib/system.teammembers.b67f003f.js +0 -1
- package/lib/system.timers.b27fcb6d.js +0 -38
- package/lib/system.translation.d2c982ed.js +0 -1
- package/lib/system.user.0664c21c.js +0 -14
- package/lib/system.useraffiliation.6b7a1612.js +0 -1
- package/lib/system.webresource.5de18052.js +0 -1
- package/lib/system.welcome.ec7aa744.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./components.chartbi.e9459775.js"),n=require("./http.team.e45400d5.js"),m=require("./utils.mixins.js.750ca50e.js"),c=require("./http.main.2f8a6936.js"),u={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.team.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",width:"220",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.team.amdmin",prop:"administratorid",label:"\u7BA1\u7406\u5458",width:"220",type:"slot",slotType:"administratorid",align:"left"},{transKey:"gd.team.teamtype",prop:"teamtype",label:"\u56E2\u961F\u7C7B\u578B",width:"180",type:"slot",slotType:"teamtype",align:"left"},{transKey:"gd.team.createdTime",prop:"createdtime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"},{transKey:"gd.team.describe",prop:"description",label:"\u63CF\u8FF0",width:"260",align:"left"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysTeam:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysTeam:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysTeam:delete"}]}}};const h={name:"GdTeam",mixins:[m.tablesFilter,u],props:{height:{type:Number,default:100}},data(){return{transKey:"gd.btn.add",selectedRowKeys:[],selectedRows:[],queryParam:{},loadData:a=>n.sysTeamPage(Object.assign(a,this.getQueryParam)).then(e=>e.data)}},components:{editForm:()=>Promise.resolve().then(()=>$)},computed:{getHeight(){return this.height},getQueryParam(){let a=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&(e==="msgStatus"||e==="sendType"))a.set(e,this.queryParam[e].join(","));else if(this.queryParam[e]&&(e==="actualOn"||e==="createdTime"||e==="scheduledStartedOn")){if(this.queryParam[e].length>0){let t=this.queryParam[e],i=t[0].split(" ")[0],s=t[1].split(" ")[0];a.set(`${e}Start`,`${i} 00:00:00`),a.set(`${e}End`,`${s} 23:59:59`)}}else a.set(e,this.queryParam[e]);return Object.fromEntries(a)},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{editForm(a){this.transKey="gd.btn.edit",this.$refs.editForm.open(a)},add(){this.$refs.editForm.open()},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(a,e,t)=>{this.delHand(a,e,t)}})},delHand(a,e,t){if(a!=="confirm"){t();return}let i=[];this.selectedRows.forEach(s=>{let r=n.sysTeamDel({id:s.id}).then(d=>d);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(s=>{const r=s.filter(d=>!d.success);r.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+r[0].message),t(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},onSelectChange(a,e){this.selectedRowKeys=a,this.selectedRows=e},handleOk(){this.refresh()},refresh(){this.$refs.table.refresh()},dictSwitch(a,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==a)[0];return t!=null&&t.colour?t.colour:null},doEvent(a){let e=a.item.functionName;this[e]&&this[e]()}}};var p=function(){var e=this,t=e._self._c;return t("div",{staticClass:"gd-page-view"},[t("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[t("div",{staticClass:"gd-table-operator"},[t("div",{staticClass:"gd-table-operatorr"},[t("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"name",fn:function({column:i,row:s}){return[t("gd-tooltip",{attrs:{rowKey:"name",row:s,highlight:""},on:{click:e.editForm}})]}},{key:"administratorid",fn:function({column:i,row:s}){return[s.administratorname?t("span",[e._v(" "+e._s(s.administratorname)+" ")]):e._e()]}},{key:"teamtype",fn:function(i){return[e.dictSwitch(i.row.teamtype,"teamtype")?t("el-tag",{style:e._f("dictColor")("teamtype",i.row.teamtype),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("teamtype",i.row.teamtype))+" ")]):t("span",[e._v(e._s(e._f("dictType")("teamtype",i.row.teamtype)))])]}}])})],1),t("editForm",{ref:"editForm",attrs:{openPermissions:!0},on:{ok:e.handleOk}})],1)},f=[],g=o.normalizeComponent(h,p,f,!1,null,"22fbdc27",null,null);const l=g.exports;l.install=function(a){a.component(l.name,l)};const y={props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{width:"80%",visible:!1,fullScreen:!1,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],confirmLoading:!1,type:0,rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],administratorid:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}]},ruleFormData:{id:"",name:"",administratorid:"",teamtype:"2",description:""},dataList:[],columnList:[],ownerid:"",firstLoading:!1}},computed:{getHeight(){const a=this.fullScreen?400:548;return this.screenHeight-a},detailShow(){return!!this.ruleFormData.id},title(){return this.ruleFormData.id?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add")},...o.mapGetters(["screenHeight"])},components:{teamMemberDetail:()=>Promise.resolve().then(()=>require("./system.teammembers.a098883b.js"))},methods:{lookupSeled(a){this.dataList=[...a.fkData],this.$set(this.ruleFormData,"administratorid",a.data[0])},lookup(a){let e={effectType:"fk",fkEntityName:"sys_user",val:a||[]};this.$refs.msgSearch.open(e)},open(a){this.visible=!0,this.fullScreen=!1,this.type=a?2:1,this.ruleFormData.id=a?a.id:"",a&&this.getDetail(a.id)},getDetail(a){a!=""&&(this.dataList=[],n.sysTeamDetail({id:a}).then(e=>{if(e.code==200){let t=e.data;this.dataList.push({id:t.administratorid,name:t.administratorname}),this.columnList.push({id:t.ownerid,name:t.ownername});let i={id:t.id,name:t.name,teamtype:t.teamtype?t.teamtype.toString():"",description:t.description,administratorid:t.administratorid};this.firstLoading=!0,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData=i,this.ownerid=t.ownerid},0)})}}))},searchData(a){this.dataList=[],c.baseFkList({fkEntityName:"sys_user",id:a.administratorid}).then(e=>{e.code==200&&(this.firstLoading=!0,e.data.length>0?this.dataList=e.data:this.dataList.push({id:a.administratorid,name:a.administratorname}))})},searchList(){this.firstLoading||(this.adminClick(""),this.firstLoading=!0)},adminClick(a){this.dataList=[],this.fetching=!0,c.baseFkList({fkEntityName:"sys_user",name:a}).then(e=>{e.code==200&&(this.dataList=e.data)})},handleSubmit(){this.$refs.ruleForm.validate(a=>{a&&(console.log(this.type),this.type==1?this.add(this.ruleFormData):this.edit(this.ruleFormData))})},add(a){this.confirmLoading=!0,delete a.id,n.sysTeamAdd(a).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok"),this.ruleFormData.id=e.data,this.type=2,this.getDetail(e.data)):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},edit(a){this.confirmLoading=!0,n.sysTeamEdit(a).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.$refs.ruleForm.resetFields(),this.ruleFormData={id:"",name:"",administratorid:"",teamtype:"2",description:""},this.ownerid="",this.type=1},getDictionary(a){return this.$options.filters.dictData(a)},toggleFullscreen(){this.fullScreen=!this.fullScreen},doEvent(a){let e=a.item.functionName;this[e]&&this[e]()}}};var b=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,fullscreen:e.fullScreen,footer:null,top:"80px","modal-append-to-body":e.modalAppendToBody,"append-to-body":e.appendToBody,"close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[t("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[t("div",{class:e.fullScreen?"modal-bodyq":"modal-body"},[t("el-form",{ref:"ruleForm",attrs:{rules:e.rules,model:e.ruleFormData,"label-width":"100px"},nativeOn:{submit:function(i){i.preventDefault()}}},[t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.name","\u540D\u79F0"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.name,callback:function(i){e.$set(e.ruleFormData,"name",i)},expression:"ruleFormData.name"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.teamtype","\u56E2\u961F\u7C7B\u578B"),prop:"teamtype"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{disabled:"",placeholder:e.$i18nt("gd.placeholder.select"),clearable:""},model:{value:e.ruleFormData.teamtype,callback:function(i){e.$set(e.ruleFormData,"teamtype",i)},expression:"ruleFormData.teamtype"}},e._l(e.getDictionary("teamtype"),function(i,s){return t("el-option",{key:s,attrs:{value:i.code,label:e.$i18nt(`Dynamics.${i.transkey}`,i.name)}})}),1)],1)],1)],1),t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.amdmin","\u7BA1\u7406\u5458"),prop:"administratorid"}},[t("div",{staticClass:"cao_about"},[t("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.adminClick},on:{focus:e.searchList},model:{value:e.ruleFormData.administratorid,callback:function(i){e.$set(e.ruleFormData,"administratorid",i)},expression:"ruleFormData.administratorid"}},e._l(e.dataList,function(i,s){return t("el-option",{key:i.id+"&"+s,attrs:{label:i.name,value:i.id}})}),1),t("div",{staticClass:"cao_setting"},[t("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.administratorid)}}})])],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.owner","\u8D1F\u8D23\u4EBA")}},[t("div",{staticClass:"cao_about"},[t("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,disabled:""},model:{value:e.ownerid,callback:function(i){e.ownerid=i},expression:"ownerid"}},e._l(e.columnList,function(i,s){return t("el-option",{key:s,attrs:{label:i.name,value:i.id}})}),1),t("div",{staticClass:"cao_setting"},[t("i",{staticClass:"el-input__icon el-icon-search cao_setting-disabled"})])],1)])],1)],1),t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.describe","\u63CF\u8FF0"),prop:"description"}},[t("el-input",{attrs:{type:"textarea",rows:4,placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.description,callback:function(i){e.$set(e.ruleFormData,"description",i)},expression:"ruleFormData.description"}})],1)],1)],1)],1)],1),e.visible&&e.detailShow?t("el-card",{attrs:{shadow:"never"}},[t("div",{staticStyle:{"font-weight":"500","font-size":"17px","padding-bottom":"6px"}},[e._v(e._s(e.$i18nt("gd.team.teamMember","\u56E2\u961F\u6210\u5458")))]),t("teamMemberDetail",{attrs:{sys_teamid:e.ruleFormData.id,type:e.type,openMode:2,height:e.getHeight,modeType:"components"}})],1):e._e()],1)],1),t("gd-search",{ref:"msgSearch",attrs:{appendToBody:!0},on:{lookupSeled:e.lookupSeled}})],1)},_=[],w=o.normalizeComponent(y,b,_,!1,null,"ae94d1a3",null,null);const v=w.exports,$=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=l;
|
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import { m as d, n as c } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { s as m, a as u, b as h, c as p, d as f } from "./http.team.a9c609d5.mjs";
|
|
3
|
+
import { t as g } from "./utils.mixins.js.be01e599.mjs";
|
|
4
|
+
import { a as o } from "./http.main.1af1e119.mjs";
|
|
5
|
+
const y = {
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
tableColumns: [
|
|
9
|
+
{
|
|
10
|
+
type: "selection",
|
|
11
|
+
width: "60",
|
|
12
|
+
fixed: !0
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
transKey: "gd.team.name",
|
|
16
|
+
prop: "name",
|
|
17
|
+
label: "\u540D\u79F0",
|
|
18
|
+
type: "slot",
|
|
19
|
+
slotType: "name",
|
|
20
|
+
align: "left",
|
|
21
|
+
width: "220",
|
|
22
|
+
fixed: !0,
|
|
23
|
+
showOverflowTooltip: !0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
transKey: "gd.team.amdmin",
|
|
27
|
+
prop: "administratorid",
|
|
28
|
+
label: "\u7BA1\u7406\u5458",
|
|
29
|
+
width: "220",
|
|
30
|
+
type: "slot",
|
|
31
|
+
slotType: "administratorid",
|
|
32
|
+
align: "left"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
transKey: "gd.team.teamtype",
|
|
36
|
+
prop: "teamtype",
|
|
37
|
+
label: "\u56E2\u961F\u7C7B\u578B",
|
|
38
|
+
width: "180",
|
|
39
|
+
type: "slot",
|
|
40
|
+
slotType: "teamtype",
|
|
41
|
+
align: "left"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
transKey: "gd.team.createdTime",
|
|
45
|
+
prop: "createdtime",
|
|
46
|
+
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
47
|
+
align: "center",
|
|
48
|
+
width: "180"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
transKey: "gd.team.describe",
|
|
52
|
+
prop: "description",
|
|
53
|
+
label: "\u63CF\u8FF0",
|
|
54
|
+
width: "260",
|
|
55
|
+
align: "left"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
tableButtons: [
|
|
59
|
+
{
|
|
60
|
+
displayName: "\u65B0\u589E",
|
|
61
|
+
functionName: "add",
|
|
62
|
+
show: !0,
|
|
63
|
+
transKey: "gd.btn.add",
|
|
64
|
+
icon: "el-icon-plus",
|
|
65
|
+
name: "sysTeam:add"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
displayName: "\u7F16\u8F91",
|
|
69
|
+
functionName: "edit",
|
|
70
|
+
show: !0,
|
|
71
|
+
transKey: "gd.btn.edit",
|
|
72
|
+
icon: "el-icon-edit",
|
|
73
|
+
name: "sysTeam:edit"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: "\u5220\u9664",
|
|
77
|
+
functionName: "del",
|
|
78
|
+
show: !0,
|
|
79
|
+
transKey: "gd.btn.del",
|
|
80
|
+
icon: "el-icon-delete",
|
|
81
|
+
btnType: "danger",
|
|
82
|
+
name: "sysTeam:delete"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
const b = {
|
|
89
|
+
name: "GdTeam",
|
|
90
|
+
mixins: [g, y],
|
|
91
|
+
props: {
|
|
92
|
+
height: {
|
|
93
|
+
type: Number,
|
|
94
|
+
default: 100
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
data() {
|
|
98
|
+
return {
|
|
99
|
+
transKey: "gd.btn.add",
|
|
100
|
+
selectedRowKeys: [],
|
|
101
|
+
selectedRows: [],
|
|
102
|
+
queryParam: {},
|
|
103
|
+
loadData: (a) => m(Object.assign(a, this.getQueryParam)).then((e) => e.data)
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
components: {
|
|
107
|
+
editForm: () => Promise.resolve().then(() => L)
|
|
108
|
+
},
|
|
109
|
+
computed: {
|
|
110
|
+
getHeight() {
|
|
111
|
+
return this.height;
|
|
112
|
+
},
|
|
113
|
+
getQueryParam() {
|
|
114
|
+
let a = /* @__PURE__ */ new Map();
|
|
115
|
+
for (let e in this.queryParam)
|
|
116
|
+
if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
|
|
117
|
+
a.set(e, this.queryParam[e].join(","));
|
|
118
|
+
else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
|
|
119
|
+
if (this.queryParam[e].length > 0) {
|
|
120
|
+
let t = this.queryParam[e], i = t[0].split(" ")[0], s = t[1].split(" ")[0];
|
|
121
|
+
a.set(`${e}Start`, `${i} 00:00:00`), a.set(`${e}End`, `${s} 23:59:59`);
|
|
122
|
+
}
|
|
123
|
+
} else
|
|
124
|
+
a.set(e, this.queryParam[e]);
|
|
125
|
+
return Object.fromEntries(a);
|
|
126
|
+
},
|
|
127
|
+
...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
128
|
+
},
|
|
129
|
+
methods: {
|
|
130
|
+
editForm(a) {
|
|
131
|
+
this.transKey = "gd.btn.edit", this.$refs.editForm.open(a);
|
|
132
|
+
},
|
|
133
|
+
add() {
|
|
134
|
+
this.$refs.editForm.open();
|
|
135
|
+
},
|
|
136
|
+
edit() {
|
|
137
|
+
if (this.selectedRowKeys.length === 0) {
|
|
138
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (this.selectedRowKeys.length > 1) {
|
|
142
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
this.editForm(this.selectedRows[0]);
|
|
146
|
+
},
|
|
147
|
+
del() {
|
|
148
|
+
if (this.selectedRowKeys.length === 0) {
|
|
149
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (this.selectedRowKeys.length > 1) {
|
|
153
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
157
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
158
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
159
|
+
showClose: !1,
|
|
160
|
+
confirmButtonLoading: !1,
|
|
161
|
+
cancelButtonLoading: !1,
|
|
162
|
+
closeOnClickModal: !1,
|
|
163
|
+
type: "warning",
|
|
164
|
+
confirmButtonClass: "el-button--danger",
|
|
165
|
+
customClass: "custom-alert",
|
|
166
|
+
callback: () => {
|
|
167
|
+
},
|
|
168
|
+
beforeClose: (a, e, t) => {
|
|
169
|
+
this.delHand(a, e, t);
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
delHand(a, e, t) {
|
|
174
|
+
if (a !== "confirm") {
|
|
175
|
+
t();
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
let i = [];
|
|
179
|
+
this.selectedRows.forEach((s) => {
|
|
180
|
+
let r = u({
|
|
181
|
+
id: s.id
|
|
182
|
+
}).then((n) => n);
|
|
183
|
+
i.push(r);
|
|
184
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((s) => {
|
|
185
|
+
const r = s.filter((n) => !n.success);
|
|
186
|
+
r.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + r[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
187
|
+
});
|
|
188
|
+
},
|
|
189
|
+
onSelectChange(a, e) {
|
|
190
|
+
this.selectedRowKeys = a, this.selectedRows = e;
|
|
191
|
+
},
|
|
192
|
+
handleOk() {
|
|
193
|
+
this.refresh();
|
|
194
|
+
},
|
|
195
|
+
refresh() {
|
|
196
|
+
this.$refs.table.refresh();
|
|
197
|
+
},
|
|
198
|
+
dictSwitch(a, e) {
|
|
199
|
+
let t = this.$options.filters.dictData(e).filter((i) => i.code == a)[0];
|
|
200
|
+
return t != null && t.colour ? t.colour : null;
|
|
201
|
+
},
|
|
202
|
+
doEvent(a) {
|
|
203
|
+
let e = a.item.functionName;
|
|
204
|
+
this[e] && this[e]();
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
var _ = function() {
|
|
209
|
+
var e = this, t = e._self._c;
|
|
210
|
+
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
211
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
212
|
+
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: s }) {
|
|
213
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: s, highlight: "" }, on: { click: e.editForm } })];
|
|
214
|
+
} }, { key: "administratorid", fn: function({ column: i, row: s }) {
|
|
215
|
+
return [s.administratorname ? t("span", [e._v(" " + e._s(s.administratorname) + " ")]) : e._e()];
|
|
216
|
+
} }, { key: "teamtype", fn: function(i) {
|
|
217
|
+
return [e.dictSwitch(i.row.teamtype, "teamtype") ? t("el-tag", { style: e._f("dictColor")("teamtype", i.row.teamtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("teamtype", i.row.teamtype)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("teamtype", i.row.teamtype)))])];
|
|
218
|
+
} }]) })], 1), t("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
|
|
219
|
+
}, w = [], $ = /* @__PURE__ */ c(
|
|
220
|
+
b,
|
|
221
|
+
_,
|
|
222
|
+
w,
|
|
223
|
+
!1,
|
|
224
|
+
null,
|
|
225
|
+
"22fbdc27",
|
|
226
|
+
null,
|
|
227
|
+
null
|
|
228
|
+
);
|
|
229
|
+
const l = $.exports;
|
|
230
|
+
l.install = function(a) {
|
|
231
|
+
a.component(l.name, l);
|
|
232
|
+
};
|
|
233
|
+
const v = {
|
|
234
|
+
props: {
|
|
235
|
+
modalAppendToBody: {
|
|
236
|
+
type: Boolean,
|
|
237
|
+
default: !0
|
|
238
|
+
},
|
|
239
|
+
appendToBody: {
|
|
240
|
+
type: Boolean,
|
|
241
|
+
default: !0
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
data() {
|
|
245
|
+
return {
|
|
246
|
+
width: "80%",
|
|
247
|
+
visible: !1,
|
|
248
|
+
fullScreen: !1,
|
|
249
|
+
sysViewButtons: [
|
|
250
|
+
{
|
|
251
|
+
displayName: "\u786E\u5B9A",
|
|
252
|
+
functionName: "handleSubmit",
|
|
253
|
+
show: !0,
|
|
254
|
+
transKey: "gd.btn.confirm",
|
|
255
|
+
icon: "el-icon-document-checked",
|
|
256
|
+
validate: !0
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
confirmLoading: !1,
|
|
260
|
+
type: 0,
|
|
261
|
+
rules: {
|
|
262
|
+
name: [
|
|
263
|
+
{
|
|
264
|
+
required: !0,
|
|
265
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
266
|
+
trigger: "change"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
administratorid: [
|
|
270
|
+
{
|
|
271
|
+
required: !0,
|
|
272
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
273
|
+
trigger: "change"
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
ruleFormData: {
|
|
278
|
+
id: "",
|
|
279
|
+
name: "",
|
|
280
|
+
administratorid: "",
|
|
281
|
+
teamtype: "2",
|
|
282
|
+
description: ""
|
|
283
|
+
},
|
|
284
|
+
dataList: [],
|
|
285
|
+
columnList: [],
|
|
286
|
+
ownerid: "",
|
|
287
|
+
firstLoading: !1
|
|
288
|
+
};
|
|
289
|
+
},
|
|
290
|
+
computed: {
|
|
291
|
+
getHeight() {
|
|
292
|
+
const a = this.fullScreen ? 400 : 548;
|
|
293
|
+
return this.screenHeight - a;
|
|
294
|
+
},
|
|
295
|
+
detailShow() {
|
|
296
|
+
return !!this.ruleFormData.id;
|
|
297
|
+
},
|
|
298
|
+
title() {
|
|
299
|
+
return this.ruleFormData.id ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add");
|
|
300
|
+
},
|
|
301
|
+
...d(["screenHeight"])
|
|
302
|
+
},
|
|
303
|
+
components: {
|
|
304
|
+
teamMemberDetail: () => import("./system.teammembers.b8e53d99.mjs")
|
|
305
|
+
},
|
|
306
|
+
methods: {
|
|
307
|
+
lookupSeled(a) {
|
|
308
|
+
this.dataList = [...a.fkData], this.$set(this.ruleFormData, "administratorid", a.data[0]);
|
|
309
|
+
},
|
|
310
|
+
lookup(a) {
|
|
311
|
+
let e = {
|
|
312
|
+
effectType: "fk",
|
|
313
|
+
fkEntityName: "sys_user",
|
|
314
|
+
val: a || []
|
|
315
|
+
};
|
|
316
|
+
this.$refs.msgSearch.open(e);
|
|
317
|
+
},
|
|
318
|
+
open(a) {
|
|
319
|
+
this.visible = !0, this.fullScreen = !1, this.type = a ? 2 : 1, this.ruleFormData.id = a ? a.id : "", a && this.getDetail(a.id);
|
|
320
|
+
},
|
|
321
|
+
getDetail(a) {
|
|
322
|
+
a != "" && (this.dataList = [], h({
|
|
323
|
+
id: a
|
|
324
|
+
}).then((e) => {
|
|
325
|
+
if (e.code == 200) {
|
|
326
|
+
let t = e.data;
|
|
327
|
+
this.dataList.push({
|
|
328
|
+
id: t.administratorid,
|
|
329
|
+
name: t.administratorname
|
|
330
|
+
}), this.columnList.push({
|
|
331
|
+
id: t.ownerid,
|
|
332
|
+
name: t.ownername
|
|
333
|
+
});
|
|
334
|
+
let i = {
|
|
335
|
+
id: t.id,
|
|
336
|
+
name: t.name,
|
|
337
|
+
teamtype: t.teamtype ? t.teamtype.toString() : "",
|
|
338
|
+
description: t.description,
|
|
339
|
+
administratorid: t.administratorid
|
|
340
|
+
};
|
|
341
|
+
this.firstLoading = !0, this.$nextTick(() => {
|
|
342
|
+
setTimeout(() => {
|
|
343
|
+
this.ruleFormData = i, this.ownerid = t.ownerid;
|
|
344
|
+
}, 0);
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
}));
|
|
348
|
+
},
|
|
349
|
+
searchData(a) {
|
|
350
|
+
this.dataList = [], o({
|
|
351
|
+
fkEntityName: "sys_user",
|
|
352
|
+
id: a.administratorid
|
|
353
|
+
}).then((e) => {
|
|
354
|
+
e.code == 200 && (this.firstLoading = !0, e.data.length > 0 ? this.dataList = e.data : this.dataList.push({
|
|
355
|
+
id: a.administratorid,
|
|
356
|
+
name: a.administratorname
|
|
357
|
+
}));
|
|
358
|
+
});
|
|
359
|
+
},
|
|
360
|
+
searchList() {
|
|
361
|
+
this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
|
|
362
|
+
},
|
|
363
|
+
adminClick(a) {
|
|
364
|
+
this.dataList = [], this.fetching = !0, o({
|
|
365
|
+
fkEntityName: "sys_user",
|
|
366
|
+
name: a
|
|
367
|
+
}).then((e) => {
|
|
368
|
+
e.code == 200 && (this.dataList = e.data);
|
|
369
|
+
});
|
|
370
|
+
},
|
|
371
|
+
handleSubmit() {
|
|
372
|
+
this.$refs.ruleForm.validate((a) => {
|
|
373
|
+
a && (console.log(this.type), this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
|
|
374
|
+
});
|
|
375
|
+
},
|
|
376
|
+
add(a) {
|
|
377
|
+
this.confirmLoading = !0, delete a.id, p(a).then((e) => {
|
|
378
|
+
e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.ruleFormData.id = e.data, this.type = 2, this.getDetail(e.data)) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
|
|
379
|
+
}).finally((e) => {
|
|
380
|
+
this.confirmLoading = !1;
|
|
381
|
+
});
|
|
382
|
+
},
|
|
383
|
+
edit(a) {
|
|
384
|
+
this.confirmLoading = !0, f(a).then((e) => {
|
|
385
|
+
e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
|
|
386
|
+
}).finally((e) => {
|
|
387
|
+
this.confirmLoading = !1;
|
|
388
|
+
});
|
|
389
|
+
},
|
|
390
|
+
handleCancel() {
|
|
391
|
+
this.visible = !1, this.confirmLoading = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
|
|
392
|
+
id: "",
|
|
393
|
+
name: "",
|
|
394
|
+
administratorid: "",
|
|
395
|
+
teamtype: "2",
|
|
396
|
+
description: ""
|
|
397
|
+
}, this.ownerid = "", this.type = 1;
|
|
398
|
+
},
|
|
399
|
+
getDictionary(a) {
|
|
400
|
+
return this.$options.filters.dictData(a);
|
|
401
|
+
},
|
|
402
|
+
toggleFullscreen() {
|
|
403
|
+
this.fullScreen = !this.fullScreen;
|
|
404
|
+
},
|
|
405
|
+
doEvent(a) {
|
|
406
|
+
let e = a.item.functionName;
|
|
407
|
+
this[e] && this[e]();
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
var F = function() {
|
|
412
|
+
var e = this, t = e._self._c;
|
|
413
|
+
return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(i) {
|
|
414
|
+
e.visible = i;
|
|
415
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, closed: "handleCancel" }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(i) {
|
|
416
|
+
i.preventDefault();
|
|
417
|
+
} } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.name", "\u540D\u79F0"), prop: "name" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.name, callback: function(i) {
|
|
418
|
+
e.$set(e.ruleFormData, "name", i);
|
|
419
|
+
}, expression: "ruleFormData.name" } })], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.teamtype", "\u56E2\u961F\u7C7B\u578B"), prop: "teamtype" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: "", placeholder: e.$i18nt("gd.placeholder.select"), clearable: "" }, model: { value: e.ruleFormData.teamtype, callback: function(i) {
|
|
420
|
+
e.$set(e.ruleFormData, "teamtype", i);
|
|
421
|
+
}, expression: "ruleFormData.teamtype" } }, e._l(e.getDictionary("teamtype"), function(i, s) {
|
|
422
|
+
return t("el-option", { key: s, attrs: { value: i.code, label: e.$i18nt(`Dynamics.${i.transkey}`, i.name) } });
|
|
423
|
+
}), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.amdmin", "\u7BA1\u7406\u5458"), prop: "administratorid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, "remote-method": e.adminClick }, on: { focus: e.searchList }, model: { value: e.ruleFormData.administratorid, callback: function(i) {
|
|
424
|
+
e.$set(e.ruleFormData, "administratorid", i);
|
|
425
|
+
}, expression: "ruleFormData.administratorid" } }, e._l(e.dataList, function(i, s) {
|
|
426
|
+
return t("el-option", { key: i.id + "&" + s, attrs: { label: i.name, value: i.id } });
|
|
427
|
+
}), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(i) {
|
|
428
|
+
return e.lookup(e.ruleFormData.administratorid);
|
|
429
|
+
} } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.owner", "\u8D1F\u8D23\u4EBA") } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, disabled: "" }, model: { value: e.ownerid, callback: function(i) {
|
|
430
|
+
e.ownerid = i;
|
|
431
|
+
}, expression: "ownerid" } }, e._l(e.columnList, function(i, s) {
|
|
432
|
+
return t("el-option", { key: s, attrs: { label: i.name, value: i.id } });
|
|
433
|
+
}), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search cao_setting-disabled" })])], 1)])], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.describe", "\u63CF\u8FF0"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(i) {
|
|
434
|
+
e.$set(e.ruleFormData, "description", i);
|
|
435
|
+
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1), e.visible && e.detailShow ? t("el-card", { attrs: { shadow: "never" } }, [t("div", { staticStyle: { "font-weight": "500", "font-size": "17px", "padding-bottom": "6px" } }, [e._v(e._s(e.$i18nt("gd.team.teamMember", "\u56E2\u961F\u6210\u5458")))]), t("teamMemberDetail", { attrs: { sys_teamid: e.ruleFormData.id, type: e.type, openMode: 2, height: e.getHeight, modeType: "components" } })], 1) : e._e()], 1)], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
436
|
+
}, k = [], D = /* @__PURE__ */ c(
|
|
437
|
+
v,
|
|
438
|
+
F,
|
|
439
|
+
k,
|
|
440
|
+
!1,
|
|
441
|
+
null,
|
|
442
|
+
"ae94d1a3",
|
|
443
|
+
null,
|
|
444
|
+
null
|
|
445
|
+
);
|
|
446
|
+
const S = D.exports, L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
447
|
+
__proto__: null,
|
|
448
|
+
default: S
|
|
449
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
450
|
+
export {
|
|
451
|
+
l as G
|
|
452
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./components.chartbi.e9459775.js"),l=require("./http.team.e45400d5.js"),m=require("./utils.mixins.js.750ca50e.js"),o=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const h={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.team.name",prop:"sys_teamid",label:"\u540D\u79F0",type:"slot",slotType:"sys_teamid",align:"left",fixed:!0,width:"220"},{transKey:"gd.team.member",prop:"sys_userid",label:"\u6210\u5458",type:"slot",slotType:"sys_userid",align:"left",width:"220"},{transKey:"gd.user.account",prop:"account",label:"\u8D26\u53F7",type:"slot",slotType:"account",align:"left",width:"260"},{transKey:"gd.user.tel",prop:"phone",label:"\u7535\u8BDD",type:"slot",slotType:"phone",align:"left",width:"180"},{transKey:"gd.user.email",prop:"email",label:"\u90AE\u7BB1",type:"slot",slotType:"email",align:"left",width:"260"},{transKey:"gd.user.employeeID",prop:"employeeid",label:"\u5DE5\u53F7",type:"slot",slotType:"employeeid",align:"left",width:"200"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysTeam:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysTeam:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysTeam:delete"}]}}};const p={name:"GdTeamMembers",mixins:[m.tablesFilter,h],props:{height:{type:Number,default:100},sys_teamid:{type:[Number,String],default:0},modeType:{type:String,default:"page"}},data(){return{transKey:"gd.btn.add",selectedRowKeys:[],selectedRows:[],queryParam:{},disabledRowId:[],loadData:t=>l.sysTeamMembers(Object.assign(t,this.getQueryParam)).then(e=>{if(e.code==200)return this.disabledRowId=this.modeType==="page"?[]:e.data.rows.map(s=>s.sys_userid),e.data})}},computed:{getTableButtons(){return this.modeType==="page"?this.tableButtons.filter(t=>t.functionName!=="add"):this.tableButtons},getHeight(){return this.height},getQueryParam(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&(e==="msgStatus"||e==="sendType"))t.set(e,this.queryParam[e].join(","));else if(this.queryParam[e]&&(e==="actualOn"||e==="createdTime"||e==="scheduledStartedOn")){if(this.queryParam[e].length>0){let s=this.queryParam[e],i=s[0].split(" ")[0],a=s[1].split(" ")[0];t.set(`${e}Start`,`${i} 00:00:00`),t.set(`${e}End`,`${a} 23:59:59`)}}else t.set(e,this.queryParam[e]);return this.modeType==="page"?Object.fromEntries(t):Object.assign(Object.fromEntries(t),{SysTeamId:this.sys_teamid})},...d.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},components:{editForm:()=>Promise.resolve().then(()=>L)},methods:{lookupSeled(t){if(t.fkData.length===0){this.$refs.msgSearch.closed();return}this.$refs.msgSearch.confirmLoading=!0;let e={userIds:t.data,sys_TeamId:this.sys_teamid};l.sysTeamMemberBatchAdd(e).then(s=>{s.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$refs.msgSearch.closed(),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+s.message),this.$refs.msgSearch.confirmLoading=!1})},lookup(){let t={effectType:"participants",fkEntityName:"sys_user",isRelevance:!0,val:[]};this.$refs.msgSearch.open(t)},editForm(t){this.transKey="gd.btn.edit",this.$refs.editForm.open(t)},add(){this.modeType==="page"?this.$refs.editForm.open():this.lookup()},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[],a=l.sysTeamMemberBatchDel({memberIds:this.selectedRowKeys}).then(r=>r);i.push(a),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(r=>{const c=r.filter(u=>!u.success);c.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+c[0].message),s(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},handleOk(){this.refresh()},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!==void 0&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var f=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl"},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(i){e.$set(e.queryParam,"searchValue",i)},expression:"queryParam.searchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.getTableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"sys_teamid",fn:function({column:i,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"teamname",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"sys_userid",fn:function({column:i,row:a}){return[a.sys_userid?s("span",[e._v(" "+e._s(a.username)+" ")]):e._e()]}},{key:"account",fn:function({column:i,row:a}){return[a.account?s("span",[e._v(" "+e._s(a.account)+" ")]):e._e()]}},{key:"phone",fn:function({column:i,row:a}){return[a.phone?s("span",[e._v(" "+e._s(a.phone)+" ")]):e._e()]}},{key:"email",fn:function({column:i,row:a}){return[a.email?s("span",[e._v(" "+e._s(a.email)+" ")]):e._e()]}},{key:"employeeid",fn:function({column:i,row:a}){return[a.employeeid?s("span",[e._v(" "+e._s(a.employeeid)+" ")]):e._e()]}}])})],1),s("gd-search",{ref:"msgSearch",attrs:{disabledRowId:e.disabledRowId,appendToBody:!0},on:{lookupSeled:e.lookupSeled}}),s("editForm",{ref:"editForm",attrs:{openPermissions:!0,modeType:e.modeType,sys_teamid:e.sys_teamid},on:{ok:e.handleOk}})],1)},g=[],y=d.normalizeComponent(p,f,g,!1,null,"6188efb0",null,null);const n=y.exports;n.install=function(t){t.component(n.name,n)};const _={props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0},modeType:{type:String,default:"page"}},data(){return{width:"60%",visible:!1,fullScreen:!1,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],title:"",confirmLoading:!1,type:1,rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}]},ruleFormData:{id:"",sys_userid:"",sys_teamid:""},dataList:[],columnList:[],ownerid:"",firstLoading:!1,firstLoading1:!1}},methods:{lookupSeled(t){t.table.tablename=="sys_team"?(this.columnList=[...t.fkData],Object.assign(this.ruleFormData,{sys_teamid:t.data[0]})):t.table.tablename=="sys_user"&&(this.dataList=[...t.fkData],Object.assign(this.ruleFormData,{sys_userid:t.data[0]}))},lookup(t,e){if(e===2&&this.modeType!=="page")return;let s={effectType:"fk",fkEntityName:e==1?"sys_user":"sys_team",val:t||[]};this.$refs.msgSearch.open(s)},open(t){this.visible=!0,this.fullScreen=!1,this.title=t?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add"),this.type=t?2:1,t&&this.getDetail(t.id)},getDetail(t){t!=""&&(this.dataList=[],l.sysTeamMemberDetail({id:t}).then(e=>{if(e.code==200){let s=e.data;this.dataList.push({id:s.sys_userid,name:s.username}),this.columnList.push({id:s.sys_teamid,name:s.teamname});let i={id:s.id,sys_userid:s.sys_userid,sys_teamid:s.sys_teamid};this.firstLoading=!0,this.firstLoading1=!0,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData=i},0)})}}))},searchData(t){this.dataList=[],o.baseFkList({fkEntityName:"sys_user",id:t.administratorid}).then(e=>{e.code==200&&(this.firstLoading=!0,e.data.length>0?this.dataList=e.data:this.dataList.push({id:t.administratorid,name:t.administratorname}))})},searchList(){this.firstLoading||(this.adminClick(""),this.firstLoading=!0)},adminClick(t){this.dataList=[],this.fetching=!0,o.baseFkList({fkEntityName:"sys_user",name:t}).then(e=>{e.code==200&&(this.dataList=e.data)})},searchList1(){this.firstLoading1||(this.userClick(""),this.firstLoading1=!0)},userClick(t){this.columnList=[],this.fetching=!0,o.baseFkList({fkEntityName:"sys_team",name:t}).then(e=>{e.code==200&&(this.columnList=e.data)})},handleSubmit(){this.$refs.ruleForm.validate(t=>{t&&(this.type==1?this.add(this.ruleFormData):this.edit(this.ruleFormData))})},add(t){this.confirmLoading=!0,delete t.id,l.sysTeamMemberAdd(t).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},edit(t){this.confirmLoading=!0,l.sysTeamMemberEdit(t).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.firstLoading=!1,this.firstLoading1=!1,this.$refs.ruleForm.resetFields(),this.ruleFormData={sys_userid:"",sys_teamid:""}},getDictionary(t){return this.$options.filters.dictData(t)},toggleFullscreen(){this.fullScreen=!this.fullScreen},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var b=function(){var e=this,s=e._self._c;return s("div",[s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,fullscreen:e.fullScreen,footer:null,top:"80px","modal-append-to-body":e.modalAppendToBody,"append-to-body":e.appendToBody,"close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-form",{ref:"ruleForm",attrs:{rules:e.rules,model:e.ruleFormData,"label-width":"100px"},nativeOn:{submit:function(i){i.preventDefault()}}},[s("el-row",{attrs:{gutter:24}},[s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.team.member","\u7528\u6237"),prop:"sys_userid"}},[s("div",{staticClass:"cao_about"},[s("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.adminClick},on:{focus:e.searchList},model:{value:e.ruleFormData.sys_userid,callback:function(i){e.$set(e.ruleFormData,"sys_userid",i)},expression:"ruleFormData.sys_userid"}},e._l(e.dataList,function(i,a){return s("el-option",{key:i.id+"&"+a,attrs:{label:i.name,value:i.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.sys_userid,1)}}})])],1)])],1),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.team.team","\u56E2\u961F"),prop:"sys_teamid"}},[s("div",{staticClass:"cao_about"},[s("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.userClick,disabled:e.modeType!=="page"},on:{focus:e.searchList1},model:{value:e.ruleFormData.sys_teamid,callback:function(i){e.$set(e.ruleFormData,"sys_teamid",i)},expression:"ruleFormData.sys_teamid"}},e._l(e.columnList,function(i,a){return s("el-option",{key:i.id+"&"+a,attrs:{label:i.name,value:i.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.sys_teamid,2)}}})])],1)])],1)],1)],1)],1)])],1),s("gd-search",{ref:"msgSearch",attrs:{appendToBody:!0},on:{lookupSeled:e.lookupSeled}})],1)},v=[],k=d.normalizeComponent(_,b,v,!1,null,"2c9dc622",null,null);const $=k.exports,L=Object.freeze(Object.defineProperty({__proto__:null,default:$},Symbol.toStringTag,{value:"Module"}));exports.default=n;
|