gds-plus-design-vue 1.2.63 → 1.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.e559c495.js +1 -0
- package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
- package/lib/approvalModel.2b97fdf8.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
- package/lib/attribute.4f814780.mjs +367 -0
- package/lib/attribute.7b4971f5.js +1 -0
- package/lib/businessRules.4f7349f3.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
- package/lib/buttonRule.4aa9cfd8.mjs +396 -0
- package/lib/buttonRule.ba9528ab.js +1 -0
- package/lib/chartDisplayRules.25489412.js +1 -0
- package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
- package/lib/components.chartbi.13a8a7b5.js +8 -0
- package/lib/components.chartbi.7356b244.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
- package/lib/components.echarts.5dea23f6.js +4 -0
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
- package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
- package/lib/components.iconselector.4b5b7901.js +1 -0
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
- package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
- package/lib/components.middleware.64b6a988.js +1 -0
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
- package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
- package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
- package/lib/components.tableumy.aa73378d.js +1 -0
- package/lib/components.tablevirtual.879ff28f.js +1 -0
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
- package/lib/components.viewformdetails.328c8642.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
- package/lib/components.viewloading.5b9c8fee.js +1 -0
- package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
- package/lib/components.xlsximport.c53c50f6.js +1 -0
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
- package/lib/copy.3b06d60f.mjs +572 -0
- package/lib/copy.fa2fcb22.js +1 -0
- package/lib/createFile.526dd6db.js +1 -0
- package/lib/createFile.c8d65b52.mjs +439 -0
- package/lib/createSubfolders.51df8fcd.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
- package/lib/drawerContainer.790b0ee6.mjs +163 -0
- package/lib/drawerContainer.c971d22d.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
- package/lib/editForm.83d10fae.mjs +434 -0
- package/lib/editForm.e284e5ec.js +1 -0
- package/lib/extendedAttributes.bfff1926.js +1 -0
- package/lib/extendedAttributes.e6b11c68.mjs +293 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
- package/lib/fileSearch.e849491c.js +1 -0
- package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
- package/lib/flow.designer.85d0054b.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
- package/lib/flow.list.e001d91a.js +1 -0
- package/lib/form.build.19f0c882.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
- package/lib/form.designer.build.2bcc355d.js +1 -0
- package/lib/form.designer.build.7dc12e87.mjs +2529 -0
- package/lib/formFiled.40284ed9.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.07adebf0.js +8 -0
- package/lib/index.340d6f00.mjs +25906 -0
- package/lib/layoutBlocks.756e4b57.js +1 -0
- package/lib/layoutBlocks.816b49a7.mjs +413 -0
- package/lib/layoutItem.051495bc.mjs +71 -0
- package/lib/layoutItem.6f6017a5.js +1 -0
- package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
- package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
- package/lib/main.0dc447c8.js +1 -0
- package/lib/main.12118407.mjs +552 -0
- package/lib/main.1551de4d.js +1 -0
- package/lib/main.1611bb43.js +1 -0
- package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
- package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
- package/lib/main.316ac1b8.js +1 -0
- package/lib/main.48dc325f.mjs +231 -0
- package/lib/main.54ac9faa.mjs +189 -0
- package/lib/main.69a2b457.mjs +166 -0
- package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
- package/lib/main.72c15ab0.js +1 -0
- package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
- package/lib/main.9b2769b1.js +1 -0
- package/lib/main.b2314767.mjs +323 -0
- package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
- package/lib/main.e1cf9798.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
- package/lib/main.fc38c7c8.mjs +537 -0
- package/lib/main.fcb67463.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
- package/lib/manage.eb0a6c8c.js +1 -0
- package/lib/messages.fieldconfiguration.092bb027.js +1 -0
- package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
- package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
- package/lib/messages.messagetemplate.50334e5f.js +7 -0
- package/lib/messages.sendplan.60929f46.js +1 -0
- package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
- package/lib/messages.sendrecord.09a1d1cd.js +2 -0
- package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
- package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
- package/lib/messages.templatelibrary.f5952edd.js +2 -0
- package/lib/mobile.designer.componentstree.365945a3.js +1 -0
- package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
- package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
- package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
- package/lib/moveFile.3dc1dc37.mjs +276 -0
- package/lib/moveFile.f70bbff7.js +1 -0
- package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
- package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
- package/lib/page.designer.componentstree.74a3a114.js +1 -0
- package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
- package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
- package/lib/page.designer.menutree.71c18258.js +1 -0
- package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
- package/lib/page.designer.operation.1d435e6e.js +1 -0
- package/lib/page.designer.operation.fe808988.mjs +44 -0
- package/lib/page.designer.page.654634aa.js +1 -0
- package/lib/page.designer.page.821f8994.mjs +10638 -0
- package/lib/personal.echarts.118bcafb.mjs +268 -0
- package/lib/personal.echarts.e5915542.js +1 -0
- package/lib/result.4d4039ea.js +1 -0
- package/lib/result.a87217ae.mjs +639 -0
- package/lib/router.config.a09f29e7.js +1 -0
- package/lib/router.config.f0ad16fd.mjs +1424 -0
- package/lib/solution.application.8d6c84e8.js +1 -0
- package/lib/solution.application.e6b5dc4f.mjs +548 -0
- package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
- package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
- package/lib/solution.approvalflow.79da028c.js +1 -0
- package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
- package/lib/solution.dict.088a1e72.mjs +769 -0
- package/lib/solution.dict.1d5195d0.js +1 -0
- package/lib/solution.menu.e58922fe.mjs +432 -0
- package/lib/solution.menu.fa48a7e8.js +1 -0
- package/lib/solution.plugin.5d6d29cf.js +1 -0
- package/lib/solution.plugin.ae6df926.mjs +347 -0
- package/lib/solution.processflow.62936f1c.mjs +392 -0
- package/lib/solution.processflow.aa1e808b.js +1 -0
- package/lib/solution.role.2eff83a1.js +1 -0
- package/lib/solution.role.7b3e7030.mjs +456 -0
- package/lib/solution.webresources.88c4483b.mjs +379 -0
- package/lib/solution.webresources.bc00603d.js +1 -0
- package/lib/solution.workflow.0ed2cb24.js +1 -0
- package/lib/solution.workflow.85de0ae5.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.3d7480ba.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
- package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
- package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
- package/lib/system.dict.ab148847.js +1 -0
- package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
- package/lib/system.document.0e46ff8c.js +1 -0
- package/lib/system.document.cbdf25a9.mjs +667 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
- package/lib/system.duplicatechecking.a217fc52.js +1 -0
- package/lib/system.email.1db14214.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
- package/lib/system.fieldsecurity.40b4f48a.js +1 -0
- package/lib/system.file.6a6bd77c.js +1 -0
- package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
- package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
- package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
- package/lib/system.notice.2090c130.js +1 -0
- package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
- package/lib/system.noticereceived.0b79642e.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
- package/lib/system.onlineuser.e74f010d.js +1 -0
- package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
- package/lib/system.permissions.4090552f.mjs +972 -0
- package/lib/system.permissions.fdb64929.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
- package/lib/system.plugin.a0f25733.js +1 -0
- package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
- package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
- package/lib/system.promptmanagement.9718aa24.js +1 -0
- package/lib/system.role.321c48d3.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
- package/lib/system.sumberrules.6e8d208e.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
- package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
- package/lib/system.team.cf1c1558.js +1 -0
- package/lib/system.teammembers.63f21557.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
- package/lib/system.timers.51bedf97.js +38 -0
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
- package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
- package/lib/system.translation.c9f1b505.js +1 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
- package/lib/system.user.475d7391.js +14 -0
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
- package/lib/system.useraffiliation.fe1e1d39.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
- package/lib/system.webresource.81cfa690.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
- package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
- package/lib/table.definition..btnconfig.add3d840.js +1 -0
- package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
- package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
- package/lib/tableDescriptions.143d8e67.js +1 -0
- package/lib/tableDescriptions.60a07f7c.mjs +80 -0
- package/lib/tcheckboxs.e4d387ff.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
- package/lib/tcurrency.0360c142.mjs +85 -0
- package/lib/tcurrency.233f4e63.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.97590ce8.js +1 -0
- package/lib/versionControl.d1b2b0da.mjs +488 -0
- package/lib/versionEdit.c51606e4.mjs +452 -0
- package/lib/versionEdit.f710d0bb.js +1 -0
- package/lib/view.build.5789a6eb.js +1 -0
- package/lib/view.build.9976c958.mjs +1578 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
- package/lib/viewList.6e181715.js +1 -0
- package/lib/viewTree.9bdf96f0.js +1 -0
- package/lib/viewTree.c2e11b7f.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -1,205 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
buttons: [
|
|
11
|
-
{
|
|
12
|
-
displayName: "\u786E\u5B9A",
|
|
13
|
-
functionName: "handleSubmit",
|
|
14
|
-
show: !0,
|
|
15
|
-
transKey: "gd.btn.confirm",
|
|
16
|
-
icon: "el-icon-document-checked"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
record: {},
|
|
20
|
-
visible: !1,
|
|
21
|
-
confirmLoading: !1,
|
|
22
|
-
fullscreen: !1,
|
|
23
|
-
width: "90%",
|
|
24
|
-
selectedRowKeys: [],
|
|
25
|
-
allRowData: []
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
components: { RoleForm: z },
|
|
29
|
-
computed: {
|
|
30
|
-
height() {
|
|
31
|
-
return this.screenHeight - (this.fullscreen ? 160 : 340);
|
|
32
|
-
},
|
|
33
|
-
...R(["screenHeight"])
|
|
34
|
-
},
|
|
35
|
-
methods: {
|
|
36
|
-
handleSubmit() {
|
|
37
|
-
this.confirmLoading = !0;
|
|
38
|
-
let i = [];
|
|
39
|
-
i = this.allRowData.filter(
|
|
40
|
-
(t) => !this.selectedRowKeys.some((r) => r === t.id)
|
|
41
|
-
);
|
|
42
|
-
const e = i.map((t) => t.id);
|
|
43
|
-
O({ id: this.record.id, addRoleIdList: this.selectedRowKeys, removeRoleIdList: e }).then((t) => {
|
|
44
|
-
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;
|
|
45
|
-
});
|
|
46
|
-
},
|
|
47
|
-
open(i) {
|
|
48
|
-
this.confirmLoading = !0, this.record = i, this.visible = !0, N({ id: i.id }).then((e) => {
|
|
49
|
-
e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
this.$refs.roleForm.refresh();
|
|
52
|
-
}, 0);
|
|
53
|
-
}), this.confirmLoading = !1;
|
|
54
|
-
});
|
|
55
|
-
},
|
|
56
|
-
closed() {
|
|
57
|
-
this.fullscreen = !1, this.visible = !1;
|
|
58
|
-
},
|
|
59
|
-
toggleFullscreen() {
|
|
60
|
-
this.fullscreen = !this.fullscreen;
|
|
61
|
-
},
|
|
62
|
-
onSelectChange(i, e, t) {
|
|
63
|
-
this.selectedRowKeys = i, this.allRowData = t.rows;
|
|
64
|
-
},
|
|
65
|
-
doEvent(i) {
|
|
66
|
-
const e = i.item.functionName;
|
|
67
|
-
this[e] && this[e]();
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
var Y = function() {
|
|
72
|
-
var e = this, t = e._self._c;
|
|
73
|
-
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) {
|
|
74
|
-
e.visible = r;
|
|
75
|
-
}, 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);
|
|
76
|
-
}, J = [], W = /* @__PURE__ */ T(
|
|
77
|
-
V,
|
|
78
|
-
Y,
|
|
79
|
-
J,
|
|
80
|
-
!1,
|
|
81
|
-
null,
|
|
82
|
-
"117b9c7a",
|
|
83
|
-
null,
|
|
84
|
-
null
|
|
85
|
-
);
|
|
86
|
-
const X = W.exports;
|
|
87
|
-
const Z = {
|
|
88
|
-
data() {
|
|
89
|
-
return {
|
|
90
|
-
buttons: [
|
|
91
|
-
{
|
|
92
|
-
displayName: "\u786E\u5B9A",
|
|
93
|
-
functionName: "handleSubmit",
|
|
94
|
-
show: !0,
|
|
95
|
-
transKey: "gd.btn.confirm",
|
|
96
|
-
icon: "el-icon-document-checked"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
record: {},
|
|
100
|
-
showForm: !1,
|
|
101
|
-
visible: !1,
|
|
102
|
-
confirmLoading: !1,
|
|
103
|
-
fullscreen: !1,
|
|
104
|
-
width: "600px",
|
|
105
|
-
orgTree: [],
|
|
106
|
-
ruleFormData: {
|
|
107
|
-
orgIded: "",
|
|
108
|
-
orgId: ""
|
|
109
|
-
},
|
|
110
|
-
rules: {
|
|
111
|
-
orgId: [
|
|
112
|
-
{
|
|
113
|
-
required: !0,
|
|
114
|
-
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
115
|
-
trigger: "change"
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
},
|
|
121
|
-
methods: {
|
|
122
|
-
save() {
|
|
123
|
-
let i = this;
|
|
124
|
-
this.$confirm(
|
|
125
|
-
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?"),
|
|
126
|
-
this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
|
|
127
|
-
{
|
|
128
|
-
confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
|
|
129
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
130
|
-
showClose: !1,
|
|
131
|
-
confirmButtonLoading: !1,
|
|
132
|
-
cancelButtonLoading: !1,
|
|
133
|
-
closeOnClickModal: !1,
|
|
134
|
-
type: "warning",
|
|
135
|
-
confirmButtonClass: "el-button--danger",
|
|
136
|
-
customClass: "custom-alert",
|
|
137
|
-
callback: () => {
|
|
138
|
-
},
|
|
139
|
-
beforeClose: (e, t, r) => {
|
|
140
|
-
if (e !== "confirm") {
|
|
141
|
-
r();
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
r(), P({ userId: i.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((n) => {
|
|
145
|
-
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;
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
);
|
|
150
|
-
},
|
|
151
|
-
handleSubmit() {
|
|
152
|
-
this.confirmLoading = !0, this.$refs.ruleForm.validate((i) => {
|
|
153
|
-
i ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
|
|
154
|
-
});
|
|
155
|
-
},
|
|
156
|
-
open(i) {
|
|
157
|
-
this.confirmLoading = !0, this.record = i, this.visible = !0, this.showForm = !1, C().then((e) => {
|
|
158
|
-
const t = (r) => (r = r.filter((n, s) => (n.id === i.orgid && (n.disabled = !0), n.children && (n.children = t(n.children)), !0)), r);
|
|
159
|
-
this.orgTree = t(e.data), this.ruleFormData = {
|
|
160
|
-
orgIded: i.orgid,
|
|
161
|
-
orgId: ""
|
|
162
|
-
}, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
|
|
163
|
-
setTimeout(() => {
|
|
164
|
-
this.$refs.ruleForm.clearValidate();
|
|
165
|
-
}, 0);
|
|
166
|
-
});
|
|
167
|
-
});
|
|
168
|
-
},
|
|
169
|
-
closed() {
|
|
170
|
-
this.fullscreen = !1, this.visible = !1, this.$emit("closed");
|
|
171
|
-
},
|
|
172
|
-
toggleFullscreen() {
|
|
173
|
-
this.fullscreen = !this.fullscreen;
|
|
174
|
-
},
|
|
175
|
-
doEvent(i) {
|
|
176
|
-
const e = i.item.functionName;
|
|
177
|
-
this[e] && this[e]();
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
var ee = function() {
|
|
182
|
-
var e = this, t = e._self._c;
|
|
183
|
-
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) {
|
|
184
|
-
e.visible = r;
|
|
185
|
-
}, 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) {
|
|
186
|
-
r.preventDefault();
|
|
187
|
-
} } }, [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) {
|
|
188
|
-
e.$set(e.ruleFormData, "orgIded", r);
|
|
189
|
-
}, 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) {
|
|
190
|
-
e.$set(e.ruleFormData, "orgId", r);
|
|
191
|
-
}, expression: "ruleFormData.orgId" } })], 1)], 1) : e._e()], 1)], 2);
|
|
192
|
-
}, te = [], se = /* @__PURE__ */ T(
|
|
193
|
-
Z,
|
|
194
|
-
ee,
|
|
195
|
-
te,
|
|
196
|
-
!1,
|
|
197
|
-
null,
|
|
198
|
-
"12675dc5",
|
|
199
|
-
null,
|
|
200
|
-
null
|
|
201
|
-
);
|
|
202
|
-
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.aefea27d.mjs";
|
|
4
|
+
import { m as R, n as T } from "./components.chartbi.7356b244.mjs";
|
|
5
|
+
import { t as z } from "./utils.mixins.js.be01e599.mjs";
|
|
6
|
+
import { F as V } from "./form.build.33cc213e.mjs";
|
|
7
|
+
import { R as G } from "./system.role.3b533a3e.mjs";
|
|
8
|
+
import { c as Q, a as Y } from "./components.form.8047a9c3.mjs";
|
|
9
|
+
const J = {
|
|
203
10
|
data() {
|
|
204
11
|
return {
|
|
205
12
|
tableColumns: [
|
|
@@ -278,7 +85,7 @@ const ie = se.exports, ne = {
|
|
|
278
85
|
slotType: "statecodes",
|
|
279
86
|
align: "center",
|
|
280
87
|
dictTypeCode: "state_code",
|
|
281
|
-
renderHeader: (
|
|
88
|
+
renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
|
|
282
89
|
effectType: "checkbox",
|
|
283
90
|
dictTypeCode: "state_code"
|
|
284
91
|
})
|
|
@@ -531,122 +338,829 @@ const ie = se.exports, ne = {
|
|
|
531
338
|
};
|
|
532
339
|
}
|
|
533
340
|
};
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
})(G, function() {
|
|
545
|
-
return function(t) {
|
|
546
|
-
var r = {};
|
|
547
|
-
function n(s) {
|
|
548
|
-
if (r[s])
|
|
549
|
-
return r[s].exports;
|
|
550
|
-
var o = r[s] = {
|
|
551
|
-
i: s,
|
|
552
|
-
l: !1,
|
|
553
|
-
exports: {}
|
|
554
|
-
};
|
|
555
|
-
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: () => {
|
|
556
351
|
}
|
|
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
|
-
|
|
649
|
-
|
|
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
|
+
}, {
|
|
650
1164
|
key: "defaultAction",
|
|
651
1165
|
value: function(f) {
|
|
652
1166
|
return k("action", f);
|
|
@@ -672,8 +1186,8 @@ var L = { exports: {} };
|
|
|
672
1186
|
key: "isSupported",
|
|
673
1187
|
value: function() {
|
|
674
1188
|
var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], y = typeof f == "string" ? [f] : f, $ = !!document.queryCommandSupported;
|
|
675
|
-
return y.forEach(function(
|
|
676
|
-
$ = $ && !!document.queryCommandSupported(
|
|
1189
|
+
return y.forEach(function(K) {
|
|
1190
|
+
$ = $ && !!document.queryCommandSupported(K);
|
|
677
1191
|
}), $;
|
|
678
1192
|
}
|
|
679
1193
|
}]), p;
|
|
@@ -683,10 +1197,10 @@ var L = { exports: {} };
|
|
|
683
1197
|
if (!!p.hasAttribute(v))
|
|
684
1198
|
return p.getAttribute(v);
|
|
685
1199
|
}
|
|
686
|
-
t.exports =
|
|
1200
|
+
t.exports = L;
|
|
687
1201
|
},
|
|
688
1202
|
function(t, r, n) {
|
|
689
|
-
var
|
|
1203
|
+
var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
|
|
690
1204
|
return typeof u;
|
|
691
1205
|
} : function(u) {
|
|
692
1206
|
return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
|
|
@@ -766,733 +1280,275 @@ var L = { exports: {} };
|
|
|
766
1280
|
}
|
|
767
1281
|
}, {
|
|
768
1282
|
key: "clearSelection",
|
|
769
|
-
value: function() {
|
|
770
|
-
this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges();
|
|
771
|
-
}
|
|
772
|
-
}, {
|
|
773
|
-
key: "destroy",
|
|
774
|
-
value: function() {
|
|
775
|
-
this.removeFake();
|
|
776
|
-
}
|
|
777
|
-
}, {
|
|
778
|
-
key: "action",
|
|
779
|
-
set: function() {
|
|
780
|
-
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "copy";
|
|
781
|
-
if (this._action = d, this._action !== "copy" && this._action !== "cut")
|
|
782
|
-
throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
|
783
|
-
},
|
|
784
|
-
get: function() {
|
|
785
|
-
return this._action;
|
|
786
|
-
}
|
|
787
|
-
}, {
|
|
788
|
-
key: "target",
|
|
789
|
-
set: function(d) {
|
|
790
|
-
if (d !== void 0)
|
|
791
|
-
if (d && (typeof d > "u" ? "undefined" :
|
|
792
|
-
if (this.action === "copy" && d.hasAttribute("disabled"))
|
|
793
|
-
throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
|
794
|
-
if (this.action === "cut" && (d.hasAttribute("readonly") || d.hasAttribute("disabled")))
|
|
795
|
-
throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
|
|
796
|
-
this._target = d;
|
|
797
|
-
} else
|
|
798
|
-
throw new Error('Invalid "target" value, use a valid Element');
|
|
799
|
-
},
|
|
800
|
-
get: function() {
|
|
801
|
-
return this._target;
|
|
802
|
-
}
|
|
803
|
-
}]), u;
|
|
804
|
-
}();
|
|
805
|
-
t.exports = g;
|
|
806
|
-
},
|
|
807
|
-
function(t, r) {
|
|
808
|
-
function n(s) {
|
|
809
|
-
var o;
|
|
810
|
-
if (s.nodeName === "SELECT")
|
|
811
|
-
s.focus(), o = s.value;
|
|
812
|
-
else if (s.nodeName === "INPUT" || s.nodeName === "TEXTAREA") {
|
|
813
|
-
var a = s.hasAttribute("readonly");
|
|
814
|
-
a || s.setAttribute("readonly", ""), s.select(), s.setSelectionRange(0, s.value.length), a || s.removeAttribute("readonly"), o = s.value;
|
|
815
|
-
} else {
|
|
816
|
-
s.hasAttribute("contenteditable") && s.focus();
|
|
817
|
-
var c = window.getSelection(), h = document.createRange();
|
|
818
|
-
h.selectNodeContents(s), c.removeAllRanges(), c.addRange(h), o = c.toString();
|
|
819
|
-
}
|
|
820
|
-
return o;
|
|
821
|
-
}
|
|
822
|
-
t.exports = n;
|
|
823
|
-
},
|
|
824
|
-
function(t, r) {
|
|
825
|
-
function n() {
|
|
826
|
-
}
|
|
827
|
-
n.prototype = {
|
|
828
|
-
on: function(s, o, a) {
|
|
829
|
-
var c = this.e || (this.e = {});
|
|
830
|
-
return (c[s] || (c[s] = [])).push({
|
|
831
|
-
fn: o,
|
|
832
|
-
ctx: a
|
|
833
|
-
}), this;
|
|
834
|
-
},
|
|
835
|
-
once: function(s, o, a) {
|
|
836
|
-
var c = this;
|
|
837
|
-
function h() {
|
|
838
|
-
c.off(s, h), o.apply(a, arguments);
|
|
839
|
-
}
|
|
840
|
-
return h._ = o, this.on(s, h, a);
|
|
841
|
-
},
|
|
842
|
-
emit: function(s) {
|
|
843
|
-
var o = [].slice.call(arguments, 1), a = ((this.e || (this.e = {}))[s] || []).slice(), c = 0, h = a.length;
|
|
844
|
-
for (c; c < h; c++)
|
|
845
|
-
a[c].fn.apply(a[c].ctx, o);
|
|
846
|
-
return this;
|
|
847
|
-
},
|
|
848
|
-
off: function(s, o) {
|
|
849
|
-
var a = this.e || (this.e = {}), c = a[s], h = [];
|
|
850
|
-
if (c && o)
|
|
851
|
-
for (var b = 0, g = c.length; b < g; b++)
|
|
852
|
-
c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
|
|
853
|
-
return h.length ? a[s] = h : delete a[s], this;
|
|
854
|
-
}
|
|
855
|
-
}, t.exports = n;
|
|
856
|
-
},
|
|
857
|
-
function(t, r, n) {
|
|
858
|
-
var s = n(5), o = n(6);
|
|
859
|
-
function a(g, u, l) {
|
|
860
|
-
if (!g && !u && !l)
|
|
861
|
-
throw new Error("Missing required arguments");
|
|
862
|
-
if (!s.string(u))
|
|
863
|
-
throw new TypeError("Second argument must be a String");
|
|
864
|
-
if (!s.fn(l))
|
|
865
|
-
throw new TypeError("Third argument must be a Function");
|
|
866
|
-
if (s.node(g))
|
|
867
|
-
return c(g, u, l);
|
|
868
|
-
if (s.nodeList(g))
|
|
869
|
-
return h(g, u, l);
|
|
870
|
-
if (s.string(g))
|
|
871
|
-
return b(g, u, l);
|
|
872
|
-
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
|
873
|
-
}
|
|
874
|
-
function c(g, u, l) {
|
|
875
|
-
return g.addEventListener(u, l), {
|
|
876
|
-
destroy: function() {
|
|
877
|
-
g.removeEventListener(u, l);
|
|
878
|
-
}
|
|
879
|
-
};
|
|
880
|
-
}
|
|
881
|
-
function h(g, u, l) {
|
|
882
|
-
return Array.prototype.forEach.call(g, function(d) {
|
|
883
|
-
d.addEventListener(u, l);
|
|
884
|
-
}), {
|
|
885
|
-
destroy: function() {
|
|
886
|
-
Array.prototype.forEach.call(g, function(d) {
|
|
887
|
-
d.removeEventListener(u, l);
|
|
888
|
-
});
|
|
889
|
-
}
|
|
890
|
-
};
|
|
891
|
-
}
|
|
892
|
-
function b(g, u, l) {
|
|
893
|
-
return o(document.body, g, u, l);
|
|
894
|
-
}
|
|
895
|
-
t.exports = a;
|
|
896
|
-
},
|
|
897
|
-
function(t, r) {
|
|
898
|
-
r.node = function(n) {
|
|
899
|
-
return n !== void 0 && n instanceof HTMLElement && n.nodeType === 1;
|
|
900
|
-
}, r.nodeList = function(n) {
|
|
901
|
-
var s = Object.prototype.toString.call(n);
|
|
902
|
-
return n !== void 0 && (s === "[object NodeList]" || s === "[object HTMLCollection]") && "length" in n && (n.length === 0 || r.node(n[0]));
|
|
903
|
-
}, r.string = function(n) {
|
|
904
|
-
return typeof n == "string" || n instanceof String;
|
|
905
|
-
}, r.fn = function(n) {
|
|
906
|
-
var s = Object.prototype.toString.call(n);
|
|
907
|
-
return s === "[object Function]";
|
|
908
|
-
};
|
|
909
|
-
},
|
|
910
|
-
function(t, r, n) {
|
|
911
|
-
var s = n(7);
|
|
912
|
-
function o(h, b, g, u, l) {
|
|
913
|
-
var d = c.apply(this, arguments);
|
|
914
|
-
return h.addEventListener(g, d, l), {
|
|
915
|
-
destroy: function() {
|
|
916
|
-
h.removeEventListener(g, d, l);
|
|
917
|
-
}
|
|
918
|
-
};
|
|
919
|
-
}
|
|
920
|
-
function a(h, b, g, u, l) {
|
|
921
|
-
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) {
|
|
922
|
-
return o(d, b, g, u, l);
|
|
923
|
-
}));
|
|
924
|
-
}
|
|
925
|
-
function c(h, b, g, u) {
|
|
926
|
-
return function(l) {
|
|
927
|
-
l.delegateTarget = s(l.target, b), l.delegateTarget && u.call(h, l);
|
|
928
|
-
};
|
|
929
|
-
}
|
|
930
|
-
t.exports = a;
|
|
931
|
-
},
|
|
932
|
-
function(t, r) {
|
|
933
|
-
var n = 9;
|
|
934
|
-
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
935
|
-
var s = Element.prototype;
|
|
936
|
-
s.matches = s.matchesSelector || s.mozMatchesSelector || s.msMatchesSelector || s.oMatchesSelector || s.webkitMatchesSelector;
|
|
937
|
-
}
|
|
938
|
-
function o(a, c) {
|
|
939
|
-
for (; a && a.nodeType !== n; ) {
|
|
940
|
-
if (typeof a.matches == "function" && a.matches(c))
|
|
941
|
-
return a;
|
|
942
|
-
a = a.parentNode;
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
t.exports = o;
|
|
946
|
-
}
|
|
947
|
-
]);
|
|
948
|
-
});
|
|
949
|
-
})(L);
|
|
950
|
-
const re = /* @__PURE__ */ Q(L.exports);
|
|
951
|
-
const oe = {
|
|
952
|
-
props: {
|
|
953
|
-
infoData: {
|
|
954
|
-
type: Object,
|
|
955
|
-
required: !0
|
|
956
|
-
},
|
|
957
|
-
isSendEmail: {
|
|
958
|
-
type: String,
|
|
959
|
-
default: ""
|
|
960
|
-
}
|
|
961
|
-
},
|
|
962
|
-
data() {
|
|
963
|
-
return {
|
|
964
|
-
visible: !1,
|
|
965
|
-
sending: !1,
|
|
966
|
-
isSendEmailList: "",
|
|
967
|
-
width: "520px",
|
|
968
|
-
fullscreen: !1
|
|
969
|
-
};
|
|
970
|
-
},
|
|
971
|
-
computed: {
|
|
972
|
-
copyInfo() {
|
|
973
|
-
return `${this.$i18nt("gd.user.account", "\u8D26\u53F7")}: ${this.infoData.account}
|
|
974
|
-
${this.$i18nt("gd.user.paw", "\u5BC6\u7801")}: ${this.infoData.password}
|
|
975
|
-
${this.$i18nt("gd.user.name", "\u59D3\u540D")}: ${this.infoData.name}
|
|
976
|
-
${this.$i18nt("gd.user.email", "\u90AE\u7BB1")}: ${this.infoData.email}
|
|
977
|
-
${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
|
|
978
|
-
`;
|
|
979
|
-
}
|
|
980
|
-
},
|
|
981
|
-
methods: {
|
|
982
|
-
open(i) {
|
|
983
|
-
this.visible = !0, this.isSendEmailList = i;
|
|
984
|
-
},
|
|
985
|
-
colseCancel() {
|
|
986
|
-
this.visible = !1;
|
|
987
|
-
},
|
|
988
|
-
cmpleteUpgrade() {
|
|
989
|
-
const i = new re(".copy-btn");
|
|
990
|
-
i.on("success", () => {
|
|
991
|
-
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
|
|
992
|
-
}), i.on("error", () => {
|
|
993
|
-
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
|
|
994
|
-
}), setTimeout(() => {
|
|
995
|
-
i.destroy();
|
|
996
|
-
}, 122);
|
|
997
|
-
},
|
|
998
|
-
sendingEailm() {
|
|
999
|
-
let i = this;
|
|
1000
|
-
i.sending = !0;
|
|
1001
|
-
let e = {
|
|
1002
|
-
accountName: i.infoData.account,
|
|
1003
|
-
emailAddress: i.infoData.email,
|
|
1004
|
-
pcR_Type: 5
|
|
1005
|
-
};
|
|
1006
|
-
E(e).then((t) => {
|
|
1007
|
-
t.success ? (i.sending = !1, i.visible = !1, i.$notify({
|
|
1008
|
-
duration: 8e3,
|
|
1009
|
-
type: "success",
|
|
1010
|
-
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
1011
|
-
dangerouslyUseHTMLString: !0,
|
|
1012
|
-
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>
|
|
1013
|
-
<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>`
|
|
1014
|
-
}), i.$emit("sending")) : i.$message.error(i.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
|
|
1015
|
-
});
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
};
|
|
1019
|
-
var ae = function() {
|
|
1020
|
-
var e = this, t = e._self._c;
|
|
1021
|
-
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) {
|
|
1022
|
-
e.visible = r;
|
|
1023
|
-
}, 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);
|
|
1024
|
-
}, le = [], de = /* @__PURE__ */ T(
|
|
1025
|
-
oe,
|
|
1026
|
-
ae,
|
|
1027
|
-
le,
|
|
1028
|
-
!1,
|
|
1029
|
-
null,
|
|
1030
|
-
"b6f77ddd",
|
|
1031
|
-
null,
|
|
1032
|
-
null
|
|
1033
|
-
);
|
|
1034
|
-
const ce = de.exports;
|
|
1035
|
-
const ue = {
|
|
1036
|
-
name: "GdUse",
|
|
1037
|
-
props: {
|
|
1038
|
-
height: {
|
|
1039
|
-
type: Number,
|
|
1040
|
-
default: 100
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
mixins: [j, ne],
|
|
1044
|
-
data() {
|
|
1045
|
-
return {
|
|
1046
|
-
transKey: "gd.btn.add",
|
|
1047
|
-
formLoading: !1,
|
|
1048
|
-
currentNode: null,
|
|
1049
|
-
loading: !0,
|
|
1050
|
-
orgTree: [],
|
|
1051
|
-
selectedRowKeys: [],
|
|
1052
|
-
selectedRows: [],
|
|
1053
|
-
queryParam: {},
|
|
1054
|
-
defaultProps: {
|
|
1055
|
-
children: "children",
|
|
1056
|
-
label: "title",
|
|
1057
|
-
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;
|
|
1058
1320
|
},
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
UserRoleForm: X,
|
|
1072
|
-
EditInstitutions: ie,
|
|
1073
|
-
copyInfo: ce
|
|
1074
|
-
},
|
|
1075
|
-
computed: {
|
|
1076
|
-
getQueryParam() {
|
|
1077
|
-
let i = /* @__PURE__ */ new Map();
|
|
1078
|
-
for (let e in this.queryParam)
|
|
1079
|
-
i.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
|
|
1080
|
-
return Object.fromEntries(i);
|
|
1081
|
-
},
|
|
1082
|
-
getFormColumns() {
|
|
1083
|
-
return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
|
|
1084
|
-
},
|
|
1085
|
-
getTableButtons() {
|
|
1086
|
-
return this.tableButtons.filter((i) => (i.show = !this.disableBtn.includes(i.displayName), !0));
|
|
1087
|
-
},
|
|
1088
|
-
getHeight() {
|
|
1089
|
-
return this.height;
|
|
1090
|
-
},
|
|
1091
|
-
styled() {
|
|
1092
|
-
return `height:${this.height + 76}px`;
|
|
1093
|
-
},
|
|
1094
|
-
...R(["tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
1095
|
-
},
|
|
1096
|
-
methods: {
|
|
1097
|
-
updateInstitutions() {
|
|
1098
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1099
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1100
|
-
return;
|
|
1101
|
-
}
|
|
1102
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1103
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
1104
|
-
return;
|
|
1105
|
-
}
|
|
1106
|
-
this.institutionsShow = !0, this.$nextTick(() => {
|
|
1107
|
-
setTimeout(() => {
|
|
1108
|
-
this.$refs.editInstitutions.open(this.selectedRows[0]);
|
|
1109
|
-
}, 0);
|
|
1110
|
-
});
|
|
1111
|
-
},
|
|
1112
|
-
userRole() {
|
|
1113
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1114
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1115
|
-
return;
|
|
1116
|
-
}
|
|
1117
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1118
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
1119
|
-
return;
|
|
1120
|
-
}
|
|
1121
|
-
this.$refs.userRoleForm.open(this.selectedRows[0]);
|
|
1122
|
-
},
|
|
1123
|
-
saveQueries(i) {
|
|
1124
|
-
this.queryParam = {
|
|
1125
|
-
...i
|
|
1126
|
-
}, this.refresh();
|
|
1127
|
-
},
|
|
1128
|
-
handleFileUpload(i) {
|
|
1129
|
-
const e = this.$message({
|
|
1130
|
-
message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
|
|
1131
|
-
duration: 0,
|
|
1132
|
-
iconClass: "el-icon-loading"
|
|
1133
|
-
}), t = new FormData();
|
|
1134
|
-
t.append("file", i.file), D(t).then((r) => {
|
|
1135
|
-
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(() => {
|
|
1136
|
-
setTimeout(() => {
|
|
1137
|
-
e.close();
|
|
1138
|
-
}, 200);
|
|
1139
|
-
});
|
|
1140
|
-
});
|
|
1141
|
-
},
|
|
1142
|
-
importUser() {
|
|
1143
|
-
this.fileList = [], document.querySelector(".upload-demo").click();
|
|
1144
|
-
},
|
|
1145
|
-
exportUser() {
|
|
1146
|
-
const i = this.$message({
|
|
1147
|
-
message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
|
|
1148
|
-
duration: 0,
|
|
1149
|
-
iconClass: "el-icon-loading"
|
|
1150
|
-
});
|
|
1151
|
-
I().then((e) => {
|
|
1152
|
-
this.downloadfile(e), this.$nextTick(() => {
|
|
1153
|
-
setTimeout(() => {
|
|
1154
|
-
i.close();
|
|
1155
|
-
}, 200);
|
|
1156
|
-
});
|
|
1157
|
-
}).catch((e) => {
|
|
1158
|
-
this.$nextTick(() => {
|
|
1159
|
-
setTimeout(() => {
|
|
1160
|
-
i.close();
|
|
1161
|
-
}, 200);
|
|
1162
|
-
});
|
|
1163
|
-
});
|
|
1164
|
-
},
|
|
1165
|
-
enable() {
|
|
1166
|
-
this.editStateCodes({
|
|
1167
|
-
row: this.selectedRows[0]
|
|
1168
|
-
});
|
|
1169
|
-
},
|
|
1170
|
-
deactivated() {
|
|
1171
|
-
this.editStateCodes({
|
|
1172
|
-
row: this.selectedRows[0]
|
|
1173
|
-
});
|
|
1174
|
-
},
|
|
1175
|
-
editStateCodes({ column: i, row: e }) {
|
|
1176
|
-
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");
|
|
1177
|
-
this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1178
|
-
confirmButtonText: r,
|
|
1179
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1180
|
-
showClose: !1,
|
|
1181
|
-
confirmButtonLoading: !1,
|
|
1182
|
-
cancelButtonLoading: !1,
|
|
1183
|
-
closeOnClickModal: !1,
|
|
1184
|
-
type: "warning",
|
|
1185
|
-
confirmButtonClass: "el-button--danger",
|
|
1186
|
-
customClass: "custom-alert",
|
|
1187
|
-
callback: () => {
|
|
1188
|
-
},
|
|
1189
|
-
beforeClose: (n, s, o) => {
|
|
1190
|
-
if (n !== "confirm") {
|
|
1191
|
-
o();
|
|
1192
|
-
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();
|
|
1193
1333
|
}
|
|
1194
|
-
|
|
1195
|
-
id: e.id,
|
|
1196
|
-
stateCodes: e.statecodes == 1 ? 0 : 1
|
|
1197
|
-
}).then((a) => {
|
|
1198
|
-
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;
|
|
1199
|
-
});
|
|
1334
|
+
return o;
|
|
1200
1335
|
}
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
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;
|
|
1211
1348
|
},
|
|
1212
|
-
{
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
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;
|
|
1216
1368
|
}
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
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");
|
|
1225
1387
|
}
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
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
|
+
};
|
|
1240
1433
|
}
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
1246
|
-
return;
|
|
1247
|
-
}
|
|
1248
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1249
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
1250
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1251
|
-
showClose: !1,
|
|
1252
|
-
confirmButtonLoading: !1,
|
|
1253
|
-
cancelButtonLoading: !1,
|
|
1254
|
-
closeOnClickModal: !1,
|
|
1255
|
-
type: "warning",
|
|
1256
|
-
confirmButtonClass: "el-button--danger",
|
|
1257
|
-
customClass: "custom-alert",
|
|
1258
|
-
callback: () => {
|
|
1259
|
-
},
|
|
1260
|
-
beforeClose: (i, e, t) => {
|
|
1261
|
-
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
|
+
}));
|
|
1262
1438
|
}
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1285
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1286
|
-
return;
|
|
1287
|
-
}
|
|
1288
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1289
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
1290
|
-
return;
|
|
1291
|
-
}
|
|
1292
|
-
this.editForm(this.selectedRows[0]);
|
|
1293
|
-
},
|
|
1294
|
-
async sbumit({ data: i, record: e, btn: t }, r, n) {
|
|
1295
|
-
this.formLoading = !0;
|
|
1296
|
-
let s = e ? q : H;
|
|
1297
|
-
if (!e) {
|
|
1298
|
-
let o = await this.getUsrePassword();
|
|
1299
|
-
Object.assign(i, {
|
|
1300
|
-
password: o,
|
|
1301
|
-
confirm: o
|
|
1302
|
-
});
|
|
1303
|
-
}
|
|
1304
|
-
s(i).then((o) => {
|
|
1305
|
-
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;
|
|
1306
|
-
});
|
|
1307
|
-
},
|
|
1308
|
-
sendEmail(i, e) {
|
|
1309
|
-
i || (this.isSendEmail == 1 && this.$notify({
|
|
1310
|
-
type: "success",
|
|
1311
|
-
title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
|
|
1312
|
-
dangerouslyUseHTMLString: !0,
|
|
1313
|
-
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>
|
|
1314
|
-
<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>`
|
|
1315
|
-
}), A({ code: "GDS_NewUser_DisplayAccount" }).then((t) => {
|
|
1316
|
-
t.code == 200 && t.data.value == "1" && setTimeout(() => {
|
|
1317
|
-
this.$refs.copyInfo.open(this.copyRule);
|
|
1318
|
-
}, 1200);
|
|
1319
|
-
}));
|
|
1320
|
-
},
|
|
1321
|
-
handleOk() {
|
|
1322
|
-
this.getOrgTree(), this.$refs.table.refresh();
|
|
1323
|
-
},
|
|
1324
|
-
onSelectChange(i, e) {
|
|
1325
|
-
if (this.selectedRowKeys = i, this.selectedRows = e, i.length === 0) {
|
|
1326
|
-
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
1327
|
-
return;
|
|
1328
|
-
}
|
|
1329
|
-
if (e.length > 1) {
|
|
1330
|
-
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
1331
|
-
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;
|
|
1332
1460
|
}
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
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);
|
|
1343
|
-
},
|
|
1344
|
-
getUsrePassword() {
|
|
1345
|
-
return M({}).then((i) => {
|
|
1346
|
-
if (i.success)
|
|
1347
|
-
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);
|
|
1348
|
-
});
|
|
1461
|
+
]);
|
|
1462
|
+
});
|
|
1463
|
+
})(F);
|
|
1464
|
+
const fe = /* @__PURE__ */ Y(F.exports);
|
|
1465
|
+
const pe = {
|
|
1466
|
+
props: {
|
|
1467
|
+
infoData: {
|
|
1468
|
+
type: Object,
|
|
1469
|
+
required: !0
|
|
1349
1470
|
},
|
|
1350
|
-
|
|
1351
|
-
|
|
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;
|
|
1352
1498
|
},
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
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)
|
|
1356
|
-
return console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5B57\u7B26\u96C6\u6765\u751F\u6210\u5BC6\u7801\uFF0C\u8BF7\u68C0\u67E5 combinationRule \u53C2\u6570"), "";
|
|
1357
|
-
a = a.sort(() => Math.random() - 0.5);
|
|
1358
|
-
let c = a.join("");
|
|
1359
|
-
for (; c.length < i; ) {
|
|
1360
|
-
const h = [s, r, t, n].filter((g) => g);
|
|
1361
|
-
if (h.length === 0)
|
|
1362
|
-
break;
|
|
1363
|
-
const b = h[Math.floor(Math.random() * h.length)];
|
|
1364
|
-
c += this.getRandomChar(b);
|
|
1365
|
-
}
|
|
1366
|
-
return o = c.substring(0, i), o;
|
|
1499
|
+
colseCancel() {
|
|
1500
|
+
this.visible = !1;
|
|
1367
1501
|
},
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
}
|
|
1377
|
-
this.$confirm(this.$i18nt("gd.https.resetPwdContent", "\u662F\u5426\u91CD\u7F6E\u5BC6\u7801?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1378
|
-
confirmButtonText: this.$i18nt("gd.https.resetPwdOk", "\u7ACB\u5373\u91CD\u7F6E"),
|
|
1379
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1380
|
-
showClose: !1,
|
|
1381
|
-
confirmButtonLoading: !1,
|
|
1382
|
-
cancelButtonLoading: !1,
|
|
1383
|
-
closeOnClickModal: !1,
|
|
1384
|
-
type: "warning",
|
|
1385
|
-
confirmButtonClass: "el-button--danger",
|
|
1386
|
-
customClass: "custom-alert",
|
|
1387
|
-
callback: () => {
|
|
1388
|
-
},
|
|
1389
|
-
beforeClose: (i, e, t) => {
|
|
1390
|
-
this.resetPwdHand(i, e, t);
|
|
1391
|
-
}
|
|
1392
|
-
});
|
|
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);
|
|
1393
1511
|
},
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
emailAddress: n.selectedRows[0].email,
|
|
1412
|
-
pcR_Type: 5
|
|
1413
|
-
}, s = E;
|
|
1414
|
-
else if (n.copyRule == 1)
|
|
1415
|
-
o = {
|
|
1416
|
-
id: n.selectedRows[0].id,
|
|
1417
|
-
newPassword: r
|
|
1418
|
-
}, s = x;
|
|
1419
|
-
else {
|
|
1420
|
-
this.$message.error(this.$i18nt("gd.https.resetFailure", "\u91CD\u7F6E\u6210\u529F")), t();
|
|
1421
|
-
return;
|
|
1422
|
-
}
|
|
1423
|
-
s(o).then((a) => {
|
|
1424
|
-
if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
|
|
1425
|
-
let c = {
|
|
1426
|
-
account: n.selectedRows[0].account,
|
|
1427
|
-
password: r,
|
|
1428
|
-
name: n.selectedRows[0].name,
|
|
1429
|
-
email: n.selectedRows[0].email,
|
|
1430
|
-
phone: n.selectedRows[0].phone
|
|
1431
|
-
};
|
|
1432
|
-
n.isSendEmail == 1 && n.copyRule == 0 ? n.$notify({
|
|
1433
|
-
duration: 8e3,
|
|
1434
|
-
type: "success",
|
|
1435
|
-
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
1436
|
-
dangerouslyUseHTMLString: !0,
|
|
1437
|
-
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>
|
|
1438
|
-
<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>`
|
|
1439
|
-
}) : n.$message.success(n.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n.copyRule == 1 ? (n.infoData = c, setTimeout(() => {
|
|
1440
|
-
n.$refs.copyInfo.open(n.isSendEmail);
|
|
1441
|
-
}, 500)) : n.refresh();
|
|
1442
|
-
} else
|
|
1443
|
-
n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
|
|
1444
|
-
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);
|
|
1445
1529
|
});
|
|
1446
|
-
},
|
|
1447
|
-
sending() {
|
|
1448
|
-
this.refresh();
|
|
1449
|
-
},
|
|
1450
|
-
doEvent(i) {
|
|
1451
|
-
let e = i.item.functionName;
|
|
1452
|
-
this[e] && this[e]();
|
|
1453
1530
|
}
|
|
1454
|
-
},
|
|
1455
|
-
created() {
|
|
1456
|
-
this.getOrgTree();
|
|
1457
1531
|
}
|
|
1458
1532
|
};
|
|
1459
|
-
var
|
|
1533
|
+
var ge = function() {
|
|
1460
1534
|
var e = this, t = e._self._c;
|
|
1461
|
-
return t("
|
|
1462
|
-
|
|
1463
|
-
} }, {
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
|
|
1469
|
-
return n.stopPropagation(), e.editStateCodes(r);
|
|
1470
|
-
} } }, [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" } })])];
|
|
1471
|
-
} }, { key: "operator", fn: function() {
|
|
1472
|
-
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) {
|
|
1473
|
-
return !r.type.indexOf("key") && e._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
1474
|
-
} }, model: { value: e.queryParam.searchValue, callback: function(r) {
|
|
1475
|
-
e.$set(e.queryParam, "searchValue", r);
|
|
1476
|
-
}, 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)])];
|
|
1477
|
-
}, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: n }) {
|
|
1478
|
-
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: n }, on: { save: e.saveQueries } })];
|
|
1479
|
-
} }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
|
|
1480
|
-
e.institutionsShow = !1;
|
|
1481
|
-
} } }) : 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);
|
|
1482
|
-
}, fe = [], pe = /* @__PURE__ */ T(
|
|
1483
|
-
ue,
|
|
1484
|
-
he,
|
|
1485
|
-
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,
|
|
1486
1542
|
!1,
|
|
1487
1543
|
null,
|
|
1488
|
-
"
|
|
1544
|
+
"b6f77ddd",
|
|
1489
1545
|
null,
|
|
1490
1546
|
null
|
|
1491
1547
|
);
|
|
1492
|
-
const
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
};
|
|
1548
|
+
const be = ye.exports, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1549
|
+
__proto__: null,
|
|
1550
|
+
default: be
|
|
1551
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1496
1552
|
export {
|
|
1497
1553
|
S as G
|
|
1498
1554
|
};
|