gds-plus-design-vue 1.2.63 → 1.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.e559c495.js +1 -0
- package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
- package/lib/approvalModel.2b97fdf8.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
- package/lib/attribute.4f814780.mjs +367 -0
- package/lib/attribute.7b4971f5.js +1 -0
- package/lib/businessRules.4f7349f3.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
- package/lib/buttonRule.4aa9cfd8.mjs +396 -0
- package/lib/buttonRule.ba9528ab.js +1 -0
- package/lib/chartDisplayRules.25489412.js +1 -0
- package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
- package/lib/components.chartbi.13a8a7b5.js +8 -0
- package/lib/components.chartbi.7356b244.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
- package/lib/components.echarts.5dea23f6.js +4 -0
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
- package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
- package/lib/components.iconselector.4b5b7901.js +1 -0
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
- package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
- package/lib/components.middleware.64b6a988.js +1 -0
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
- package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
- package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
- package/lib/components.tableumy.aa73378d.js +1 -0
- package/lib/components.tablevirtual.879ff28f.js +1 -0
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
- package/lib/components.viewformdetails.328c8642.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
- package/lib/components.viewloading.5b9c8fee.js +1 -0
- package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
- package/lib/components.xlsximport.c53c50f6.js +1 -0
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
- package/lib/copy.3b06d60f.mjs +572 -0
- package/lib/copy.fa2fcb22.js +1 -0
- package/lib/createFile.526dd6db.js +1 -0
- package/lib/createFile.c8d65b52.mjs +439 -0
- package/lib/createSubfolders.51df8fcd.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
- package/lib/drawerContainer.790b0ee6.mjs +163 -0
- package/lib/drawerContainer.c971d22d.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
- package/lib/editForm.83d10fae.mjs +434 -0
- package/lib/editForm.e284e5ec.js +1 -0
- package/lib/extendedAttributes.bfff1926.js +1 -0
- package/lib/extendedAttributes.e6b11c68.mjs +293 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
- package/lib/fileSearch.e849491c.js +1 -0
- package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
- package/lib/flow.designer.85d0054b.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
- package/lib/flow.list.e001d91a.js +1 -0
- package/lib/form.build.19f0c882.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
- package/lib/form.designer.build.2bcc355d.js +1 -0
- package/lib/form.designer.build.7dc12e87.mjs +2529 -0
- package/lib/formFiled.40284ed9.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.07adebf0.js +8 -0
- package/lib/index.340d6f00.mjs +25906 -0
- package/lib/layoutBlocks.756e4b57.js +1 -0
- package/lib/layoutBlocks.816b49a7.mjs +413 -0
- package/lib/layoutItem.051495bc.mjs +71 -0
- package/lib/layoutItem.6f6017a5.js +1 -0
- package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
- package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
- package/lib/main.0dc447c8.js +1 -0
- package/lib/main.12118407.mjs +552 -0
- package/lib/main.1551de4d.js +1 -0
- package/lib/main.1611bb43.js +1 -0
- package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
- package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
- package/lib/main.316ac1b8.js +1 -0
- package/lib/main.48dc325f.mjs +231 -0
- package/lib/main.54ac9faa.mjs +189 -0
- package/lib/main.69a2b457.mjs +166 -0
- package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
- package/lib/main.72c15ab0.js +1 -0
- package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
- package/lib/main.9b2769b1.js +1 -0
- package/lib/main.b2314767.mjs +323 -0
- package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
- package/lib/main.e1cf9798.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
- package/lib/main.fc38c7c8.mjs +537 -0
- package/lib/main.fcb67463.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
- package/lib/manage.eb0a6c8c.js +1 -0
- package/lib/messages.fieldconfiguration.092bb027.js +1 -0
- package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
- package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
- package/lib/messages.messagetemplate.50334e5f.js +7 -0
- package/lib/messages.sendplan.60929f46.js +1 -0
- package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
- package/lib/messages.sendrecord.09a1d1cd.js +2 -0
- package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
- package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
- package/lib/messages.templatelibrary.f5952edd.js +2 -0
- package/lib/mobile.designer.componentstree.365945a3.js +1 -0
- package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
- package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
- package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
- package/lib/moveFile.3dc1dc37.mjs +276 -0
- package/lib/moveFile.f70bbff7.js +1 -0
- package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
- package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
- package/lib/page.designer.componentstree.74a3a114.js +1 -0
- package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
- package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
- package/lib/page.designer.menutree.71c18258.js +1 -0
- package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
- package/lib/page.designer.operation.1d435e6e.js +1 -0
- package/lib/page.designer.operation.fe808988.mjs +44 -0
- package/lib/page.designer.page.654634aa.js +1 -0
- package/lib/page.designer.page.821f8994.mjs +10638 -0
- package/lib/personal.echarts.118bcafb.mjs +268 -0
- package/lib/personal.echarts.e5915542.js +1 -0
- package/lib/result.4d4039ea.js +1 -0
- package/lib/result.a87217ae.mjs +639 -0
- package/lib/router.config.a09f29e7.js +1 -0
- package/lib/router.config.f0ad16fd.mjs +1424 -0
- package/lib/solution.application.8d6c84e8.js +1 -0
- package/lib/solution.application.e6b5dc4f.mjs +548 -0
- package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
- package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
- package/lib/solution.approvalflow.79da028c.js +1 -0
- package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
- package/lib/solution.dict.088a1e72.mjs +769 -0
- package/lib/solution.dict.1d5195d0.js +1 -0
- package/lib/solution.menu.e58922fe.mjs +432 -0
- package/lib/solution.menu.fa48a7e8.js +1 -0
- package/lib/solution.plugin.5d6d29cf.js +1 -0
- package/lib/solution.plugin.ae6df926.mjs +347 -0
- package/lib/solution.processflow.62936f1c.mjs +392 -0
- package/lib/solution.processflow.aa1e808b.js +1 -0
- package/lib/solution.role.2eff83a1.js +1 -0
- package/lib/solution.role.7b3e7030.mjs +456 -0
- package/lib/solution.webresources.88c4483b.mjs +379 -0
- package/lib/solution.webresources.bc00603d.js +1 -0
- package/lib/solution.workflow.0ed2cb24.js +1 -0
- package/lib/solution.workflow.85de0ae5.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.3d7480ba.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
- package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
- package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
- package/lib/system.dict.ab148847.js +1 -0
- package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
- package/lib/system.document.0e46ff8c.js +1 -0
- package/lib/system.document.cbdf25a9.mjs +667 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
- package/lib/system.duplicatechecking.a217fc52.js +1 -0
- package/lib/system.email.1db14214.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
- package/lib/system.fieldsecurity.40b4f48a.js +1 -0
- package/lib/system.file.6a6bd77c.js +1 -0
- package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
- package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
- package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
- package/lib/system.notice.2090c130.js +1 -0
- package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
- package/lib/system.noticereceived.0b79642e.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
- package/lib/system.onlineuser.e74f010d.js +1 -0
- package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
- package/lib/system.permissions.4090552f.mjs +972 -0
- package/lib/system.permissions.fdb64929.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
- package/lib/system.plugin.a0f25733.js +1 -0
- package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
- package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
- package/lib/system.promptmanagement.9718aa24.js +1 -0
- package/lib/system.role.321c48d3.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
- package/lib/system.sumberrules.6e8d208e.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
- package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
- package/lib/system.team.cf1c1558.js +1 -0
- package/lib/system.teammembers.63f21557.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
- package/lib/system.timers.51bedf97.js +38 -0
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
- package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
- package/lib/system.translation.c9f1b505.js +1 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
- package/lib/system.user.475d7391.js +14 -0
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
- package/lib/system.useraffiliation.fe1e1d39.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
- package/lib/system.webresource.81cfa690.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
- package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
- package/lib/table.definition..btnconfig.add3d840.js +1 -0
- package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
- package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
- package/lib/tableDescriptions.143d8e67.js +1 -0
- package/lib/tableDescriptions.60a07f7c.mjs +80 -0
- package/lib/tcheckboxs.e4d387ff.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
- package/lib/tcurrency.0360c142.mjs +85 -0
- package/lib/tcurrency.233f4e63.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.97590ce8.js +1 -0
- package/lib/versionControl.d1b2b0da.mjs +488 -0
- package/lib/versionEdit.c51606e4.mjs +452 -0
- package/lib/versionEdit.f710d0bb.js +1 -0
- package/lib/view.build.5789a6eb.js +1 -0
- package/lib/view.build.9976c958.mjs +1578 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
- package/lib/viewList.6e181715.js +1 -0
- package/lib/viewTree.9bdf96f0.js +1 -0
- package/lib/viewTree.c2e11b7f.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -1,7 +1,364 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { s as v } from "./http.main.
|
|
1
|
+
import { b as d, d as c, c as u, e as h, f as m, g, h as p, i as f, G as y, j as _, k as b } from "./http.translationmanage.f8694b51.mjs";
|
|
2
|
+
import { m as $, n as r } from "./components.chartbi.7356b244.mjs";
|
|
3
|
+
import { s as v } from "./http.main.aefea27d.mjs";
|
|
4
4
|
const w = {
|
|
5
|
+
props: {
|
|
6
|
+
height: {
|
|
7
|
+
type: Number,
|
|
8
|
+
default: 100
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
name: "GdTranslationList",
|
|
12
|
+
components: {
|
|
13
|
+
editForm: () => Promise.resolve().then(() => B),
|
|
14
|
+
timport: () => Promise.resolve().then(() => R)
|
|
15
|
+
},
|
|
16
|
+
data() {
|
|
17
|
+
return {
|
|
18
|
+
sysViewButtons: [
|
|
19
|
+
{
|
|
20
|
+
displayName: "\u521D\u59CB\u5316\u7FFB\u8BD1",
|
|
21
|
+
functionName: "initialize",
|
|
22
|
+
show: !0,
|
|
23
|
+
transKey: "gd.translation.initialize",
|
|
24
|
+
icon: "el-icon-refresh",
|
|
25
|
+
btnType: "danger",
|
|
26
|
+
name: "sysTranslation:initialize"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
displayName: "\u65B0\u589E",
|
|
30
|
+
functionName: "add",
|
|
31
|
+
show: !0,
|
|
32
|
+
transKey: "gd.btn.add",
|
|
33
|
+
icon: "el-icon-plus",
|
|
34
|
+
name: "sysTranslation:add"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
displayName: "\u7F16\u8F91",
|
|
38
|
+
functionName: "editForm",
|
|
39
|
+
show: !0,
|
|
40
|
+
transKey: "gd.btn.edit",
|
|
41
|
+
icon: "el-icon-edit",
|
|
42
|
+
name: "sysTranslation:edit"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: "\u5220\u9664",
|
|
46
|
+
functionName: "del",
|
|
47
|
+
show: !0,
|
|
48
|
+
transKey: "gd.btn.del",
|
|
49
|
+
icon: "el-icon-delete",
|
|
50
|
+
btnType: "danger",
|
|
51
|
+
name: "sysTranslation:delete"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: "\u5BFC\u5165",
|
|
55
|
+
functionName: "transimport",
|
|
56
|
+
show: !0,
|
|
57
|
+
transKey: "gd.btn.import",
|
|
58
|
+
icon: "gd-icon-daoru1",
|
|
59
|
+
name: "sysTranslation:import"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
displayName: "\u5BFC\u51FA",
|
|
63
|
+
functionName: "transexport",
|
|
64
|
+
show: !0,
|
|
65
|
+
transKey: "gd.btn.export",
|
|
66
|
+
icon: "gd-icon-daoru",
|
|
67
|
+
name: "sysTranslation:export"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
displayName: "\u53D1\u5E03",
|
|
71
|
+
functionName: "release",
|
|
72
|
+
show: !0,
|
|
73
|
+
transKey: "gd.btn.release",
|
|
74
|
+
icon: "gd-icon-fabu1",
|
|
75
|
+
btnType: "danger",
|
|
76
|
+
name: "sysTranslation:release"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
advanced: !1,
|
|
80
|
+
queryParam: {},
|
|
81
|
+
columns: [
|
|
82
|
+
{
|
|
83
|
+
type: "selection",
|
|
84
|
+
width: "60",
|
|
85
|
+
fixed: !0
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
label: "\u7FFB\u8BD1\u503C(value)",
|
|
89
|
+
prop: "defaulttext",
|
|
90
|
+
align: "left",
|
|
91
|
+
type: "slot",
|
|
92
|
+
slotType: "defaulttext",
|
|
93
|
+
transKey: "gd.translation.value",
|
|
94
|
+
width: "260"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: "\u5BF9\u5E94\u503C(key)",
|
|
98
|
+
prop: "name",
|
|
99
|
+
transKey: "gd.translation.key",
|
|
100
|
+
align: "left",
|
|
101
|
+
width: "360"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
label: "\u7C7B\u578B",
|
|
105
|
+
prop: "type",
|
|
106
|
+
type: "slot",
|
|
107
|
+
slotType: "type",
|
|
108
|
+
align: "left",
|
|
109
|
+
transKey: "gd.translation.type",
|
|
110
|
+
width: "160"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: "\u72B6\u6001",
|
|
114
|
+
prop: "statecodes",
|
|
115
|
+
type: "slot",
|
|
116
|
+
slotType: "statecodes",
|
|
117
|
+
align: "left",
|
|
118
|
+
transKey: "gd.translation.stateCodes",
|
|
119
|
+
width: "160"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
123
|
+
prop: "createdtime",
|
|
124
|
+
align: "center",
|
|
125
|
+
transKey: "gd.web.creationTime",
|
|
126
|
+
width: "180"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
loadData: (e) => d(Object.assign(e, this.queryParam)).then((t) => t.data),
|
|
130
|
+
selectedRowKeys: [],
|
|
131
|
+
selectedRows: [],
|
|
132
|
+
state: !1,
|
|
133
|
+
quickQuery: !0,
|
|
134
|
+
seeQuerys: !1
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
computed: {
|
|
138
|
+
stylew() {
|
|
139
|
+
return this.seeQuerys ? "width: calc(100% - 356px);" : "";
|
|
140
|
+
},
|
|
141
|
+
y() {
|
|
142
|
+
let e = this.getBntnShow ? 0 : 38, t = this.quickQuery ? 4 : 0;
|
|
143
|
+
return this.screenHeight - 232 - t + e;
|
|
144
|
+
},
|
|
145
|
+
getBntnShow() {
|
|
146
|
+
let e = this.sysViewButtons.filter((t) => t.name && this.$hasPerm(t.name));
|
|
147
|
+
return this.crumbsState ? !0 : e.length > 0;
|
|
148
|
+
},
|
|
149
|
+
getBootTrans() {
|
|
150
|
+
return this.$bootTrans == null ? !1 : this.$bootTrans;
|
|
151
|
+
},
|
|
152
|
+
getHeight() {
|
|
153
|
+
return this.height;
|
|
154
|
+
},
|
|
155
|
+
...$(["tableSize", "tablePageSize", "screenHeight", "multiTab", "crumbsState"])
|
|
156
|
+
},
|
|
157
|
+
methods: {
|
|
158
|
+
changeWid(e) {
|
|
159
|
+
this.seeQuerys = e;
|
|
160
|
+
},
|
|
161
|
+
reset() {
|
|
162
|
+
this.queryParam = {};
|
|
163
|
+
},
|
|
164
|
+
query() {
|
|
165
|
+
this.$refs.table.refresh(!0);
|
|
166
|
+
},
|
|
167
|
+
release() {
|
|
168
|
+
let e = this;
|
|
169
|
+
this.$confirm(this.$i18nt("gd.https.releaseContent", "\u786E\u8BA4\u53D1\u5E03?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
170
|
+
confirmButtonText: this.$i18nt("gd.https.releaseOk", "\u7ACB\u5373\u53D1\u5E03"),
|
|
171
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
172
|
+
showClose: !1,
|
|
173
|
+
confirmButtonLoading: !1,
|
|
174
|
+
cancelButtonLoading: !1,
|
|
175
|
+
closeOnClickModal: !1,
|
|
176
|
+
type: "warning",
|
|
177
|
+
confirmButtonClass: "el-button--danger",
|
|
178
|
+
customClass: "custom-alert",
|
|
179
|
+
callback: () => {
|
|
180
|
+
},
|
|
181
|
+
beforeClose: (t, s, a) => {
|
|
182
|
+
a(), t === "confirm" && (s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, c().then((i) => {
|
|
183
|
+
a(), s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0, i.success ? (e.$message.success(e.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), e.handleOk()) : e.$message.error(e.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message);
|
|
184
|
+
}).catch((i) => {
|
|
185
|
+
e.$message.error(e.$i18nt("gd.error.error") + i.message);
|
|
186
|
+
}));
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
},
|
|
190
|
+
getPopupContainer(e) {
|
|
191
|
+
return e.parentElement;
|
|
192
|
+
},
|
|
193
|
+
cache() {
|
|
194
|
+
this.formLoading = !0, u().then((e) => {
|
|
195
|
+
e.success ? this.$message.success(this.$i18nt("gd.https.operateSucc")) : this.$message.error(this.$i18nt("gd.https.operateFail") + e.message), this.formLoading = !1;
|
|
196
|
+
});
|
|
197
|
+
},
|
|
198
|
+
transexport() {
|
|
199
|
+
if (this.state)
|
|
200
|
+
return;
|
|
201
|
+
this.state = !0;
|
|
202
|
+
const e = this.$message({
|
|
203
|
+
message: this.$i18nt("gd.login.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
|
|
204
|
+
duration: 0,
|
|
205
|
+
iconClass: "el-icon-loading"
|
|
206
|
+
});
|
|
207
|
+
h({}).then((t) => {
|
|
208
|
+
this.exportWay(t, e);
|
|
209
|
+
}).catch((t) => {
|
|
210
|
+
e.close(), this.$message.error("err!");
|
|
211
|
+
});
|
|
212
|
+
},
|
|
213
|
+
exportWay(e, t) {
|
|
214
|
+
if (e) {
|
|
215
|
+
const s = new Blob([e.data], {
|
|
216
|
+
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
217
|
+
}), a = URL.createObjectURL(s), i = document.createElement("a");
|
|
218
|
+
i.style.display = "none", i.href = a;
|
|
219
|
+
let l = new Date().getTime();
|
|
220
|
+
i.download = `translation${l}`, i.click(), URL.revokeObjectURL(i.href), setTimeout(() => {
|
|
221
|
+
this.state = !1, t.close();
|
|
222
|
+
}, 1e3);
|
|
223
|
+
} else
|
|
224
|
+
t.close(), setTimeout(() => {
|
|
225
|
+
this.statu = !1;
|
|
226
|
+
}, 1e3), this.$nextTick(() => {
|
|
227
|
+
setTimeout(() => {
|
|
228
|
+
this.$message.error(e.message);
|
|
229
|
+
}, 0);
|
|
230
|
+
});
|
|
231
|
+
},
|
|
232
|
+
transimport() {
|
|
233
|
+
this.$refs.timport.open();
|
|
234
|
+
},
|
|
235
|
+
add() {
|
|
236
|
+
this.$refs.editForm.init(null);
|
|
237
|
+
},
|
|
238
|
+
editForm() {
|
|
239
|
+
if (this.selectedRowKeys.length === 0) {
|
|
240
|
+
this.$message.warning(this.$i18nt("gd.https.editTip"));
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
if (this.selectedRowKeys.length > 1) {
|
|
244
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne"));
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
this.$refs.editForm.init(this.selectedRows[0]);
|
|
248
|
+
},
|
|
249
|
+
del() {
|
|
250
|
+
let e = this;
|
|
251
|
+
if (this.selectedRowKeys.length === 0) {
|
|
252
|
+
this.$message.warning(this.$i18nt("gd.https.delTip"));
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
256
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u8BA4\u5220\u9664"),
|
|
257
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
258
|
+
showClose: !1,
|
|
259
|
+
confirmButtonLoading: !1,
|
|
260
|
+
cancelButtonLoading: !1,
|
|
261
|
+
closeOnClickModal: !1,
|
|
262
|
+
type: "warning",
|
|
263
|
+
confirmButtonClass: "el-button--danger",
|
|
264
|
+
customClass: "custom-alert",
|
|
265
|
+
callback: () => {
|
|
266
|
+
},
|
|
267
|
+
beforeClose: (t, s, a) => {
|
|
268
|
+
if (a(), t === "confirm")
|
|
269
|
+
return new Promise((i, l) => {
|
|
270
|
+
m({
|
|
271
|
+
ids: e.selectedRowKeys.join(",")
|
|
272
|
+
}).then((n) => {
|
|
273
|
+
n.success ? (e.$message.success(e.$i18nt("gd.https.delSucc")), e.handleOk()) : e.$message.error(e.$i18nt("gd.https.delFail") + n.message), i();
|
|
274
|
+
}).catch((n) => {
|
|
275
|
+
e.$message.error(e.$i18nt("gd.error.error") + n.message);
|
|
276
|
+
});
|
|
277
|
+
}).catch(() => console.log("Oops errors!"));
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
},
|
|
281
|
+
initialize() {
|
|
282
|
+
let e = this;
|
|
283
|
+
this.$confirm(this.$i18nt("gd.https.initializeTip", "\u662F\u5426\u521D\u59CB\u5316\u7FFB\u8BD1?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
284
|
+
confirmButtonText: this.$i18nt("gd.translation.initializeOk", "\u7ACB\u5373\u521D\u59CB\u5316"),
|
|
285
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
286
|
+
showClose: !1,
|
|
287
|
+
confirmButtonLoading: !1,
|
|
288
|
+
cancelButtonLoading: !1,
|
|
289
|
+
closeOnClickModal: !1,
|
|
290
|
+
type: "warning",
|
|
291
|
+
confirmButtonClass: "el-button--danger",
|
|
292
|
+
customClass: "custom-alert",
|
|
293
|
+
callback: () => {
|
|
294
|
+
},
|
|
295
|
+
beforeClose: (t, s, a) => {
|
|
296
|
+
if (a(), t === "confirm")
|
|
297
|
+
return new Promise((i, l) => {
|
|
298
|
+
g({}).then((n) => {
|
|
299
|
+
n.success ? (e.$message.success(e.$i18nt("gd.https.operateSucc")), e.handleOk()) : e.$message.error(e.$i18nt("gd.https.operateFail") + n.message), i();
|
|
300
|
+
}).catch((n) => {
|
|
301
|
+
e.$message.error(e.$i18nt("gd.error.error") + n.message);
|
|
302
|
+
});
|
|
303
|
+
}).catch(() => console.log("Oops errors!"));
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
},
|
|
307
|
+
handleOk() {
|
|
308
|
+
this.$refs.table.refresh();
|
|
309
|
+
},
|
|
310
|
+
getDictionary(e) {
|
|
311
|
+
return this.$options.filters.dictData(e);
|
|
312
|
+
},
|
|
313
|
+
dictSwitch(e, t) {
|
|
314
|
+
let s = this.$options.filters.dictData(t).filter((a) => a.code == e)[0];
|
|
315
|
+
return s != null && s.colour ? s.colour : "";
|
|
316
|
+
},
|
|
317
|
+
onSelectChange(e, t) {
|
|
318
|
+
this.selectedRowKeys = e, this.selectedRows = t;
|
|
319
|
+
},
|
|
320
|
+
doEvent(e) {
|
|
321
|
+
let t = e.item.functionName;
|
|
322
|
+
this[t]();
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
var x = function() {
|
|
327
|
+
var t = this, s = t._self._c;
|
|
328
|
+
return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list" }, [s("gd-tables", { ref: "table", attrs: { height: t.getHeight, columns: t.columns, dataSource: t.loadData, selectedRowKeys: t.selectedRowKeys, size: t.tableSize, pageSize: t.tablePageSize, filtering: !1 }, on: { onChange: t.onSelectChange }, scopedSlots: t._u([t.quickQuery ? { key: "operator", fn: function() {
|
|
329
|
+
return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "300px", "margin-right": "12px" } }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: t.$i18nt("gd.translation.value"), clearable: "" }, nativeOn: { keyup: function(a) {
|
|
330
|
+
return !a.type.indexOf("key") && t._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : t.query.apply(null, arguments);
|
|
331
|
+
} }, model: { value: t.queryParam.description, callback: function(a) {
|
|
332
|
+
t.$set(t.queryParam, "description", a);
|
|
333
|
+
}, expression: "queryParam.description" } }), s("div", { staticClass: "table-operator-search", on: { click: t.query } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "300px" } }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: t.$i18nt("gd.translation.key"), clearable: "" }, nativeOn: { keyup: function(a) {
|
|
334
|
+
return !a.type.indexOf("key") && t._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : t.query.apply(null, arguments);
|
|
335
|
+
} }, model: { value: t.queryParam.name, callback: function(a) {
|
|
336
|
+
t.$set(t.queryParam, "name", a);
|
|
337
|
+
}, expression: "queryParam.name" } }), s("div", { staticClass: "table-operator-search", on: { click: t.query } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1)])];
|
|
338
|
+
}, proxy: !0 } : null, { key: "defaulttext", fn: function({ row: a }) {
|
|
339
|
+
return [s("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: function(i) {
|
|
340
|
+
return t.$refs.editForm.init(a);
|
|
341
|
+
} } }, [t._v(" " + t._s(a.defaulttext) + " ")])];
|
|
342
|
+
} }, { key: "type", fn: function(a) {
|
|
343
|
+
return [t.dictSwitch(a.row.type, "translation_type") ? s("el-tag", { attrs: { color: t.dictSwitch(a.row.type, "translation_type") } }, [t._v(" " + t._s(t._f("dictType")("translation_type", a.row.type)) + " ")]) : s("span", [t._v(t._s(t._f("dictType")("translation_type", a.row.type)))])];
|
|
344
|
+
} }, { key: "statecodes", fn: function(a) {
|
|
345
|
+
return [t.dictSwitch(a.row.statecodes, "state_code") ? s("el-tag", { attrs: { effect: "dark", color: t.dictSwitch(a.row.statecodes, "state_code") } }, [t._v(" " + t._s(t._f("dictType")("state_code", a.row.statecodes)) + " ")]) : s("span", [t._v(t._s(t._f("dictType")("state_code", a.row.statecodes)))])];
|
|
346
|
+
} }], null, !0) })], 1), s("editForm", { ref: "editForm", attrs: { tmtype: "translationManagement", openPermissions: !0 }, on: { ok: t.handleOk } }), s("timport", { ref: "timport", on: { ok: t.handleOk } })], 1);
|
|
347
|
+
}, k = [], T = /* @__PURE__ */ r(
|
|
348
|
+
w,
|
|
349
|
+
x,
|
|
350
|
+
k,
|
|
351
|
+
!1,
|
|
352
|
+
null,
|
|
353
|
+
"0f51fd01",
|
|
354
|
+
null,
|
|
355
|
+
null
|
|
356
|
+
);
|
|
357
|
+
const o = T.exports;
|
|
358
|
+
o.install = function(e) {
|
|
359
|
+
e.component(o.name, o);
|
|
360
|
+
};
|
|
361
|
+
const S = {
|
|
5
362
|
props: {
|
|
6
363
|
openPermissions: {
|
|
7
364
|
type: Boolean,
|
|
@@ -114,21 +471,21 @@ const w = {
|
|
|
114
471
|
});
|
|
115
472
|
},
|
|
116
473
|
add(e) {
|
|
117
|
-
this.confirmLoading = !0, delete e.id,
|
|
474
|
+
this.confirmLoading = !0, delete e.id, p(e).then((t) => {
|
|
118
475
|
t.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok", e), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + t.message);
|
|
119
476
|
}).finally((t) => {
|
|
120
477
|
this.confirmLoading = !1;
|
|
121
478
|
});
|
|
122
479
|
},
|
|
123
480
|
edit(e) {
|
|
124
|
-
this.confirmLoading = !0,
|
|
481
|
+
this.confirmLoading = !0, f(e).then((t) => {
|
|
125
482
|
t.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok", e), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + t.message);
|
|
126
483
|
}).finally((t) => {
|
|
127
484
|
this.confirmLoading = !1;
|
|
128
485
|
});
|
|
129
486
|
},
|
|
130
487
|
getAllLanguage() {
|
|
131
|
-
this.confirmLoading = !0,
|
|
488
|
+
this.confirmLoading = !0, y().then((e) => {
|
|
132
489
|
let t = e.data;
|
|
133
490
|
this.addData && t.map((s) => {
|
|
134
491
|
let a = this.addData.langs.filter((i) => i.code == s.languagecode)[0];
|
|
@@ -137,7 +494,7 @@ const w = {
|
|
|
137
494
|
});
|
|
138
495
|
},
|
|
139
496
|
sysTranslationDetail(e) {
|
|
140
|
-
this.confirmLoading = !0,
|
|
497
|
+
this.confirmLoading = !0, _({
|
|
141
498
|
id: e
|
|
142
499
|
}).then((t) => {
|
|
143
500
|
let s = t.data && t.data.langs ? t.data.langs : [];
|
|
@@ -181,7 +538,7 @@ const w = {
|
|
|
181
538
|
}
|
|
182
539
|
}
|
|
183
540
|
};
|
|
184
|
-
var
|
|
541
|
+
var D = function() {
|
|
185
542
|
var t = this, s = t._self._c;
|
|
186
543
|
return s("el-dialog", { class: t.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: t.width, visible: t.visible, fullscreen: t.fullScreen, footer: null, top: "80px", "modal-append-to-body": t.modalAppendToBody, "append-to-body": t.appendToBody, "show-close": !1 }, on: { "update:visible": function(a) {
|
|
187
544
|
t.visible = a;
|
|
@@ -206,460 +563,109 @@ var x = function() {
|
|
|
206
563
|
return t.changeLanguage(i, a);
|
|
207
564
|
} }, model: { value: a.description, callback: function(i) {
|
|
208
565
|
t.$set(a, "description", i);
|
|
209
|
-
}, expression: "item.description" } })], 1)];
|
|
210
|
-
})], 2)], 1)])], 1);
|
|
211
|
-
},
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
!1,
|
|
216
|
-
null,
|
|
217
|
-
"4f343c96",
|
|
218
|
-
null,
|
|
219
|
-
null
|
|
220
|
-
);
|
|
221
|
-
const
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
show: !0,
|
|
232
|
-
transKey: "gd.btn.confirm",
|
|
233
|
-
icon: "save",
|
|
234
|
-
icon: "el-icon-document-checked"
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
|
-
confirmLoading: !1,
|
|
238
|
-
type: 1,
|
|
239
|
-
record: {},
|
|
240
|
-
advanced: !1,
|
|
241
|
-
fullScreen: !1,
|
|
242
|
-
width: "800px",
|
|
243
|
-
fileList: []
|
|
244
|
-
};
|
|
245
|
-
},
|
|
246
|
-
computed: {
|
|
247
|
-
title() {
|
|
248
|
-
return this.$i18nt("gd.web.selectFile");
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
methods: {
|
|
252
|
-
handleRemove(e) {
|
|
253
|
-
const t = this.fileList.indexOf(e), s = this.fileList.slice();
|
|
254
|
-
s.splice(t, 1), this.fileList = s;
|
|
255
|
-
},
|
|
256
|
-
beforeUpload(e) {
|
|
257
|
-
return this.fileList = [e], !1;
|
|
258
|
-
},
|
|
259
|
-
toggleFullscreen() {
|
|
260
|
-
this.fullScreen = !this.fullScreen;
|
|
261
|
-
},
|
|
262
|
-
open(e) {
|
|
263
|
-
this.fileList = [], this.fullScreen = !1, this.visible = !0;
|
|
264
|
-
},
|
|
265
|
-
handleSubmit() {
|
|
266
|
-
this.confirmLoading = !0;
|
|
267
|
-
let e = new FormData();
|
|
268
|
-
e.append("file", this.fileList[0]), v(e).then((t) => {
|
|
269
|
-
t.code == 200 ? this.translationImport(t) : (this.confirmLoading = !1, this.$message.error(t.message));
|
|
270
|
-
}).catch((t) => {
|
|
271
|
-
this.$message.error("\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5"), this.confirmLoading = !1;
|
|
272
|
-
});
|
|
273
|
-
},
|
|
274
|
-
translationImport(e) {
|
|
275
|
-
let t = { fileId: e.data };
|
|
276
|
-
g(t).then((s) => {
|
|
277
|
-
this.confirmLoading = !1, s.success ? (this.closed(), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok")) : this.$message.error(s.message);
|
|
278
|
-
});
|
|
279
|
-
},
|
|
280
|
-
closed() {
|
|
281
|
-
this.selectedRowKeys = [], this.visible = !1;
|
|
282
|
-
},
|
|
283
|
-
doEvent(e) {
|
|
284
|
-
let t = e.item.functionName;
|
|
285
|
-
this[t] && this[t]();
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
};
|
|
289
|
-
var C = function() {
|
|
290
|
-
var t = this, s = t._self._c;
|
|
291
|
-
return s("el-dialog", { class: t.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: t.width, visible: t.visible, fullscreen: t.fullScreen, footer: null, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
|
|
292
|
-
t.visible = a;
|
|
293
|
-
}, cancel: t.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: t.title, confirmLoading: t.confirmLoading, visible: t.visible, fullscreen: t.fullScreen, buttons: t.sysViewButtons, showClose: !0 }, on: { changeEvent: t.doEvent } })], 1), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [s("div", { class: t.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-alert", { staticStyle: { "margin-bottom": "12px" }, attrs: { title: t.$i18nt("gd.translation.importTip", "\u9009\u62E9\u8981\u5BFC\u5165\u7684(.xlsx)\u6587\u4EF6"), type: "info", "show-icon": "", closable: !1 } }), s("el-row", { staticStyle: { "margin-left": "-12px", "margin-right": "-12px" }, attrs: { gutter: 48 } }, [s("el-col", { attrs: { md: 20, sm: 24 } }, [s("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { action: "", "file-list": t.fileList, remove: t.handleRemove, "before-upload": t.beforeUpload, accept: ".xlsx" } }, [s("el-button", { attrs: { id: "upload" } }, [s("i", { staticClass: "el-icon-upload2" }), t._v(" " + t._s(t.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1)], 1)], 1)])], 2);
|
|
294
|
-
}, F = [], L = /* @__PURE__ */ r(
|
|
295
|
-
S,
|
|
296
|
-
C,
|
|
297
|
-
F,
|
|
298
|
-
!1,
|
|
299
|
-
null,
|
|
300
|
-
"4232173a",
|
|
301
|
-
null,
|
|
302
|
-
null
|
|
303
|
-
);
|
|
304
|
-
const B = L.exports;
|
|
305
|
-
const O = {
|
|
306
|
-
props: {
|
|
307
|
-
height: {
|
|
308
|
-
type: Number,
|
|
309
|
-
default: 100
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
name: "GdTranslationList",
|
|
313
|
-
components: {
|
|
314
|
-
editForm: D,
|
|
315
|
-
timport: B
|
|
316
|
-
},
|
|
317
|
-
data() {
|
|
318
|
-
return {
|
|
319
|
-
sysViewButtons: [
|
|
320
|
-
{
|
|
321
|
-
displayName: "\u521D\u59CB\u5316\u7FFB\u8BD1",
|
|
322
|
-
functionName: "initialize",
|
|
323
|
-
show: !0,
|
|
324
|
-
transKey: "gd.translation.initialize",
|
|
325
|
-
icon: "el-icon-refresh",
|
|
326
|
-
btnType: "danger",
|
|
327
|
-
name: "sysTranslation:initialize"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
displayName: "\u65B0\u589E",
|
|
331
|
-
functionName: "add",
|
|
332
|
-
show: !0,
|
|
333
|
-
transKey: "gd.btn.add",
|
|
334
|
-
icon: "el-icon-plus",
|
|
335
|
-
name: "sysTranslation:add"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
displayName: "\u7F16\u8F91",
|
|
339
|
-
functionName: "editForm",
|
|
340
|
-
show: !0,
|
|
341
|
-
transKey: "gd.btn.edit",
|
|
342
|
-
icon: "el-icon-edit",
|
|
343
|
-
name: "sysTranslation:edit"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
displayName: "\u5220\u9664",
|
|
347
|
-
functionName: "del",
|
|
348
|
-
show: !0,
|
|
349
|
-
transKey: "gd.btn.del",
|
|
350
|
-
icon: "el-icon-delete",
|
|
351
|
-
btnType: "danger",
|
|
352
|
-
name: "sysTranslation:delete"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
displayName: "\u5BFC\u5165",
|
|
356
|
-
functionName: "transimport",
|
|
357
|
-
show: !0,
|
|
358
|
-
transKey: "gd.btn.import",
|
|
359
|
-
icon: "gd-icon-daoru1",
|
|
360
|
-
name: "sysTranslation:import"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
displayName: "\u5BFC\u51FA",
|
|
364
|
-
functionName: "transexport",
|
|
365
|
-
show: !0,
|
|
366
|
-
transKey: "gd.btn.export",
|
|
367
|
-
icon: "gd-icon-daoru",
|
|
368
|
-
name: "sysTranslation:export"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
displayName: "\u53D1\u5E03",
|
|
372
|
-
functionName: "release",
|
|
373
|
-
show: !0,
|
|
374
|
-
transKey: "gd.btn.release",
|
|
375
|
-
icon: "gd-icon-fabu1",
|
|
376
|
-
btnType: "danger",
|
|
377
|
-
name: "sysTranslation:release"
|
|
378
|
-
}
|
|
379
|
-
],
|
|
380
|
-
advanced: !1,
|
|
381
|
-
queryParam: {},
|
|
382
|
-
columns: [
|
|
383
|
-
{
|
|
384
|
-
type: "selection",
|
|
385
|
-
width: "60",
|
|
386
|
-
fixed: !0
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
label: "\u7FFB\u8BD1\u503C(value)",
|
|
390
|
-
prop: "defaulttext",
|
|
391
|
-
align: "left",
|
|
392
|
-
type: "slot",
|
|
393
|
-
slotType: "defaulttext",
|
|
394
|
-
transKey: "gd.translation.value",
|
|
395
|
-
width: "260"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
label: "\u5BF9\u5E94\u503C(key)",
|
|
399
|
-
prop: "name",
|
|
400
|
-
transKey: "gd.translation.key",
|
|
401
|
-
align: "left",
|
|
402
|
-
width: "360"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
label: "\u7C7B\u578B",
|
|
406
|
-
prop: "type",
|
|
407
|
-
type: "slot",
|
|
408
|
-
slotType: "type",
|
|
409
|
-
align: "left",
|
|
410
|
-
transKey: "gd.translation.type",
|
|
411
|
-
width: "160"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
label: "\u72B6\u6001",
|
|
415
|
-
prop: "statecodes",
|
|
416
|
-
type: "slot",
|
|
417
|
-
slotType: "statecodes",
|
|
418
|
-
align: "left",
|
|
419
|
-
transKey: "gd.translation.stateCodes",
|
|
420
|
-
width: "160"
|
|
421
|
-
},
|
|
566
|
+
}, expression: "item.description" } })], 1)];
|
|
567
|
+
})], 2)], 1)])], 1);
|
|
568
|
+
}, C = [], F = /* @__PURE__ */ r(
|
|
569
|
+
S,
|
|
570
|
+
D,
|
|
571
|
+
C,
|
|
572
|
+
!1,
|
|
573
|
+
null,
|
|
574
|
+
"4f343c96",
|
|
575
|
+
null,
|
|
576
|
+
null
|
|
577
|
+
);
|
|
578
|
+
const L = F.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
579
|
+
__proto__: null,
|
|
580
|
+
default: L
|
|
581
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
582
|
+
const O = {
|
|
583
|
+
data() {
|
|
584
|
+
return {
|
|
585
|
+
visible: !1,
|
|
586
|
+
solutionId: "",
|
|
587
|
+
sysViewButtons: [
|
|
422
588
|
{
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
transKey: "gd.
|
|
427
|
-
|
|
589
|
+
displayName: "\u786E\u5B9A",
|
|
590
|
+
functionName: "handleSubmit",
|
|
591
|
+
show: !0,
|
|
592
|
+
transKey: "gd.btn.confirm",
|
|
593
|
+
icon: "save",
|
|
594
|
+
icon: "el-icon-document-checked"
|
|
428
595
|
}
|
|
429
596
|
],
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
597
|
+
confirmLoading: !1,
|
|
598
|
+
type: 1,
|
|
599
|
+
record: {},
|
|
600
|
+
advanced: !1,
|
|
601
|
+
fullScreen: !1,
|
|
602
|
+
width: "800px",
|
|
603
|
+
fileList: []
|
|
436
604
|
};
|
|
437
605
|
},
|
|
438
606
|
computed: {
|
|
439
|
-
|
|
440
|
-
return this.
|
|
441
|
-
}
|
|
442
|
-
y() {
|
|
443
|
-
let e = this.getBntnShow ? 0 : 38, t = this.quickQuery ? 4 : 0;
|
|
444
|
-
return this.screenHeight - 232 - t + e;
|
|
445
|
-
},
|
|
446
|
-
getBntnShow() {
|
|
447
|
-
let e = this.sysViewButtons.filter((t) => t.name && this.$hasPerm(t.name));
|
|
448
|
-
return this.crumbsState ? !0 : e.length > 0;
|
|
449
|
-
},
|
|
450
|
-
getBootTrans() {
|
|
451
|
-
return this.$bootTrans == null ? !1 : this.$bootTrans;
|
|
452
|
-
},
|
|
453
|
-
getHeight() {
|
|
454
|
-
return this.height;
|
|
455
|
-
},
|
|
456
|
-
...$(["tableSize", "tablePageSize", "screenHeight", "multiTab", "crumbsState"])
|
|
607
|
+
title() {
|
|
608
|
+
return this.$i18nt("gd.web.selectFile");
|
|
609
|
+
}
|
|
457
610
|
},
|
|
458
611
|
methods: {
|
|
459
|
-
|
|
460
|
-
this.
|
|
461
|
-
|
|
462
|
-
reset() {
|
|
463
|
-
this.queryParam = {};
|
|
464
|
-
},
|
|
465
|
-
query() {
|
|
466
|
-
this.$refs.table.refresh(!0);
|
|
612
|
+
handleRemove(e) {
|
|
613
|
+
const t = this.fileList.indexOf(e), s = this.fileList.slice();
|
|
614
|
+
s.splice(t, 1), this.fileList = s;
|
|
467
615
|
},
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
this.$confirm(this.$i18nt("gd.https.releaseContent", "\u786E\u8BA4\u53D1\u5E03?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
471
|
-
confirmButtonText: this.$i18nt("gd.https.releaseOk", "\u7ACB\u5373\u53D1\u5E03"),
|
|
472
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
473
|
-
showClose: !1,
|
|
474
|
-
confirmButtonLoading: !1,
|
|
475
|
-
cancelButtonLoading: !1,
|
|
476
|
-
closeOnClickModal: !1,
|
|
477
|
-
type: "warning",
|
|
478
|
-
confirmButtonClass: "el-button--danger",
|
|
479
|
-
customClass: "custom-alert",
|
|
480
|
-
callback: () => {
|
|
481
|
-
},
|
|
482
|
-
beforeClose: (t, s, a) => {
|
|
483
|
-
a(), t === "confirm" && (s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, p().then((i) => {
|
|
484
|
-
a(), s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0, i.success ? (e.$message.success(e.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), e.handleOk()) : e.$message.error(e.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message);
|
|
485
|
-
}).catch((i) => {
|
|
486
|
-
e.$message.error(e.$i18nt("gd.error.error") + i.message);
|
|
487
|
-
}));
|
|
488
|
-
}
|
|
489
|
-
});
|
|
616
|
+
beforeUpload(e) {
|
|
617
|
+
return this.fileList = [e], !1;
|
|
490
618
|
},
|
|
491
|
-
|
|
492
|
-
|
|
619
|
+
toggleFullscreen() {
|
|
620
|
+
this.fullScreen = !this.fullScreen;
|
|
493
621
|
},
|
|
494
|
-
|
|
495
|
-
this.
|
|
496
|
-
e.success ? this.$message.success(this.$i18nt("gd.https.operateSucc")) : this.$message.error(this.$i18nt("gd.https.operateFail") + e.message), this.formLoading = !1;
|
|
497
|
-
});
|
|
622
|
+
open(e) {
|
|
623
|
+
this.fileList = [], this.fullScreen = !1, this.visible = !0;
|
|
498
624
|
},
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
this.
|
|
503
|
-
|
|
504
|
-
message: this.$i18nt("gd.login.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
|
|
505
|
-
duration: 0,
|
|
506
|
-
iconClass: "el-icon-loading"
|
|
507
|
-
});
|
|
508
|
-
y({}).then((t) => {
|
|
509
|
-
this.exportWay(t, e);
|
|
625
|
+
handleSubmit() {
|
|
626
|
+
this.confirmLoading = !0;
|
|
627
|
+
let e = new FormData();
|
|
628
|
+
e.append("file", this.fileList[0]), v(e).then((t) => {
|
|
629
|
+
t.code == 200 ? this.translationImport(t) : (this.confirmLoading = !1, this.$message.error(t.message));
|
|
510
630
|
}).catch((t) => {
|
|
511
|
-
|
|
512
|
-
});
|
|
513
|
-
},
|
|
514
|
-
exportWay(e, t) {
|
|
515
|
-
if (e) {
|
|
516
|
-
const s = new Blob([e.data], {
|
|
517
|
-
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
518
|
-
}), a = URL.createObjectURL(s), i = document.createElement("a");
|
|
519
|
-
i.style.display = "none", i.href = a;
|
|
520
|
-
let l = new Date().getTime();
|
|
521
|
-
i.download = `translation${l}`, i.click(), URL.revokeObjectURL(i.href), setTimeout(() => {
|
|
522
|
-
this.state = !1, t.close();
|
|
523
|
-
}, 1e3);
|
|
524
|
-
} else
|
|
525
|
-
t.close(), setTimeout(() => {
|
|
526
|
-
this.statu = !1;
|
|
527
|
-
}, 1e3), this.$nextTick(() => {
|
|
528
|
-
setTimeout(() => {
|
|
529
|
-
this.$message.error(e.message);
|
|
530
|
-
}, 0);
|
|
531
|
-
});
|
|
532
|
-
},
|
|
533
|
-
transimport() {
|
|
534
|
-
this.$refs.timport.open();
|
|
535
|
-
},
|
|
536
|
-
add() {
|
|
537
|
-
this.$refs.editForm.init(null);
|
|
538
|
-
},
|
|
539
|
-
editForm() {
|
|
540
|
-
if (this.selectedRowKeys.length === 0) {
|
|
541
|
-
this.$message.warning(this.$i18nt("gd.https.editTip"));
|
|
542
|
-
return;
|
|
543
|
-
}
|
|
544
|
-
if (this.selectedRowKeys.length > 1) {
|
|
545
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne"));
|
|
546
|
-
return;
|
|
547
|
-
}
|
|
548
|
-
this.$refs.editForm.init(this.selectedRows[0]);
|
|
549
|
-
},
|
|
550
|
-
del() {
|
|
551
|
-
let e = this;
|
|
552
|
-
if (this.selectedRowKeys.length === 0) {
|
|
553
|
-
this.$message.warning(this.$i18nt("gd.https.delTip"));
|
|
554
|
-
return;
|
|
555
|
-
}
|
|
556
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
557
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u8BA4\u5220\u9664"),
|
|
558
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
559
|
-
showClose: !1,
|
|
560
|
-
confirmButtonLoading: !1,
|
|
561
|
-
cancelButtonLoading: !1,
|
|
562
|
-
closeOnClickModal: !1,
|
|
563
|
-
type: "warning",
|
|
564
|
-
confirmButtonClass: "el-button--danger",
|
|
565
|
-
customClass: "custom-alert",
|
|
566
|
-
callback: () => {
|
|
567
|
-
},
|
|
568
|
-
beforeClose: (t, s, a) => {
|
|
569
|
-
if (a(), t === "confirm")
|
|
570
|
-
return new Promise((i, l) => {
|
|
571
|
-
b({
|
|
572
|
-
ids: e.selectedRowKeys.join(",")
|
|
573
|
-
}).then((n) => {
|
|
574
|
-
n.success ? (e.$message.success(e.$i18nt("gd.https.delSucc")), e.handleOk()) : e.$message.error(e.$i18nt("gd.https.delFail") + n.message), i();
|
|
575
|
-
}).catch((n) => {
|
|
576
|
-
e.$message.error(e.$i18nt("gd.error.error") + n.message);
|
|
577
|
-
});
|
|
578
|
-
}).catch(() => console.log("Oops errors!"));
|
|
579
|
-
}
|
|
631
|
+
this.$message.error("\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5"), this.confirmLoading = !1;
|
|
580
632
|
});
|
|
581
633
|
},
|
|
582
|
-
|
|
583
|
-
let
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
587
|
-
showClose: !1,
|
|
588
|
-
confirmButtonLoading: !1,
|
|
589
|
-
cancelButtonLoading: !1,
|
|
590
|
-
closeOnClickModal: !1,
|
|
591
|
-
type: "warning",
|
|
592
|
-
confirmButtonClass: "el-button--danger",
|
|
593
|
-
customClass: "custom-alert",
|
|
594
|
-
callback: () => {
|
|
595
|
-
},
|
|
596
|
-
beforeClose: (t, s, a) => {
|
|
597
|
-
if (a(), t === "confirm")
|
|
598
|
-
return new Promise((i, l) => {
|
|
599
|
-
_({}).then((n) => {
|
|
600
|
-
n.success ? (e.$message.success(e.$i18nt("gd.https.operateSucc")), e.handleOk()) : e.$message.error(e.$i18nt("gd.https.operateFail") + n.message), i();
|
|
601
|
-
}).catch((n) => {
|
|
602
|
-
e.$message.error(e.$i18nt("gd.error.error") + n.message);
|
|
603
|
-
});
|
|
604
|
-
}).catch(() => console.log("Oops errors!"));
|
|
605
|
-
}
|
|
634
|
+
translationImport(e) {
|
|
635
|
+
let t = { fileId: e.data };
|
|
636
|
+
b(t).then((s) => {
|
|
637
|
+
this.confirmLoading = !1, s.success ? (this.closed(), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok")) : this.$message.error(s.message);
|
|
606
638
|
});
|
|
607
639
|
},
|
|
608
|
-
|
|
609
|
-
this
|
|
610
|
-
},
|
|
611
|
-
getDictionary(e) {
|
|
612
|
-
return this.$options.filters.dictData(e);
|
|
613
|
-
},
|
|
614
|
-
dictSwitch(e, t) {
|
|
615
|
-
let s = this.$options.filters.dictData(t).filter((a) => a.code == e)[0];
|
|
616
|
-
return s != null && s.colour ? s.colour : "";
|
|
617
|
-
},
|
|
618
|
-
onSelectChange(e, t) {
|
|
619
|
-
this.selectedRowKeys = e, this.selectedRows = t;
|
|
640
|
+
closed() {
|
|
641
|
+
this.selectedRowKeys = [], this.visible = !1;
|
|
620
642
|
},
|
|
621
643
|
doEvent(e) {
|
|
622
644
|
let t = e.item.functionName;
|
|
623
|
-
this[t]();
|
|
645
|
+
this[t] && this[t]();
|
|
624
646
|
}
|
|
625
647
|
}
|
|
626
648
|
};
|
|
627
649
|
var N = function() {
|
|
628
650
|
var t = this, s = t._self._c;
|
|
629
|
-
return s("
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
t.$set(t.queryParam, "description", a);
|
|
634
|
-
}, expression: "queryParam.description" } }), s("div", { staticClass: "table-operator-search", on: { click: t.query } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "300px" } }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: t.$i18nt("gd.translation.key"), clearable: "" }, nativeOn: { keyup: function(a) {
|
|
635
|
-
return !a.type.indexOf("key") && t._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : t.query.apply(null, arguments);
|
|
636
|
-
} }, model: { value: t.queryParam.name, callback: function(a) {
|
|
637
|
-
t.$set(t.queryParam, "name", a);
|
|
638
|
-
}, expression: "queryParam.name" } }), s("div", { staticClass: "table-operator-search", on: { click: t.query } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1)])];
|
|
639
|
-
}, proxy: !0 } : null, { key: "defaulttext", fn: function({ row: a }) {
|
|
640
|
-
return [s("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: function(i) {
|
|
641
|
-
return t.$refs.editForm.init(a);
|
|
642
|
-
} } }, [t._v(" " + t._s(a.defaulttext) + " ")])];
|
|
643
|
-
} }, { key: "type", fn: function(a) {
|
|
644
|
-
return [t.dictSwitch(a.row.type, "translation_type") ? s("el-tag", { attrs: { color: t.dictSwitch(a.row.type, "translation_type") } }, [t._v(" " + t._s(t._f("dictType")("translation_type", a.row.type)) + " ")]) : s("span", [t._v(t._s(t._f("dictType")("translation_type", a.row.type)))])];
|
|
645
|
-
} }, { key: "statecodes", fn: function(a) {
|
|
646
|
-
return [t.dictSwitch(a.row.statecodes, "state_code") ? s("el-tag", { attrs: { effect: "dark", color: t.dictSwitch(a.row.statecodes, "state_code") } }, [t._v(" " + t._s(t._f("dictType")("state_code", a.row.statecodes)) + " ")]) : s("span", [t._v(t._s(t._f("dictType")("state_code", a.row.statecodes)))])];
|
|
647
|
-
} }], null, !0) })], 1), s("editForm", { ref: "editForm", attrs: { tmtype: "translationManagement", openPermissions: !0 }, on: { ok: t.handleOk } }), s("timport", { ref: "timport", on: { ok: t.handleOk } })], 1);
|
|
648
|
-
}, K = [], q = /* @__PURE__ */ r(
|
|
651
|
+
return s("el-dialog", { class: t.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: t.width, visible: t.visible, fullscreen: t.fullScreen, footer: null, top: "80px", "show-close": !1 }, on: { "update:visible": function(a) {
|
|
652
|
+
t.visible = a;
|
|
653
|
+
}, cancel: t.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: t.title, confirmLoading: t.confirmLoading, visible: t.visible, fullscreen: t.fullScreen, buttons: t.sysViewButtons, showClose: !0 }, on: { changeEvent: t.doEvent } })], 1), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [s("div", { class: t.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-alert", { staticStyle: { "margin-bottom": "12px" }, attrs: { title: t.$i18nt("gd.translation.importTip", "\u9009\u62E9\u8981\u5BFC\u5165\u7684(.xlsx)\u6587\u4EF6"), type: "info", "show-icon": "", closable: !1 } }), s("el-row", { staticStyle: { "margin-left": "-12px", "margin-right": "-12px" }, attrs: { gutter: 48 } }, [s("el-col", { attrs: { md: 20, sm: 24 } }, [s("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { action: "", "file-list": t.fileList, remove: t.handleRemove, "before-upload": t.beforeUpload, accept: ".xlsx" } }, [s("el-button", { attrs: { id: "upload" } }, [s("i", { staticClass: "el-icon-upload2" }), t._v(" " + t._s(t.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1)], 1)], 1)])], 2);
|
|
654
|
+
}, K = [], P = /* @__PURE__ */ r(
|
|
649
655
|
O,
|
|
650
656
|
N,
|
|
651
657
|
K,
|
|
652
658
|
!1,
|
|
653
659
|
null,
|
|
654
|
-
"
|
|
660
|
+
"4232173a",
|
|
655
661
|
null,
|
|
656
662
|
null
|
|
657
663
|
);
|
|
658
|
-
const
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
};
|
|
664
|
+
const q = P.exports, R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
665
|
+
__proto__: null,
|
|
666
|
+
default: q
|
|
667
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
662
668
|
export {
|
|
663
669
|
o as G,
|
|
664
|
-
|
|
670
|
+
L as e
|
|
665
671
|
};
|