gds-plus-design-vue 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/approvalModel.a26e8ff6.mjs +340 -0
- package/lib/approvalModel.cfd81971.js +1 -0
- package/lib/btnFunctionName.9aabfed0.js +1 -0
- package/lib/btnFunctionName.d08627cb.mjs +254 -0
- package/lib/btnRelation.8e608261.mjs +156 -0
- package/lib/btnRelation.cb3dc022.js +1 -0
- package/lib/businessRules.754cc398.mjs +539 -0
- package/lib/businessRules.f41f7035.js +1 -0
- package/lib/buttonRule.4483314f.mjs +396 -0
- package/lib/buttonRule.645de1d3.js +1 -0
- package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
- package/lib/chartDisplayRules.fedfefe8.js +1 -0
- package/lib/components.chartbi.470b96af.mjs +1798 -0
- package/lib/components.chartbi.e9459775.js +8 -0
- package/lib/components.coloreditor.affa0400.mjs +1505 -0
- package/lib/components.coloreditor.dbec8da6.js +6 -0
- package/lib/components.dataassign.39281072.mjs +147 -0
- package/lib/components.dataassign.b6a1bffb.js +1 -0
- package/lib/components.echarts.95ffc3b3.mjs +811 -0
- package/lib/components.echarts.d09e9850.js +4 -0
- package/lib/components.exception.11315db5.js +1 -0
- package/lib/components.exception.facf9df9.mjs +61 -0
- package/lib/components.form.56ea8f98.js +41 -0
- package/lib/components.form.a7b3ea37.mjs +7813 -0
- package/lib/components.globalheader.0a7ce959.js +1 -0
- package/lib/components.globalheader.4a5f7225.mjs +54 -0
- package/lib/components.iconselector.0c03cfc7.js +1 -0
- package/lib/components.iconselector.251c29b9.mjs +1169 -0
- package/lib/components.imgpreview.5546e541.mjs +213 -0
- package/lib/components.imgpreview.706a89f0.js +1 -0
- package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
- package/lib/components.lunccalendar.fe7db238.js +1 -0
- package/lib/components.middleware.01601349.js +1 -0
- package/lib/components.middleware.f5f4ac0f.mjs +148 -0
- package/lib/components.modaltitle.5ded43f9.mjs +127 -0
- package/lib/components.modaltitle.cc9ba616.js +1 -0
- package/lib/components.multitab.0f9da9f3.mjs +140 -0
- package/lib/components.multitab.726cff2f.js +1 -0
- package/lib/components.selecttree.1a71c963.mjs +170 -0
- package/lib/components.selecttree.2fadffca.js +1 -0
- package/lib/components.settingdrawer.1af86231.js +1 -0
- package/lib/components.settingdrawer.adc262cf.mjs +237 -0
- package/lib/components.sidemenu.03442146.mjs +277 -0
- package/lib/components.sidemenu.5107c7e3.js +1 -0
- package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
- package/lib/components.sidenavmenu.ef33de39.js +1 -0
- package/lib/components.statuschange.805a751b.mjs +116 -0
- package/lib/components.statuschange.83646c5d.js +1 -0
- package/lib/components.table.61eb5d81.js +8 -0
- package/lib/components.table.c986e58d.mjs +4650 -0
- package/lib/components.tableumy.35b465f9.mjs +453 -0
- package/lib/components.tableumy.eba43953.js +1 -0
- package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
- package/lib/components.tablevirtual.6af04c44.js +1 -0
- package/lib/components.teamsharing.68865424.js +1 -0
- package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
- package/lib/components.tooltip.ccb1717d.mjs +86 -0
- package/lib/components.tooltip.e2e21e66.js +1 -0
- package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
- package/lib/components.uploadfile.e93b500d.js +1 -0
- package/lib/components.uploadimg.3804913e.js +1 -0
- package/lib/components.uploadimg.e49707d9.mjs +192 -0
- package/lib/components.verificationcode.5a9c0220.js +1 -0
- package/lib/components.verificationcode.ead74922.mjs +71 -0
- package/lib/components.viewformdetails.3c1596ad.js +1 -0
- package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
- package/lib/components.viewloading.5b178ec5.js +1 -0
- package/lib/components.viewloading.cb7917b7.mjs +99 -0
- package/lib/components.watermark.849409ca.js +2 -0
- package/lib/components.watermark.a2521d0c.mjs +53 -0
- package/lib/components.xlsxexport.3405a00b.js +1 -0
- package/lib/components.xlsxexport.871f87d1.mjs +263 -0
- package/lib/components.xlsximport.85ce77cf.mjs +922 -0
- package/lib/components.xlsximport.e3bcb07d.js +1 -0
- package/lib/copy.b09a6d38.js +1 -0
- package/lib/copy.c0a2f16d.mjs +572 -0
- package/lib/dialogLayout.059ee256.mjs +138 -0
- package/lib/dialogLayout.cedf2865.js +1 -0
- package/lib/drawerContainer.38d7b530.mjs +154 -0
- package/lib/drawerContainer.ea7722d7.js +1 -0
- package/lib/drawerLayout.454e4921.js +1 -0
- package/lib/drawerLayout.fad843ee.mjs +119 -0
- package/lib/editForm.c199538f.mjs +434 -0
- package/lib/editForm.f9dc93ef.js +1 -0
- package/lib/flow.designer.4c83c0d3.js +1 -0
- package/lib/flow.designer.9442a995.mjs +7673 -0
- package/lib/flow.list.4a31969e.mjs +3032 -0
- package/lib/flow.list.f41ee531.js +1 -0
- package/lib/form.build.c38bf362.js +1 -0
- package/lib/form.build.fb9f905b.mjs +259 -0
- package/lib/form.designer.build.3fdf8007.js +1 -0
- package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
- package/lib/formFiled.624b8dd3.js +1 -0
- package/lib/formFiled.94fb1dce.mjs +498 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +233 -91087
- package/lib/http.appmanage.9b22ff82.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.d3a4afd9.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.1af1e119.mjs +517 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.menumanage.09fffb7d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.1d68e914.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.3fa2dc66.mjs +40154 -0
- package/lib/index.fe757a98.js +8 -0
- package/lib/layoutBlocks.14c77a02.js +1 -0
- package/lib/layoutBlocks.5d71a03b.mjs +401 -0
- package/lib/layouts.a662f681.js +2 -0
- package/lib/layouts.ec4f20a2.mjs +376 -0
- package/lib/main.092a2ac8.js +1 -0
- package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
- package/lib/main.29769f01.js +1 -0
- package/lib/main.401059c6.mjs +189 -0
- package/lib/main.447be615.js +1 -0
- package/lib/main.4e507685.mjs +231 -0
- package/lib/main.72cafa63.mjs +540 -0
- package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
- package/lib/main.7601bd3d.mjs +166 -0
- package/lib/main.79199ac2.js +1 -0
- package/lib/main.821d081b.js +1 -0
- package/lib/main.8627466a.mjs +537 -0
- package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
- package/lib/main.8e6f6cba.mjs +323 -0
- package/lib/main.a9a54af9.js +1 -0
- package/lib/main.e033a376.js +1 -0
- package/lib/main.e2e4ba74.js +1 -0
- package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
- package/lib/main.ea3a04f4.js +1 -0
- package/lib/main.f44d8279.js +1 -0
- package/lib/messages.5f54a62e.js +9 -0
- package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
- package/lib/packages.filedocument.8418d852.mjs +4039 -0
- package/lib/packages.filedocument.9b8eda0d.js +1 -0
- package/lib/page.build.4d28df9a.js +12 -0
- package/lib/page.build.78cc7396.mjs +3020 -0
- package/lib/personal.echarts.940f1cc9.mjs +696 -0
- package/lib/personal.echarts.b5a7f574.js +1 -0
- package/lib/result.0161b0e0.js +1 -0
- package/lib/result.5a9330d7.mjs +627 -0
- package/lib/router.config.79a98ab8.mjs +3105 -0
- package/lib/router.config.7fd04c30.js +1 -0
- package/lib/solution.application.3ae7c0c5.js +1 -0
- package/lib/solution.application.fdc15ffc.mjs +548 -0
- package/lib/solution.applicationmenu.67aba620.js +1 -0
- package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
- package/lib/solution.approvalflow.81b7cfb7.js +1 -0
- package/lib/solution.approvalflow.a541adcc.mjs +436 -0
- package/lib/solution.dict.addbce33.mjs +769 -0
- package/lib/solution.dict.f1c9bae6.js +1 -0
- package/lib/solution.menu.2033fa37.mjs +5834 -0
- package/lib/solution.menu.6512047f.js +1 -0
- package/lib/solution.plugin.7094dbfd.js +1 -0
- package/lib/solution.plugin.d8f057cb.mjs +347 -0
- package/lib/solution.processflow.0adf4f55.js +1 -0
- package/lib/solution.processflow.a779bd58.mjs +392 -0
- package/lib/solution.role.d35cb00d.js +1 -0
- package/lib/solution.role.d9a4b25a.mjs +456 -0
- package/lib/solution.webresources.e1421655.mjs +379 -0
- package/lib/solution.webresources.e817757c.js +1 -0
- package/lib/solution.workflow.59552b8c.mjs +395 -0
- package/lib/solution.workflow.985e1f4d.js +1 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/store.config.5e5cb48a.mjs +547 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1b281679.js +216 -0
- package/lib/system.account.96d5bc17.mjs +2093 -0
- package/lib/system.config.0ff45e62.js +1 -0
- package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
- package/lib/system.dict.8e4fe6b0.js +1 -0
- package/lib/system.document.69e534a6.js +1 -0
- package/lib/system.document.8e4dbe5e.mjs +667 -0
- package/lib/system.duplicatechecking.1083eb1e.js +1 -0
- package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
- package/lib/system.email.06bb7cc1.mjs +133 -0
- package/lib/system.email.41036a31.js +1 -0
- package/lib/system.fieldsecurity.3ea880d8.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
- package/lib/system.file.b8e4e6a1.js +1 -0
- package/lib/system.log.14c22a7a.js +1 -0
- package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
- package/lib/system.onlineuser.fc26aff9.js +1 -0
- package/lib/system.org.b6f826e8.js +1 -0
- package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
- package/lib/system.permissions.75406743.mjs +972 -0
- package/lib/system.permissions.97f68887.js +1 -0
- package/lib/system.plugin.3fcf7b0b.js +1 -0
- package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
- package/lib/system.sumberrules.5e9cd262.js +1 -0
- package/lib/system.team.3e605266.js +1 -0
- package/lib/system.team.bb1fb40e.mjs +452 -0
- package/lib/system.teammembers.a098883b.js +1 -0
- package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
- package/lib/system.useraffiliation.f8b33def.js +1 -0
- package/lib/system.webresource.1d3ed352.js +1 -0
- package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
- package/lib/system.welcome.eedf1db2.js +1 -0
- package/lib/tableDescriptions.923c4ef1.mjs +80 -0
- package/lib/tableDescriptions.b12679b0.js +1 -0
- package/lib/tcheckboxs.887d733c.mjs +52 -0
- package/lib/tcheckboxs.fe7e574a.js +1 -0
- package/lib/tcurrency.10ac9aa7.mjs +85 -0
- package/lib/tcurrency.20e959c0.js +1 -0
- package/lib/tdatepicker.54036bba.js +1 -0
- package/lib/tdatepicker.a08ad382.mjs +52 -0
- package/lib/tdictSwitch.274e9f86.js +1 -0
- package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
- package/lib/tfile.5c897827.js +1 -0
- package/lib/tfile.f63b73b9.mjs +62 -0
- package/lib/tparticipants.4698962b.mjs +56 -0
- package/lib/tparticipants.b6fb4545.js +1 -0
- package/lib/translation.mains.5cfc7a2f.js +1 -0
- package/lib/translation.mains.e6cb610b.mjs +383 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.885de913.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/view.build.051553d8.mjs +1578 -0
- package/lib/view.build.9af3087b.js +1 -0
- package/lib/viewList.209956c3.js +1 -0
- package/lib/viewList.c05c92be.mjs +318 -0
- package/lib/viewTree.0cd9f1a2.js +1 -0
- package/lib/viewTree.c5290360.mjs +409 -0
- package/locale/en_US.js +92 -28
- package/locale/id_ID.js +76 -12
- package/locale/vi_VN.js +2012 -1948
- package/locale/zh_CN.js +97 -33
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.03984fed.js +0 -1
- package/lib/main.1050afb3.js +0 -1
- package/lib/main.64122541.js +0 -1
- package/lib/main.b7d2c6ee.js +0 -1
- package/lib/messages.828b6ed8.js +0 -9
- package/lib/system.account.3181bcd6.js +0 -216
- package/lib/system.account.7c6ea20c.mjs +0 -2552
- package/lib/system.config.10f57fa2.js +0 -1
- package/lib/system.datasource.d5eea7f2.js +0 -1
- package/lib/system.dict.d73658f1.js +0 -1
- package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
- package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
- package/lib/system.email.4bf52f2d.js +0 -41
- package/lib/system.email.db5da8d7.mjs +0 -7432
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.c1884db7.js +0 -1
- package/lib/system.log.389af80d.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.a89f4826.js +0 -1
- package/lib/system.noticereceived.5e0773c3.js +0 -1
- package/lib/system.onlineuser.67733846.js +0 -1
- package/lib/system.org.ff54d620.js +0 -1
- package/lib/system.permissions.cc9a9866.mjs +0 -212
- package/lib/system.permissions.e6317c5a.js +0 -9
- package/lib/system.plugin.3467d572.js +0 -1
- package/lib/system.pos.4aadf86e.js +0 -1
- package/lib/system.promptmanagement.9ba710d6.js +0 -1
- package/lib/system.role.890c8ca2.js +0 -1
- package/lib/system.sumberrules.068ebe4a.js +0 -1
- package/lib/system.team.27cd57f7.mjs +0 -1000
- package/lib/system.team.2b28502b.js +0 -1
- package/lib/system.teammembers.e3baf783.js +0 -1
- package/lib/system.timers.cb0a3bd0.js +0 -38
- package/lib/system.translation.f3884a0a.js +0 -1
- package/lib/system.user.3bd95871.js +0 -14
- package/lib/system.useraffiliation.7db6e13c.js +0 -1
- package/lib/system.webresource.ede248a8.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -1,418 +1,7 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
method: "post",
|
|
6
|
-
data: t
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
function we(t) {
|
|
10
|
-
return window.axios({
|
|
11
|
-
url: "/SysView/List",
|
|
12
|
-
method: "get",
|
|
13
|
-
params: t
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
function be(t) {
|
|
17
|
-
return window.axios({
|
|
18
|
-
url: "/SysView/Edit",
|
|
19
|
-
method: "post",
|
|
20
|
-
data: t
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function _e(t) {
|
|
24
|
-
return window.axios({
|
|
25
|
-
url: "/SysView/Delete",
|
|
26
|
-
method: "post",
|
|
27
|
-
params: t
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function ve(t) {
|
|
31
|
-
return window.axios({
|
|
32
|
-
url: "/SysView/Details",
|
|
33
|
-
method: "get",
|
|
34
|
-
params: t
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function Se(t) {
|
|
38
|
-
return window.axios({
|
|
39
|
-
url: "/SysWebResource/GetList",
|
|
40
|
-
method: "get",
|
|
41
|
-
params: t
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
function $e(t) {
|
|
45
|
-
return window.axios({
|
|
46
|
-
url: "/SysButton/List",
|
|
47
|
-
method: "get",
|
|
48
|
-
params: t
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function Ce(t) {
|
|
52
|
-
return window.axios({
|
|
53
|
-
url: "/SysButton/Delete",
|
|
54
|
-
method: "get",
|
|
55
|
-
params: t
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function xe(t) {
|
|
59
|
-
return window.axios({
|
|
60
|
-
url: "/SysButton/add",
|
|
61
|
-
method: "post",
|
|
62
|
-
data: t
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function Re(t) {
|
|
66
|
-
return window.axios({
|
|
67
|
-
url: "/SysButton/Details",
|
|
68
|
-
method: "get",
|
|
69
|
-
params: t
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function Te(t) {
|
|
73
|
-
return window.axios({
|
|
74
|
-
url: "/SysButton/Edit",
|
|
75
|
-
method: "post",
|
|
76
|
-
data: t
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
function ke(t) {
|
|
80
|
-
return window.axios({
|
|
81
|
-
url: "/sysForm/list",
|
|
82
|
-
method: "get",
|
|
83
|
-
params: t
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
function Ke(t) {
|
|
87
|
-
return window.axios({
|
|
88
|
-
url: "/sysForm/Add",
|
|
89
|
-
method: "post",
|
|
90
|
-
data: t
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
function Ne(t) {
|
|
94
|
-
return window.axios({
|
|
95
|
-
url: "/sysForm/Edit",
|
|
96
|
-
method: "post",
|
|
97
|
-
data: t
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
function Be(t) {
|
|
101
|
-
return window.axios({
|
|
102
|
-
url: "/sysForm/Delete",
|
|
103
|
-
method: "get",
|
|
104
|
-
params: t
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
function Fe(t) {
|
|
108
|
-
return window.axios({
|
|
109
|
-
url: "/sysForm/Details",
|
|
110
|
-
method: "get",
|
|
111
|
-
params: t
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
function Le(t) {
|
|
115
|
-
return window.axios({
|
|
116
|
-
url: "/develop/GetFindView",
|
|
117
|
-
method: "get",
|
|
118
|
-
params: t
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
function De(t) {
|
|
122
|
-
return window.axios({
|
|
123
|
-
url: "/develop/GetFindForm",
|
|
124
|
-
method: "get",
|
|
125
|
-
params: t
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
function Ee(t) {
|
|
129
|
-
return window.axios({
|
|
130
|
-
url: "/SysButton/Set",
|
|
131
|
-
method: "post",
|
|
132
|
-
data: t
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
function ze(t) {
|
|
136
|
-
return window.axios({
|
|
137
|
-
url: "/sysRelationship/List",
|
|
138
|
-
method: "get",
|
|
139
|
-
params: t
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
function Ie(t) {
|
|
143
|
-
return window.axios({
|
|
144
|
-
url: "/sysRelationship/List2",
|
|
145
|
-
method: "get",
|
|
146
|
-
params: t
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
function Oe(t) {
|
|
150
|
-
return window.axios({
|
|
151
|
-
url: "/SysRelationship/Details",
|
|
152
|
-
method: "get",
|
|
153
|
-
params: t
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
function Pe(t) {
|
|
157
|
-
return window.axios({
|
|
158
|
-
url: "/sysRelationship/Edit",
|
|
159
|
-
method: "post",
|
|
160
|
-
data: t
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
function je(t) {
|
|
164
|
-
return window.axios({
|
|
165
|
-
url: "/SysEcharts/add",
|
|
166
|
-
method: "post",
|
|
167
|
-
data: t
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
function qe(t) {
|
|
171
|
-
return window.axios({
|
|
172
|
-
url: "/SysEcharts/editEcharts",
|
|
173
|
-
method: "post",
|
|
174
|
-
data: t
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
function Ve(t) {
|
|
178
|
-
return window.axios({
|
|
179
|
-
url: "/SysEcharts/del",
|
|
180
|
-
method: "get",
|
|
181
|
-
params: t
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
function Ae(t) {
|
|
185
|
-
return window.axios({
|
|
186
|
-
url: "/SysEcharts/getEcharts",
|
|
187
|
-
method: "post",
|
|
188
|
-
data: t
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
function Ge(t) {
|
|
192
|
-
return window.axios({
|
|
193
|
-
url: "/SysEcharts/getPersonalEcharts",
|
|
194
|
-
method: "post",
|
|
195
|
-
data: t
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
function Me(t) {
|
|
199
|
-
return window.axios({
|
|
200
|
-
url: "/SysEcharts/updatePersonalEcharts",
|
|
201
|
-
method: "post",
|
|
202
|
-
data: t
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
function He(t) {
|
|
206
|
-
return window.axios({
|
|
207
|
-
url: "/SysEcharts/delPersonalEcharts",
|
|
208
|
-
method: "get",
|
|
209
|
-
params: t
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
function Qe(t) {
|
|
213
|
-
return window.axios({
|
|
214
|
-
url: "/SysSavedQuery/add",
|
|
215
|
-
method: "post",
|
|
216
|
-
data: t
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
function Ue(t) {
|
|
220
|
-
return window.axios({
|
|
221
|
-
url: "/SysSavedQuery/edit",
|
|
222
|
-
method: "post",
|
|
223
|
-
data: t
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
function We(t) {
|
|
227
|
-
return window.axios({
|
|
228
|
-
url: "/SysSavedQuery/delSavedQueries",
|
|
229
|
-
method: "get",
|
|
230
|
-
params: t
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
function Je(t) {
|
|
234
|
-
return window.axios({
|
|
235
|
-
url: "/SysSavedQuery/getSavedQueries",
|
|
236
|
-
method: "post",
|
|
237
|
-
data: t
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
function Xe(t) {
|
|
241
|
-
return window.axios({
|
|
242
|
-
url: "/SysSavedQuery/setDefaultQuery",
|
|
243
|
-
method: "get",
|
|
244
|
-
params: t
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
function g(t) {
|
|
248
|
-
return window.axios({
|
|
249
|
-
url: "/FieldSecurityConfig/getFieldSecurityPermissions",
|
|
250
|
-
method: "post",
|
|
251
|
-
data: t
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
function u(t) {
|
|
255
|
-
return window.axios({
|
|
256
|
-
url: "/FieldSecurityConfig/getFieldSecurityMember",
|
|
257
|
-
method: "post",
|
|
258
|
-
data: t
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
function m(t) {
|
|
262
|
-
return window.axios({
|
|
263
|
-
url: "/FieldSecurityConfig/editFieldSecurityPermissions",
|
|
264
|
-
method: "post",
|
|
265
|
-
data: t
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
function p(t) {
|
|
269
|
-
return window.axios({
|
|
270
|
-
url: "/FieldSecurityConfig/page",
|
|
271
|
-
method: "post",
|
|
272
|
-
data: t
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
function y(t) {
|
|
276
|
-
return window.axios({
|
|
277
|
-
url: "/FieldSecurityConfig/add",
|
|
278
|
-
method: "post",
|
|
279
|
-
data: t
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
function w(t) {
|
|
283
|
-
return window.axios({
|
|
284
|
-
url: "/FieldSecurityConfig/edit",
|
|
285
|
-
method: "post",
|
|
286
|
-
data: t
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
function b(t) {
|
|
290
|
-
return window.axios({
|
|
291
|
-
url: "/FieldSecurityConfig/del",
|
|
292
|
-
method: "get",
|
|
293
|
-
params: t
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
function f(t) {
|
|
297
|
-
return window.axios({
|
|
298
|
-
url: "/FieldSecurityMember/batchAdd",
|
|
299
|
-
method: "post",
|
|
300
|
-
data: t
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
function h(t) {
|
|
304
|
-
return window.axios({
|
|
305
|
-
url: "/FieldSecurityMember/del",
|
|
306
|
-
method: "get",
|
|
307
|
-
params: t
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
function Ye(t) {
|
|
311
|
-
return window.axios({
|
|
312
|
-
url: "/sysTeam/page",
|
|
313
|
-
method: "get",
|
|
314
|
-
params: t
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
function _(t) {
|
|
318
|
-
return window.axios({
|
|
319
|
-
url: "/sysRole/page",
|
|
320
|
-
method: "get",
|
|
321
|
-
params: t
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
function Ze(t) {
|
|
325
|
-
return window.axios({
|
|
326
|
-
url: "/sysRole/v2/add",
|
|
327
|
-
method: "post",
|
|
328
|
-
data: t
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
function et(t) {
|
|
332
|
-
return window.axios({
|
|
333
|
-
url: "/sysRole/edit",
|
|
334
|
-
method: "post",
|
|
335
|
-
data: t
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
function tt(t) {
|
|
339
|
-
return window.axios({
|
|
340
|
-
url: "/sysRole/delete",
|
|
341
|
-
method: "post",
|
|
342
|
-
data: t
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
function st(t) {
|
|
346
|
-
return window.axios({
|
|
347
|
-
url: "/sysRole/ownMenu",
|
|
348
|
-
method: "get",
|
|
349
|
-
params: t
|
|
350
|
-
});
|
|
351
|
-
}
|
|
352
|
-
function it(t) {
|
|
353
|
-
return window.axios({
|
|
354
|
-
url: "/sysRole/grantMenu",
|
|
355
|
-
method: "post",
|
|
356
|
-
data: t
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
function nt(t) {
|
|
360
|
-
return window.axios({
|
|
361
|
-
url: "/role/ViewOnBtnList",
|
|
362
|
-
method: "get",
|
|
363
|
-
params: t
|
|
364
|
-
});
|
|
365
|
-
}
|
|
366
|
-
function at(t) {
|
|
367
|
-
return window.axios({
|
|
368
|
-
url: "/role/RoleBindViewOnBtn",
|
|
369
|
-
method: "post",
|
|
370
|
-
data: t
|
|
371
|
-
});
|
|
372
|
-
}
|
|
373
|
-
function ot(t) {
|
|
374
|
-
return window.axios({
|
|
375
|
-
url: "/sysRole/copyRole",
|
|
376
|
-
method: "post",
|
|
377
|
-
data: t
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
function rt(t) {
|
|
381
|
-
return window.axios({
|
|
382
|
-
url: "/dcc/DocObjectsRoles/batchEdit",
|
|
383
|
-
method: "post",
|
|
384
|
-
data: t
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
function lt(t) {
|
|
388
|
-
return window.axios({
|
|
389
|
-
url: "/dcc/DocObjectsRoles/add",
|
|
390
|
-
method: "post",
|
|
391
|
-
data: t
|
|
392
|
-
});
|
|
393
|
-
}
|
|
394
|
-
function dt(t) {
|
|
395
|
-
return window.axios({
|
|
396
|
-
url: "/dcc/DocObjectsRoles/del",
|
|
397
|
-
method: "get",
|
|
398
|
-
params: t
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
function ct(t) {
|
|
402
|
-
return window.axios({
|
|
403
|
-
url: "/dcc/SysDocObjects/allDocList",
|
|
404
|
-
method: "get",
|
|
405
|
-
params: t
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
function ut(t) {
|
|
409
|
-
return window.axios({
|
|
410
|
-
url: "/dcc/DocObjectsRoles/GetByRoleId",
|
|
411
|
-
method: "get",
|
|
412
|
-
params: t
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
const v = {
|
|
1
|
+
import { j as h, k as m, l as p, m as y, n as _, o as u, p as f, q as g, r as b } from "./http.tabledevelopment.7adf4910.mjs";
|
|
2
|
+
import { m as o, n as a } from "./components.chartbi.470b96af.mjs";
|
|
3
|
+
import { g as v } from "./http.rolemanage.da5c40e9.mjs";
|
|
4
|
+
const w = {
|
|
416
5
|
data() {
|
|
417
6
|
return {
|
|
418
7
|
tableColumns: [
|
|
@@ -505,7 +94,147 @@ const v = {
|
|
|
505
94
|
};
|
|
506
95
|
}
|
|
507
96
|
};
|
|
508
|
-
const
|
|
97
|
+
const $ = {
|
|
98
|
+
name: "GdFieldSecurity",
|
|
99
|
+
props: {
|
|
100
|
+
height: {
|
|
101
|
+
type: Number,
|
|
102
|
+
default: 0
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
mixins: [w],
|
|
106
|
+
data() {
|
|
107
|
+
return {
|
|
108
|
+
transKey: "gd.btn.add",
|
|
109
|
+
formLoading: !1,
|
|
110
|
+
loading: !0,
|
|
111
|
+
selectedRowKeys: [],
|
|
112
|
+
selectedRows: [],
|
|
113
|
+
queryParam: {},
|
|
114
|
+
loadData: (s) => h(Object.assign(s, this.queryParam)).then((e) => e.data),
|
|
115
|
+
selItemData: {},
|
|
116
|
+
openManage: !1
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
computed: {
|
|
120
|
+
getFormColumns() {
|
|
121
|
+
return this.formColumns;
|
|
122
|
+
},
|
|
123
|
+
styled() {
|
|
124
|
+
return this.openManage ? "z-index:7;padding: 0px 0px 0px 0px;" : "padding: 0px 0px 0px 0px;";
|
|
125
|
+
},
|
|
126
|
+
getHeight() {
|
|
127
|
+
return this.height;
|
|
128
|
+
},
|
|
129
|
+
...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
130
|
+
},
|
|
131
|
+
components: { ListConfig: () => Promise.resolve().then(() => oe) },
|
|
132
|
+
methods: {
|
|
133
|
+
del() {
|
|
134
|
+
if (this.selectedRowKeys.length === 0) {
|
|
135
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
139
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
140
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
141
|
+
showClose: !1,
|
|
142
|
+
confirmButtonLoading: !1,
|
|
143
|
+
cancelButtonLoading: !1,
|
|
144
|
+
closeOnClickModal: !1,
|
|
145
|
+
type: "warning",
|
|
146
|
+
confirmButtonClass: "el-button--danger",
|
|
147
|
+
customClass: "custom-alert",
|
|
148
|
+
callback: () => {
|
|
149
|
+
},
|
|
150
|
+
beforeClose: (s, e, t) => {
|
|
151
|
+
this.delHand(s, e, t);
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
},
|
|
155
|
+
delHand(s, e, t) {
|
|
156
|
+
if (s !== "confirm") {
|
|
157
|
+
t();
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, m({ ids: this.selectedRowKeys.join(",") }).then((i) => {
|
|
161
|
+
t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i.success ? 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.message), this.handleOk();
|
|
162
|
+
});
|
|
163
|
+
},
|
|
164
|
+
editForm(s) {
|
|
165
|
+
this.openManage = !0, this.selItemData = s, this.$nextTick(() => {
|
|
166
|
+
setTimeout(() => {
|
|
167
|
+
this.$refs.listConfig.init(s);
|
|
168
|
+
}, 0);
|
|
169
|
+
});
|
|
170
|
+
},
|
|
171
|
+
add() {
|
|
172
|
+
this.selItemData = {}, this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
|
|
173
|
+
},
|
|
174
|
+
edit(s) {
|
|
175
|
+
if (s) {
|
|
176
|
+
this.selItemData = s, this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
if (this.selectedRowKeys.length === 0) {
|
|
180
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
if (this.selectedRowKeys.length > 1) {
|
|
184
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
this.selItemData = this.selectedRows[0], this.transKey = "gd.btn.edit", this.$refs.editForm.open(this.selectedRows[0]);
|
|
188
|
+
},
|
|
189
|
+
sbumit({ data: s, record: e, btn: t }, i, n) {
|
|
190
|
+
this.formLoading = !0, (e ? p : y)(s).then((r) => {
|
|
191
|
+
r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), Object.assign(this.selItemData, s), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.formLoading = !1;
|
|
192
|
+
});
|
|
193
|
+
},
|
|
194
|
+
handleOk() {
|
|
195
|
+
this.$refs.table.refresh(), this.openManage && this.$refs.listConfig.init(this.selItemData);
|
|
196
|
+
},
|
|
197
|
+
refresh() {
|
|
198
|
+
this.$refs.table.refresh();
|
|
199
|
+
},
|
|
200
|
+
back() {
|
|
201
|
+
this.openManage = !1;
|
|
202
|
+
},
|
|
203
|
+
onSelectChange(s, e) {
|
|
204
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
205
|
+
},
|
|
206
|
+
doEvent(s) {
|
|
207
|
+
let e = s.item.functionName;
|
|
208
|
+
this[e] && this[e]();
|
|
209
|
+
},
|
|
210
|
+
functionNameFk(s) {
|
|
211
|
+
let e = s.item.functionName;
|
|
212
|
+
this[e] && this[e](this.selItemData);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
var S = function() {
|
|
217
|
+
var e = this, t = e._self._c;
|
|
218
|
+
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", style: e.styled }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
219
|
+
return [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })];
|
|
220
|
+
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
|
|
221
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" }, on: { click: e.editForm } })];
|
|
222
|
+
} }]) })], 1), t("ListConfig", { ref: "listConfig", attrs: { height: e.height }, on: { functionName: e.functionNameFk } }), 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: !1, width: "700px" }, on: { sbumit: e.sbumit } })], 1);
|
|
223
|
+
}, C = [], R = /* @__PURE__ */ a(
|
|
224
|
+
$,
|
|
225
|
+
S,
|
|
226
|
+
C,
|
|
227
|
+
!1,
|
|
228
|
+
null,
|
|
229
|
+
"4c34b6cc",
|
|
230
|
+
null,
|
|
231
|
+
null
|
|
232
|
+
);
|
|
233
|
+
const c = R.exports;
|
|
234
|
+
c.install = function(s) {
|
|
235
|
+
s.component(c.name, c);
|
|
236
|
+
};
|
|
237
|
+
const T = {
|
|
509
238
|
props: {
|
|
510
239
|
tableButtons: {
|
|
511
240
|
type: Array,
|
|
@@ -531,25 +260,25 @@ const S = {
|
|
|
531
260
|
...o(["tableSize"])
|
|
532
261
|
},
|
|
533
262
|
methods: {
|
|
534
|
-
doEvent(
|
|
535
|
-
this.$emit("functionName",
|
|
263
|
+
doEvent(s) {
|
|
264
|
+
this.$emit("functionName", s);
|
|
536
265
|
}
|
|
537
266
|
}
|
|
538
267
|
};
|
|
539
|
-
var
|
|
540
|
-
var e = this,
|
|
541
|
-
return
|
|
542
|
-
},
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
268
|
+
var k = function() {
|
|
269
|
+
var e = this, t = e._self._c;
|
|
270
|
+
return t("div", { staticClass: "page-descriptions-item" }, [t("div", { staticClass: "descriptionst" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1), t("div", { staticClass: "descriptionsb", style: e.style }, [t("el-descriptions", { attrs: { column: 1, size: e.tableSize, border: "", direction: "vertical" } }, [t("el-descriptions-item", [t("template", { slot: "label" }, [e._v(" " + e._s(e.$i18nt("gd.fieldSecurity.name", "\u540D\u79F0")) + " ")]), e._v(" " + e._s(e.record.name) + " ")], 2), t("el-descriptions-item", [t("template", { slot: "label" }, [e._v(" " + e._s(e.$i18nt("gd.fieldSecurity.createdTime", "\u521B\u5EFA\u65F6\u95F4")) + " ")]), e._v(" " + e._s(e.record.createdtime) + " ")], 2), t("el-descriptions-item", [t("template", { slot: "label" }, [e._v(" " + e._s(e.$i18nt("gd.fieldSecurity.description", "\u8BF4\u660E")) + " ")]), e._v(" " + e._s(e.record.description ? e.record.description : "--") + " ")], 2)], 1)], 1)]);
|
|
271
|
+
}, x = [], K = /* @__PURE__ */ a(
|
|
272
|
+
T,
|
|
273
|
+
k,
|
|
274
|
+
x,
|
|
546
275
|
!1,
|
|
547
276
|
null,
|
|
548
277
|
"1fa4c435",
|
|
549
278
|
null,
|
|
550
279
|
null
|
|
551
280
|
);
|
|
552
|
-
const
|
|
281
|
+
const N = K.exports, B = {
|
|
553
282
|
data() {
|
|
554
283
|
return {
|
|
555
284
|
tableColumns: [
|
|
@@ -637,105 +366,7 @@ const R = x.exports, T = {
|
|
|
637
366
|
};
|
|
638
367
|
}
|
|
639
368
|
};
|
|
640
|
-
const
|
|
641
|
-
name: "GdDataAssign",
|
|
642
|
-
props: {
|
|
643
|
-
id: {
|
|
644
|
-
type: [String, Number],
|
|
645
|
-
default: 0
|
|
646
|
-
}
|
|
647
|
-
},
|
|
648
|
-
data() {
|
|
649
|
-
return {
|
|
650
|
-
buttons: [
|
|
651
|
-
{
|
|
652
|
-
displayName: "\u786E\u5B9A",
|
|
653
|
-
functionName: "handleSubmit",
|
|
654
|
-
show: !0,
|
|
655
|
-
transKey: "gd.btn.confirm",
|
|
656
|
-
icon: "el-icon-document-checked"
|
|
657
|
-
}
|
|
658
|
-
],
|
|
659
|
-
record: {},
|
|
660
|
-
visible: !1,
|
|
661
|
-
confirmLoading: !1,
|
|
662
|
-
fullscreen: !1,
|
|
663
|
-
width: "600px",
|
|
664
|
-
ruleFormData: {
|
|
665
|
-
ownerId: ""
|
|
666
|
-
}
|
|
667
|
-
};
|
|
668
|
-
},
|
|
669
|
-
computed: {
|
|
670
|
-
message() {
|
|
671
|
-
return `${this.$i18nt("gd.fieldSecurity.editFieldTip", "\u66F4\u6539\u9009\u5B9A\u5B57\u6BB5\u7684\u6743\u9650\u3002")}`;
|
|
672
|
-
},
|
|
673
|
-
...o(["screenHeight"])
|
|
674
|
-
},
|
|
675
|
-
methods: {
|
|
676
|
-
handleSubmit() {
|
|
677
|
-
this.confirmLoading = !0, m(
|
|
678
|
-
Object.assign(this.record, {
|
|
679
|
-
sysfieldsecurityconfigid: this.id
|
|
680
|
-
})
|
|
681
|
-
).then((t) => {
|
|
682
|
-
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;
|
|
683
|
-
});
|
|
684
|
-
},
|
|
685
|
-
open(t) {
|
|
686
|
-
this.record = Object.assign(
|
|
687
|
-
{ ...t },
|
|
688
|
-
{
|
|
689
|
-
isquery: String(t.isquery),
|
|
690
|
-
isedit: String(t.isedit),
|
|
691
|
-
isadd: String(t.isadd)
|
|
692
|
-
}
|
|
693
|
-
), this.visible = !0;
|
|
694
|
-
},
|
|
695
|
-
closed() {
|
|
696
|
-
this.fullscreen = !1, this.visible = !1;
|
|
697
|
-
},
|
|
698
|
-
toggleFullscreen() {
|
|
699
|
-
this.fullscreen = !this.fullscreen;
|
|
700
|
-
},
|
|
701
|
-
getDictionary(t) {
|
|
702
|
-
return this.$options.filters.dictData(t);
|
|
703
|
-
},
|
|
704
|
-
doEvent(t) {
|
|
705
|
-
const e = t.item.functionName;
|
|
706
|
-
this[e] && this[e]();
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
};
|
|
710
|
-
var K = function() {
|
|
711
|
-
var e = this, s = e._self._c;
|
|
712
|
-
return s("div", [s("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, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
713
|
-
e.visible = i;
|
|
714
|
-
}, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.$i18nt("gd.fieldSecurity.editField", "\u7F16\u8F91\u5B57\u6BB5\u5B89\u5168\u6027"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("el-alert", { attrs: { title: e.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), type: "warning", description: e.message, "show-icon": "", closable: !1 } }), s("div", { staticClass: "cofig" }, [s("div", { staticClass: "l" }, [s("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowReading", "\u5141\u8BB8\u8BFB\u53D6")))]), s("div", [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowReadingTip", "\u7528\u6237\u53EF\u4EE5\u67E5\u770B\u6B64\u5B57\u6BB5")))])]), s("div", { staticClass: "r" }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.record.isquery, callback: function(i) {
|
|
715
|
-
e.$set(e.record, "isquery", i);
|
|
716
|
-
}, expression: "record.isquery" } }, [e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
717
|
-
return [s("el-option", { attrs: { value: i.code, label: e.$i18nt(i.transKey, i.name) } })];
|
|
718
|
-
})], 2)], 1)]), s("el-divider"), s("div", { staticClass: "cofig" }, [s("div", { staticClass: "l" }, [s("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowUpdate", "\u5141\u8BB8\u66F4\u65B0")))]), s("div", [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowUpdateTip", "\u7528\u6237\u53EF\u4EE5\u66F4\u6539\u6B64\u5B57\u6BB5\u4E2D\u7684\u4FE1\u606F")))])]), s("div", { staticClass: "r" }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.record.isedit, callback: function(i) {
|
|
719
|
-
e.$set(e.record, "isedit", i);
|
|
720
|
-
}, expression: "record.isedit" } }, [e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
721
|
-
return [s("el-option", { attrs: { value: i.code, label: e.$i18nt(i.transKey, i.name) } })];
|
|
722
|
-
})], 2)], 1)]), s("el-divider"), s("div", { staticClass: "cofig" }, [s("div", { staticClass: "l" }, [s("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowCreate", "\u5141\u8BB8\u521B\u5EFA")))]), s("div", [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowCreateTip", "\u7528\u6237\u53EF\u4EE5\u5728\u521B\u5EFA\u8BB0\u5F55\u65F6\u5411\u6B64\u5B57\u6BB5\u4E2D\u6DFB\u52A0\u4FE1\u606F")))])]), s("div", { staticClass: "r" }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.record.isadd, callback: function(i) {
|
|
723
|
-
e.$set(e.record, "isadd", i);
|
|
724
|
-
}, expression: "record.isadd" } }, [e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
725
|
-
return [s("el-option", { attrs: { value: i.code, label: e.$i18nt(i.transKey, i.name) } })];
|
|
726
|
-
})], 2)], 1)])], 1)], 2)], 1);
|
|
727
|
-
}, N = [], B = /* @__PURE__ */ a(
|
|
728
|
-
k,
|
|
729
|
-
K,
|
|
730
|
-
N,
|
|
731
|
-
!1,
|
|
732
|
-
null,
|
|
733
|
-
"f8a4f4a0",
|
|
734
|
-
null,
|
|
735
|
-
null
|
|
736
|
-
);
|
|
737
|
-
const F = B.exports;
|
|
738
|
-
const L = {
|
|
369
|
+
const z = {
|
|
739
370
|
props: {
|
|
740
371
|
height: {
|
|
741
372
|
type: Number,
|
|
@@ -746,18 +377,18 @@ const L = {
|
|
|
746
377
|
default: () => ({})
|
|
747
378
|
}
|
|
748
379
|
},
|
|
749
|
-
mixins: [
|
|
750
|
-
components: { EditForm:
|
|
380
|
+
mixins: [B],
|
|
381
|
+
components: { EditForm: () => Promise.resolve().then(() => fe) },
|
|
751
382
|
data() {
|
|
752
383
|
return {
|
|
753
384
|
loading: !0,
|
|
754
385
|
selectedRowKeys: [],
|
|
755
386
|
selectedRows: [],
|
|
756
387
|
queryParam: {},
|
|
757
|
-
loadData: (
|
|
388
|
+
loadData: (s) => this.record.id === void 0 ? new Promise((e, t) => {
|
|
758
389
|
e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
|
|
759
|
-
}) :
|
|
760
|
-
Object.assign(
|
|
390
|
+
}) : _(
|
|
391
|
+
Object.assign(s, this.queryParam, {
|
|
761
392
|
sysFieldSecurityConfigId: this.record.id
|
|
762
393
|
})
|
|
763
394
|
).then((e) => e.data)
|
|
@@ -778,57 +409,57 @@ const L = {
|
|
|
778
409
|
}
|
|
779
410
|
this.editForm(this.selectedRows[0]);
|
|
780
411
|
},
|
|
781
|
-
editForm(
|
|
782
|
-
this.$refs.editForm.open(
|
|
412
|
+
editForm(s) {
|
|
413
|
+
this.$refs.editForm.open(s);
|
|
783
414
|
},
|
|
784
415
|
refresh() {
|
|
785
416
|
this.$refs.table.refresh();
|
|
786
417
|
},
|
|
787
|
-
onSelectChange(
|
|
788
|
-
this.selectedRowKeys =
|
|
418
|
+
onSelectChange(s, e) {
|
|
419
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
789
420
|
},
|
|
790
|
-
doEvent(
|
|
791
|
-
let e =
|
|
421
|
+
doEvent(s) {
|
|
422
|
+
let e = s.item.functionName;
|
|
792
423
|
this[e] && this[e]();
|
|
793
424
|
}
|
|
794
425
|
}
|
|
795
426
|
};
|
|
796
|
-
var
|
|
797
|
-
var e = this,
|
|
798
|
-
return
|
|
799
|
-
return [
|
|
427
|
+
var L = function() {
|
|
428
|
+
var e = this, t = e._self._c;
|
|
429
|
+
return t("div", [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
430
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "260px" } }, [t("el-select", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.fieldSecurity.table", "\u8868"), "reserve-keyword": "", filterable: "", remote: "", clearable: "" }, model: { value: e.queryParam.sysCodeGenId, callback: function(i) {
|
|
800
431
|
e.$set(e.queryParam, "sysCodeGenId", i);
|
|
801
432
|
}, expression: "queryParam.sysCodeGenId" } }, e._l(e.tableLists, function(i) {
|
|
802
|
-
return
|
|
803
|
-
}), 1),
|
|
433
|
+
return t("el-option", { key: i.id, attrs: { label: e.$i18nt(`Dynamics.${i.transKey}`, i.busname), value: i.id } }, [t("span", [e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.busname)) + " " + e._s(i.tablename))])]);
|
|
434
|
+
}), 1), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
804
435
|
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
|
|
805
|
-
return [n.syscodegenconfig ?
|
|
436
|
+
return [n.syscodegenconfig ? t("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: function(l) {
|
|
806
437
|
return e.editForm(n);
|
|
807
438
|
} } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.syscodegenconfig.transKey}`, n.syscodegenconfig.columncomment)) + " ")]) : e._e()];
|
|
808
439
|
} }, { key: "syscodegenconfigid", fn: function({ column: i, row: n }) {
|
|
809
|
-
return [n.syscodegenconfig ?
|
|
440
|
+
return [n.syscodegenconfig ? t("span", [e._v(" " + e._s(n.syscodegenconfig.columnname) + " ")]) : e._e()];
|
|
810
441
|
} }, { key: "effecttype", fn: function({ column: i, row: n }) {
|
|
811
|
-
return [n.syscodegenconfig ?
|
|
442
|
+
return [n.syscodegenconfig ? t("span", [e._v(" " + e._s(e._f("dictType")("code_gen_effect_type", n.syscodegenconfig.effecttype)) + " ")]) : e._e()];
|
|
812
443
|
} }, { key: "syscodegenid", fn: function({ column: i, row: n }) {
|
|
813
|
-
return [n.syscodegen ?
|
|
444
|
+
return [n.syscodegen ? t("span", [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.syscodegen.transkey}`, n.syscodegen.busname)) + " ")]) : e._e()];
|
|
814
445
|
} }, { key: "isquery", fn: function({ column: i, row: n }) {
|
|
815
|
-
return [n.isquery === 1 ?
|
|
446
|
+
return [n.isquery === 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" } })];
|
|
816
447
|
} }, { key: "isedit", fn: function({ column: i, row: n }) {
|
|
817
|
-
return [n.isedit === 1 ?
|
|
448
|
+
return [n.isedit === 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" } })];
|
|
818
449
|
} }, { key: "isadd", fn: function({ column: i, row: n }) {
|
|
819
|
-
return [n.isadd === 1 ?
|
|
820
|
-
} }]) }),
|
|
821
|
-
},
|
|
450
|
+
return [n.isadd === 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" } })];
|
|
451
|
+
} }]) }), t("EditForm", { ref: "editForm", attrs: { ok: "refresh", id: e.record.id }, on: { ok: e.refresh } })], 1);
|
|
452
|
+
}, F = [], I = /* @__PURE__ */ a(
|
|
453
|
+
z,
|
|
822
454
|
L,
|
|
823
|
-
|
|
824
|
-
E,
|
|
455
|
+
F,
|
|
825
456
|
!1,
|
|
826
457
|
null,
|
|
827
|
-
"
|
|
458
|
+
"180ee460",
|
|
828
459
|
null,
|
|
829
460
|
null
|
|
830
461
|
);
|
|
831
|
-
const
|
|
462
|
+
const O = I.exports, D = {
|
|
832
463
|
data() {
|
|
833
464
|
return {
|
|
834
465
|
tableColumns: [
|
|
@@ -897,120 +528,6 @@ const I = z.exports, O = {
|
|
|
897
528
|
}
|
|
898
529
|
};
|
|
899
530
|
const P = {
|
|
900
|
-
props: {
|
|
901
|
-
record: {
|
|
902
|
-
type: Object,
|
|
903
|
-
default: () => ({})
|
|
904
|
-
},
|
|
905
|
-
columns: {
|
|
906
|
-
type: Array,
|
|
907
|
-
default: () => []
|
|
908
|
-
},
|
|
909
|
-
disabledRowId: {
|
|
910
|
-
type: Array,
|
|
911
|
-
default: () => []
|
|
912
|
-
}
|
|
913
|
-
},
|
|
914
|
-
data() {
|
|
915
|
-
return {
|
|
916
|
-
buttons: [
|
|
917
|
-
{
|
|
918
|
-
displayName: "\u786E\u5B9A",
|
|
919
|
-
functionName: "handleSubmit",
|
|
920
|
-
show: !0,
|
|
921
|
-
transKey: "gd.btn.confirm",
|
|
922
|
-
icon: "el-icon-document-checked"
|
|
923
|
-
}
|
|
924
|
-
],
|
|
925
|
-
selectedRowKeys: [],
|
|
926
|
-
selectedRows: [],
|
|
927
|
-
visible: !1,
|
|
928
|
-
confirmLoading: !1,
|
|
929
|
-
fullscreen: !1,
|
|
930
|
-
width: "90%",
|
|
931
|
-
queryParam: {},
|
|
932
|
-
loadData: (t) => _(Object.assign(t, this.queryParam, { sysAppsId: window.$systemInfo.id })).then((e) => (this.changeData(e.data), e.data)),
|
|
933
|
-
dataList: []
|
|
934
|
-
};
|
|
935
|
-
},
|
|
936
|
-
computed: {
|
|
937
|
-
height() {
|
|
938
|
-
return this.screenHeight - (this.fullscreen ? 160 : 320);
|
|
939
|
-
},
|
|
940
|
-
...o(["screenHeight", "tablePageSize", "tableSize"])
|
|
941
|
-
},
|
|
942
|
-
methods: {
|
|
943
|
-
changeData(t) {
|
|
944
|
-
let e = [];
|
|
945
|
-
this.dataList.forEach((i) => {
|
|
946
|
-
e.push(i.id);
|
|
947
|
-
});
|
|
948
|
-
const s = t.rows.filter((i) => !e.includes(i.id));
|
|
949
|
-
this.dataList = this.dataList.concat(s);
|
|
950
|
-
},
|
|
951
|
-
handleSubmit(t) {
|
|
952
|
-
let e = [];
|
|
953
|
-
this.dataList.filter((i) => this.selectedRowKeys.includes(i.id)).forEach((i) => {
|
|
954
|
-
e.push({
|
|
955
|
-
sysFieldSecurityConfigId: this.record.id,
|
|
956
|
-
member_AboutId: i.id,
|
|
957
|
-
member_AboutTable: "sys_role"
|
|
958
|
-
});
|
|
959
|
-
});
|
|
960
|
-
let s = { data: this.selectedRowKeys, fkData: e };
|
|
961
|
-
e.length === 0 ? this.closed() : this.$emit("lookupSeled", s);
|
|
962
|
-
},
|
|
963
|
-
open(t) {
|
|
964
|
-
this.visible = !0, this.$nextTick(() => {
|
|
965
|
-
setTimeout(() => {
|
|
966
|
-
this.refresh();
|
|
967
|
-
}, 0);
|
|
968
|
-
});
|
|
969
|
-
},
|
|
970
|
-
closed() {
|
|
971
|
-
this.fullscreen = !1, this.visible = !1, this.onSelectChange([], []);
|
|
972
|
-
},
|
|
973
|
-
toggleFullscreen() {
|
|
974
|
-
this.fullscreen = !this.fullscreen;
|
|
975
|
-
},
|
|
976
|
-
refresh() {
|
|
977
|
-
this.$refs.table.refresh();
|
|
978
|
-
},
|
|
979
|
-
onSelectChange(t, e) {
|
|
980
|
-
this.selectedRowKeys = t, this.selectedRows = e;
|
|
981
|
-
},
|
|
982
|
-
doEvent(t) {
|
|
983
|
-
const e = t.item.functionName;
|
|
984
|
-
this[e] && this[e]();
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
};
|
|
988
|
-
var j = function() {
|
|
989
|
-
var e = this, s = e._self._c;
|
|
990
|
-
return s("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, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
991
|
-
e.visible = i;
|
|
992
|
-
}, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.$i18nt("gd.menu.advancedFind", "\u67E5\u627E"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.columns, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1, selectedKeep: !0, disabledRowId: e.disabledRowId }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
993
|
-
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
|
|
994
|
-
return [e._v(" " + e._s(n.name) + " ")];
|
|
995
|
-
} }, { key: "code", fn: function({ column: i, row: n }) {
|
|
996
|
-
return [e._v(" " + e._s(n.code) + " ")];
|
|
997
|
-
} }, { key: "sort", fn: function({ column: i, row: n }) {
|
|
998
|
-
return [e._v(" " + e._s(n.sort) + " ")];
|
|
999
|
-
} }, { key: "roleType", fn: function({ column: i, row: n }) {
|
|
1000
|
-
return [e._v(" " + e._s(e._f("dictType")("role_type", n.roleType)) + " ")];
|
|
1001
|
-
} }], null, !1, 3083467277) }) : e._e()], 1)], 2);
|
|
1002
|
-
}, q = [], V = /* @__PURE__ */ a(
|
|
1003
|
-
P,
|
|
1004
|
-
j,
|
|
1005
|
-
q,
|
|
1006
|
-
!1,
|
|
1007
|
-
null,
|
|
1008
|
-
"a2bced86",
|
|
1009
|
-
null,
|
|
1010
|
-
null
|
|
1011
|
-
);
|
|
1012
|
-
const A = V.exports;
|
|
1013
|
-
const G = {
|
|
1014
531
|
props: {
|
|
1015
532
|
height: {
|
|
1016
533
|
type: Number,
|
|
@@ -1021,7 +538,7 @@ const G = {
|
|
|
1021
538
|
default: () => ({})
|
|
1022
539
|
}
|
|
1023
540
|
},
|
|
1024
|
-
mixins: [
|
|
541
|
+
mixins: [D],
|
|
1025
542
|
data() {
|
|
1026
543
|
return {
|
|
1027
544
|
loading: !0,
|
|
@@ -1031,28 +548,28 @@ const G = {
|
|
|
1031
548
|
sysCodeGenName: "sys_role"
|
|
1032
549
|
},
|
|
1033
550
|
disabledRowId: [],
|
|
1034
|
-
loadData: (
|
|
551
|
+
loadData: (s) => this.record.id === void 0 ? new Promise((e, t) => {
|
|
1035
552
|
e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
|
|
1036
553
|
}) : u(
|
|
1037
|
-
Object.assign(
|
|
554
|
+
Object.assign(s, this.queryParam, {
|
|
1038
555
|
sysFieldSecurityConfigId: this.record.id
|
|
1039
556
|
})
|
|
1040
557
|
).then((e) => (this.getRowId(e.data), e.data))
|
|
1041
558
|
};
|
|
1042
559
|
},
|
|
1043
|
-
components: { RoleSearch:
|
|
560
|
+
components: { RoleSearch: () => Promise.resolve().then(() => _e) },
|
|
1044
561
|
computed: {
|
|
1045
562
|
...o(["tablePageSize", "tableSize", "screenHeight"])
|
|
1046
563
|
},
|
|
1047
564
|
methods: {
|
|
1048
|
-
getRowId(
|
|
565
|
+
getRowId(s) {
|
|
1049
566
|
let e = [];
|
|
1050
|
-
|
|
1051
|
-
e.push(
|
|
567
|
+
s.rows.filter((t) => !this.disabledRowId.includes(t.sysrole.id)).forEach((t) => {
|
|
568
|
+
e.push(t.sysrole.id);
|
|
1052
569
|
}), this.disabledRowId = this.disabledRowId.concat(e);
|
|
1053
570
|
},
|
|
1054
|
-
lookupSeled(
|
|
1055
|
-
this.$refs.roleSearch.confirmLoading = !0, f(
|
|
571
|
+
lookupSeled(s) {
|
|
572
|
+
this.$refs.roleSearch.confirmLoading = !0, f(s.fkData).then((e) => {
|
|
1056
573
|
e.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.roleSearch.closed(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message), this.$refs.roleSearch.confirmLoading = !1;
|
|
1057
574
|
});
|
|
1058
575
|
},
|
|
@@ -1060,7 +577,7 @@ const G = {
|
|
|
1060
577
|
this.$refs.roleSearch.open();
|
|
1061
578
|
},
|
|
1062
579
|
del() {
|
|
1063
|
-
let
|
|
580
|
+
let s = this;
|
|
1064
581
|
if (this.selectedRowKeys.length === 0) {
|
|
1065
582
|
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
1066
583
|
return;
|
|
@@ -1077,15 +594,15 @@ const G = {
|
|
|
1077
594
|
customClass: "custom-alert",
|
|
1078
595
|
callback: () => {
|
|
1079
596
|
},
|
|
1080
|
-
beforeClose: (e,
|
|
597
|
+
beforeClose: (e, t, i) => {
|
|
1081
598
|
if (e !== "confirm") {
|
|
1082
599
|
i();
|
|
1083
600
|
return;
|
|
1084
601
|
}
|
|
1085
|
-
|
|
1086
|
-
ids:
|
|
602
|
+
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, g({
|
|
603
|
+
ids: s.selectedRowKeys.join(",")
|
|
1087
604
|
}).then((n) => {
|
|
1088
|
-
n.success ? (
|
|
605
|
+
n.success ? (s.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), s.disabledRowId = s.disabledRowId.filter((l) => !s.selectedRows.filter((d) => d.sysrole.id === l)[0]), s.refresh(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, i()) : s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n.message);
|
|
1089
606
|
});
|
|
1090
607
|
}
|
|
1091
608
|
});
|
|
@@ -1093,39 +610,39 @@ const G = {
|
|
|
1093
610
|
refresh() {
|
|
1094
611
|
this.$refs.table.refresh();
|
|
1095
612
|
},
|
|
1096
|
-
onSelectChange(
|
|
1097
|
-
this.selectedRowKeys =
|
|
613
|
+
onSelectChange(s, e) {
|
|
614
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
1098
615
|
},
|
|
1099
|
-
doEvent(
|
|
1100
|
-
let e =
|
|
616
|
+
doEvent(s) {
|
|
617
|
+
let e = s.item.functionName;
|
|
1101
618
|
this[e] && this[e]();
|
|
1102
619
|
}
|
|
1103
620
|
}
|
|
1104
621
|
};
|
|
1105
|
-
var
|
|
1106
|
-
var e = this,
|
|
1107
|
-
return
|
|
1108
|
-
return [
|
|
622
|
+
var j = function() {
|
|
623
|
+
var e = this, t = e._self._c;
|
|
624
|
+
return t("div", [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
625
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
1109
626
|
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
|
|
1110
|
-
return [
|
|
627
|
+
return [t("span", [e._v(" " + e._s(n.sysrole ? n.sysrole.name : "") + " ")])];
|
|
1111
628
|
} }, { key: "code", fn: function({ column: i, row: n }) {
|
|
1112
629
|
return [e._v(" " + e._s(n.sysrole ? n.sysrole.code : "") + " ")];
|
|
1113
630
|
} }, { key: "sort", fn: function({ column: i, row: n }) {
|
|
1114
631
|
return [e._v(" " + e._s(n.sysrole ? n.sysrole.sort : "") + " ")];
|
|
1115
632
|
} }, { key: "roletype", fn: function({ column: i, row: n }) {
|
|
1116
|
-
return [n.sysrole ?
|
|
1117
|
-
} }]) }),
|
|
1118
|
-
},
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
633
|
+
return [n.sysrole ? t("span", [e._v(e._s(e._f("dictType")("role_type", n.sysrole.roletype)))]) : e._e()];
|
|
634
|
+
} }]) }), t("RoleSearch", { ref: "roleSearch", attrs: { record: e.record, columns: e.tableColumns, disabledRowId: e.disabledRowId }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
635
|
+
}, E = [], q = /* @__PURE__ */ a(
|
|
636
|
+
P,
|
|
637
|
+
j,
|
|
638
|
+
E,
|
|
1122
639
|
!1,
|
|
1123
640
|
null,
|
|
1124
|
-
"
|
|
641
|
+
"13e2325d",
|
|
1125
642
|
null,
|
|
1126
643
|
null
|
|
1127
644
|
);
|
|
1128
|
-
const
|
|
645
|
+
const M = q.exports, H = {
|
|
1129
646
|
data() {
|
|
1130
647
|
return {
|
|
1131
648
|
tableColumns: [
|
|
@@ -1183,7 +700,7 @@ const U = Q.exports, W = {
|
|
|
1183
700
|
};
|
|
1184
701
|
}
|
|
1185
702
|
};
|
|
1186
|
-
const
|
|
703
|
+
const A = {
|
|
1187
704
|
props: {
|
|
1188
705
|
height: {
|
|
1189
706
|
type: Number,
|
|
@@ -1194,7 +711,7 @@ const J = {
|
|
|
1194
711
|
default: () => ({})
|
|
1195
712
|
}
|
|
1196
713
|
},
|
|
1197
|
-
mixins: [
|
|
714
|
+
mixins: [H],
|
|
1198
715
|
data() {
|
|
1199
716
|
return {
|
|
1200
717
|
loading: !0,
|
|
@@ -1204,10 +721,10 @@ const J = {
|
|
|
1204
721
|
queryParam: {
|
|
1205
722
|
sysCodeGenName: "sys_team"
|
|
1206
723
|
},
|
|
1207
|
-
loadData: (
|
|
724
|
+
loadData: (s) => this.record.id === void 0 ? new Promise((e, t) => {
|
|
1208
725
|
e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
|
|
1209
726
|
}) : u(
|
|
1210
|
-
Object.assign(
|
|
727
|
+
Object.assign(s, this.queryParam, {
|
|
1211
728
|
sysFieldSecurityConfigId: this.record.id
|
|
1212
729
|
})
|
|
1213
730
|
).then((e) => (this.getRowId(e.data), e.data))
|
|
@@ -1217,26 +734,26 @@ const J = {
|
|
|
1217
734
|
...o(["tablePageSize", "tableSize", "screenHeight"])
|
|
1218
735
|
},
|
|
1219
736
|
methods: {
|
|
1220
|
-
getRowId(
|
|
737
|
+
getRowId(s) {
|
|
1221
738
|
let e = [];
|
|
1222
|
-
|
|
1223
|
-
e.push(
|
|
739
|
+
s.rows.filter((t) => !this.disabledRowId.includes(t.systeam.id)).forEach((t) => {
|
|
740
|
+
e.push(t.systeam.id);
|
|
1224
741
|
}), this.disabledRowId = this.disabledRowId.concat(e);
|
|
1225
742
|
},
|
|
1226
|
-
lookupSeled(
|
|
1227
|
-
if (
|
|
743
|
+
lookupSeled(s) {
|
|
744
|
+
if (s.fkData.length === 0) {
|
|
1228
745
|
this.$refs.engineSearch.closed();
|
|
1229
746
|
return;
|
|
1230
747
|
}
|
|
1231
748
|
let e = [];
|
|
1232
|
-
|
|
749
|
+
s.fkData.forEach((t) => {
|
|
1233
750
|
e.push({
|
|
1234
751
|
sysFieldSecurityConfigId: this.record.id,
|
|
1235
|
-
member_AboutId:
|
|
1236
|
-
member_AboutTable:
|
|
752
|
+
member_AboutId: t.id,
|
|
753
|
+
member_AboutTable: t.tableName
|
|
1237
754
|
});
|
|
1238
|
-
}), this.$refs.engineSearch.confirmLoading = !0, f(e).then((
|
|
1239
|
-
|
|
755
|
+
}), this.$refs.engineSearch.confirmLoading = !0, f(e).then((t) => {
|
|
756
|
+
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.engineSearch.closed(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.$refs.engineSearch.confirmLoading = !1;
|
|
1240
757
|
});
|
|
1241
758
|
},
|
|
1242
759
|
add() {
|
|
@@ -1248,7 +765,7 @@ const J = {
|
|
|
1248
765
|
});
|
|
1249
766
|
},
|
|
1250
767
|
del() {
|
|
1251
|
-
let
|
|
768
|
+
let s = this;
|
|
1252
769
|
if (this.selectedRowKeys.length === 0) {
|
|
1253
770
|
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
1254
771
|
return;
|
|
@@ -1265,15 +782,15 @@ const J = {
|
|
|
1265
782
|
customClass: "custom-alert",
|
|
1266
783
|
callback: () => {
|
|
1267
784
|
},
|
|
1268
|
-
beforeClose: (e,
|
|
785
|
+
beforeClose: (e, t, i) => {
|
|
1269
786
|
if (e !== "confirm") {
|
|
1270
787
|
i();
|
|
1271
788
|
return;
|
|
1272
789
|
}
|
|
1273
|
-
|
|
1274
|
-
ids:
|
|
790
|
+
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, g({
|
|
791
|
+
ids: s.selectedRowKeys.join(",")
|
|
1275
792
|
}).then((n) => {
|
|
1276
|
-
n.success ? (
|
|
793
|
+
n.success ? (s.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), s.disabledRowId = s.disabledRowId.filter((l) => !s.selectedRows.filter((d) => d.systeam.id === l)[0]), s.refresh(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, i()) : s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n.message);
|
|
1277
794
|
});
|
|
1278
795
|
}
|
|
1279
796
|
});
|
|
@@ -1281,37 +798,37 @@ const J = {
|
|
|
1281
798
|
refresh() {
|
|
1282
799
|
this.$refs.table.refresh();
|
|
1283
800
|
},
|
|
1284
|
-
onSelectChange(
|
|
1285
|
-
this.selectedRowKeys =
|
|
801
|
+
onSelectChange(s, e) {
|
|
802
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
1286
803
|
},
|
|
1287
|
-
doEvent(
|
|
1288
|
-
let e =
|
|
804
|
+
doEvent(s) {
|
|
805
|
+
let e = s.item.functionName;
|
|
1289
806
|
this[e] && this[e]();
|
|
1290
807
|
}
|
|
1291
808
|
}
|
|
1292
809
|
};
|
|
1293
|
-
var
|
|
1294
|
-
var e = this,
|
|
1295
|
-
return
|
|
1296
|
-
return [
|
|
810
|
+
var G = function() {
|
|
811
|
+
var e = this, t = e._self._c;
|
|
812
|
+
return t("div", [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
813
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
1297
814
|
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
|
|
1298
|
-
return [
|
|
815
|
+
return [t("span", [e._v(" " + e._s(n.systeam ? n.systeam.name : "") + " ")])];
|
|
1299
816
|
} }, { key: "teamType", fn: function({ column: i, row: n }) {
|
|
1300
|
-
return [n.systeam ?
|
|
817
|
+
return [n.systeam ? t("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.systeam.teamtype)) + " ")]) : e._e()];
|
|
1301
818
|
} }, { key: "description", fn: function({ column: i, row: n }) {
|
|
1302
819
|
return [e._v(" " + e._s(n.systeam ? n.systeam.description : "") + " ")];
|
|
1303
|
-
} }]) }),
|
|
1304
|
-
},
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
820
|
+
} }]) }), t("gd-search", { ref: "engineSearch", attrs: { appendToBody: !0, disabledRowId: e.disabledRowId }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
821
|
+
}, V = [], U = /* @__PURE__ */ a(
|
|
822
|
+
A,
|
|
823
|
+
G,
|
|
824
|
+
V,
|
|
1308
825
|
!1,
|
|
1309
826
|
null,
|
|
1310
827
|
"04a23570",
|
|
1311
828
|
null,
|
|
1312
829
|
null
|
|
1313
830
|
);
|
|
1314
|
-
const
|
|
831
|
+
const W = U.exports, J = {
|
|
1315
832
|
data() {
|
|
1316
833
|
return {
|
|
1317
834
|
tableColumns: [
|
|
@@ -1388,7 +905,7 @@ const ee = Z.exports, te = {
|
|
|
1388
905
|
};
|
|
1389
906
|
}
|
|
1390
907
|
};
|
|
1391
|
-
const
|
|
908
|
+
const Q = {
|
|
1392
909
|
props: {
|
|
1393
910
|
height: {
|
|
1394
911
|
type: Number,
|
|
@@ -1399,7 +916,7 @@ const se = {
|
|
|
1399
916
|
default: () => ({})
|
|
1400
917
|
}
|
|
1401
918
|
},
|
|
1402
|
-
mixins: [
|
|
919
|
+
mixins: [J],
|
|
1403
920
|
data() {
|
|
1404
921
|
return {
|
|
1405
922
|
loading: !0,
|
|
@@ -1409,10 +926,10 @@ const se = {
|
|
|
1409
926
|
sysCodeGenName: "sys_user"
|
|
1410
927
|
},
|
|
1411
928
|
disabledRowId: [],
|
|
1412
|
-
loadData: (
|
|
929
|
+
loadData: (s) => this.record.id === void 0 ? new Promise((e, t) => {
|
|
1413
930
|
e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
|
|
1414
931
|
}) : u(
|
|
1415
|
-
Object.assign(
|
|
932
|
+
Object.assign(s, this.queryParam, {
|
|
1416
933
|
sysFieldSecurityConfigId: this.record.id
|
|
1417
934
|
})
|
|
1418
935
|
).then((e) => (this.getRowId(e.data), e.data))
|
|
@@ -1422,26 +939,26 @@ const se = {
|
|
|
1422
939
|
...o(["tablePageSize", "tableSize", "screenHeight"])
|
|
1423
940
|
},
|
|
1424
941
|
methods: {
|
|
1425
|
-
getRowId(
|
|
942
|
+
getRowId(s) {
|
|
1426
943
|
let e = [];
|
|
1427
|
-
|
|
1428
|
-
e.push(
|
|
944
|
+
s.rows.filter((t) => !this.disabledRowId.includes(t.sysuser.id)).forEach((t) => {
|
|
945
|
+
e.push(t.sysuser.id);
|
|
1429
946
|
}), this.disabledRowId = this.disabledRowId.concat(e);
|
|
1430
947
|
},
|
|
1431
|
-
lookupSeled(
|
|
1432
|
-
if (
|
|
948
|
+
lookupSeled(s) {
|
|
949
|
+
if (s.fkData.length === 0) {
|
|
1433
950
|
this.$refs.engineSearch.closed();
|
|
1434
951
|
return;
|
|
1435
952
|
}
|
|
1436
953
|
let e = [];
|
|
1437
|
-
|
|
954
|
+
s.fkData.forEach((t) => {
|
|
1438
955
|
e.push({
|
|
1439
956
|
sysFieldSecurityConfigId: this.record.id,
|
|
1440
|
-
member_AboutId:
|
|
1441
|
-
member_AboutTable:
|
|
957
|
+
member_AboutId: t.id,
|
|
958
|
+
member_AboutTable: t.tableName
|
|
1442
959
|
});
|
|
1443
|
-
}), this.$refs.engineSearch.confirmLoading = !0, f(e).then((
|
|
1444
|
-
|
|
960
|
+
}), this.$refs.engineSearch.confirmLoading = !0, f(e).then((t) => {
|
|
961
|
+
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.engineSearch.closed(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.$refs.engineSearch.confirmLoading = !1;
|
|
1445
962
|
});
|
|
1446
963
|
},
|
|
1447
964
|
add() {
|
|
@@ -1453,7 +970,7 @@ const se = {
|
|
|
1453
970
|
});
|
|
1454
971
|
},
|
|
1455
972
|
del() {
|
|
1456
|
-
let
|
|
973
|
+
let s = this;
|
|
1457
974
|
if (this.selectedRowKeys.length === 0) {
|
|
1458
975
|
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
1459
976
|
return;
|
|
@@ -1470,15 +987,15 @@ const se = {
|
|
|
1470
987
|
customClass: "custom-alert",
|
|
1471
988
|
callback: () => {
|
|
1472
989
|
},
|
|
1473
|
-
beforeClose: (e,
|
|
990
|
+
beforeClose: (e, t, i) => {
|
|
1474
991
|
if (e !== "confirm") {
|
|
1475
992
|
i();
|
|
1476
993
|
return;
|
|
1477
994
|
}
|
|
1478
|
-
|
|
1479
|
-
ids:
|
|
995
|
+
t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, g({
|
|
996
|
+
ids: s.selectedRowKeys.join(",")
|
|
1480
997
|
}).then((n) => {
|
|
1481
|
-
n.success ? (
|
|
998
|
+
n.success ? (s.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), s.disabledRowId = s.disabledRowId.filter((l) => !s.selectedRows.filter((d) => d.sysuser.id === l)[0]), s.refresh(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, i()) : s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n.message);
|
|
1482
999
|
});
|
|
1483
1000
|
}
|
|
1484
1001
|
});
|
|
@@ -1486,49 +1003,49 @@ const se = {
|
|
|
1486
1003
|
refresh() {
|
|
1487
1004
|
this.$refs.table.refresh();
|
|
1488
1005
|
},
|
|
1489
|
-
onSelectChange(
|
|
1490
|
-
this.selectedRowKeys =
|
|
1006
|
+
onSelectChange(s, e) {
|
|
1007
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
1491
1008
|
},
|
|
1492
|
-
doEvent(
|
|
1493
|
-
let e =
|
|
1009
|
+
doEvent(s) {
|
|
1010
|
+
let e = s.item.functionName;
|
|
1494
1011
|
this[e] && this[e]();
|
|
1495
1012
|
}
|
|
1496
1013
|
}
|
|
1497
1014
|
};
|
|
1498
|
-
var
|
|
1499
|
-
var e = this,
|
|
1500
|
-
return
|
|
1501
|
-
return [
|
|
1015
|
+
var X = function() {
|
|
1016
|
+
var e = this, t = e._self._c;
|
|
1017
|
+
return t("div", [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
1018
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
1502
1019
|
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
|
|
1503
|
-
return [
|
|
1020
|
+
return [t("span", [e._v(" " + e._s(n.sysuser ? n.sysuser.name : "") + " ")])];
|
|
1504
1021
|
} }, { key: "nickname", fn: function({ column: i, row: n }) {
|
|
1505
|
-
return [
|
|
1022
|
+
return [t("span", { staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(n.sysuser ? n.sysuser.nickname : "") + " ")])];
|
|
1506
1023
|
} }, { key: "orgname", fn: function({ column: i, row: n }) {
|
|
1507
|
-
return [
|
|
1024
|
+
return [t("span", { staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(n.sysuser ? n.sysuser.orgname : "") + " ")])];
|
|
1508
1025
|
} }, { key: "sex", fn: function({ column: i, row: n }) {
|
|
1509
|
-
return [n.sysuser ?
|
|
1026
|
+
return [n.sysuser ? t("span", [e._v(" " + e._s(e._f("dictType")("gender", n.sysuser.gender)) + " ")]) : e._e()];
|
|
1510
1027
|
} }, { key: "status", fn: function({ column: i, row: n }) {
|
|
1511
|
-
return [n.sysuser ?
|
|
1512
|
-
} }]) }),
|
|
1513
|
-
},
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1028
|
+
return [n.sysuser ? t("span", [e._v(" " + e._s(e._f("dictType")("state_code", n.sysuser.statecodes)) + " ")]) : e._e()];
|
|
1029
|
+
} }]) }), t("gd-search", { ref: "engineSearch", attrs: { appendToBody: !0, disabledRowId: e.disabledRowId }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
1030
|
+
}, Y = [], Z = /* @__PURE__ */ a(
|
|
1031
|
+
Q,
|
|
1032
|
+
X,
|
|
1033
|
+
Y,
|
|
1517
1034
|
!1,
|
|
1518
1035
|
null,
|
|
1519
1036
|
"bff3a640",
|
|
1520
1037
|
null,
|
|
1521
1038
|
null
|
|
1522
1039
|
);
|
|
1523
|
-
const
|
|
1524
|
-
const
|
|
1040
|
+
const ee = Z.exports;
|
|
1041
|
+
const te = {
|
|
1525
1042
|
props: {
|
|
1526
1043
|
height: {
|
|
1527
1044
|
type: Number,
|
|
1528
1045
|
default: 0
|
|
1529
1046
|
}
|
|
1530
1047
|
},
|
|
1531
|
-
components: { FieldDescriptions:
|
|
1048
|
+
components: { FieldDescriptions: N, FieldConfig: O, RoleConfig: M, TeamConfig: W, UserConfig: ee },
|
|
1532
1049
|
data() {
|
|
1533
1050
|
return {
|
|
1534
1051
|
tableButtons: [
|
|
@@ -1563,231 +1080,262 @@ const re = {
|
|
|
1563
1080
|
}
|
|
1564
1081
|
},
|
|
1565
1082
|
methods: {
|
|
1566
|
-
tabChange(
|
|
1083
|
+
tabChange(s) {
|
|
1567
1084
|
this.$nextTick(() => {
|
|
1568
1085
|
setTimeout(() => {
|
|
1569
1086
|
this.$refs[this.activeName + "Config"].refresh();
|
|
1570
1087
|
}, 0);
|
|
1571
1088
|
});
|
|
1572
1089
|
},
|
|
1573
|
-
init(
|
|
1574
|
-
this.activeName = "field", this.record =
|
|
1090
|
+
init(s) {
|
|
1091
|
+
this.activeName = "field", this.record = s, this.$nextTick(() => {
|
|
1575
1092
|
setTimeout(() => {
|
|
1576
1093
|
this.$refs[this.activeName + "Config"].refresh();
|
|
1577
1094
|
}, 0);
|
|
1578
1095
|
});
|
|
1579
1096
|
},
|
|
1580
|
-
functionName(
|
|
1581
|
-
|
|
1097
|
+
functionName(s) {
|
|
1098
|
+
s.item.functionName === "back" && (this.activeName = ""), this.$emit("functionName", s);
|
|
1582
1099
|
}
|
|
1583
1100
|
}
|
|
1584
1101
|
};
|
|
1585
|
-
var
|
|
1586
|
-
var e = this,
|
|
1587
|
-
return
|
|
1102
|
+
var se = function() {
|
|
1103
|
+
var e = this, t = e._self._c;
|
|
1104
|
+
return t("div", { staticClass: "gd-page-view", staticStyle: { position: "absolute", top: "0", "z-index": "8", left: "0", right: "0", bottom: "0", background: "#fff" }, style: e.stylep }, [t("div", { staticStyle: { display: "flex", background: "#f5f5f5" } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-descriptions", attrs: { "element-loading-spinner": "el-icon-loading active-color" } }, [t("FieldDescriptions", { attrs: { record: e.record, tableButtons: e.tableButtons, height: e.height }, on: { functionName: e.functionName } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.formLoading, expression: "formLoading" }], staticClass: "page-view-list", attrs: { "element-loading-spinner": "el-icon-loading" } }, [t("el-tabs", { attrs: { type: "card" }, on: { "tab-click": e.tabChange }, model: { value: e.activeName, callback: function(i) {
|
|
1588
1105
|
e.activeName = i;
|
|
1589
|
-
}, expression: "activeName" } }, [
|
|
1106
|
+
}, expression: "activeName" } }, [t("el-tab-pane", { attrs: { label: e.$i18nt("gd.fieldSecurity.field", "\u5B57\u6BB5\u6743\u9650"), name: "field", lazy: !0 } }, [e.activeName === "field" ? t("FieldConfig", { ref: "fieldConfig", attrs: { height: e.getHeight, record: e.record } }) : e._e()], 1), t("el-tab-pane", { attrs: { label: e.$i18nt("gd.fieldSecurity.team", "\u56E2\u961F"), name: "team", lazy: !0 } }, [e.activeName === "team" ? t("TeamConfig", { ref: "teamConfig", attrs: { height: e.getHeight, record: e.record } }) : e._e()], 1), t("el-tab-pane", { attrs: { label: e.$i18nt("gd.fieldSecurity.user", "\u7528\u6237"), name: "user", lazy: !0 } }, [e.activeName === "user" ? t("UserConfig", { ref: "userConfig", attrs: { height: e.getHeight, record: e.record } }) : e._e()], 1), t("el-tab-pane", { attrs: { label: e.$i18nt("gd.fieldSecurity.role", "\u89D2\u8272"), name: "role", lazy: !0 } }, [e.activeName === "role" ? t("RoleConfig", { ref: "roleConfig", attrs: { height: e.getHeight, record: e.record } }) : e._e()], 1)], 1)], 1)])]);
|
|
1107
|
+
}, ie = [], ne = /* @__PURE__ */ a(
|
|
1108
|
+
te,
|
|
1109
|
+
se,
|
|
1110
|
+
ie,
|
|
1111
|
+
!1,
|
|
1112
|
+
null,
|
|
1113
|
+
"5ca5605b",
|
|
1114
|
+
null,
|
|
1115
|
+
null
|
|
1116
|
+
);
|
|
1117
|
+
const ae = ne.exports, oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1118
|
+
__proto__: null,
|
|
1119
|
+
default: ae
|
|
1120
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1121
|
+
const le = {
|
|
1122
|
+
name: "GdDataAssign",
|
|
1123
|
+
props: {
|
|
1124
|
+
id: {
|
|
1125
|
+
type: [String, Number],
|
|
1126
|
+
default: 0
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
data() {
|
|
1130
|
+
return {
|
|
1131
|
+
buttons: [
|
|
1132
|
+
{
|
|
1133
|
+
displayName: "\u786E\u5B9A",
|
|
1134
|
+
functionName: "handleSubmit",
|
|
1135
|
+
show: !0,
|
|
1136
|
+
transKey: "gd.btn.confirm",
|
|
1137
|
+
icon: "el-icon-document-checked"
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
record: {},
|
|
1141
|
+
visible: !1,
|
|
1142
|
+
confirmLoading: !1,
|
|
1143
|
+
fullscreen: !1,
|
|
1144
|
+
width: "600px",
|
|
1145
|
+
ruleFormData: {
|
|
1146
|
+
ownerId: ""
|
|
1147
|
+
}
|
|
1148
|
+
};
|
|
1149
|
+
},
|
|
1150
|
+
computed: {
|
|
1151
|
+
message() {
|
|
1152
|
+
return `${this.$i18nt("gd.fieldSecurity.editFieldTip", "\u66F4\u6539\u9009\u5B9A\u5B57\u6BB5\u7684\u6743\u9650\u3002")}`;
|
|
1153
|
+
},
|
|
1154
|
+
...o(["screenHeight"])
|
|
1155
|
+
},
|
|
1156
|
+
methods: {
|
|
1157
|
+
handleSubmit() {
|
|
1158
|
+
this.confirmLoading = !0, b(
|
|
1159
|
+
Object.assign(this.record, {
|
|
1160
|
+
sysfieldsecurityconfigid: this.id
|
|
1161
|
+
})
|
|
1162
|
+
).then((s) => {
|
|
1163
|
+
s.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") + s.message), this.confirmLoading = !1;
|
|
1164
|
+
});
|
|
1165
|
+
},
|
|
1166
|
+
open(s) {
|
|
1167
|
+
this.record = Object.assign(
|
|
1168
|
+
{ ...s },
|
|
1169
|
+
{
|
|
1170
|
+
isquery: String(s.isquery),
|
|
1171
|
+
isedit: String(s.isedit),
|
|
1172
|
+
isadd: String(s.isadd)
|
|
1173
|
+
}
|
|
1174
|
+
), this.visible = !0;
|
|
1175
|
+
},
|
|
1176
|
+
closed() {
|
|
1177
|
+
this.fullscreen = !1, this.visible = !1;
|
|
1178
|
+
},
|
|
1179
|
+
toggleFullscreen() {
|
|
1180
|
+
this.fullscreen = !this.fullscreen;
|
|
1181
|
+
},
|
|
1182
|
+
getDictionary(s) {
|
|
1183
|
+
return this.$options.filters.dictData(s);
|
|
1184
|
+
},
|
|
1185
|
+
doEvent(s) {
|
|
1186
|
+
const e = s.item.functionName;
|
|
1187
|
+
this[e] && this[e]();
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
};
|
|
1191
|
+
var re = function() {
|
|
1192
|
+
var e = this, t = e._self._c;
|
|
1193
|
+
return t("div", [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, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
1194
|
+
e.visible = i;
|
|
1195
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.fieldSecurity.editField", "\u7F16\u8F91\u5B57\u6BB5\u5B89\u5168\u6027"), 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" }] }, [t("el-alert", { attrs: { title: e.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), type: "warning", description: e.message, "show-icon": "", closable: !1 } }), t("div", { staticClass: "cofig" }, [t("div", { staticClass: "l" }, [t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowReading", "\u5141\u8BB8\u8BFB\u53D6")))]), t("div", [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowReadingTip", "\u7528\u6237\u53EF\u4EE5\u67E5\u770B\u6B64\u5B57\u6BB5")))])]), t("div", { staticClass: "r" }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.record.isquery, callback: function(i) {
|
|
1196
|
+
e.$set(e.record, "isquery", i);
|
|
1197
|
+
}, expression: "record.isquery" } }, [e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
1198
|
+
return [t("el-option", { attrs: { value: i.code, label: e.$i18nt(i.transKey, i.name) } })];
|
|
1199
|
+
})], 2)], 1)]), t("el-divider"), t("div", { staticClass: "cofig" }, [t("div", { staticClass: "l" }, [t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowUpdate", "\u5141\u8BB8\u66F4\u65B0")))]), t("div", [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowUpdateTip", "\u7528\u6237\u53EF\u4EE5\u66F4\u6539\u6B64\u5B57\u6BB5\u4E2D\u7684\u4FE1\u606F")))])]), t("div", { staticClass: "r" }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.record.isedit, callback: function(i) {
|
|
1200
|
+
e.$set(e.record, "isedit", i);
|
|
1201
|
+
}, expression: "record.isedit" } }, [e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
1202
|
+
return [t("el-option", { attrs: { value: i.code, label: e.$i18nt(i.transKey, i.name) } })];
|
|
1203
|
+
})], 2)], 1)]), t("el-divider"), t("div", { staticClass: "cofig" }, [t("div", { staticClass: "l" }, [t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowCreate", "\u5141\u8BB8\u521B\u5EFA")))]), t("div", [e._v(e._s(e.$i18nt("gd.fieldSecurity.allowCreateTip", "\u7528\u6237\u53EF\u4EE5\u5728\u521B\u5EFA\u8BB0\u5F55\u65F6\u5411\u6B64\u5B57\u6BB5\u4E2D\u6DFB\u52A0\u4FE1\u606F")))])]), t("div", { staticClass: "r" }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.record.isadd, callback: function(i) {
|
|
1204
|
+
e.$set(e.record, "isadd", i);
|
|
1205
|
+
}, expression: "record.isadd" } }, [e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
1206
|
+
return [t("el-option", { attrs: { value: i.code, label: e.$i18nt(i.transKey, i.name) } })];
|
|
1207
|
+
})], 2)], 1)])], 1)], 2)], 1);
|
|
1590
1208
|
}, de = [], ce = /* @__PURE__ */ a(
|
|
1591
|
-
re,
|
|
1592
1209
|
le,
|
|
1210
|
+
re,
|
|
1593
1211
|
de,
|
|
1594
1212
|
!1,
|
|
1595
1213
|
null,
|
|
1596
|
-
"
|
|
1214
|
+
"f8a4f4a0",
|
|
1597
1215
|
null,
|
|
1598
1216
|
null
|
|
1599
1217
|
);
|
|
1600
|
-
const ue = ce.exports
|
|
1601
|
-
|
|
1602
|
-
|
|
1218
|
+
const ue = ce.exports, fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1219
|
+
__proto__: null,
|
|
1220
|
+
default: ue
|
|
1221
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1222
|
+
const ge = {
|
|
1603
1223
|
props: {
|
|
1604
|
-
|
|
1605
|
-
type:
|
|
1606
|
-
default:
|
|
1224
|
+
record: {
|
|
1225
|
+
type: Object,
|
|
1226
|
+
default: () => ({})
|
|
1227
|
+
},
|
|
1228
|
+
columns: {
|
|
1229
|
+
type: Array,
|
|
1230
|
+
default: () => []
|
|
1231
|
+
},
|
|
1232
|
+
disabledRowId: {
|
|
1233
|
+
type: Array,
|
|
1234
|
+
default: () => []
|
|
1607
1235
|
}
|
|
1608
1236
|
},
|
|
1609
|
-
mixins: [v],
|
|
1610
1237
|
data() {
|
|
1611
1238
|
return {
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1239
|
+
buttons: [
|
|
1240
|
+
{
|
|
1241
|
+
displayName: "\u786E\u5B9A",
|
|
1242
|
+
functionName: "handleSubmit",
|
|
1243
|
+
show: !0,
|
|
1244
|
+
transKey: "gd.btn.confirm",
|
|
1245
|
+
icon: "el-icon-document-checked"
|
|
1246
|
+
}
|
|
1247
|
+
],
|
|
1615
1248
|
selectedRowKeys: [],
|
|
1616
1249
|
selectedRows: [],
|
|
1250
|
+
visible: !1,
|
|
1251
|
+
confirmLoading: !1,
|
|
1252
|
+
fullscreen: !1,
|
|
1253
|
+
width: "90%",
|
|
1617
1254
|
queryParam: {},
|
|
1618
|
-
loadData: (
|
|
1619
|
-
|
|
1620
|
-
openManage: !1
|
|
1255
|
+
loadData: (s) => v(Object.assign(s, this.queryParam, { sysAppsId: window.$systemInfo.id })).then((e) => (this.changeData(e.data), e.data)),
|
|
1256
|
+
dataList: []
|
|
1621
1257
|
};
|
|
1622
1258
|
},
|
|
1623
1259
|
computed: {
|
|
1624
|
-
|
|
1625
|
-
return this.
|
|
1626
|
-
},
|
|
1627
|
-
styled() {
|
|
1628
|
-
return this.openManage ? "z-index:7;padding: 0px 0px 0px 0px;" : "padding: 0px 0px 0px 0px;";
|
|
1629
|
-
},
|
|
1630
|
-
getHeight() {
|
|
1631
|
-
return this.height;
|
|
1260
|
+
height() {
|
|
1261
|
+
return this.screenHeight - (this.fullscreen ? 160 : 320);
|
|
1632
1262
|
},
|
|
1633
|
-
...o(["
|
|
1263
|
+
...o(["screenHeight", "tablePageSize", "tableSize"])
|
|
1634
1264
|
},
|
|
1635
|
-
components: { ListConfig: ue },
|
|
1636
1265
|
methods: {
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
}
|
|
1642
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1643
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
1644
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1645
|
-
showClose: !1,
|
|
1646
|
-
confirmButtonLoading: !1,
|
|
1647
|
-
cancelButtonLoading: !1,
|
|
1648
|
-
closeOnClickModal: !1,
|
|
1649
|
-
type: "warning",
|
|
1650
|
-
confirmButtonClass: "el-button--danger",
|
|
1651
|
-
customClass: "custom-alert",
|
|
1652
|
-
callback: () => {
|
|
1653
|
-
},
|
|
1654
|
-
beforeClose: (t, e, s) => {
|
|
1655
|
-
this.delHand(t, e, s);
|
|
1656
|
-
}
|
|
1266
|
+
changeData(s) {
|
|
1267
|
+
let e = [];
|
|
1268
|
+
this.dataList.forEach((i) => {
|
|
1269
|
+
e.push(i.id);
|
|
1657
1270
|
});
|
|
1271
|
+
const t = s.rows.filter((i) => !e.includes(i.id));
|
|
1272
|
+
this.dataList = this.dataList.concat(t);
|
|
1658
1273
|
},
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1274
|
+
handleSubmit(s) {
|
|
1275
|
+
let e = [];
|
|
1276
|
+
this.dataList.filter((i) => this.selectedRowKeys.includes(i.id)).forEach((i) => {
|
|
1277
|
+
e.push({
|
|
1278
|
+
sysFieldSecurityConfigId: this.record.id,
|
|
1279
|
+
member_AboutId: i.id,
|
|
1280
|
+
member_AboutTable: "sys_role"
|
|
1281
|
+
});
|
|
1666
1282
|
});
|
|
1283
|
+
let t = { data: this.selectedRowKeys, fkData: e };
|
|
1284
|
+
e.length === 0 ? this.closed() : this.$emit("lookupSeled", t);
|
|
1667
1285
|
},
|
|
1668
|
-
|
|
1669
|
-
this.
|
|
1286
|
+
open(s) {
|
|
1287
|
+
this.visible = !0, this.$nextTick(() => {
|
|
1670
1288
|
setTimeout(() => {
|
|
1671
|
-
this
|
|
1289
|
+
this.refresh();
|
|
1672
1290
|
}, 0);
|
|
1673
1291
|
});
|
|
1674
1292
|
},
|
|
1675
|
-
|
|
1676
|
-
this.
|
|
1677
|
-
},
|
|
1678
|
-
edit(t) {
|
|
1679
|
-
if (t) {
|
|
1680
|
-
this.selItemData = t, this.transKey = "gd.btn.edit", this.$refs.editForm.open(t);
|
|
1681
|
-
return;
|
|
1682
|
-
}
|
|
1683
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1684
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1685
|
-
return;
|
|
1686
|
-
}
|
|
1687
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1688
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
1689
|
-
return;
|
|
1690
|
-
}
|
|
1691
|
-
this.selItemData = this.selectedRows[0], this.transKey = "gd.btn.edit", this.$refs.editForm.open(this.selectedRows[0]);
|
|
1692
|
-
},
|
|
1693
|
-
sbumit({ data: t, record: e, btn: s }, i, n) {
|
|
1694
|
-
this.formLoading = !0, (e ? w : y)(t).then((l) => {
|
|
1695
|
-
l.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), Object.assign(this.selItemData, t), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + l.message), this.formLoading = !1;
|
|
1696
|
-
});
|
|
1293
|
+
closed() {
|
|
1294
|
+
this.fullscreen = !1, this.visible = !1, this.onSelectChange([], []);
|
|
1697
1295
|
},
|
|
1698
|
-
|
|
1699
|
-
this
|
|
1296
|
+
toggleFullscreen() {
|
|
1297
|
+
this.fullscreen = !this.fullscreen;
|
|
1700
1298
|
},
|
|
1701
1299
|
refresh() {
|
|
1702
1300
|
this.$refs.table.refresh();
|
|
1703
1301
|
},
|
|
1704
|
-
|
|
1705
|
-
this.
|
|
1706
|
-
},
|
|
1707
|
-
onSelectChange(t, e) {
|
|
1708
|
-
this.selectedRowKeys = t, this.selectedRows = e;
|
|
1302
|
+
onSelectChange(s, e) {
|
|
1303
|
+
this.selectedRowKeys = s, this.selectedRows = e;
|
|
1709
1304
|
},
|
|
1710
|
-
doEvent(
|
|
1711
|
-
|
|
1305
|
+
doEvent(s) {
|
|
1306
|
+
const e = s.item.functionName;
|
|
1712
1307
|
this[e] && this[e]();
|
|
1713
|
-
},
|
|
1714
|
-
functionNameFk(t) {
|
|
1715
|
-
let e = t.item.functionName;
|
|
1716
|
-
this[e] && this[e](this.selItemData);
|
|
1717
1308
|
}
|
|
1718
1309
|
}
|
|
1719
1310
|
};
|
|
1720
1311
|
var he = function() {
|
|
1721
|
-
var e = this,
|
|
1722
|
-
return
|
|
1723
|
-
|
|
1312
|
+
var e = this, t = e._self._c;
|
|
1313
|
+
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, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
1314
|
+
e.visible = i;
|
|
1315
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.menu.advancedFind", "\u67E5\u627E"), 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("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.columns, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1, selectedKeep: !0, disabledRowId: e.disabledRowId }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
1724
1316
|
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
|
|
1725
|
-
return [
|
|
1726
|
-
} }
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1317
|
+
return [e._v(" " + e._s(n.name) + " ")];
|
|
1318
|
+
} }, { key: "code", fn: function({ column: i, row: n }) {
|
|
1319
|
+
return [e._v(" " + e._s(n.code) + " ")];
|
|
1320
|
+
} }, { key: "sort", fn: function({ column: i, row: n }) {
|
|
1321
|
+
return [e._v(" " + e._s(n.sort) + " ")];
|
|
1322
|
+
} }, { key: "roleType", fn: function({ column: i, row: n }) {
|
|
1323
|
+
return [e._v(" " + e._s(e._f("dictType")("role_type", n.roleType)) + " ")];
|
|
1324
|
+
} }], null, !1, 3083467277) }) : e._e()], 1)], 2);
|
|
1325
|
+
}, me = [], pe = /* @__PURE__ */ a(
|
|
1730
1326
|
ge,
|
|
1327
|
+
he,
|
|
1328
|
+
me,
|
|
1731
1329
|
!1,
|
|
1732
1330
|
null,
|
|
1733
|
-
"
|
|
1331
|
+
"a2bced86",
|
|
1734
1332
|
null,
|
|
1735
1333
|
null
|
|
1736
1334
|
);
|
|
1737
|
-
const
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
};
|
|
1335
|
+
const ye = pe.exports, _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1336
|
+
__proto__: null,
|
|
1337
|
+
default: ye
|
|
1338
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1741
1339
|
export {
|
|
1742
|
-
|
|
1743
|
-
ke as B,
|
|
1744
|
-
$e as C,
|
|
1745
|
-
Ie as D,
|
|
1746
|
-
ze as E,
|
|
1747
|
-
Ae as F,
|
|
1748
|
-
ye as G,
|
|
1749
|
-
be as H,
|
|
1750
|
-
Fe as I,
|
|
1751
|
-
Ke as J,
|
|
1752
|
-
Ee as K,
|
|
1753
|
-
_e as L,
|
|
1754
|
-
De as M,
|
|
1755
|
-
Le as N,
|
|
1756
|
-
Se as O,
|
|
1757
|
-
Ne as P,
|
|
1758
|
-
Be as Q,
|
|
1759
|
-
Ve as R,
|
|
1760
|
-
xe as S,
|
|
1761
|
-
Te as T,
|
|
1762
|
-
Re as U,
|
|
1763
|
-
Ce as V,
|
|
1764
|
-
Oe as W,
|
|
1765
|
-
Pe as X,
|
|
1766
|
-
c as Y,
|
|
1767
|
-
Ye as a,
|
|
1768
|
-
st as b,
|
|
1769
|
-
rt as c,
|
|
1770
|
-
lt as d,
|
|
1771
|
-
ut as e,
|
|
1772
|
-
ct as f,
|
|
1773
|
-
_ as g,
|
|
1774
|
-
dt as h,
|
|
1775
|
-
at as i,
|
|
1776
|
-
nt as j,
|
|
1777
|
-
tt as k,
|
|
1778
|
-
ot as l,
|
|
1779
|
-
et as m,
|
|
1780
|
-
Ze as n,
|
|
1781
|
-
we as o,
|
|
1782
|
-
Qe as p,
|
|
1783
|
-
Ue as q,
|
|
1784
|
-
ve as r,
|
|
1785
|
-
it as s,
|
|
1786
|
-
Je as t,
|
|
1787
|
-
Xe as u,
|
|
1788
|
-
We as v,
|
|
1789
|
-
Me as w,
|
|
1790
|
-
qe as x,
|
|
1791
|
-
je as y,
|
|
1792
|
-
Ge as z
|
|
1340
|
+
c as G
|
|
1793
1341
|
};
|