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,204 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
displayName: "\u786E\u5B9A",
|
|
12
|
-
functionName: "handleSubmit",
|
|
13
|
-
show: !0,
|
|
14
|
-
transKey: "gd.btn.confirm",
|
|
15
|
-
icon: "el-icon-document-checked"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
record: {},
|
|
19
|
-
visible: !1,
|
|
20
|
-
confirmLoading: !1,
|
|
21
|
-
fullscreen: !1,
|
|
22
|
-
width: "90%",
|
|
23
|
-
selectedRowKeys: [],
|
|
24
|
-
allRowData: []
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
|
-
components: { RoleForm: Q },
|
|
28
|
-
computed: {
|
|
29
|
-
height() {
|
|
30
|
-
return this.screenHeight - (this.fullscreen ? 160 : 340);
|
|
31
|
-
},
|
|
32
|
-
...R(["screenHeight"])
|
|
33
|
-
},
|
|
34
|
-
methods: {
|
|
35
|
-
handleSubmit() {
|
|
36
|
-
this.confirmLoading = !0;
|
|
37
|
-
let i = [];
|
|
38
|
-
i = this.allRowData.filter(
|
|
39
|
-
(t) => !this.selectedRowKeys.some((r) => r === t.id)
|
|
40
|
-
);
|
|
41
|
-
const e = i.map((t) => t.id);
|
|
42
|
-
O({ id: this.record.id, addRoleIdList: this.selectedRowKeys, removeRoleIdList: e }).then((t) => {
|
|
43
|
-
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
|
|
44
|
-
});
|
|
45
|
-
},
|
|
46
|
-
open(i) {
|
|
47
|
-
this.confirmLoading = !0, this.record = i, this.visible = !0, N({ id: i.id }).then((e) => {
|
|
48
|
-
e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
|
|
49
|
-
setTimeout(() => {
|
|
50
|
-
this.$refs.roleForm.refresh();
|
|
51
|
-
}, 0);
|
|
52
|
-
}), this.confirmLoading = !1;
|
|
53
|
-
});
|
|
54
|
-
},
|
|
55
|
-
closed() {
|
|
56
|
-
this.fullscreen = !1, this.visible = !1;
|
|
57
|
-
},
|
|
58
|
-
toggleFullscreen() {
|
|
59
|
-
this.fullscreen = !this.fullscreen;
|
|
60
|
-
},
|
|
61
|
-
onSelectChange(i, e, t) {
|
|
62
|
-
this.selectedRowKeys = i, this.allRowData = t.rows;
|
|
63
|
-
},
|
|
64
|
-
doEvent(i) {
|
|
65
|
-
const e = i.item.functionName;
|
|
66
|
-
this[e] && this[e]();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
var Y = function() {
|
|
71
|
-
var e = this, t = e._self._c;
|
|
72
|
-
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
|
|
73
|
-
e.visible = r;
|
|
74
|
-
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.authorizationRole", "\u6388\u6743\u89D2\u8272"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("RoleForm", { ref: "roleForm", attrs: { height: e.height, openMode: "components", openSelecteKeys: e.selectedRowKeys }, on: { onSelectChange: e.onSelectChange } }) : e._e()], 1)], 2);
|
|
75
|
-
}, J = [], W = /* @__PURE__ */ T(
|
|
76
|
-
V,
|
|
77
|
-
Y,
|
|
78
|
-
J,
|
|
79
|
-
!1,
|
|
80
|
-
null,
|
|
81
|
-
"117b9c7a",
|
|
82
|
-
null,
|
|
83
|
-
null
|
|
84
|
-
);
|
|
85
|
-
const X = W.exports;
|
|
86
|
-
const Z = {
|
|
87
|
-
data() {
|
|
88
|
-
return {
|
|
89
|
-
buttons: [
|
|
90
|
-
{
|
|
91
|
-
displayName: "\u786E\u5B9A",
|
|
92
|
-
functionName: "handleSubmit",
|
|
93
|
-
show: !0,
|
|
94
|
-
transKey: "gd.btn.confirm",
|
|
95
|
-
icon: "el-icon-document-checked"
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
record: {},
|
|
99
|
-
showForm: !1,
|
|
100
|
-
visible: !1,
|
|
101
|
-
confirmLoading: !1,
|
|
102
|
-
fullscreen: !1,
|
|
103
|
-
width: "600px",
|
|
104
|
-
orgTree: [],
|
|
105
|
-
ruleFormData: {
|
|
106
|
-
orgIded: "",
|
|
107
|
-
orgId: ""
|
|
108
|
-
},
|
|
109
|
-
rules: {
|
|
110
|
-
orgId: [
|
|
111
|
-
{
|
|
112
|
-
required: !0,
|
|
113
|
-
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
114
|
-
trigger: "change"
|
|
115
|
-
}
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
},
|
|
120
|
-
methods: {
|
|
121
|
-
save() {
|
|
122
|
-
let i = this;
|
|
123
|
-
this.$confirm(
|
|
124
|
-
this.$i18nt("gd.https.orgOldNameTip", "\u7528\u6237\u6240\u5C5E\u5386\u53F2\u6570\u636E\u673A\u6784\u4F1A\u66F4\u65B0,\u662F\u5426\u786E\u8BA4\u4FEE\u6539\u7528\u6237\u6240\u5C5E\u673A\u6784?"),
|
|
125
|
-
this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
|
|
126
|
-
{
|
|
127
|
-
confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
|
|
128
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
129
|
-
showClose: !1,
|
|
130
|
-
confirmButtonLoading: !1,
|
|
131
|
-
cancelButtonLoading: !1,
|
|
132
|
-
closeOnClickModal: !1,
|
|
133
|
-
type: "warning",
|
|
134
|
-
confirmButtonClass: "el-button--danger",
|
|
135
|
-
customClass: "custom-alert",
|
|
136
|
-
callback: () => {
|
|
137
|
-
},
|
|
138
|
-
beforeClose: (e, t, r) => {
|
|
139
|
-
if (e !== "confirm") {
|
|
140
|
-
r();
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
r(), P({ userId: i.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((n) => {
|
|
144
|
-
n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.confirmLoading = !1;
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
);
|
|
149
|
-
},
|
|
150
|
-
handleSubmit() {
|
|
151
|
-
this.confirmLoading = !0, this.$refs.ruleForm.validate((i) => {
|
|
152
|
-
i ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
|
|
153
|
-
});
|
|
154
|
-
},
|
|
155
|
-
open(i) {
|
|
156
|
-
this.confirmLoading = !0, this.record = i, this.visible = !0, this.showForm = !1, C().then((e) => {
|
|
157
|
-
const t = (r) => (r = r.filter((n, s) => (n.id === i.orgid && (n.disabled = !0), n.children && (n.children = t(n.children)), !0)), r);
|
|
158
|
-
this.orgTree = t(e.data), this.ruleFormData = {
|
|
159
|
-
orgIded: i.orgid,
|
|
160
|
-
orgId: ""
|
|
161
|
-
}, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
|
|
162
|
-
setTimeout(() => {
|
|
163
|
-
this.$refs.ruleForm.clearValidate();
|
|
164
|
-
}, 0);
|
|
165
|
-
});
|
|
166
|
-
});
|
|
167
|
-
},
|
|
168
|
-
closed() {
|
|
169
|
-
this.fullscreen = !1, this.visible = !1, this.$emit("closed");
|
|
170
|
-
},
|
|
171
|
-
toggleFullscreen() {
|
|
172
|
-
this.fullscreen = !this.fullscreen;
|
|
173
|
-
},
|
|
174
|
-
doEvent(i) {
|
|
175
|
-
const e = i.item.functionName;
|
|
176
|
-
this[e] && this[e]();
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
var ee = function() {
|
|
181
|
-
var e = this, t = e._self._c;
|
|
182
|
-
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
|
|
183
|
-
e.visible = r;
|
|
184
|
-
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.updateInstitutions", "\u66F4\u65B0\u673A\u6784"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "130px" } }, [e.showForm ? t("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(r) {
|
|
185
|
-
r.preventDefault();
|
|
186
|
-
} } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.user.orgOldName", "\u539F\u673A\u6784\u540D\u79F0"), prop: "orgIded" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, "default-value": e.ruleFormData.orgIded, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !0 }, model: { value: e.ruleFormData.orgIded, callback: function(r) {
|
|
187
|
-
e.$set(e.ruleFormData, "orgIded", r);
|
|
188
|
-
}, expression: "ruleFormData.orgIded" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.user.organization", "\u6240\u5C5E\u673A\u6784"), prop: "orgId" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.orgId, callback: function(r) {
|
|
189
|
-
e.$set(e.ruleFormData, "orgId", r);
|
|
190
|
-
}, expression: "ruleFormData.orgId" } })], 1)], 1) : e._e()], 1)], 2);
|
|
191
|
-
}, te = [], se = /* @__PURE__ */ T(
|
|
192
|
-
Z,
|
|
193
|
-
ee,
|
|
194
|
-
te,
|
|
195
|
-
!1,
|
|
196
|
-
null,
|
|
197
|
-
"12675dc5",
|
|
198
|
-
null,
|
|
199
|
-
null
|
|
200
|
-
);
|
|
201
|
-
const ie = se.exports, ne = {
|
|
1
|
+
import { a as x } from "./http.orgmanage.0b1df8d5.mjs";
|
|
2
|
+
import { f as O, k as D, l as N, m as P, g as I, d as B, n as U, o as M, q as C, r as E, t as A, h as q, v as j } from "./http.usermanage.f5491144.mjs";
|
|
3
|
+
import { d as H } from "./http.main.1af1e119.mjs";
|
|
4
|
+
import { m as R, n as T } from "./components.chartbi.470b96af.mjs";
|
|
5
|
+
import { t as z } from "./utils.mixins.js.be01e599.mjs";
|
|
6
|
+
import { F as V } from "./form.build.fb9f905b.mjs";
|
|
7
|
+
import { R as G } from "./system.role.9edb5922.mjs";
|
|
8
|
+
import { c as Q, a as Y } from "./components.form.a7b3ea37.mjs";
|
|
9
|
+
const J = {
|
|
202
10
|
data() {
|
|
203
11
|
return {
|
|
204
12
|
tableColumns: [
|
|
@@ -277,7 +85,7 @@ const ie = se.exports, ne = {
|
|
|
277
85
|
slotType: "statecodes",
|
|
278
86
|
align: "center",
|
|
279
87
|
dictTypeCode: "state_code",
|
|
280
|
-
renderHeader: (
|
|
88
|
+
renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
|
|
281
89
|
effectType: "checkbox",
|
|
282
90
|
dictTypeCode: "state_code"
|
|
283
91
|
})
|
|
@@ -530,122 +338,829 @@ const ie = se.exports, ne = {
|
|
|
530
338
|
};
|
|
531
339
|
}
|
|
532
340
|
};
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
})(B, function() {
|
|
544
|
-
return function(t) {
|
|
545
|
-
var r = {};
|
|
546
|
-
function n(s) {
|
|
547
|
-
if (r[s])
|
|
548
|
-
return r[s].exports;
|
|
549
|
-
var o = r[s] = {
|
|
550
|
-
i: s,
|
|
551
|
-
l: !1,
|
|
552
|
-
exports: {}
|
|
553
|
-
};
|
|
554
|
-
return t[s].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
|
|
341
|
+
const W = {
|
|
342
|
+
name: "GdUse",
|
|
343
|
+
props: {
|
|
344
|
+
height: {
|
|
345
|
+
type: Number,
|
|
346
|
+
default: 100
|
|
347
|
+
},
|
|
348
|
+
record: {
|
|
349
|
+
type: Object,
|
|
350
|
+
default: () => {
|
|
555
351
|
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
},
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
mixins: [z, J],
|
|
355
|
+
data() {
|
|
356
|
+
return {
|
|
357
|
+
fieldData: [],
|
|
358
|
+
tableName: "sys_user",
|
|
359
|
+
transKey: "gd.btn.add",
|
|
360
|
+
formLoading: !1,
|
|
361
|
+
currentNode: null,
|
|
362
|
+
loading: !0,
|
|
363
|
+
orgTree: [],
|
|
364
|
+
selectedRowKeys: [],
|
|
365
|
+
selectedRows: [],
|
|
366
|
+
queryParam: {},
|
|
367
|
+
defaultProps: {
|
|
368
|
+
children: "children",
|
|
369
|
+
label: "title",
|
|
370
|
+
value: "value"
|
|
371
|
+
},
|
|
372
|
+
defaultExpandedKeys: "",
|
|
373
|
+
loadData: (s) => O(Object.assign(s, this.getQueryParam)).then((e) => e.data),
|
|
374
|
+
disableBtn: ["\u542F\u7528", "\u505C\u7528"],
|
|
375
|
+
fileList: [],
|
|
376
|
+
needLoad: !1,
|
|
377
|
+
infoData: {},
|
|
378
|
+
isSendEmail: "",
|
|
379
|
+
isSendEmailed: "",
|
|
380
|
+
institutionsShow: !1,
|
|
381
|
+
showFormCustom: !1
|
|
382
|
+
};
|
|
383
|
+
},
|
|
384
|
+
components: {
|
|
385
|
+
UserRoleForm: () => Promise.resolve().then(() => oe),
|
|
386
|
+
EditInstitutions: () => Promise.resolve().then(() => he),
|
|
387
|
+
copyInfo: () => Promise.resolve().then(() => ve)
|
|
388
|
+
},
|
|
389
|
+
computed: {
|
|
390
|
+
useForm() {
|
|
391
|
+
const s = this.options.useForm !== void 0 ? this.options.useForm : !1, e = this.options.formId !== void 0 ? this.options.formId : "";
|
|
392
|
+
return s && e;
|
|
393
|
+
},
|
|
394
|
+
tableData() {
|
|
395
|
+
const s = this.tableLists.filter((e) => e.tablename === this.tableName)[0];
|
|
396
|
+
return s || {};
|
|
397
|
+
},
|
|
398
|
+
componentForm() {
|
|
399
|
+
const s = this.$importViewFiles();
|
|
400
|
+
let e = `../views/main/${this.tableName}/editForm.vue`;
|
|
401
|
+
const t = s[e];
|
|
402
|
+
return t ? t.default : V;
|
|
403
|
+
},
|
|
404
|
+
options() {
|
|
405
|
+
return this.record.options;
|
|
406
|
+
},
|
|
407
|
+
getQueryParam() {
|
|
408
|
+
let s = /* @__PURE__ */ new Map();
|
|
409
|
+
for (let e in this.queryParam)
|
|
410
|
+
s.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
|
|
411
|
+
return Object.fromEntries(s);
|
|
412
|
+
},
|
|
413
|
+
getFormColumns() {
|
|
414
|
+
return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
|
|
415
|
+
},
|
|
416
|
+
getTableButtons() {
|
|
417
|
+
return this.tableButtons.filter((s) => (s.show = !this.disableBtn.includes(s.displayName), !0));
|
|
418
|
+
},
|
|
419
|
+
getHeight() {
|
|
420
|
+
return this.height;
|
|
421
|
+
},
|
|
422
|
+
styled() {
|
|
423
|
+
return `height:${this.height + 76}px`;
|
|
424
|
+
},
|
|
425
|
+
...R(["tablePageSize", "tableSize", "labelPosition", "formMode", "tableLists"])
|
|
426
|
+
},
|
|
427
|
+
methods: {
|
|
428
|
+
updateInstitutions() {
|
|
429
|
+
if (this.selectedRowKeys.length === 0) {
|
|
430
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
if (this.selectedRowKeys.length > 1) {
|
|
434
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
435
|
+
return;
|
|
436
|
+
}
|
|
437
|
+
this.institutionsShow = !0, this.$nextTick(() => {
|
|
438
|
+
setTimeout(() => {
|
|
439
|
+
this.$refs.editInstitutions.open(this.selectedRows[0]);
|
|
440
|
+
}, 0);
|
|
441
|
+
});
|
|
442
|
+
},
|
|
443
|
+
userRole() {
|
|
444
|
+
if (this.selectedRowKeys.length === 0) {
|
|
445
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
if (this.selectedRowKeys.length > 1) {
|
|
449
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
this.$refs.userRoleForm.open(this.selectedRows[0]);
|
|
453
|
+
},
|
|
454
|
+
saveQueries(s) {
|
|
455
|
+
this.queryParam = {
|
|
456
|
+
...s
|
|
457
|
+
}, this.refresh();
|
|
458
|
+
},
|
|
459
|
+
handleFileUpload(s) {
|
|
460
|
+
const e = this.$message({
|
|
461
|
+
message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
|
|
462
|
+
duration: 0,
|
|
463
|
+
iconClass: "el-icon-loading"
|
|
464
|
+
}), t = new FormData();
|
|
465
|
+
t.append("file", s.file), D(t).then((r) => {
|
|
466
|
+
r.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + r.message), this.$nextTick(() => {
|
|
467
|
+
setTimeout(() => {
|
|
468
|
+
e.close();
|
|
469
|
+
}, 200);
|
|
470
|
+
});
|
|
471
|
+
});
|
|
472
|
+
},
|
|
473
|
+
importUser() {
|
|
474
|
+
this.fileList = [], document.querySelector(".upload-demo").click();
|
|
475
|
+
},
|
|
476
|
+
exportUser() {
|
|
477
|
+
const s = this.$message({
|
|
478
|
+
message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
|
|
479
|
+
duration: 0,
|
|
480
|
+
iconClass: "el-icon-loading"
|
|
481
|
+
});
|
|
482
|
+
N().then((e) => {
|
|
483
|
+
this.downloadfile(e), this.$nextTick(() => {
|
|
484
|
+
setTimeout(() => {
|
|
485
|
+
s.close();
|
|
486
|
+
}, 200);
|
|
487
|
+
});
|
|
488
|
+
}).catch((e) => {
|
|
489
|
+
this.$nextTick(() => {
|
|
490
|
+
setTimeout(() => {
|
|
491
|
+
s.close();
|
|
492
|
+
}, 200);
|
|
493
|
+
});
|
|
494
|
+
});
|
|
495
|
+
},
|
|
496
|
+
enable() {
|
|
497
|
+
this.editStateCodes({
|
|
498
|
+
row: this.selectedRows[0]
|
|
499
|
+
});
|
|
500
|
+
},
|
|
501
|
+
deactivated() {
|
|
502
|
+
this.editStateCodes({
|
|
503
|
+
row: this.selectedRows[0]
|
|
504
|
+
});
|
|
505
|
+
},
|
|
506
|
+
editStateCodes({ column: s, row: e }) {
|
|
507
|
+
const t = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), r = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
|
|
508
|
+
this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
509
|
+
confirmButtonText: r,
|
|
510
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
511
|
+
showClose: !1,
|
|
512
|
+
confirmButtonLoading: !1,
|
|
513
|
+
cancelButtonLoading: !1,
|
|
514
|
+
closeOnClickModal: !1,
|
|
515
|
+
type: "warning",
|
|
516
|
+
confirmButtonClass: "el-button--danger",
|
|
517
|
+
customClass: "custom-alert",
|
|
518
|
+
callback: () => {
|
|
519
|
+
},
|
|
520
|
+
beforeClose: (n, i, o) => {
|
|
521
|
+
if (n !== "confirm") {
|
|
522
|
+
o();
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, P({
|
|
526
|
+
id: e.id,
|
|
527
|
+
stateCodes: e.statecodes == 1 ? 0 : 1
|
|
528
|
+
}).then((a) => {
|
|
529
|
+
o(), a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0;
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
},
|
|
534
|
+
refresh() {
|
|
535
|
+
this.$refs.table.refresh();
|
|
536
|
+
},
|
|
537
|
+
editFormCustom(s) {
|
|
538
|
+
this.$refs.editFormCustom.open({ title: this.$i18nt(this.transKey), id: s.id });
|
|
539
|
+
},
|
|
540
|
+
editForm(s) {
|
|
541
|
+
if (this.transKey = "gd.btn.edit", this.showFormCustom) {
|
|
542
|
+
this.editFormCustom(s);
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
this.$refs.editForm.open(
|
|
546
|
+
Object.assign(
|
|
547
|
+
{
|
|
548
|
+
...s
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
gender: String(s.gender),
|
|
552
|
+
orgid: String(s.orgid),
|
|
553
|
+
authtype: s.authtype === null ? "" : String(s.authtype)
|
|
554
|
+
}
|
|
555
|
+
)
|
|
556
|
+
);
|
|
557
|
+
},
|
|
558
|
+
getOrgTree() {
|
|
559
|
+
x({}).then((s) => {
|
|
560
|
+
if (s.code === 200) {
|
|
561
|
+
const e = (t) => (t = t.filter((r, n) => (r.value = String(r.value), r.children && r.children.length > 0 && (r.children = e(r.children)), !0)), t);
|
|
562
|
+
this.orgTree = e(s.data);
|
|
563
|
+
}
|
|
564
|
+
this.loading = !1;
|
|
565
|
+
});
|
|
566
|
+
},
|
|
567
|
+
handleNodeClick(s) {
|
|
568
|
+
this.queryParam.orgId === s.id ? (delete this.queryParam.orgId, this.$nextTick(() => {
|
|
569
|
+
setTimeout(() => {
|
|
570
|
+
this.$refs.tree.setCurrentKey(null);
|
|
571
|
+
}, 0);
|
|
572
|
+
})) : this.queryParam = Object.assign(
|
|
573
|
+
{
|
|
574
|
+
...this.queryParam
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
orgId: s.id
|
|
578
|
+
}
|
|
579
|
+
), this.refresh();
|
|
580
|
+
},
|
|
581
|
+
del() {
|
|
582
|
+
if (this.selectedRowKeys.length === 0) {
|
|
583
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
584
|
+
return;
|
|
585
|
+
}
|
|
586
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
587
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
588
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
589
|
+
showClose: !1,
|
|
590
|
+
confirmButtonLoading: !1,
|
|
591
|
+
cancelButtonLoading: !1,
|
|
592
|
+
closeOnClickModal: !1,
|
|
593
|
+
type: "warning",
|
|
594
|
+
confirmButtonClass: "el-button--danger",
|
|
595
|
+
customClass: "custom-alert",
|
|
596
|
+
callback: () => {
|
|
597
|
+
},
|
|
598
|
+
beforeClose: (s, e, t) => {
|
|
599
|
+
this.delHand(s, e, t);
|
|
600
|
+
}
|
|
601
|
+
});
|
|
602
|
+
},
|
|
603
|
+
delHand(s, e, t) {
|
|
604
|
+
if (s !== "confirm") {
|
|
605
|
+
t();
|
|
606
|
+
return;
|
|
607
|
+
}
|
|
608
|
+
let r = [];
|
|
609
|
+
this.selectedRows.forEach((n) => {
|
|
610
|
+
let i = sysOrgDelete(n).then((o) => o);
|
|
611
|
+
r.push(i);
|
|
612
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(r).then((n) => {
|
|
613
|
+
t();
|
|
614
|
+
const i = n.filter((o) => !o.success);
|
|
615
|
+
i.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") + i[0].message), this.handleOk(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
616
|
+
});
|
|
617
|
+
},
|
|
618
|
+
add() {
|
|
619
|
+
this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
|
|
620
|
+
},
|
|
621
|
+
edit() {
|
|
622
|
+
if (this.selectedRowKeys.length === 0) {
|
|
623
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
if (this.selectedRowKeys.length > 1) {
|
|
627
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
628
|
+
return;
|
|
629
|
+
}
|
|
630
|
+
this.editForm(this.selectedRows[0]);
|
|
631
|
+
},
|
|
632
|
+
async sbumit({ data: s, record: e, btn: t }, r, n) {
|
|
633
|
+
this.formLoading = !0;
|
|
634
|
+
let i = e ? U : M;
|
|
635
|
+
if (!e) {
|
|
636
|
+
let o = await this.getUsrePassword();
|
|
637
|
+
Object.assign(s, {
|
|
638
|
+
password: o,
|
|
639
|
+
confirm: o
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
i(s).then((o) => {
|
|
643
|
+
this.isSendEmailed = "", o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.handleOk(), this.infoData = s, this.sendEmail(e, s)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.formLoading = !1;
|
|
644
|
+
});
|
|
645
|
+
},
|
|
646
|
+
sendEmail(s, e) {
|
|
647
|
+
s || (this.isSendEmail == 1 && this.$notify({
|
|
648
|
+
type: "success",
|
|
649
|
+
title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
|
|
650
|
+
dangerouslyUseHTMLString: !0,
|
|
651
|
+
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
652
|
+
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
653
|
+
}), I({ code: "GDS_NewUser_DisplayAccount" }).then((t) => {
|
|
654
|
+
t.code == 200 && t.data.value == "1" && setTimeout(() => {
|
|
655
|
+
this.$refs.copyInfo.open(this.copyRule);
|
|
656
|
+
}, 1200);
|
|
657
|
+
}));
|
|
658
|
+
},
|
|
659
|
+
handleOk() {
|
|
660
|
+
this.getOrgTree(), this.$refs.table.refresh();
|
|
661
|
+
},
|
|
662
|
+
onSelectChange(s, e) {
|
|
663
|
+
if (this.selectedRowKeys = s, this.selectedRows = e, s.length === 0) {
|
|
664
|
+
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
665
|
+
return;
|
|
666
|
+
}
|
|
667
|
+
if (e.length > 1) {
|
|
668
|
+
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
669
|
+
return;
|
|
670
|
+
}
|
|
671
|
+
let t = [], r = e.filter((i) => i.statecodes == 1), n = e.filter((i) => i.statecodes == 0);
|
|
672
|
+
r.length == e.length ? t = ["\u542F\u7528"] : n.length == e.length && (t = ["\u505C\u7528"]), this.disableBtn = t;
|
|
673
|
+
},
|
|
674
|
+
downloadfile(s) {
|
|
675
|
+
var e = new Blob([s.data], {
|
|
676
|
+
type: "application/octet-stream;charset=UTF-8"
|
|
677
|
+
}), t = s.headers["content-disposition"];
|
|
678
|
+
const i = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t)[1].replace(/['"]/g, "");
|
|
679
|
+
var o = document.createElement("a"), a = window.URL.createObjectURL(e), c = /^["](.*)["]$/g;
|
|
680
|
+
o.style.display = "none", o.href = a, o.download = decodeURI(i.replace(c, "$1")), document.body.appendChild(o), o.click(), document.body.removeChild(o), window.URL.revokeObjectURL(a);
|
|
681
|
+
},
|
|
682
|
+
getUsrePassword() {
|
|
683
|
+
return B({}).then((s) => {
|
|
684
|
+
if (s.success)
|
|
685
|
+
return this.combinationRule = s.data.combinationrule.value, this.copyRule = s.data.copyrule.value, this.lengthRule = s.data.lengthrule.value, this.isSendEmail = s.data.issendemail.value, this.mathPasword(this.lengthRule, this.combinationRule);
|
|
686
|
+
});
|
|
687
|
+
},
|
|
688
|
+
getRandomChar(s) {
|
|
689
|
+
return s ? s[Math.floor(Math.random() * s.length)] : "";
|
|
690
|
+
},
|
|
691
|
+
mathPasword(s, e) {
|
|
692
|
+
let t = (e.includes("AL"), "abcdefghijklmnopqrstuvwxyz"), r = (e.includes("AL"), "ABCDEFGHIJKLMNOPQRSTUVWXYZ"), n = (e.includes("NU"), "0123456789"), i = (e.includes("SC"), "!@#$%&*^"), o = "", a = [];
|
|
693
|
+
if (i && (a.push(this.getRandomChar(i)), a.push(this.getRandomChar(i))), r && (a.push(this.getRandomChar(r)), a.push(this.getRandomChar(r))), t && (a.push(this.getRandomChar(t)), a.push(this.getRandomChar(t))), n && (a.push(this.getRandomChar(n)), a.push(this.getRandomChar(n))), a.length === 0)
|
|
694
|
+
return console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5B57\u7B26\u96C6\u6765\u751F\u6210\u5BC6\u7801\uFF0C\u8BF7\u68C0\u67E5 combinationRule \u53C2\u6570"), "";
|
|
695
|
+
a = a.sort(() => Math.random() - 0.5);
|
|
696
|
+
let c = a.join("");
|
|
697
|
+
for (; c.length < s; ) {
|
|
698
|
+
const h = [i, r, t, n].filter((g) => g);
|
|
699
|
+
if (h.length === 0)
|
|
700
|
+
break;
|
|
701
|
+
const b = h[Math.floor(Math.random() * h.length)];
|
|
702
|
+
c += this.getRandomChar(b);
|
|
703
|
+
}
|
|
704
|
+
return o = c.substring(0, s), o;
|
|
705
|
+
},
|
|
706
|
+
resetPwd() {
|
|
707
|
+
if (this.selectedRowKeys.length === 0) {
|
|
708
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E"));
|
|
709
|
+
return;
|
|
710
|
+
}
|
|
711
|
+
if (this.selectedRowKeys.length > 1) {
|
|
712
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
|
|
713
|
+
return;
|
|
714
|
+
}
|
|
715
|
+
this.$confirm(this.$i18nt("gd.https.resetPwdContent", "\u662F\u5426\u91CD\u7F6E\u5BC6\u7801?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
716
|
+
confirmButtonText: this.$i18nt("gd.https.resetPwdOk", "\u7ACB\u5373\u91CD\u7F6E"),
|
|
717
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
718
|
+
showClose: !1,
|
|
719
|
+
confirmButtonLoading: !1,
|
|
720
|
+
cancelButtonLoading: !1,
|
|
721
|
+
closeOnClickModal: !1,
|
|
722
|
+
type: "warning",
|
|
723
|
+
confirmButtonClass: "el-button--danger",
|
|
724
|
+
customClass: "custom-alert",
|
|
725
|
+
callback: () => {
|
|
726
|
+
},
|
|
727
|
+
beforeClose: (s, e, t) => {
|
|
728
|
+
this.resetPwdHand(s, e, t);
|
|
729
|
+
}
|
|
730
|
+
});
|
|
731
|
+
},
|
|
732
|
+
async resetPwdHand(s, e, t) {
|
|
733
|
+
const r = await this.getUsrePassword();
|
|
734
|
+
let n = this;
|
|
735
|
+
if (s !== "confirm") {
|
|
736
|
+
t();
|
|
737
|
+
return;
|
|
738
|
+
}
|
|
739
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
|
|
740
|
+
let i, o = {};
|
|
741
|
+
if (n.isSendEmail == 1 && n.copyRule == 1)
|
|
742
|
+
o = {
|
|
743
|
+
id: n.selectedRows[0].id,
|
|
744
|
+
newPassword: r
|
|
745
|
+
}, i = C;
|
|
746
|
+
else if (n.isSendEmail == 1)
|
|
747
|
+
o = {
|
|
748
|
+
accountName: n.selectedRows[0].account,
|
|
749
|
+
emailAddress: n.selectedRows[0].email,
|
|
750
|
+
pcR_Type: 5
|
|
751
|
+
}, i = E;
|
|
752
|
+
else if (n.copyRule == 1)
|
|
753
|
+
o = {
|
|
754
|
+
id: n.selectedRows[0].id,
|
|
755
|
+
newPassword: r
|
|
756
|
+
}, i = C;
|
|
757
|
+
else {
|
|
758
|
+
this.$message.error(this.$i18nt("gd.https.resetFailure", "\u91CD\u7F6E\u6210\u529F")), t();
|
|
759
|
+
return;
|
|
760
|
+
}
|
|
761
|
+
i(o).then((a) => {
|
|
762
|
+
if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
|
|
763
|
+
let c = {
|
|
764
|
+
account: n.selectedRows[0].account,
|
|
765
|
+
password: r,
|
|
766
|
+
name: n.selectedRows[0].name,
|
|
767
|
+
email: n.selectedRows[0].email,
|
|
768
|
+
phone: n.selectedRows[0].phone
|
|
769
|
+
};
|
|
770
|
+
n.isSendEmail == 1 && n.copyRule == 0 ? n.$notify({
|
|
771
|
+
duration: 8e3,
|
|
772
|
+
type: "success",
|
|
773
|
+
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
774
|
+
dangerouslyUseHTMLString: !0,
|
|
775
|
+
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
776
|
+
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
777
|
+
}) : n.$message.success(n.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n.copyRule == 1 ? (n.infoData = c, setTimeout(() => {
|
|
778
|
+
n.$refs.copyInfo.open(n.isSendEmail);
|
|
779
|
+
}, 500)) : n.refresh();
|
|
780
|
+
} else
|
|
781
|
+
n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
|
|
782
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
783
|
+
});
|
|
784
|
+
},
|
|
785
|
+
sending() {
|
|
786
|
+
this.refresh();
|
|
787
|
+
},
|
|
788
|
+
getFormList() {
|
|
789
|
+
!this.useForm || H({ tableId: this.tableData.id }).then((s) => {
|
|
790
|
+
if (s.code !== 200)
|
|
791
|
+
return;
|
|
792
|
+
const e = s.data.formlist.filter((t) => t.id === this.options.formId)[0];
|
|
793
|
+
!e || (this.showFormCustom = !0, this.$nextTick(() => {
|
|
794
|
+
setTimeout(() => {
|
|
795
|
+
this.$refs.editFormCustom.setFormRecord(e);
|
|
796
|
+
});
|
|
797
|
+
}));
|
|
798
|
+
});
|
|
799
|
+
},
|
|
800
|
+
doEvent(s) {
|
|
801
|
+
let e = s.item.functionName;
|
|
802
|
+
this[e] && this[e]();
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
mounted() {
|
|
806
|
+
this.getOrgTree(), this.getFormList();
|
|
807
|
+
}
|
|
808
|
+
};
|
|
809
|
+
var X = function() {
|
|
810
|
+
var e = this, t = e._self._c;
|
|
811
|
+
return t("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-tree", style: e.styled }, [t("el-tree", { ref: "tree", attrs: { data: e.orgTree, props: e.defaultProps, "node-key": "id", "current-node-key": e.defaultExpandedKeys, "default-expand-all": "", "highlight-current": "", "expand-on-click-node": !1 }, on: { "node-click": e.handleNodeClick } })], 1), t("div", { staticClass: "page-view-list" }, [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: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: r, row: n }) {
|
|
812
|
+
return [t("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" }, on: { click: e.editForm } })];
|
|
813
|
+
} }, { key: "gender", fn: function(r) {
|
|
814
|
+
return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("gender", r.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", r.row.gender)) + " ")])], 1)];
|
|
815
|
+
} }, { key: "authtype", fn: function(r) {
|
|
816
|
+
return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("user_auth_type", r.row.authtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("user_auth_type", r.row.authtype)) + " ")])], 1)];
|
|
817
|
+
} }, { key: "statecodes", fn: function(r) {
|
|
818
|
+
return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
|
|
819
|
+
return n.stopPropagation(), e.editStateCodes(r);
|
|
820
|
+
} } }, [r.row.statecodes == 1 ? t("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : t("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
|
|
821
|
+
} }, { key: "operator", fn: function() {
|
|
822
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.keywordTip", "\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"), clearable: "" }, nativeOn: { keyup: function(r) {
|
|
823
|
+
return !r.type.indexOf("key") && e._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
824
|
+
} }, model: { value: e.queryParam.searchValue, callback: function(r) {
|
|
825
|
+
e.$set(e.queryParam, "searchValue", r);
|
|
826
|
+
}, 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.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
827
|
+
}, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: n }) {
|
|
828
|
+
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: n }, on: { save: e.saveQueries } })];
|
|
829
|
+
} }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
|
|
830
|
+
e.institutionsShow = !1;
|
|
831
|
+
} } }) : e._e(), t("copyInfo", { ref: "copyInfo", attrs: { infoData: e.infoData, isSendEmail: e.isSendEmailed }, on: { sending: e.sending } }), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, inline: !0, width: "1000px", needLoad: e.needLoad }, on: { sbumit: e.sbumit } }), e.showFormCustom ? t(e.componentForm, { ref: "editFormCustom", tag: "component", attrs: { fieldData: e.fieldData, tableData: e.tableData, recordRelation: e.record, openMode: 1 }, on: { ok: e.refresh } }) : e._e(), t("div", { staticStyle: { position: "fixed", left: "-20000px", top: "-2000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v(" " + e._s(e.$i18nt("gd.user.selectFile", "\u9009\u53D6\u6587\u4EF6")) + " ")])], 1)], 1)], 1);
|
|
832
|
+
}, Z = [], ee = /* @__PURE__ */ T(
|
|
833
|
+
W,
|
|
834
|
+
X,
|
|
835
|
+
Z,
|
|
836
|
+
!1,
|
|
837
|
+
null,
|
|
838
|
+
"ad39de97",
|
|
839
|
+
null,
|
|
840
|
+
null
|
|
841
|
+
);
|
|
842
|
+
const S = ee.exports;
|
|
843
|
+
S.install = function(s) {
|
|
844
|
+
s.component(S.name, S);
|
|
845
|
+
};
|
|
846
|
+
const te = {
|
|
847
|
+
data() {
|
|
848
|
+
return {
|
|
849
|
+
buttons: [
|
|
850
|
+
{
|
|
851
|
+
displayName: "\u786E\u5B9A",
|
|
852
|
+
functionName: "handleSubmit",
|
|
853
|
+
show: !0,
|
|
854
|
+
transKey: "gd.btn.confirm",
|
|
855
|
+
icon: "el-icon-document-checked"
|
|
856
|
+
}
|
|
857
|
+
],
|
|
858
|
+
record: {},
|
|
859
|
+
visible: !1,
|
|
860
|
+
confirmLoading: !1,
|
|
861
|
+
fullscreen: !1,
|
|
862
|
+
width: "90%",
|
|
863
|
+
selectedRowKeys: [],
|
|
864
|
+
allRowData: []
|
|
865
|
+
};
|
|
866
|
+
},
|
|
867
|
+
components: { RoleForm: G },
|
|
868
|
+
computed: {
|
|
869
|
+
height() {
|
|
870
|
+
return this.screenHeight - (this.fullscreen ? 160 : 340);
|
|
871
|
+
},
|
|
872
|
+
...R(["screenHeight"])
|
|
873
|
+
},
|
|
874
|
+
methods: {
|
|
875
|
+
handleSubmit() {
|
|
876
|
+
this.confirmLoading = !0;
|
|
877
|
+
let s = [];
|
|
878
|
+
s = this.allRowData.filter(
|
|
879
|
+
(t) => !this.selectedRowKeys.some((r) => r === t.id)
|
|
880
|
+
);
|
|
881
|
+
const e = s.map((t) => t.id);
|
|
882
|
+
A({ id: this.record.id, addRoleIdList: this.selectedRowKeys, removeRoleIdList: e }).then((t) => {
|
|
883
|
+
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
|
|
884
|
+
});
|
|
885
|
+
},
|
|
886
|
+
open(s) {
|
|
887
|
+
this.confirmLoading = !0, this.record = s, this.visible = !0, q({ id: s.id }).then((e) => {
|
|
888
|
+
e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
|
|
889
|
+
setTimeout(() => {
|
|
890
|
+
this.$refs.roleForm.refresh();
|
|
891
|
+
}, 0);
|
|
892
|
+
}), this.confirmLoading = !1;
|
|
893
|
+
});
|
|
894
|
+
},
|
|
895
|
+
closed() {
|
|
896
|
+
this.fullscreen = !1, this.visible = !1;
|
|
897
|
+
},
|
|
898
|
+
toggleFullscreen() {
|
|
899
|
+
this.fullscreen = !this.fullscreen;
|
|
900
|
+
},
|
|
901
|
+
onSelectChange(s, e, t) {
|
|
902
|
+
this.selectedRowKeys = s, this.allRowData = t.rows;
|
|
903
|
+
},
|
|
904
|
+
doEvent(s) {
|
|
905
|
+
const e = s.item.functionName;
|
|
906
|
+
this[e] && this[e]();
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
};
|
|
910
|
+
var se = function() {
|
|
911
|
+
var e = this, t = e._self._c;
|
|
912
|
+
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
|
|
913
|
+
e.visible = r;
|
|
914
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.authorizationRole", "\u6388\u6743\u89D2\u8272"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("RoleForm", { ref: "roleForm", attrs: { height: e.height, openMode: "components", openSelecteKeys: e.selectedRowKeys }, on: { onSelectChange: e.onSelectChange } }) : e._e()], 1)], 2);
|
|
915
|
+
}, ie = [], ne = /* @__PURE__ */ T(
|
|
916
|
+
te,
|
|
917
|
+
se,
|
|
918
|
+
ie,
|
|
919
|
+
!1,
|
|
920
|
+
null,
|
|
921
|
+
"117b9c7a",
|
|
922
|
+
null,
|
|
923
|
+
null
|
|
924
|
+
);
|
|
925
|
+
const re = ne.exports, oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
926
|
+
__proto__: null,
|
|
927
|
+
default: re
|
|
928
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
929
|
+
const ae = {
|
|
930
|
+
data() {
|
|
931
|
+
return {
|
|
932
|
+
buttons: [
|
|
933
|
+
{
|
|
934
|
+
displayName: "\u786E\u5B9A",
|
|
935
|
+
functionName: "handleSubmit",
|
|
936
|
+
show: !0,
|
|
937
|
+
transKey: "gd.btn.confirm",
|
|
938
|
+
icon: "el-icon-document-checked"
|
|
939
|
+
}
|
|
940
|
+
],
|
|
941
|
+
record: {},
|
|
942
|
+
showForm: !1,
|
|
943
|
+
visible: !1,
|
|
944
|
+
confirmLoading: !1,
|
|
945
|
+
fullscreen: !1,
|
|
946
|
+
width: "600px",
|
|
947
|
+
orgTree: [],
|
|
948
|
+
ruleFormData: {
|
|
949
|
+
orgIded: "",
|
|
950
|
+
orgId: ""
|
|
951
|
+
},
|
|
952
|
+
rules: {
|
|
953
|
+
orgId: [
|
|
954
|
+
{
|
|
955
|
+
required: !0,
|
|
956
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
957
|
+
trigger: "change"
|
|
958
|
+
}
|
|
959
|
+
]
|
|
960
|
+
}
|
|
961
|
+
};
|
|
962
|
+
},
|
|
963
|
+
methods: {
|
|
964
|
+
save() {
|
|
965
|
+
let s = this;
|
|
966
|
+
this.$confirm(
|
|
967
|
+
this.$i18nt("gd.https.orgOldNameTip", "\u7528\u6237\u6240\u5C5E\u5386\u53F2\u6570\u636E\u673A\u6784\u4F1A\u66F4\u65B0,\u662F\u5426\u786E\u8BA4\u4FEE\u6539\u7528\u6237\u6240\u5C5E\u673A\u6784?"),
|
|
968
|
+
this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
|
|
969
|
+
{
|
|
970
|
+
confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
|
|
971
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
972
|
+
showClose: !1,
|
|
973
|
+
confirmButtonLoading: !1,
|
|
974
|
+
cancelButtonLoading: !1,
|
|
975
|
+
closeOnClickModal: !1,
|
|
976
|
+
type: "warning",
|
|
977
|
+
confirmButtonClass: "el-button--danger",
|
|
978
|
+
customClass: "custom-alert",
|
|
979
|
+
callback: () => {
|
|
980
|
+
},
|
|
981
|
+
beforeClose: (e, t, r) => {
|
|
982
|
+
if (e !== "confirm") {
|
|
983
|
+
r();
|
|
984
|
+
return;
|
|
985
|
+
}
|
|
986
|
+
r(), j({ userId: s.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((n) => {
|
|
987
|
+
n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.confirmLoading = !1;
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
);
|
|
992
|
+
},
|
|
993
|
+
handleSubmit() {
|
|
994
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
|
|
995
|
+
s ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
|
|
996
|
+
});
|
|
997
|
+
},
|
|
998
|
+
open(s) {
|
|
999
|
+
this.confirmLoading = !0, this.record = s, this.visible = !0, this.showForm = !1, x().then((e) => {
|
|
1000
|
+
const t = (r) => (r = r.filter((n, i) => (n.id === s.orgid && (n.disabled = !0), n.children && (n.children = t(n.children)), !0)), r);
|
|
1001
|
+
this.orgTree = t(e.data), this.ruleFormData = {
|
|
1002
|
+
orgIded: s.orgid,
|
|
1003
|
+
orgId: ""
|
|
1004
|
+
}, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
|
|
1005
|
+
setTimeout(() => {
|
|
1006
|
+
this.$refs.ruleForm.clearValidate();
|
|
1007
|
+
}, 0);
|
|
1008
|
+
});
|
|
1009
|
+
});
|
|
1010
|
+
},
|
|
1011
|
+
closed() {
|
|
1012
|
+
this.fullscreen = !1, this.visible = !1, this.$emit("closed");
|
|
1013
|
+
},
|
|
1014
|
+
toggleFullscreen() {
|
|
1015
|
+
this.fullscreen = !this.fullscreen;
|
|
1016
|
+
},
|
|
1017
|
+
doEvent(s) {
|
|
1018
|
+
const e = s.item.functionName;
|
|
1019
|
+
this[e] && this[e]();
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
};
|
|
1023
|
+
var le = function() {
|
|
1024
|
+
var e = this, t = e._self._c;
|
|
1025
|
+
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
|
|
1026
|
+
e.visible = r;
|
|
1027
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.updateInstitutions", "\u66F4\u65B0\u673A\u6784"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "130px" } }, [e.showForm ? t("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(r) {
|
|
1028
|
+
r.preventDefault();
|
|
1029
|
+
} } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.user.orgOldName", "\u539F\u673A\u6784\u540D\u79F0"), prop: "orgIded" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, "default-value": e.ruleFormData.orgIded, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !0 }, model: { value: e.ruleFormData.orgIded, callback: function(r) {
|
|
1030
|
+
e.$set(e.ruleFormData, "orgIded", r);
|
|
1031
|
+
}, expression: "ruleFormData.orgIded" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.user.organization", "\u6240\u5C5E\u673A\u6784"), prop: "orgId" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.orgId, callback: function(r) {
|
|
1032
|
+
e.$set(e.ruleFormData, "orgId", r);
|
|
1033
|
+
}, expression: "ruleFormData.orgId" } })], 1)], 1) : e._e()], 1)], 2);
|
|
1034
|
+
}, de = [], ce = /* @__PURE__ */ T(
|
|
1035
|
+
ae,
|
|
1036
|
+
le,
|
|
1037
|
+
de,
|
|
1038
|
+
!1,
|
|
1039
|
+
null,
|
|
1040
|
+
"12675dc5",
|
|
1041
|
+
null,
|
|
1042
|
+
null
|
|
1043
|
+
);
|
|
1044
|
+
const ue = ce.exports, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1045
|
+
__proto__: null,
|
|
1046
|
+
default: ue
|
|
1047
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1048
|
+
var F = { exports: {} };
|
|
1049
|
+
/*!
|
|
1050
|
+
* clipboard.js v2.0.4
|
|
1051
|
+
* https://zenorocha.github.io/clipboard.js
|
|
1052
|
+
*
|
|
1053
|
+
* Licensed MIT © Zeno Rocha
|
|
1054
|
+
*/
|
|
1055
|
+
(function(s, e) {
|
|
1056
|
+
(function(r, n) {
|
|
1057
|
+
s.exports = n();
|
|
1058
|
+
})(Q, function() {
|
|
1059
|
+
return function(t) {
|
|
1060
|
+
var r = {};
|
|
1061
|
+
function n(i) {
|
|
1062
|
+
if (r[i])
|
|
1063
|
+
return r[i].exports;
|
|
1064
|
+
var o = r[i] = {
|
|
1065
|
+
i,
|
|
1066
|
+
l: !1,
|
|
1067
|
+
exports: {}
|
|
1068
|
+
};
|
|
1069
|
+
return t[i].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
|
|
1070
|
+
}
|
|
1071
|
+
return n.m = t, n.c = r, n.d = function(i, o, a) {
|
|
1072
|
+
n.o(i, o) || Object.defineProperty(i, o, { enumerable: !0, get: a });
|
|
1073
|
+
}, n.r = function(i) {
|
|
1074
|
+
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
|
|
1075
|
+
}, n.t = function(i, o) {
|
|
1076
|
+
if (o & 1 && (i = n(i)), o & 8 || o & 4 && typeof i == "object" && i && i.__esModule)
|
|
1077
|
+
return i;
|
|
1078
|
+
var a = /* @__PURE__ */ Object.create(null);
|
|
1079
|
+
if (n.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: i }), o & 2 && typeof i != "string")
|
|
1080
|
+
for (var c in i)
|
|
1081
|
+
n.d(a, c, function(h) {
|
|
1082
|
+
return i[h];
|
|
1083
|
+
}.bind(null, c));
|
|
1084
|
+
return a;
|
|
1085
|
+
}, n.n = function(i) {
|
|
1086
|
+
var o = i && i.__esModule ? function() {
|
|
1087
|
+
return i.default;
|
|
1088
|
+
} : function() {
|
|
1089
|
+
return i;
|
|
1090
|
+
};
|
|
1091
|
+
return n.d(o, "a", o), o;
|
|
1092
|
+
}, n.o = function(i, o) {
|
|
1093
|
+
return Object.prototype.hasOwnProperty.call(i, o);
|
|
1094
|
+
}, n.p = "", n(n.s = 0);
|
|
1095
|
+
}([
|
|
1096
|
+
function(t, r, n) {
|
|
1097
|
+
var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
|
|
1098
|
+
return typeof m;
|
|
1099
|
+
} : function(m) {
|
|
1100
|
+
return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
|
|
1101
|
+
}, o = function() {
|
|
1102
|
+
function m(p, v) {
|
|
1103
|
+
for (var f = 0; f < v.length; f++) {
|
|
1104
|
+
var y = v[f];
|
|
1105
|
+
y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(p, y.key, y);
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
return function(p, v, f) {
|
|
1109
|
+
return v && m(p.prototype, v), f && m(p, f), p;
|
|
1110
|
+
};
|
|
1111
|
+
}(), a = n(1), c = l(a), h = n(3), b = l(h), g = n(4), u = l(g);
|
|
1112
|
+
function l(m) {
|
|
1113
|
+
return m && m.__esModule ? m : { default: m };
|
|
1114
|
+
}
|
|
1115
|
+
function d(m, p) {
|
|
1116
|
+
if (!(m instanceof p))
|
|
1117
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1118
|
+
}
|
|
1119
|
+
function w(m, p) {
|
|
1120
|
+
if (!m)
|
|
1121
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1122
|
+
return p && (typeof p == "object" || typeof p == "function") ? p : m;
|
|
1123
|
+
}
|
|
1124
|
+
function _(m, p) {
|
|
1125
|
+
if (typeof p != "function" && p !== null)
|
|
1126
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof p);
|
|
1127
|
+
m.prototype = Object.create(p && p.prototype, { constructor: { value: m, enumerable: !1, writable: !0, configurable: !0 } }), p && (Object.setPrototypeOf ? Object.setPrototypeOf(m, p) : m.__proto__ = p);
|
|
1128
|
+
}
|
|
1129
|
+
var L = function(m) {
|
|
1130
|
+
_(p, m);
|
|
1131
|
+
function p(v, f) {
|
|
1132
|
+
d(this, p);
|
|
1133
|
+
var y = w(this, (p.__proto__ || Object.getPrototypeOf(p)).call(this));
|
|
1134
|
+
return y.resolveOptions(f), y.listenClick(v), y;
|
|
1135
|
+
}
|
|
1136
|
+
return o(p, [{
|
|
1137
|
+
key: "resolveOptions",
|
|
1138
|
+
value: function() {
|
|
1139
|
+
var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1140
|
+
this.action = typeof f.action == "function" ? f.action : this.defaultAction, this.target = typeof f.target == "function" ? f.target : this.defaultTarget, this.text = typeof f.text == "function" ? f.text : this.defaultText, this.container = i(f.container) === "object" ? f.container : document.body;
|
|
1141
|
+
}
|
|
1142
|
+
}, {
|
|
1143
|
+
key: "listenClick",
|
|
1144
|
+
value: function(f) {
|
|
1145
|
+
var y = this;
|
|
1146
|
+
this.listener = (0, u.default)(f, "click", function($) {
|
|
1147
|
+
return y.onClick($);
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
}, {
|
|
1151
|
+
key: "onClick",
|
|
1152
|
+
value: function(f) {
|
|
1153
|
+
var y = f.delegateTarget || f.currentTarget;
|
|
1154
|
+
this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new c.default({
|
|
1155
|
+
action: this.action(y),
|
|
1156
|
+
target: this.target(y),
|
|
1157
|
+
text: this.text(y),
|
|
1158
|
+
container: this.container,
|
|
1159
|
+
trigger: y,
|
|
1160
|
+
emitter: this
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1163
|
+
}, {
|
|
649
1164
|
key: "defaultAction",
|
|
650
1165
|
value: function(f) {
|
|
651
1166
|
return k("action", f);
|
|
@@ -671,8 +1186,8 @@ var L = { exports: {} };
|
|
|
671
1186
|
key: "isSupported",
|
|
672
1187
|
value: function() {
|
|
673
1188
|
var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], y = typeof f == "string" ? [f] : f, $ = !!document.queryCommandSupported;
|
|
674
|
-
return y.forEach(function(
|
|
675
|
-
$ = $ && !!document.queryCommandSupported(
|
|
1189
|
+
return y.forEach(function(K) {
|
|
1190
|
+
$ = $ && !!document.queryCommandSupported(K);
|
|
676
1191
|
}), $;
|
|
677
1192
|
}
|
|
678
1193
|
}]), p;
|
|
@@ -682,10 +1197,10 @@ var L = { exports: {} };
|
|
|
682
1197
|
if (!!p.hasAttribute(v))
|
|
683
1198
|
return p.getAttribute(v);
|
|
684
1199
|
}
|
|
685
|
-
t.exports =
|
|
1200
|
+
t.exports = L;
|
|
686
1201
|
},
|
|
687
1202
|
function(t, r, n) {
|
|
688
|
-
var
|
|
1203
|
+
var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
|
|
689
1204
|
return typeof u;
|
|
690
1205
|
} : function(u) {
|
|
691
1206
|
return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
|
|
@@ -765,733 +1280,275 @@ var L = { exports: {} };
|
|
|
765
1280
|
}
|
|
766
1281
|
}, {
|
|
767
1282
|
key: "clearSelection",
|
|
768
|
-
value: function() {
|
|
769
|
-
this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges();
|
|
770
|
-
}
|
|
771
|
-
}, {
|
|
772
|
-
key: "destroy",
|
|
773
|
-
value: function() {
|
|
774
|
-
this.removeFake();
|
|
775
|
-
}
|
|
776
|
-
}, {
|
|
777
|
-
key: "action",
|
|
778
|
-
set: function() {
|
|
779
|
-
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "copy";
|
|
780
|
-
if (this._action = d, this._action !== "copy" && this._action !== "cut")
|
|
781
|
-
throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
|
782
|
-
},
|
|
783
|
-
get: function() {
|
|
784
|
-
return this._action;
|
|
785
|
-
}
|
|
786
|
-
}, {
|
|
787
|
-
key: "target",
|
|
788
|
-
set: function(d) {
|
|
789
|
-
if (d !== void 0)
|
|
790
|
-
if (d && (typeof d > "u" ? "undefined" :
|
|
791
|
-
if (this.action === "copy" && d.hasAttribute("disabled"))
|
|
792
|
-
throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
|
793
|
-
if (this.action === "cut" && (d.hasAttribute("readonly") || d.hasAttribute("disabled")))
|
|
794
|
-
throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
|
|
795
|
-
this._target = d;
|
|
796
|
-
} else
|
|
797
|
-
throw new Error('Invalid "target" value, use a valid Element');
|
|
798
|
-
},
|
|
799
|
-
get: function() {
|
|
800
|
-
return this._target;
|
|
801
|
-
}
|
|
802
|
-
}]), u;
|
|
803
|
-
}();
|
|
804
|
-
t.exports = g;
|
|
805
|
-
},
|
|
806
|
-
function(t, r) {
|
|
807
|
-
function n(s) {
|
|
808
|
-
var o;
|
|
809
|
-
if (s.nodeName === "SELECT")
|
|
810
|
-
s.focus(), o = s.value;
|
|
811
|
-
else if (s.nodeName === "INPUT" || s.nodeName === "TEXTAREA") {
|
|
812
|
-
var a = s.hasAttribute("readonly");
|
|
813
|
-
a || s.setAttribute("readonly", ""), s.select(), s.setSelectionRange(0, s.value.length), a || s.removeAttribute("readonly"), o = s.value;
|
|
814
|
-
} else {
|
|
815
|
-
s.hasAttribute("contenteditable") && s.focus();
|
|
816
|
-
var c = window.getSelection(), h = document.createRange();
|
|
817
|
-
h.selectNodeContents(s), c.removeAllRanges(), c.addRange(h), o = c.toString();
|
|
818
|
-
}
|
|
819
|
-
return o;
|
|
820
|
-
}
|
|
821
|
-
t.exports = n;
|
|
822
|
-
},
|
|
823
|
-
function(t, r) {
|
|
824
|
-
function n() {
|
|
825
|
-
}
|
|
826
|
-
n.prototype = {
|
|
827
|
-
on: function(s, o, a) {
|
|
828
|
-
var c = this.e || (this.e = {});
|
|
829
|
-
return (c[s] || (c[s] = [])).push({
|
|
830
|
-
fn: o,
|
|
831
|
-
ctx: a
|
|
832
|
-
}), this;
|
|
833
|
-
},
|
|
834
|
-
once: function(s, o, a) {
|
|
835
|
-
var c = this;
|
|
836
|
-
function h() {
|
|
837
|
-
c.off(s, h), o.apply(a, arguments);
|
|
838
|
-
}
|
|
839
|
-
return h._ = o, this.on(s, h, a);
|
|
840
|
-
},
|
|
841
|
-
emit: function(s) {
|
|
842
|
-
var o = [].slice.call(arguments, 1), a = ((this.e || (this.e = {}))[s] || []).slice(), c = 0, h = a.length;
|
|
843
|
-
for (c; c < h; c++)
|
|
844
|
-
a[c].fn.apply(a[c].ctx, o);
|
|
845
|
-
return this;
|
|
846
|
-
},
|
|
847
|
-
off: function(s, o) {
|
|
848
|
-
var a = this.e || (this.e = {}), c = a[s], h = [];
|
|
849
|
-
if (c && o)
|
|
850
|
-
for (var b = 0, g = c.length; b < g; b++)
|
|
851
|
-
c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
|
|
852
|
-
return h.length ? a[s] = h : delete a[s], this;
|
|
853
|
-
}
|
|
854
|
-
}, t.exports = n;
|
|
855
|
-
},
|
|
856
|
-
function(t, r, n) {
|
|
857
|
-
var s = n(5), o = n(6);
|
|
858
|
-
function a(g, u, l) {
|
|
859
|
-
if (!g && !u && !l)
|
|
860
|
-
throw new Error("Missing required arguments");
|
|
861
|
-
if (!s.string(u))
|
|
862
|
-
throw new TypeError("Second argument must be a String");
|
|
863
|
-
if (!s.fn(l))
|
|
864
|
-
throw new TypeError("Third argument must be a Function");
|
|
865
|
-
if (s.node(g))
|
|
866
|
-
return c(g, u, l);
|
|
867
|
-
if (s.nodeList(g))
|
|
868
|
-
return h(g, u, l);
|
|
869
|
-
if (s.string(g))
|
|
870
|
-
return b(g, u, l);
|
|
871
|
-
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
|
872
|
-
}
|
|
873
|
-
function c(g, u, l) {
|
|
874
|
-
return g.addEventListener(u, l), {
|
|
875
|
-
destroy: function() {
|
|
876
|
-
g.removeEventListener(u, l);
|
|
877
|
-
}
|
|
878
|
-
};
|
|
879
|
-
}
|
|
880
|
-
function h(g, u, l) {
|
|
881
|
-
return Array.prototype.forEach.call(g, function(d) {
|
|
882
|
-
d.addEventListener(u, l);
|
|
883
|
-
}), {
|
|
884
|
-
destroy: function() {
|
|
885
|
-
Array.prototype.forEach.call(g, function(d) {
|
|
886
|
-
d.removeEventListener(u, l);
|
|
887
|
-
});
|
|
888
|
-
}
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
function b(g, u, l) {
|
|
892
|
-
return o(document.body, g, u, l);
|
|
893
|
-
}
|
|
894
|
-
t.exports = a;
|
|
895
|
-
},
|
|
896
|
-
function(t, r) {
|
|
897
|
-
r.node = function(n) {
|
|
898
|
-
return n !== void 0 && n instanceof HTMLElement && n.nodeType === 1;
|
|
899
|
-
}, r.nodeList = function(n) {
|
|
900
|
-
var s = Object.prototype.toString.call(n);
|
|
901
|
-
return n !== void 0 && (s === "[object NodeList]" || s === "[object HTMLCollection]") && "length" in n && (n.length === 0 || r.node(n[0]));
|
|
902
|
-
}, r.string = function(n) {
|
|
903
|
-
return typeof n == "string" || n instanceof String;
|
|
904
|
-
}, r.fn = function(n) {
|
|
905
|
-
var s = Object.prototype.toString.call(n);
|
|
906
|
-
return s === "[object Function]";
|
|
907
|
-
};
|
|
908
|
-
},
|
|
909
|
-
function(t, r, n) {
|
|
910
|
-
var s = n(7);
|
|
911
|
-
function o(h, b, g, u, l) {
|
|
912
|
-
var d = c.apply(this, arguments);
|
|
913
|
-
return h.addEventListener(g, d, l), {
|
|
914
|
-
destroy: function() {
|
|
915
|
-
h.removeEventListener(g, d, l);
|
|
916
|
-
}
|
|
917
|
-
};
|
|
918
|
-
}
|
|
919
|
-
function a(h, b, g, u, l) {
|
|
920
|
-
return typeof h.addEventListener == "function" ? o.apply(null, arguments) : typeof g == "function" ? o.bind(null, document).apply(null, arguments) : (typeof h == "string" && (h = document.querySelectorAll(h)), Array.prototype.map.call(h, function(d) {
|
|
921
|
-
return o(d, b, g, u, l);
|
|
922
|
-
}));
|
|
923
|
-
}
|
|
924
|
-
function c(h, b, g, u) {
|
|
925
|
-
return function(l) {
|
|
926
|
-
l.delegateTarget = s(l.target, b), l.delegateTarget && u.call(h, l);
|
|
927
|
-
};
|
|
928
|
-
}
|
|
929
|
-
t.exports = a;
|
|
930
|
-
},
|
|
931
|
-
function(t, r) {
|
|
932
|
-
var n = 9;
|
|
933
|
-
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
934
|
-
var s = Element.prototype;
|
|
935
|
-
s.matches = s.matchesSelector || s.mozMatchesSelector || s.msMatchesSelector || s.oMatchesSelector || s.webkitMatchesSelector;
|
|
936
|
-
}
|
|
937
|
-
function o(a, c) {
|
|
938
|
-
for (; a && a.nodeType !== n; ) {
|
|
939
|
-
if (typeof a.matches == "function" && a.matches(c))
|
|
940
|
-
return a;
|
|
941
|
-
a = a.parentNode;
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
t.exports = o;
|
|
945
|
-
}
|
|
946
|
-
]);
|
|
947
|
-
});
|
|
948
|
-
})(L);
|
|
949
|
-
const re = /* @__PURE__ */ D(L.exports);
|
|
950
|
-
const oe = {
|
|
951
|
-
props: {
|
|
952
|
-
infoData: {
|
|
953
|
-
type: Object,
|
|
954
|
-
required: !0
|
|
955
|
-
},
|
|
956
|
-
isSendEmail: {
|
|
957
|
-
type: String,
|
|
958
|
-
default: ""
|
|
959
|
-
}
|
|
960
|
-
},
|
|
961
|
-
data() {
|
|
962
|
-
return {
|
|
963
|
-
visible: !1,
|
|
964
|
-
sending: !1,
|
|
965
|
-
isSendEmailList: "",
|
|
966
|
-
width: "520px",
|
|
967
|
-
fullscreen: !1
|
|
968
|
-
};
|
|
969
|
-
},
|
|
970
|
-
computed: {
|
|
971
|
-
copyInfo() {
|
|
972
|
-
return `${this.$i18nt("gd.user.account", "\u8D26\u53F7")}: ${this.infoData.account}
|
|
973
|
-
${this.$i18nt("gd.user.paw", "\u5BC6\u7801")}: ${this.infoData.password}
|
|
974
|
-
${this.$i18nt("gd.user.name", "\u59D3\u540D")}: ${this.infoData.name}
|
|
975
|
-
${this.$i18nt("gd.user.email", "\u90AE\u7BB1")}: ${this.infoData.email}
|
|
976
|
-
${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
|
|
977
|
-
`;
|
|
978
|
-
}
|
|
979
|
-
},
|
|
980
|
-
methods: {
|
|
981
|
-
open(i) {
|
|
982
|
-
this.visible = !0, this.isSendEmailList = i;
|
|
983
|
-
},
|
|
984
|
-
colseCancel() {
|
|
985
|
-
this.visible = !1;
|
|
986
|
-
},
|
|
987
|
-
cmpleteUpgrade() {
|
|
988
|
-
const i = new re(".copy-btn");
|
|
989
|
-
i.on("success", () => {
|
|
990
|
-
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
|
|
991
|
-
}), i.on("error", () => {
|
|
992
|
-
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
|
|
993
|
-
}), setTimeout(() => {
|
|
994
|
-
i.destroy();
|
|
995
|
-
}, 122);
|
|
996
|
-
},
|
|
997
|
-
sendingEailm() {
|
|
998
|
-
let i = this;
|
|
999
|
-
i.sending = !0;
|
|
1000
|
-
let e = {
|
|
1001
|
-
accountName: i.infoData.account,
|
|
1002
|
-
emailAddress: i.infoData.email,
|
|
1003
|
-
pcR_Type: 5
|
|
1004
|
-
};
|
|
1005
|
-
E(e).then((t) => {
|
|
1006
|
-
t.success ? (i.sending = !1, i.visible = !1, i.$notify({
|
|
1007
|
-
duration: 8e3,
|
|
1008
|
-
type: "success",
|
|
1009
|
-
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
1010
|
-
dangerouslyUseHTMLString: !0,
|
|
1011
|
-
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
1012
|
-
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
1013
|
-
}), i.$emit("sending")) : i.$message.error(i.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
|
|
1014
|
-
});
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
var ae = function() {
|
|
1019
|
-
var e = this, t = e._self._c;
|
|
1020
|
-
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px" }, on: { "update:visible": function(r) {
|
|
1021
|
-
e.visible = r;
|
|
1022
|
-
}, closed: e.colseCancel } }, [t("template", { slot: "title" }, [t("div", { staticClass: "gd-dialog-head" }, [t("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.$i18nt("gd.user.basicInformation", "\u57FA\u672C\u4FE1\u606F")))])])]), t("el-descriptions", { attrs: { title: "", column: 1, size: "medium" } }, [t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.account", "\u8D26\u53F7") } }, [e._v(e._s(e.infoData.account))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.paw", "\u5BC6\u7801") } }, [e._v(e._s(e.infoData.password))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.name", "\u59D3\u540D") } }, [e._v(e._s(e.infoData.name))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.email", "\u90AE\u7BB1") } }, [e._v(e._s(e.infoData.email))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.phone", "\u624B\u673A") } }, [e._v(e._s(e.infoData.phone))])], 1), t("template", { slot: "footer" }, [t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", "data-clipboard-action": "copy", "data-clipboard-text": e.copyInfo, icon: "el-icon-document-copy" }, on: { click: e.cmpleteUpgrade } }, [e._v(" " + e._s(e.$i18nt("gd.btn.copy")) + " ")]), e.isSendEmail == "1" ? t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", loading: e.sending, icon: "el-icon-message" }, on: { click: e.sendingEailm } }, [e._v(" " + e._s(e.$i18nt("gd.email.sending")) + " ")]) : e._e()], 1)], 2);
|
|
1023
|
-
}, le = [], de = /* @__PURE__ */ T(
|
|
1024
|
-
oe,
|
|
1025
|
-
ae,
|
|
1026
|
-
le,
|
|
1027
|
-
!1,
|
|
1028
|
-
null,
|
|
1029
|
-
"b6f77ddd",
|
|
1030
|
-
null,
|
|
1031
|
-
null
|
|
1032
|
-
);
|
|
1033
|
-
const ce = de.exports;
|
|
1034
|
-
const ue = {
|
|
1035
|
-
name: "GdUse",
|
|
1036
|
-
props: {
|
|
1037
|
-
height: {
|
|
1038
|
-
type: Number,
|
|
1039
|
-
default: 100
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
mixins: [G, ne],
|
|
1043
|
-
data() {
|
|
1044
|
-
return {
|
|
1045
|
-
transKey: "gd.btn.add",
|
|
1046
|
-
formLoading: !1,
|
|
1047
|
-
currentNode: null,
|
|
1048
|
-
loading: !0,
|
|
1049
|
-
orgTree: [],
|
|
1050
|
-
selectedRowKeys: [],
|
|
1051
|
-
selectedRows: [],
|
|
1052
|
-
queryParam: {},
|
|
1053
|
-
defaultProps: {
|
|
1054
|
-
children: "children",
|
|
1055
|
-
label: "title",
|
|
1056
|
-
value: "value"
|
|
1283
|
+
value: function() {
|
|
1284
|
+
this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges();
|
|
1285
|
+
}
|
|
1286
|
+
}, {
|
|
1287
|
+
key: "destroy",
|
|
1288
|
+
value: function() {
|
|
1289
|
+
this.removeFake();
|
|
1290
|
+
}
|
|
1291
|
+
}, {
|
|
1292
|
+
key: "action",
|
|
1293
|
+
set: function() {
|
|
1294
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "copy";
|
|
1295
|
+
if (this._action = d, this._action !== "copy" && this._action !== "cut")
|
|
1296
|
+
throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
|
1297
|
+
},
|
|
1298
|
+
get: function() {
|
|
1299
|
+
return this._action;
|
|
1300
|
+
}
|
|
1301
|
+
}, {
|
|
1302
|
+
key: "target",
|
|
1303
|
+
set: function(d) {
|
|
1304
|
+
if (d !== void 0)
|
|
1305
|
+
if (d && (typeof d > "u" ? "undefined" : i(d)) === "object" && d.nodeType === 1) {
|
|
1306
|
+
if (this.action === "copy" && d.hasAttribute("disabled"))
|
|
1307
|
+
throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
|
1308
|
+
if (this.action === "cut" && (d.hasAttribute("readonly") || d.hasAttribute("disabled")))
|
|
1309
|
+
throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
|
|
1310
|
+
this._target = d;
|
|
1311
|
+
} else
|
|
1312
|
+
throw new Error('Invalid "target" value, use a valid Element');
|
|
1313
|
+
},
|
|
1314
|
+
get: function() {
|
|
1315
|
+
return this._target;
|
|
1316
|
+
}
|
|
1317
|
+
}]), u;
|
|
1318
|
+
}();
|
|
1319
|
+
t.exports = g;
|
|
1057
1320
|
},
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
UserRoleForm: X,
|
|
1071
|
-
EditInstitutions: ie,
|
|
1072
|
-
copyInfo: ce
|
|
1073
|
-
},
|
|
1074
|
-
computed: {
|
|
1075
|
-
getQueryParam() {
|
|
1076
|
-
let i = /* @__PURE__ */ new Map();
|
|
1077
|
-
for (let e in this.queryParam)
|
|
1078
|
-
i.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
|
|
1079
|
-
return Object.fromEntries(i);
|
|
1080
|
-
},
|
|
1081
|
-
getFormColumns() {
|
|
1082
|
-
return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
|
|
1083
|
-
},
|
|
1084
|
-
getTableButtons() {
|
|
1085
|
-
return this.tableButtons.filter((i) => (i.show = !this.disableBtn.includes(i.displayName), !0));
|
|
1086
|
-
},
|
|
1087
|
-
getHeight() {
|
|
1088
|
-
return this.height;
|
|
1089
|
-
},
|
|
1090
|
-
styled() {
|
|
1091
|
-
return `height:${this.height + 76}px`;
|
|
1092
|
-
},
|
|
1093
|
-
...R(["tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
1094
|
-
},
|
|
1095
|
-
methods: {
|
|
1096
|
-
updateInstitutions() {
|
|
1097
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1098
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1099
|
-
return;
|
|
1100
|
-
}
|
|
1101
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1102
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
1103
|
-
return;
|
|
1104
|
-
}
|
|
1105
|
-
this.institutionsShow = !0, this.$nextTick(() => {
|
|
1106
|
-
setTimeout(() => {
|
|
1107
|
-
this.$refs.editInstitutions.open(this.selectedRows[0]);
|
|
1108
|
-
}, 0);
|
|
1109
|
-
});
|
|
1110
|
-
},
|
|
1111
|
-
userRole() {
|
|
1112
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1113
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1114
|
-
return;
|
|
1115
|
-
}
|
|
1116
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1117
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
1118
|
-
return;
|
|
1119
|
-
}
|
|
1120
|
-
this.$refs.userRoleForm.open(this.selectedRows[0]);
|
|
1121
|
-
},
|
|
1122
|
-
saveQueries(i) {
|
|
1123
|
-
this.queryParam = {
|
|
1124
|
-
...i
|
|
1125
|
-
}, this.refresh();
|
|
1126
|
-
},
|
|
1127
|
-
handleFileUpload(i) {
|
|
1128
|
-
const e = this.$message({
|
|
1129
|
-
message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
|
|
1130
|
-
duration: 0,
|
|
1131
|
-
iconClass: "el-icon-loading"
|
|
1132
|
-
}), t = new FormData();
|
|
1133
|
-
t.append("file", i.file), U(t).then((r) => {
|
|
1134
|
-
r.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + r.message), this.$nextTick(() => {
|
|
1135
|
-
setTimeout(() => {
|
|
1136
|
-
e.close();
|
|
1137
|
-
}, 200);
|
|
1138
|
-
});
|
|
1139
|
-
});
|
|
1140
|
-
},
|
|
1141
|
-
importUser() {
|
|
1142
|
-
this.fileList = [], document.querySelector(".upload-demo").click();
|
|
1143
|
-
},
|
|
1144
|
-
exportUser() {
|
|
1145
|
-
const i = this.$message({
|
|
1146
|
-
message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
|
|
1147
|
-
duration: 0,
|
|
1148
|
-
iconClass: "el-icon-loading"
|
|
1149
|
-
});
|
|
1150
|
-
A().then((e) => {
|
|
1151
|
-
this.downloadfile(e), this.$nextTick(() => {
|
|
1152
|
-
setTimeout(() => {
|
|
1153
|
-
i.close();
|
|
1154
|
-
}, 200);
|
|
1155
|
-
});
|
|
1156
|
-
}).catch((e) => {
|
|
1157
|
-
this.$nextTick(() => {
|
|
1158
|
-
setTimeout(() => {
|
|
1159
|
-
i.close();
|
|
1160
|
-
}, 200);
|
|
1161
|
-
});
|
|
1162
|
-
});
|
|
1163
|
-
},
|
|
1164
|
-
enable() {
|
|
1165
|
-
this.editStateCodes({
|
|
1166
|
-
row: this.selectedRows[0]
|
|
1167
|
-
});
|
|
1168
|
-
},
|
|
1169
|
-
deactivated() {
|
|
1170
|
-
this.editStateCodes({
|
|
1171
|
-
row: this.selectedRows[0]
|
|
1172
|
-
});
|
|
1173
|
-
},
|
|
1174
|
-
editStateCodes({ column: i, row: e }) {
|
|
1175
|
-
const t = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), r = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
|
|
1176
|
-
this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1177
|
-
confirmButtonText: r,
|
|
1178
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1179
|
-
showClose: !1,
|
|
1180
|
-
confirmButtonLoading: !1,
|
|
1181
|
-
cancelButtonLoading: !1,
|
|
1182
|
-
closeOnClickModal: !1,
|
|
1183
|
-
type: "warning",
|
|
1184
|
-
confirmButtonClass: "el-button--danger",
|
|
1185
|
-
customClass: "custom-alert",
|
|
1186
|
-
callback: () => {
|
|
1187
|
-
},
|
|
1188
|
-
beforeClose: (n, s, o) => {
|
|
1189
|
-
if (n !== "confirm") {
|
|
1190
|
-
o();
|
|
1191
|
-
return;
|
|
1321
|
+
function(t, r) {
|
|
1322
|
+
function n(i) {
|
|
1323
|
+
var o;
|
|
1324
|
+
if (i.nodeName === "SELECT")
|
|
1325
|
+
i.focus(), o = i.value;
|
|
1326
|
+
else if (i.nodeName === "INPUT" || i.nodeName === "TEXTAREA") {
|
|
1327
|
+
var a = i.hasAttribute("readonly");
|
|
1328
|
+
a || i.setAttribute("readonly", ""), i.select(), i.setSelectionRange(0, i.value.length), a || i.removeAttribute("readonly"), o = i.value;
|
|
1329
|
+
} else {
|
|
1330
|
+
i.hasAttribute("contenteditable") && i.focus();
|
|
1331
|
+
var c = window.getSelection(), h = document.createRange();
|
|
1332
|
+
h.selectNodeContents(i), c.removeAllRanges(), c.addRange(h), o = c.toString();
|
|
1192
1333
|
}
|
|
1193
|
-
|
|
1194
|
-
id: e.id,
|
|
1195
|
-
stateCodes: e.statecodes == 1 ? 0 : 1
|
|
1196
|
-
}).then((a) => {
|
|
1197
|
-
o(), a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0;
|
|
1198
|
-
});
|
|
1334
|
+
return o;
|
|
1199
1335
|
}
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1336
|
+
t.exports = n;
|
|
1337
|
+
},
|
|
1338
|
+
function(t, r) {
|
|
1339
|
+
function n() {
|
|
1340
|
+
}
|
|
1341
|
+
n.prototype = {
|
|
1342
|
+
on: function(i, o, a) {
|
|
1343
|
+
var c = this.e || (this.e = {});
|
|
1344
|
+
return (c[i] || (c[i] = [])).push({
|
|
1345
|
+
fn: o,
|
|
1346
|
+
ctx: a
|
|
1347
|
+
}), this;
|
|
1210
1348
|
},
|
|
1211
|
-
{
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1349
|
+
once: function(i, o, a) {
|
|
1350
|
+
var c = this;
|
|
1351
|
+
function h() {
|
|
1352
|
+
c.off(i, h), o.apply(a, arguments);
|
|
1353
|
+
}
|
|
1354
|
+
return h._ = o, this.on(i, h, a);
|
|
1355
|
+
},
|
|
1356
|
+
emit: function(i) {
|
|
1357
|
+
var o = [].slice.call(arguments, 1), a = ((this.e || (this.e = {}))[i] || []).slice(), c = 0, h = a.length;
|
|
1358
|
+
for (c; c < h; c++)
|
|
1359
|
+
a[c].fn.apply(a[c].ctx, o);
|
|
1360
|
+
return this;
|
|
1361
|
+
},
|
|
1362
|
+
off: function(i, o) {
|
|
1363
|
+
var a = this.e || (this.e = {}), c = a[i], h = [];
|
|
1364
|
+
if (c && o)
|
|
1365
|
+
for (var b = 0, g = c.length; b < g; b++)
|
|
1366
|
+
c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
|
|
1367
|
+
return h.length ? a[i] = h : delete a[i], this;
|
|
1215
1368
|
}
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1369
|
+
}, t.exports = n;
|
|
1370
|
+
},
|
|
1371
|
+
function(t, r, n) {
|
|
1372
|
+
var i = n(5), o = n(6);
|
|
1373
|
+
function a(g, u, l) {
|
|
1374
|
+
if (!g && !u && !l)
|
|
1375
|
+
throw new Error("Missing required arguments");
|
|
1376
|
+
if (!i.string(u))
|
|
1377
|
+
throw new TypeError("Second argument must be a String");
|
|
1378
|
+
if (!i.fn(l))
|
|
1379
|
+
throw new TypeError("Third argument must be a Function");
|
|
1380
|
+
if (i.node(g))
|
|
1381
|
+
return c(g, u, l);
|
|
1382
|
+
if (i.nodeList(g))
|
|
1383
|
+
return h(g, u, l);
|
|
1384
|
+
if (i.string(g))
|
|
1385
|
+
return b(g, u, l);
|
|
1386
|
+
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
|
1224
1387
|
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1388
|
+
function c(g, u, l) {
|
|
1389
|
+
return g.addEventListener(u, l), {
|
|
1390
|
+
destroy: function() {
|
|
1391
|
+
g.removeEventListener(u, l);
|
|
1392
|
+
}
|
|
1393
|
+
};
|
|
1394
|
+
}
|
|
1395
|
+
function h(g, u, l) {
|
|
1396
|
+
return Array.prototype.forEach.call(g, function(d) {
|
|
1397
|
+
d.addEventListener(u, l);
|
|
1398
|
+
}), {
|
|
1399
|
+
destroy: function() {
|
|
1400
|
+
Array.prototype.forEach.call(g, function(d) {
|
|
1401
|
+
d.removeEventListener(u, l);
|
|
1402
|
+
});
|
|
1403
|
+
}
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1406
|
+
function b(g, u, l) {
|
|
1407
|
+
return o(document.body, g, u, l);
|
|
1408
|
+
}
|
|
1409
|
+
t.exports = a;
|
|
1410
|
+
},
|
|
1411
|
+
function(t, r) {
|
|
1412
|
+
r.node = function(n) {
|
|
1413
|
+
return n !== void 0 && n instanceof HTMLElement && n.nodeType === 1;
|
|
1414
|
+
}, r.nodeList = function(n) {
|
|
1415
|
+
var i = Object.prototype.toString.call(n);
|
|
1416
|
+
return n !== void 0 && (i === "[object NodeList]" || i === "[object HTMLCollection]") && "length" in n && (n.length === 0 || r.node(n[0]));
|
|
1417
|
+
}, r.string = function(n) {
|
|
1418
|
+
return typeof n == "string" || n instanceof String;
|
|
1419
|
+
}, r.fn = function(n) {
|
|
1420
|
+
var i = Object.prototype.toString.call(n);
|
|
1421
|
+
return i === "[object Function]";
|
|
1422
|
+
};
|
|
1423
|
+
},
|
|
1424
|
+
function(t, r, n) {
|
|
1425
|
+
var i = n(7);
|
|
1426
|
+
function o(h, b, g, u, l) {
|
|
1427
|
+
var d = c.apply(this, arguments);
|
|
1428
|
+
return h.addEventListener(g, d, l), {
|
|
1429
|
+
destroy: function() {
|
|
1430
|
+
h.removeEventListener(g, d, l);
|
|
1431
|
+
}
|
|
1432
|
+
};
|
|
1239
1433
|
}
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
1245
|
-
return;
|
|
1246
|
-
}
|
|
1247
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1248
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
1249
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1250
|
-
showClose: !1,
|
|
1251
|
-
confirmButtonLoading: !1,
|
|
1252
|
-
cancelButtonLoading: !1,
|
|
1253
|
-
closeOnClickModal: !1,
|
|
1254
|
-
type: "warning",
|
|
1255
|
-
confirmButtonClass: "el-button--danger",
|
|
1256
|
-
customClass: "custom-alert",
|
|
1257
|
-
callback: () => {
|
|
1258
|
-
},
|
|
1259
|
-
beforeClose: (i, e, t) => {
|
|
1260
|
-
this.delHand(i, e, t);
|
|
1434
|
+
function a(h, b, g, u, l) {
|
|
1435
|
+
return typeof h.addEventListener == "function" ? o.apply(null, arguments) : typeof g == "function" ? o.bind(null, document).apply(null, arguments) : (typeof h == "string" && (h = document.querySelectorAll(h)), Array.prototype.map.call(h, function(d) {
|
|
1436
|
+
return o(d, b, g, u, l);
|
|
1437
|
+
}));
|
|
1261
1438
|
}
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1284
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1285
|
-
return;
|
|
1286
|
-
}
|
|
1287
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1288
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
1289
|
-
return;
|
|
1290
|
-
}
|
|
1291
|
-
this.editForm(this.selectedRows[0]);
|
|
1292
|
-
},
|
|
1293
|
-
async sbumit({ data: i, record: e, btn: t }, r, n) {
|
|
1294
|
-
this.formLoading = !0;
|
|
1295
|
-
let s = e ? j : z;
|
|
1296
|
-
if (!e) {
|
|
1297
|
-
let o = await this.getUsrePassword();
|
|
1298
|
-
Object.assign(i, {
|
|
1299
|
-
password: o,
|
|
1300
|
-
confirm: o
|
|
1301
|
-
});
|
|
1302
|
-
}
|
|
1303
|
-
s(i).then((o) => {
|
|
1304
|
-
this.isSendEmailed = "", o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.handleOk(), this.infoData = i, this.sendEmail(e, i)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.formLoading = !1;
|
|
1305
|
-
});
|
|
1306
|
-
},
|
|
1307
|
-
sendEmail(i, e) {
|
|
1308
|
-
i || (this.isSendEmail == 1 && this.$notify({
|
|
1309
|
-
type: "success",
|
|
1310
|
-
title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
|
|
1311
|
-
dangerouslyUseHTMLString: !0,
|
|
1312
|
-
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
1313
|
-
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
1314
|
-
}), q({ code: "GDS_NewUser_DisplayAccount" }).then((t) => {
|
|
1315
|
-
t.code == 200 && t.data.value == "1" && setTimeout(() => {
|
|
1316
|
-
this.$refs.copyInfo.open(this.copyRule);
|
|
1317
|
-
}, 1200);
|
|
1318
|
-
}));
|
|
1319
|
-
},
|
|
1320
|
-
handleOk() {
|
|
1321
|
-
this.getOrgTree(), this.$refs.table.refresh();
|
|
1322
|
-
},
|
|
1323
|
-
onSelectChange(i, e) {
|
|
1324
|
-
if (this.selectedRowKeys = i, this.selectedRows = e, i.length === 0) {
|
|
1325
|
-
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
1326
|
-
return;
|
|
1327
|
-
}
|
|
1328
|
-
if (e.length > 1) {
|
|
1329
|
-
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
1330
|
-
return;
|
|
1439
|
+
function c(h, b, g, u) {
|
|
1440
|
+
return function(l) {
|
|
1441
|
+
l.delegateTarget = i(l.target, b), l.delegateTarget && u.call(h, l);
|
|
1442
|
+
};
|
|
1443
|
+
}
|
|
1444
|
+
t.exports = a;
|
|
1445
|
+
},
|
|
1446
|
+
function(t, r) {
|
|
1447
|
+
var n = 9;
|
|
1448
|
+
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
1449
|
+
var i = Element.prototype;
|
|
1450
|
+
i.matches = i.matchesSelector || i.mozMatchesSelector || i.msMatchesSelector || i.oMatchesSelector || i.webkitMatchesSelector;
|
|
1451
|
+
}
|
|
1452
|
+
function o(a, c) {
|
|
1453
|
+
for (; a && a.nodeType !== n; ) {
|
|
1454
|
+
if (typeof a.matches == "function" && a.matches(c))
|
|
1455
|
+
return a;
|
|
1456
|
+
a = a.parentNode;
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
t.exports = o;
|
|
1331
1460
|
}
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
o.style.display = "none", o.href = a, o.download = decodeURI(s.replace(c, "$1")), document.body.appendChild(o), o.click(), document.body.removeChild(o), window.URL.revokeObjectURL(a);
|
|
1342
|
-
},
|
|
1343
|
-
getUsrePassword() {
|
|
1344
|
-
return H({}).then((i) => {
|
|
1345
|
-
if (i.success)
|
|
1346
|
-
return this.combinationRule = i.data.combinationrule.value, this.copyRule = i.data.copyrule.value, this.lengthRule = i.data.lengthrule.value, this.isSendEmail = i.data.issendemail.value, this.mathPasword(this.lengthRule, this.combinationRule);
|
|
1347
|
-
});
|
|
1461
|
+
]);
|
|
1462
|
+
});
|
|
1463
|
+
})(F);
|
|
1464
|
+
const fe = /* @__PURE__ */ Y(F.exports);
|
|
1465
|
+
const pe = {
|
|
1466
|
+
props: {
|
|
1467
|
+
infoData: {
|
|
1468
|
+
type: Object,
|
|
1469
|
+
required: !0
|
|
1348
1470
|
},
|
|
1349
|
-
|
|
1350
|
-
|
|
1471
|
+
isSendEmail: {
|
|
1472
|
+
type: String,
|
|
1473
|
+
default: ""
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1476
|
+
data() {
|
|
1477
|
+
return {
|
|
1478
|
+
visible: !1,
|
|
1479
|
+
sending: !1,
|
|
1480
|
+
isSendEmailList: "",
|
|
1481
|
+
width: "520px",
|
|
1482
|
+
fullscreen: !1
|
|
1483
|
+
};
|
|
1484
|
+
},
|
|
1485
|
+
computed: {
|
|
1486
|
+
copyInfo() {
|
|
1487
|
+
return `${this.$i18nt("gd.user.account", "\u8D26\u53F7")}: ${this.infoData.account}
|
|
1488
|
+
${this.$i18nt("gd.user.paw", "\u5BC6\u7801")}: ${this.infoData.password}
|
|
1489
|
+
${this.$i18nt("gd.user.name", "\u59D3\u540D")}: ${this.infoData.name}
|
|
1490
|
+
${this.$i18nt("gd.user.email", "\u90AE\u7BB1")}: ${this.infoData.email}
|
|
1491
|
+
${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
|
|
1492
|
+
`;
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
methods: {
|
|
1496
|
+
open(s) {
|
|
1497
|
+
this.visible = !0, this.isSendEmailList = s;
|
|
1351
1498
|
},
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
if (s && (a.push(this.getRandomChar(s)), a.push(this.getRandomChar(s))), r && (a.push(this.getRandomChar(r)), a.push(this.getRandomChar(r))), t && (a.push(this.getRandomChar(t)), a.push(this.getRandomChar(t))), n && (a.push(this.getRandomChar(n)), a.push(this.getRandomChar(n))), a.length === 0)
|
|
1355
|
-
return console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5B57\u7B26\u96C6\u6765\u751F\u6210\u5BC6\u7801\uFF0C\u8BF7\u68C0\u67E5 combinationRule \u53C2\u6570"), "";
|
|
1356
|
-
a = a.sort(() => Math.random() - 0.5);
|
|
1357
|
-
let c = a.join("");
|
|
1358
|
-
for (; c.length < i; ) {
|
|
1359
|
-
const h = [s, r, t, n].filter((g) => g);
|
|
1360
|
-
if (h.length === 0)
|
|
1361
|
-
break;
|
|
1362
|
-
const b = h[Math.floor(Math.random() * h.length)];
|
|
1363
|
-
c += this.getRandomChar(b);
|
|
1364
|
-
}
|
|
1365
|
-
return o = c.substring(0, i), o;
|
|
1499
|
+
colseCancel() {
|
|
1500
|
+
this.visible = !1;
|
|
1366
1501
|
},
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
}
|
|
1376
|
-
this.$confirm(this.$i18nt("gd.https.resetPwdContent", "\u662F\u5426\u91CD\u7F6E\u5BC6\u7801?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1377
|
-
confirmButtonText: this.$i18nt("gd.https.resetPwdOk", "\u7ACB\u5373\u91CD\u7F6E"),
|
|
1378
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1379
|
-
showClose: !1,
|
|
1380
|
-
confirmButtonLoading: !1,
|
|
1381
|
-
cancelButtonLoading: !1,
|
|
1382
|
-
closeOnClickModal: !1,
|
|
1383
|
-
type: "warning",
|
|
1384
|
-
confirmButtonClass: "el-button--danger",
|
|
1385
|
-
customClass: "custom-alert",
|
|
1386
|
-
callback: () => {
|
|
1387
|
-
},
|
|
1388
|
-
beforeClose: (i, e, t) => {
|
|
1389
|
-
this.resetPwdHand(i, e, t);
|
|
1390
|
-
}
|
|
1391
|
-
});
|
|
1502
|
+
cmpleteUpgrade() {
|
|
1503
|
+
const s = new fe(".copy-btn");
|
|
1504
|
+
s.on("success", () => {
|
|
1505
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
|
|
1506
|
+
}), s.on("error", () => {
|
|
1507
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
|
|
1508
|
+
}), setTimeout(() => {
|
|
1509
|
+
s.destroy();
|
|
1510
|
+
}, 122);
|
|
1392
1511
|
},
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
emailAddress: n.selectedRows[0].email,
|
|
1411
|
-
pcR_Type: 5
|
|
1412
|
-
}, s = E;
|
|
1413
|
-
else if (n.copyRule == 1)
|
|
1414
|
-
o = {
|
|
1415
|
-
id: n.selectedRows[0].id,
|
|
1416
|
-
newPassword: r
|
|
1417
|
-
}, s = x;
|
|
1418
|
-
else {
|
|
1419
|
-
this.$message.error(this.$i18nt("gd.https.resetFailure", "\u91CD\u7F6E\u6210\u529F")), t();
|
|
1420
|
-
return;
|
|
1421
|
-
}
|
|
1422
|
-
s(o).then((a) => {
|
|
1423
|
-
if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
|
|
1424
|
-
let c = {
|
|
1425
|
-
account: n.selectedRows[0].account,
|
|
1426
|
-
password: r,
|
|
1427
|
-
name: n.selectedRows[0].name,
|
|
1428
|
-
email: n.selectedRows[0].email,
|
|
1429
|
-
phone: n.selectedRows[0].phone
|
|
1430
|
-
};
|
|
1431
|
-
n.isSendEmail == 1 && n.copyRule == 0 ? n.$notify({
|
|
1432
|
-
duration: 8e3,
|
|
1433
|
-
type: "success",
|
|
1434
|
-
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
1435
|
-
dangerouslyUseHTMLString: !0,
|
|
1436
|
-
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
1437
|
-
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
1438
|
-
}) : n.$message.success(n.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n.copyRule == 1 ? (n.infoData = c, setTimeout(() => {
|
|
1439
|
-
n.$refs.copyInfo.open(n.isSendEmail);
|
|
1440
|
-
}, 500)) : n.refresh();
|
|
1441
|
-
} else
|
|
1442
|
-
n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
|
|
1443
|
-
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
1512
|
+
sendingEailm() {
|
|
1513
|
+
let s = this;
|
|
1514
|
+
s.sending = !0;
|
|
1515
|
+
let e = {
|
|
1516
|
+
accountName: s.infoData.account,
|
|
1517
|
+
emailAddress: s.infoData.email,
|
|
1518
|
+
pcR_Type: 5
|
|
1519
|
+
};
|
|
1520
|
+
E(e).then((t) => {
|
|
1521
|
+
t.success ? (s.sending = !1, s.visible = !1, s.$notify({
|
|
1522
|
+
duration: 8e3,
|
|
1523
|
+
type: "success",
|
|
1524
|
+
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
1525
|
+
dangerouslyUseHTMLString: !0,
|
|
1526
|
+
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
1527
|
+
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
1528
|
+
}), s.$emit("sending")) : s.$message.error(s.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
|
|
1444
1529
|
});
|
|
1445
|
-
},
|
|
1446
|
-
sending() {
|
|
1447
|
-
this.refresh();
|
|
1448
|
-
},
|
|
1449
|
-
doEvent(i) {
|
|
1450
|
-
let e = i.item.functionName;
|
|
1451
|
-
this[e] && this[e]();
|
|
1452
1530
|
}
|
|
1453
|
-
},
|
|
1454
|
-
created() {
|
|
1455
|
-
this.getOrgTree();
|
|
1456
1531
|
}
|
|
1457
1532
|
};
|
|
1458
|
-
var
|
|
1533
|
+
var ge = function() {
|
|
1459
1534
|
var e = this, t = e._self._c;
|
|
1460
|
-
return t("
|
|
1461
|
-
|
|
1462
|
-
} }, {
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
|
|
1468
|
-
return n.stopPropagation(), e.editStateCodes(r);
|
|
1469
|
-
} } }, [r.row.statecodes == 1 ? t("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : t("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
|
|
1470
|
-
} }, { key: "operator", fn: function() {
|
|
1471
|
-
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.keywordTip", "\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"), clearable: "" }, nativeOn: { keyup: function(r) {
|
|
1472
|
-
return !r.type.indexOf("key") && e._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
1473
|
-
} }, model: { value: e.queryParam.searchValue, callback: function(r) {
|
|
1474
|
-
e.$set(e.queryParam, "searchValue", r);
|
|
1475
|
-
}, 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.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
1476
|
-
}, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: n }) {
|
|
1477
|
-
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: n }, on: { save: e.saveQueries } })];
|
|
1478
|
-
} }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
|
|
1479
|
-
e.institutionsShow = !1;
|
|
1480
|
-
} } }) : e._e(), t("copyInfo", { ref: "copyInfo", attrs: { infoData: e.infoData, isSendEmail: e.isSendEmailed }, on: { sending: e.sending } }), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, inline: !0, width: "1000px", needLoad: e.needLoad }, on: { sbumit: e.sbumit } }), t("div", { staticStyle: { position: "fixed", left: "-20000px", top: "-2000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v(" " + e._s(e.$i18nt("gd.user.selectFile", "\u9009\u53D6\u6587\u4EF6")) + " ")])], 1)], 1)], 1);
|
|
1481
|
-
}, fe = [], pe = /* @__PURE__ */ T(
|
|
1482
|
-
ue,
|
|
1483
|
-
he,
|
|
1484
|
-
fe,
|
|
1535
|
+
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px" }, on: { "update:visible": function(r) {
|
|
1536
|
+
e.visible = r;
|
|
1537
|
+
}, closed: e.colseCancel } }, [t("template", { slot: "title" }, [t("div", { staticClass: "gd-dialog-head" }, [t("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.$i18nt("gd.user.basicInformation", "\u57FA\u672C\u4FE1\u606F")))])])]), t("el-descriptions", { attrs: { title: "", column: 1, size: "medium" } }, [t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.account", "\u8D26\u53F7") } }, [e._v(e._s(e.infoData.account))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.paw", "\u5BC6\u7801") } }, [e._v(e._s(e.infoData.password))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.name", "\u59D3\u540D") } }, [e._v(e._s(e.infoData.name))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.email", "\u90AE\u7BB1") } }, [e._v(e._s(e.infoData.email))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.phone", "\u624B\u673A") } }, [e._v(e._s(e.infoData.phone))])], 1), t("template", { slot: "footer" }, [t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", "data-clipboard-action": "copy", "data-clipboard-text": e.copyInfo, icon: "el-icon-document-copy" }, on: { click: e.cmpleteUpgrade } }, [e._v(" " + e._s(e.$i18nt("gd.btn.copy")) + " ")]), e.isSendEmail == "1" ? t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", loading: e.sending, icon: "el-icon-message" }, on: { click: e.sendingEailm } }, [e._v(" " + e._s(e.$i18nt("gd.email.sending")) + " ")]) : e._e()], 1)], 2);
|
|
1538
|
+
}, me = [], ye = /* @__PURE__ */ T(
|
|
1539
|
+
pe,
|
|
1540
|
+
ge,
|
|
1541
|
+
me,
|
|
1485
1542
|
!1,
|
|
1486
1543
|
null,
|
|
1487
|
-
"
|
|
1544
|
+
"b6f77ddd",
|
|
1488
1545
|
null,
|
|
1489
1546
|
null
|
|
1490
1547
|
);
|
|
1491
|
-
const
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
};
|
|
1548
|
+
const be = ye.exports, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1549
|
+
__proto__: null,
|
|
1550
|
+
default: be
|
|
1551
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1495
1552
|
export {
|
|
1496
1553
|
S as G
|
|
1497
1554
|
};
|