gds-plus-design-vue 1.2.62 → 1.2.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.5036013c.js +1 -0
- package/lib/addPermission.9fc97a47.mjs +421 -0
- package/lib/approvalModel.51d07afe.mjs +340 -0
- package/lib/approvalModel.66f49dfb.js +1 -0
- package/lib/attribute.318f485c.js +1 -0
- package/lib/attribute.a06ac9e7.mjs +237 -0
- package/lib/buildItem.6a834227.js +1 -0
- package/lib/buildItem.fd8634ab.mjs +205 -0
- package/lib/businessRules.0e4dbb3a.js +1 -0
- package/lib/businessRules.db6ba874.mjs +538 -0
- package/lib/components.chartbi.b043dcdc.mjs +1729 -0
- package/lib/components.chartbi.e4680eaa.js +7 -0
- package/lib/components.coloreditor.044983d2.mjs +1505 -0
- package/lib/components.coloreditor.779a9419.js +6 -0
- package/lib/components.dataassign.1853ed5c.js +1 -0
- package/lib/components.dataassign.56632583.mjs +147 -0
- package/lib/components.echarts.10d3ffe2.mjs +794 -0
- package/lib/components.echarts.e4d6b13e.js +3 -0
- package/lib/components.exception.3cc33e29.js +1 -0
- package/lib/components.exception.cc2f4ca3.mjs +61 -0
- package/lib/components.form.3344c817.mjs +7785 -0
- package/lib/components.form.91d5ed3e.js +41 -0
- package/lib/components.globalheader.07a90c4b.js +1 -0
- package/lib/components.globalheader.43fafa8c.mjs +54 -0
- package/lib/components.iconselector.8caabeaa.mjs +1165 -0
- package/lib/components.iconselector.d712170f.js +1 -0
- package/lib/components.imgpreview.57290b54.mjs +213 -0
- package/lib/components.imgpreview.86bf7971.js +1 -0
- package/lib/components.lunccalendar.76159d2e.js +1 -0
- package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
- package/lib/components.middleware.3bad5748.js +1 -0
- package/lib/components.middleware.457b1182.mjs +147 -0
- package/lib/components.modaltitle.ae92f96c.mjs +127 -0
- package/lib/components.modaltitle.e0b34fcb.js +1 -0
- package/lib/components.multitab.82fd0544.js +1 -0
- package/lib/components.multitab.8441aa6b.mjs +140 -0
- package/lib/components.selecttree.85d940a9.mjs +170 -0
- package/lib/components.selecttree.d710a362.js +1 -0
- package/lib/components.settingdrawer.779f6715.js +1 -0
- package/lib/components.settingdrawer.a6693034.mjs +237 -0
- package/lib/components.sidemenu.725677e3.mjs +277 -0
- package/lib/components.sidemenu.80e46c2d.js +1 -0
- package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
- package/lib/components.sidenavmenu.b9bb9304.js +1 -0
- package/lib/components.statuschange.15938660.mjs +116 -0
- package/lib/components.statuschange.ed1218a4.js +1 -0
- package/lib/components.table.17c02054.js +8 -0
- package/lib/components.table.e3e5e3bc.mjs +4635 -0
- package/lib/components.tableumy.2f5dfa12.mjs +450 -0
- package/lib/components.tableumy.9cf33062.js +1 -0
- package/lib/components.tablevirtual.38d4d3d8.js +1 -0
- package/lib/components.tablevirtual.ba03746e.mjs +561 -0
- package/lib/components.teamsharing.05503821.js +1 -0
- package/lib/components.teamsharing.fb4351ec.mjs +373 -0
- package/lib/components.tooltip.950dc77b.mjs +86 -0
- package/lib/components.tooltip.a05d8dd1.js +1 -0
- package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
- package/lib/components.uploadfile.5a9b6cc1.js +1 -0
- package/lib/components.uploadimg.cce7452a.js +1 -0
- package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
- package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
- package/lib/components.verificationcode.d1946db4.js +1 -0
- package/lib/components.viewformdetails.1621bc18.js +1 -0
- package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
- package/lib/components.viewloading.807bbf68.js +1 -0
- package/lib/components.viewloading.ea40b244.mjs +96 -0
- package/lib/components.watermark.1ffc66e0.mjs +53 -0
- package/lib/components.watermark.da3d7220.js +2 -0
- package/lib/components.xlsxexport.d98572f8.mjs +263 -0
- package/lib/components.xlsxexport.f5ace2cd.js +1 -0
- package/lib/components.xlsximport.cffa88fe.mjs +913 -0
- package/lib/components.xlsximport.dbd826bb.js +1 -0
- package/lib/createFile.6b37ecf2.js +1 -0
- package/lib/createFile.82d6e415.mjs +239 -0
- package/lib/createSubfolders.47af629c.js +1 -0
- package/lib/createSubfolders.d35b97e9.mjs +154 -0
- package/lib/dialogLayout.08823bb7.js +1 -0
- package/lib/dialogLayout.c4bc3b55.mjs +138 -0
- package/lib/drawerContainer.604a1271.mjs +146 -0
- package/lib/drawerContainer.6a9813ce.js +1 -0
- package/lib/drawerLayout.36cf4d05.js +1 -0
- package/lib/drawerLayout.fb60950f.mjs +119 -0
- package/lib/fileSearch.65311ded.js +1 -0
- package/lib/fileSearch.86c356fe.mjs +338 -0
- package/lib/flow.designer.1ba3a90d.js +1 -0
- package/lib/flow.designer.6da03949.mjs +7686 -0
- package/lib/flow.list.03694808.mjs +3030 -0
- package/lib/flow.list.4eb10554.js +1 -0
- package/lib/form.build.51bd261e.js +1 -0
- package/lib/form.build.b768d613.mjs +251 -0
- package/lib/form.designer.build.5a950455.js +1 -0
- package/lib/form.designer.build.e521c9c6.mjs +5091 -0
- package/lib/formFiled.464856f5.js +1 -0
- package/lib/formFiled.fe7d9df3.mjs +505 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +221 -91338
- package/lib/http.appmanage.4554a629.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
- package/lib/http.codegeneratemanage.aecadd5d.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.4baf16c0.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.77c69971.mjs +50 -0
- package/lib/http.duplicatechecking.31964ce7.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.7c656b91.js +1 -0
- package/lib/http.filedocument.d456d26a.mjs +156 -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.2f8a6936.js +1 -0
- package/lib/http.main.40657f51.mjs +517 -0
- package/lib/http.menumanage.3240ba0d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.5004bf60.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.e03bd5f3.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.5162fd7a.js +1 -0
- package/lib/http.orgmanage.84e43edb.mjs +58 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.rolemanage.03363732.js +1 -0
- package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
- package/lib/http.solution.175d36c8.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.608a06d6.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.e294ceaf.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.1d370398.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.c8487c0b.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
- package/lib/http.timersmanage.6e894942.js +1 -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.a4640c9a.mjs +104 -0
- package/lib/http.useraffiliation.840741ed.mjs +90 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.usermanage.3e5eff33.mjs +219 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.webresource.5158b431.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.69ad4631.mjs +44291 -0
- package/lib/index.cca024bf.js +8 -0
- package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
- package/lib/layoutBlocks.5e6be06f.js +1 -0
- package/lib/layouts.051a0bba.mjs +376 -0
- package/lib/layouts.a6a36612.js +2 -0
- package/lib/main.457f4326.js +1 -0
- package/lib/main.4fff412e.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
- package/lib/main.c3726602.js +1 -0
- package/lib/manage.5bb4f719.js +1 -0
- package/lib/manage.a1df9b88.mjs +419 -0
- package/lib/messages.7b74736f.js +9 -0
- package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
- package/lib/moveFile.0ce803e0.js +1 -0
- package/lib/moveFile.8310ea94.mjs +254 -0
- package/lib/page.build.685c1e15.mjs +3158 -0
- package/lib/page.build.846096e6.js +12 -0
- package/lib/personal.echarts.b22fba61.mjs +701 -0
- package/lib/personal.echarts.f77bfc9e.js +1 -0
- package/lib/result.19351665.mjs +526 -0
- package/lib/result.e59c0e40.js +1 -0
- package/lib/router.config.2501ec51.js +1 -0
- package/lib/router.config.98a73167.mjs +3172 -0
- package/lib/solution.58580123.js +1 -0
- package/lib/solution.890ff164.mjs +6942 -0
- package/lib/store.config.3cb11578.js +1 -0
- package/lib/store.config.fff8a5a1.mjs +542 -0
- package/lib/style.css +3 -3
- package/lib/system.account.014f3e0b.mjs +2097 -0
- package/lib/system.account.0d4f1fdc.js +216 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
- package/lib/system.config.210f516c.js +1 -0
- package/lib/system.datasource.82492d27.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
- package/lib/system.dict.f5708400.js +1 -0
- package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
- package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
- package/lib/system.email.070ab2be.js +1 -0
- package/lib/system.email.252fd642.mjs +138 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
- package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
- package/lib/system.file.17a7f2ed.js +1 -0
- package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
- package/lib/system.onlineuser.e2e39bdc.js +1 -0
- package/lib/system.org.79ee5bd6.js +1 -0
- package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
- package/lib/system.plugin.b34a3b47.js +1 -0
- package/lib/system.pos.0a3d2a37.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
- package/lib/system.sumberrules.bb228fce.js +1 -0
- package/lib/system.team.32183b63.js +1 -0
- package/lib/system.team.e6a9608e.mjs +450 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
- package/lib/system.teammembers.847d8ea7.js +1 -0
- package/lib/system.timers.28691ce4.js +38 -0
- package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
- package/lib/system.useraffiliation.7547b9c7.js +1 -0
- package/lib/system.webresource.12712b90.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
- package/lib/system.welcome.f64e49f8.js +1 -0
- package/lib/tcheckboxs.090e75eb.mjs +52 -0
- package/lib/tcheckboxs.99361be3.js +1 -0
- package/lib/tcurrency.0ddac2f8.mjs +92 -0
- package/lib/tcurrency.62763c6d.js +1 -0
- package/lib/tdatepicker.8fe48b1b.mjs +52 -0
- package/lib/tdatepicker.b19e689d.js +1 -0
- package/lib/tdictSwitch.2e07dc8a.js +1 -0
- package/lib/tdictSwitch.43d882c7.mjs +60 -0
- package/lib/tfile.1bc381f9.js +1 -0
- package/lib/tfile.72925615.mjs +62 -0
- package/lib/tparticipants.77b876e2.js +1 -0
- package/lib/tparticipants.ca5b556c.mjs +56 -0
- package/lib/translation.mains.1ce7e110.js +1 -0
- package/lib/translation.mains.278e4ba6.mjs +383 -0
- package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
- package/lib/utils.datepicker.js.8576e2fc.js +1 -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.util.js.50d1ec9c.js +1 -0
- package/lib/utils.util.js.82cd8447.mjs +424 -0
- package/lib/view.build.b44fd7d7.js +1 -0
- package/lib/view.build.f2a9fcfb.mjs +2727 -0
- package/lib/viewList.5a25c4b6.mjs +346 -0
- package/lib/viewList.be5a5ec5.js +1 -0
- package/locale/en_US.js +38 -22
- package/locale/id_ID.js +22 -6
- package/locale/vi_VN.js +1929 -1913
- package/locale/zh_CN.js +44 -28
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./components.chartbi.e4680eaa.js"),p=require("./http.loginmanage.326984c3.js"),k=require("./components.settingdrawer.779f6715.js"),w=require("./components.xlsximport.dbd826bb.js"),D=require("./utils.util.js.50d1ec9c.js"),E=require("./http.main.2f8a6936.js"),g=require("./http.noticemanage.2507d094.js"),$=require("./http.noticereceivedmanage.e8ec9c9d.js"),x=require("./utils.mixins.js.750ca50e.js");require("./components.form.91d5ed3e.js");const I=require("./http.filemanage.7e6e3e1a.js");const T={props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{}},computed:{options(){return this.basicAttribute.logo||{}},tstyle(){return`font-size:${this.options.titleFont!==void 0?this.options.titleFont:15}px`},ystyle(){return`font-size:${this.options.subtitleFont!==void 0?this.options.subtitleFont:11}px`},...r.mapGetters(["userInfo","addRouters","userFavoriteMenu","theme","sidebar"])},methods:{}};var R=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"user-logo",class:e.theme==="light"?"":"user-logo-dark"},[e.options.mode==="imageWithText"?t("div",{staticClass:"logo"},[t("div",{staticClass:"picture"},[e.options.smallPicture?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.options.smallPicture,expression:"options.smallPicture"}],staticClass:"img",attrs:{"data-url":e.options.smallPicture,"data-load":"Y"}}):e._e()]),e.sidebar?e._e():t("div",{staticClass:"company"},[t("div",{staticClass:"title line1",style:e.tstyle},[e._v(e._s(e.options.title))]),t("div",{staticClass:"ytitle line1",style:e.ystyle},[e._v(e._s(e.options.subtitle))])])]):t("div",{staticClass:"logo"},[e.sidebar?t("div",{staticClass:"picture"},[e.options.smallPicture?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.options.smallPicture,expression:"options.smallPicture"}],staticClass:"img",attrs:{"data-url":e.options.smallPicture,"data-load":"Y"}}):e._e()]):t("div",{staticClass:"bpicture"},[e.options.bigPicture?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.options.bigPicture,expression:"options.bigPicture"}],staticClass:"img",attrs:{"data-url":e.options.bigPicture,"data-load":"Y"}}):e._e()])])])])},S=[],B=r.normalizeComponent(T,R,S,!1,null,"15f8e6cd",null,null);const F=B.exports;var m=null;const N={props:{menus:{type:Array,required:!0},collapsed:{type:Boolean,required:!1,default:!1},activeKey:{type:String,default:""}},data(){return{record:{},visible:!1,modeMenus:"singleton",name:"",appMenus:[],omodeMenus:"singleton"}},computed:{getUserFavoriteMenu(){let s=[];return this.userFavoriteMenu.forEach(e=>{s.push(e.menuid)}),s},favoriteMenus(){let s=[];return this.appMenus.map(e=>{e.children.map(t=>{t.type==1&&s.push(Object.assign(t,{menus:e})),t.children&&t.children.map(i=>{s.push(Object.assign(i,{menus:e}))})})}),s.filter(e=>this.getUserFavoriteMenu.includes(e.id))},modeList(){let s=[];return this.menus.forEach(e=>{(this.modeMenus==="singleton"&&e.code===this.record.code||this.modeMenus==="multiple")&&s.push(e.code)}),s},getMode(){let s="gd-icon-bullet-list--points-bullet-unordered-list-lists-bu";return this.modeMenus==="multiple"?s="gd-icon-application":this.modeMenus==="collect"&&(s="gd-icon-star"),s},lstyle(){let s=this.menusWidth.split("&"),e=372;if(s[0]==="secondary")e=472;else if(s[0]==="big")e=672;else if(s[0]==="custom")return`flex:0 0 ${s[1]}px`;return`flex:0 0 ${e}px`},styleds(){return{padding:this.collapsed?`0 0 0 ${this.sidebarConfig.foldWidth}px`:`0 0 0 ${this.sidebarConfig.horizontalWidth}px`}},mstyle(){return{"--bjsmenuvar":"#282c31","--bjseachvar":"#111314"}},cstyle(){return`color:${this.primaryColor}`},fadeColord(){return this.fadeColor(this.primaryColor,.1)},...r.mapGetters(["userInfo","primaryColor","menusSearchMode","userFavoriteMenu","menusWidth","theme","sidebarConfig"])},methods:{seachName(s){let e=[...this.appMenus];e.forEach((t,i)=>{t.children.forEach((o,l)=>{let v=[];o.children&&(o.children.forEach((h,b)=>{let M=this.$i18nt(`Dynamics.${h.transkey}`,h.meta.title);e[i].children[l].children[b].show=M.toLowerCase().includes(s.toLowerCase())}),v=o.children.filter(h=>h.show));let C=this.$i18nt(`Dynamics.${o.transkey}`,o.meta.title);e[i].children[l].show=v.length>0?!0:C.toLowerCase().includes(s.toLowerCase())});let a=this.$i18nt(`Dynamics.${t.transkey}`,t.name),n=t.children.filter(o=>o.show)[0];e[i].show=n!==void 0?!0:a.toLowerCase().includes(s.toLowerCase())}),this.appMenus=[...e],s===""&&this.modeMenus==="multiple"&&this.scrollToAnchor(this.record)},query(){this.seachName(this.name.trim())},changeName(s){this.seachName(s.trim())},refreshCollect(){m&&clearTimeout(m),m=setTimeout(()=>{this.getSysBookmarkPage()},2e3)},countCollect(s,e,t){let i=this.userFavoriteMenu.filter(a=>a.menuId!=s.id);e===1&&i.push(t),this.UserFavoriteMenu(i),this.refreshCollect()},collectMenu(s,e){if(m&&clearTimeout(m),e===1){this.sysBookmarkAdd(s).then(t=>{t.success&&this.countCollect(s,e,t.data)});return}this.sysBookmarkDelete(s).then(t=>{t.success&&this.countCollect(s,e)})},sysBookmarkAdd(s){let e={userId:this.userInfo.id,menuId:s.id,order:0,name:s.meta.title};return p.sysBookmarkAdd(e).then(t=>t)},sysBookmarkDelete(s){let t={id:this.userFavoriteMenu.filter(i=>i.menuid==s.id)[0].id};return p.sysBookmarkDelete(t).then(i=>i)},getSysBookmarkPage(){let s={userId:this.userInfo.id,pageNo:1,pageSize:200};p.sysBookmarkPage(s).then(e=>{e.code===200&&this.UserFavoriteMenu(e.data.rows)})},selMode(s){s!==this.modeMenus&&(this.omodeMenus=this.modeMenus==="collect"?this.omodeMenus:this.modeMenus,this.modeMenus=s,this.MenusSearchMode(s),s==="multiple"&&this.scrollToAnchor(this.record),this.$refs.popover_seach.doClose())},mouseenter(){this.$emit("mouseenter")},mouseleave(){this.$emit("mouseleave")},open(s){this.record=s,this.visible=!0,this.scrollToAnchor(s)},close(){this.visible=!1,this.$emit("close")},setAppMenus(s){this.appMenus=s},goPath(s,e,t){(s.type===void 0?e:s.type)===1&&(this.$emit("goPath",{data:t,item:s}),this.name!==""&&(this.name="",this.query()),this.modeMenus==="collect"&&(this.modeMenus=this.omodeMenus),this.close(),this.$nextTick(()=>{setTimeout(()=>{if((s.opentype!==void 0?s.opentype:1)===2){const n=s.meta.link;n&&window.open(n);return}this.$router.push({name:s.name})},0)}))},scrollToAnchor(s){this.$nextTick(()=>{let e=document.getElementById(`gd-menus-item-${s.code}`);e&&e.scrollIntoView({behavior:"auto"})})},fadeColor(s,e){let t=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),a=parseInt(s.substring(5,7),16);return`rgba(${t},${i},${a},${e})`},...r.mapActions(["MenusSearchMode","UserFavoriteMenu"])},created(){this.modeMenus=this.menusSearchMode}};var z=function(){var e=this,t=e._self._c;return t("div",{style:e.mstyle},[e.visible?t("div",{staticClass:"gd-menus",class:e.theme==="light"?"":"gd-menus-dark",style:e.styleds},[t("div",{staticClass:"gd-menus-list",style:e.lstyle,on:{mouseenter:e.mouseenter,mouseleave:e.mouseleave}},[t("div",{staticClass:"gd-seach"},[t("el-input",{staticClass:"inpu",attrs:{placeholder:e.$i18nt("gd.menu.searchModeName","\u8BF7\u8F93\u5165\u5185\u5BB9"),clearable:""},on:{input:e.changeName},model:{value:e.name,callback:function(i){e.name=i},expression:"name"}},[t("el-popover",{ref:"popover_seach",staticClass:"el-input__icon",attrs:{slot:"prefix",placement:"top-start",trigger:"hover"},slot:"prefix"},[t("div",{staticClass:"popover-hand",style:{"--dilute":e.fadeColord},on:{mouseenter:e.mouseenter}},[t("div",{staticClass:"popover-hand-name",class:e.modeMenus==="singleton"?"inpu-item-activ":"",on:{click:function(i){return i.stopPropagation(),e.selMode("singleton")}}},[t("i",{staticClass:"gd-icons gd-icon-bullet-list--points-bullet-unordered-list-lists-bu"}),e._v(" "+e._s(e.$i18nt("gd.menu.singletonMode","\u5355\u4F8B\u6A21\u5F0F"))+" ")]),t("div",{staticClass:"popover-hand-name",class:e.modeMenus==="multiple"?"inpu-item-activ":"",on:{click:function(i){return i.stopPropagation(),e.selMode("multiple")}}},[t("i",{staticClass:"gd-icons gd-icon-application"}),e._v(" "+e._s(e.$i18nt("gd.menu.multipleMode","\u591A\u4F8B\u6A21\u5F0F"))+" ")]),t("div",{staticClass:"popover-hand-name",class:e.modeMenus==="collect"?"inpu-item-activ":"",on:{click:function(i){return i.stopPropagation(),e.selMode("collect")}}},[t("i",{staticClass:"gd-icons gd-icon-star"}),e._v(" "+e._s(e.$i18nt("gd.menu.collectMode","\u6536\u85CF\u6A21\u5F0F"))+" ")])]),t("i",{staticClass:"gd-icons",class:e.getMode,staticStyle:{"line-height":"32px","padding-left":"2px",cursor:"pointer"},attrs:{slot:"reference"},slot:"reference"})]),t("i",{staticClass:"el-input__icon el-icon-search",staticStyle:{"font-size":"16px",cursor:"pointer"},attrs:{slot:"suffix"},on:{click:e.query},slot:"suffix"})],1)],1),e.modeMenus==="collect"?t("div",{staticClass:"gd-center"},[t("div",{staticClass:"gd-menus-item"},[t("div",{staticClass:"item-list"},[e._l(e.favoriteMenus,function(i){return[t("div",{staticClass:"item",on:{click:function(a){return e.goPath(i,2,i.menus)}}},[i.meta&&i.meta.icon&&i.meta.icon!=="none"?t("div",{staticClass:"iteml"},[t("i",{staticClass:"gd-icons icons-menu",class:i.meta.icon,staticStyle:{"font-size":"16px"}})]):e._e(),t("div",{staticClass:"gdtitle line1",attrs:{title:e.$i18nt(`Dynamics.${i.transkey}`,i.meta.title)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.meta.title))+" ")]),t("div",{staticClass:"item-collect"},[t("i",{staticClass:"collect el-icon-delete",staticStyle:{color:"red"},on:{click:function(a){return a.stopPropagation(),e.collectMenu(i,2)}}})])])]})],2)])]):t("div",{staticClass:"gd-center",class:e.modeMenus==="multiple"?"gd-centerbj":""},[e._l(e.appMenus,function(i,a){return[e.modeList.includes(i.code)?t("div",{staticClass:"gd-menus-item",class:a!=0&&i.show?"gd-menus-itembj":"",attrs:{id:`gd-menus-item-${i.code}`}},[i.show&&e.modeMenus==="multiple"?t("div",{staticClass:"divider"},[t("div",{staticClass:"dividerl"},[t("i",{staticClass:"gd-icons icons-menu",class:i.icon})]),t("span",{staticClass:"gdtitle",attrs:{title:e.$i18nt(`Dynamics.${i.transkey}`,i.name)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.name))+" ")])]):e._e(),e._l(i.children,function(n){return[!n.hidden&&n.show?t("div",[n.type==1?t("div",{staticClass:"item-list"},[t("div",{staticClass:"item",class:n.path===e.activeKey?"itemactive":"",on:{click:function(o){return e.goPath(n,1,i)}}},[n.meta&&n.meta.icon&&n.meta.icon!=="none"?t("div",{staticClass:"iteml"},[t("i",{staticClass:"gd-icons icons-menu",class:n.meta.icon})]):e._e(),t("div",{staticClass:"gdtitle line1",attrs:{title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title))+" ")]),e.getUserFavoriteMenu.includes(n.id)?t("div",{staticClass:"item-collected"},[e.getUserFavoriteMenu.includes(n.id)?t("i",{staticClass:"gd-icons gd-icon-star-full",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,2)}}}):t("i",{staticClass:"gd-icons gd-icon-star",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,2)}}})]):t("div",{staticClass:"item-collect"},[t("i",{staticClass:"gd-icons collect gd-icon-star",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,1)}}})])])]):t("div",{staticClass:"dividers"},[e.modeMenus==="singleton"?t("el-divider",{attrs:{orientation:"left","content-position":"left"}},[t("span",{staticClass:"gdtitle",class:n.path===e.activeKey?"itemactive":"",attrs:{title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)},on:{click:function(o){return e.goPath(n,2,i)}}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title))+" ")])]):t("span",{staticClass:"gdtitle",class:n.path===e.activeKey?"itemactive":"",attrs:{title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)},on:{click:function(o){return e.goPath(n,2,i)}}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title))+" ")])],1),n.children?t("div",{staticClass:"item-list"},[e._l(n.children,function(o){return[!o.hidden&&o.show?t("div",{staticClass:"item",class:o.path===e.activeKey?"itemactive":"",on:{click:function(l){return e.goPath(o,1,i)}}},[o.meta&&o.meta.icon&&o.meta.icon!=="none"?t("div",{staticClass:"iteml"},[t("i",{staticClass:"icons-menu gd-icons",class:o.meta.icon,staticStyle:{"font-size":"16px"}})]):e._e(),t("div",{staticClass:"gdtitle line1",attrs:{title:e.$i18nt(`Dynamics.${o.transkey}`,o.meta.title)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${o.transkey}`,o.meta.title))+" ")]),e.getUserFavoriteMenu.includes(o.id)?t("div",{staticClass:"item-collected"},[e.getUserFavoriteMenu.includes(o.id)?t("i",{staticClass:"gd-icons gd-icon-star-full",style:e.cstyle,on:{click:function(l){return l.stopPropagation(),e.collectMenu(o,2)}}}):t("i",{staticClass:"gd-icons gd-icon-star",style:e.cstyle,on:{click:function(l){return l.stopPropagation(),e.collectMenu(o,2)}}})]):t("div",{staticClass:"item-collect"},[t("i",{staticClass:"gd-icons collect gd-icon-star",style:e.cstyle,on:{click:function(l){return l.stopPropagation(),e.collectMenu(o,1)}}})])]):e._e()]})],2):e._e()]):e._e()]})],2):e._e()]}),t("div",{staticClass:"zhan-bj"})],2)]),t("div",{staticClass:"gd-menus-close",on:{click:e.close}})]):e._e()])},L=[],P=r.normalizeComponent(N,z,L,!1,null,"fa68b6c4",null,null);const U=P.exports;var d=null;const Q={name:"GdSideNavMenu",props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{defApp:"",defMenus:[],activeKey:"",defaultActive:"",activeData:{},type:"click"}},components:{UserLogo:F,SidebarMenus:U},computed:{componentItem(){const s=this.$importViewFiles();let e=`..${this.customizeNavMenu}`,t=s[e];return t?t.default:null},apps(){return this.userInfo.apps},styled(){let s=this.sidebar?`${this.sidebarConfig.foldWidth}px`:`${this.sidebarConfig.horizontalWidth}px`;return this.navMenuTheme==="fold"?s=this.sidebar?`${this.sidebarConfig.foldWidth}px`:`${this.sidebarConfig.verticalWidth}px`:this.navMenuTheme==="customize"&&(s=this.sidebar?`${this.sidebarConfig.foldWidth}px`:`${this.sidebarConfig.customizeWidth}px`),{width:s,"--bjmenuvar":"#1d2126"}},...r.mapGetters(["userInfo","addRouters","userFavoriteMenu","theme","sidebar","userFavoriteMenu","navMenuTheme","primaryColor","sidebar","sidebarConfig","customizeNavMenu"])},watch:{$route(s){this.changeRoute(s)}},methods:{selectMenus(s){if(console.log(s),this.defaultActive===s)return;let e={};const t=n=>(n=n.filter(o=>{const l=o.code?o.code:o.key;return s===l&&(e=o),o.children&&(o.children=t(o.children)),!0}),n);t(this.defMenus);const i=e.type===void 0?1:e.type;if(console.log(e,i),i!==1)return;if((e.opentype!==void 0?e.opentype:1)===2){const n=e.meta.link;n&&window.open(n);return}this.$router.push({name:e.name}),this.defaultActive=e.code?e.code:e.key,this.activeData=e},getDefApp(s){let e=s&&s.name?s.name:"";this.type="";let t="";this.apps.forEach(i=>{i.menus&&i.menus.forEach(a=>{a.name&&e===a.name&&!a.hidden&&(t=i.code)})}),this.defApp=t},goPath(s){this.defApp=s.data.code,this.activeData=s.data.item},getSysBookmarkPage(){this.userInfo.bookmarks&&this.UserFavoriteMenu(this.userInfo.bookmarks);let s={userId:this.userInfo.id,pageNo:1,pageSize:200};p.sysBookmarkPage(s).then(e=>{e.code===200&&this.UserFavoriteMenu(e.data.rows)})},init(){const s=t=>(t=t.filter(i=>(i.children&&(i.children=s(i.children),i.showLeg=i.children.filter(a=>a.show).length,i.show=i.showLeg===0?!1:i.show),!0)),t);let e=[...this.apps];e.forEach((t,i)=>{const a=t.menus.map(o=>(o.show=o.meta.show,o));let n=[];this.listToTree(a,n,0),e[i].children=[...n],e[i].show=!0}),e=s(e).filter(t=>t.children.filter(a=>a.show).length===0?!1:t.show),this.defMenus=[...e],this.$nextTick(()=>{setTimeout(()=>{this.$refs.sMenu.setAppMenus(e)},100)})},mouseenterMenu(){d&&clearTimeout(d),this.type=this.type!=="click"?"mouse":this.type},mouseleaveMenu(){d&&clearTimeout(d),this.type==="mouse"&&(d=setTimeout(()=>{this.$refs.sMenu.close()},100))},mouseenter(s){d&&clearTimeout(d),this.type!=="click"&&(this.type=this.type!=="click"?"mouse":this.type,this.$refs.sMenu.open(s))},mouseleave(){d&&clearTimeout(d),this.type!=="click"&&(d=setTimeout(()=>{this.$refs.sMenu.close()},300))},changeRoute(s){this.activeKey=s.fullPath,this.activeData=s,this.getDefApp(s)},getDefApp(s){let e=s&&s.name?s.name:"";this.defaultActive=e,this.type="";let t="";this.apps.forEach(i=>{i.menus&&i.menus.forEach(a=>{a.name&&e===a.name&&!a.hidden&&(t=i.code)})}),this.defApp=t},goPath(s){this.defApp=s.data.code,this.activeData=s.data.item},selItem(s){this.type="click",this.defApp=s.code,this.$refs.sMenu.open(s)},listToTree(s,e,t){s&&s.forEach(i=>{if(i.pid==t){const a={...i,key:i.key||i.name,children:[]};this.listToTree(s,a.children,i.id),a.children.length<=0&&delete a.children,e.push(a)}})},...r.mapActions(["UserFavoriteMenu"])},created(){this.init(),this.changeRoute(this.$route),this.getSysBookmarkPage()}};var K=function(){var e=this,t=e._self._c;return t("div",[e.componentItem?t("div",{staticClass:"gd-sider",class:e.theme==="light"?"":"gd-sider-dark",style:e.styled},[t(e.componentItem,{tag:"component",attrs:{basicAttribute:e.basicAttribute,defMenus:e.defMenus,sidebar:e.sidebar,defApp:e.defApp},on:{selectMenus:e.selectMenus}})],1):t("div",{staticClass:"gd-sider",class:e.theme==="light"?"":"gd-sider-dark",style:e.styled},[e.basicAttribute.logoOpen?t("UserLogo",{attrs:{basicAttribute:e.basicAttribute}}):e._e(),e.navMenuTheme==="vertical"?t("div",{staticClass:"gd-app"},[e._l(e.defMenus,function(i,a){return[t("div",{staticClass:"item",class:[e.sidebar?"sitem":"",i.code===e.defApp?"itemactive":""],attrs:{title:e.$i18nt(`Dynamics.${i.transkey}`,i.name)},on:{click:function(n){return e.selItem(i)},mouseenter:function(n){return e.mouseenter(i)},mouseleave:e.mouseleave}},[t("i",{staticClass:"gd-icons",class:i.icon}),e.sidebar?e._e():t("div",{staticClass:"pname line1"},[e._v(" "+e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.name))+" ")]),i.code===e.defApp&&!e.sidebar?t("i",{staticClass:"el-icon-arrow-right"}):e._e()])]})],2):t("div",{staticClass:"gd-app"},[e._l(e.defMenus,function(i,a){return[t("el-menu",{staticClass:"el-menu-vertical-demo",class:[e.sidebar?"sitem":""],attrs:{"default-active":e.defaultActive,"background-color":e.theme==="light"?"#fff":"#1d2126","text-color":e.theme==="light"?"#333":"#fff","active-text-color":e.primaryColor,collapse:e.sidebar},on:{select:e.selectMenus}},[i.children&&i.children.length>0?t("el-submenu",{attrs:{index:i.code}},[t("template",{slot:"title"},[t("i",{staticClass:"gd-icons",class:i.icon,staticStyle:{"padding-right":"4px"}}),t("span",[e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.name)))])]),e._l(i.children,function(n,o){return[n.children&&n.children.length>0?t("el-submenu",{attrs:{index:n.key,title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)}},[t("template",{slot:"title"},[t("i",{staticClass:"gd-icons",class:n.icon,staticStyle:{"padding-right":"4px"}}),t("span",[e._v(e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)))])]),e._l(n.children,function(l,v){return[t("el-menu-item",{attrs:{index:l.key,title:e.$i18nt(`Dynamics.${l.transkey}`,l.meta.title)}},[t("template",{slot:"title"},[t("i",{staticClass:"gd-icons",class:l.icon,staticStyle:{"padding-right":"4px"}}),t("span",[e._v(e._s(e.$i18nt(`Dynamics.${l.transkey}`,l.meta.title)))])])],2)]})],2):t("el-menu-item",{attrs:{index:n.key,title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)}},[t("i",{staticClass:"gd-icons",class:n.icon,staticStyle:{"padding-right":"4px"}}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)))])])]})],2):t("el-menu-item",{attrs:{index:i.code}},[t("i",{staticClass:"gd-icons",class:i.icon,staticStyle:{"padding-right":"4px"}}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`,e.ite.meta.title)))])])],1)]})],2)],1),t("SidebarMenus",{ref:"sMenu",attrs:{collapsed:e.sidebar,menus:e.defMenus,activeKey:e.activeKey},on:{goPath:e.goPath,close:function(i){return e.getDefApp(e.activeData)},mouseenter:e.mouseenterMenu,mouseleave:e.mouseleaveMenu}})],1)},j=[],q=r.normalizeComponent(Q,K,j,!1,null,"b00d3374",null,null);const f=q.exports;f.install=function(s){s.component(f.name,f)};const O={props:{daySet:{type:Array,default:()=>[]}},data(){return{queryParam:{readStatus:"UNREAD"},list:[],notifications:[],confirmLoading:!1,pageNo:1,pageSize:20,totalRows:0,loading:!1,observer:null}},computed:{moreTitle(){let s=this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D...");return this.loading||(s=this.list.length>=this.totalRows?this.pageNo>1?this.$i18nt("gd.https.noMoreData","\u6682\u65E0\u66F4\u591A\u6570\u636E"):"":this.$i18nt("gd.https.loadMoreData","\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A")),s},messagetypeData(){return this.getDictionary("messagetype")}},methods:{elLoadMore(){const s=this.$refs.moreTitle;!s||this.observer||(this.observer=new IntersectionObserver((e,t)=>{e.forEach(i=>{i.isIntersecting&&this.loadMore()})}),this.observer.observe(s))},loadMore(){this.loading||this.list.length>=this.totalRows||(this.pageNo+=1,this.getList(!1))},getDictionary(s){return this.$options.filters.dictData(s)},messageType(s){const e=this.messagetypeData.filter(t=>t.code==String(s.messagetype))[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):s.messagetype},getList(s){return this.confirmLoading=!0,this.loading=!0,g.sysMessagePage(Object.assign({},this.queryParam,{pageNo:s?1:this.pageNo,pageSize:s?this.pageNo*this.pageSize:this.pageSize})).then(e=>{e.code===200&&(this.totalRows=e.data.totalrows,this.list=s||this.pageNo===1?e.data.rows:this.list.concat(e.data.rows),this.handOrganize(),this.$emit("notifications",e.data.rows),this.pageNo===1&&this.$nextTick(()=>{setTimeout(()=>{this.elLoadMore()},0)})),this.confirmLoading=!1})},init(s){s?this.getList(!0):(this.pageNo=1,this.list=[],this.notifications=[],this.getList(!1))},handOrganize(){let s=[],e=[];this.list.forEach(t=>{const i=t.createdtime.split(" ")[0];s.includes(i)?e[e.length-1].messages.push(t):(s.push(i),e.push(Object.assign({},t,{groupdate:i,messages:[t]})))}),this.notifications=e,this.loading=!1},markAsRead(s){this.beaseLoadComplete(s)},beaseLoadComplete(s){const e=s.targeturl.split("?")[1];let t="";if(e&&(t=new URLSearchParams(e).get("complete_request")),t==="")return;const i=decodeURIComponent(t),a=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),n=D.getParamsQuery(i);E.post(a,n),setTimeout(()=>{this.init()},1e3)},dictSwitch(s,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==s)[0];return t!=null&&t.colour?t.colour:null},markAsReadDetail(s){this.$emit("markAsRead",s),setTimeout(()=>{this.init()},300)}},beforeDestroy(){this.observer&&this.observer.disconnect()}};var H=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"70%"}},[t("div",{staticClass:"notification-list"},[e._l(e.notifications,function(i,a){return t("div",[t("div",{staticClass:"notification-date",class:a===0?"notification-daten":""},[e.daySet[0].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.today","\u4ECA\u5929"))+" ")]):e.daySet[1].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.yesterday","\u6628\u5929"))+" ")]):t("span",[e._v(e._s(i.groupdate))])]),e._l(i.messages,function(n,o){return t("div",{key:n.id,staticClass:"notification-item",class:o===i.messages.length-1?"notification-itemn":"",on:{click:function(l){return e.markAsReadDetail(n)}}},[t("div",{staticClass:"notification-content"},[t("div",{staticClass:"notification-message"},[t("div",{staticClass:"name line1"},[e._v(e._s(n.name))]),t("div",{staticClass:"du",on:{click:function(l){return l.stopPropagation(),e.markAsRead(n)}}},[e._v(e._s(e.$i18nt("gd.menu.markAsRead","\u6807\u4E3A\u5DF2\u8BFB")))])]),t("div",{staticClass:"notification-detail line1"},[e._v(e._s(n.content))]),t("div",{staticClass:"notification-nav"},[t("div",{staticClass:"notification-type"},[e._v(e._s(e.messageType(n)))]),t("div",{staticClass:"notification-time"},[e._v(e._s(n.createdtime))])])])])})],2)}),!e.confirmLoading&&e.notifications.length==0?t("div",{staticClass:"none"},[t("div",{staticClass:"empty"},[t("i",{staticClass:"el-icon-receiving"}),t("div",{staticClass:"empty-err"},[e._v(e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])]):e._e(),e.totalRows>0?t("div",{ref:"moreTitle",staticClass:"list-more",class:{"active-item":e.totalRows>0&&e.list.length>=e.totalRows,"list-morep":e.moreTitle!==""||e.loading}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("div",{staticClass:"more-title",on:{click:e.loadMore}},[e._v(e._s(e.moreTitle))])]):e._e()],2)])},J=[],V=r.normalizeComponent(O,H,J,!1,null,"8580e637",null,null);const Y=V.exports;const G={props:{daySet:{type:Array,default:()=>[]}},data(){return{queryParam:{readStatus:"READ"},list:[],notifications:[],confirmLoading:!1,showDetails:!1,pageNo:1,pageSize:20,totalRows:0,loading:!1,observer:null}},computed:{moreTitle(){let s=this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D...");return this.loading||(s=this.list.length>=this.totalRows?this.pageNo>1?this.$i18nt("gd.https.noMoreData","\u6682\u65E0\u66F4\u591A\u6570\u636E"):"":this.$i18nt("gd.https.loadMoreData","\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A")),s},messagetypeData(){return this.getDictionary("messagetype")}},methods:{elLoadMore(){const s=this.$refs.moreTitle;!s||this.observer||(this.observer=new IntersectionObserver((e,t)=>{e.forEach(i=>{i.isIntersecting&&this.loadMore()})}),this.observer.observe(s))},loadMore(){this.loading||this.list.length>=this.totalRows||(this.pageNo+=1,this.getList(!1))},getDictionary(s){return this.$options.filters.dictData(s)},messageType(s){const e=this.messagetypeData.filter(t=>t.code==String(s.messagetype))[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):s.messagetype},getList(s){return this.confirmLoading=!0,this.loading=!0,g.sysMessagePage(Object.assign({},this.queryParam,{pageNo:s?1:this.pageNo,pageSize:s?this.pageNo*this.pageSize:this.pageSize})).then(e=>{e.code===200&&(this.totalRows=e.data.totalrows,this.list=s||this.pageNo===1?e.data.rows:this.list.concat(e.data.rows),this.handOrganize(),this.$emit("notifications",e.data.rows),this.pageNo===1&&this.$nextTick(()=>{setTimeout(()=>{this.elLoadMore()},0)})),this.confirmLoading=!1})},init(s){s?this.getList(!0):(this.pageNo=1,this.list=[],this.notifications=[],this.getList(!1))},handOrganize(){let s=[],e=[];this.list.forEach(t=>{const i=t.createdtime.split(" ")[0];s.includes(i)?e[e.length-1].messages.push(t):(s.push(i),e.push(Object.assign({},t,{groupdate:i,messages:[t]})))}),this.loading=!1,this.notifications=e},dictSwitch(s,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==s)[0];return t!=null&&t.colour?t.colour:null},markAsRead(s){this.$emit("markAsRead",s)}},beforeDestroy(){this.observer&&this.observer.disconnect()}};var X=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"70%"}},[t("div",{staticClass:"notification-list"},[e._l(e.notifications,function(i,a){return t("div",[t("div",{staticClass:"notification-date",class:a===0?"notification-daten":""},[e.daySet[0].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.today","\u4ECA\u5929"))+" ")]):e.daySet[1].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.yesterday","\u6628\u5929"))+" ")]):t("span",[e._v(e._s(i.groupdate))])]),e._l(i.messages,function(n,o){return t("div",{key:n.id,staticClass:"notification-item",class:o===i.messages.length-1?"notification-itemn":"",on:{click:function(l){return e.markAsRead(n)}}},[t("div",{staticClass:"notification-content"},[t("div",{staticClass:"notification-message"},[e._v(" "+e._s(n.name)+" ")]),t("div",{staticClass:"notification-detail line1"},[e._v(e._s(n.content))]),t("div",{staticClass:"notification-nav"},[t("div",{staticClass:"notification-type"},[e._v(e._s(e.messageType(n)))]),t("div",{staticClass:"notification-time"},[e._v(e._s(n.createdtime))])])])])})],2)}),!e.confirmLoading&&e.notifications.length==0?t("div",{staticClass:"none"},[t("div",{staticClass:"empty"},[t("i",{staticClass:"el-icon-receiving"}),t("div",{staticClass:"empty-err"},[e._v(e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])]):e._e(),e.totalRows>0?t("div",{ref:"moreTitle",staticClass:"list-more",class:{"active-item":e.totalRows>0&&e.list.length>=e.totalRows,"list-morep":e.moreTitle!==""||e.loading}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("div",{staticClass:"more-title",on:{click:e.loadMore}},[e._v(e._s(e.moreTitle))])]):e._e()],2)])},Z=[],W=r.normalizeComponent(G,X,Z,!1,null,"c25eaf49",null,null);const ee=W.exports;const te={data(){return{visible:!1,width:"384px",type:"messageDataRefun",showDetails:!1,notificationsData:[]}},computed:{daySet(){const s=new Date().getTime(),e=new Date().getTime()-24*60*60*1e3;return[this.getDayNum(s),this.getDayNum(e)]}},components:{MessageData:Y,ReadMessageData:ee},methods:{notifications(s){this.notificationsData=s},closeShowDetails(){console.log(88),this.showDetails=!1,this.refresh(!0)},markAsRead(s,e){this.showDetails=!0,this.$nextTick(()=>{setTimeout(()=>{this.$refs.viewFormDetails.open(s.targeturl)})})},refresh(s=!0){this.$nextTick(()=>{setTimeout(()=>{const e=this.$refs[this.type];e&&e.init(s)})})},open(){this.visible=!0,this.refresh(!1)},readOneClick(){this.$confirm(this.$i18nt("gd.https.oneClickRead","\u662F\u5426\u4E00\u952E\u5DF2\u8BFB\u6D88\u606F?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.btn.confirm","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,e,t)=>{if(s!=="confirm"){t();return}this.oneClick(s,e,t)}})},oneClick(s,e,t){e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,g.sysMessageMarkAllAsRead().then(i=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,i.code==200||i.code==204?(t(),this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message)})},getDayNum(s){const e=new Date(s),t=e.getFullYear(),i=e.getMonth()+1,a=e.getDate();return`${t}-${this.formatNumber(i)}-${this.formatNumber(a)}`},formatNumber(s){return s=s.toString(),s[1]?s:"0"+s}}};var se=function(){var e=this,t=e._self._c;return t("div",[t("el-drawer",{attrs:{visible:e.visible,"close-on-press-escape":!1,"append-to-body":!1,"modal-append-to-body":!0,size:e.width,"show-close":!1,modal:!1,"custom-class":"gd-drawer-msg",withHeader:!1},on:{"update:visible":function(i){e.visible=i}}},[t("div",{staticClass:"drawer-main"},[t("div",{staticClass:"title"},[t("el-radio-group",{on:{input:function(i){return e.refresh(!1)}},model:{value:e.type,callback:function(i){e.type=i},expression:"type"}},[t("el-radio-button",{attrs:{label:"messageDataRefun"}},[e._v(e._s(e.$i18nt("gd.menu.unreadMessage","\u672A\u8BFB\u6D88\u606F")))]),t("el-radio-button",{attrs:{label:"readMessageDataRef"}},[e._v(e._s(e.$i18nt("gd.menu.readMessages","\u5DF2\u8BFB\u6D88\u606F")))])],1),e.notificationsData.length>0?t("i",{staticClass:"gd-icons gd-icon-qinglihuancun",attrs:{title:e.$i18nt("gd.menu.oneClickRead","\u4E00\u952E\u5DF2\u8BFB")},on:{click:e.readOneClick}}):e._e()],1),e.visible?t("div",{staticClass:"content"},[t("MessageData",{directives:[{name:"show",rawName:"v-show",value:e.type==="messageDataRefun",expression:"type === 'messageDataRefun'"}],ref:"messageDataRefun",attrs:{daySet:e.daySet},on:{markAsRead:e.markAsRead,notifications:e.notifications}}),t("ReadMessageData",{directives:[{name:"show",rawName:"v-show",value:e.type==="readMessageDataRef",expression:"type === 'readMessageDataRef'"}],ref:"readMessageDataRef",attrs:{daySet:e.daySet},on:{markAsRead:e.markAsRead}})],1):e._e()])]),e.showDetails?t("gd-view-form-details",{ref:"viewFormDetails",on:{close:e.closeShowDetails}}):e._e()],1)},ie=[],ne=r.normalizeComponent(te,se,ie,!1,null,"954b95d6",null,null);const ae=ne.exports;const oe={data(){return{transKey:"gd.notice.detail",fullscreen:!1,visible:!1,width:"900",confirmLoading:!1,contentRecord:{},sysViewButtons:[],type:"pdf"}},computed:{height(){return this.screenHeight-24-40-36},headTitle(){return this.$i18nt(this.transKey,this.title)},style(){return`height:${this.fullscreen?this.screenHeight-80:this.screenHeight-240}px;`},...r.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{open(s){this.fullscreen=!1,this.visible=!0,this.confirmLoading=!0,this.sysNoticeDetail(s.id),s.attachment&&this.$nextTick(()=>{setTimeout(()=>{let e={name:`${s.title}.${this.type}`,fileId:s.attachment,fullscreen:!1};this.$refs.filePreview.open(e)},0)})},sysNoticeDetail(s){this.fullscreen=!1,g.sysNoticeDetail({id:s}).then(e=>{this.confirmLoading=!1,this.contentRecord=e.data})},handleCancel(){this.visible=!1,this.contentRecord={}},closed(){this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){const e=s.item.functionName;this[e]&&this[e]()}}};var le=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{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){e.visible=i},closed:e.closed}},[t("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"}),t("div",{class:e.fullscreen?"modal-bodyq":"modal-body"},[t("div",{staticStyle:{"text-align":"center","font-size":"30px"}},[e._v(e._s(this.contentRecord.title))]),t("br"),t("div",{staticStyle:{"text-align":"right","font-size":"10px"}},[t("span",[e._v(" "+e._s(e.$i18nt("gd.notice.publisher","\u53D1\u5E03\u4EBA"))+": "+e._s(this.contentRecord.publicusername)+" ")]),t("span",[e._v(" "+e._s(e.$i18nt("gd.notice.releaseTime","\u53D1\u5E03\u65F6\u95F4"))+": "+e._s(this.contentRecord.publictime?this.contentRecord.publictime:"--")+" ")])]),t("el-divider",{staticStyle:{"margin-top":"5px"}}),t("div",[t("label",{staticClass:"ql-editor",domProps:{innerHTML:e._s(this.contentRecord.content)}})]),e.contentRecord.status!=2&&e.contentRecord.attachment!=""?t("gd-file-preview",{ref:"filePreview",attrs:{options:{},modeType:"component"}}):e._e()],1)],1)],1)},re=[],ce=r.normalizeComponent(oe,le,re,!1,null,"e0a239f4",null,null);const de=ce.exports;const ue={mixins:[x.tablesFilter],data(){return{transKey:"gd.btn.add",type:"1",allData:[]}},components:{detailForm:de},computed:{...r.mapGetters(["tableLists","tablePageSize","tableSize","labelPosition","formMode"])},methods:{editForm(s){this.transKey="gd.notice.detail",this.$refs.detailForm.open(s)},init(s){if(this.type=s.messagetype,this.type=="4"){let e={key:"tabledataid",transKey:"Dynamics.Sys_Tables_sys_approval_task_Views_toApprovaltask_Fields_15452455065798_Name",prop:"tabledataid",label:"\u5BA1\u6279\u5355\u636E",owidth:"250",columnName:"tabledataid_aboutid",fkEntityName:"dev_test",id:0xc0a53ed7146,fkId:0xc0a53ed7146,align:"left",checked:!0,effectType:"about",fieldType:"about",gatherConfig:!1,fieldFormat:"null",dictTypeCode:null,dictTypeList:[],maxTagCount:2,sourceFk:!0,displayMode:"none",displayPrefix:"none",preview:!0,download:!0,filedsize:255,hyperlink:!0,type:"slot",slotType:"tabledataid"},t={id:22450602588615,tasktype:"approver",tabledataid_aboutid:22450596595013,namesys_usersubmitter:"\u8096yx",status:0,createdtime:"2025-09-11 11:15:34",isreturn:0,nodename:"\u524D\u52A0\u7B7E\u5BA1\u6279\u4EBA",isautoapproval:0,tabledataid:"\u76F4\u5C5E\u4E0A\u7EA7"},i=e.prop+"_AboutTable",a=t[i];this.tableLists.filter(l=>l.tablename==a)[0];let o={tableId:"19785037949381",data:[{id:t[e.columnName]}]};this.$refs.middleware.init(o).then(l=>{setTimeout(()=>{},1e3)})}else{this.getNoticeData();const e=s.targeturl.split("?")[1];let t="";e&&(t=new URLSearchParams(e).get("id")),setTimeout(()=>{this.allData.forEach(i=>{i.id==t&&this.editForm(i)})},100)}},getNoticeData(){return $.sysNoticeReceived(Object.assign({pageNo:1,pageSize:1e5})).then(s=>{this.allData=s.data.rows})},openExternal(){}},mounted(){}};var me=function(){var e=this,t=e._self._c;return t("div",{staticClass:"gd-page-view"},[e.type=="1"||e.type=="2"||e.type=="3"?t("detailForm",{ref:"detailForm"}):e._e(),e.type=="4"?t("gd-middleware",{ref:"middleware"}):e._e()],1)},he=[],pe=r.normalizeComponent(ue,me,he,!1,null,"3e8b356a",null,null);const fe=pe.exports,y=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=(()=>{if(typeof document>"u")return!1;const s=y[0],e={};for(const t of y)if((t==null?void 0:t[1])in document){for(const[a,n]of t.entries())e[s[a]]=n;return e}return!1})(),_={change:u.fullscreenchange,error:u.fullscreenerror};let c={request(s=document.documentElement,e){return new Promise((t,i)=>{const a=()=>{c.off("change",a),t()};c.on("change",a);const n=s[u.requestFullscreen](e);n instanceof Promise&&n.then(a).catch(i)})},exit(){return new Promise((s,e)=>{if(!c.isFullscreen){s();return}const t=()=>{c.off("change",t),s()};c.on("change",t);const i=document[u.exitFullscreen]();i instanceof Promise&&i.then(t).catch(e)})},toggle(s,e){return c.isFullscreen?c.exit():c.request(s,e)},onchange(s){c.on("change",s)},onerror(s){c.on("error",s)},on(s,e){const t=_[s];t&&document.addEventListener(t,e,!1)},off(s,e){const t=_[s];t&&document.removeEventListener(t,e,!1)},raw:u};Object.defineProperties(c,{isFullscreen:{get:()=>Boolean(document[u.fullscreenElement])},element:{enumerable:!0,get:()=>{var s;return(s=document[u.fullscreenElement])!=null?s:void 0}},isEnabled:{enumerable:!0,get:()=>Boolean(document[u.fullscreenEnabled])}});u||(c={isEnabled:!1});const A=c;const ge={props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{isFullscreen:!1,photoUrl:"",avatar:"",unreadCount:"",handletype:"1",tabsReady:!1}},components:{SettingDrawer:k.GDpackage,XlsxImport:w.XlsxImport,InformationMsg:ae,Transfer:fe},computed:{hasLogout(){const s=this.options.filter(e=>e.key==="logout")[0];return s?s.statu:!0},options(){return(this.basicAttribute.menus||[]).map(e=>(e.key==="universalImport"?(e.permission="sysUser:universalImport",e.transkey="gd.menu.universalImport"):e.key==="advancedFind"?(e.permission="sysUser:advancedFind",e.transkey="gd.menu.menuAdvancedFind"):e.key==="information"?e.transkey="gd.menu.information":e.key==="theme"?e.transkey="gd.menu.themeConfiguration":e.key==="fullScreen"&&(e.transkey="gd.menu.fullScreen"),e))},menus(){const s=this.hasItems?[{disabled:!1,key:"application",name:"\u5E94\u7528",statu:!0,permission:"sysApplication:see",transkey:"gd.solution.application"}]:[],e=this.options.filter(t=>t.key!=="logout");return s.concat(e).filter(t=>t.permission?this.$hasPerm(t.permission):!0)},hasItems(){return(this.systemInfo.id?this.systemInfo:window.$systemInfo).code==="GDS_LCDP"},apps(){return this.userInfo.apps},getUserImg(){let s="/gds/"+this.userInfo.filePath+"/"+this.userInfo.fileObjectName;return`${this.$getImageUrl(s)}`},fadeColord(){return this.fadeColor(this.primaryColor,.2)},...r.mapGetters(["tableLists","platformData","userInfo","primaryColor","token","systemInfo"])},methods:{imageUrl(){I.sysFileInfoPreview({id:this.userInfo.avatar}).then(s=>{const e=new Blob([s]);this.photoUrl=window.URL.createObjectURL(e)}).catch(s=>{this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A"+s.message)})},echartsManage(s){this.$router.push({name:"echartsManage"}),this.$refs[s][0].doClose()},accountSetting(s){this.$router.push({name:"accountSettings"}),this.$refs[s][0].doClose()},hand(s){s==="theme"?this.$refs.settingDrawer.toggle():s==="fullScreen"?this.toggleFullscreen():s==="application"?this.$router.push({path:"/platform/application"}):s==="universalImport"?this.$refs.xlsxImport.open():s=="information"?this.$refs.informationMsg.open():this.$router.push({path:`/${s}`})},showtabs(){this.tabsReady=!0},hidetabs(){this.tabsReady=!1},toggleFullscreen(){if(!A.isEnabled){message.error(this.$i18nt("gd.account.browserNotSupported","\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F\u6A21\u5F0F?"));return}A.toggle(),A.isFullscreen?this.isFullscreen=!1:this.isFullscreen=!0},handleLogout(){let s=this;this.$confirm(this.$i18nt("gd.account.logOutContent","\u771F\u7684\u8981\u6CE8\u9500\u767B\u5F55\u5417?"),this.$i18nt("gd.account.logOutTip","\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.menu.logOutOk","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,closeOnClickModal:!1,closeOnPressEscape:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,t,i)=>{if(e!=="confirm"){i();return}t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1,s.Logout().then(a=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,setTimeout(()=>{window.location.reload(),i()},100)})}})},fadeColor(s,e){let t=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),a=parseInt(s.substring(5,7),16);return`rgba(${t},${i},${a},${e})`},handleMessage(s){this.unreadCount=s.count},handleClick(s,e){this.$nextTick(()=>{setTimeout(()=>{const t=s.name==="1"?"messageDataRefun":"readMessageDataRef";this.$refs[t]&&typeof this.$refs[t].init=="function"&&this.$refs[t].init()},10)})},...r.mapActions(["Logout"])},async mounted(){this.$socket.on("receive",this.handleMessage),this.imageUrl(),await this.$socket.authenticate(this.token)}};var ve=function(){var e=this,t=e._self._c;return t("div",{staticClass:"user-wrapper"},[e._l(e.menus,function(i){return[i.statu?[i.key==="user"?t("el-popover",{ref:`popover_${i.key}`,refInFor:!0,attrs:{placement:"bottom-start",trigger:"click",tabindex:9999}},[t("div",{staticClass:"selectionl-popover",style:{"--dilute":e.fadeColord}},[t("div",{staticClass:"item",on:{click:function(a){return e.accountSetting(`popover_${i.key}`)}}},[t("i",{staticClass:"gd-icon-xitongshezhi gd-icons"}),t("span",[e._v(e._s(e.$i18nt("gd.menu.accountSettings","\u8D26\u53F7\u8BBE\u7F6E")))])]),t("div",{staticClass:"item",on:{click:function(a){return e.echartsManage(`popover_${i.key}`)}}},[t("i",{staticClass:"gd-icon-zhuzhuangtu gd-icons"}),t("span",[e._v(e._s(e.$i18nt("gd.menu.echarts","\u4E2A\u4EBA\u56FE\u8868\u7BA1\u7406")))])]),t("div",{staticClass:"popover-solid"},[t("el-divider")],1),e.hasLogout?t("div",{staticClass:"item",on:{click:function(a){return e.handleLogout(`popover_${i.key}`)}}},[t("i",{staticClass:"gd-icon-tuichudenglu1 gd-icons"}),t("span",[e._v(e._s(e.$i18nt("gd.menu.logOut","\u9000\u51FA\u767B\u5F55")))])]):e._e()]),t("span",{staticClass:"user-dropdown-menu",attrs:{slot:"reference"},slot:"reference"},[e.userInfo.avatar?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.userInfo.avatar,expression:"userInfo.avatar"}],staticClass:"user-img"}):e.userInfo.filePath&&e.userInfo.photoUrl==""?t("img",{staticClass:"user-img",attrs:{src:e.getUserImg}}):t("img",{staticClass:"user-img",attrs:{src:"data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDACMYGh4aFiMeHB4nJSMpNFc4NDAwNGpMUD9Xfm+EgnxveneLnMipi5S9lnd6ru2wvc7V4OLgh6f1//PZ/8jb4Nf/2wBDASUnJzQuNGY4OGbXj3qP19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f/wgARCADhAOEDAREAAhEBAxEB/8QAGgABAAIDAQAAAAAAAAAAAAAAAAECAwQFBv/EABgBAQEBAQEAAAAAAAAAAAAAAAABAgME/9oADAMBAAIQAxAAAADuAAAAGFOfLzqwWY6qZozG9L0kwS6pat6NmgAAAAANc5xxtS+s7abkZKRQ07daMc1FzlsrnW5nfZTZAAAAEDCed019Y2qyICkAKKJiMa7XPffjLQAAAAGI81ZTeboAAAAAIiud+ll2AAAAAY04Mul0xksKAAAACAVlyZ36KM6FAAAHOPP6mTWQAACGiAAggrnXazesoAAAHl619YhF0EEItRNiIrPy1PWYEhpMlyZ36iMoAABgPLVGs0JRV5utxKWatcxGNdrh37HHXM640/RxkxrElc69Tm7lAAAco8/qXuZFSl1mMdzM3EZ8denzbeNXXDM8zs1evHXsiWq9vN6xlABhOGuvm2l1OmZSpbNmsmNbEbeW1nexcyTLERbjmtdjndpqdc5ebLE6noLnKoHINFvq8LzuitnQ46ulrcqWiVXM2oAjNiqy45a51p9OWr1dflrmdJfpy7wIjzR1PL2tOnP688uZu51a29lmZqdSIkUERLEVMbUZusaffPT4bjfPi+nPqZiwjy/S9Xy9cvLeDfPHW3z6W0vc2ZmrJGgADKlsZUm4Ndmu5s8t03OP7uPp+UsI89bHLp0+W76563Rn8/W212ZS1k2KACoyrLEtJqsuvvlsaJrR1nW649KgGE8zrW3x1t8tLdjGrVe5lJsknUgkgQirVZazVZnBqVzdX040ek9DjnvKoDEcY1KpnXc83TJN21myTZKFWKSogiWCk1S54vrwzj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ROTmK9JKCD+bssRjGPjPJAgQIQhL1UQgoADKFnFMIpQQeUnevtqo6OMpcALQaJqkL0XB5liMYkfYECBCBCEr3kUogvcWhzpFAQHY3VVe50/BRy47B2ojGJGZ7AgQgQIQhgK9RdV3Q6hCZ8JKuiLySxi/k/Y+M8hAhCEICuEUoYds73fkJRRElLlzvmNUUY+8hCVN4IpUVjdVf+Q+UlFHR4+5VLmjzLVa7s0688TYJBg73AVwNiAKuMvdVDqHEPm6JS6cjx+Sl63MY0HmrLFq7pF/SDNgwF6GFF5s5G9aCHc1VVw/PqCfPrFhxB3keZT+dOHklLl+Exg0d1IFU2rsSgawKA6nEb0BDGXbu5wRW3K7BczwOcQd+TYedDolV7SCGocsKL+8/k9GgAKq97L+iXohw/wCS9Gl0V46/JmszDvfGeauQfi33VdMZwE9GlGmgL9wA6i71PVpRoqG/UU3CJhA9mQh8WTJnjJXiIso3L4Gj2RL7p1Kl9162XVuUxA6mOzZkyZMmeD5jwOcT0gbqm4QdDJrPXOmDM94f0Psn/m6s/wCpBwIPb/k9c2g+D3nxnu9DCi/ayt+O5W5i7PWy1Lfpkwh7j5Az2nGn7KNqVSjhD1bhmw9a/wCy972qi6TYf3T5P//Z"}})])]):t("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],attrs:{content:e.$i18nt(i.transkey,i.name),placement:"bottom","open-delay":150}},[t("span",{staticClass:"user-dropdown-menu",on:{click:function(a){return e.hand(i.key)}}},[i.key==="universalImport"?t("i",{staticClass:"gd-icons gd-icon-mulu"}):i.key==="information"?t("el-badge",{staticClass:"item",attrs:{slot:"reference",hidden:e.unreadCount=="",value:e.unreadCount>99?"99+":e.unreadCount},slot:"reference"},[t("i",{staticClass:"gd-icons gd-icon-a-huabanbeifen35"})]):i.key==="advancedFind"?t("i",{staticClass:"gd-icons el-icon-search"}):i.key==="theme"?t("i",{staticClass:"gd-icons gd-icon-xitongshezhi"}):i.key==="fullScreen"?t("i",{staticClass:"gd-icons",class:e.isFullscreen?"gd-icon-quanpingsuoxiao":"gd-icon-fangda"}):i.key==="application"?t("i",{staticClass:"gd-icons gd-icon-yemian1"}):e._e()],1)])]:e._e()]}),t("SettingDrawer",{ref:"settingDrawer"}),t("XlsxImport",{ref:"xlsxImport",attrs:{typeImport:2}}),t("InformationMsg",{ref:"informationMsg"}),t("Transfer",{ref:"transfer"})],2)},Ae=[],ye=r.normalizeComponent(ge,ve,Ae,!1,null,"5a5c3fff",null,null);const _e=ye.exports;exports.GDpackage=f;exports.UserMenus=_e;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { e as i, f as o } from "./http.main.40657f51.mjs";
|
|
2
|
+
import { n as r } from "./components.chartbi.b043dcdc.mjs";
|
|
3
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
+
import "./utils.util.js.82cd8447.mjs";
|
|
5
|
+
const n = {
|
|
6
|
+
name: "GdEmployeeStatusChange",
|
|
7
|
+
props: {
|
|
8
|
+
tableData: {
|
|
9
|
+
type: Object,
|
|
10
|
+
default: () => ({})
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
data() {
|
|
14
|
+
return {
|
|
15
|
+
buttons: [
|
|
16
|
+
{
|
|
17
|
+
displayName: "\u786E\u5B9A",
|
|
18
|
+
functionName: "handleSubmit",
|
|
19
|
+
show: !0,
|
|
20
|
+
transKey: "gd.btn.confirm",
|
|
21
|
+
icon: "el-icon-document-checked"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
id: "",
|
|
25
|
+
record: {},
|
|
26
|
+
visible: !1,
|
|
27
|
+
confirmLoading: !1,
|
|
28
|
+
fullscreen: !1,
|
|
29
|
+
width: "600px",
|
|
30
|
+
ruleFormData: {
|
|
31
|
+
notes: "",
|
|
32
|
+
newStatus: ""
|
|
33
|
+
},
|
|
34
|
+
rules: {
|
|
35
|
+
newStatus: [
|
|
36
|
+
{
|
|
37
|
+
required: !0,
|
|
38
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
39
|
+
trigger: "change"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
computed: {
|
|
46
|
+
getDict() {
|
|
47
|
+
return this.getDictionary("office_state").filter((e) => e.code != this.record.officestate);
|
|
48
|
+
},
|
|
49
|
+
employeeName() {
|
|
50
|
+
if (!this.record.id)
|
|
51
|
+
return "--";
|
|
52
|
+
const t = this.record.sys_businessunitidname ? `--${this.record.sys_businessunitidname}` : "", e = this.record.positionname ? `--${this.record.positionname}` : "";
|
|
53
|
+
return `${this.record.name}${t}${e}`;
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
methods: {
|
|
57
|
+
save() {
|
|
58
|
+
this.confirmLoading = !0, i({ employeeId: this.id, newStatus: this.ruleFormData.newStatus, notes: this.ruleFormData.notes }).then((t) => {
|
|
59
|
+
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + t.message), this.confirmLoading = !1;
|
|
60
|
+
});
|
|
61
|
+
},
|
|
62
|
+
handleSubmit() {
|
|
63
|
+
this.$refs.ruleForm.validate((t) => {
|
|
64
|
+
t && this.save();
|
|
65
|
+
});
|
|
66
|
+
},
|
|
67
|
+
getDetail() {
|
|
68
|
+
this.confirmLoading = !0, o({ tableId: this.tableData.id, id: this.id }).then((t) => {
|
|
69
|
+
t.code === 200 && (this.record = t.data[0]), this.confirmLoading = !1;
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
open(t) {
|
|
73
|
+
this.ruleFormData = { notes: "", newStatus: "" }, this.id = t, this.visible = !0, this.getDetail();
|
|
74
|
+
},
|
|
75
|
+
closed() {
|
|
76
|
+
this.fullscreen = !1, this.visible = !1, this.id = "";
|
|
77
|
+
},
|
|
78
|
+
toggleFullscreen() {
|
|
79
|
+
this.fullscreen = !this.fullscreen;
|
|
80
|
+
},
|
|
81
|
+
getDictionary(t) {
|
|
82
|
+
return this.$options.filters.dictData(t);
|
|
83
|
+
},
|
|
84
|
+
doEvent(t) {
|
|
85
|
+
const e = t.item.functionName;
|
|
86
|
+
this[e] && this[e]();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
var l = function() {
|
|
91
|
+
var e = this, s = e._self._c;
|
|
92
|
+
return s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, "destroy-on-close": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
|
|
93
|
+
e.visible = a;
|
|
94
|
+
}, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.$i18nt("gd.batchUpdate.statusChangeTip", "\u5458\u5DE5\u72B6\u6001\u53D8\u66F4"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", [e.visible ? s("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", staticClass: "gd-form", attrs: { "label-width": "110px", model: e.ruleFormData, size: "mini", rules: e.rules, "label-position": "top" }, nativeOn: { submit: function(a) {
|
|
95
|
+
a.preventDefault();
|
|
96
|
+
} } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.batchUpdate.employeeInformation", "\u5458\u5DE5\u4FE1\u606F") } }, [s("div", { staticStyle: { "background-color": "#909399", color: "#fff", padding: "0 8px", "border-radius": "4px" } }, [e._v(e._s(e.employeeName))])]), s("el-form-item", { attrs: { label: e.$i18nt("gd.state.currentState", "\u5F53\u524D\u72B6\u6001") } }, [e.record.officestate ? s("el-tag", { style: e._f("dictColor")("office_state", e.record.officestate), attrs: { effect: "dark" } }, [s("span", { staticStyle: { "font-size": "14px" } }, [e._v(e._s(e._f("dictType")("office_state", e.record.officestate)))])]) : s("span", [e._v("--")])], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.batchUpdate.newState", "\u65B0\u72B6\u6001"), prop: "newStatus" } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: e.ruleFormData.newStatus, callback: function(a) {
|
|
97
|
+
e.$set(e.ruleFormData, "newStatus", a);
|
|
98
|
+
}, expression: "ruleFormData.newStatus" } }, e._l(e.getDict, function(a) {
|
|
99
|
+
return s("el-option", { key: a.code, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
|
|
100
|
+
}), 1)], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.menu.remark", "\u5907\u6CE8") } }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", rows: 3 }, model: { value: e.ruleFormData.notes, callback: function(a) {
|
|
101
|
+
e.$set(e.ruleFormData, "notes", a);
|
|
102
|
+
}, expression: "ruleFormData.notes" } })], 1)], 1) : e._e()], 1)], 2);
|
|
103
|
+
}, c = [], d = /* @__PURE__ */ r(
|
|
104
|
+
n,
|
|
105
|
+
l,
|
|
106
|
+
c,
|
|
107
|
+
!1,
|
|
108
|
+
null,
|
|
109
|
+
"42daf709",
|
|
110
|
+
null,
|
|
111
|
+
null
|
|
112
|
+
);
|
|
113
|
+
const p = d.exports;
|
|
114
|
+
export {
|
|
115
|
+
p as default
|
|
116
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./http.main.2f8a6936.js"),o=require("./components.chartbi.e4680eaa.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.50d1ec9c.js");const r={name:"GdEmployeeStatusChange",props:{tableData:{type:Object,default:()=>({})}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],id:"",record:{},visible:!1,confirmLoading:!1,fullscreen:!1,width:"600px",ruleFormData:{notes:"",newStatus:""},rules:{newStatus:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}]}}},computed:{getDict(){return this.getDictionary("office_state").filter(e=>e.code!=this.record.officestate)},employeeName(){if(!this.record.id)return"--";const t=this.record.sys_businessunitidname?`--${this.record.sys_businessunitidname}`:"",e=this.record.positionname?`--${this.record.positionname}`:"";return`${this.record.name}${t}${e}`}},methods:{save(){this.confirmLoading=!0,i.baseStatusChange({employeeId:this.id,newStatus:this.ruleFormData.newStatus,notes:this.ruleFormData.notes}).then(t=>{t.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok"),this.closed()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+t.message),this.confirmLoading=!1})},handleSubmit(){this.$refs.ruleForm.validate(t=>{t&&this.save()})},getDetail(){this.confirmLoading=!0,i.baseDetails({tableId:this.tableData.id,id:this.id}).then(t=>{t.code===200&&(this.record=t.data[0]),this.confirmLoading=!1})},open(t){this.ruleFormData={notes:"",newStatus:""},this.id=t,this.visible=!0,this.getDetail()},closed(){this.fullscreen=!1,this.visible=!1,this.id=""},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionary(t){return this.$options.filters.dictData(t)},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var n=function(){var e=this,s=e._self._c;return s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,"destroy-on-close":!1,top:"80px","show-close":!1},on:{"update:visible":function(a){e.visible=a},closed:e.closed}},[s("template",{slot:"title"},[s("gd-modal-title",{attrs:{title:e.$i18nt("gd.batchUpdate.statusChangeTip","\u5458\u5DE5\u72B6\u6001\u53D8\u66F4"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),s("div",[e.visible?s("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],ref:"ruleForm",staticClass:"gd-form",attrs:{"label-width":"110px",model:e.ruleFormData,size:"mini",rules:e.rules,"label-position":"top"},nativeOn:{submit:function(a){a.preventDefault()}}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.batchUpdate.employeeInformation","\u5458\u5DE5\u4FE1\u606F")}},[s("div",{staticStyle:{"background-color":"#909399",color:"#fff",padding:"0 8px","border-radius":"4px"}},[e._v(e._s(e.employeeName))])]),s("el-form-item",{attrs:{label:e.$i18nt("gd.state.currentState","\u5F53\u524D\u72B6\u6001")}},[e.record.officestate?s("el-tag",{style:e._f("dictColor")("office_state",e.record.officestate),attrs:{effect:"dark"}},[s("span",{staticStyle:{"font-size":"14px"}},[e._v(e._s(e._f("dictType")("office_state",e.record.officestate)))])]):s("span",[e._v("--")])],1),s("el-form-item",{attrs:{label:e.$i18nt("gd.batchUpdate.newState","\u65B0\u72B6\u6001"),prop:"newStatus"}},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),clearable:""},model:{value:e.ruleFormData.newStatus,callback:function(a){e.$set(e.ruleFormData,"newStatus",a)},expression:"ruleFormData.newStatus"}},e._l(e.getDict,function(a){return s("el-option",{key:a.code,attrs:{value:a.code,label:e.$i18nt(`Dynamics.${a.transkey}`,a.name)}})}),1)],1),s("el-form-item",{attrs:{label:e.$i18nt("gd.menu.remark","\u5907\u6CE8")}},[s("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",rows:3},model:{value:e.ruleFormData.notes,callback:function(a){e.$set(e.ruleFormData,"notes",a)},expression:"ruleFormData.notes"}})],1)],1):e._e()],1)],2)},l=[],c=o.normalizeComponent(r,n,l,!1,null,"42daf709",null,null);const d=c.exports;exports.default=d;
|