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
|
@@ -0,0 +1,1036 @@
|
|
|
1
|
+
import { s as u, a as m, b, c as K } from "./http.menumanage.3060f4c7.mjs";
|
|
2
|
+
import { s as $, g as v, a as C, b as T } from "./http.appmanage.e389782d.mjs";
|
|
3
|
+
import { m as y, n as f, a as _ } from "./components.chartbi.7356b244.mjs";
|
|
4
|
+
import x from "./components.iconselector.d2d970ba.mjs";
|
|
5
|
+
import { u as p, m as w } from "./utils.util.js.333daba2.mjs";
|
|
6
|
+
import { G as k, a as D } from "./http.translationmanage.f8694b51.mjs";
|
|
7
|
+
import { M as L } from "./page.designer.menutree.e4ce1e90.mjs";
|
|
8
|
+
const A = [{
|
|
9
|
+
name: "\u901A\u8BAF",
|
|
10
|
+
transKey: null,
|
|
11
|
+
list: [{
|
|
12
|
+
name: "\u6D88\u606F",
|
|
13
|
+
transKey: null,
|
|
14
|
+
component: "GdPageBuild",
|
|
15
|
+
code: "gdsys_app_chat_messages",
|
|
16
|
+
router: "chatMessages",
|
|
17
|
+
icon: "gd-icon-xitong",
|
|
18
|
+
url: "",
|
|
19
|
+
viewWeights: "1",
|
|
20
|
+
weight: "2",
|
|
21
|
+
sort: 100,
|
|
22
|
+
visible: "Y",
|
|
23
|
+
remark: "",
|
|
24
|
+
pageType: "sysBuiltin",
|
|
25
|
+
pageContent: {
|
|
26
|
+
type: "sysComponents",
|
|
27
|
+
key: "",
|
|
28
|
+
label: "\u6D88\u606F",
|
|
29
|
+
icon: "gd-icon-xitong",
|
|
30
|
+
transKey: null,
|
|
31
|
+
component: "chatMessages",
|
|
32
|
+
options: {},
|
|
33
|
+
css: {},
|
|
34
|
+
defined: {
|
|
35
|
+
pc: {},
|
|
36
|
+
mobile: {}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
list: []
|
|
40
|
+
}, {
|
|
41
|
+
name: "\u901A\u8BAF\u5F55",
|
|
42
|
+
transKey: null,
|
|
43
|
+
component: "GdPageBuild",
|
|
44
|
+
code: "gdsys_app_contacts",
|
|
45
|
+
router: "contacts",
|
|
46
|
+
icon: "gd-icon-xitong",
|
|
47
|
+
url: "",
|
|
48
|
+
viewWeights: "1",
|
|
49
|
+
weight: "2",
|
|
50
|
+
sort: 100,
|
|
51
|
+
visible: "Y",
|
|
52
|
+
remark: "",
|
|
53
|
+
pageType: "sysBuiltin",
|
|
54
|
+
pageContent: {
|
|
55
|
+
type: "sysComponents",
|
|
56
|
+
key: "",
|
|
57
|
+
label: "\u901A\u8BAF\u5F55",
|
|
58
|
+
icon: "gd-icon-xitong",
|
|
59
|
+
transKey: null,
|
|
60
|
+
component: "contacts",
|
|
61
|
+
options: {},
|
|
62
|
+
css: {},
|
|
63
|
+
defined: {
|
|
64
|
+
pc: {},
|
|
65
|
+
mobile: {}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
list: []
|
|
69
|
+
}]
|
|
70
|
+
}], I = A, h = [
|
|
71
|
+
{
|
|
72
|
+
code: "dataList",
|
|
73
|
+
name: "\u6570\u636E\u5217\u8868",
|
|
74
|
+
transKey: ""
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
code: "dataDetails",
|
|
78
|
+
name: "\u6570\u636E\u8BE6\u60C5",
|
|
79
|
+
transKey: ""
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
code: "dataForm",
|
|
83
|
+
name: "\u6570\u636E\u8868\u5355",
|
|
84
|
+
transKey: ""
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
code: "dataLookup",
|
|
88
|
+
name: "\u6570\u636E\u67E5\u627E",
|
|
89
|
+
transKey: ""
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
code: "funConfig",
|
|
93
|
+
name: "\u529F\u80FD\u914D\u7F6E",
|
|
94
|
+
transKey: ""
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
code: "webView",
|
|
98
|
+
name: "\u5916\u94FE\u63A5",
|
|
99
|
+
transKey: ""
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
code: "sysBuiltin",
|
|
103
|
+
name: "\u7CFB\u7EDF\u5185\u7F6E",
|
|
104
|
+
transKey: ""
|
|
105
|
+
}
|
|
106
|
+
], Y = [{
|
|
107
|
+
code: "WEB",
|
|
108
|
+
name: "H5",
|
|
109
|
+
transKey: ""
|
|
110
|
+
}, {
|
|
111
|
+
code: "APP-PLUS",
|
|
112
|
+
name: "App",
|
|
113
|
+
transKey: ""
|
|
114
|
+
}];
|
|
115
|
+
const S = {
|
|
116
|
+
suffixKey: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: "_m"
|
|
119
|
+
},
|
|
120
|
+
data() {
|
|
121
|
+
return {
|
|
122
|
+
sysCode: "GDS_LCDP",
|
|
123
|
+
type: "created",
|
|
124
|
+
width: "800px",
|
|
125
|
+
record: null,
|
|
126
|
+
confirmLoading: !1,
|
|
127
|
+
visible: !1,
|
|
128
|
+
fullscreen: !1,
|
|
129
|
+
buttons: [
|
|
130
|
+
{
|
|
131
|
+
displayName: "\u4E0B\u4E00\u6B65",
|
|
132
|
+
functionName: "next",
|
|
133
|
+
show: !0,
|
|
134
|
+
transKey: "gd.btn.next",
|
|
135
|
+
icon: "el-icon-d-arrow-right"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
displayName: "\u4E0A\u4E00\u6B65",
|
|
139
|
+
functionName: "prev",
|
|
140
|
+
show: !0,
|
|
141
|
+
transKey: "gd.btn.prev",
|
|
142
|
+
icon: "el-icon-d-arrow-left"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
displayName: "\u786E\u5B9A",
|
|
146
|
+
functionName: "handleSubmit",
|
|
147
|
+
show: !0,
|
|
148
|
+
transKey: "gd.btn.confirm",
|
|
149
|
+
icon: "el-icon-document-checked"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
disabledBtns: ["prev"],
|
|
153
|
+
selType: "directory",
|
|
154
|
+
mode: 1,
|
|
155
|
+
ruleForm: {
|
|
156
|
+
name: "",
|
|
157
|
+
code: "",
|
|
158
|
+
router: "",
|
|
159
|
+
icon: "",
|
|
160
|
+
weight: "2",
|
|
161
|
+
viewWeights: "2",
|
|
162
|
+
sysCodeGenName: "",
|
|
163
|
+
sort: 100,
|
|
164
|
+
visible: "Y",
|
|
165
|
+
remark: "",
|
|
166
|
+
pageType: "dataList"
|
|
167
|
+
},
|
|
168
|
+
rules: {
|
|
169
|
+
name: [{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: "blur" }],
|
|
170
|
+
code: [{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: "blur" }],
|
|
171
|
+
router: [{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: "blur" }],
|
|
172
|
+
pageType: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: "blur" }],
|
|
173
|
+
sort: [
|
|
174
|
+
{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: "blur" },
|
|
175
|
+
{ type: "number", message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
activeKey: 1,
|
|
179
|
+
contentTransKey: []
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
components: { iconSelector: x },
|
|
183
|
+
computed: {
|
|
184
|
+
getPageType() {
|
|
185
|
+
return console.log(h), h.filter((s) => s.code !== "sysBuiltin");
|
|
186
|
+
},
|
|
187
|
+
languageMessages() {
|
|
188
|
+
return this.$i18n.messages;
|
|
189
|
+
},
|
|
190
|
+
list() {
|
|
191
|
+
return I;
|
|
192
|
+
},
|
|
193
|
+
fadeColord() {
|
|
194
|
+
return this.fadeColor(this.primaryColor, 0.1);
|
|
195
|
+
},
|
|
196
|
+
getButtons() {
|
|
197
|
+
return this.buttons.filter((s) => !this.disabledBtns.includes(s.functionName));
|
|
198
|
+
},
|
|
199
|
+
modeList() {
|
|
200
|
+
return [
|
|
201
|
+
{ name: "\u7A7A\u767D\u76EE\u5F55", code: "directory", transKey: "gd.menuTree.blankDirectory" },
|
|
202
|
+
{ name: "\u7A7A\u767D\u9875\u9762", code: "page", transKey: "gd.menuTree.blankPage" }
|
|
203
|
+
];
|
|
204
|
+
},
|
|
205
|
+
systemInfoCode() {
|
|
206
|
+
return this.record.code === this.sysCode ? "" : `_${this.record.code}_`;
|
|
207
|
+
},
|
|
208
|
+
...y(["primaryColor", "tableLists"])
|
|
209
|
+
},
|
|
210
|
+
methods: {
|
|
211
|
+
selItem(s) {
|
|
212
|
+
this.$confirm(this.$i18nt("gd.https.createdContent", "\u662F\u5426\u521B\u5EFA\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
213
|
+
confirmButtonText: this.$i18nt("gd.https.createdOk", "\u786E\u8BA4\u521B\u5EFA"),
|
|
214
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
215
|
+
showClose: !1,
|
|
216
|
+
confirmButtonLoading: !1,
|
|
217
|
+
cancelButtonLoading: !1,
|
|
218
|
+
closeOnClickModal: !1,
|
|
219
|
+
type: "warning",
|
|
220
|
+
confirmButtonClass: "el-button--danger",
|
|
221
|
+
customClass: "custom-alert",
|
|
222
|
+
callback: () => {
|
|
223
|
+
},
|
|
224
|
+
beforeClose: (e, t, i) => {
|
|
225
|
+
if (e !== "confirm") {
|
|
226
|
+
i();
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
this.addPageMode(e, t, i, s);
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
},
|
|
233
|
+
addPageMode(s, e, t, i) {
|
|
234
|
+
const n = [...i.list];
|
|
235
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, this.confirmLoading = !0;
|
|
236
|
+
const a = Object.assign({ ...i.pageContent }, { key: `${i.pageContent.type}_${p(8)}` });
|
|
237
|
+
let r = {
|
|
238
|
+
pid: this.record.modeType === "application" ? 0 : this.record.id,
|
|
239
|
+
application: this.record.modeType === "application" ? this.record.code : this.record.application,
|
|
240
|
+
openType: "1",
|
|
241
|
+
type: "1",
|
|
242
|
+
webSource: null,
|
|
243
|
+
pageContent: JSON.stringify({
|
|
244
|
+
config: {
|
|
245
|
+
pageType: i.pageType
|
|
246
|
+
},
|
|
247
|
+
list: [a]
|
|
248
|
+
}),
|
|
249
|
+
expansion: JSON.stringify({
|
|
250
|
+
padding: [0, 0, 0, 0],
|
|
251
|
+
margin: [0, 0, 0, 0],
|
|
252
|
+
bjColor: "#fff",
|
|
253
|
+
radius: [0, 0, 0, 0],
|
|
254
|
+
customCss: "",
|
|
255
|
+
customClass: ""
|
|
256
|
+
}),
|
|
257
|
+
sysAppsId: this.record.sysAppsIded,
|
|
258
|
+
list: [],
|
|
259
|
+
code: this.systemInfoCode + i.code,
|
|
260
|
+
router: this.systemInfoCode === "" ? i.router : i.router + p(4, !1)
|
|
261
|
+
};
|
|
262
|
+
u(Object.assign({ ...i }, r)).then((o) => {
|
|
263
|
+
o.success ? this.addPermission(n, o.data, t, e) : (this.confirmLoading = !1, t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message));
|
|
264
|
+
});
|
|
265
|
+
},
|
|
266
|
+
addPermission(s, e, t, i) {
|
|
267
|
+
let n = [], a = {
|
|
268
|
+
pid: e,
|
|
269
|
+
application: this.record.modeType === "application" ? this.record.code : this.record.application,
|
|
270
|
+
openType: "0",
|
|
271
|
+
type: "2",
|
|
272
|
+
webSource: null,
|
|
273
|
+
pageContent: JSON.stringify({
|
|
274
|
+
list: []
|
|
275
|
+
}),
|
|
276
|
+
sysAppsId: this.record.sysAppsIded,
|
|
277
|
+
list: []
|
|
278
|
+
};
|
|
279
|
+
s.forEach((r) => {
|
|
280
|
+
let o = this.addSysMenuAddV2(Object.assign(r, { ...a }, { code: this.systemInfoCode + r.code })).then((l) => l);
|
|
281
|
+
n.push(o);
|
|
282
|
+
}), Promise.all(n).then(() => {
|
|
283
|
+
this.closed(), this.$emit("ok"), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), t(), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, this.confirmLoading = !1;
|
|
284
|
+
});
|
|
285
|
+
},
|
|
286
|
+
changeKey(s) {
|
|
287
|
+
s !== this.activeKey && (this.activeKey = s);
|
|
288
|
+
},
|
|
289
|
+
createItem(s) {
|
|
290
|
+
this.activeKey = 1, this.type = "copy", this.visible = !0, this.confirmLoading = !0, this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = s.modetype, m({ id: s.id }).then((e) => {
|
|
291
|
+
let t = { ...s };
|
|
292
|
+
e.code === 200 && (t = { ...e.data }), this.record = Object.assign(t, { sysAppsIded: s.sysAppsIded });
|
|
293
|
+
const i = p(9, !1);
|
|
294
|
+
this.ruleForm = {
|
|
295
|
+
name: t.name,
|
|
296
|
+
code: i,
|
|
297
|
+
router: i,
|
|
298
|
+
icon: t.icon,
|
|
299
|
+
viewWeights: t.viewweights,
|
|
300
|
+
weight: String(t.weight),
|
|
301
|
+
sort: t.sort,
|
|
302
|
+
visible: t.visible,
|
|
303
|
+
remark: t.remark,
|
|
304
|
+
sysCodeGenName: ""
|
|
305
|
+
}, this.delContentTransKey(), this.getAllLanguage(), this.confirmLoading = !1;
|
|
306
|
+
});
|
|
307
|
+
},
|
|
308
|
+
regenerateKey(s) {
|
|
309
|
+
return s && `${s.replace(this.suffixKey, "")}${p(2, !0, !1)}${this.suffixKey}`;
|
|
310
|
+
},
|
|
311
|
+
async delContentTransKey() {
|
|
312
|
+
let s = [], e = {};
|
|
313
|
+
const t = (n) => (n = n.filter((a, r) => {
|
|
314
|
+
if (["gridMenu", "graphicMenu"].includes(a.type))
|
|
315
|
+
a.menuList = a.menuList.map((o) => (e = {
|
|
316
|
+
transKey: this.regenerateKey(o.transKey),
|
|
317
|
+
describeTransKey: this.regenerateKey(o.describeTransKey)
|
|
318
|
+
}, s = s.concat([
|
|
319
|
+
{
|
|
320
|
+
oldKey: o.transKey,
|
|
321
|
+
newKey: e.transKey,
|
|
322
|
+
name: this.$i18nt(`Dynamics.${o.transKey}`, o.title)
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
oldKey: o.describeTransKey,
|
|
326
|
+
newKey: e.describeTransKey,
|
|
327
|
+
name: this.$i18nt(`Dynamics.${o.describeTransKey}`, o.describe)
|
|
328
|
+
}
|
|
329
|
+
]), Object.assign({ ...o }, e)));
|
|
330
|
+
else if (["btnGroup"].includes(a.type))
|
|
331
|
+
a.btnList = a.btnList.map((o) => o.btnMode === "btn" ? (e = { transKey: this.regenerateKey(o.transKey) }, s.push({
|
|
332
|
+
oldKey: o.transKey,
|
|
333
|
+
newKey: e.transKey,
|
|
334
|
+
name: this.$i18nt(`Dynamics.${o.transKey}`, o.displayName)
|
|
335
|
+
}), Object.assign({ ...o }, e)) : o);
|
|
336
|
+
else if (["textSearch"].includes(a.type))
|
|
337
|
+
e = { placeholderTransKey: this.regenerateKey(a.options.placeholderTransKey) }, s.push({
|
|
338
|
+
oldKey: a.options.placeholderTransKey,
|
|
339
|
+
newKey: e.placeholderTransKey,
|
|
340
|
+
name: this.$i18nt(`Dynamics.${a.options.placeholderTransKey}`, a.options.placeholder)
|
|
341
|
+
}), a.options = Object.assign({ ...a.options }, e);
|
|
342
|
+
else if (["divider", "textContent", "tag", "link", "card", "approval", "approvalHistory", "auditLog"].includes(a.type)) {
|
|
343
|
+
e = { transKey: this.regenerateKey(a.options.transKey) };
|
|
344
|
+
const o = ["card"].includes(a.type) ? a.options.header : ["approval", "approvalHistory", "auditLog"].includes(a.type) ? a.label : a.options.title;
|
|
345
|
+
s.push({
|
|
346
|
+
oldKey: a.options.transKey,
|
|
347
|
+
newKey: e.transKey,
|
|
348
|
+
name: this.$i18nt(`Dynamics.${a.options.transKey}`, o)
|
|
349
|
+
}), a.options = Object.assign({ ...a.options }, e);
|
|
350
|
+
} else
|
|
351
|
+
["title"].includes(a.type) ? (e = {
|
|
352
|
+
transKey: this.regenerateKey(a.options.transKey),
|
|
353
|
+
subtransKey: this.regenerateKey(a.options.subtransKey)
|
|
354
|
+
}, s = s.concat([
|
|
355
|
+
{
|
|
356
|
+
oldKey: a.options.transKey,
|
|
357
|
+
newKey: e.transKey,
|
|
358
|
+
name: this.$i18nt(`Dynamics.${a.options.transKey}`, a.options.title)
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
oldKey: a.options.subtransKey,
|
|
362
|
+
newKey: e.subtransKey,
|
|
363
|
+
name: this.$i18nt(`Dynamics.${a.options.subtransKey}`, a.options.subtitle)
|
|
364
|
+
}
|
|
365
|
+
]), a.options = Object.assign({ ...a.options }, e)) : ["statistic"].includes(a.type) ? (e = {
|
|
366
|
+
transKey: this.regenerateKey(a.options.transKey),
|
|
367
|
+
prefixTransKey: this.regenerateKey(a.options.titlePrefix.transKey),
|
|
368
|
+
suffixTransKey: this.regenerateKey(a.options.titleSuffix.transKey)
|
|
369
|
+
}, s = s.concat([
|
|
370
|
+
{
|
|
371
|
+
oldKey: a.options.transKey,
|
|
372
|
+
newKey: e.transKey,
|
|
373
|
+
name: this.$i18nt(`Dynamics.${a.options.transKey}`, a.options.statisticTitle)
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
oldKey: a.options.titlePrefix.transKey,
|
|
377
|
+
newKey: e.prefixTransKey,
|
|
378
|
+
name: this.$i18nt(`Dynamics.${a.options.titlePrefix.transKey}`, a.options.titlePrefix.name)
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
oldKey: a.options.titleSuffix.transKey,
|
|
382
|
+
newKey: e.suffixTransKey,
|
|
383
|
+
name: this.$i18nt(`Dynamics.${a.options.titleSuffix.transKey}`, a.options.titleSuffix.name)
|
|
384
|
+
}
|
|
385
|
+
]), a.options = Object.assign(
|
|
386
|
+
{ ...a.options },
|
|
387
|
+
{
|
|
388
|
+
transKey: e.transKey,
|
|
389
|
+
titlePrefix: Object.assign(
|
|
390
|
+
{ ...a.titlePrefix },
|
|
391
|
+
{
|
|
392
|
+
transKey: e.prefixTransKey
|
|
393
|
+
}
|
|
394
|
+
),
|
|
395
|
+
titleSuffix: Object.assign(
|
|
396
|
+
{ ...a.titleSuffix },
|
|
397
|
+
{
|
|
398
|
+
transKey: e.prefixTransKey
|
|
399
|
+
}
|
|
400
|
+
)
|
|
401
|
+
}
|
|
402
|
+
)) : [
|
|
403
|
+
"input",
|
|
404
|
+
"textarea",
|
|
405
|
+
"editor",
|
|
406
|
+
"inputNumber",
|
|
407
|
+
"switch",
|
|
408
|
+
"radio",
|
|
409
|
+
"checkbox",
|
|
410
|
+
"select",
|
|
411
|
+
"selectMultiple",
|
|
412
|
+
"uploadImg",
|
|
413
|
+
"uploadFile",
|
|
414
|
+
"datePicker",
|
|
415
|
+
"timePicker"
|
|
416
|
+
].includes(a.type) && (e = {
|
|
417
|
+
transKey: this.regenerateKey(a.options.transKey),
|
|
418
|
+
placeholderTransKey: this.regenerateKey(a.options.placeholderTransKey)
|
|
419
|
+
}, s = s.concat([
|
|
420
|
+
{
|
|
421
|
+
oldKey: a.options.transKey,
|
|
422
|
+
newKey: e.transKey,
|
|
423
|
+
name: this.$i18nt(`Dynamics.${a.options.transKey}`, a.label)
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
oldKey: a.options.placeholderTransKey,
|
|
427
|
+
newKey: e.placeholderTransKey,
|
|
428
|
+
name: this.$i18nt(`Dynamics.${a.options.placeholderTransKey}`, a.options.placeholder)
|
|
429
|
+
}
|
|
430
|
+
]), a.options = Object.assign({ ...a.options }, e));
|
|
431
|
+
return a.columns ? a.columns.forEach((o, l) => {
|
|
432
|
+
["collapse", "tabs"].includes(a.type) && (e = { transKey: this.regenerateKey(o.transKey) }, s.push({
|
|
433
|
+
oldKey: o.transKey,
|
|
434
|
+
newKey: e.transKey,
|
|
435
|
+
name: this.$i18nt(`Dynamics.${o.transKey}`, o.label)
|
|
436
|
+
}), a.columns[l].transKey = e.transKey), t(o.list);
|
|
437
|
+
}) : a.list && t(a.list), !0;
|
|
438
|
+
}), n), i = this.record.pagecontent ? JSON.parse(this.record.pagecontent) : { list: [] };
|
|
439
|
+
await t(i.list), this.contentTransKey = s;
|
|
440
|
+
},
|
|
441
|
+
getAllLanguage() {
|
|
442
|
+
k().then((s) => {
|
|
443
|
+
s.code === 200 && (this.translationLangs = s.data);
|
|
444
|
+
});
|
|
445
|
+
},
|
|
446
|
+
batchAddTransKey() {
|
|
447
|
+
const s = this.contentTransKey.filter((t) => t.oldKey);
|
|
448
|
+
if (this.type === "created" || s.length === 0)
|
|
449
|
+
return new Promise((t) => {
|
|
450
|
+
t();
|
|
451
|
+
});
|
|
452
|
+
let e = [];
|
|
453
|
+
return s.forEach((t) => {
|
|
454
|
+
e.push(this.batchAddTranslation(t));
|
|
455
|
+
}), D(e).then((t) => t);
|
|
456
|
+
},
|
|
457
|
+
batchAddTranslation(s) {
|
|
458
|
+
let e = [];
|
|
459
|
+
return this.translationLangs.forEach((t) => {
|
|
460
|
+
const i = w(t.languagecode, `Dynamics.${s.oldKey}`, s.name);
|
|
461
|
+
e.push(
|
|
462
|
+
Object.assign(
|
|
463
|
+
{ ...t },
|
|
464
|
+
{
|
|
465
|
+
description: i
|
|
466
|
+
}
|
|
467
|
+
)
|
|
468
|
+
);
|
|
469
|
+
}), {
|
|
470
|
+
defaulttext: s.name,
|
|
471
|
+
hintcatalogid: "",
|
|
472
|
+
name: s.newKey,
|
|
473
|
+
type: "3",
|
|
474
|
+
langs: e
|
|
475
|
+
};
|
|
476
|
+
},
|
|
477
|
+
handleSubmit() {
|
|
478
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
|
|
479
|
+
if (!s) {
|
|
480
|
+
this.confirmLoading = !1;
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
this.selType === "directory" ? this.addDirectory() : this.addPage();
|
|
484
|
+
});
|
|
485
|
+
},
|
|
486
|
+
addPage() {
|
|
487
|
+
const s = this.type === "created" ? {
|
|
488
|
+
pid: this.record.modeType === "application" ? 0 : this.record.id,
|
|
489
|
+
application: this.record.modeType === "application" ? this.record.code : this.record.application,
|
|
490
|
+
openType: "1",
|
|
491
|
+
type: "1",
|
|
492
|
+
component: "GdPageBuild",
|
|
493
|
+
webSource: null,
|
|
494
|
+
pageContent: JSON.stringify({
|
|
495
|
+
config: {
|
|
496
|
+
pageType: this.ruleForm.pageType
|
|
497
|
+
},
|
|
498
|
+
list: []
|
|
499
|
+
}),
|
|
500
|
+
expansion: JSON.stringify({
|
|
501
|
+
padding: [12, 12, 12, 12],
|
|
502
|
+
margin: [0, 0, 0, 0],
|
|
503
|
+
bjColor: "#fff",
|
|
504
|
+
radius: [0, 0, 0, 0],
|
|
505
|
+
customCss: "",
|
|
506
|
+
customClass: ""
|
|
507
|
+
}),
|
|
508
|
+
sysAppsId: this.record.sysAppsIded
|
|
509
|
+
} : {
|
|
510
|
+
pid: this.record.pid,
|
|
511
|
+
application: this.record.application,
|
|
512
|
+
openType: this.record.opentype,
|
|
513
|
+
type: this.record.type,
|
|
514
|
+
component: this.record.component,
|
|
515
|
+
webSource: this.record.websource,
|
|
516
|
+
pageContent: this.record.pagecontent,
|
|
517
|
+
sysAppsId: this.record.sysAppsIded
|
|
518
|
+
};
|
|
519
|
+
u(Object.assign({ ...this.ruleForm }, s)).then((e) => {
|
|
520
|
+
e.success ? (this.batchAddTransKey(), this.closed(), this.$emit("ok"), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message), this.confirmLoading = !1;
|
|
521
|
+
});
|
|
522
|
+
},
|
|
523
|
+
addDirectory() {
|
|
524
|
+
const s = this.type === "created" ? {
|
|
525
|
+
pid: 0,
|
|
526
|
+
application: this.record.code,
|
|
527
|
+
openType: "0",
|
|
528
|
+
type: "0",
|
|
529
|
+
component: "PageView",
|
|
530
|
+
webSource: null,
|
|
531
|
+
pageContent: JSON.stringify({
|
|
532
|
+
config: {
|
|
533
|
+
pageType: "sysBuiltin"
|
|
534
|
+
},
|
|
535
|
+
list: []
|
|
536
|
+
}),
|
|
537
|
+
expansion: JSON.stringify({
|
|
538
|
+
padding: [12, 12, 12, 12],
|
|
539
|
+
margin: [0, 0, 0, 0],
|
|
540
|
+
bjColor: "#fff",
|
|
541
|
+
radius: [0, 0, 0, 0],
|
|
542
|
+
customCss: "",
|
|
543
|
+
customClass: ""
|
|
544
|
+
}),
|
|
545
|
+
sysAppsId: this.record.sysAppsIded
|
|
546
|
+
} : {
|
|
547
|
+
pid: this.record.pid,
|
|
548
|
+
application: this.record.application,
|
|
549
|
+
openType: this.record.openType,
|
|
550
|
+
type: this.record.type,
|
|
551
|
+
component: this.record.component,
|
|
552
|
+
webSource: this.record.webSource,
|
|
553
|
+
pageContent: this.record.pageContent,
|
|
554
|
+
sysAppsId: this.record.sysAppsIded
|
|
555
|
+
};
|
|
556
|
+
u(Object.assign({ ...this.ruleForm }, s)).then((e) => {
|
|
557
|
+
e.success ? (this.closed(), this.$emit("ok"), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message), this.confirmLoading = !1;
|
|
558
|
+
});
|
|
559
|
+
},
|
|
560
|
+
addSysMenuAddV2(s) {
|
|
561
|
+
return u(s).then((e) => e);
|
|
562
|
+
},
|
|
563
|
+
next() {
|
|
564
|
+
this.disabledBtns = ["next"], this.mode = 2;
|
|
565
|
+
},
|
|
566
|
+
prev() {
|
|
567
|
+
this.disabledBtns = ["prev", "handleSubmit"], this.mode = 1;
|
|
568
|
+
},
|
|
569
|
+
open(s) {
|
|
570
|
+
this.activeKey = 1, this.type = "created", this.record = s, this.visible = !0;
|
|
571
|
+
const e = p(9, !1);
|
|
572
|
+
if (this.ruleForm = Object.assign(this.ruleForm, {
|
|
573
|
+
code: e,
|
|
574
|
+
router: e,
|
|
575
|
+
sysCodeGenName: ""
|
|
576
|
+
}), s.modeType === "application") {
|
|
577
|
+
this.disabledBtns = ["prev", "handleSubmit"], this.selType = "directory", this.mode = 1;
|
|
578
|
+
return;
|
|
579
|
+
}
|
|
580
|
+
this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = "page";
|
|
581
|
+
},
|
|
582
|
+
closed() {
|
|
583
|
+
this.$refs.ruleForm && this.$refs.ruleForm.resetFields(), this.visible = !1, this.mode = 1, this.selType = "directory", this.fullscreen = !1;
|
|
584
|
+
},
|
|
585
|
+
doEvent(s) {
|
|
586
|
+
let e = s.item.functionName;
|
|
587
|
+
this[e] && this[e]();
|
|
588
|
+
},
|
|
589
|
+
handleIcon() {
|
|
590
|
+
this.$refs.iconSelector.open();
|
|
591
|
+
},
|
|
592
|
+
toggleFullscreen() {
|
|
593
|
+
this.fullscreen = !this.fullscreen;
|
|
594
|
+
},
|
|
595
|
+
fadeColor(s, e) {
|
|
596
|
+
let t = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), n = parseInt(s.substring(5, 7), 16);
|
|
597
|
+
return `rgba(${t},${i},${n},${e})`;
|
|
598
|
+
},
|
|
599
|
+
getDictionary(s) {
|
|
600
|
+
return this.$options.filters.dictData(s);
|
|
601
|
+
},
|
|
602
|
+
getTransKey(s) {
|
|
603
|
+
let e = `STF_T${s.code}_${p(8)}`, t = [
|
|
604
|
+
{
|
|
605
|
+
val: s.name,
|
|
606
|
+
code: "zh_CN"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
val: s.name,
|
|
610
|
+
code: "en_US"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
val: s.name,
|
|
614
|
+
code: "vi_VN"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
val: s.name,
|
|
618
|
+
code: "id_ID"
|
|
619
|
+
}
|
|
620
|
+
];
|
|
621
|
+
return JSON.stringify({ name: e, langs: t });
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
};
|
|
625
|
+
var P = function() {
|
|
626
|
+
var e = this, t = e._self._c;
|
|
627
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
628
|
+
e.visible = i;
|
|
629
|
+
}, closed: e.closed } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.btn.add", "\u65B0\u589E"), fullscreen: e.fullscreen, buttons: e.getButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.mode === 1 ? [t("el-alert", { attrs: { title: e.$i18nt("gd.menuTree.ppleaseSelectANewType", "\u8BF7\u9009\u62E9\u65B0\u5EFA\u7C7B\u578B"), type: "info", closable: !1, "show-icon": "" } }), t("div", { staticClass: "page-mode" }, e._l(e.modeList, function(i) {
|
|
630
|
+
return t("div", { key: i.code, staticClass: "item", class: i.code === e.selType ? "item-mode" : "", on: { click: function(n) {
|
|
631
|
+
e.selType = i.code;
|
|
632
|
+
} } }, [t("i", { staticClass: "el-icon-plus" }), t("div", { staticClass: "name" }, [e._v(e._s(e.$i18nt(i.transKey, i.name)))])]);
|
|
633
|
+
}), 0)] : t("div", { staticClass: "page-flex", class: e.fullscreen ? "page-flex-big" : "", style: { "--dilute": e.fadeColord } }, [e.selType === "page" ? t("div", { staticClass: "page-flex-l" }, [t("div", { staticClass: "item", class: e.activeKey === 1 ? "item-active" : "", on: { click: function(i) {
|
|
634
|
+
return e.changeKey(1);
|
|
635
|
+
} } }, [t("i", { staticClass: "el-icon-circle-plus" }), t("span", { staticClass: "name" }, [e._v(e._s(e.$i18nt("gd.menuTree.blankPage", "\u7A7A\u767D\u9875\u9762")))])]), t("el-divider"), t("div", { staticClass: "item", class: e.activeKey === 2 ? "item-active" : "", on: { click: function(i) {
|
|
636
|
+
return e.changeKey(2);
|
|
637
|
+
} } }, [t("i", { staticClass: "gd-icons gd-icon-xitong" }), t("span", { staticClass: "name" }, [e._v(e._s(e.$i18nt("gd.menuTree.systemPage", "\u7CFB\u7EDF\u9875\u9762")))])])], 1) : e._e(), t("div", { staticClass: "page-flex-r" }, [t("el-form", { directives: [{ name: "show", rawName: "v-show", value: e.activeKey === 1, expression: "activeKey === 1" }], ref: "ruleForm", staticStyle: { width: "90%", margin: "0 auto" }, attrs: { model: e.ruleForm, rules: e.rules, "label-width": "140px", size: "mini" }, nativeOn: { submit: function(i) {
|
|
638
|
+
i.preventDefault();
|
|
639
|
+
} } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.directory.name", "\u540D\u79F0"), prop: "name" } }, [t("div", { staticClass: "gd-form-item-displayName" }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.name, callback: function(i) {
|
|
640
|
+
e.$set(e.ruleForm, "name", i);
|
|
641
|
+
}, expression: "ruleForm.name" } }), e.ruleForm.name && !e.ruleForm.transkey ? t("gd-translation", { ref: "gdTranslation", attrs: { transKey: e.getTransKey(e.ruleForm, 2), recordData: e.ruleForm, type: 3 } }) : e._e()], 1)]), t("el-form-item", { attrs: { label: e.$i18nt("gd.directory.code", "\u552F\u4E00\u7F16\u7801"), prop: "code" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.code, callback: function(i) {
|
|
642
|
+
e.$set(e.ruleForm, "code", i);
|
|
643
|
+
}, expression: "ruleForm.code" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.directory.router", "\u8DEF\u7531\u5730\u5740"), prop: "router" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.router, callback: function(i) {
|
|
644
|
+
e.$set(e.ruleForm, "router", i);
|
|
645
|
+
}, expression: "ruleForm.router" } }, [t("template", { slot: "prepend" }, [e._v("/")])], 2)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.directory.icon", "\u56FE\u6807"), prop: "icon" } }, [t("div", { staticClass: "item-operator" }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: e.ruleForm.icon, callback: function(i) {
|
|
646
|
+
e.$set(e.ruleForm, "icon", i);
|
|
647
|
+
}, expression: "ruleForm.icon" } }, [e.ruleForm.icon ? t("i", { staticClass: "el-input__icon gd-icons active-color", class: e.ruleForm.icon, staticStyle: { "font-weight": "400", "font-size": "16px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : e._e()]), t("div", { staticClass: "item-operator-cao" }, [t("i", { staticClass: "el-icon-search", on: { click: e.handleIcon } })])], 1)]), e.selType === "page" ? t("el-form-item", { attrs: { label: e.$i18nt("gd.menu.tabledd", "\u9875\u9762\u7C7B\u578B"), prop: "pageType" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleForm.pageType, callback: function(i) {
|
|
648
|
+
e.$set(e.ruleForm, "pageType", i);
|
|
649
|
+
}, expression: "ruleForm.pageType" } }, [e._l(e.getPageType, function(i) {
|
|
650
|
+
return [t("el-option", { attrs: { label: e.$i18nt(i.transKey, i.name), value: i.code } })];
|
|
651
|
+
})], 2)], 1) : e._e(), t("el-form-item", { attrs: { label: e.$i18nt("gd.directory.sort", "\u6392\u5E8F"), prop: "sort" } }, [t("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right" }, model: { value: e.ruleForm.sort, callback: function(i) {
|
|
652
|
+
e.$set(e.ruleForm, "sort", i);
|
|
653
|
+
}, expression: "ruleForm.sort" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.directory.remark", "\u5907\u6CE8"), prop: "remark" } }, [t("el-input", { attrs: { type: "textarea", autosize: { minRows: 3, maxRows: 5 }, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.remark, callback: function(i) {
|
|
654
|
+
e.$set(e.ruleForm, "remark", i);
|
|
655
|
+
}, expression: "ruleForm.remark" } })], 1)], 1), e.activeKey === 2 ? t("div", { staticClass: "page-flexr-list" }, e._l(e.list, function(i, n) {
|
|
656
|
+
return t("div", [n !== 0 ? t("el-divider") : e._e(), t("div", { staticClass: "name" }, [e._v(e._s(i.name))]), t("div", { staticClass: "item-list" }, e._l(i.list, function(a) {
|
|
657
|
+
return t("div", { staticClass: "items", on: { click: function(r) {
|
|
658
|
+
return e.selItem(a);
|
|
659
|
+
} } }, [t("div", { staticClass: "items-box" }, [t("div", { staticClass: "kuang" }, [t("i", { staticClass: "gd-icons", class: a.icon })]), t("div", { staticClass: "spu" }, [e._v(e._s(a.name))])])]);
|
|
660
|
+
}), 0)], 1);
|
|
661
|
+
}), 0) : e._e()], 1)])], 2)], 1), t("iconSelector", { ref: "iconSelector", model: { value: e.ruleForm.icon, callback: function(i) {
|
|
662
|
+
e.$set(e.ruleForm, "icon", i);
|
|
663
|
+
}, expression: "ruleForm.icon" } })], 1);
|
|
664
|
+
}, F = [], N = /* @__PURE__ */ f(
|
|
665
|
+
S,
|
|
666
|
+
P,
|
|
667
|
+
F,
|
|
668
|
+
!1,
|
|
669
|
+
null,
|
|
670
|
+
"be32156b",
|
|
671
|
+
null,
|
|
672
|
+
null
|
|
673
|
+
);
|
|
674
|
+
const O = N.exports, B = {
|
|
675
|
+
data() {
|
|
676
|
+
return {
|
|
677
|
+
appColumns: [{
|
|
678
|
+
transKey: "gd.application.name",
|
|
679
|
+
prop: "name",
|
|
680
|
+
effectType: "input",
|
|
681
|
+
label: "\u540D\u79F0",
|
|
682
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
683
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
684
|
+
rules: [{
|
|
685
|
+
required: !0,
|
|
686
|
+
message: "\u8BF7\u8F93\u5165",
|
|
687
|
+
transKey: "gd.placeholder.input",
|
|
688
|
+
trigger: "change"
|
|
689
|
+
}]
|
|
690
|
+
}, {
|
|
691
|
+
transKey: "gd.application.code",
|
|
692
|
+
prop: "code",
|
|
693
|
+
effectType: "input",
|
|
694
|
+
label: "\u552F\u4E00\u7F16\u7801",
|
|
695
|
+
disabled: !1,
|
|
696
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
697
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
698
|
+
rules: [{
|
|
699
|
+
required: !0,
|
|
700
|
+
message: "\u8BF7\u8F93\u5165",
|
|
701
|
+
transKey: "gd.placeholder.input",
|
|
702
|
+
trigger: "change"
|
|
703
|
+
}]
|
|
704
|
+
}, {
|
|
705
|
+
transKey: "gd.application.icon",
|
|
706
|
+
prop: "icon",
|
|
707
|
+
effectType: "icon",
|
|
708
|
+
label: "\u56FE\u6807",
|
|
709
|
+
disabled: !1,
|
|
710
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
711
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
712
|
+
rules: [{
|
|
713
|
+
required: !0,
|
|
714
|
+
message: "\u8BF7\u8F93\u5165",
|
|
715
|
+
transKey: "gd.placeholder.input",
|
|
716
|
+
trigger: "change"
|
|
717
|
+
}]
|
|
718
|
+
}, {
|
|
719
|
+
transKey: "gd.application.sort",
|
|
720
|
+
prop: "sort",
|
|
721
|
+
effectType: "inputnumber",
|
|
722
|
+
label: "\u6392\u5E8F",
|
|
723
|
+
defaultValue: 100,
|
|
724
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
725
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
726
|
+
rules: [{
|
|
727
|
+
required: !0,
|
|
728
|
+
message: "\u8BF7\u8F93\u5165",
|
|
729
|
+
transKey: "gd.placeholder.input",
|
|
730
|
+
trigger: "change",
|
|
731
|
+
type: "number"
|
|
732
|
+
}]
|
|
733
|
+
}],
|
|
734
|
+
formButtons: [{
|
|
735
|
+
displayName: "\u786E\u5B9A",
|
|
736
|
+
functionName: "handleSubmit",
|
|
737
|
+
show: !0,
|
|
738
|
+
transKey: "gd.btn.confirm",
|
|
739
|
+
icon: "el-icon-document-checked",
|
|
740
|
+
validate: !0
|
|
741
|
+
}]
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
};
|
|
745
|
+
const j = {
|
|
746
|
+
props: {
|
|
747
|
+
platformData: {
|
|
748
|
+
type: Object,
|
|
749
|
+
default: () => {
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
record: {
|
|
753
|
+
type: Object,
|
|
754
|
+
default: () => {
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
mixins: [B],
|
|
759
|
+
components: { AddPage: O, MovePid: L },
|
|
760
|
+
data() {
|
|
761
|
+
return {
|
|
762
|
+
formLoading: !1,
|
|
763
|
+
name: "",
|
|
764
|
+
menuList: [],
|
|
765
|
+
appList: [],
|
|
766
|
+
treeData: [],
|
|
767
|
+
propsNode: {
|
|
768
|
+
label: "label",
|
|
769
|
+
children: "children"
|
|
770
|
+
},
|
|
771
|
+
loading: !1,
|
|
772
|
+
selectedNode: 0,
|
|
773
|
+
transKey: "",
|
|
774
|
+
selItem: {},
|
|
775
|
+
basicAttribute: {}
|
|
776
|
+
};
|
|
777
|
+
},
|
|
778
|
+
computed: {
|
|
779
|
+
height() {
|
|
780
|
+
return this.screenHeight - 24 - 40 - 36 - 46;
|
|
781
|
+
},
|
|
782
|
+
styled() {
|
|
783
|
+
return this.openManage ? "z-index:7" : "";
|
|
784
|
+
},
|
|
785
|
+
fadeColord() {
|
|
786
|
+
return this.fadeColor(this.primaryColor, 0.1);
|
|
787
|
+
},
|
|
788
|
+
...y(["labelPosition", "formMode", "primaryColor", "pageDesignerData"])
|
|
789
|
+
},
|
|
790
|
+
methods: {
|
|
791
|
+
updateTree(s, e) {
|
|
792
|
+
const t = e === "navigation" ? 0 : s.id;
|
|
793
|
+
let i = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` == `${t}_${this.record.id}`)[0];
|
|
794
|
+
if (e === "navigation" && (i = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` == `${t}_${this.record.id}` && n.id === 0)[0]), i) {
|
|
795
|
+
const n = this.pageDesignerData.filter((a) => `${a.id}_${a.sysAppsIded}` != `${i.id}_${i.sysAppsIded}`);
|
|
796
|
+
this.PageDesignerData(n);
|
|
797
|
+
}
|
|
798
|
+
this.init();
|
|
799
|
+
},
|
|
800
|
+
moveItem(s) {
|
|
801
|
+
const e = `popover_${s.id}`;
|
|
802
|
+
this.$refs[e].doClose(), this.$refs.movePid.open(s);
|
|
803
|
+
},
|
|
804
|
+
createItem(s) {
|
|
805
|
+
const e = `popover_${s.id}`;
|
|
806
|
+
this.$refs[e].doClose(), this.$refs.addPage.createItem(s);
|
|
807
|
+
},
|
|
808
|
+
okPage() {
|
|
809
|
+
this.init();
|
|
810
|
+
},
|
|
811
|
+
del(s) {
|
|
812
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
813
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
814
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
815
|
+
showClose: !1,
|
|
816
|
+
confirmButtonLoading: !1,
|
|
817
|
+
cancelButtonLoading: !1,
|
|
818
|
+
closeOnClickModal: !1,
|
|
819
|
+
type: "warning",
|
|
820
|
+
confirmButtonClass: "el-button--danger",
|
|
821
|
+
customClass: "custom-alert",
|
|
822
|
+
callback: () => {
|
|
823
|
+
},
|
|
824
|
+
beforeClose: (e, t, i) => {
|
|
825
|
+
if (e !== "confirm") {
|
|
826
|
+
i();
|
|
827
|
+
return;
|
|
828
|
+
}
|
|
829
|
+
this.delHand(e, t, i, s);
|
|
830
|
+
}
|
|
831
|
+
});
|
|
832
|
+
},
|
|
833
|
+
delHand(s, e, t, i) {
|
|
834
|
+
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, (i.modeType === "application" ? $ : b)({ id: i.id }).then((a) => {
|
|
835
|
+
a.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.init()) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a.message), t(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
836
|
+
});
|
|
837
|
+
},
|
|
838
|
+
saveSysApp({ data: s, record: e, btn: t }, i, n) {
|
|
839
|
+
this.formLoading = !0, (e ? C : T)(
|
|
840
|
+
e ? s : Object.assign(s, {
|
|
841
|
+
sys_AppsId: this.record.id,
|
|
842
|
+
isNavigation: 1,
|
|
843
|
+
isInherit: 1,
|
|
844
|
+
basicAttribute: JSON.stringify(this.basicAttribute),
|
|
845
|
+
applicationType: 1,
|
|
846
|
+
active: "Y"
|
|
847
|
+
})
|
|
848
|
+
).then((r) => {
|
|
849
|
+
r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.init()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.formLoading = !1;
|
|
850
|
+
});
|
|
851
|
+
},
|
|
852
|
+
sbumit(s, e, t) {
|
|
853
|
+
if (this.selItem.modeType === "navigation") {
|
|
854
|
+
this.saveSysApp(s, e, t);
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
add(s) {
|
|
859
|
+
if (this.selItem = s, s.modeType === "navigation") {
|
|
860
|
+
this.transKey = "gd.btn.add", this.$refs.editForm.open(null).then(({ instance: e, done: t }) => {
|
|
861
|
+
t({
|
|
862
|
+
code: p(8, !1)
|
|
863
|
+
});
|
|
864
|
+
});
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
this.$refs.addPage.open(s);
|
|
868
|
+
},
|
|
869
|
+
init() {
|
|
870
|
+
this.loading = !0, Promise.all([this.getAppList(), this.getMenuList()]).then((s) => {
|
|
871
|
+
let e = [...this.appList];
|
|
872
|
+
e.forEach((i, n) => {
|
|
873
|
+
e[n].pid = 0, e[n].modeType = "application";
|
|
874
|
+
let a = this.menuList.filter((r) => r.application === i.code ? (r.pid = i.id, !0) : !1);
|
|
875
|
+
a && (e[n].children = a);
|
|
876
|
+
});
|
|
877
|
+
const t = this.traverseTree(e, this.selectedNode);
|
|
878
|
+
this.treeData = [
|
|
879
|
+
Object.assign(
|
|
880
|
+
{ ...this.record },
|
|
881
|
+
{
|
|
882
|
+
id: 0,
|
|
883
|
+
pid: -1,
|
|
884
|
+
label: "\u5E94\u7528\u57FA\u672C\u5E03\u5C40",
|
|
885
|
+
children: [...t.list],
|
|
886
|
+
modeType: "navigation",
|
|
887
|
+
sysAppsIded: this.record.id
|
|
888
|
+
}
|
|
889
|
+
)
|
|
890
|
+
], this.$nextTick(() => {
|
|
891
|
+
setTimeout(() => {
|
|
892
|
+
this.handleNodeClick(t.itemNode.id ? t.itemNode : this.treeData[0]), this.$refs.treeRef.setCurrentKey(this.selectedNode);
|
|
893
|
+
}, 0);
|
|
894
|
+
}), this.loading = !1;
|
|
895
|
+
});
|
|
896
|
+
},
|
|
897
|
+
getAppList() {
|
|
898
|
+
return v({ appsId: this.record.id }).then((s) => (s.code === 200 && (this.appList = s.data.map((e) => {
|
|
899
|
+
let t = { ...e }, i = e.basicattribute ? JSON.parse(e.basicattribute) : {};
|
|
900
|
+
const n = this.pageDesignerData.filter((a) => `${a.id}_${a.sysAppsIded}` == `${e.id}_${this.record.id}`)[0];
|
|
901
|
+
if (n && n.updatedtime === e.updatedtime && (i = n.options, t = { ...n }), n && n.updatedtime !== e.updatedtime) {
|
|
902
|
+
const a = this.pageDesignerData.filter((r) => `${r.id}_${r.sysAppsIded}` != `${n.id}_${n.sysAppsIded}`);
|
|
903
|
+
this.PageDesignerData(a);
|
|
904
|
+
}
|
|
905
|
+
return i.logo === void 0 && Object.assign(i, { logo: this.basicAttribute.logo }), i.menus === void 0 && Object.assign(i, { menus: this.basicAttribute.menus }), i.layout === void 0 && Object.assign(i, { layout: this.basicAttribute.layout }), Object.assign(
|
|
906
|
+
{ ...t },
|
|
907
|
+
{
|
|
908
|
+
options: i,
|
|
909
|
+
sysAppsIded: this.record.id
|
|
910
|
+
}
|
|
911
|
+
);
|
|
912
|
+
})), s));
|
|
913
|
+
},
|
|
914
|
+
getMenuList() {
|
|
915
|
+
return K({ AppsId: this.record.id }).then((s) => {
|
|
916
|
+
if (s.code === 200) {
|
|
917
|
+
let e = [];
|
|
918
|
+
this.menuList = s.data.map((t) => (t.children && (t.children = t.children.map((i) => (i.children && (e = e.concat(i.children)), Object.assign(i, {
|
|
919
|
+
opid: i.pid,
|
|
920
|
+
expansion: i.expansion ? JSON.parse(i.expansion) : {
|
|
921
|
+
padding: [0, 0, 0, 0],
|
|
922
|
+
margin: [0, 0, 0, 0],
|
|
923
|
+
bjColor: "#fff",
|
|
924
|
+
radius: [0, 0, 0, 0],
|
|
925
|
+
customCss: "",
|
|
926
|
+
customClass: ""
|
|
927
|
+
}
|
|
928
|
+
})))), Object.assign(t, {
|
|
929
|
+
opid: t.pid,
|
|
930
|
+
expansion: t.expansion ? JSON.parse(t.expansion) : {
|
|
931
|
+
padding: [0, 0, 0, 0],
|
|
932
|
+
margin: [0, 0, 0, 0],
|
|
933
|
+
bjColor: "#fff",
|
|
934
|
+
radius: [0, 0, 0, 0],
|
|
935
|
+
customCss: "",
|
|
936
|
+
customClass: ""
|
|
937
|
+
}
|
|
938
|
+
}))), this.$emit("permission", e);
|
|
939
|
+
}
|
|
940
|
+
return s;
|
|
941
|
+
});
|
|
942
|
+
},
|
|
943
|
+
traverseTree(s, e) {
|
|
944
|
+
let t = {};
|
|
945
|
+
const i = (a) => (a = a.filter((r, o) => {
|
|
946
|
+
if (r.modeType === void 0 && (r.modeType = String(r.type) === "0" ? "directory" : String(r.type) === "1" ? "page" : "btn"), r.pagecontent !== void 0) {
|
|
947
|
+
const d = r.pagecontent ? JSON.parse(r.pagecontent) : {
|
|
948
|
+
config: {
|
|
949
|
+
pageType: "dataList"
|
|
950
|
+
},
|
|
951
|
+
list: []
|
|
952
|
+
};
|
|
953
|
+
r.options = d, r.pageType = d.config && d.config.pageType ? d.config.pageType : "dataList";
|
|
954
|
+
}
|
|
955
|
+
r.sysAppsIded === void 0 && (r.sysAppsIded = this.record.id);
|
|
956
|
+
let l = { ...r };
|
|
957
|
+
const c = this.pageDesignerData.filter((d) => `${d.id}_${d.sysAppsIded}` == `${r.id}_${this.record.id}`)[0];
|
|
958
|
+
if (r.modeType !== "application" && c && c.updatedtime === r.updatedtime && (l = { ...c }), r.modeType !== "application" && c && c.updatedtime !== r.updatedtime) {
|
|
959
|
+
const d = this.pageDesignerData.filter((g) => `${g.id}_${g.sysAppsIded}` != `${c.id}_${c.sysAppsIded}`);
|
|
960
|
+
this.PageDesignerData(d);
|
|
961
|
+
}
|
|
962
|
+
return Object.assign(
|
|
963
|
+
r,
|
|
964
|
+
{ ...l },
|
|
965
|
+
{
|
|
966
|
+
children: r.children,
|
|
967
|
+
label: this.$i18nt(`Dynamics.${r.transkey}`, l.name)
|
|
968
|
+
}
|
|
969
|
+
), r.id == e && (t = { ...r }), r.type !== 1 && r.children ? r.children = i(r.children) : r.children = [], r.modeType !== "btn";
|
|
970
|
+
}), a);
|
|
971
|
+
return { list: i(s), itemNode: t };
|
|
972
|
+
},
|
|
973
|
+
treeOperation({ node: s, data: e }) {
|
|
974
|
+
console.log(s, e);
|
|
975
|
+
},
|
|
976
|
+
handleNodeClick(s) {
|
|
977
|
+
this.selectedNode = s.id, this.$emit("change", {
|
|
978
|
+
id: s.id,
|
|
979
|
+
data: s
|
|
980
|
+
}), this.getNavParameters(s);
|
|
981
|
+
},
|
|
982
|
+
hasCacheData(s) {
|
|
983
|
+
return !!(s.modeType === "navigation" ? this.pageDesignerData.filter((i) => i.id === 0) : this.pageDesignerData).filter((i) => `${i.id}_${i.sysAppsIded}` == `${s.id}_${this.record.id}`)[0];
|
|
984
|
+
},
|
|
985
|
+
getNavParameters(s) {
|
|
986
|
+
setTimeout(() => {
|
|
987
|
+
this.$emit("changeNav", this.platformData.mobile, this.treeData);
|
|
988
|
+
}, 100);
|
|
989
|
+
},
|
|
990
|
+
findParent(s, e, t) {
|
|
991
|
+
for (let i of s)
|
|
992
|
+
if (i.pid === e.pid && e.modeType !== "application" || i.id === e.id && e.modeType === "application" || i.children && i.children.length > 0 && this.findParent(i.children, e, t))
|
|
993
|
+
return t.unshift(i), !0;
|
|
994
|
+
return !1;
|
|
995
|
+
},
|
|
996
|
+
fadeColor(s, e) {
|
|
997
|
+
let t = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), n = parseInt(s.substring(5, 7), 16);
|
|
998
|
+
return `rgba(${t},${i},${n},${e})`;
|
|
999
|
+
},
|
|
1000
|
+
..._(["PageDesignerData"])
|
|
1001
|
+
},
|
|
1002
|
+
created() {
|
|
1003
|
+
this.init();
|
|
1004
|
+
}
|
|
1005
|
+
};
|
|
1006
|
+
var M = function() {
|
|
1007
|
+
var e = this, t = e._self._c;
|
|
1008
|
+
return t("div", { staticClass: "column-tree" }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "tree-list" }, [t("el-tree", { ref: "treeRef", attrs: { data: e.treeData, "node-key": "id", "default-expand-all": "", "expand-on-click-node": !1, "highlight-current": "", props: e.propsNode, "current-node-key": e.selectedNode }, on: { "node-click": e.handleNodeClick }, scopedSlots: e._u([{ key: "default", fn: function({ node: i, data: n }) {
|
|
1009
|
+
return t("span", { staticClass: "custom-tree-node", attrs: { title: e.$i18nt(`Dynamics.${n.transkey}`, n.label) } }, [t("span", { staticClass: "line1" }, [n.modeType === "navigation" ? t("span", { staticClass: "gd-icons gd-icon-quanjushijiao" }) : n.modeType === "application" ? t("span", { staticClass: "gd-icons gd-icon-yemian1" }) : n.modeType === "directory" ? t("span", { staticClass: "gd-icons gd-icon-mulu" }) : n.modeType === "page" ? t("span", { staticClass: "gd-icons gd-icon-xitong" }) : e._e(), e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.label)) + " "), e.hasCacheData(n) ? t("i", { staticClass: "el-icon-warning-outline", staticStyle: { color: "#e6a23c", "padding-right": "4px", "font-size": "13px" } }) : e._e()]), t("span", { staticClass: "tree-operation", on: { click: function(a) {
|
|
1010
|
+
return a.stopPropagation(), e.treeOperation({ node: i, data: n });
|
|
1011
|
+
} } }, [["page"].includes(n.modeType) ? e._e() : t("i", { staticClass: "el-icon-plus", staticStyle: { "margin-right": "6px" }, on: { click: function(a) {
|
|
1012
|
+
return a.stopPropagation(), e.add(n);
|
|
1013
|
+
} } }), n.children.length === 0 && n.modeType !== "navigation" ? t("i", { staticClass: "el-icon-delete", staticStyle: { "margin-right": "6px" }, on: { click: function(a) {
|
|
1014
|
+
return a.stopPropagation(), e.del(n);
|
|
1015
|
+
} } }) : e._e(), ["directory", "page"].includes(n.modeType) ? t("span", [t("el-popover", { ref: `popover_${n.id}`, attrs: { placement: "bottom", trigger: "click" } }, [t("div", { staticClass: "popover-hand", style: { "--dilute": e.fadeColord } }, [t("div", { staticClass: "popover-hand-name", on: { click: function(a) {
|
|
1016
|
+
return a.stopPropagation(), e.moveItem(n);
|
|
1017
|
+
} } }, [e._v(e._s(e.$i18nt("gd.btn.move", "\u79FB\u52A8")))]), t("div", { staticClass: "popover-hand-name", on: { click: function(a) {
|
|
1018
|
+
return a.stopPropagation(), e.createItem(n);
|
|
1019
|
+
} } }, [e._v(" " + e._s(e.$i18nt("gd.btn.createCopy", "\u521B\u5EFA\u526F\u672C")) + " ")])]), t("i", { staticClass: "el-icon-more", attrs: { slot: "reference" }, slot: "reference" })])], 1) : e._e()])]);
|
|
1020
|
+
} }]) })], 1), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.appColumns, labelPosition: e.labelPosition, formMode: e.formMode, needLoad: !0 }, on: { sbumit: e.sbumit } }), t("AddPage", { ref: "addPage", on: { ok: e.okPage } }), t("MovePid", { ref: "movePid", attrs: { treeData: e.treeData }, on: { ok: e.okPage } })], 1);
|
|
1021
|
+
}, J = [], G = /* @__PURE__ */ f(
|
|
1022
|
+
j,
|
|
1023
|
+
M,
|
|
1024
|
+
J,
|
|
1025
|
+
!1,
|
|
1026
|
+
null,
|
|
1027
|
+
"03b2986a",
|
|
1028
|
+
null,
|
|
1029
|
+
null
|
|
1030
|
+
);
|
|
1031
|
+
const U = G.exports;
|
|
1032
|
+
export {
|
|
1033
|
+
Y as i,
|
|
1034
|
+
U as m,
|
|
1035
|
+
h as p
|
|
1036
|
+
};
|