gds-plus-design-vue 1.2.5 → 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 -91033
- 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.c59fc1e8.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.4e325110.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.955f770e.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.be62e9a4.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.7e418640.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.f0d2d130.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.61ff56ec.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.a817cf68.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.6feb94c3.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.1930d109.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.61d303bd.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.ed69ec93.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.bd18554e.mjs → system.notice.dc1b67cc.mjs} +1075 -1263
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.4dc360c0.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.08a15a71.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.6e858bf3.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.a1f1c194.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.eb8fd7dd.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.c84db7d5.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.d2195303.mjs → system.role.9edb5922.mjs} +601 -523
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.141dc00b.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.d73c659f.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.4a3dd57d.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.d9488c23.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.6874aa87.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.5e3e2bab.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.204911b7.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.79e15015.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 +96 -29
- package/locale/id_ID.js +80 -13
- package/locale/vi_VN.js +2015 -1948
- package/locale/zh_CN.js +100 -33
- package/package.json +106 -105
- package/lib/chartbi.b5b6fdab.js +0 -60
- package/lib/chartbi.b6818e8e.mjs +0 -27604
- package/lib/main.6713b76c.js +0 -1
- package/lib/main.a28f67df.js +0 -1
- package/lib/main.b4a303dc.js +0 -1
- package/lib/main.f3ae0933.js +0 -1
- package/lib/messages.1346558e.js +0 -9
- package/lib/system.account.64fbdaeb.mjs +0 -2552
- package/lib/system.account.7c43a95e.js +0 -216
- package/lib/system.config.93d6cb7d.js +0 -1
- package/lib/system.datasource.4bb39222.js +0 -1
- package/lib/system.dict.5a2e60fe.js +0 -1
- package/lib/system.duplicatechecking.65b77e64.js +0 -1
- package/lib/system.duplicatechecking.751664ba.mjs +0 -2142
- package/lib/system.email.2f53252e.mjs +0 -7432
- package/lib/system.email.fec5ae26.js +0 -41
- package/lib/system.fieldsecurity.920adca4.js +0 -1
- package/lib/system.file.5a9a5e0e.js +0 -1
- package/lib/system.log.b309c0e0.js +0 -1
- package/lib/system.machine.9368e508.js +0 -1
- package/lib/system.notice.ff62c06a.js +0 -1
- package/lib/system.noticereceived.9550818b.js +0 -1
- package/lib/system.onlineuser.6cf4fe24.js +0 -1
- package/lib/system.org.0c67131d.js +0 -1
- package/lib/system.permissions.af548a3b.js +0 -9
- package/lib/system.permissions.cc5ac7ac.mjs +0 -212
- package/lib/system.plugin.83d03fb2.js +0 -1
- package/lib/system.pos.eae2051e.js +0 -1
- package/lib/system.promptmanagement.04501417.js +0 -1
- package/lib/system.role.e623c50b.js +0 -1
- package/lib/system.sumberrules.a01e1805.js +0 -1
- package/lib/system.team.0cebcde7.js +0 -1
- package/lib/system.team.27a6d5d5.mjs +0 -1000
- package/lib/system.teammembers.b67f003f.js +0 -1
- package/lib/system.timers.b27fcb6d.js +0 -38
- package/lib/system.translation.d2c982ed.js +0 -1
- package/lib/system.user.0664c21c.js +0 -14
- package/lib/system.useraffiliation.6b7a1612.js +0 -1
- package/lib/system.webresource.5de18052.js +0 -1
- package/lib/system.welcome.ec7aa744.js +0 -1
|
@@ -1,214 +1,14 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import { g as w,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
function C(t) {
|
|
14
|
-
return window.axios({
|
|
15
|
-
url: "/sysNotice/add",
|
|
16
|
-
method: "post",
|
|
17
|
-
data: t
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function S(t) {
|
|
21
|
-
return window.axios({
|
|
22
|
-
url: "/sysNotice/edit",
|
|
23
|
-
method: "post",
|
|
24
|
-
data: t
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function K(t) {
|
|
28
|
-
return window.axios({
|
|
29
|
-
url: "/sysNotice/delete",
|
|
30
|
-
method: "post",
|
|
31
|
-
data: t
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function y(t) {
|
|
35
|
-
return window.axios({
|
|
36
|
-
url: "/sysNotice/detail",
|
|
37
|
-
method: "get",
|
|
38
|
-
params: t
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function m(t) {
|
|
42
|
-
return window.axios({
|
|
43
|
-
url: "/sysNotice/changeStatus",
|
|
44
|
-
method: "post",
|
|
45
|
-
data: t
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function L(t) {
|
|
49
|
-
return window.axios({
|
|
50
|
-
url: "/sysNotice/receiversByTypes",
|
|
51
|
-
method: "get",
|
|
52
|
-
params: t
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function _e(t) {
|
|
56
|
-
return window.axios({
|
|
57
|
-
url: "/sysMessage/userMessagesGrouped",
|
|
58
|
-
method: "get",
|
|
59
|
-
params: t
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function ve(t) {
|
|
63
|
-
return window.axios({
|
|
64
|
-
url: "/sysMessage/markAllAsRead",
|
|
65
|
-
method: "post",
|
|
66
|
-
data: t
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function Te(t) {
|
|
70
|
-
return window.axios({
|
|
71
|
-
url: "/sysMessage/markAsRead",
|
|
72
|
-
method: "post",
|
|
73
|
-
data: t
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function $e(t, e) {
|
|
77
|
-
return window.axios({
|
|
78
|
-
url: e || "/sysEvents/month",
|
|
79
|
-
method: "get",
|
|
80
|
-
params: t
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
const x = {
|
|
84
|
-
name: "GdNoticeDetails",
|
|
85
|
-
props: {
|
|
86
|
-
modeType: {
|
|
87
|
-
type: String,
|
|
88
|
-
default: "dialog"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
data() {
|
|
92
|
-
return {
|
|
93
|
-
transKey: "gd.notice.detail",
|
|
94
|
-
fullscreen: !1,
|
|
95
|
-
visible: !1,
|
|
96
|
-
width: "900",
|
|
97
|
-
confirmLoading: !1,
|
|
98
|
-
contentRecord: {},
|
|
99
|
-
sysViewButtons: [],
|
|
100
|
-
type: "pdf"
|
|
101
|
-
};
|
|
102
|
-
},
|
|
103
|
-
computed: {
|
|
104
|
-
height() {
|
|
105
|
-
return this.screenHeight - 24 - 40 - 36;
|
|
106
|
-
},
|
|
107
|
-
headTitle() {
|
|
108
|
-
return this.$i18nt(this.transKey, this.title);
|
|
109
|
-
},
|
|
110
|
-
style() {
|
|
111
|
-
return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
|
|
112
|
-
},
|
|
113
|
-
...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
114
|
-
},
|
|
115
|
-
methods: {
|
|
116
|
-
open(t) {
|
|
117
|
-
this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(t.id);
|
|
118
|
-
},
|
|
119
|
-
sysNoticeDetail(t) {
|
|
120
|
-
this.fullscreen = !1, y({
|
|
121
|
-
id: t
|
|
122
|
-
}).then((e) => {
|
|
123
|
-
e.code === 200 ? (this.contentRecord = e.data, this.$emit("onLoadCompleted"), e.data.attachment && this.$nextTick(() => {
|
|
124
|
-
setTimeout(() => {
|
|
125
|
-
let s = { name: `${e.data.title}.${this.type}`, fileId: e.data.attachment, fullscreen: !1 };
|
|
126
|
-
this.$refs.filePreview.open(s);
|
|
127
|
-
}, 0);
|
|
128
|
-
})) : this.$message.error(e.message), this.confirmLoading = !1;
|
|
129
|
-
});
|
|
130
|
-
},
|
|
131
|
-
handleCancel() {
|
|
132
|
-
this.visible = !1, this.contentRecord = {};
|
|
133
|
-
},
|
|
134
|
-
closed() {
|
|
135
|
-
this.visible = !1;
|
|
136
|
-
},
|
|
137
|
-
toggleFullscreen() {
|
|
138
|
-
this.fullscreen = !this.fullscreen;
|
|
139
|
-
},
|
|
140
|
-
doEvent(t) {
|
|
141
|
-
const e = t.item.functionName;
|
|
142
|
-
this[e] && this[e]();
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
var P = function() {
|
|
147
|
-
var e = this, s = e._self._c;
|
|
148
|
-
return s("div", [e.modeType === "dialog" ? s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { formMode: e.formMode, 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", transKey: e.transKey, labelPosition: e.labelPosition, "show-close": !1 }, on: { "update:visible": function(i) {
|
|
149
|
-
e.visible = i;
|
|
150
|
-
}, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.headTitle, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1) : s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1);
|
|
151
|
-
}, k = [], N = /* @__PURE__ */ l(
|
|
152
|
-
x,
|
|
153
|
-
P,
|
|
154
|
-
k,
|
|
155
|
-
!1,
|
|
156
|
-
null,
|
|
157
|
-
"5cb794ba",
|
|
158
|
-
null,
|
|
159
|
-
null
|
|
160
|
-
);
|
|
161
|
-
const h = N.exports;
|
|
162
|
-
function Re(t) {
|
|
163
|
-
return window.axios({
|
|
164
|
-
url: "/sysOrg/tree",
|
|
165
|
-
method: "get",
|
|
166
|
-
params: t
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
function F(t) {
|
|
170
|
-
return window.axios({
|
|
171
|
-
url: "/sysOrg/page",
|
|
172
|
-
method: "get",
|
|
173
|
-
params: t
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
function Ce(t) {
|
|
177
|
-
return window.axios({
|
|
178
|
-
url: "/sysOrg/add",
|
|
179
|
-
method: "post",
|
|
180
|
-
data: t
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
function Se(t) {
|
|
184
|
-
return window.axios({
|
|
185
|
-
url: "/sysOrg/edit",
|
|
186
|
-
method: "post",
|
|
187
|
-
data: t
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
function Ke(t) {
|
|
191
|
-
return window.axios({
|
|
192
|
-
url: "/sysOrg/delete",
|
|
193
|
-
method: "post",
|
|
194
|
-
data: t
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
function Le(t) {
|
|
198
|
-
return window.axios({
|
|
199
|
-
url: "/SysRoleDataControl/detail",
|
|
200
|
-
method: "get",
|
|
201
|
-
params: t
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
|
-
function xe(t) {
|
|
205
|
-
return window.axios({
|
|
206
|
-
url: "/SysRoleDataControl/save",
|
|
207
|
-
method: "post",
|
|
208
|
-
data: t
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
const D = {
|
|
1
|
+
import { m as o, n as l } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { b as g, c as b, d as w, e as m, f as _, g as y, h as v } from "./http.noticemanage.2cdb23b8.mjs";
|
|
3
|
+
import { e as $, f as T } from "./http.usermanage.f5491144.mjs";
|
|
4
|
+
import { t as u } from "./utils.mixins.js.be01e599.mjs";
|
|
5
|
+
import { s as R, a as S, g as C } from "./http.filemanage.c0de21d6.mjs";
|
|
6
|
+
import "./components.form.a7b3ea37.mjs";
|
|
7
|
+
import { g as K } from "./http.orgmanage.0b1df8d5.mjs";
|
|
8
|
+
import { g as L } from "./http.rolemanage.da5c40e9.mjs";
|
|
9
|
+
import { s as P } from "./http.sysapps.932ba43b.mjs";
|
|
10
|
+
import { t as k } from "./http.tabledevelopment.7adf4910.mjs";
|
|
11
|
+
const F = {
|
|
212
12
|
data() {
|
|
213
13
|
return {
|
|
214
14
|
tableColumns: [
|
|
@@ -442,588 +242,693 @@ const D = {
|
|
|
442
242
|
}]
|
|
443
243
|
};
|
|
444
244
|
}
|
|
445
|
-
}, O = {
|
|
446
|
-
data() {
|
|
447
|
-
return {
|
|
448
|
-
tableColumns: [
|
|
449
|
-
{
|
|
450
|
-
type: "selection",
|
|
451
|
-
width: "60",
|
|
452
|
-
fixed: !0
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
transKey: "gd.org.displayName",
|
|
456
|
-
prop: "name",
|
|
457
|
-
label: "\u673A\u6784\u540D\u79F0",
|
|
458
|
-
minWidth: "260",
|
|
459
|
-
type: "slot",
|
|
460
|
-
slotType: "name",
|
|
461
|
-
align: "left",
|
|
462
|
-
fixed: !0,
|
|
463
|
-
renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
|
|
464
|
-
effectType: "input"
|
|
465
|
-
}),
|
|
466
|
-
showOverflowTooltip: !0
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
transKey: "gd.org.type",
|
|
470
|
-
prop: "orgType",
|
|
471
|
-
label: "\u673A\u6784\u7C7B\u578B",
|
|
472
|
-
minWidth: "220",
|
|
473
|
-
type: "slot",
|
|
474
|
-
slotType: "orgType",
|
|
475
|
-
align: "left",
|
|
476
|
-
showOverflowTooltip: !0
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
transKey: "gd.org.code",
|
|
480
|
-
prop: "code",
|
|
481
|
-
width: "200",
|
|
482
|
-
label: "\u552F\u4E00\u7F16\u7801",
|
|
483
|
-
align: "left",
|
|
484
|
-
showOverflowTooltip: !0
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
transKey: "gd.org.sort",
|
|
488
|
-
prop: "sort",
|
|
489
|
-
width: "120",
|
|
490
|
-
label: "\u6392\u5E8F",
|
|
491
|
-
align: "left"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
transKey: "gd.org.remark",
|
|
495
|
-
prop: "remark",
|
|
496
|
-
minWidth: "300",
|
|
497
|
-
type: "slot",
|
|
498
|
-
slotType: "remark",
|
|
499
|
-
label: "\u5907\u6CE8",
|
|
500
|
-
align: "left"
|
|
501
|
-
}
|
|
502
|
-
],
|
|
503
|
-
tableQueries: [{
|
|
504
|
-
transKey: "gd.process.tableSor",
|
|
505
|
-
prop: "tableId",
|
|
506
|
-
label: "\u8868\u540D\u79F0",
|
|
507
|
-
effectType: "selectTable",
|
|
508
|
-
rules: []
|
|
509
|
-
}, {
|
|
510
|
-
transKey: "gd.flow.state",
|
|
511
|
-
prop: "stateCodes",
|
|
512
|
-
label: "\u72B6\u6001",
|
|
513
|
-
effectType: "select",
|
|
514
|
-
dictTypeCode: "state_code",
|
|
515
|
-
rules: []
|
|
516
|
-
}]
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
245
|
};
|
|
520
|
-
const
|
|
246
|
+
const N = {
|
|
247
|
+
name: "GdNotice",
|
|
521
248
|
props: {
|
|
522
249
|
height: {
|
|
523
250
|
type: Number,
|
|
524
|
-
default:
|
|
525
|
-
},
|
|
526
|
-
selectOrgRow: {
|
|
527
|
-
type: Array,
|
|
528
|
-
default: () => []
|
|
251
|
+
default: 100
|
|
529
252
|
}
|
|
530
253
|
},
|
|
531
|
-
mixins: [u,
|
|
254
|
+
mixins: [u, F],
|
|
532
255
|
data() {
|
|
533
256
|
return {
|
|
534
|
-
|
|
257
|
+
transKey: "gd.btn.add",
|
|
258
|
+
loadData: (t) => g(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
|
|
259
|
+
allData: [],
|
|
535
260
|
selectedRowKeys: [],
|
|
261
|
+
selectedRows: [],
|
|
536
262
|
queryParam: {},
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
263
|
+
formLoading: !1,
|
|
264
|
+
mockData: [],
|
|
265
|
+
targetKeys: [],
|
|
266
|
+
noticeUserIdList: [],
|
|
267
|
+
status: 0,
|
|
268
|
+
type: "noticeUser",
|
|
269
|
+
confirmLoading: !1,
|
|
270
|
+
fileType: "pdf",
|
|
271
|
+
style: "width: 100%; height: 580px;",
|
|
272
|
+
headers: {
|
|
273
|
+
"Content-Type": "multipart/form-data"
|
|
274
|
+
},
|
|
275
|
+
fileListFile: [],
|
|
276
|
+
imgList: [],
|
|
277
|
+
currentImg: "",
|
|
278
|
+
ruleFormData: {
|
|
279
|
+
fileList: "",
|
|
280
|
+
name: "",
|
|
281
|
+
notifyingPerson: [],
|
|
282
|
+
fileid: ""
|
|
283
|
+
},
|
|
284
|
+
record: {},
|
|
285
|
+
allEmpty: !0,
|
|
286
|
+
noticeType: "",
|
|
287
|
+
fileAccept: ["application/pdf"]
|
|
542
288
|
};
|
|
543
289
|
},
|
|
290
|
+
components: {
|
|
291
|
+
detailForm: () => Promise.resolve().then(() => I),
|
|
292
|
+
editNoticeForm: () => Promise.resolve().then(() => me)
|
|
293
|
+
},
|
|
544
294
|
computed: {
|
|
545
295
|
getHeight() {
|
|
546
|
-
return this.
|
|
296
|
+
return this.height;
|
|
547
297
|
},
|
|
548
|
-
|
|
549
|
-
return this
|
|
298
|
+
getFormColumns() {
|
|
299
|
+
return this.formColumns.filter((e) => !(e.prop === "notifyingPerson" && this.transKey === "gd.btn.add" || (this.noticeType == 3 && e.prop === "content" ? e.rules = [] : this.noticeType != 3 && e.prop === "content" && (e.rules = [
|
|
300
|
+
{
|
|
301
|
+
required: !0,
|
|
302
|
+
message: "\u8BF7\u8F93\u5165",
|
|
303
|
+
transKey: "gd.placeholder.input",
|
|
304
|
+
trigger: "change"
|
|
305
|
+
}
|
|
306
|
+
]), (this.noticeType == 1 || this.noticeType == 2) && e.prop === "fileList")));
|
|
307
|
+
},
|
|
308
|
+
getButtons() {
|
|
309
|
+
return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
|
|
550
310
|
},
|
|
551
|
-
...
|
|
311
|
+
...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
312
|
+
},
|
|
313
|
+
mounted() {
|
|
314
|
+
(this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
|
|
315
|
+
this.allData.forEach((t) => {
|
|
316
|
+
(t.id == this.$route.params.id || t.id == this.$route.query.id) && this.$refs.detailForm.open(t);
|
|
317
|
+
});
|
|
318
|
+
}, 1e3));
|
|
552
319
|
},
|
|
553
|
-
components: {},
|
|
554
320
|
methods: {
|
|
555
321
|
onSelectChange(t, e) {
|
|
556
|
-
this.selectedRowKeys = t, this.selectedRows = e,
|
|
322
|
+
if (this.selectedRowKeys = t, this.selectedRows = e, e.length == 0) {
|
|
323
|
+
this.baseHideBtns([], 2);
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
if (e.length > 1) {
|
|
327
|
+
this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
let s = [], i = e.filter((r) => r.status == 0), n = e.filter((r) => r.status == 1), a = e.filter((r) => r.status == 2);
|
|
331
|
+
i.length == e.length ? s = ["\u64A4\u56DE"] : n.length == e.length ? s = ["\u5220\u9664", "\u53D1\u5E03", "\u7F16\u8F91"] : a.length == e.length && (s = ["\u64A4\u56DE", "\u53D1\u5E03", "\u7F16\u8F91"]), this.baseHideBtns(s, 2);
|
|
557
332
|
},
|
|
558
|
-
|
|
559
|
-
this
|
|
333
|
+
baseHideBtns(t, e = 1) {
|
|
334
|
+
let s = [...this.tableButtons];
|
|
335
|
+
s.map((i) => (e === 1 ? i.show = !t.includes(i.id) : i.show = !t.includes(i.displayName), i)), this.tableButtons = [...s];
|
|
560
336
|
},
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
337
|
+
add() {
|
|
338
|
+
this.transKey = "gd.btn.add", this.fileListFile = [], this.ruleFormData = {
|
|
339
|
+
fileList: "",
|
|
340
|
+
name: "",
|
|
341
|
+
notifyingPerson: [],
|
|
342
|
+
fileid: ""
|
|
343
|
+
}, this.$refs.editForm.open(null);
|
|
564
344
|
},
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
this[e] && this[e]();
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
};
|
|
571
|
-
var z = function() {
|
|
572
|
-
var e = this, s = e._self._c;
|
|
573
|
-
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
|
|
574
|
-
return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
|
|
575
|
-
} }, { key: "orgType", fn: function(i) {
|
|
576
|
-
return [s("el-tag", { style: e._f("dictColor")("org_type", i.row.orgtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("org_type", i.row.orgtype)) + " ")])];
|
|
577
|
-
} }, { key: "remark", fn: function({ column: i, row: n }) {
|
|
578
|
-
return [s("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
|
|
579
|
-
} }]) })], 1)]);
|
|
580
|
-
}, H = [], A = /* @__PURE__ */ l(
|
|
581
|
-
B,
|
|
582
|
-
z,
|
|
583
|
-
H,
|
|
584
|
-
!1,
|
|
585
|
-
null,
|
|
586
|
-
"b1509975",
|
|
587
|
-
null,
|
|
588
|
-
null
|
|
589
|
-
);
|
|
590
|
-
const E = A.exports;
|
|
591
|
-
function q(t) {
|
|
592
|
-
return window.axios({
|
|
593
|
-
url: "/sysApps/page",
|
|
594
|
-
method: "get",
|
|
595
|
-
params: t
|
|
596
|
-
});
|
|
597
|
-
}
|
|
598
|
-
function Pe(t) {
|
|
599
|
-
return window.axios({
|
|
600
|
-
url: "/sysApps/detail",
|
|
601
|
-
method: "get",
|
|
602
|
-
params: t
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
function ke(t) {
|
|
606
|
-
return window.axios({
|
|
607
|
-
url: "/sysApps/add",
|
|
608
|
-
method: "post",
|
|
609
|
-
data: t
|
|
610
|
-
});
|
|
611
|
-
}
|
|
612
|
-
function Ne(t) {
|
|
613
|
-
return window.axios({
|
|
614
|
-
url: "/sysApps/edit",
|
|
615
|
-
method: "post",
|
|
616
|
-
data: t
|
|
617
|
-
});
|
|
618
|
-
}
|
|
619
|
-
function Fe(t) {
|
|
620
|
-
return window.axios({
|
|
621
|
-
url: "/sysApps/delete",
|
|
622
|
-
method: "post",
|
|
623
|
-
data: t
|
|
624
|
-
});
|
|
625
|
-
}
|
|
626
|
-
function De(t) {
|
|
627
|
-
return window.axios({
|
|
628
|
-
url: "/SysPublishhistory/add",
|
|
629
|
-
method: "post",
|
|
630
|
-
data: t
|
|
631
|
-
});
|
|
632
|
-
}
|
|
633
|
-
function Oe(t) {
|
|
634
|
-
return window.axios({
|
|
635
|
-
url: "/SysPublishhistory/list",
|
|
636
|
-
method: "post",
|
|
637
|
-
data: t
|
|
638
|
-
});
|
|
639
|
-
}
|
|
640
|
-
const M = {
|
|
641
|
-
data() {
|
|
642
|
-
return {
|
|
643
|
-
tableColumns: [
|
|
644
|
-
{
|
|
645
|
-
type: "selection",
|
|
646
|
-
width: "60",
|
|
647
|
-
fixed: !0
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
transKey: "gd.user.roleName",
|
|
651
|
-
prop: "name",
|
|
652
|
-
label: "\u89D2\u8272\u540D\u79F0",
|
|
653
|
-
type: "slot",
|
|
654
|
-
slotType: "name",
|
|
655
|
-
align: "left",
|
|
656
|
-
fixed: !0,
|
|
657
|
-
showOverflowTooltip: !0
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
transKey: "gd.org.code",
|
|
661
|
-
prop: "code",
|
|
662
|
-
label: "\u552F\u4E00\u7F16\u7801",
|
|
663
|
-
align: "left",
|
|
664
|
-
showOverflowTooltip: !0
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
transKey: "gd.org.sort",
|
|
668
|
-
prop: "sort",
|
|
669
|
-
width: "200",
|
|
670
|
-
label: "\u6392\u5E8F",
|
|
671
|
-
align: "left"
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
transKey: "gd.org.remark",
|
|
675
|
-
prop: "remark",
|
|
676
|
-
label: "\u5907\u6CE8",
|
|
677
|
-
align: "left",
|
|
678
|
-
showOverflowTooltip: !0
|
|
679
|
-
}
|
|
680
|
-
],
|
|
681
|
-
tableQueries: [{
|
|
682
|
-
transKey: "gd.process.tableSor",
|
|
683
|
-
prop: "tableId",
|
|
684
|
-
label: "\u8868\u540D\u79F0",
|
|
685
|
-
effectType: "selectTable",
|
|
686
|
-
rules: []
|
|
687
|
-
}, {
|
|
688
|
-
transKey: "gd.flow.state",
|
|
689
|
-
prop: "stateCodes",
|
|
690
|
-
label: "\u72B6\u6001",
|
|
691
|
-
effectType: "select",
|
|
692
|
-
dictTypeCode: "state_code",
|
|
693
|
-
rules: []
|
|
694
|
-
}]
|
|
695
|
-
};
|
|
696
|
-
}
|
|
697
|
-
};
|
|
698
|
-
const I = {
|
|
699
|
-
props: {
|
|
700
|
-
height: {
|
|
701
|
-
type: Number,
|
|
702
|
-
default: 0
|
|
345
|
+
noticePerson(t) {
|
|
346
|
+
this.$refs.editNoticeFormRef.init(t.id, "2");
|
|
703
347
|
},
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
selectedRowKeys
|
|
714
|
-
queryParam: { sysAppsId: "" },
|
|
715
|
-
loadData: (t) => $(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
|
|
716
|
-
let s = [...this.selectRoleRow];
|
|
717
|
-
this.selectedRowKeys = [...s], this.onSelectChange(s, []);
|
|
718
|
-
}, 10), e.data)),
|
|
719
|
-
detail: {}
|
|
720
|
-
};
|
|
721
|
-
},
|
|
722
|
-
computed: {
|
|
723
|
-
getHeight() {
|
|
724
|
-
return this.screenHeight - 500;
|
|
348
|
+
notifyingPerson() {
|
|
349
|
+
if (this.selectedRowKeys.length === 0) {
|
|
350
|
+
this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
|
|
351
|
+
return;
|
|
352
|
+
}
|
|
353
|
+
if (this.selectedRowKeys.length > 1) {
|
|
354
|
+
this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
this.$refs.editNoticeFormRef.init(this.selectedRowKeys, "1");
|
|
725
358
|
},
|
|
726
|
-
|
|
727
|
-
|
|
359
|
+
edit() {
|
|
360
|
+
if (this.selectedRowKeys.length === 0) {
|
|
361
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
if (this.selectedRowKeys.length > 1) {
|
|
365
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
this.sysNoticeDetail(this.selectedRows[0].id), this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
369
|
+
Object.assign(
|
|
370
|
+
{
|
|
371
|
+
...this.selectedRows[0]
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
type: String(this.selectedRows[0].type),
|
|
375
|
+
content: this.selectedRows[0].content,
|
|
376
|
+
fileid: this.selectedRows[0].attachment
|
|
377
|
+
}
|
|
378
|
+
)
|
|
379
|
+
);
|
|
728
380
|
},
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
components: {},
|
|
732
|
-
methods: {
|
|
733
|
-
getSysAppsPage() {
|
|
734
|
-
q().then((t) => {
|
|
735
|
-
t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
|
|
736
|
-
});
|
|
381
|
+
editForm(t) {
|
|
382
|
+
this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
|
|
737
383
|
},
|
|
738
|
-
|
|
739
|
-
this.
|
|
384
|
+
handleOk(t) {
|
|
385
|
+
this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
|
|
740
386
|
},
|
|
741
|
-
|
|
742
|
-
this
|
|
387
|
+
sbumit({ data: t, record: e, btn: s }, i, n) {
|
|
388
|
+
if (this.status = s.item.functionName == "releaseTip" ? 1 : 0, e != null) {
|
|
389
|
+
let a = {
|
|
390
|
+
id: t.id,
|
|
391
|
+
content: t.content,
|
|
392
|
+
status: this.status,
|
|
393
|
+
title: t.title,
|
|
394
|
+
type: t.type,
|
|
395
|
+
receivergroups: this.ruleFormData.notifyingPerson,
|
|
396
|
+
attachment: this.ruleFormData.fileid
|
|
397
|
+
};
|
|
398
|
+
this.formLoading = !0, b(Object.assign(this.noticeDetail, a)).then((r) => {
|
|
399
|
+
r.success ? (this.status == 1 && n(), this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + r.message), this.formLoading = !1, this.refresh();
|
|
400
|
+
});
|
|
401
|
+
} else {
|
|
402
|
+
let a = {
|
|
403
|
+
content: t.content,
|
|
404
|
+
status: this.status,
|
|
405
|
+
title: t.title,
|
|
406
|
+
type: t.type,
|
|
407
|
+
receiverGroups: this.ruleFormData.notifyingPerson,
|
|
408
|
+
attachment: this.ruleFormData.fileid
|
|
409
|
+
};
|
|
410
|
+
this.formLoading = !0, w(a).then((r) => {
|
|
411
|
+
r.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
|
|
412
|
+
this.$nextTick(() => {
|
|
413
|
+
g({ pageNo: 1, pageSize: 50 }).then((c) => {
|
|
414
|
+
this.allData = c.data.rows;
|
|
415
|
+
const d = this.allData.filter((p) => p.title == t.title && p.content == t.content);
|
|
416
|
+
d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
|
|
417
|
+
Object.assign(
|
|
418
|
+
{
|
|
419
|
+
...d[0]
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
type: String(d[0].type),
|
|
423
|
+
content: d[0].content,
|
|
424
|
+
fileid: d[0].attachment
|
|
425
|
+
}
|
|
426
|
+
)
|
|
427
|
+
)), this.formLoading = !1;
|
|
428
|
+
});
|
|
429
|
+
});
|
|
430
|
+
}, 10), this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F"))) : (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + r.message), this.refresh(), this.formLoading = !1);
|
|
431
|
+
});
|
|
432
|
+
}
|
|
743
433
|
},
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
return s != null && s.colour ? s.colour : null;
|
|
434
|
+
saveQueries(t) {
|
|
435
|
+
this.queryParam = t, this.refresh();
|
|
747
436
|
},
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
fixed: !0
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
transKey: "gd.fieldSecurity.name",
|
|
783
|
-
prop: "name",
|
|
784
|
-
label: "\u540D\u79F0",
|
|
785
|
-
type: "slot",
|
|
786
|
-
slotType: "name",
|
|
787
|
-
align: "left",
|
|
788
|
-
showOverflowTooltip: !0
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
transKey: "gd.fieldSecurity.teamType",
|
|
792
|
-
prop: "teamType",
|
|
793
|
-
label: "\u56E2\u961F\u7C7B\u578B",
|
|
794
|
-
align: "left",
|
|
795
|
-
type: "slot",
|
|
796
|
-
slotType: "teamType",
|
|
797
|
-
showOverflowTooltip: !0
|
|
437
|
+
read() {
|
|
438
|
+
if (this.selectedRowKeys.length === 0) {
|
|
439
|
+
this.$message.warning(this.$i18nt("gd.https.readTip", "\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
442
|
+
if (this.selectedRowKeys.length > 1) {
|
|
443
|
+
this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
this.$refs.detailForm.open(this.selectedRows[0]);
|
|
447
|
+
},
|
|
448
|
+
rollback() {
|
|
449
|
+
if (this.selectedRowKeys.length === 0) {
|
|
450
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
if (this.selectedRowKeys.length > 1) {
|
|
454
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
this.$confirm(this.$i18nt("gd.https.withdrawContent", "\u786E\u8BA4\u64A4\u56DE?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
458
|
+
confirmButtonText: this.$i18nt("gd.https.withdrawOk", "\u7ACB\u5373\u64A4\u56DE!"),
|
|
459
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
460
|
+
showClose: !1,
|
|
461
|
+
confirmButtonLoading: !1,
|
|
462
|
+
cancelButtonLoading: !1,
|
|
463
|
+
closeOnClickModal: !1,
|
|
464
|
+
type: "warning",
|
|
465
|
+
confirmButtonClass: "el-button--danger",
|
|
466
|
+
customClass: "custom-alert",
|
|
467
|
+
callback: () => {
|
|
798
468
|
},
|
|
799
|
-
{
|
|
800
|
-
|
|
801
|
-
prop: "description",
|
|
802
|
-
label: "\u8BF4\u660E",
|
|
803
|
-
type: "slot",
|
|
804
|
-
slotType: "description",
|
|
805
|
-
align: "left"
|
|
469
|
+
beforeClose: (t, e, s) => {
|
|
470
|
+
this.rollbackHand(t, e, s);
|
|
806
471
|
}
|
|
807
|
-
|
|
808
|
-
tableQueries: [{
|
|
809
|
-
transKey: "gd.process.tableSor",
|
|
810
|
-
prop: "tableId",
|
|
811
|
-
label: "\u8868\u540D\u79F0",
|
|
812
|
-
effectType: "selectTable",
|
|
813
|
-
rules: []
|
|
814
|
-
}, {
|
|
815
|
-
transKey: "gd.flow.state",
|
|
816
|
-
prop: "stateCodes",
|
|
817
|
-
label: "\u72B6\u6001",
|
|
818
|
-
effectType: "select",
|
|
819
|
-
dictTypeCode: "state_code",
|
|
820
|
-
rules: []
|
|
821
|
-
}]
|
|
822
|
-
};
|
|
823
|
-
}
|
|
824
|
-
};
|
|
825
|
-
const J = {
|
|
826
|
-
props: {
|
|
827
|
-
height: {
|
|
828
|
-
type: Number,
|
|
829
|
-
default: 0
|
|
472
|
+
});
|
|
830
473
|
},
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
},
|
|
849
|
-
computed: {
|
|
850
|
-
getHeight() {
|
|
851
|
-
return this.screenHeight - 500;
|
|
474
|
+
rollbackHand(t, e, s) {
|
|
475
|
+
if (t !== "confirm") {
|
|
476
|
+
s();
|
|
477
|
+
return;
|
|
478
|
+
}
|
|
479
|
+
let i = [];
|
|
480
|
+
this.selectedRows.forEach((n) => {
|
|
481
|
+
let a = m({
|
|
482
|
+
id: n.id,
|
|
483
|
+
status: 2
|
|
484
|
+
}).then((r) => r);
|
|
485
|
+
i.push(a);
|
|
486
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
|
|
487
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
|
|
488
|
+
const a = n.filter((r) => !r.success);
|
|
489
|
+
a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
|
|
490
|
+
});
|
|
852
491
|
},
|
|
853
|
-
|
|
854
|
-
|
|
492
|
+
release() {
|
|
493
|
+
if (this.selectedRowKeys.length === 0) {
|
|
494
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
497
|
+
if (this.selectedRowKeys.length > 1) {
|
|
498
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
|
|
499
|
+
return;
|
|
500
|
+
}
|
|
501
|
+
this.$confirm(this.$i18nt("gd.https.releaseContent", "\u786E\u8BA4\u53D1\u5E03?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
502
|
+
confirmButtonText: this.$i18nt("gd.https.releaseOk", "\u7ACB\u5373\u53D1\u5E03!"),
|
|
503
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
504
|
+
showClose: !1,
|
|
505
|
+
confirmButtonLoading: !1,
|
|
506
|
+
cancelButtonLoading: !1,
|
|
507
|
+
closeOnClickModal: !1,
|
|
508
|
+
type: "warning",
|
|
509
|
+
confirmButtonClass: "el-button--danger",
|
|
510
|
+
customClass: "custom-alert",
|
|
511
|
+
callback: () => {
|
|
512
|
+
},
|
|
513
|
+
beforeClose: (t, e, s) => {
|
|
514
|
+
this.releaseHand(t, e, s);
|
|
515
|
+
}
|
|
516
|
+
});
|
|
855
517
|
},
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
518
|
+
releaseHand(t, e, s) {
|
|
519
|
+
if (t !== "confirm") {
|
|
520
|
+
s();
|
|
521
|
+
return;
|
|
522
|
+
}
|
|
523
|
+
let i = [];
|
|
524
|
+
this.selectedRows.forEach((n) => {
|
|
525
|
+
let a = m({
|
|
526
|
+
id: n.id,
|
|
527
|
+
status: 1
|
|
528
|
+
}).then((r) => r);
|
|
529
|
+
i.push(a);
|
|
530
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
|
|
531
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
|
|
532
|
+
const a = n.filter((r) => !r.success);
|
|
533
|
+
a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
|
|
534
|
+
});
|
|
535
|
+
},
|
|
536
|
+
del() {
|
|
537
|
+
if (this.selectedRowKeys.length === 0) {
|
|
538
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
539
|
+
return;
|
|
540
|
+
}
|
|
541
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
542
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
543
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
544
|
+
showClose: !1,
|
|
545
|
+
confirmButtonLoading: !1,
|
|
546
|
+
cancelButtonLoading: !1,
|
|
547
|
+
closeOnClickModal: !1,
|
|
548
|
+
type: "warning",
|
|
549
|
+
confirmButtonClass: "el-button--danger",
|
|
550
|
+
customClass: "custom-alert",
|
|
551
|
+
callback: () => {
|
|
552
|
+
},
|
|
553
|
+
beforeClose: (t, e, s) => {
|
|
554
|
+
this.delHand(t, e, s);
|
|
555
|
+
}
|
|
556
|
+
});
|
|
557
|
+
},
|
|
558
|
+
delHand(t, e, s) {
|
|
559
|
+
if (t !== "confirm") {
|
|
560
|
+
s();
|
|
561
|
+
return;
|
|
562
|
+
}
|
|
563
|
+
let i = [];
|
|
564
|
+
this.selectedRows.forEach((n) => {
|
|
565
|
+
let a = _(n).then((r) => r);
|
|
566
|
+
i.push(a);
|
|
567
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
|
|
568
|
+
s();
|
|
569
|
+
const a = n.filter((r) => !r.success);
|
|
570
|
+
a.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
571
|
+
});
|
|
572
|
+
},
|
|
573
|
+
sysNoticeDetail(t) {
|
|
574
|
+
y({
|
|
575
|
+
id: t
|
|
576
|
+
}).then((e) => {
|
|
577
|
+
this.noticeDetail = e.data, e.data.attachment && (this.ruleFormData.fileid = e.data.attachment, this.infoDownLoad(e.data.attachment)), this.ruleFormData.notifyingPerson = e.data.receivergroups, this.allEmpty = Array.isArray(this.ruleFormData.notifyingPerson) ? this.ruleFormData.notifyingPerson.every((s) => !s.receiverIdList || s.receiverIdList.length === 0) : !0, this.noticeType = e.data.type;
|
|
578
|
+
});
|
|
579
|
+
},
|
|
580
|
+
getMock(t) {
|
|
581
|
+
const e = [], s = [];
|
|
582
|
+
$().then((i) => {
|
|
583
|
+
this.confirmLoading = !1;
|
|
584
|
+
for (let n = 0; n < i.data.length; n++) {
|
|
585
|
+
const a = i.data[n], r = {
|
|
586
|
+
key: a.id.toString(),
|
|
587
|
+
label: a.name,
|
|
588
|
+
description: `description of ${a.name}`
|
|
589
|
+
};
|
|
590
|
+
if (t)
|
|
591
|
+
for (let c = 0; c < t.noticeuseridlist.length; c++)
|
|
592
|
+
r.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
|
|
593
|
+
s.push(r);
|
|
594
|
+
}
|
|
595
|
+
this.mockData = s, this.targetKeys = e;
|
|
596
|
+
});
|
|
597
|
+
},
|
|
598
|
+
handleChange(t) {
|
|
599
|
+
this.targetKeys = t;
|
|
862
600
|
},
|
|
863
601
|
refresh() {
|
|
864
602
|
this.$refs.table.refresh();
|
|
865
603
|
},
|
|
866
|
-
dictSwitch(t, e) {
|
|
867
|
-
let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
|
|
868
|
-
return s != null && s.colour ? s.colour : null;
|
|
869
|
-
},
|
|
870
604
|
doEvent(t) {
|
|
871
605
|
let e = t.item.functionName;
|
|
872
606
|
this[e] && this[e]();
|
|
607
|
+
},
|
|
608
|
+
handleFile(t) {
|
|
609
|
+
if (!!["image"].includes("file") && !t) {
|
|
610
|
+
this.fileList = [];
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
uploadFile(t) {
|
|
615
|
+
if (!this.fileAccept.includes(t.file.type)) {
|
|
616
|
+
this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), t.onError();
|
|
617
|
+
return;
|
|
618
|
+
}
|
|
619
|
+
new FormData().append("file", t.file), R(t).then((i) => {
|
|
620
|
+
if (i.code === 200) {
|
|
621
|
+
const n = i.data.url, r = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
|
|
622
|
+
return this.ruleFormData.fileList = r.join(","), this.ruleFormData.name = i.data.fileoriginname.substring(0, i.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = i.data.id.toString(), t.onSuccess(i.data), i.data;
|
|
623
|
+
} else
|
|
624
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + i.message), t.onError();
|
|
625
|
+
}).catch((i) => {
|
|
626
|
+
t.onError(i);
|
|
627
|
+
});
|
|
628
|
+
},
|
|
629
|
+
successFile(t, e, s) {
|
|
630
|
+
},
|
|
631
|
+
removeFile(t, e) {
|
|
632
|
+
let s = [];
|
|
633
|
+
e.forEach((i) => {
|
|
634
|
+
i.response && i.response.id ? s.push(i.response.id) : s.push(i.url);
|
|
635
|
+
}), this.ruleFormData.fileList = s.join(","), this.ruleFormData.name = "", this.ruleFormData.fileid = "";
|
|
636
|
+
},
|
|
637
|
+
previewFile(t) {
|
|
638
|
+
let e = "";
|
|
639
|
+
t.response && t.response.fileOriginName ? (e = t.response.fileOriginName, t.response.url) : (e = t.name, t.url);
|
|
640
|
+
const s = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
|
|
641
|
+
["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(s) ? this.imgPreview(t.response.id) : this.downFile(t);
|
|
642
|
+
},
|
|
643
|
+
imgPreview(t) {
|
|
644
|
+
S({
|
|
645
|
+
id: t
|
|
646
|
+
}).then((e) => {
|
|
647
|
+
const s = window.URL.createObjectURL(new Blob([e]));
|
|
648
|
+
this.imgList = [s], this.currentImg = s, this.$refs.imgPreview.open();
|
|
649
|
+
});
|
|
650
|
+
},
|
|
651
|
+
downFile(t) {
|
|
652
|
+
this.$refs.filePreview.open(
|
|
653
|
+
Object.assign(t, {
|
|
654
|
+
fileId: t.response && t.response.fileoriginname ? t.response.id : t.fileId
|
|
655
|
+
})
|
|
656
|
+
);
|
|
657
|
+
},
|
|
658
|
+
getBlobType(t) {
|
|
659
|
+
let e = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
660
|
+
return this.fileType === "pdf" ? e = "application/pdf" : this.fileType === "docx" && (e = "application/msword"), e;
|
|
661
|
+
},
|
|
662
|
+
infoDownLoad(t) {
|
|
663
|
+
return C({
|
|
664
|
+
id: t
|
|
665
|
+
}).then((e) => {
|
|
666
|
+
this.ruleFormData.fileList = e.data.url, this.ruleFormData.name = e.data.fileoriginname.substring(0, e.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = e.data.id.toString(), this.fileListFile = [
|
|
667
|
+
{
|
|
668
|
+
name: e.data.fileoriginname,
|
|
669
|
+
url: e.data.url,
|
|
670
|
+
response: {
|
|
671
|
+
id: e.data.id,
|
|
672
|
+
url: e.data.url,
|
|
673
|
+
fileoriginname: e.data.fileoriginname
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
];
|
|
677
|
+
});
|
|
678
|
+
},
|
|
679
|
+
getDictionary(t) {
|
|
680
|
+
return this.$options.filters.dictData(t);
|
|
681
|
+
},
|
|
682
|
+
changeMode(t) {
|
|
683
|
+
this.noticeType = t;
|
|
873
684
|
}
|
|
874
685
|
}
|
|
875
686
|
};
|
|
876
|
-
var
|
|
687
|
+
var x = function() {
|
|
877
688
|
var e = this, s = e._self._c;
|
|
878
|
-
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys,
|
|
879
|
-
return [s("
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
} }
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
data
|
|
897
|
-
return {
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
689
|
+
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
690
|
+
return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl" }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.notice.title", "\u6807\u9898"), clearable: "" }, nativeOn: { keyup: function(i) {
|
|
691
|
+
return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
692
|
+
} }, model: { value: e.queryParam.SearchValue, callback: function(i) {
|
|
693
|
+
e.$set(e.queryParam, "SearchValue", i);
|
|
694
|
+
}, expression: "queryParam.SearchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
695
|
+
}, proxy: !0 }, { key: "title", fn: function({ column: i, row: n }) {
|
|
696
|
+
return [s("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
|
|
697
|
+
} }, { key: "type", fn: function(i) {
|
|
698
|
+
return [s("el-tag", { style: e._f("dictColor")("notice_type", i.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", i.row.type)) + " ")])];
|
|
699
|
+
} }, { key: "status", fn: function(i) {
|
|
700
|
+
return [s("el-tag", { style: e._f("dictColor")("notice_status", i.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", i.row.status)) + " ")])];
|
|
701
|
+
} }, { key: "filtering", fn: function({ colse: i, visible: n }) {
|
|
702
|
+
return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: n }, on: { save: e.saveQueries } })];
|
|
703
|
+
} }]) })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "100%", transKey: e.transKey, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, buttons: e.getButtons, loading: e.formLoading }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "targetKeys", fn: function({ data: i, column: n }) {
|
|
704
|
+
return [s("el-transfer", { attrs: { data: e.mockData, titles: ["\u672A\u9009", "\u5DF2\u9009"], filterable: "" }, on: { change: e.handleChange }, model: { value: e.targetKeys, callback: function(a) {
|
|
705
|
+
e.targetKeys = a;
|
|
706
|
+
}, expression: "targetKeys" } })];
|
|
707
|
+
} }, { key: "notifyingPerson", fn: function({ data: i, column: n }) {
|
|
708
|
+
return [s("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(a) {
|
|
709
|
+
return e.noticePerson(i);
|
|
710
|
+
} } }, [s("i", { staticClass: "gd-icons el-icon-bell" }), e._v(" " + e._s(e.$i18nt("gd.notice.notice", "\u901A\u77E5")) + " ")])];
|
|
711
|
+
} }, { key: "notice_type", fn: function({ data: i, column: n }) {
|
|
712
|
+
return [s("el-radio-group", { on: { change: e.changeMode }, model: { value: i.type, callback: function(a) {
|
|
713
|
+
e.$set(i, "type", a);
|
|
714
|
+
}, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(a, r) {
|
|
715
|
+
return s("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
|
|
716
|
+
}), 1)];
|
|
717
|
+
} }, { key: "fileList", fn: function({ data: i, column: n }) {
|
|
718
|
+
return [s("el-upload", { attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: n.limit, accept: n.accept, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile } }, [s("el-button", { attrs: { size: "mini", type: "primary" } }, [s("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)];
|
|
719
|
+
} }]) }), s("detailForm", { ref: "detailForm" }), s("editNoticeForm", { ref: "editNoticeFormRef", on: { ok: e.handleOk } }), s("gd-file-preview", { ref: "filePreview" }), s("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
|
|
720
|
+
}, D = [], O = /* @__PURE__ */ l(
|
|
721
|
+
N,
|
|
722
|
+
x,
|
|
723
|
+
D,
|
|
724
|
+
!1,
|
|
725
|
+
null,
|
|
726
|
+
"efad110b",
|
|
727
|
+
null,
|
|
728
|
+
null
|
|
729
|
+
);
|
|
730
|
+
const f = O.exports;
|
|
731
|
+
f.install = function(t) {
|
|
732
|
+
t.component(f.name, f);
|
|
733
|
+
};
|
|
734
|
+
const B = {
|
|
735
|
+
name: "GdNoticeDetails",
|
|
736
|
+
props: {
|
|
737
|
+
modeType: {
|
|
738
|
+
type: String,
|
|
739
|
+
default: "dialog"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
data() {
|
|
743
|
+
return {
|
|
744
|
+
transKey: "gd.notice.detail",
|
|
745
|
+
fullscreen: !1,
|
|
746
|
+
visible: !1,
|
|
747
|
+
width: "80%",
|
|
748
|
+
confirmLoading: !1,
|
|
749
|
+
contentRecord: {},
|
|
750
|
+
sysViewButtons: [],
|
|
751
|
+
type: "pdf"
|
|
752
|
+
};
|
|
753
|
+
},
|
|
754
|
+
computed: {
|
|
755
|
+
height() {
|
|
756
|
+
return this.screenHeight - 24 - 40 - 36;
|
|
757
|
+
},
|
|
758
|
+
headTitle() {
|
|
759
|
+
return this.$i18nt(this.transKey, this.title);
|
|
760
|
+
},
|
|
761
|
+
style() {
|
|
762
|
+
return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
|
|
763
|
+
},
|
|
764
|
+
...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
765
|
+
},
|
|
766
|
+
methods: {
|
|
767
|
+
open(t) {
|
|
768
|
+
this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(t.id);
|
|
769
|
+
},
|
|
770
|
+
sysNoticeDetail(t) {
|
|
771
|
+
this.fullscreen = !1, y({
|
|
772
|
+
id: t
|
|
773
|
+
}).then((e) => {
|
|
774
|
+
e.code === 200 ? (this.contentRecord = e.data, this.$emit("onLoadCompleted"), e.data.attachment && this.$nextTick(() => {
|
|
775
|
+
setTimeout(() => {
|
|
776
|
+
let s = { name: `${e.data.title}.${this.type}`, fileId: e.data.attachment, fullscreen: !1 };
|
|
777
|
+
this.$refs.filePreview.open(s);
|
|
778
|
+
}, 0);
|
|
779
|
+
})) : this.$message.error(e.message), this.confirmLoading = !1;
|
|
780
|
+
});
|
|
781
|
+
},
|
|
782
|
+
handleCancel() {
|
|
783
|
+
this.visible = !1, this.contentRecord = {};
|
|
784
|
+
},
|
|
785
|
+
closed() {
|
|
786
|
+
this.visible = !1;
|
|
787
|
+
},
|
|
788
|
+
toggleFullscreen() {
|
|
789
|
+
this.fullscreen = !this.fullscreen;
|
|
790
|
+
},
|
|
791
|
+
doEvent(t) {
|
|
792
|
+
const e = t.item.functionName;
|
|
793
|
+
this[e] && this[e]();
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
};
|
|
797
|
+
var z = function() {
|
|
798
|
+
var e = this, s = e._self._c;
|
|
799
|
+
return s("div", [e.modeType === "dialog" ? s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { formMode: e.formMode, 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", transKey: e.transKey, labelPosition: e.labelPosition, "show-close": !1 }, on: { "update:visible": function(i) {
|
|
800
|
+
e.visible = i;
|
|
801
|
+
}, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.headTitle, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1) : s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1);
|
|
802
|
+
}, H = [], E = /* @__PURE__ */ l(
|
|
803
|
+
B,
|
|
804
|
+
z,
|
|
805
|
+
H,
|
|
806
|
+
!1,
|
|
807
|
+
null,
|
|
808
|
+
"9aab64a3",
|
|
809
|
+
null,
|
|
810
|
+
null
|
|
811
|
+
);
|
|
812
|
+
const h = E.exports, I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
813
|
+
__proto__: null,
|
|
814
|
+
default: h
|
|
815
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
816
|
+
h.install = function(t) {
|
|
817
|
+
t.component(h.name, h);
|
|
818
|
+
};
|
|
819
|
+
const q = {
|
|
820
|
+
data() {
|
|
821
|
+
return {
|
|
822
|
+
tableColumns: [
|
|
823
|
+
{
|
|
824
|
+
type: "selection",
|
|
825
|
+
width: "60",
|
|
826
|
+
fixed: !0
|
|
914
827
|
},
|
|
915
828
|
{
|
|
916
|
-
transKey: "gd.
|
|
829
|
+
transKey: "gd.org.displayName",
|
|
917
830
|
prop: "name",
|
|
918
|
-
label: "\
|
|
919
|
-
|
|
831
|
+
label: "\u673A\u6784\u540D\u79F0",
|
|
832
|
+
minWidth: "260",
|
|
833
|
+
type: "slot",
|
|
834
|
+
slotType: "name",
|
|
920
835
|
align: "left",
|
|
836
|
+
fixed: !0,
|
|
837
|
+
renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
|
|
838
|
+
effectType: "input"
|
|
839
|
+
}),
|
|
921
840
|
showOverflowTooltip: !0
|
|
922
841
|
},
|
|
923
842
|
{
|
|
924
|
-
transKey: "gd.
|
|
925
|
-
prop: "
|
|
926
|
-
|
|
927
|
-
|
|
843
|
+
transKey: "gd.org.type",
|
|
844
|
+
prop: "orgType",
|
|
845
|
+
label: "\u673A\u6784\u7C7B\u578B",
|
|
846
|
+
minWidth: "220",
|
|
928
847
|
type: "slot",
|
|
929
|
-
slotType: "
|
|
848
|
+
slotType: "orgType",
|
|
930
849
|
align: "left",
|
|
931
850
|
showOverflowTooltip: !0
|
|
932
851
|
},
|
|
933
852
|
{
|
|
934
|
-
transKey: "gd.org.
|
|
935
|
-
prop: "
|
|
936
|
-
|
|
937
|
-
|
|
853
|
+
transKey: "gd.org.code",
|
|
854
|
+
prop: "code",
|
|
855
|
+
width: "200",
|
|
856
|
+
label: "\u552F\u4E00\u7F16\u7801",
|
|
938
857
|
align: "left",
|
|
939
858
|
showOverflowTooltip: !0
|
|
940
859
|
},
|
|
941
860
|
{
|
|
942
|
-
transKey: "gd.
|
|
943
|
-
prop: "
|
|
944
|
-
width: "
|
|
945
|
-
label: "\
|
|
861
|
+
transKey: "gd.org.sort",
|
|
862
|
+
prop: "sort",
|
|
863
|
+
width: "120",
|
|
864
|
+
label: "\u6392\u5E8F",
|
|
946
865
|
align: "left"
|
|
947
866
|
},
|
|
948
867
|
{
|
|
949
|
-
transKey: "gd.
|
|
950
|
-
prop: "
|
|
951
|
-
|
|
952
|
-
width: "120",
|
|
868
|
+
transKey: "gd.org.remark",
|
|
869
|
+
prop: "remark",
|
|
870
|
+
minWidth: "300",
|
|
953
871
|
type: "slot",
|
|
954
|
-
slotType: "
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
|
|
958
|
-
effectType: "checkbox",
|
|
959
|
-
dictTypeCode: "state_code"
|
|
960
|
-
})
|
|
872
|
+
slotType: "remark",
|
|
873
|
+
label: "\u5907\u6CE8",
|
|
874
|
+
align: "left"
|
|
961
875
|
}
|
|
962
876
|
],
|
|
963
877
|
tableQueries: [{
|
|
964
|
-
transKey: "gd.
|
|
965
|
-
prop: "
|
|
966
|
-
label: "\u540D\u79F0",
|
|
967
|
-
effectType: "
|
|
878
|
+
transKey: "gd.process.tableSor",
|
|
879
|
+
prop: "tableId",
|
|
880
|
+
label: "\u8868\u540D\u79F0",
|
|
881
|
+
effectType: "selectTable",
|
|
882
|
+
rules: []
|
|
883
|
+
}, {
|
|
884
|
+
transKey: "gd.flow.state",
|
|
885
|
+
prop: "stateCodes",
|
|
886
|
+
label: "\u72B6\u6001",
|
|
887
|
+
effectType: "select",
|
|
888
|
+
dictTypeCode: "state_code",
|
|
968
889
|
rules: []
|
|
969
890
|
}]
|
|
970
891
|
};
|
|
971
892
|
}
|
|
972
893
|
};
|
|
973
|
-
const
|
|
894
|
+
const j = {
|
|
974
895
|
props: {
|
|
975
896
|
height: {
|
|
976
897
|
type: Number,
|
|
977
|
-
default:
|
|
898
|
+
default: 0
|
|
978
899
|
},
|
|
979
|
-
|
|
900
|
+
selectOrgRow: {
|
|
980
901
|
type: Array,
|
|
981
902
|
default: () => []
|
|
982
903
|
}
|
|
983
904
|
},
|
|
984
|
-
mixins: [u,
|
|
905
|
+
mixins: [u, q],
|
|
985
906
|
data() {
|
|
986
907
|
return {
|
|
987
908
|
selectedRows: [],
|
|
988
909
|
selectedRowKeys: [],
|
|
989
|
-
queryParam: {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
return w(Object.assign(t, this.queryParam)).then((s) => {
|
|
995
|
-
let i = [];
|
|
996
|
-
return e.length > 0 ? i = [...JSON.parse(JSON.stringify(e))].map(String) : i = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
|
|
997
|
-
this.selectedRowKeys = [...i], this.onSelectChange(i, []);
|
|
998
|
-
}), s.data;
|
|
999
|
-
});
|
|
1000
|
-
},
|
|
910
|
+
queryParam: {},
|
|
911
|
+
loadData: (t) => K(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
|
|
912
|
+
let s = [...this.selectOrgRow];
|
|
913
|
+
this.selectedRowKeys = [...s], this.onSelectChange(s, []);
|
|
914
|
+
}, 10), e.data)),
|
|
1001
915
|
detail: {}
|
|
1002
916
|
};
|
|
1003
917
|
},
|
|
1004
918
|
computed: {
|
|
1005
|
-
getHeight() {
|
|
1006
|
-
return this.screenHeight - 500;
|
|
1007
|
-
},
|
|
1008
919
|
styled() {
|
|
1009
920
|
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
1010
921
|
},
|
|
1011
|
-
...
|
|
922
|
+
...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
1012
923
|
},
|
|
1013
924
|
components: {},
|
|
1014
925
|
methods: {
|
|
1015
926
|
onSelectChange(t, e) {
|
|
1016
927
|
this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
|
|
1017
928
|
},
|
|
1018
|
-
saveQueries(t) {
|
|
1019
|
-
this.queryParam = { ...t }, this.refresh();
|
|
1020
|
-
},
|
|
1021
929
|
refresh() {
|
|
1022
930
|
this.$refs.table.refresh();
|
|
1023
931
|
},
|
|
1024
|
-
init(t) {
|
|
1025
|
-
this.queryParam.searchValue = "", this.$refs.table.refresh();
|
|
1026
|
-
},
|
|
1027
932
|
dictSwitch(t, e) {
|
|
1028
933
|
let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
|
|
1029
934
|
return s != null && s.colour ? s.colour : null;
|
|
@@ -1032,662 +937,569 @@ const te = {
|
|
|
1032
937
|
let e = t.item.functionName;
|
|
1033
938
|
this[e] && this[e]();
|
|
1034
939
|
}
|
|
1035
|
-
},
|
|
1036
|
-
mounted() {
|
|
1037
940
|
}
|
|
1038
941
|
};
|
|
1039
|
-
var
|
|
942
|
+
var M = function() {
|
|
1040
943
|
var e = this, s = e._self._c;
|
|
1041
|
-
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.
|
|
1042
|
-
return [s("gd-tooltip", { attrs: { rowKey: "
|
|
1043
|
-
} }, { key: "
|
|
1044
|
-
return [s("
|
|
1045
|
-
} }, { key: "
|
|
1046
|
-
return [s("
|
|
1047
|
-
} }
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
}, expression: "queryParam.searchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
|
|
1053
|
-
}, proxy: !0 }]) })], 1)]);
|
|
1054
|
-
}, ie = [], ne = /* @__PURE__ */ l(
|
|
1055
|
-
te,
|
|
1056
|
-
se,
|
|
1057
|
-
ie,
|
|
944
|
+
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
|
|
945
|
+
return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
|
|
946
|
+
} }, { key: "orgType", fn: function(i) {
|
|
947
|
+
return [s("el-tag", { style: e._f("dictColor")("org_type", i.row.orgtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("org_type", i.row.orgtype)) + " ")])];
|
|
948
|
+
} }, { key: "remark", fn: function({ column: i, row: n }) {
|
|
949
|
+
return [s("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
|
|
950
|
+
} }]) })], 1)]);
|
|
951
|
+
}, A = [], U = /* @__PURE__ */ l(
|
|
952
|
+
j,
|
|
953
|
+
M,
|
|
954
|
+
A,
|
|
1058
955
|
!1,
|
|
1059
956
|
null,
|
|
1060
|
-
"
|
|
957
|
+
"5f8fe789",
|
|
1061
958
|
null,
|
|
1062
959
|
null
|
|
1063
960
|
);
|
|
1064
|
-
const
|
|
1065
|
-
const oe = {
|
|
961
|
+
const V = U.exports, Q = {
|
|
1066
962
|
data() {
|
|
1067
963
|
return {
|
|
1068
|
-
|
|
1069
|
-
sysViewButtons: [
|
|
964
|
+
tableColumns: [
|
|
1070
965
|
{
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
966
|
+
type: "selection",
|
|
967
|
+
width: "60",
|
|
968
|
+
fixed: !0
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
transKey: "gd.user.roleName",
|
|
972
|
+
prop: "name",
|
|
973
|
+
label: "\u89D2\u8272\u540D\u79F0",
|
|
974
|
+
type: "slot",
|
|
975
|
+
slotType: "name",
|
|
976
|
+
align: "left",
|
|
977
|
+
fixed: !0,
|
|
978
|
+
showOverflowTooltip: !0
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
transKey: "gd.org.code",
|
|
982
|
+
prop: "code",
|
|
983
|
+
label: "\u552F\u4E00\u7F16\u7801",
|
|
984
|
+
align: "left",
|
|
985
|
+
showOverflowTooltip: !0
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
transKey: "gd.org.sort",
|
|
989
|
+
prop: "sort",
|
|
990
|
+
width: "200",
|
|
991
|
+
label: "\u6392\u5E8F",
|
|
992
|
+
align: "left"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
transKey: "gd.org.remark",
|
|
996
|
+
prop: "remark",
|
|
997
|
+
label: "\u5907\u6CE8",
|
|
998
|
+
align: "left",
|
|
999
|
+
showOverflowTooltip: !0
|
|
1076
1000
|
}
|
|
1077
1001
|
],
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1002
|
+
tableQueries: [{
|
|
1003
|
+
transKey: "gd.process.tableSor",
|
|
1004
|
+
prop: "tableId",
|
|
1005
|
+
label: "\u8868\u540D\u79F0",
|
|
1006
|
+
effectType: "selectTable",
|
|
1007
|
+
rules: []
|
|
1008
|
+
}, {
|
|
1009
|
+
transKey: "gd.flow.state",
|
|
1010
|
+
prop: "stateCodes",
|
|
1011
|
+
label: "\u72B6\u6001",
|
|
1012
|
+
effectType: "select",
|
|
1013
|
+
dictTypeCode: "state_code",
|
|
1014
|
+
rules: []
|
|
1015
|
+
}]
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
};
|
|
1019
|
+
const G = {
|
|
1020
|
+
props: {
|
|
1021
|
+
height: {
|
|
1022
|
+
type: Number,
|
|
1023
|
+
default: 0
|
|
1024
|
+
},
|
|
1025
|
+
selectRoleRow: {
|
|
1026
|
+
type: Array,
|
|
1027
|
+
default: () => []
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
mixins: [u, Q],
|
|
1031
|
+
data() {
|
|
1032
|
+
return {
|
|
1033
|
+
selectedRows: [],
|
|
1034
|
+
selectedRowKeys: [],
|
|
1035
|
+
queryParam: { sysAppsId: "" },
|
|
1036
|
+
loadData: (t) => L(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
|
|
1037
|
+
let s = [...this.selectRoleRow];
|
|
1038
|
+
this.selectedRowKeys = [...s], this.onSelectChange(s, []);
|
|
1039
|
+
}, 10), e.data)),
|
|
1040
|
+
detail: {}
|
|
1089
1041
|
};
|
|
1090
1042
|
},
|
|
1091
|
-
components: { noticeUser: ae, notcieOrg: E, noticeRole: G, noticeTeam: Z },
|
|
1092
1043
|
computed: {
|
|
1093
|
-
|
|
1094
|
-
return this
|
|
1044
|
+
styled() {
|
|
1045
|
+
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
1095
1046
|
},
|
|
1096
|
-
...
|
|
1047
|
+
...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
1097
1048
|
},
|
|
1049
|
+
components: {},
|
|
1098
1050
|
methods: {
|
|
1099
|
-
|
|
1100
|
-
|
|
1051
|
+
getSysAppsPage() {
|
|
1052
|
+
P().then((t) => {
|
|
1053
|
+
t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
|
|
1054
|
+
});
|
|
1101
1055
|
},
|
|
1102
|
-
|
|
1103
|
-
this.
|
|
1104
|
-
this.$refs.noticeuserRef.init(this.userRowList);
|
|
1105
|
-
}, 100));
|
|
1056
|
+
onSelectChange(t, e) {
|
|
1057
|
+
this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
|
|
1106
1058
|
},
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
});
|
|
1114
|
-
});
|
|
1059
|
+
refresh() {
|
|
1060
|
+
this.$refs.table.refresh();
|
|
1061
|
+
},
|
|
1062
|
+
dictSwitch(t, e) {
|
|
1063
|
+
let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
|
|
1064
|
+
return s != null && s.colour ? s.colour : null;
|
|
1115
1065
|
},
|
|
1116
1066
|
doEvent(t) {
|
|
1117
1067
|
let e = t.item.functionName;
|
|
1118
1068
|
this[e] && this[e]();
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
created() {
|
|
1072
|
+
this.getSysAppsPage();
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
var J = function() {
|
|
1076
|
+
var e = this, s = e._self._c;
|
|
1077
|
+
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
|
|
1078
|
+
return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
|
|
1079
|
+
} }]) })], 1)]);
|
|
1080
|
+
}, W = [], X = /* @__PURE__ */ l(
|
|
1081
|
+
G,
|
|
1082
|
+
J,
|
|
1083
|
+
W,
|
|
1084
|
+
!1,
|
|
1085
|
+
null,
|
|
1086
|
+
"af7b4faa",
|
|
1087
|
+
null,
|
|
1088
|
+
null
|
|
1089
|
+
);
|
|
1090
|
+
const Y = X.exports, Z = {
|
|
1091
|
+
data() {
|
|
1092
|
+
return {
|
|
1093
|
+
tableColumns: [
|
|
1131
1094
|
{
|
|
1132
|
-
|
|
1133
|
-
|
|
1095
|
+
type: "selection",
|
|
1096
|
+
width: "60",
|
|
1097
|
+
fixed: !0
|
|
1134
1098
|
},
|
|
1135
1099
|
{
|
|
1136
|
-
|
|
1137
|
-
|
|
1100
|
+
transKey: "gd.fieldSecurity.name",
|
|
1101
|
+
prop: "name",
|
|
1102
|
+
label: "\u540D\u79F0",
|
|
1103
|
+
type: "slot",
|
|
1104
|
+
slotType: "name",
|
|
1105
|
+
align: "left",
|
|
1106
|
+
showOverflowTooltip: !0
|
|
1138
1107
|
},
|
|
1139
1108
|
{
|
|
1140
|
-
|
|
1141
|
-
|
|
1109
|
+
transKey: "gd.fieldSecurity.teamType",
|
|
1110
|
+
prop: "teamType",
|
|
1111
|
+
label: "\u56E2\u961F\u7C7B\u578B",
|
|
1112
|
+
align: "left",
|
|
1113
|
+
type: "slot",
|
|
1114
|
+
slotType: "teamType",
|
|
1115
|
+
showOverflowTooltip: !0
|
|
1142
1116
|
},
|
|
1143
1117
|
{
|
|
1144
|
-
|
|
1145
|
-
|
|
1118
|
+
transKey: "gd.fieldSecurity.description",
|
|
1119
|
+
prop: "description",
|
|
1120
|
+
label: "\u8BF4\u660E",
|
|
1121
|
+
type: "slot",
|
|
1122
|
+
slotType: "description",
|
|
1123
|
+
align: "left"
|
|
1146
1124
|
}
|
|
1147
|
-
]
|
|
1148
|
-
|
|
1125
|
+
],
|
|
1126
|
+
tableQueries: [{
|
|
1127
|
+
transKey: "gd.process.tableSor",
|
|
1128
|
+
prop: "tableId",
|
|
1129
|
+
label: "\u8868\u540D\u79F0",
|
|
1130
|
+
effectType: "selectTable",
|
|
1131
|
+
rules: []
|
|
1132
|
+
}, {
|
|
1133
|
+
transKey: "gd.flow.state",
|
|
1134
|
+
prop: "stateCodes",
|
|
1135
|
+
label: "\u72B6\u6001",
|
|
1136
|
+
effectType: "select",
|
|
1137
|
+
dictTypeCode: "state_code",
|
|
1138
|
+
rules: []
|
|
1139
|
+
}]
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
};
|
|
1143
|
+
const ee = {
|
|
1144
|
+
props: {
|
|
1145
|
+
height: {
|
|
1146
|
+
type: Number,
|
|
1147
|
+
default: 0
|
|
1149
1148
|
},
|
|
1150
|
-
|
|
1151
|
-
|
|
1149
|
+
selectTeamRow: {
|
|
1150
|
+
type: Array,
|
|
1151
|
+
default: () => []
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
mixins: [u, Z],
|
|
1155
|
+
data() {
|
|
1156
|
+
return {
|
|
1157
|
+
selectedRows: [],
|
|
1158
|
+
selectedRowKeys: [],
|
|
1159
|
+
queryParam: {},
|
|
1160
|
+
loadData: (t) => k(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
|
|
1161
|
+
let s = [...this.selectTeamRow];
|
|
1162
|
+
this.selectedRowKeys = [...s], this.onSelectChange(s, []);
|
|
1163
|
+
}, 10), e.data)),
|
|
1164
|
+
detail: {}
|
|
1165
|
+
};
|
|
1166
|
+
},
|
|
1167
|
+
computed: {
|
|
1168
|
+
styled() {
|
|
1169
|
+
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
1152
1170
|
},
|
|
1153
|
-
|
|
1154
|
-
|
|
1171
|
+
...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
1172
|
+
},
|
|
1173
|
+
components: {},
|
|
1174
|
+
methods: {
|
|
1175
|
+
onSelectChange(t, e) {
|
|
1176
|
+
this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
|
|
1155
1177
|
},
|
|
1156
|
-
|
|
1157
|
-
this.
|
|
1178
|
+
refresh() {
|
|
1179
|
+
this.$refs.table.refresh();
|
|
1158
1180
|
},
|
|
1159
|
-
|
|
1160
|
-
this.
|
|
1181
|
+
dictSwitch(t, e) {
|
|
1182
|
+
let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
|
|
1183
|
+
return s != null && s.colour ? s.colour : null;
|
|
1184
|
+
},
|
|
1185
|
+
doEvent(t) {
|
|
1186
|
+
let e = t.item.functionName;
|
|
1187
|
+
this[e] && this[e]();
|
|
1161
1188
|
}
|
|
1162
1189
|
}
|
|
1163
1190
|
};
|
|
1164
|
-
var
|
|
1191
|
+
var te = function() {
|
|
1165
1192
|
var e = this, s = e._self._c;
|
|
1166
|
-
return s("
|
|
1167
|
-
e.
|
|
1168
|
-
}
|
|
1169
|
-
e.
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1193
|
+
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
|
|
1194
|
+
return [s("span", [e._v(" " + e._s(n.name) + " ")])];
|
|
1195
|
+
} }, { key: "teamType", fn: function({ column: i, row: n }) {
|
|
1196
|
+
return [s("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.teamtype)) + " ")])];
|
|
1197
|
+
} }, { key: "description", fn: function({ column: i, row: n }) {
|
|
1198
|
+
return [e._v(" " + e._s(n.description) + " ")];
|
|
1199
|
+
} }]) })], 1)]);
|
|
1200
|
+
}, se = [], ie = /* @__PURE__ */ l(
|
|
1201
|
+
ee,
|
|
1202
|
+
te,
|
|
1203
|
+
se,
|
|
1175
1204
|
!1,
|
|
1176
1205
|
null,
|
|
1177
|
-
"
|
|
1206
|
+
"6f5c581d",
|
|
1178
1207
|
null,
|
|
1179
1208
|
null
|
|
1180
1209
|
);
|
|
1181
|
-
const
|
|
1182
|
-
const ue = {
|
|
1183
|
-
name: "GdNotice",
|
|
1184
|
-
props: {
|
|
1185
|
-
height: {
|
|
1186
|
-
type: Number,
|
|
1187
|
-
default: 100
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
mixins: [u, D],
|
|
1210
|
+
const ne = ie.exports, ae = {
|
|
1191
1211
|
data() {
|
|
1192
1212
|
return {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
queryParam: {},
|
|
1199
|
-
formLoading: !1,
|
|
1200
|
-
mockData: [],
|
|
1201
|
-
targetKeys: [],
|
|
1202
|
-
noticeUserIdList: [],
|
|
1203
|
-
status: 0,
|
|
1204
|
-
type: "noticeUser",
|
|
1205
|
-
confirmLoading: !1,
|
|
1206
|
-
fileType: "pdf",
|
|
1207
|
-
style: "width: 100%; height: 580px;",
|
|
1208
|
-
headers: {
|
|
1209
|
-
"Content-Type": "multipart/form-data"
|
|
1210
|
-
},
|
|
1211
|
-
fileListFile: [],
|
|
1212
|
-
imgList: [],
|
|
1213
|
-
currentImg: "",
|
|
1214
|
-
ruleFormData: {
|
|
1215
|
-
fileList: "",
|
|
1216
|
-
name: "",
|
|
1217
|
-
notifyingPerson: [],
|
|
1218
|
-
fileid: ""
|
|
1219
|
-
},
|
|
1220
|
-
record: {},
|
|
1221
|
-
allEmpty: !0,
|
|
1222
|
-
noticeType: "",
|
|
1223
|
-
fileAccept: ["application/pdf"]
|
|
1224
|
-
};
|
|
1225
|
-
},
|
|
1226
|
-
components: {
|
|
1227
|
-
detailForm: h,
|
|
1228
|
-
editNoticeForm: de
|
|
1229
|
-
},
|
|
1230
|
-
computed: {
|
|
1231
|
-
getHeight() {
|
|
1232
|
-
return this.height;
|
|
1233
|
-
},
|
|
1234
|
-
getFormColumns() {
|
|
1235
|
-
return this.formColumns.filter((e) => !(e.prop === "notifyingPerson" && this.transKey === "gd.btn.add" || (this.noticeType == 3 && e.prop === "content" ? e.rules = [] : this.noticeType != 3 && e.prop === "content" && (e.rules = [{
|
|
1236
|
-
required: !0,
|
|
1237
|
-
message: "\u8BF7\u8F93\u5165",
|
|
1238
|
-
transKey: "gd.placeholder.input",
|
|
1239
|
-
trigger: "change"
|
|
1240
|
-
}]), (this.noticeType == 1 || this.noticeType == 2) && e.prop === "fileList")));
|
|
1241
|
-
},
|
|
1242
|
-
getButtons() {
|
|
1243
|
-
return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
|
|
1244
|
-
},
|
|
1245
|
-
...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
1246
|
-
},
|
|
1247
|
-
mounted() {
|
|
1248
|
-
(this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
|
|
1249
|
-
this.allData.forEach((t) => {
|
|
1250
|
-
(t.id == this.$route.params.id || t.id == this.$route.query.id) && this.$refs.detailForm.open(t);
|
|
1251
|
-
});
|
|
1252
|
-
}, 1e3));
|
|
1253
|
-
},
|
|
1254
|
-
methods: {
|
|
1255
|
-
onSelectChange(t, e) {
|
|
1256
|
-
if (this.selectedRowKeys = t, this.selectedRows = e, e.length == 0) {
|
|
1257
|
-
this.baseHideBtns([], 2);
|
|
1258
|
-
return;
|
|
1259
|
-
}
|
|
1260
|
-
if (e.length > 1) {
|
|
1261
|
-
this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
|
|
1262
|
-
return;
|
|
1263
|
-
}
|
|
1264
|
-
let s = [], i = e.filter((o) => o.status == 0), n = e.filter((o) => o.status == 1), a = e.filter((o) => o.status == 2);
|
|
1265
|
-
i.length == e.length ? s = ["\u64A4\u56DE"] : n.length == e.length ? s = ["\u5220\u9664", "\u53D1\u5E03", "\u7F16\u8F91"] : a.length == e.length && (s = ["\u64A4\u56DE", "\u53D1\u5E03", "\u7F16\u8F91"]), this.baseHideBtns(s, 2);
|
|
1266
|
-
},
|
|
1267
|
-
baseHideBtns(t, e = 1) {
|
|
1268
|
-
let s = [...this.tableButtons];
|
|
1269
|
-
s.map((i) => (e === 1 ? i.show = !t.includes(i.id) : i.show = !t.includes(i.displayName), i)), this.tableButtons = [...s];
|
|
1270
|
-
},
|
|
1271
|
-
add() {
|
|
1272
|
-
this.transKey = "gd.btn.add", this.fileListFile = [], this.ruleFormData = {
|
|
1273
|
-
fileList: "",
|
|
1274
|
-
name: "",
|
|
1275
|
-
notifyingPerson: [],
|
|
1276
|
-
fileid: ""
|
|
1277
|
-
}, this.$refs.editForm.open(null);
|
|
1278
|
-
},
|
|
1279
|
-
noticePerson(t) {
|
|
1280
|
-
this.$refs.editNoticeFormRef.init(t.id, "2");
|
|
1281
|
-
},
|
|
1282
|
-
notifyingPerson() {
|
|
1283
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1284
|
-
this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
|
|
1285
|
-
return;
|
|
1286
|
-
}
|
|
1287
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1288
|
-
this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
|
|
1289
|
-
return;
|
|
1290
|
-
}
|
|
1291
|
-
this.$refs.editNoticeFormRef.init(this.selectedRowKeys, "1");
|
|
1292
|
-
},
|
|
1293
|
-
edit() {
|
|
1294
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1295
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1296
|
-
return;
|
|
1297
|
-
}
|
|
1298
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1299
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
|
|
1300
|
-
return;
|
|
1301
|
-
}
|
|
1302
|
-
this.sysNoticeDetail(this.selectedRows[0].id), this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
1303
|
-
Object.assign(
|
|
1304
|
-
{
|
|
1305
|
-
...this.selectedRows[0]
|
|
1306
|
-
},
|
|
1307
|
-
{
|
|
1308
|
-
type: String(this.selectedRows[0].type),
|
|
1309
|
-
content: this.selectedRows[0].content,
|
|
1310
|
-
fileid: this.selectedRows[0].attachment
|
|
1311
|
-
}
|
|
1312
|
-
)
|
|
1313
|
-
);
|
|
1314
|
-
},
|
|
1315
|
-
editForm(t) {
|
|
1316
|
-
this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
|
|
1317
|
-
},
|
|
1318
|
-
handleOk(t) {
|
|
1319
|
-
this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
|
|
1320
|
-
},
|
|
1321
|
-
sbumit({ data: t, record: e, btn: s }, i, n) {
|
|
1322
|
-
if (this.status = s.item.functionName == "releaseTip" ? 1 : 0, e != null) {
|
|
1323
|
-
let a = {
|
|
1324
|
-
id: t.id,
|
|
1325
|
-
content: t.content,
|
|
1326
|
-
status: this.status,
|
|
1327
|
-
title: t.title,
|
|
1328
|
-
type: t.type,
|
|
1329
|
-
receivergroups: this.ruleFormData.notifyingPerson,
|
|
1330
|
-
attachment: this.ruleFormData.fileid
|
|
1331
|
-
};
|
|
1332
|
-
this.formLoading = !0, S(Object.assign(this.noticeDetail, a)).then((o) => {
|
|
1333
|
-
o.success ? (this.status == 1 && n(), this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + o.message), this.formLoading = !1, this.refresh();
|
|
1334
|
-
});
|
|
1335
|
-
} else {
|
|
1336
|
-
let a = {
|
|
1337
|
-
content: t.content,
|
|
1338
|
-
status: this.status,
|
|
1339
|
-
title: t.title,
|
|
1340
|
-
type: t.type,
|
|
1341
|
-
receiverGroups: this.ruleFormData.notifyingPerson,
|
|
1342
|
-
attachment: this.ruleFormData.fileid
|
|
1343
|
-
};
|
|
1344
|
-
this.formLoading = !0, C(a).then((o) => {
|
|
1345
|
-
o.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
|
|
1346
|
-
this.$nextTick(() => {
|
|
1347
|
-
g({ pageNo: 1, pageSize: 50 }).then((c) => {
|
|
1348
|
-
this.allData = c.data.rows;
|
|
1349
|
-
const d = this.allData.filter((f) => f.title == t.title && f.content == t.content);
|
|
1350
|
-
d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
|
|
1351
|
-
Object.assign(
|
|
1352
|
-
{
|
|
1353
|
-
...d[0]
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
type: String(d[0].type),
|
|
1357
|
-
content: d[0].content,
|
|
1358
|
-
fileid: d[0].attachment
|
|
1359
|
-
}
|
|
1360
|
-
)
|
|
1361
|
-
)), this.formLoading = !1;
|
|
1362
|
-
});
|
|
1363
|
-
});
|
|
1364
|
-
}, 10), this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F"))) : (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + o.message), this.refresh(), this.formLoading = !1);
|
|
1365
|
-
});
|
|
1366
|
-
}
|
|
1367
|
-
},
|
|
1368
|
-
saveQueries(t) {
|
|
1369
|
-
this.queryParam = t, this.refresh();
|
|
1370
|
-
},
|
|
1371
|
-
read() {
|
|
1372
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1373
|
-
this.$message.warning(this.$i18nt("gd.https.readTip", "\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));
|
|
1374
|
-
return;
|
|
1375
|
-
}
|
|
1376
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1377
|
-
this.$message.warning(this.$i18nt("gd.https.readTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));
|
|
1378
|
-
return;
|
|
1379
|
-
}
|
|
1380
|
-
this.$refs.detailForm.open(this.selectedRows[0]);
|
|
1381
|
-
},
|
|
1382
|
-
rollback() {
|
|
1383
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1384
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1385
|
-
return;
|
|
1386
|
-
}
|
|
1387
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1388
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
|
|
1389
|
-
return;
|
|
1390
|
-
}
|
|
1391
|
-
this.$confirm(this.$i18nt("gd.https.withdrawContent", "\u786E\u8BA4\u64A4\u56DE?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1392
|
-
confirmButtonText: this.$i18nt("gd.https.withdrawOk", "\u7ACB\u5373\u64A4\u56DE!"),
|
|
1393
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1394
|
-
showClose: !1,
|
|
1395
|
-
confirmButtonLoading: !1,
|
|
1396
|
-
cancelButtonLoading: !1,
|
|
1397
|
-
closeOnClickModal: !1,
|
|
1398
|
-
type: "warning",
|
|
1399
|
-
confirmButtonClass: "el-button--danger",
|
|
1400
|
-
customClass: "custom-alert",
|
|
1401
|
-
callback: () => {
|
|
1213
|
+
tableColumns: [
|
|
1214
|
+
{
|
|
1215
|
+
type: "selection",
|
|
1216
|
+
width: "60",
|
|
1217
|
+
fixed: !0
|
|
1402
1218
|
},
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
let i = [];
|
|
1414
|
-
this.selectedRows.forEach((n) => {
|
|
1415
|
-
let a = m({
|
|
1416
|
-
id: n.id,
|
|
1417
|
-
status: 2
|
|
1418
|
-
}).then((o) => o);
|
|
1419
|
-
i.push(a);
|
|
1420
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
|
|
1421
|
-
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
|
|
1422
|
-
const a = n.filter((o) => !o.success);
|
|
1423
|
-
a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
|
|
1424
|
-
});
|
|
1425
|
-
},
|
|
1426
|
-
release() {
|
|
1427
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1428
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
1429
|
-
return;
|
|
1430
|
-
}
|
|
1431
|
-
if (this.selectedRowKeys.length > 1) {
|
|
1432
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
|
|
1433
|
-
return;
|
|
1434
|
-
}
|
|
1435
|
-
this.$confirm(this.$i18nt("gd.https.releaseContent", "\u786E\u8BA4\u53D1\u5E03?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1436
|
-
confirmButtonText: this.$i18nt("gd.https.releaseOk", "\u7ACB\u5373\u53D1\u5E03!"),
|
|
1437
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1438
|
-
showClose: !1,
|
|
1439
|
-
confirmButtonLoading: !1,
|
|
1440
|
-
cancelButtonLoading: !1,
|
|
1441
|
-
closeOnClickModal: !1,
|
|
1442
|
-
type: "warning",
|
|
1443
|
-
confirmButtonClass: "el-button--danger",
|
|
1444
|
-
customClass: "custom-alert",
|
|
1445
|
-
callback: () => {
|
|
1219
|
+
{
|
|
1220
|
+
transKey: "gd.user.account",
|
|
1221
|
+
prop: "account",
|
|
1222
|
+
label: "\u8D26\u53F7",
|
|
1223
|
+
width: "220",
|
|
1224
|
+
type: "slot",
|
|
1225
|
+
slotType: "account",
|
|
1226
|
+
align: "left",
|
|
1227
|
+
fixed: !0,
|
|
1228
|
+
showOverflowTooltip: !0
|
|
1446
1229
|
},
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
s();
|
|
1455
|
-
return;
|
|
1456
|
-
}
|
|
1457
|
-
let i = [];
|
|
1458
|
-
this.selectedRows.forEach((n) => {
|
|
1459
|
-
let a = m({
|
|
1460
|
-
id: n.id,
|
|
1461
|
-
status: 1
|
|
1462
|
-
}).then((o) => o);
|
|
1463
|
-
i.push(a);
|
|
1464
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
|
|
1465
|
-
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
|
|
1466
|
-
const a = n.filter((o) => !o.success);
|
|
1467
|
-
a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
|
|
1468
|
-
});
|
|
1469
|
-
},
|
|
1470
|
-
del() {
|
|
1471
|
-
if (this.selectedRowKeys.length === 0) {
|
|
1472
|
-
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
1473
|
-
return;
|
|
1474
|
-
}
|
|
1475
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1476
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
1477
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1478
|
-
showClose: !1,
|
|
1479
|
-
confirmButtonLoading: !1,
|
|
1480
|
-
cancelButtonLoading: !1,
|
|
1481
|
-
closeOnClickModal: !1,
|
|
1482
|
-
type: "warning",
|
|
1483
|
-
confirmButtonClass: "el-button--danger",
|
|
1484
|
-
customClass: "custom-alert",
|
|
1485
|
-
callback: () => {
|
|
1230
|
+
{
|
|
1231
|
+
transKey: "gd.user.name",
|
|
1232
|
+
prop: "name",
|
|
1233
|
+
label: "\u59D3\u540D",
|
|
1234
|
+
width: "160",
|
|
1235
|
+
align: "left",
|
|
1236
|
+
showOverflowTooltip: !0
|
|
1486
1237
|
},
|
|
1487
|
-
|
|
1488
|
-
|
|
1238
|
+
{
|
|
1239
|
+
transKey: "gd.user.sex",
|
|
1240
|
+
prop: "gender",
|
|
1241
|
+
width: "120",
|
|
1242
|
+
label: "\u6027\u522B",
|
|
1243
|
+
type: "slot",
|
|
1244
|
+
slotType: "gender",
|
|
1245
|
+
align: "left",
|
|
1246
|
+
showOverflowTooltip: !0
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
transKey: "gd.org.displayName",
|
|
1250
|
+
prop: "orgname",
|
|
1251
|
+
label: "\u673A\u6784\u540D\u79F0",
|
|
1252
|
+
width: "180",
|
|
1253
|
+
align: "left",
|
|
1254
|
+
showOverflowTooltip: !0
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
transKey: "gd.user.phone",
|
|
1258
|
+
prop: "phone",
|
|
1259
|
+
width: "160",
|
|
1260
|
+
label: "\u624B\u673A",
|
|
1261
|
+
align: "left"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
transKey: "gd.user.status",
|
|
1265
|
+
prop: "statecodes",
|
|
1266
|
+
label: "\u72B6\u6001",
|
|
1267
|
+
width: "120",
|
|
1268
|
+
type: "slot",
|
|
1269
|
+
slotType: "statecodes",
|
|
1270
|
+
align: "center",
|
|
1271
|
+
dictTypeCode: "state_code",
|
|
1272
|
+
renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
|
|
1273
|
+
effectType: "checkbox",
|
|
1274
|
+
dictTypeCode: "state_code"
|
|
1275
|
+
})
|
|
1489
1276
|
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1277
|
+
],
|
|
1278
|
+
tableQueries: [{
|
|
1279
|
+
transKey: "gd.application.name",
|
|
1280
|
+
prop: "name",
|
|
1281
|
+
label: "\u540D\u79F0",
|
|
1282
|
+
effectType: "input",
|
|
1283
|
+
rules: []
|
|
1284
|
+
}]
|
|
1285
|
+
};
|
|
1286
|
+
}
|
|
1287
|
+
};
|
|
1288
|
+
const re = {
|
|
1289
|
+
props: {
|
|
1290
|
+
height: {
|
|
1291
|
+
type: Number,
|
|
1292
|
+
default: 300
|
|
1506
1293
|
},
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1294
|
+
selectUserRow: {
|
|
1295
|
+
type: Array,
|
|
1296
|
+
default: () => []
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
mixins: [u, ae],
|
|
1300
|
+
data() {
|
|
1301
|
+
return {
|
|
1302
|
+
selectedRows: [],
|
|
1303
|
+
selectedRowKeys: [],
|
|
1304
|
+
queryParam: {
|
|
1305
|
+
searchValue: ""
|
|
1306
|
+
},
|
|
1307
|
+
loadData: (t) => {
|
|
1308
|
+
let e = JSON.parse(JSON.stringify(this.selectUserRow));
|
|
1309
|
+
return T(Object.assign(t, this.queryParam)).then((s) => {
|
|
1310
|
+
let i = [];
|
|
1311
|
+
return e.length > 0 ? i = [...JSON.parse(JSON.stringify(e))].map(String) : i = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
|
|
1312
|
+
this.selectedRowKeys = [...i], this.onSelectChange(i, []);
|
|
1313
|
+
}), s.data;
|
|
1314
|
+
});
|
|
1315
|
+
},
|
|
1316
|
+
detail: {}
|
|
1317
|
+
};
|
|
1318
|
+
},
|
|
1319
|
+
computed: {
|
|
1320
|
+
styled() {
|
|
1321
|
+
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
1513
1322
|
},
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
key: a.id.toString(),
|
|
1521
|
-
label: a.name,
|
|
1522
|
-
description: `description of ${a.name}`
|
|
1523
|
-
};
|
|
1524
|
-
if (t)
|
|
1525
|
-
for (let c = 0; c < t.noticeuseridlist.length; c++)
|
|
1526
|
-
o.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
|
|
1527
|
-
s.push(o);
|
|
1528
|
-
}
|
|
1529
|
-
this.mockData = s, this.targetKeys = e;
|
|
1530
|
-
});
|
|
1323
|
+
...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
1324
|
+
},
|
|
1325
|
+
components: {},
|
|
1326
|
+
methods: {
|
|
1327
|
+
onSelectChange(t, e) {
|
|
1328
|
+
this.selectedRowKeys = t, this.selectedRows = e, this.$emit("ok", this.selectedRowKeys);
|
|
1531
1329
|
},
|
|
1532
|
-
|
|
1533
|
-
this.
|
|
1330
|
+
saveQueries(t) {
|
|
1331
|
+
this.queryParam = { ...t }, this.refresh();
|
|
1534
1332
|
},
|
|
1535
1333
|
refresh() {
|
|
1536
1334
|
this.$refs.table.refresh();
|
|
1537
1335
|
},
|
|
1336
|
+
init(t) {
|
|
1337
|
+
this.queryParam.searchValue = "", this.$refs.table.refresh();
|
|
1338
|
+
},
|
|
1339
|
+
dictSwitch(t, e) {
|
|
1340
|
+
let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
|
|
1341
|
+
return s != null && s.colour ? s.colour : null;
|
|
1342
|
+
},
|
|
1538
1343
|
doEvent(t) {
|
|
1539
1344
|
let e = t.item.functionName;
|
|
1540
1345
|
this[e] && this[e]();
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
mounted() {
|
|
1349
|
+
}
|
|
1350
|
+
};
|
|
1351
|
+
var oe = function() {
|
|
1352
|
+
var e = this, s = e._self._c;
|
|
1353
|
+
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0, showPagination: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: i, row: n }) {
|
|
1354
|
+
return [s("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" } })];
|
|
1355
|
+
} }, { key: "gender", fn: function(i) {
|
|
1356
|
+
return [s("div", { staticStyle: { cursor: "pointer" } }, [s("el-tag", { style: e._f("dictColor")("gender", i.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", i.row.gender)) + " ")])], 1)];
|
|
1357
|
+
} }, { key: "statecodes", fn: function(i) {
|
|
1358
|
+
return [s("div", { staticStyle: { cursor: "pointer" } }, [i.row.statecodes == 1 ? s("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : s("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
|
|
1359
|
+
} }, { key: "operator", fn: function() {
|
|
1360
|
+
return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.keywordTip", "\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"), clearable: "" }, nativeOn: { keyup: function(i) {
|
|
1361
|
+
return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
1362
|
+
} }, model: { value: e.queryParam.searchValue, callback: function(i) {
|
|
1363
|
+
e.$set(e.queryParam, "searchValue", i);
|
|
1364
|
+
}, expression: "queryParam.searchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
|
|
1365
|
+
}, proxy: !0 }]) })], 1)]);
|
|
1366
|
+
}, le = [], ce = /* @__PURE__ */ l(
|
|
1367
|
+
re,
|
|
1368
|
+
oe,
|
|
1369
|
+
le,
|
|
1370
|
+
!1,
|
|
1371
|
+
null,
|
|
1372
|
+
"e622f086",
|
|
1373
|
+
null,
|
|
1374
|
+
null
|
|
1375
|
+
);
|
|
1376
|
+
const de = ce.exports;
|
|
1377
|
+
const ue = {
|
|
1378
|
+
data() {
|
|
1379
|
+
return {
|
|
1380
|
+
confirmLoading: !0,
|
|
1381
|
+
sysViewButtons: [
|
|
1382
|
+
{
|
|
1383
|
+
displayName: "\u786E\u5B9A",
|
|
1384
|
+
functionName: "handleSubmit",
|
|
1385
|
+
show: !0,
|
|
1386
|
+
transKey: "gd.btn.confirm",
|
|
1387
|
+
icon: "el-icon-document-checked"
|
|
1388
|
+
}
|
|
1389
|
+
],
|
|
1390
|
+
type: "noticeuser",
|
|
1391
|
+
fullScreen: !1,
|
|
1392
|
+
width: "90%",
|
|
1393
|
+
visible: !1,
|
|
1394
|
+
userRowList: [],
|
|
1395
|
+
teamRowList: [],
|
|
1396
|
+
roleRowList: [],
|
|
1397
|
+
orgRowList: [],
|
|
1398
|
+
recordData: "",
|
|
1399
|
+
enterType: ""
|
|
1400
|
+
};
|
|
1401
|
+
},
|
|
1402
|
+
components: { noticeUser: de, notcieOrg: V, noticeRole: Y, noticeTeam: ne },
|
|
1403
|
+
computed: {
|
|
1404
|
+
getHeight() {
|
|
1405
|
+
console.log(this.fullScreen, this.screenHeight);
|
|
1406
|
+
const t = this.fullScreen ? 210 : 370;
|
|
1407
|
+
return this.screenHeight - t;
|
|
1541
1408
|
},
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
this.fileList = [];
|
|
1545
|
-
return;
|
|
1546
|
-
}
|
|
1409
|
+
getButtons() {
|
|
1410
|
+
return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
|
|
1547
1411
|
},
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
new FormData().append("file", t.file), _(t).then((i) => {
|
|
1554
|
-
if (i.code === 200) {
|
|
1555
|
-
const n = i.data.url, o = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
|
|
1556
|
-
return this.ruleFormData.fileList = o.join(","), this.ruleFormData.name = i.data.fileoriginname.substring(0, i.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = i.data.id.toString(), t.onSuccess(i.data), i.data;
|
|
1557
|
-
} else
|
|
1558
|
-
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + i.message), t.onError();
|
|
1559
|
-
}).catch((i) => {
|
|
1560
|
-
t.onError(i);
|
|
1561
|
-
});
|
|
1412
|
+
...o(["screenHeight", "tableLists", "primaryColor"])
|
|
1413
|
+
},
|
|
1414
|
+
methods: {
|
|
1415
|
+
toggleFullscreen() {
|
|
1416
|
+
this.fullScreen = !this.fullScreen;
|
|
1562
1417
|
},
|
|
1563
|
-
|
|
1418
|
+
init(t, e) {
|
|
1419
|
+
this.recordData = t, this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0, this.type = "noticeuser", this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [], this.enterType = e, t && (this.getData(t, e), setTimeout(() => {
|
|
1420
|
+
this.$refs.noticeuserRef.init(this.userRowList);
|
|
1421
|
+
}, 100));
|
|
1564
1422
|
},
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1423
|
+
getData(t, e) {
|
|
1424
|
+
v({
|
|
1425
|
+
id: e == "1" ? t[0] : t
|
|
1426
|
+
}).then((s) => {
|
|
1427
|
+
s.data.receivergroups.forEach((n) => {
|
|
1428
|
+
n.receivertype == "1" && (this.userRowList = n.receiveridlist), n.receivertype == "2" && (this.roleRowList = n.receiveridlist), n.receivertype == "3" && (this.teamRowList = n.receiveridlist), n.receivertype == "4" && (this.orgRowList = n.receiveridlist);
|
|
1429
|
+
});
|
|
1430
|
+
});
|
|
1570
1431
|
},
|
|
1571
|
-
|
|
1572
|
-
let e =
|
|
1573
|
-
|
|
1574
|
-
const s = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
|
|
1575
|
-
["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(s) ? this.imgPreview(t.response.id) : this.downFile(t);
|
|
1432
|
+
doEvent(t) {
|
|
1433
|
+
let e = t.item.functionName;
|
|
1434
|
+
this[e] && this[e]();
|
|
1576
1435
|
},
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
const s = window.URL.createObjectURL(new Blob([e]));
|
|
1582
|
-
this.imgList = [s], this.currentImg = s, this.$refs.imgPreview.open();
|
|
1436
|
+
tabChange(t) {
|
|
1437
|
+
this.$nextTick(() => {
|
|
1438
|
+
setTimeout(() => {
|
|
1439
|
+
}, 0);
|
|
1583
1440
|
});
|
|
1584
1441
|
},
|
|
1585
|
-
|
|
1586
|
-
this
|
|
1587
|
-
Object.assign(t, {
|
|
1588
|
-
fileId: t.response && t.response.fileoriginname ? t.response.id : t.fileId
|
|
1589
|
-
})
|
|
1590
|
-
);
|
|
1442
|
+
handleCancel() {
|
|
1443
|
+
this.visible = !1, this.confirmLoading = !1, this.userRowList = [], this.teamRowList = [], this.roleRowList = [], this.orgRowList = [];
|
|
1591
1444
|
},
|
|
1592
|
-
|
|
1593
|
-
let
|
|
1594
|
-
|
|
1445
|
+
handleSubmit() {
|
|
1446
|
+
let t = [
|
|
1447
|
+
{
|
|
1448
|
+
receiverType: "1",
|
|
1449
|
+
receiverIdList: this.userRowList.map(Number)
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
receiverType: "2",
|
|
1453
|
+
receiverIdList: this.roleRowList.map(Number)
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
receiverType: "3",
|
|
1457
|
+
receiverIdList: this.teamRowList.map(Number)
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
receiverType: "4",
|
|
1461
|
+
receiverIdList: this.orgRowList.map(Number)
|
|
1462
|
+
}
|
|
1463
|
+
];
|
|
1464
|
+
this.handleCancel(), this.$emit("ok", t);
|
|
1595
1465
|
},
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
id: t
|
|
1599
|
-
}).then((e) => {
|
|
1600
|
-
this.ruleFormData.fileList = e.data.url, this.ruleFormData.name = e.data.fileoriginname.substring(0, e.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = e.data.id.toString(), this.fileListFile = [
|
|
1601
|
-
{
|
|
1602
|
-
name: e.data.fileoriginname,
|
|
1603
|
-
url: e.data.url,
|
|
1604
|
-
response: {
|
|
1605
|
-
id: e.data.id,
|
|
1606
|
-
url: e.data.url,
|
|
1607
|
-
fileoriginname: e.data.fileoriginname
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
];
|
|
1611
|
-
});
|
|
1466
|
+
selectUser(t) {
|
|
1467
|
+
this.userRowList = t;
|
|
1612
1468
|
},
|
|
1613
|
-
|
|
1614
|
-
|
|
1469
|
+
selectTeam(t) {
|
|
1470
|
+
this.teamRowList = t;
|
|
1615
1471
|
},
|
|
1616
|
-
|
|
1617
|
-
this.
|
|
1472
|
+
selectRole(t) {
|
|
1473
|
+
this.roleRowList = t;
|
|
1474
|
+
},
|
|
1475
|
+
selectOrg(t) {
|
|
1476
|
+
this.orgRowList = t;
|
|
1618
1477
|
}
|
|
1619
1478
|
}
|
|
1620
1479
|
};
|
|
1621
1480
|
var he = function() {
|
|
1622
1481
|
var e = this, s = e._self._c;
|
|
1623
|
-
return s("
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
}, proxy: !0 }, { key: "title", fn: function({ column: i, row: n }) {
|
|
1630
|
-
return [s("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
|
|
1631
|
-
} }, { key: "type", fn: function(i) {
|
|
1632
|
-
return [s("el-tag", { style: e._f("dictColor")("notice_type", i.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", i.row.type)) + " ")])];
|
|
1633
|
-
} }, { key: "status", fn: function(i) {
|
|
1634
|
-
return [s("el-tag", { style: e._f("dictColor")("notice_status", i.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", i.row.status)) + " ")])];
|
|
1635
|
-
} }, { key: "filtering", fn: function({ colse: i, visible: n }) {
|
|
1636
|
-
return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: n }, on: { save: e.saveQueries } })];
|
|
1637
|
-
} }]) })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "100%", transKey: e.transKey, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, buttons: e.getButtons, loading: e.formLoading }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "targetKeys", fn: function({ data: i, column: n }) {
|
|
1638
|
-
return [s("el-transfer", { attrs: { data: e.mockData, titles: ["\u672A\u9009", "\u5DF2\u9009"], filterable: "" }, on: { change: e.handleChange }, model: { value: e.targetKeys, callback: function(a) {
|
|
1639
|
-
e.targetKeys = a;
|
|
1640
|
-
}, expression: "targetKeys" } })];
|
|
1641
|
-
} }, { key: "notifyingPerson", fn: function({ data: i, column: n }) {
|
|
1642
|
-
return [s("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(a) {
|
|
1643
|
-
return e.noticePerson(i);
|
|
1644
|
-
} } }, [s("i", { staticClass: "gd-icons el-icon-bell" }), e._v(" " + e._s(e.$i18nt("gd.notice.notice", "\u901A\u77E5")))])];
|
|
1645
|
-
} }, { key: "notice_type", fn: function({ data: i, column: n }) {
|
|
1646
|
-
return [s("el-radio-group", { on: { change: e.changeMode }, model: { value: i.type, callback: function(a) {
|
|
1647
|
-
e.$set(i, "type", a);
|
|
1648
|
-
}, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(a, o) {
|
|
1649
|
-
return s("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
|
|
1650
|
-
}), 1)];
|
|
1651
|
-
} }, { key: "fileList", fn: function({ data: i, column: n }) {
|
|
1652
|
-
return [s("el-upload", { attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: n.limit, accept: n.accept, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile } }, [s("el-button", { attrs: { size: "mini", type: "primary" } }, [s("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)];
|
|
1653
|
-
} }]) }), s("detailForm", { ref: "detailForm" }), s("editNoticeForm", { ref: "editNoticeFormRef", on: { ok: e.handleOk } }), s("gd-file-preview", { ref: "filePreview" }), s("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
|
|
1654
|
-
}, pe = [], fe = /* @__PURE__ */ l(
|
|
1482
|
+
return s("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
1483
|
+
e.visible = i;
|
|
1484
|
+
}, closed: e.handleCancel } }, [s("gd-modal-title", { attrs: { slot: "title", title: `${e.$i18nt("gd.notice.notifyingPerson", "\u901A\u77E5")}`, fullscreen: e.fullScreen, buttons: e.getButtons, confirmLoading: e.confirmLoading, closed: "handleCancel", showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-tabs", { attrs: { type: "card" }, on: { "tab-click": e.tabChange }, model: { value: e.type, callback: function(i) {
|
|
1485
|
+
e.type = i;
|
|
1486
|
+
}, expression: "type" } }, [s("el-tab-pane", { attrs: { name: "noticeuser", label: e.$i18nt("gd.fieldSecurity.user", "\u7528\u6237") } }, [e.type == "noticeuser" ? s("noticeUser", { ref: "noticeuserRef", attrs: { selectUserRow: e.userRowList, height: e.getHeight }, on: { ok: e.selectUser } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticeteam", label: e.$i18nt("gd.fieldSecurity.team", "\u56E2\u961F") } }, [e.type == "noticeteam" ? s("noticeTeam", { ref: "noticeteamRef", attrs: { selectTeamRow: e.teamRowList, height: e.getHeight }, on: { ok: e.selectTeam } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticerole", label: e.$i18nt("gd.fieldSecurity.role", "\u89D2\u8272") } }, [e.type == "noticerole" ? s("noticeRole", { ref: "noticeroleRef", attrs: { selectRoleRow: e.roleRowList, height: e.getHeight }, on: { ok: e.selectRole } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticeorg", label: e.$i18nt("gd.pagecomponents.institution", "\u673A\u6784") } }, [e.type == "noticeorg" ? s("notcieOrg", { ref: "noticeorgRef", attrs: { selectOrgRow: e.orgRowList, height: e.getHeight }, on: { ok: e.selectOrg } }) : e._e()], 1)], 1)], 1)])], 1);
|
|
1487
|
+
}, fe = [], pe = /* @__PURE__ */ l(
|
|
1655
1488
|
ue,
|
|
1656
1489
|
he,
|
|
1657
|
-
|
|
1490
|
+
fe,
|
|
1658
1491
|
!1,
|
|
1659
1492
|
null,
|
|
1660
|
-
"
|
|
1493
|
+
"ee7d37db",
|
|
1661
1494
|
null,
|
|
1662
1495
|
null
|
|
1663
1496
|
);
|
|
1664
|
-
const
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
};
|
|
1668
|
-
h.install = function(t) {
|
|
1669
|
-
t.component(h.name, h);
|
|
1670
|
-
};
|
|
1497
|
+
const ge = pe.exports, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1498
|
+
__proto__: null,
|
|
1499
|
+
default: ge
|
|
1500
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1671
1501
|
export {
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
Ce as c,
|
|
1676
|
-
h as d,
|
|
1677
|
-
xe as e,
|
|
1678
|
-
Le as f,
|
|
1679
|
-
F as g,
|
|
1680
|
-
_e as h,
|
|
1681
|
-
Te as i,
|
|
1682
|
-
ve as j,
|
|
1683
|
-
y as k,
|
|
1684
|
-
q as l,
|
|
1685
|
-
$e as m,
|
|
1686
|
-
Oe as n,
|
|
1687
|
-
Pe as o,
|
|
1688
|
-
De as p,
|
|
1689
|
-
Fe as q,
|
|
1690
|
-
Ne as r,
|
|
1691
|
-
Ke as s,
|
|
1692
|
-
ke as t
|
|
1502
|
+
f as G,
|
|
1503
|
+
I as m,
|
|
1504
|
+
h as n
|
|
1693
1505
|
};
|