gds-plus-design-vue 1.2.61 → 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 -91087
- 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.6c47713a.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.28952cf7.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5b3edd34.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.b4704b4b.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.1787f71e.mjs → messages.ad082386.mjs} +994 -1952
- 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.9bee857f.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.926c6da1.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.d48f77d5.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.a91a8420.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.ca5f4aae.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.e80ba9c9.mjs → system.log.b86cf57f.mjs} +31 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.c1e753fb.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.a6017645.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.bbf6efd3.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.2b756c66.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.5f9e7b94.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.17fe31d5.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.c503c5b7.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.a169dcb9.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.00fc2917.mjs → system.promptmanagement.d7250932.mjs} +153 -287
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.52d67131.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.357dc3bb.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.90598753.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.f66ddd64.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.279d9e27.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.80ca9f42.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.10ae5122.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.b5c11d9e.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.6dbe70f3.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.a162fc7d.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 +48 -23
- package/locale/id_ID.js +32 -7
- package/locale/vi_VN.js +1973 -1948
- package/locale/zh_CN.js +53 -29
- package/package.json +106 -105
- package/lib/chartbi.0d1d3b58.mjs +0 -27639
- package/lib/chartbi.d3f580d6.js +0 -60
- package/lib/main.0088ac99.js +0 -1
- package/lib/main.34c14bdb.js +0 -1
- package/lib/main.4b9adacf.js +0 -1
- package/lib/main.d1239940.js +0 -1
- package/lib/messages.add7c391.js +0 -9
- package/lib/system.account.00b82418.mjs +0 -2552
- package/lib/system.account.04cb26b6.js +0 -216
- package/lib/system.config.6244fa9b.js +0 -1
- package/lib/system.datasource.32878f5f.js +0 -1
- package/lib/system.dict.d25839ec.js +0 -1
- package/lib/system.duplicatechecking.4ed8c391.mjs +0 -2142
- package/lib/system.duplicatechecking.670ee24a.js +0 -1
- package/lib/system.email.52671629.mjs +0 -7432
- package/lib/system.email.dd537fd0.js +0 -41
- package/lib/system.fieldsecurity.4947c737.js +0 -1
- package/lib/system.file.93d65d16.js +0 -1
- package/lib/system.log.252cce0b.js +0 -1
- package/lib/system.machine.4e393981.js +0 -1
- package/lib/system.notice.ab23c15b.js +0 -1
- package/lib/system.noticereceived.123b764e.js +0 -1
- package/lib/system.onlineuser.295ad7f5.js +0 -1
- package/lib/system.org.c3bb51ff.js +0 -1
- package/lib/system.permissions.967200f1.js +0 -9
- package/lib/system.plugin.f8da8731.js +0 -1
- package/lib/system.pos.22fabf30.js +0 -1
- package/lib/system.promptmanagement.639a98e1.js +0 -1
- package/lib/system.role.4cf72743.js +0 -1
- package/lib/system.sumberrules.1a5b80df.js +0 -1
- package/lib/system.team.777feecf.mjs +0 -1000
- package/lib/system.team.ad10fc96.js +0 -1
- package/lib/system.teammembers.b193dd23.js +0 -1
- package/lib/system.timers.e31fe5fd.js +0 -38
- package/lib/system.translation.d3ed3d35.js +0 -1
- package/lib/system.useraffiliation.593c9ad4.js +0 -1
- package/lib/system.webresource.25e56654.js +0 -1
- package/lib/system.welcome.ec4e941f.js +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { n as d, m as u } from "./chartbi.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { n as d, m as u } from "./components.chartbi.b043dcdc.mjs";
|
|
2
|
+
import { e as m, f as h, g as f, h as p, i as g, j as y } from "./http.team.c8487c0b.mjs";
|
|
3
|
+
import { t as _ } from "./utils.mixins.js.be01e599.mjs";
|
|
4
|
+
import { a as n } from "./http.main.40657f51.mjs";
|
|
5
|
+
const b = {
|
|
5
6
|
data() {
|
|
6
7
|
return {
|
|
7
8
|
tableColumns: [
|
|
@@ -36,7 +37,7 @@ const _ = {
|
|
|
36
37
|
type: "slot",
|
|
37
38
|
slotType: "account",
|
|
38
39
|
align: "left",
|
|
39
|
-
width: "
|
|
40
|
+
width: "260"
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
43
|
transKey: "gd.user.tel",
|
|
@@ -54,7 +55,7 @@ const _ = {
|
|
|
54
55
|
type: "slot",
|
|
55
56
|
slotType: "email",
|
|
56
57
|
align: "left",
|
|
57
|
-
width: "
|
|
58
|
+
width: "260"
|
|
58
59
|
},
|
|
59
60
|
{
|
|
60
61
|
transKey: "gd.user.employeeID",
|
|
@@ -63,7 +64,7 @@ const _ = {
|
|
|
63
64
|
type: "slot",
|
|
64
65
|
slotType: "employeeid",
|
|
65
66
|
align: "left",
|
|
66
|
-
width: "
|
|
67
|
+
width: "200"
|
|
67
68
|
}
|
|
68
69
|
],
|
|
69
70
|
tableButtons: [
|
|
@@ -96,7 +97,7 @@ const _ = {
|
|
|
96
97
|
};
|
|
97
98
|
}
|
|
98
99
|
};
|
|
99
|
-
const
|
|
100
|
+
const v = {
|
|
100
101
|
props: {
|
|
101
102
|
modalAppendToBody: {
|
|
102
103
|
type: Boolean,
|
|
@@ -105,6 +106,10 @@ const b = {
|
|
|
105
106
|
appendToBody: {
|
|
106
107
|
type: Boolean,
|
|
107
108
|
default: !0
|
|
109
|
+
},
|
|
110
|
+
modeType: {
|
|
111
|
+
type: String,
|
|
112
|
+
default: "page"
|
|
108
113
|
}
|
|
109
114
|
},
|
|
110
115
|
data() {
|
|
@@ -112,23 +117,27 @@ const b = {
|
|
|
112
117
|
width: "60%",
|
|
113
118
|
visible: !1,
|
|
114
119
|
fullScreen: !1,
|
|
115
|
-
sysViewButtons: [
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
sysViewButtons: [
|
|
121
|
+
{
|
|
122
|
+
displayName: "\u786E\u5B9A",
|
|
123
|
+
functionName: "handleSubmit",
|
|
124
|
+
show: !0,
|
|
125
|
+
transKey: "gd.btn.confirm",
|
|
126
|
+
icon: "el-icon-document-checked",
|
|
127
|
+
validate: !0
|
|
128
|
+
}
|
|
129
|
+
],
|
|
123
130
|
title: "",
|
|
124
131
|
confirmLoading: !1,
|
|
125
132
|
type: 1,
|
|
126
133
|
rules: {
|
|
127
|
-
name: [
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
134
|
+
name: [
|
|
135
|
+
{
|
|
136
|
+
required: !0,
|
|
137
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
138
|
+
trigger: "change"
|
|
139
|
+
}
|
|
140
|
+
]
|
|
132
141
|
},
|
|
133
142
|
ruleFormData: {
|
|
134
143
|
id: "",
|
|
@@ -144,9 +153,15 @@ const b = {
|
|
|
144
153
|
},
|
|
145
154
|
methods: {
|
|
146
155
|
lookupSeled(t) {
|
|
147
|
-
t.table.tablename == "sys_team" ? (this.columnList = [...t.fkData],
|
|
156
|
+
t.table.tablename == "sys_team" ? (this.columnList = [...t.fkData], Object.assign(this.ruleFormData, {
|
|
157
|
+
sys_teamid: t.data[0]
|
|
158
|
+
})) : t.table.tablename == "sys_user" && (this.dataList = [...t.fkData], Object.assign(this.ruleFormData, {
|
|
159
|
+
sys_userid: t.data[0]
|
|
160
|
+
}));
|
|
148
161
|
},
|
|
149
162
|
lookup(t, e) {
|
|
163
|
+
if (e === 2 && this.modeType !== "page")
|
|
164
|
+
return;
|
|
150
165
|
let s = {
|
|
151
166
|
effectType: "fk",
|
|
152
167
|
fkEntityName: e == 1 ? "sys_user" : "sys_team",
|
|
@@ -170,21 +185,21 @@ const b = {
|
|
|
170
185
|
id: s.sys_teamid,
|
|
171
186
|
name: s.teamname
|
|
172
187
|
});
|
|
173
|
-
let
|
|
188
|
+
let a = {
|
|
174
189
|
id: s.id,
|
|
175
190
|
sys_userid: s.sys_userid,
|
|
176
191
|
sys_teamid: s.sys_teamid
|
|
177
192
|
};
|
|
178
193
|
this.firstLoading = !0, this.firstLoading1 = !0, this.$nextTick(() => {
|
|
179
194
|
setTimeout(() => {
|
|
180
|
-
this.ruleFormData =
|
|
195
|
+
this.ruleFormData = a;
|
|
181
196
|
}, 0);
|
|
182
197
|
});
|
|
183
198
|
}
|
|
184
199
|
}));
|
|
185
200
|
},
|
|
186
201
|
searchData(t) {
|
|
187
|
-
this.dataList = [],
|
|
202
|
+
this.dataList = [], n({
|
|
188
203
|
fkEntityName: "sys_user",
|
|
189
204
|
id: t.administratorid
|
|
190
205
|
}).then((e) => {
|
|
@@ -198,7 +213,7 @@ const b = {
|
|
|
198
213
|
this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
|
|
199
214
|
},
|
|
200
215
|
adminClick(t) {
|
|
201
|
-
this.dataList = [], this.fetching = !0,
|
|
216
|
+
this.dataList = [], this.fetching = !0, n({
|
|
202
217
|
fkEntityName: "sys_user",
|
|
203
218
|
name: t
|
|
204
219
|
}).then((e) => {
|
|
@@ -209,7 +224,7 @@ const b = {
|
|
|
209
224
|
this.firstLoading1 || (this.userClick(""), this.firstLoading1 = !0);
|
|
210
225
|
},
|
|
211
226
|
userClick(t) {
|
|
212
|
-
this.columnList = [], this.fetching = !0,
|
|
227
|
+
this.columnList = [], this.fetching = !0, n({
|
|
213
228
|
fkEntityName: "sys_team",
|
|
214
229
|
name: t
|
|
215
230
|
}).then((e) => {
|
|
@@ -253,43 +268,51 @@ const b = {
|
|
|
253
268
|
}
|
|
254
269
|
}
|
|
255
270
|
};
|
|
256
|
-
var
|
|
271
|
+
var k = function() {
|
|
257
272
|
var e = this, s = e._self._c;
|
|
258
|
-
return s("div", [s("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog
|
|
259
|
-
e.visible =
|
|
260
|
-
}, 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(
|
|
261
|
-
|
|
262
|
-
} } }, [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(
|
|
263
|
-
e.$set(e.ruleFormData, "sys_userid",
|
|
264
|
-
}, expression: "ruleFormData.sys_userid" } }, e._l(e.dataList, function(
|
|
265
|
-
return s("el-option", { key:
|
|
266
|
-
}), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(
|
|
273
|
+
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(a) {
|
|
274
|
+
e.visible = a;
|
|
275
|
+
}, 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(a) {
|
|
276
|
+
a.preventDefault();
|
|
277
|
+
} } }, [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(a) {
|
|
278
|
+
e.$set(e.ruleFormData, "sys_userid", a);
|
|
279
|
+
}, expression: "ruleFormData.sys_userid" } }, e._l(e.dataList, function(a, i) {
|
|
280
|
+
return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
|
|
281
|
+
}), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
|
|
267
282
|
return e.lookup(e.ruleFormData.sys_userid, 1);
|
|
268
|
-
} } })])], 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 }, on: { focus: e.searchList1 }, model: { value: e.ruleFormData.sys_teamid, callback: function(
|
|
269
|
-
e.$set(e.ruleFormData, "sys_teamid",
|
|
270
|
-
}, expression: "ruleFormData.sys_teamid" } }, e._l(e.columnList, function(
|
|
271
|
-
return s("el-option", { key:
|
|
272
|
-
}), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(
|
|
283
|
+
} } })])], 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(a) {
|
|
284
|
+
e.$set(e.ruleFormData, "sys_teamid", a);
|
|
285
|
+
}, expression: "ruleFormData.sys_teamid" } }, e._l(e.columnList, function(a, i) {
|
|
286
|
+
return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
|
|
287
|
+
}), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
|
|
273
288
|
return e.lookup(e.ruleFormData.sys_teamid, 2);
|
|
274
289
|
} } })])], 1)])], 1)], 1)], 1)], 1)])], 1), s("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
275
290
|
}, $ = [], L = /* @__PURE__ */ d(
|
|
276
|
-
b,
|
|
277
291
|
v,
|
|
292
|
+
k,
|
|
278
293
|
$,
|
|
279
294
|
!1,
|
|
280
295
|
null,
|
|
281
|
-
"
|
|
296
|
+
"9787ca8a",
|
|
282
297
|
null,
|
|
283
298
|
null
|
|
284
299
|
);
|
|
285
|
-
const
|
|
286
|
-
const
|
|
300
|
+
const w = L.exports;
|
|
301
|
+
const T = {
|
|
287
302
|
name: "GdTeamMembers",
|
|
288
|
-
mixins: [
|
|
303
|
+
mixins: [_, b],
|
|
289
304
|
props: {
|
|
290
305
|
height: {
|
|
291
306
|
type: Number,
|
|
292
307
|
default: 100
|
|
308
|
+
},
|
|
309
|
+
sys_teamid: {
|
|
310
|
+
type: [Number, String],
|
|
311
|
+
default: 0
|
|
312
|
+
},
|
|
313
|
+
modeType: {
|
|
314
|
+
type: String,
|
|
315
|
+
default: "page"
|
|
293
316
|
}
|
|
294
317
|
},
|
|
295
318
|
data() {
|
|
@@ -298,10 +321,17 @@ const w = {
|
|
|
298
321
|
selectedRowKeys: [],
|
|
299
322
|
selectedRows: [],
|
|
300
323
|
queryParam: {},
|
|
301
|
-
|
|
324
|
+
disabledRowId: [],
|
|
325
|
+
loadData: (t) => p(Object.assign(t, this.getQueryParam)).then((e) => {
|
|
326
|
+
if (e.code == 200)
|
|
327
|
+
return this.disabledRowId = this.modeType === "page" ? [] : e.data.rows.map((s) => s.sys_userid), e.data;
|
|
328
|
+
})
|
|
302
329
|
};
|
|
303
330
|
},
|
|
304
331
|
computed: {
|
|
332
|
+
getTableButtons() {
|
|
333
|
+
return this.modeType === "page" ? this.tableButtons.filter((t) => t.functionName !== "add") : this.tableButtons;
|
|
334
|
+
},
|
|
305
335
|
getHeight() {
|
|
306
336
|
return this.height;
|
|
307
337
|
},
|
|
@@ -312,30 +342,49 @@ const w = {
|
|
|
312
342
|
t.set(e, this.queryParam[e].join(","));
|
|
313
343
|
else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
|
|
314
344
|
if (this.queryParam[e].length > 0) {
|
|
315
|
-
let s = this.queryParam[e],
|
|
316
|
-
t.set(`${e}Start`, `${
|
|
345
|
+
let s = this.queryParam[e], a = s[0].split(" ")[0], i = s[1].split(" ")[0];
|
|
346
|
+
t.set(`${e}Start`, `${a} 00:00:00`), t.set(`${e}End`, `${i} 23:59:59`);
|
|
317
347
|
}
|
|
318
348
|
} else
|
|
319
349
|
t.set(e, this.queryParam[e]);
|
|
320
|
-
return Object.fromEntries(t)
|
|
350
|
+
return this.modeType === "page" ? Object.fromEntries(t) : Object.assign(Object.fromEntries(t), {
|
|
351
|
+
SysTeamId: this.sys_teamid
|
|
352
|
+
});
|
|
321
353
|
},
|
|
322
354
|
...u(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
323
355
|
},
|
|
324
356
|
components: {
|
|
325
|
-
editForm:
|
|
357
|
+
editForm: w
|
|
326
358
|
},
|
|
327
359
|
methods: {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
360
|
+
lookupSeled(t) {
|
|
361
|
+
if (t.fkData.length === 0) {
|
|
362
|
+
this.$refs.msgSearch.closed();
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
365
|
+
this.$refs.msgSearch.confirmLoading = !0;
|
|
366
|
+
let e = {
|
|
367
|
+
userIds: t.data,
|
|
368
|
+
sys_TeamId: this.sys_teamid
|
|
369
|
+
};
|
|
370
|
+
g(e).then((s) => {
|
|
371
|
+
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;
|
|
332
372
|
});
|
|
333
373
|
},
|
|
374
|
+
lookup() {
|
|
375
|
+
let t = {
|
|
376
|
+
effectType: "participants",
|
|
377
|
+
fkEntityName: "sys_user",
|
|
378
|
+
isRelevance: !0,
|
|
379
|
+
val: []
|
|
380
|
+
};
|
|
381
|
+
this.$refs.msgSearch.open(t);
|
|
382
|
+
},
|
|
334
383
|
editForm(t) {
|
|
335
384
|
this.transKey = "gd.btn.edit", this.$refs.editForm.open(t);
|
|
336
385
|
},
|
|
337
386
|
add() {
|
|
338
|
-
this.$refs.editForm.open();
|
|
387
|
+
this.modeType === "page" ? this.$refs.editForm.open() : this.lookup();
|
|
339
388
|
},
|
|
340
389
|
edit() {
|
|
341
390
|
if (this.selectedRowKeys.length === 0) {
|
|
@@ -375,9 +424,9 @@ const w = {
|
|
|
375
424
|
s();
|
|
376
425
|
return;
|
|
377
426
|
}
|
|
378
|
-
let
|
|
379
|
-
|
|
380
|
-
const o =
|
|
427
|
+
let a = [], i = y({ memberIds: this.selectedRowKeys }).then((l) => l);
|
|
428
|
+
a.push(i), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((l) => {
|
|
429
|
+
const o = l.filter((c) => !c.success);
|
|
381
430
|
o.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") + o[0].message), s(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
382
431
|
});
|
|
383
432
|
},
|
|
@@ -391,8 +440,8 @@ const w = {
|
|
|
391
440
|
this.$refs.table.refresh();
|
|
392
441
|
},
|
|
393
442
|
dictSwitch(t, e) {
|
|
394
|
-
let s = this.$options.filters.dictData(e).filter((
|
|
395
|
-
return s
|
|
443
|
+
let s = this.$options.filters.dictData(e).filter((a) => a.code == t)[0];
|
|
444
|
+
return s !== void 0 && s.colour ? s.colour : null;
|
|
396
445
|
},
|
|
397
446
|
doEvent(t) {
|
|
398
447
|
let e = t.item.functionName;
|
|
@@ -400,34 +449,38 @@ const w = {
|
|
|
400
449
|
}
|
|
401
450
|
}
|
|
402
451
|
};
|
|
403
|
-
var
|
|
452
|
+
var S = function() {
|
|
404
453
|
var e = this, s = e._self._c;
|
|
405
454
|
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() {
|
|
406
|
-
return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
} }, { key: "
|
|
412
|
-
return [
|
|
413
|
-
} }, { key: "
|
|
414
|
-
return [
|
|
415
|
-
} }, { key: "
|
|
416
|
-
return [
|
|
417
|
-
} }, { key: "
|
|
418
|
-
return [
|
|
419
|
-
} }
|
|
420
|
-
|
|
421
|
-
|
|
455
|
+
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(a) {
|
|
456
|
+
return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
457
|
+
} }, model: { value: e.queryParam.searchValue, callback: function(a) {
|
|
458
|
+
e.$set(e.queryParam, "searchValue", a);
|
|
459
|
+
}, 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)])];
|
|
460
|
+
}, proxy: !0 }, { key: "sys_teamid", fn: function({ column: a, row: i }) {
|
|
461
|
+
return [s("gd-tooltip", { attrs: { rowKey: "teamname", row: i, highlight: "" }, on: { click: e.editForm } })];
|
|
462
|
+
} }, { key: "sys_userid", fn: function({ column: a, row: i }) {
|
|
463
|
+
return [i.sys_userid ? s("span", [e._v(" " + e._s(i.username) + " ")]) : e._e()];
|
|
464
|
+
} }, { key: "account", fn: function({ column: a, row: i }) {
|
|
465
|
+
return [i.account ? s("span", [e._v(" " + e._s(i.account) + " ")]) : e._e()];
|
|
466
|
+
} }, { key: "phone", fn: function({ column: a, row: i }) {
|
|
467
|
+
return [i.phone ? s("span", [e._v(" " + e._s(i.phone) + " ")]) : e._e()];
|
|
468
|
+
} }, { key: "email", fn: function({ column: a, row: i }) {
|
|
469
|
+
return [i.email ? s("span", [e._v(" " + e._s(i.email) + " ")]) : e._e()];
|
|
470
|
+
} }, { key: "employeeid", fn: function({ column: a, row: i }) {
|
|
471
|
+
return [i.employeeid ? s("span", [e._v(" " + e._s(i.employeeid) + " ")]) : e._e()];
|
|
472
|
+
} }]) })], 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);
|
|
473
|
+
}, C = [], F = /* @__PURE__ */ d(
|
|
474
|
+
T,
|
|
475
|
+
S,
|
|
422
476
|
C,
|
|
423
|
-
F,
|
|
424
477
|
!1,
|
|
425
478
|
null,
|
|
426
|
-
"
|
|
479
|
+
"7971f8bf",
|
|
427
480
|
null,
|
|
428
481
|
null
|
|
429
482
|
);
|
|
430
|
-
const r =
|
|
483
|
+
const r = F.exports;
|
|
431
484
|
r.install = function(t) {
|
|
432
485
|
t.component(r.name, r);
|
|
433
486
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d=require("./components.chartbi.e4680eaa.js"),n=require("./http.team.e45400d5.js"),m=require("./utils.mixins.js.750ca50e.js"),o=require("./http.main.2f8a6936.js"),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={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=[],n.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 a={id:s.id,sys_userid:s.sys_userid,sys_teamid:s.sys_teamid};this.firstLoading=!0,this.firstLoading1=!0,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData=a},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,n.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,n.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 f=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(a){e.visible=a},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(a){a.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(a){e.$set(e.ruleFormData,"sys_userid",a)},expression:"ruleFormData.sys_userid"}},e._l(e.dataList,function(a,i){return s("el-option",{key:a.id+"&"+i,attrs:{label:a.name,value:a.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(a){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(a){e.$set(e.ruleFormData,"sys_teamid",a)},expression:"ruleFormData.sys_teamid"}},e._l(e.columnList,function(a,i){return s("el-option",{key:a.id+"&"+i,attrs:{label:a.name,value:a.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(a){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)},g=[],y=d.normalizeComponent(p,f,g,!1,null,"9787ca8a",null,null);const _=y.exports;const b={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=>n.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],a=s[0].split(" ")[0],i=s[1].split(" ")[0];t.set(`${e}Start`,`${a} 00:00:00`),t.set(`${e}End`,`${i} 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:_},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};n.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 a=[],i=n.sysTeamMemberBatchDel({memberIds:this.selectedRowKeys}).then(r=>r);a.push(i),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(a).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(a=>a.code==t)[0];return s!==void 0&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var k=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(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(a){e.$set(e.queryParam,"searchValue",a)},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:a,row:i}){return[s("gd-tooltip",{attrs:{rowKey:"teamname",row:i,highlight:""},on:{click:e.editForm}})]}},{key:"sys_userid",fn:function({column:a,row:i}){return[i.sys_userid?s("span",[e._v(" "+e._s(i.username)+" ")]):e._e()]}},{key:"account",fn:function({column:a,row:i}){return[i.account?s("span",[e._v(" "+e._s(i.account)+" ")]):e._e()]}},{key:"phone",fn:function({column:a,row:i}){return[i.phone?s("span",[e._v(" "+e._s(i.phone)+" ")]):e._e()]}},{key:"email",fn:function({column:a,row:i}){return[i.email?s("span",[e._v(" "+e._s(i.email)+" ")]):e._e()]}},{key:"employeeid",fn:function({column:a,row:i}){return[i.employeeid?s("span",[e._v(" "+e._s(i.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)},v=[],$=d.normalizeComponent(b,k,v,!1,null,"7971f8bf",null,null);const l=$.exports;l.install=function(t){t.component(l.name,l)};exports.GDpackage=l;
|