gds-plus-design-vue 1.2.6 → 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 -91087
- 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.f0045877.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.c41228a0.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.b5a3be02.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.3caa11e1.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.a739f4fc.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.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.cb276470.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.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.8064c8e9.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.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.c0a69360.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.1169fe47.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.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.087015a4.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.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.63b6bb36.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.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.14785b50.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 +92 -28
- package/locale/id_ID.js +76 -12
- package/locale/vi_VN.js +2012 -1948
- package/locale/zh_CN.js +97 -33
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.03984fed.js +0 -1
- package/lib/main.1050afb3.js +0 -1
- package/lib/main.64122541.js +0 -1
- package/lib/main.b7d2c6ee.js +0 -1
- package/lib/messages.828b6ed8.js +0 -9
- package/lib/system.account.3181bcd6.js +0 -216
- package/lib/system.account.7c6ea20c.mjs +0 -2552
- package/lib/system.config.10f57fa2.js +0 -1
- package/lib/system.datasource.d5eea7f2.js +0 -1
- package/lib/system.dict.d73658f1.js +0 -1
- package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
- package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
- package/lib/system.email.4bf52f2d.js +0 -41
- package/lib/system.email.db5da8d7.mjs +0 -7432
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.c1884db7.js +0 -1
- package/lib/system.log.389af80d.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.a89f4826.js +0 -1
- package/lib/system.noticereceived.5e0773c3.js +0 -1
- package/lib/system.onlineuser.67733846.js +0 -1
- package/lib/system.org.ff54d620.js +0 -1
- package/lib/system.permissions.cc9a9866.mjs +0 -212
- package/lib/system.permissions.e6317c5a.js +0 -9
- package/lib/system.plugin.3467d572.js +0 -1
- package/lib/system.pos.4aadf86e.js +0 -1
- package/lib/system.promptmanagement.9ba710d6.js +0 -1
- package/lib/system.role.890c8ca2.js +0 -1
- package/lib/system.sumberrules.068ebe4a.js +0 -1
- package/lib/system.team.27cd57f7.mjs +0 -1000
- package/lib/system.team.2b28502b.js +0 -1
- package/lib/system.teammembers.e3baf783.js +0 -1
- package/lib/system.timers.cb0a3bd0.js +0 -38
- package/lib/system.translation.f3884a0a.js +0 -1
- package/lib/system.user.3bd95871.js +0 -14
- package/lib/system.useraffiliation.7db6e13c.js +0 -1
- package/lib/system.webresource.ede248a8.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -1,1000 +0,0 @@
|
|
|
1
|
-
import { n as o, m as c } from "./chartbi.eb4dd0af.mjs";
|
|
2
|
-
import { f as r, t as m } from "./messages.a739f4fc.mjs";
|
|
3
|
-
function h(s) {
|
|
4
|
-
return window.axios({
|
|
5
|
-
url: "/sysTeam/page",
|
|
6
|
-
method: "get",
|
|
7
|
-
params: s
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
function p(s) {
|
|
11
|
-
return window.axios({
|
|
12
|
-
url: "/sysTeam/add",
|
|
13
|
-
method: "post",
|
|
14
|
-
data: s
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function f(s) {
|
|
18
|
-
return window.axios({
|
|
19
|
-
url: "/sysTeam/edit",
|
|
20
|
-
method: "post",
|
|
21
|
-
data: s
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function g(s) {
|
|
25
|
-
return window.axios({
|
|
26
|
-
url: "/sysTeam/delete",
|
|
27
|
-
method: "post",
|
|
28
|
-
data: s
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
function y(s) {
|
|
32
|
-
return window.axios({
|
|
33
|
-
url: "/sysTeam/detail",
|
|
34
|
-
method: "get",
|
|
35
|
-
params: s
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function _(s) {
|
|
39
|
-
return window.axios({
|
|
40
|
-
url: "/sysTeam/members",
|
|
41
|
-
method: "get",
|
|
42
|
-
params: s
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function b(s) {
|
|
46
|
-
return window.axios({
|
|
47
|
-
url: "/sysTeam/member/add",
|
|
48
|
-
method: "post",
|
|
49
|
-
data: s
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
function w(s) {
|
|
53
|
-
return window.axios({
|
|
54
|
-
url: "/sysTeam/member/batchadd",
|
|
55
|
-
method: "post",
|
|
56
|
-
data: s
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function $(s) {
|
|
60
|
-
return window.axios({
|
|
61
|
-
url: "/sysTeam/member/edit",
|
|
62
|
-
method: "post",
|
|
63
|
-
data: s
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
function v(s) {
|
|
67
|
-
return window.axios({
|
|
68
|
-
url: "/sysTeam/member/batchdel",
|
|
69
|
-
method: "post",
|
|
70
|
-
data: s
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
function k(s) {
|
|
74
|
-
return window.axios({
|
|
75
|
-
url: "/sysTeam/member/detail",
|
|
76
|
-
method: "get",
|
|
77
|
-
params: s
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
const F = {
|
|
81
|
-
data() {
|
|
82
|
-
return {
|
|
83
|
-
tableColumns: [
|
|
84
|
-
{
|
|
85
|
-
type: "selection",
|
|
86
|
-
width: "60",
|
|
87
|
-
fixed: !0
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
transKey: "gd.team.name",
|
|
91
|
-
prop: "name",
|
|
92
|
-
label: "\u540D\u79F0",
|
|
93
|
-
type: "slot",
|
|
94
|
-
slotType: "name",
|
|
95
|
-
align: "left",
|
|
96
|
-
width: "220",
|
|
97
|
-
fixed: !0,
|
|
98
|
-
showOverflowTooltip: !0
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
transKey: "gd.team.amdmin",
|
|
102
|
-
prop: "administratorid",
|
|
103
|
-
label: "\u7BA1\u7406\u5458",
|
|
104
|
-
width: "220",
|
|
105
|
-
type: "slot",
|
|
106
|
-
slotType: "administratorid",
|
|
107
|
-
align: "left"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
transKey: "gd.team.teamtype",
|
|
111
|
-
prop: "teamtype",
|
|
112
|
-
label: "\u56E2\u961F\u7C7B\u578B",
|
|
113
|
-
width: "180",
|
|
114
|
-
type: "slot",
|
|
115
|
-
slotType: "teamtype",
|
|
116
|
-
align: "left"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
transKey: "gd.team.createdTime",
|
|
120
|
-
prop: "createdtime",
|
|
121
|
-
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
122
|
-
align: "center",
|
|
123
|
-
width: "180"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
transKey: "gd.team.describe",
|
|
127
|
-
prop: "description",
|
|
128
|
-
label: "\u63CF\u8FF0",
|
|
129
|
-
width: "260",
|
|
130
|
-
align: "left"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
tableButtons: [
|
|
134
|
-
{
|
|
135
|
-
displayName: "\u65B0\u589E",
|
|
136
|
-
functionName: "add",
|
|
137
|
-
show: !0,
|
|
138
|
-
transKey: "gd.btn.add",
|
|
139
|
-
icon: "el-icon-plus",
|
|
140
|
-
name: "sysTeam:add"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
displayName: "\u7F16\u8F91",
|
|
144
|
-
functionName: "edit",
|
|
145
|
-
show: !0,
|
|
146
|
-
transKey: "gd.btn.edit",
|
|
147
|
-
icon: "el-icon-edit",
|
|
148
|
-
name: "sysTeam:edit"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
displayName: "\u5220\u9664",
|
|
152
|
-
functionName: "del",
|
|
153
|
-
show: !0,
|
|
154
|
-
transKey: "gd.btn.del",
|
|
155
|
-
icon: "el-icon-delete",
|
|
156
|
-
btnType: "danger",
|
|
157
|
-
name: "sysTeam:delete"
|
|
158
|
-
}
|
|
159
|
-
]
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
}, L = {
|
|
163
|
-
data() {
|
|
164
|
-
return {
|
|
165
|
-
tableColumns: [
|
|
166
|
-
{
|
|
167
|
-
type: "selection",
|
|
168
|
-
width: "60",
|
|
169
|
-
fixed: !0
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
transKey: "gd.team.name",
|
|
173
|
-
prop: "sys_teamid",
|
|
174
|
-
label: "\u540D\u79F0",
|
|
175
|
-
type: "slot",
|
|
176
|
-
slotType: "sys_teamid",
|
|
177
|
-
align: "left",
|
|
178
|
-
fixed: !0,
|
|
179
|
-
showOverflowTooltip: !0
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
transKey: "gd.team.member",
|
|
183
|
-
prop: "sys_userid",
|
|
184
|
-
label: "\u6210\u5458",
|
|
185
|
-
type: "slot",
|
|
186
|
-
slotType: "sys_userid",
|
|
187
|
-
align: "left"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
transKey: "gd.user.account",
|
|
191
|
-
prop: "account",
|
|
192
|
-
label: "\u8D26\u53F7",
|
|
193
|
-
type: "slot",
|
|
194
|
-
slotType: "account",
|
|
195
|
-
align: "left"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
transKey: "gd.user.tel",
|
|
199
|
-
prop: "phone",
|
|
200
|
-
label: "\u7535\u8BDD",
|
|
201
|
-
type: "slot",
|
|
202
|
-
slotType: "phone",
|
|
203
|
-
align: "left"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
transKey: "gd.user.email",
|
|
207
|
-
prop: "email",
|
|
208
|
-
label: "\u90AE\u7BB1",
|
|
209
|
-
type: "slot",
|
|
210
|
-
slotType: "email",
|
|
211
|
-
align: "left"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
transKey: "gd.user.employeeID",
|
|
215
|
-
prop: "employeeid",
|
|
216
|
-
label: "\u5DE5\u53F7",
|
|
217
|
-
type: "slot",
|
|
218
|
-
slotType: "employeeid",
|
|
219
|
-
align: "left"
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
tableButtons: [
|
|
223
|
-
{
|
|
224
|
-
displayName: "\u65B0\u589E",
|
|
225
|
-
functionName: "add",
|
|
226
|
-
show: !0,
|
|
227
|
-
transKey: "gd.btn.add",
|
|
228
|
-
icon: "el-icon-plus",
|
|
229
|
-
name: "sysTeam:add"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
displayName: "\u7F16\u8F91",
|
|
233
|
-
functionName: "edit",
|
|
234
|
-
show: !0,
|
|
235
|
-
transKey: "gd.btn.edit",
|
|
236
|
-
icon: "el-icon-edit",
|
|
237
|
-
name: "sysTeam:edit"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
displayName: "\u5220\u9664",
|
|
241
|
-
functionName: "del",
|
|
242
|
-
show: !0,
|
|
243
|
-
transKey: "gd.btn.del",
|
|
244
|
-
icon: "el-icon-delete",
|
|
245
|
-
btnType: "danger",
|
|
246
|
-
name: "sysTeam:delete"
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
const T = {
|
|
253
|
-
props: {
|
|
254
|
-
modalAppendToBody: {
|
|
255
|
-
type: Boolean,
|
|
256
|
-
default: !0
|
|
257
|
-
},
|
|
258
|
-
appendToBody: {
|
|
259
|
-
type: Boolean,
|
|
260
|
-
default: !0
|
|
261
|
-
},
|
|
262
|
-
sys_teamid: {
|
|
263
|
-
type: Number,
|
|
264
|
-
default: 0
|
|
265
|
-
},
|
|
266
|
-
typeAdd: {
|
|
267
|
-
type: Number,
|
|
268
|
-
default: 1
|
|
269
|
-
},
|
|
270
|
-
openMode: {
|
|
271
|
-
type: Number,
|
|
272
|
-
default: 1
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
data() {
|
|
276
|
-
return {
|
|
277
|
-
width: "50%",
|
|
278
|
-
visible: !1,
|
|
279
|
-
fullScreen: !1,
|
|
280
|
-
sysViewButtons: [{
|
|
281
|
-
displayName: "\u786E\u5B9A",
|
|
282
|
-
functionName: "handleSubmit",
|
|
283
|
-
show: !0,
|
|
284
|
-
transKey: "gd.btn.confirm",
|
|
285
|
-
icon: "el-icon-document-checked",
|
|
286
|
-
validate: !0
|
|
287
|
-
}],
|
|
288
|
-
title: "",
|
|
289
|
-
confirmLoading: !1,
|
|
290
|
-
type: 1,
|
|
291
|
-
rules: {
|
|
292
|
-
name: [{
|
|
293
|
-
required: !0,
|
|
294
|
-
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
295
|
-
trigger: "change"
|
|
296
|
-
}]
|
|
297
|
-
},
|
|
298
|
-
ruleFormData: {
|
|
299
|
-
id: "",
|
|
300
|
-
sys_userid: "",
|
|
301
|
-
sys_teamid: ""
|
|
302
|
-
},
|
|
303
|
-
dataList: [],
|
|
304
|
-
columnList: [],
|
|
305
|
-
ownerid: "",
|
|
306
|
-
firstLoading: !1,
|
|
307
|
-
firstLoading1: !1
|
|
308
|
-
};
|
|
309
|
-
},
|
|
310
|
-
computed: {
|
|
311
|
-
disableds() {
|
|
312
|
-
return this.typeAdd == 2;
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
methods: {
|
|
316
|
-
lookupSeled(s) {
|
|
317
|
-
this.dataList = [...s.fkData], this.$set(this.ruleFormData, "sys_userid", s.data[0]);
|
|
318
|
-
},
|
|
319
|
-
lookup(s) {
|
|
320
|
-
let e = {
|
|
321
|
-
effectType: "fk",
|
|
322
|
-
fkEntityName: "sys_user",
|
|
323
|
-
val: s || []
|
|
324
|
-
};
|
|
325
|
-
this.$refs.msgSearch.open(e);
|
|
326
|
-
},
|
|
327
|
-
open(s) {
|
|
328
|
-
this.visible = !0, this.fullScreen = !1, this.title = s ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.type = s ? 2 : 1, this.typeAdd == 2 && this.searchData(this.sys_teamid), s && this.getDetail(s.id);
|
|
329
|
-
},
|
|
330
|
-
getDetail(s) {
|
|
331
|
-
s != "" && (this.dataList = [], k({
|
|
332
|
-
id: s
|
|
333
|
-
}).then((e) => {
|
|
334
|
-
if (e.code == 200) {
|
|
335
|
-
let t = e.data;
|
|
336
|
-
this.dataList.push({
|
|
337
|
-
id: t.sys_userid,
|
|
338
|
-
name: t.username
|
|
339
|
-
}), this.columnList.push({
|
|
340
|
-
id: t.sys_teamid,
|
|
341
|
-
name: t.teamname
|
|
342
|
-
});
|
|
343
|
-
let a = {
|
|
344
|
-
id: t.id,
|
|
345
|
-
sys_userid: t.sys_userid,
|
|
346
|
-
sys_teamid: t.sys_teamid
|
|
347
|
-
};
|
|
348
|
-
this.firstLoading = !0, this.firstLoading1 = !0, this.$nextTick(() => {
|
|
349
|
-
setTimeout(() => {
|
|
350
|
-
this.ruleFormData = a;
|
|
351
|
-
}, 0);
|
|
352
|
-
});
|
|
353
|
-
}
|
|
354
|
-
}));
|
|
355
|
-
},
|
|
356
|
-
searchData(s) {
|
|
357
|
-
this.columnList = [], r({
|
|
358
|
-
fkEntityName: "sys_team",
|
|
359
|
-
id: s
|
|
360
|
-
}).then((e) => {
|
|
361
|
-
e.code == 200 && (this.ruleFormData.sys_teamid = s, this.columnList = e.data.length > 0 ? e.data : []);
|
|
362
|
-
});
|
|
363
|
-
},
|
|
364
|
-
searchList() {
|
|
365
|
-
this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
|
|
366
|
-
},
|
|
367
|
-
adminClick(s) {
|
|
368
|
-
this.dataList = [], this.fetching = !0, r({
|
|
369
|
-
fkEntityName: "sys_user",
|
|
370
|
-
name: s
|
|
371
|
-
}).then((e) => {
|
|
372
|
-
e.code == 200 && (this.dataList = e.data);
|
|
373
|
-
});
|
|
374
|
-
},
|
|
375
|
-
searchList1() {
|
|
376
|
-
this.firstLoading1 || (this.userClick(""), this.firstLoading1 = !0);
|
|
377
|
-
},
|
|
378
|
-
userClick(s) {
|
|
379
|
-
this.columnList = [], this.fetching = !0, r({
|
|
380
|
-
fkEntityName: "sys_team",
|
|
381
|
-
name: s
|
|
382
|
-
}).then((e) => {
|
|
383
|
-
e.code == 200 && (this.columnList = e.data);
|
|
384
|
-
});
|
|
385
|
-
},
|
|
386
|
-
handleSubmit() {
|
|
387
|
-
this.$refs.ruleForm.validate((s) => {
|
|
388
|
-
s && (this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
|
|
389
|
-
});
|
|
390
|
-
},
|
|
391
|
-
add(s) {
|
|
392
|
-
this.confirmLoading = !0, delete s.id, b(s).then((e) => {
|
|
393
|
-
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);
|
|
394
|
-
}).finally((e) => {
|
|
395
|
-
this.confirmLoading = !1;
|
|
396
|
-
});
|
|
397
|
-
},
|
|
398
|
-
edit(s) {
|
|
399
|
-
this.confirmLoading = !0, $(s).then((e) => {
|
|
400
|
-
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);
|
|
401
|
-
}).finally((e) => {
|
|
402
|
-
this.confirmLoading = !1;
|
|
403
|
-
});
|
|
404
|
-
},
|
|
405
|
-
handleCancel() {
|
|
406
|
-
this.visible = !1, this.confirmLoading = !1, this.firstLoading = !1, this.firstLoading1 = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
|
|
407
|
-
sys_userid: "",
|
|
408
|
-
sys_teamid: ""
|
|
409
|
-
};
|
|
410
|
-
},
|
|
411
|
-
getDictionary(s) {
|
|
412
|
-
return this.$options.filters.dictData(s);
|
|
413
|
-
},
|
|
414
|
-
toggleFullscreen() {
|
|
415
|
-
this.fullScreen = !this.fullScreen;
|
|
416
|
-
},
|
|
417
|
-
doEvent(s) {
|
|
418
|
-
let e = s.item.functionName;
|
|
419
|
-
this[e] && this[e]();
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
var S = function() {
|
|
424
|
-
var e = this, t = e._self._c;
|
|
425
|
-
return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", 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) {
|
|
426
|
-
e.visible = a;
|
|
427
|
-
}, 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(a) {
|
|
428
|
-
a.preventDefault();
|
|
429
|
-
} } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.member", "\u7528\u6237"), prop: "sys_userid" } }, [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.sys_userid, callback: function(a) {
|
|
430
|
-
e.$set(e.ruleFormData, "sys_userid", a);
|
|
431
|
-
}, expression: "ruleFormData.sys_userid" } }, e._l(e.dataList, function(a, i) {
|
|
432
|
-
return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
|
|
433
|
-
}), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
|
|
434
|
-
return e.lookup(e.ruleFormData.sys_userid);
|
|
435
|
-
} } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.team", "\u56E2\u961F"), prop: "sys_teamid" } }, [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: e.disableds, "remote-method": e.userClick }, on: { focus: e.searchList1 }, model: { value: e.ruleFormData.sys_teamid, callback: function(a) {
|
|
436
|
-
e.$set(e.ruleFormData, "sys_teamid", a);
|
|
437
|
-
}, expression: "ruleFormData.sys_teamid" } }, e._l(e.columnList, function(a, i) {
|
|
438
|
-
return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
|
|
439
|
-
}), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { lookup: function(a) {
|
|
440
|
-
e.ruleFormData.sys_teamid;
|
|
441
|
-
} } })])], 1)])], 1)], 1)], 1)], 1)])], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
442
|
-
}, C = [], D = /* @__PURE__ */ o(
|
|
443
|
-
T,
|
|
444
|
-
S,
|
|
445
|
-
C,
|
|
446
|
-
!1,
|
|
447
|
-
null,
|
|
448
|
-
"0613082f",
|
|
449
|
-
null,
|
|
450
|
-
null
|
|
451
|
-
);
|
|
452
|
-
const x = D.exports;
|
|
453
|
-
const B = {
|
|
454
|
-
name: "GdTeamMembers",
|
|
455
|
-
mixins: [m, L],
|
|
456
|
-
props: {
|
|
457
|
-
height: {
|
|
458
|
-
type: Number,
|
|
459
|
-
default: 100
|
|
460
|
-
},
|
|
461
|
-
sys_teamid: {
|
|
462
|
-
type: Number,
|
|
463
|
-
default: 0
|
|
464
|
-
},
|
|
465
|
-
type: {
|
|
466
|
-
type: Number,
|
|
467
|
-
default: 1
|
|
468
|
-
},
|
|
469
|
-
openMode: {
|
|
470
|
-
type: Number,
|
|
471
|
-
default: 1
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
data() {
|
|
475
|
-
return {
|
|
476
|
-
transKey: "gd.btn.add",
|
|
477
|
-
selectedRowKeys: [],
|
|
478
|
-
selectedRows: [],
|
|
479
|
-
queryParam: {},
|
|
480
|
-
disabledRowId: [],
|
|
481
|
-
loadData: (s) => _(Object.assign(s, this.getQueryParam, {
|
|
482
|
-
SysTeamId: this.sys_teamid
|
|
483
|
-
})).then((e) => (this.disabledRowId = e.data.rows.map((t) => t.sys_userid), e.data))
|
|
484
|
-
};
|
|
485
|
-
},
|
|
486
|
-
computed: {
|
|
487
|
-
getHeight() {
|
|
488
|
-
return this.height;
|
|
489
|
-
},
|
|
490
|
-
getQueryParam() {
|
|
491
|
-
console.log(this.queryParam);
|
|
492
|
-
let s = /* @__PURE__ */ new Map();
|
|
493
|
-
for (let e in this.queryParam)
|
|
494
|
-
if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
|
|
495
|
-
s.set(e, this.queryParam[e].join(","));
|
|
496
|
-
else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
|
|
497
|
-
if (this.queryParam[e].length > 0) {
|
|
498
|
-
let t = this.queryParam[e], a = t[0].split(" ")[0], i = t[1].split(" ")[0];
|
|
499
|
-
s.set(`${e}Start`, `${a} 00:00:00`), s.set(`${e}End`, `${i} 23:59:59`);
|
|
500
|
-
}
|
|
501
|
-
} else
|
|
502
|
-
s.set(e, this.queryParam[e]);
|
|
503
|
-
return Object.fromEntries(s);
|
|
504
|
-
},
|
|
505
|
-
...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
506
|
-
},
|
|
507
|
-
components: {
|
|
508
|
-
editForm: x
|
|
509
|
-
},
|
|
510
|
-
watch: {
|
|
511
|
-
type(s, e) {
|
|
512
|
-
this.$refs.table && this.$refs.table.refresh();
|
|
513
|
-
},
|
|
514
|
-
sys_teamid(s, e) {
|
|
515
|
-
this.$refs.table && this.$refs.table.refresh();
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
methods: {
|
|
519
|
-
lookupSeled(s) {
|
|
520
|
-
if (s.fkData.length === 0) {
|
|
521
|
-
this.$refs.msgSearch.closed();
|
|
522
|
-
return;
|
|
523
|
-
}
|
|
524
|
-
console.log(s), setTimeout(() => {
|
|
525
|
-
this.$refs.msgSearch.confirmLoading = !0;
|
|
526
|
-
}, 1502);
|
|
527
|
-
let e = {
|
|
528
|
-
userIds: s.data,
|
|
529
|
-
sys_TeamId: this.sys_teamid
|
|
530
|
-
};
|
|
531
|
-
w(e).then((t) => {
|
|
532
|
-
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.msgSearch.closed(), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.$refs.msgSearch.confirmLoading = !1;
|
|
533
|
-
});
|
|
534
|
-
},
|
|
535
|
-
lookup() {
|
|
536
|
-
let s = {
|
|
537
|
-
effectType: "participants",
|
|
538
|
-
fkEntityName: "sys_user",
|
|
539
|
-
isRelevance: !0,
|
|
540
|
-
val: []
|
|
541
|
-
};
|
|
542
|
-
this.$refs.msgSearch.open(s);
|
|
543
|
-
},
|
|
544
|
-
editForm(s) {
|
|
545
|
-
this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
|
|
546
|
-
},
|
|
547
|
-
add() {
|
|
548
|
-
this.lookup();
|
|
549
|
-
},
|
|
550
|
-
edit() {
|
|
551
|
-
if (this.selectedRowKeys.length === 0) {
|
|
552
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
553
|
-
return;
|
|
554
|
-
}
|
|
555
|
-
if (this.selectedRowKeys.length > 1) {
|
|
556
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
557
|
-
return;
|
|
558
|
-
}
|
|
559
|
-
this.editForm(this.selectedRows[0]);
|
|
560
|
-
},
|
|
561
|
-
del() {
|
|
562
|
-
if (this.selectedRowKeys.length === 0) {
|
|
563
|
-
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
564
|
-
return;
|
|
565
|
-
}
|
|
566
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
567
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
568
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
569
|
-
showClose: !1,
|
|
570
|
-
confirmButtonLoading: !1,
|
|
571
|
-
cancelButtonLoading: !1,
|
|
572
|
-
closeOnClickModal: !1,
|
|
573
|
-
type: "warning",
|
|
574
|
-
confirmButtonClass: "el-button--danger",
|
|
575
|
-
customClass: "custom-alert",
|
|
576
|
-
callback: () => {
|
|
577
|
-
},
|
|
578
|
-
beforeClose: (s, e, t) => {
|
|
579
|
-
this.delHand(s, e, t);
|
|
580
|
-
}
|
|
581
|
-
});
|
|
582
|
-
},
|
|
583
|
-
delHand(s, e, t) {
|
|
584
|
-
if (s !== "confirm") {
|
|
585
|
-
t();
|
|
586
|
-
return;
|
|
587
|
-
}
|
|
588
|
-
let a = [], i = v({ memberIds: this.selectedRowKeys }).then((n) => n);
|
|
589
|
-
a.push(i), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((n) => {
|
|
590
|
-
const l = n.filter((u) => !u.success);
|
|
591
|
-
l.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") + l[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
592
|
-
});
|
|
593
|
-
},
|
|
594
|
-
onSelectChange(s, e) {
|
|
595
|
-
this.selectedRowKeys = s, this.selectedRows = e;
|
|
596
|
-
},
|
|
597
|
-
handleOk() {
|
|
598
|
-
this.refresh();
|
|
599
|
-
},
|
|
600
|
-
refresh() {
|
|
601
|
-
this.$refs.table.refresh();
|
|
602
|
-
},
|
|
603
|
-
dictSwitch(s, e) {
|
|
604
|
-
let t = this.$options.filters.dictData(e).filter((a) => a.code == s)[0];
|
|
605
|
-
return t != null && t.colour ? t.colour : null;
|
|
606
|
-
},
|
|
607
|
-
doEvent(s) {
|
|
608
|
-
let e = s.item.functionName;
|
|
609
|
-
this[e] && this[e]();
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
};
|
|
613
|
-
var K = function() {
|
|
614
|
-
var e = this, t = e._self._c;
|
|
615
|
-
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "12px 0" } }, [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() {
|
|
616
|
-
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), clearable: "" }, nativeOn: { keyup: function(a) {
|
|
617
|
-
return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
618
|
-
} }, model: { value: e.queryParam.searchValue, callback: function(a) {
|
|
619
|
-
e.$set(e.queryParam, "searchValue", a);
|
|
620
|
-
}, expression: "queryParam.searchValue" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
621
|
-
}, proxy: !0 }, { key: "sys_teamid", fn: function({ column: a, row: i }) {
|
|
622
|
-
return [t("gd-tooltip", { attrs: { rowKey: "teamname", row: i, highlight: "" }, on: { click: e.editForm } })];
|
|
623
|
-
} }, { key: "sys_userid", fn: function({ column: a, row: i }) {
|
|
624
|
-
return [i.sys_userid ? t("span", [e._v(" " + e._s(i.username) + " ")]) : e._e()];
|
|
625
|
-
} }, { key: "account", fn: function({ column: a, row: i }) {
|
|
626
|
-
return [i.account ? t("span", [e._v(" " + e._s(i.account) + " ")]) : e._e()];
|
|
627
|
-
} }, { key: "phone", fn: function({ column: a, row: i }) {
|
|
628
|
-
return [i.phone ? t("span", [e._v(" " + e._s(i.phone) + " ")]) : e._e()];
|
|
629
|
-
} }, { key: "email", fn: function({ column: a, row: i }) {
|
|
630
|
-
return [i.email ? t("span", [e._v(" " + e._s(i.email) + " ")]) : e._e()];
|
|
631
|
-
} }, { key: "employeeid", fn: function({ column: a, row: i }) {
|
|
632
|
-
return [i.employeeid ? t("span", [e._v(" " + e._s(i.employeeid) + " ")]) : e._e()];
|
|
633
|
-
} }]) })], 1), t("gd-search", { ref: "msgSearch", attrs: { disabledRowId: e.disabledRowId, appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } }), t("editForm", { ref: "editForm", attrs: { openPermissions: !0, sys_teamid: e.sys_teamid, typeAdd: e.type, openMode: e.openMode }, on: { ok: e.handleOk } })], 1);
|
|
634
|
-
}, N = [], P = /* @__PURE__ */ o(
|
|
635
|
-
B,
|
|
636
|
-
K,
|
|
637
|
-
N,
|
|
638
|
-
!1,
|
|
639
|
-
null,
|
|
640
|
-
"ada89e79",
|
|
641
|
-
null,
|
|
642
|
-
null
|
|
643
|
-
);
|
|
644
|
-
const R = P.exports;
|
|
645
|
-
const E = {
|
|
646
|
-
props: {
|
|
647
|
-
modalAppendToBody: {
|
|
648
|
-
type: Boolean,
|
|
649
|
-
default: !0
|
|
650
|
-
},
|
|
651
|
-
appendToBody: {
|
|
652
|
-
type: Boolean,
|
|
653
|
-
default: !0
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
data() {
|
|
657
|
-
return {
|
|
658
|
-
width: "60%",
|
|
659
|
-
visible: !1,
|
|
660
|
-
fullScreen: !1,
|
|
661
|
-
sysViewButtons: [{
|
|
662
|
-
displayName: "\u786E\u5B9A",
|
|
663
|
-
functionName: "handleSubmit",
|
|
664
|
-
show: !0,
|
|
665
|
-
transKey: "gd.btn.confirm",
|
|
666
|
-
icon: "el-icon-document-checked",
|
|
667
|
-
validate: !0
|
|
668
|
-
}],
|
|
669
|
-
confirmLoading: !1,
|
|
670
|
-
type: 0,
|
|
671
|
-
rules: {
|
|
672
|
-
name: [{
|
|
673
|
-
required: !0,
|
|
674
|
-
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
675
|
-
trigger: "change"
|
|
676
|
-
}],
|
|
677
|
-
administratorid: [{
|
|
678
|
-
required: !0,
|
|
679
|
-
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
680
|
-
trigger: "change"
|
|
681
|
-
}]
|
|
682
|
-
},
|
|
683
|
-
ruleFormData: {
|
|
684
|
-
id: "",
|
|
685
|
-
name: "",
|
|
686
|
-
administratorid: "",
|
|
687
|
-
teamtype: "2",
|
|
688
|
-
description: ""
|
|
689
|
-
},
|
|
690
|
-
dataList: [],
|
|
691
|
-
columnList: [],
|
|
692
|
-
ownerid: "",
|
|
693
|
-
firstLoading: !1
|
|
694
|
-
};
|
|
695
|
-
},
|
|
696
|
-
computed: {
|
|
697
|
-
detailShow() {
|
|
698
|
-
return !!this.ruleFormData.id;
|
|
699
|
-
},
|
|
700
|
-
title() {
|
|
701
|
-
return this.ruleFormData.id ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add");
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
components: {
|
|
705
|
-
teamMemberDetail: R
|
|
706
|
-
},
|
|
707
|
-
methods: {
|
|
708
|
-
lookupSeled(s) {
|
|
709
|
-
this.dataList = [...s.fkData], this.$set(this.ruleFormData, "administratorid", s.data[0]);
|
|
710
|
-
},
|
|
711
|
-
lookup(s) {
|
|
712
|
-
let e = {
|
|
713
|
-
effectType: "fk",
|
|
714
|
-
fkEntityName: "sys_user",
|
|
715
|
-
val: s || []
|
|
716
|
-
};
|
|
717
|
-
this.$refs.msgSearch.open(e);
|
|
718
|
-
},
|
|
719
|
-
open(s) {
|
|
720
|
-
this.visible = !0, this.fullScreen = !1, this.type = s ? 2 : 1, this.ruleFormData.id = s ? s.id : "", s && this.getDetail(s.id);
|
|
721
|
-
},
|
|
722
|
-
getDetail(s) {
|
|
723
|
-
s != "" && (this.dataList = [], y({
|
|
724
|
-
id: s
|
|
725
|
-
}).then((e) => {
|
|
726
|
-
if (e.code == 200) {
|
|
727
|
-
let t = e.data;
|
|
728
|
-
this.dataList.push({
|
|
729
|
-
id: t.administratorid,
|
|
730
|
-
name: t.administratorname
|
|
731
|
-
}), this.columnList.push({
|
|
732
|
-
id: t.ownerid,
|
|
733
|
-
name: t.ownername
|
|
734
|
-
});
|
|
735
|
-
let a = {
|
|
736
|
-
id: t.id,
|
|
737
|
-
name: t.name,
|
|
738
|
-
teamtype: t.teamtype ? t.teamtype.toString() : "",
|
|
739
|
-
description: t.description,
|
|
740
|
-
administratorid: t.administratorid
|
|
741
|
-
};
|
|
742
|
-
this.firstLoading = !0, this.$nextTick(() => {
|
|
743
|
-
setTimeout(() => {
|
|
744
|
-
this.ruleFormData = a, this.ownerid = t.ownerid;
|
|
745
|
-
}, 0);
|
|
746
|
-
});
|
|
747
|
-
}
|
|
748
|
-
}));
|
|
749
|
-
},
|
|
750
|
-
searchData(s) {
|
|
751
|
-
this.dataList = [], r({
|
|
752
|
-
fkEntityName: "sys_user",
|
|
753
|
-
id: s.administratorid
|
|
754
|
-
}).then((e) => {
|
|
755
|
-
e.code == 200 && (this.firstLoading = !0, e.data.length > 0 ? this.dataList = e.data : this.dataList.push({
|
|
756
|
-
id: s.administratorid,
|
|
757
|
-
name: s.administratorname
|
|
758
|
-
}));
|
|
759
|
-
});
|
|
760
|
-
},
|
|
761
|
-
searchList() {
|
|
762
|
-
this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
|
|
763
|
-
},
|
|
764
|
-
adminClick(s) {
|
|
765
|
-
this.dataList = [], this.fetching = !0, r({
|
|
766
|
-
fkEntityName: "sys_user",
|
|
767
|
-
name: s
|
|
768
|
-
}).then((e) => {
|
|
769
|
-
e.code == 200 && (this.dataList = e.data);
|
|
770
|
-
});
|
|
771
|
-
},
|
|
772
|
-
handleSubmit() {
|
|
773
|
-
this.$refs.ruleForm.validate((s) => {
|
|
774
|
-
s && (console.log(this.type), this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
|
|
775
|
-
});
|
|
776
|
-
},
|
|
777
|
-
add(s) {
|
|
778
|
-
this.confirmLoading = !0, delete s.id, p(s).then((e) => {
|
|
779
|
-
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);
|
|
780
|
-
}).finally((e) => {
|
|
781
|
-
this.confirmLoading = !1;
|
|
782
|
-
});
|
|
783
|
-
},
|
|
784
|
-
edit(s) {
|
|
785
|
-
this.confirmLoading = !0, f(s).then((e) => {
|
|
786
|
-
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);
|
|
787
|
-
}).finally((e) => {
|
|
788
|
-
this.confirmLoading = !1;
|
|
789
|
-
});
|
|
790
|
-
},
|
|
791
|
-
handleCancel() {
|
|
792
|
-
this.visible = !1, this.confirmLoading = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
|
|
793
|
-
id: "",
|
|
794
|
-
name: "",
|
|
795
|
-
administratorid: "",
|
|
796
|
-
teamtype: "2",
|
|
797
|
-
description: ""
|
|
798
|
-
}, this.ownerid = "", this.type = 1;
|
|
799
|
-
},
|
|
800
|
-
getDictionary(s) {
|
|
801
|
-
return this.$options.filters.dictData(s);
|
|
802
|
-
},
|
|
803
|
-
toggleFullscreen() {
|
|
804
|
-
this.fullScreen = !this.fullScreen;
|
|
805
|
-
},
|
|
806
|
-
doEvent(s) {
|
|
807
|
-
let e = s.item.functionName;
|
|
808
|
-
this[e] && this[e]();
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
};
|
|
812
|
-
var q = function() {
|
|
813
|
-
var e = this, t = e._self._c;
|
|
814
|
-
return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", 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) {
|
|
815
|
-
e.visible = a;
|
|
816
|
-
}, 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(a) {
|
|
817
|
-
a.preventDefault();
|
|
818
|
-
} } }, [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(a) {
|
|
819
|
-
e.$set(e.ruleFormData, "name", a);
|
|
820
|
-
}, 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(a) {
|
|
821
|
-
e.$set(e.ruleFormData, "teamtype", a);
|
|
822
|
-
}, expression: "ruleFormData.teamtype" } }, e._l(e.getDictionary("teamtype"), function(a, i) {
|
|
823
|
-
return t("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
|
|
824
|
-
}), 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(a) {
|
|
825
|
-
e.$set(e.ruleFormData, "administratorid", a);
|
|
826
|
-
}, expression: "ruleFormData.administratorid" } }, e._l(e.dataList, function(a, i) {
|
|
827
|
-
return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
|
|
828
|
-
}), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
|
|
829
|
-
return e.lookup(e.ruleFormData.administratorid);
|
|
830
|
-
} } })])], 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(a) {
|
|
831
|
-
e.ownerid = a;
|
|
832
|
-
}, expression: "ownerid" } }, e._l(e.columnList, function(a, i) {
|
|
833
|
-
return t("el-option", { key: i, attrs: { label: a.name, value: a.id } });
|
|
834
|
-
}), 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(a) {
|
|
835
|
-
e.$set(e.ruleFormData, "description", a);
|
|
836
|
-
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1), e.detailShow ? t("el-card", { attrs: { shadow: "never" } }, [t("div", [e._v(e._s(e.$i18nt("gd.team.teamMember", "\u56E2\u961F\u6210\u5458")))]), t("teamMemberDetail", { attrs: { sys_teamid: Number(e.ruleFormData.id), type: e.type, openMode: 2, height: 200 } })], 1) : e._e()], 1)], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
837
|
-
}, O = [], M = /* @__PURE__ */ o(
|
|
838
|
-
E,
|
|
839
|
-
q,
|
|
840
|
-
O,
|
|
841
|
-
!1,
|
|
842
|
-
null,
|
|
843
|
-
"837be327",
|
|
844
|
-
null,
|
|
845
|
-
null
|
|
846
|
-
);
|
|
847
|
-
const z = M.exports;
|
|
848
|
-
const V = {
|
|
849
|
-
name: "GdTeam",
|
|
850
|
-
mixins: [m, F],
|
|
851
|
-
props: {
|
|
852
|
-
height: {
|
|
853
|
-
type: Number,
|
|
854
|
-
default: 100
|
|
855
|
-
}
|
|
856
|
-
},
|
|
857
|
-
data() {
|
|
858
|
-
return {
|
|
859
|
-
transKey: "gd.btn.add",
|
|
860
|
-
selectedRowKeys: [],
|
|
861
|
-
selectedRows: [],
|
|
862
|
-
queryParam: {},
|
|
863
|
-
loadData: (s) => h(Object.assign(s, this.getQueryParam)).then((e) => e.data)
|
|
864
|
-
};
|
|
865
|
-
},
|
|
866
|
-
components: {
|
|
867
|
-
editForm: z
|
|
868
|
-
},
|
|
869
|
-
computed: {
|
|
870
|
-
getHeight() {
|
|
871
|
-
return this.height;
|
|
872
|
-
},
|
|
873
|
-
getQueryParam() {
|
|
874
|
-
let s = /* @__PURE__ */ new Map();
|
|
875
|
-
for (let e in this.queryParam)
|
|
876
|
-
if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
|
|
877
|
-
s.set(e, this.queryParam[e].join(","));
|
|
878
|
-
else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
|
|
879
|
-
if (this.queryParam[e].length > 0) {
|
|
880
|
-
let t = this.queryParam[e], a = t[0].split(" ")[0], i = t[1].split(" ")[0];
|
|
881
|
-
s.set(`${e}Start`, `${a} 00:00:00`), s.set(`${e}End`, `${i} 23:59:59`);
|
|
882
|
-
}
|
|
883
|
-
} else
|
|
884
|
-
s.set(e, this.queryParam[e]);
|
|
885
|
-
return Object.fromEntries(s);
|
|
886
|
-
},
|
|
887
|
-
...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
888
|
-
},
|
|
889
|
-
methods: {
|
|
890
|
-
editForm(s) {
|
|
891
|
-
this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
|
|
892
|
-
},
|
|
893
|
-
add() {
|
|
894
|
-
this.$refs.editForm.open();
|
|
895
|
-
},
|
|
896
|
-
edit() {
|
|
897
|
-
if (this.selectedRowKeys.length === 0) {
|
|
898
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
899
|
-
return;
|
|
900
|
-
}
|
|
901
|
-
if (this.selectedRowKeys.length > 1) {
|
|
902
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
903
|
-
return;
|
|
904
|
-
}
|
|
905
|
-
this.editForm(this.selectedRows[0]);
|
|
906
|
-
},
|
|
907
|
-
del() {
|
|
908
|
-
if (this.selectedRowKeys.length === 0) {
|
|
909
|
-
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
910
|
-
return;
|
|
911
|
-
}
|
|
912
|
-
if (this.selectedRowKeys.length > 1) {
|
|
913
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
914
|
-
return;
|
|
915
|
-
}
|
|
916
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
917
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
918
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
919
|
-
showClose: !1,
|
|
920
|
-
confirmButtonLoading: !1,
|
|
921
|
-
cancelButtonLoading: !1,
|
|
922
|
-
closeOnClickModal: !1,
|
|
923
|
-
type: "warning",
|
|
924
|
-
confirmButtonClass: "el-button--danger",
|
|
925
|
-
customClass: "custom-alert",
|
|
926
|
-
callback: () => {
|
|
927
|
-
},
|
|
928
|
-
beforeClose: (s, e, t) => {
|
|
929
|
-
this.delHand(s, e, t);
|
|
930
|
-
}
|
|
931
|
-
});
|
|
932
|
-
},
|
|
933
|
-
delHand(s, e, t) {
|
|
934
|
-
if (s !== "confirm") {
|
|
935
|
-
t();
|
|
936
|
-
return;
|
|
937
|
-
}
|
|
938
|
-
let a = [];
|
|
939
|
-
this.selectedRows.forEach((i) => {
|
|
940
|
-
let n = g({
|
|
941
|
-
id: i.id
|
|
942
|
-
}).then((l) => l);
|
|
943
|
-
a.push(n);
|
|
944
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((i) => {
|
|
945
|
-
const n = i.filter((l) => !l.success);
|
|
946
|
-
n.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") + n[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
947
|
-
});
|
|
948
|
-
},
|
|
949
|
-
onSelectChange(s, e) {
|
|
950
|
-
this.selectedRowKeys = s, this.selectedRows = e;
|
|
951
|
-
},
|
|
952
|
-
handleOk() {
|
|
953
|
-
this.refresh();
|
|
954
|
-
},
|
|
955
|
-
refresh() {
|
|
956
|
-
this.$refs.table.refresh();
|
|
957
|
-
},
|
|
958
|
-
dictSwitch(s, e) {
|
|
959
|
-
let t = this.$options.filters.dictData(e).filter((a) => a.code == s)[0];
|
|
960
|
-
return t != null && t.colour ? t.colour : null;
|
|
961
|
-
},
|
|
962
|
-
doEvent(s) {
|
|
963
|
-
let e = s.item.functionName;
|
|
964
|
-
this[e] && this[e]();
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
};
|
|
968
|
-
var A = function() {
|
|
969
|
-
var e = this, t = e._self._c;
|
|
970
|
-
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() {
|
|
971
|
-
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)])];
|
|
972
|
-
}, proxy: !0 }, { key: "name", fn: function({ column: a, row: i }) {
|
|
973
|
-
return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForm } })];
|
|
974
|
-
} }, { key: "administratorid", fn: function({ column: a, row: i }) {
|
|
975
|
-
return [i.administratorname ? t("span", [e._v(" " + e._s(i.administratorname) + " ")]) : e._e()];
|
|
976
|
-
} }, { key: "teamtype", fn: function(a) {
|
|
977
|
-
return [e.dictSwitch(a.row.teamtype, "teamtype") ? t("el-tag", { style: e._f("dictColor")("teamtype", a.row.teamtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("teamtype", a.row.teamtype)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("teamtype", a.row.teamtype)))])];
|
|
978
|
-
} }]) })], 1), t("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
|
|
979
|
-
}, H = [], I = /* @__PURE__ */ o(
|
|
980
|
-
V,
|
|
981
|
-
A,
|
|
982
|
-
H,
|
|
983
|
-
!1,
|
|
984
|
-
null,
|
|
985
|
-
"f62d65e6",
|
|
986
|
-
null,
|
|
987
|
-
null
|
|
988
|
-
);
|
|
989
|
-
const d = I.exports;
|
|
990
|
-
d.install = function(s) {
|
|
991
|
-
s.component(d.name, d);
|
|
992
|
-
};
|
|
993
|
-
export {
|
|
994
|
-
d as G,
|
|
995
|
-
b as a,
|
|
996
|
-
$ as b,
|
|
997
|
-
_ as c,
|
|
998
|
-
v as d,
|
|
999
|
-
k as s
|
|
1000
|
-
};
|