gds-plus-design-vue 1.2.63 → 1.2.71
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.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
- package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
- package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
- package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
- package/lib/form.build.724d3357.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.c949a27f.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.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
- package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
- package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
- package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
- package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.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.1cadbf03.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
- package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
- package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
- package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
- package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
- package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
- package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
- package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
- package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
- package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.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.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./components.chartbi.3bbac955.js"),f=require("./http.tabledevelopment.a880bb76.js"),K=require("./http.codegeneratemanage.e3db2f09.js"),y=require("./utils.util.js.c0ba699b.js"),h=require("./http.translationmanage.1f9dce46.js");require("./utils.echarts.js.461a74e7.js");const b={props:{type:{type:[String,Number],default:1},prefixKey:{type:String,default:""},suffixKey:{type:String,default:""}},data(){return{sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],visible:!1,confirmLoading:!1,spinning:!1,loadData:[],viewData:[],formData:[],detail:null,record:null,fullscreen:!1,width:"600px",arrTransKey:[],allTableData:[],langsAll:[],httpNumbe:0,ruleFormData:{},pattern:"/^[a-zA-Z]+$/",contentTransKey:[],translationLangs:[],menusId:""}},computed:{modalStyle(){return this.fullscreen?{width:"100%",dialogStyle:{top:"0px"}}:{width:this.width,dialogStyle:{top:"80px"}}},...g.mapGetters(["tableLists"])},methods:{togglefullscreen(){this.fullscreen=!this.fullscreen},open(s){this.httpNumbe=0,this.fullscreen=!1,this.record=s,this.visible=!0,this.spinning=!0,this.type==1?this.getViewDetail():this.getFormDetail()},getViewDetail(){return f.sysViewDetails({id:this.record}).then(s=>(s.success?(this.detail=Object.assign(s.data,{viewname:s.data.viewname+y.uuid(2,!1,!1)}),this.spinning=!1,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData={name:this.detail.viewname,displayName:this.detail.name,type:String(this.detail.type),explain:this.detail.explain}},0)})):this.$message.error(s.message),s.data))},getFormDetail(){return f.sysFormDetails({id:this.record}).then(s=>(s.success?(this.detail=Object.assign(s.data,{name:s.data.name+y.uuid(2,!1,!1)}),this.spinning=!1,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData={name:this.detail.name,displayName:this.detail.displayname,type:"4",explain:this.detail.explain}},0)})):this.$message.error(s.message),s.data))},handleSubmit(){this.$refs.ruleForm.validate(s=>{s&&(this.type==1?this.addView(this.ruleFormData):(this.spinning=!0,this.confirmLoading=!0,this.addForm(this.ruleFormData)))})},addView(s){let e=[],a=[];this.detail.sysviewfields.forEach((i,n)=>{let c={name:i.name,width:i.width,order:n,type:i.type,fieldId:i.fieldid,joinTableId:i.jointableid,joinFieldId:i.joinfieldid,orderConfig:i.orderconfig,gatherConfig:i.gatherconfig,maxTagCount:i.maxtagcount,align:i.align?i.align:"left&1&none&none"};e.push(c)}),this.detail.sysviewqueries.forEach((i,n)=>{if(i.field){let c={queryType:i.querytype,name:i.field.columncomment,fieldId:i.fieldid,joinTableId:i.jointableid,joinFieldId:i.joinfieldid,order:n,displayStyle:i.displaystyle,options:i.options};a.push(c)}});let r={syscodegenid:this.detail.syscodegenid,name:s.displayName,type:s.type,explain:s.explain,frozenColumn:this.detail.frozencolumn,isDefault:0,viewName:s.name,order:this.detail.order,sysViewFields:e,filterConfig:this.detail.filterconfig,sysViewQueries:a,defaultSort:this.detail.defaultsort,viewTree:this.detail.viewtree,isViewTree:this.detail.isviewtree,ruleConfig:this.detail.ruleconfig,buttonRule:this.detail.buttonrule};this.spinning=!0,this.confirmLoading=!0,f.sysViewAdd(r).then(i=>{i.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.addFail","\u64CD\u4F5C\u5931\u8D25")+i.message),this.spinning=!1,this.confirmLoading=!1})},regenerateKey(s,e){if(!s||s.startsWith("gd."))return s;let a=this.prefixKey.split("_"),r=y.prefixTransKey(a[0],"0");const i=s.replace(this.suffixKey,""),n=i.substr(i.lastIndexOf("_")+1).toLowerCase();let c=`${r}${e.toLowerCase()}_${n}${y.uuid(2)}${this.suffixKey}`;return n.length>18&&(c=`${r}${e.toLowerCase()}_${y.uuid(8)}${this.suffixKey}`),c},async addForm(s){let e=JSON.parse(this.detail.formconfig),a=[],r=[],i={},n={titlePrefix:"",prefixTransKey:null};if(e.config.options&&e.config.options.prefixTransKey){const o=this.$i18nt(`Dynamics.${e.config.options.prefixTransKey}`,e.config.options.titlePrefix);i={transKey:this.regenerateKey(item.transKey,"prefix")},Object.assign({titlePrefix:o,prefixTransKey:i.transKey}),a=a.concat([{oldKey:item.transKey,newKey:i.transKey,name:o}])}e.config=Object.assign({...e.config},{name:s.name,displayName:s.displayName,type:s.type,explain:s.explain,transKey:null,titlePrefix:n.titlePrefix,prefixTransKey:n.prefixTransKey});const c=o=>(o=o.filter((t,p)=>{if(t.langs!==void 0&&delete t.langs,t.options)for(let d in t.options)["transKey","subtransKey","suffixTransKey","prefixTransKey","placeholderTransKey"].includes(d)&&t.options[d]&&!t.options[d].startsWith("gd.")&&r.push(t.options[d]);if(["title"].includes(t.type))i={transKey:this.regenerateKey(t.options.transKey,t.type),subtransKey:this.regenerateKey(t.options.subtransKey,"describe")},a=a.concat([{oldKey:t.options.transKey,newKey:i.transKey,name:this.$i18nt(`Dynamics.${t.options.transKey}`,t.options.title)},{oldKey:t.options.subtransKey,newKey:i.subtransKey,name:this.$i18nt(`Dynamics.${t.options.subtransKey}`,t.options.subtitle)}]),t.options=Object.assign({...t.options},i);else if(["btnGroup"].includes(t.type))t.btnList=t.btnList.map(d=>d.transKey&&!d.transKey.startsWith("gd.")?(i={transKey:this.regenerateKey(d.transKey,t.type)},a.push({oldKey:d.transKey,newKey:i.transKey,name:this.$i18nt(`Dynamics.${d.transKey}`,d.displayName)}),Object.assign({...d},i)):d);else if(["textSearch"].includes(t.type))i={placeholderTransKey:this.regenerateKey(t.options.placeholderTransKey,"placeholder")},a.push({oldKey:t.options.placeholderTransKey,newKey:i.placeholderTransKey,name:this.$i18nt(`Dynamics.${t.options.placeholderTransKey}`,t.options.placeholder)}),t.options=Object.assign({...t.options},i);else if(["divider","textContent","tag","link","card","approval","approvalHistory","auditLog"].includes(t.type)){i={transKey:this.regenerateKey(t.options.transKey,t.type)};const d=["card"].includes(t.type)?t.options.header:["approval","approvalHistory","auditLog"].includes(t.type)?t.label:t.options.title;a.push({oldKey:t.options.transKey,newKey:i.transKey,name:this.$i18nt(`Dynamics.${t.options.transKey}`,d)}),t.options=Object.assign({...t.options},i)}else["statistic"].includes(t.type)?(t.options=Object.assign(t.options,{titlePrefix:t.options.titlePrefix?t.options.titlePrefix:{name:"",transKey:null,type:"text",icon:"",open:!1,color:"#333",fontSize:"14",fontWeight:"normal"},titleSuffix:t.options.titlePrefix?t.options.titlePrefix:{name:"",transKey:null,type:"text",icon:"",open:!1,color:"#333",fontSize:"14",fontWeight:"normal"}}),i={transKey:this.regenerateKey(t.options.transKey,t.type),prefixTransKey:this.regenerateKey(t.options.titlePrefix.transKey,"prefix"),suffixTransKey:this.regenerateKey(t.options.titleSuffix.transKey,"suffix")},a=a.concat([{oldKey:t.options.transKey,newKey:i.transKey,name:this.$i18nt(`Dynamics.${t.options.transKey}`,t.options.statisticTitle)},{oldKey:t.options.titlePrefix.transKey,newKey:i.prefixTransKey,name:this.$i18nt(`Dynamics.${t.options.titlePrefix.transKey}`,t.options.titlePrefix.name)},{oldKey:t.options.titleSuffix.transKey,newKey:i.suffixTransKey,name:this.$i18nt(`Dynamics.${t.options.titleSuffix.transKey}`,t.options.titleSuffix.name)}]),t.options=Object.assign({...t.options},{transKey:i.transKey,titlePrefix:Object.assign({...t.titlePrefix},{transKey:i.prefixTransKey}),titleSuffix:Object.assign({...t.titleSuffix},{transKey:i.suffixTransKey})})):["input","textarea","editor","inputNumber","switch","radio","checkbox","select","selectMultiple","uploadImg","uploadFile","datePicker","timePicker"].includes(t.type)&&(i={transKey:this.regenerateKey(t.options.transKey,t.type),placeholderTransKey:this.regenerateKey(t.options.placeholderTransKey,"placeholder")},a=a.concat([{oldKey:t.options.transKey,newKey:i.transKey,name:this.$i18nt(`Dynamics.${t.options.transKey}`,t.label)},{oldKey:t.options.placeholderTransKey,newKey:i.placeholderTransKey,name:this.$i18nt(`Dynamics.${t.options.placeholderTransKey}`,t.options.placeholder)}]),t.options=Object.assign({...t.options},i));return["grid","tabs","collapse","drawer","dialog"].includes(t.type)?t.columns.forEach((d,u)=>{["collapse","tabs"].includes(t.type)&&(i={transKey:this.regenerateKey(d.transKey,`${t.type}item`)},a.push({oldKey:d.transKey,newKey:i.transKey,name:this.$i18nt(`Dynamics.${d.transKey}`,d.label)}),t.columns[u].transKey=i.transKey),d.transKey&&r.push(d.transKey),d.list=c(d.list)}):["card","batch","form","containerPanel","drawerContainer","flexLayout","dataList"].includes(t.type)?t.list=c(t.list):t.type==="table"&&t.trs.forEach(d=>{d.tds.forEach(u=>{u.list=c(u.list)})}),!0}),o);e.list=await c(e.list);let l={name:s.name,displayName:s.displayName,type:s.type,explain:s.explain,sysCodeGenId:this.detail.syscodegenid,changeName:this.detail.changename,changeWeb:this.detail.changeweb,initName:this.detail.initname,initWeb:this.detail.initweb,width:this.detail.width,formConfig:JSON.stringify(Object.assign(e,{addTransKey:[],allTransKey:r})),businessConfig:this.detail.businessconfig};this.contentTransKey=a,this.spinning=!0,this.confirmLoading=!0,f.sysFormAdd(l).then(o=>{o.success?(this.menusId=o.data,this.batchAddTransKey()):(this.spinning=!1,this.confirmLoading=!1,this.$message.error(this.$i18nt("gd.https.addFail","\u64CD\u4F5C\u5931\u8D25")+o.message))})},async subContentTransKey(s,e){const a=i=>(i=i.filter((n,c)=>{if(["btnGroup"].includes(n.type))n.btnList=n.btnList.map(l=>{const o=e.filter(t=>t.newKey===l.transKey)[0];if(o)return Object.assign(l,{transKey:o.newKeyId})});else if(["textSearch"].includes(n.type)){const l=e.filter(o=>o.newKey===n.options.placeholderTransKey)[0];l&&(n.options=Object.assign({...n.options},{placeholderTransKey:l.newKeyId}))}else if(["divider","textContent","tag","link","card","approval","approvalHistory","auditLog"].includes(n.type)){const l=e.filter(o=>o.newKey===n.options.transKey)[0];l&&(n.options=Object.assign({...n.options},{transKey:l.newKeyId}))}else if(["title"].includes(n.type)){let l={};const o=e.filter(p=>p.newKey===n.options.transKey)[0],t=e.filter(p=>p.newKey===n.options.subtransKey)[0];o&&Object.assign(l,{transKey:o.newKeyId}),t&&Object.assign(l,{subtransKey:o.newKeyId}),n.options=Object.assign({...n.options},l)}else if(["statistic"].includes(n.type)){let l={transKey:n.options.transKey,prefixTransKey:n.options.titlePrefix.transKey,suffixTransKey:n.options.titleSuffix.transKey};e.filter(o=>o.newKey===l.transKey)[0],e.filter(o=>o.newKey===l.prefixTransKey)[0],e.filter(o=>o.newKey===l.suffixTransKey)[0],n.options=Object.assign({...n.options},{transKey:l.transKey,titlePrefix:Object.assign({...n.titlePrefix},{transKey:l.prefixTransKey}),titleSuffix:Object.assign({...n.titleSuffix},{transKey:l.suffixTransKey})})}else if(["input","textarea","editor","inputNumber","switch","radio","checkbox","select","selectMultiple","uploadImg","uploadFile","datePicker","timePicker"].includes(n.type)){let l={};const o=e.filter(p=>p.newKey===n.options.transKey)[0],t=e.filter(p=>p.newKey===n.options.placeholderTransKey)[0];o&&Object.assign(l,{transKey:o.newKeyId}),t&&Object.assign(l,{placeholderTransKey:o.newKeyId}),n.options=Object.assign({...n.options},l)}return["grid","tabs","collapse","drawer","dialog"].includes(n.type)?n.columns.forEach(l=>{if(["collapse","tabs"].includes(n.type)){const o=e.filter(t=>t.newKey===l.transKey)[0];o&&(n.columns[c].transKey=o.newKeyId)}l.list=a(l.list)}):["card","batch","form","containerPanel","drawerContainer","flexLayout","dataList"].includes(n.type)&&(n.list=a(n.list)),!0}),i);await a(s.list);const r=e.filter(i=>i.newKey===s.config.prefixTransKey)[0];return Object.assign(s,{addTransKey:[],config:Object.assign(s.config,{prefixTransKey:r?r.newKeyId:s.config.prefixTransKey})})},getAllLanguage(){h.GetAllLanguage().then(s=>{s.code===200&&(this.translationLangs=s.data)})},regenerateKeyId(s){let e=this.prefixKey.split("_"),a=y.prefixTransKey(e[0],"0"),r=y.prefixTransKey(e[0],this.menusId);return s.replace(a,r)},async batchAddTransKey(){let s=this.contentTransKey.filter(r=>r.oldKey&&!r.oldKey.startsWith("gd."));if(s.length===0){this.$message.success(this.$i18nt("gd.https.addSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok"),this.handleCancel(),this.spinning=!1,this.confirmLoading=!1;return}s=s.map(r=>Object.assign(r,{newKeyId:this.regenerateKeyId(r.newKey)}));let e=await this.sysMenuDetail();const a=await this.subContentTransKey(e.formconfig?JSON.parse(e.formconfig):{list:[],addTransKey:[]},s);Promise.all([this.addTranslationKey(s),this.editFormDetail(Object.assign(e,{formconfig:JSON.stringify(a)}))]).then(r=>{this.$message.success(this.$i18nt("gd.https.addSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok"),this.handleCancel(),this.spinning=!1,this.confirmLoading=!1})},editFormDetail(s){return f.sysFormEdit(s).then(e=>e)},sysMenuDetail(){return f.sysFormDetails({id:this.menusId}).then(s=>s.data)},addTranslationKey(s){let e=[];return s.forEach(a=>{e.push(this.batchAddTranslation(a))}),h.sysTranslationBatchAdd(e).then(a=>a)},batchAddTranslation(s){let e=[];return this.translationLangs.forEach(a=>{const r=translateLanguageName(a.languagecode,`Dynamics.${s.oldKey}`,s.name);e.push(Object.assign({...a},{description:r}))}),{defaulttext:s.name,hintcatalogid:"",name:s.newKeyId,type:"3",langs:e}},getAllTableData(){if(this.tableLists.length>0){this.allTableData=[...this.tableLists];return}K.codeGenerateInformationList({busName:""}).then(s=>{s.success&&(this.allTableData=[...s.data])})},addTranslation(s){return sysTranslationAdd(s).then(e=>e)},handleCancel(){this.visible=!1,this.$refs.ruleForm.resetFields()},getDictionary(s){return this.$options.filters.dictData(s)},doEvent(s){let e=s.item.functionName;this[e]&&this[e]()}},created(){this.getAllTableData()}};var x=function(){var e=this,a=e._self._c;return a("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(r){e.visible=r},closed:e.handleCancel}},[a("gd-modal-title",{attrs:{slot:"title",title:e.$i18nt("gd.btn.copy"),fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,emitFun:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.togglefullscreen,close:e.handleCancel},slot:"title"}),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.spinning,expression:"spinning"}]},[a("div",{class:e.fullscreen?"modal-bodyq":"modal-body"},[a("el-form",{ref:"ruleForm",attrs:{"label-width":"110px","label-position":"right",model:e.ruleFormData},nativeOn:{submit:function(r){r.preventDefault()}}},[a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"0px"},attrs:{label:e.$i18nt("gd.view.displayName"),prop:"displayName",rules:[{required:!0,message:e.$i18nt("gd.placeholder.input")}]}},[a("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input"),clearable:""},model:{value:e.ruleFormData.displayName,callback:function(r){e.$set(e.ruleFormData,"displayName",r)},expression:"ruleFormData.displayName"}})],1)],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"0px"},attrs:{label:e.type==1?e.$i18nt("gd.view.viewName"):e.$i18nt("gd.form.formName"),prop:"name",rules:[{required:!0,message:e.$i18nt("gd.placeholder.input")},{pattern:/^[a-zA-Z]+$/,message:e.$i18nt("gd.view.viewNameTip")}]}},[a("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input"),clearable:""},model:{value:e.ruleFormData.name,callback:function(r){e.$set(e.ruleFormData,"name",r)},expression:"ruleFormData.name"}})],1)],1),e.type==1?a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"0px"},attrs:{label:e.$i18nt("gd.view.type"),prop:"type",rules:[{required:!0,message:e.$i18nt("gd.placeholder.select")}]}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),clearable:""},model:{value:e.ruleFormData.type,callback:function(r){e.$set(e.ruleFormData,"type",r)},expression:"ruleFormData.type"}},e._l(e.getDictionary("view_type"),function(r,i){return a("el-option",{key:i,attrs:{value:r.code,label:r.name}})}),1)],1)],1):e._e(),e.type==2?a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"0px"},attrs:{label:e.$i18nt("gd.form.type"),prop:"type",rules:[{required:!0,message:e.$i18nt("gd.placeholder.select")}]}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),clearable:"",disabled:""},model:{value:e.ruleFormData.type,callback:function(r){e.$set(e.ruleFormData,"type",r)},expression:"ruleFormData.type"}},e._l(e.getDictionary("table_form_type"),function(r,i){return a("el-option",{key:i,attrs:{value:r.code,label:r.name}})}),1)],1)],1):e._e(),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"0px"},attrs:{label:e.$i18nt("gd.view.explain")}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.ruleFormData.explain,callback:function(r){e.$set(e.ruleFormData,"explain",r)},expression:"ruleFormData.explain"}})],1)],1)],1)],1)],1)])],1)},m=[],w=g.normalizeComponent(b,x,m,!1,null,"5cfc95b1",null,null);const T=w.exports;exports.default=T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./http.filedocument.6fdfc693.js"),p=require("./components.uploadfile.8e0e702c.js"),l=require("./index.d95c407c.js"),d=require("./components.chartbi.3bbac955.js");require("./http.filemanage.7e6e3e1a.js");require("./utils.util.js.c0ba699b.js");require("./router.config.68077a12.js");require("./layouts.2d06f3e9.js");require("vue");require("./components.sidenavmenu.b1330d69.js");require("./http.loginmanage.326984c3.js");require("./http.main.2f8a6936.js");require("./http.noticemanage.2507d094.js");require("./components.globalheader.2eb787a4.js");require("./components.multitab.80eeb3ae.js");require("./components.sidemenu.240dfde7.js");require("./system.account.5cc9fe8d.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./components.settingdrawer.8c12650b.js");require("./http.appmanage.b998818f.js");require("./http.menumanage.6d740f2c.js");require("./system.welcome.ff0c85e2.js");require("./flow.designer.ffd0aa8b.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./http.codegeneratemanage.e3db2f09.js");require("./http.useraffiliation.af2013ad.js");require("./components.xlsximport.8c209857.js");require("./components.table.1e338902.js");require("./utils.datepicker.js.0a5a699e.js");require("./components.form.5533a8c3.js");require("./http.tabledevelopment.a880bb76.js");require("./http.promptmanagement.d115c4b0.js");require("./utils.plug.js.f62510ce.js");require("./components.coloreditor.f81d322a.js");require("./page.designer.page.09402332.js");require("./page.designer.componentstree.0ffc933d.js");require("./mobile.designer.componentstree.03f61105.js");require("./page.designer.fieldfiltering.7e913256.js");require("./components.iconselector.f5a58033.js");require("./utils.echarts.js.461a74e7.js");require("./table.definition..echartsconfig.d2b65881.js");require("./utils.mixins.js.750ca50e.js");require("./personal.echarts.b7ee86f4.js");require("./components.teamsharing.89e668fd.js");require("./store.config.556bd56b.js");require("./form.build.724d3357.js");require("./components.viewformdetails.940addba.js");require("./system.notice.db26f308.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.4d1101dd.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.8e21a6e7.js");require("./components.tableumy.1d804d70.js");require("./components.tooltip.0ea7e2b1.js");require("./components.selecttree.2fe70d88.js");require("./components.imgpreview.d97cf25c.js");require("./components.modaltitle.957cab33.js");require("./components.dataassign.565d22c0.js");require("./components.middleware.43b9b264.js");require("./components.echarts.fe84f881.js");require("./components.viewloading.1e9f4b3c.js");require("./components.exception.374f2ad9.js");require("./components.uploadimg.bc160e00.js");require("./components.lunccalendar.18f84642.js");require("./components.watermark.d9ec8130.js");require("./system.org.9f87a010.js");require("./system.pos.61e58a92.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.6b000092.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.134a3988.js");require("./system.role.e86b60f1.js");require("./system.log.470d3efd.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.f8aff893.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.985621a6.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.a0b94e40.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.84b88b9a.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./system.webresource.e92e8a8f.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.2ef2881c.js");require("./system.file.b9f8320c.js");require("./system.timers.9e956553.js");require("./http.timersmanage.6e894942.js");require("./http.solution.c6b2634f.js");require("./http.translationmanage.1f9dce46.js");require("./page.designer.operation.6179b661.js");require("./page.build.37b26617.js");require("./form.designer.build.dac501fa.js");require("./http.duplicatechecking.ee5c414c.js");require("./view.build.e43a2077.js");require("./table.definition..btnconfig.ce57ed41.js");require("./flow.list.4c05f2f0.js");require("./solution.dict.acbe9c55.js");require("./solution.processflow.2692dac6.js");require("./solution.workflow.11e49e25.js");require("./solution.approvalflow.436b3502.js");require("./solution.webresources.6961cc68.js");require("./solution.plugin.f9a8063f.js");require("./http.pluginmanage.6a876040.js");require("./system.plugin.0bccfec4.js");require("./solution.role.b28c4dbe.js");require("./solution.application.d459e382.js");require("./solution.applicationmenu.ae295083.js");require("./solution.menu.cca5e1f9.js");require("./page.designer.menutree.c49d9ee6.js");require("./system.translation.26b6bb39.js");require("./system.duplicatechecking.f4cab147.js");require("./system.promptmanagement.e750de82.js");require("./system.useraffiliation.c2421c7e.js");require("./system.email.11ab6f31.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.15e6b8b7.js");require("./system.datasource.6c30ce25.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.810f7b55.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.58ee701b.js");require("./http.team.e45400d5.js");require("./system.teammembers.1880f962.js");require("./system.document.f8fd7af0.js");require("./mobile.designer.menutree.97bb4046.js");require("./messages.messagetemplate.32273e00.js");require("./http.message.87f319d7.js");require("./messages.fieldconfiguration.ad4d11cf.js");require("./messages.sendplan.fbac188d.js");require("./messages.sendrecord.ef80d44a.js");require("./messages.templatelibrary.ec512390.js");require("./translation.mains.a6f19343.js");const m={props:{limit:{type:Number,default:12},fileAccept:{type:String,default:""},fileSize:{type:Number,default:1024}},data(){return{ruleFormRecord:{options:{fileName:"file",drag:!0}},record:null,width:"80%",confirmLoading:!1,visible:!1,fullscreen:!1,parentId:0,parentList:[],docTypeList:[],buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],ruleForm:{file:"",fileList:[]},rules:{name:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:["change","blur"]},{pattern:/^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,message:this.$i18nt("gd.fileDocument.addNameTip",'\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')}],file:[{required:!0,message:this.$i18nt("gd.web.selectFileTip","\u8BF7\u9009\u62E9\u6587\u4EF6!"),trigger:["change","blur"]}]},rulesName:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:["change","blur"]},{pattern:/^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,message:this.$i18nt("gd.fileDocument.addNameTip",'\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')}],fileList:[],fileData:[]}},components:{UploadFile:p.UploadFile,LayoutItemColumn:()=>Promise.resolve().then(()=>require("./layoutItem.c1c836a1.js"))},computed:{rulesInput(){return[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:["change","blur"]}]},rulesSelect(){return[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:["change","blur"]}]},timeLongshort(){return this.getDictionary("time_longshort")},title(){const s=this.$i18nt("gd.btn.createfile","\u521B\u5EFA\u6587\u4EF6"),e=this.parentList.filter(r=>r.id===this.parentId)[0],t=e?` (${e.name})`:"";return`${s}${t}`},...d.mapGetters(["primaryColor"])},methods:{saveFail(s){s.forEach(e=>{e.res.success&&this.delItem(e.data)}),this.$nextTick(()=>{setTimeout(()=>{this.ruleForm.fileList=this.ruleForm.fileList.map(e=>{const t=s.filter(r=>r.data.fileId===e.fileId)[0];return Object.assign({...e},{tip:t?t.res.message:""})})},0)})},changeDocType(s,e){const t=this.docTypeList.filter(a=>a.code===s)[0];if(!t){Object.assign(e,{attributes:[]});return}this.confirmLoading=!0;let r=[],n=new Map;t.sysdoctypeattributes.forEach(a=>{if(a.ishidden!==1){const c=JSON.parse(a.reserve1);r.push({label:a.name,transKey:a.transkey?`Dynamics.${a.transkey}`:null,prop:a.attrcode,dictTypeCode:a.dicttypecode,effectType:a.datatype,rules:a.statecodes!==1?[]:a.isrequired===1?l.getRequired(a,{rulesInput:this.rulesInput,rulesSelect:this.rulesSelect}):[],pickerType:l.getPickerType(a,this.timeLongshort),fieldFormat:l.getFieldFormat(a,this.timeLongshort),fkEntityName:a.fkentity,fieldsize:a.datatype==="inputnumber"?0:a.fieldsize,isDatePicker:l.getDatePicker(a,this.timeLongshort),viewId:c.viewId?c.viewId:"",disabled:a.statecodes!==1}),n.set(a.attrcode,l.getDefaultValue(a))}});const i=this.ruleForm.fileList.map(a=>a.fileId===e.fileId?Object.assign(a,Object.assign({},a,Object.fromEntries(n),{attributes:r})):Object.assign({},a)),o=Object.assign({},this.ruleForm,{fileList:[...i]});this.ruleForm=JSON.parse(JSON.stringify(o)),setTimeout(()=>{this.confirmLoading=!1},300)},inputName(s,e){e.name=s.replace(/\s+/g,"")},save(){this.confirmLoading=!0;let s=[];this.ruleForm.fileList.forEach((e,t)=>{let r=this.add(e,t).then(n=>({data:e,res:n}));s.push(r)}),Promise.all(s).then(e=>{this.confirmLoading=!1;const t=e.filter(n=>!n.res.success);if(t.length===0){this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.closed(),this.$emit("ok");return}t.length<e.length&&this.$emit("ok");let r="";t.forEach(n=>{r+=`<p>${n.data.name} ${n.res.message}</p>`}),this.saveFail(e),this.$message({message:`${this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")}${r}`,type:"error",dangerouslyUseHTMLString:!0})})},add(s){let e=[];s.attributes.forEach(n=>{e.push({attrCode:n.prop,attrValue:["checkbox"].includes(n.effectType)?s[n.prop].join(","):s[n.prop]})});const t=this.docTypeList.filter(n=>n.code===s.sysdoctypeid)[0],r={name:s.name,parentid:this.ruleForm.parentid,type:2,inheritpermissions:s.inheritpermissions,filetype:s.filetype,filesize:s.filesize,file:s.fileId,version:s.version,description:s.description,sysdoctypeid:t.id,attributes:e};return u.sysDocObjectsAdd(r).then(n=>n)},handleSubmit(){if((this.ruleFormRecord.uidUploading?this.ruleFormRecord.uidUploading:[]).length>0){this.$message.error(`${this.$i18nt("gd.https.uidUploading","\u6587\u4EF6\u6B63\u5728\u4E0A\u4F20\u4E2D,\u8BF7\u7B49\u5F85..")}`);return}this.$refs.ruleForm.validate(e=>{e&&this.save()})},delItem(s){this.ruleForm.fileList=this.ruleForm.fileList.filter(e=>e.fileId!==s.fileId),this.$refs.uploadFile.removeFileManual(s.fileId)},handleChange(s){this.confirmLoading=!0;const e=JSON.parse(s.sourceData);let t=[];e.forEach(r=>{const n=r.name.substr(r.name.lastIndexOf(".")+1),i=this.fileData.filter(a=>a.uid===r.ouid)[0],o=this.ruleForm.fileList.filter(a=>a.fileId===r.fileId)[0];t.push({fileoriginname:r.fileoriginname,name:r.name,filetype:n,filesize:i?i.size:0,inheritpermissions:1,fileId:r.fileId,ouid:r.ouid,tip:"",version:"",description:"",sysdoctypeid:"",attributes:o?o.attributes:[]})}),this.ruleForm.fileList=t,setTimeout(()=>{this.confirmLoading=!1},100)},uploadFile(s){const e=this.fileData.filter(t=>t.uid!==s.file.uid);this.fileData=e.concat([s.file])},getDocTypePage(){this.confirmLoading=!0,u.sysDocTypePage({pageno:this.pageno,pagesize:this.pagesize}).then(s=>{s.code===200&&(this.docTypeList=s.data.rows.filter(e=>e.statecodes===1)),this.confirmLoading=!1})},open(s){this.parentId=s?s.id:"0",this.parentList=[{name:s.name?s.name:"root",id:s.id}],this.record=s,this.ruleForm={parentid:s.id,file:"",fileList:[]},this.visible=!0,this.getDocTypePage(),this.$nextTick(()=>{setTimeout(()=>{this.$refs.ruleForm&&this.$refs.ruleForm.clearValidate()},100)})},closed(){this.fileData=[],this.ruleForm={fileList:[]},this.fullscreen=!1,this.visible=!1},getDictionary(s){return this.$options.filters.dictData(s)},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){let e=s.item.functionName;this[e]&&this[e]()}}};var f=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{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(r){e.visible=r},closed:e.closed}},[t("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?t("el-form",{ref:"ruleForm",staticClass:"gd-form",staticStyle:{width:"100%",margin:"0 auto"},attrs:{model:e.ruleForm,"label-width":"160px",rules:e.rules},nativeOn:{submit:function(r){r.preventDefault()}}},[t("el-form-item",{staticStyle:{width:"90%"},attrs:{label:e.$i18nt("gd.page.uploadFile","\u4E0A\u4F20\u6587\u4EF6"),prop:"file"}},[t("UploadFile",{ref:"uploadFile",attrs:{record:e.ruleFormRecord,model:e.ruleForm,limit:e.limit,prop:"file",accept:e.fileAccept,size:e.fileSize},on:{change:e.handleChange,uploadFile:e.uploadFile}})],1),e._l(e.ruleForm.fileList,function(r,n){return[t("div",{staticClass:"list"},[t("el-alert",{staticStyle:{"margin-bottom":"12px"},attrs:{title:r.fileoriginname,type:"info",closable:!1}}),t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{key:`${r.fileId}_name`,attrs:{label:e.$i18nt("gd.translation.name","\u540D\u79F0"),prop:"fileList."+n+".name",rules:e.rulesName}},[t("el-input",{attrs:{clearable:"",placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),maxlength:50},on:{input:i=>e.inputName(i,r)},model:{value:r.name,callback:function(i){e.$set(r,"name",i)},expression:"item.name"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650"),title:e.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650")}},[t("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":e.primaryColor},model:{value:r.inheritpermissions,callback:function(i){e.$set(r,"inheritpermissions",i)},expression:"item.inheritpermissions"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{key:`${r.fileId}_sysdoctypeid`,attrs:{label:e.$i18nt("gd.fileDocument.classification","\u6587\u6863\u5206\u7C7B"),rules:e.rulesSelect,prop:"fileList."+n+".sysdoctypeid",title:e.$i18nt("gd.fileDocument.classification","\u6587\u6863\u5206\u7C7B")}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),clearable:"",remote:"",filterable:""},on:{change:i=>e.changeDocType(i,r)},model:{value:r.sysdoctypeid,callback:function(i){e.$set(r,"sysdoctypeid",i)},expression:"item.sysdoctypeid"}},e._l(e.docTypeList,function(i){return t("el-option",{key:i.code,attrs:{label:e.$i18nt(`Dynamics.${i.transkey}`,i.name),value:i.code}})}),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.solution.version","\u7248\u672C"),title:e.$i18nt("gd.solution.version","\u7248\u672C")}},[t("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:r.version,callback:function(i){e.$set(r,"version",i)},expression:"item.version"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.directory.remark","\u5907\u6CE8"),title:e.$i18nt("gd.directory.remark","\u5907\u6CE8")}},[t("el-input",{attrs:{clearable:"",placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",rows:1},model:{value:r.description,callback:function(i){e.$set(r,"description",i)},expression:"item.description"}})],1)],1),e._l(r.attributes,function(i){return[t("el-col",{attrs:{span:12}},[t("el-form-item",{key:`${i.fileId}_${i.prop}`,attrs:{label:e.$i18nt(i.transKey,i.label),prop:`fileList.${n}.${i.prop}`,rules:i.rules,title:e.$i18nt(i.transKey,i.label)}},[t("LayoutItemColumn",{attrs:{record:i,ruleFormData:r}})],1)],1)]})],2),t("div",{staticClass:"item-del"},[t("i",{staticClass:"el-icon-close",on:{click:function(i){return e.delItem(r)}}})]),r.tip?t("el-tooltip",{staticClass:"item-tooltip",attrs:{effect:"dark",placement:"top-start"}},[t("i",{staticClass:"el-icon-warning",staticStyle:{color:"red"}}),t("div",{staticClass:"list-tip",attrs:{slot:"content"},slot:"content"},[e._v(e._s(r.tip))])]):e._e()],1)]})],2):e._e()],1)],1)],1)},g=[],h=d.normalizeComponent(m,f,g,!1,null,"3f9cc7b9",null,null);const b=h.exports;exports.default=b;
|
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
import { r as p, b as m } from "./http.filedocument.8fa3fe2d.mjs";
|
|
2
|
+
import { U as c } from "./components.uploadfile.0a5a1608.mjs";
|
|
3
|
+
import { c as d, d as u, e as f, f as h, i as g } from "./index.9deaa991.mjs";
|
|
4
|
+
import { m as y, n as b } from "./components.chartbi.571c5ff5.mjs";
|
|
5
|
+
import "./http.filemanage.c0de21d6.mjs";
|
|
6
|
+
import "./utils.util.js.333daba2.mjs";
|
|
7
|
+
import "./router.config.86225b11.mjs";
|
|
8
|
+
import "./layouts.3b383d04.mjs";
|
|
9
|
+
import "vue";
|
|
10
|
+
import "./components.sidenavmenu.fa81ff82.mjs";
|
|
11
|
+
import "./http.loginmanage.05500c29.mjs";
|
|
12
|
+
import "./http.main.aefea27d.mjs";
|
|
13
|
+
import "./http.noticemanage.2cdb23b8.mjs";
|
|
14
|
+
import "./components.globalheader.b3b35343.mjs";
|
|
15
|
+
import "./components.multitab.5eb6edff.mjs";
|
|
16
|
+
import "./components.sidemenu.0673fe0a.mjs";
|
|
17
|
+
import "./system.account.1cadbf03.mjs";
|
|
18
|
+
import "./http.usermanage.f5491144.mjs";
|
|
19
|
+
import "./http.languagemanage.2ef16159.mjs";
|
|
20
|
+
import "./http.currencymanage.c25bd2e6.mjs";
|
|
21
|
+
import "./http.timezonemanage.b9deffe3.mjs";
|
|
22
|
+
import "./components.settingdrawer.29dbc31e.mjs";
|
|
23
|
+
import "./http.appmanage.e389782d.mjs";
|
|
24
|
+
import "./http.menumanage.3060f4c7.mjs";
|
|
25
|
+
import "./system.welcome.127b5dd4.mjs";
|
|
26
|
+
import "./flow.designer.81c29f62.mjs";
|
|
27
|
+
import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
28
|
+
import "./http.codegeneratemanage.b123bab3.mjs";
|
|
29
|
+
import "./http.useraffiliation.f2a29f92.mjs";
|
|
30
|
+
import "./components.xlsximport.81df7841.mjs";
|
|
31
|
+
import "./components.table.9ed77207.mjs";
|
|
32
|
+
import "./utils.datepicker.js.5549a741.mjs";
|
|
33
|
+
import "./components.form.db8af727.mjs";
|
|
34
|
+
import "./http.tabledevelopment.3dcb3e97.mjs";
|
|
35
|
+
import "./http.promptmanagement.dad4c6a7.mjs";
|
|
36
|
+
import "./utils.plug.js.9313aead.mjs";
|
|
37
|
+
import "./components.coloreditor.06cf0433.mjs";
|
|
38
|
+
import "./page.designer.page.6d8232c7.mjs";
|
|
39
|
+
import "./page.designer.componentstree.b0ecddd8.mjs";
|
|
40
|
+
import "./mobile.designer.componentstree.4a1442dc.mjs";
|
|
41
|
+
import "./page.designer.fieldfiltering.1ecd65a3.mjs";
|
|
42
|
+
import "./components.iconselector.8940b1a9.mjs";
|
|
43
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
44
|
+
import "./table.definition..echartsconfig.625bce88.mjs";
|
|
45
|
+
import "./utils.mixins.js.be01e599.mjs";
|
|
46
|
+
import "./personal.echarts.414b7e3d.mjs";
|
|
47
|
+
import "./components.teamsharing.3a17ddc0.mjs";
|
|
48
|
+
import "./store.config.03dd7b19.mjs";
|
|
49
|
+
import "./form.build.d04773f0.mjs";
|
|
50
|
+
import "./components.viewformdetails.d241c652.mjs";
|
|
51
|
+
import "./system.notice.bef6c23c.mjs";
|
|
52
|
+
import "./http.orgmanage.0b1df8d5.mjs";
|
|
53
|
+
import "./http.rolemanage.da5c40e9.mjs";
|
|
54
|
+
import "./http.sysapps.932ba43b.mjs";
|
|
55
|
+
import "./components.tablevirtual.66890b2c.mjs";
|
|
56
|
+
import "./components.tableumy.3e1c9a5b.mjs";
|
|
57
|
+
import "./components.tooltip.376d95fe.mjs";
|
|
58
|
+
import "./components.selecttree.756c4d22.mjs";
|
|
59
|
+
import "./components.imgpreview.f05b3e06.mjs";
|
|
60
|
+
import "./components.modaltitle.5060623f.mjs";
|
|
61
|
+
import "./components.dataassign.21d3938b.mjs";
|
|
62
|
+
import "./components.middleware.de012955.mjs";
|
|
63
|
+
import "./components.echarts.490abdfa.mjs";
|
|
64
|
+
import "./components.viewloading.aae3aab4.mjs";
|
|
65
|
+
import "./components.exception.ee1c4f83.mjs";
|
|
66
|
+
import "./components.uploadimg.decb0360.mjs";
|
|
67
|
+
import "./components.lunccalendar.2a097955.mjs";
|
|
68
|
+
import "./components.watermark.2ec3260c.mjs";
|
|
69
|
+
import "./system.org.92f4d7f1.mjs";
|
|
70
|
+
import "./system.pos.fe067063.mjs";
|
|
71
|
+
import "./http.posmanage.ee6a7613.mjs";
|
|
72
|
+
import "./system.dict.0c229d1c.mjs";
|
|
73
|
+
import "./http.dictmanage.d8fe18dc.mjs";
|
|
74
|
+
import "./http.dictdatamanage.2583b5ae.mjs";
|
|
75
|
+
import "./system.user.9a02295e.mjs";
|
|
76
|
+
import "./system.role.67f62146.mjs";
|
|
77
|
+
import "./system.log.815840d8.mjs";
|
|
78
|
+
import "./http.logmanage.8ba72635.mjs";
|
|
79
|
+
import "./system.machine.1665954f.mjs";
|
|
80
|
+
import "./http.machinemanage.7bbe6c16.mjs";
|
|
81
|
+
import "./system.onlineuser.bccb1cd9.mjs";
|
|
82
|
+
import "./http.onlineusermanage.c8d84337.mjs";
|
|
83
|
+
import "./system.config.a9a1ee96.mjs";
|
|
84
|
+
import "./http.configmanage.c23c7fa8.mjs";
|
|
85
|
+
import "./system.noticereceived.0d293a87.mjs";
|
|
86
|
+
import "./http.noticereceivedmanage.50797be1.mjs";
|
|
87
|
+
import "./system.webresource.016d0000.mjs";
|
|
88
|
+
import "./http.webresource.1a1a768f.mjs";
|
|
89
|
+
import "./system.fieldsecurity.d35acd97.mjs";
|
|
90
|
+
import "./system.file.30d3e7bc.mjs";
|
|
91
|
+
import "./system.timers.4b2d509f.mjs";
|
|
92
|
+
import "./http.timersmanage.c79afb66.mjs";
|
|
93
|
+
import "./http.solution.b10d9197.mjs";
|
|
94
|
+
import "./http.translationmanage.f8694b51.mjs";
|
|
95
|
+
import "./page.designer.operation.80b1a5d1.mjs";
|
|
96
|
+
import "./page.build.376104d5.mjs";
|
|
97
|
+
import "./form.designer.build.c82cb559.mjs";
|
|
98
|
+
import "./http.duplicatechecking.9b79ce21.mjs";
|
|
99
|
+
import "./view.build.85732408.mjs";
|
|
100
|
+
import "./table.definition..btnconfig.9847cac5.mjs";
|
|
101
|
+
import "./flow.list.ab420927.mjs";
|
|
102
|
+
import "./solution.dict.ef98b194.mjs";
|
|
103
|
+
import "./solution.processflow.c1544b05.mjs";
|
|
104
|
+
import "./solution.workflow.c48545d1.mjs";
|
|
105
|
+
import "./solution.approvalflow.bef7fbdd.mjs";
|
|
106
|
+
import "./solution.webresources.0b51beba.mjs";
|
|
107
|
+
import "./solution.plugin.90f8dcc1.mjs";
|
|
108
|
+
import "./http.pluginmanage.54720675.mjs";
|
|
109
|
+
import "./system.plugin.af27d7ac.mjs";
|
|
110
|
+
import "./solution.role.b1ab40dd.mjs";
|
|
111
|
+
import "./solution.application.e0d58df1.mjs";
|
|
112
|
+
import "./solution.applicationmenu.71ef6b8e.mjs";
|
|
113
|
+
import "./solution.menu.5c17348f.mjs";
|
|
114
|
+
import "./page.designer.menutree.2c1846bc.mjs";
|
|
115
|
+
import "./system.translation.60ec676c.mjs";
|
|
116
|
+
import "./system.duplicatechecking.94c7ce17.mjs";
|
|
117
|
+
import "./system.promptmanagement.0b9083c5.mjs";
|
|
118
|
+
import "./system.useraffiliation.96695aeb.mjs";
|
|
119
|
+
import "./system.email.13823361.mjs";
|
|
120
|
+
import "./http.emailmanage.64fd611f.mjs";
|
|
121
|
+
import "./system.permissions.be9238ee.mjs";
|
|
122
|
+
import "./system.datasource.c103a9c2.mjs";
|
|
123
|
+
import "./http.datasource.aa5cd0d1.mjs";
|
|
124
|
+
import "./system.sumberrules.093d998e.mjs";
|
|
125
|
+
import "./http.sumberrules.176d3d06.mjs";
|
|
126
|
+
import "./system.team.8911fd95.mjs";
|
|
127
|
+
import "./http.team.a9c609d5.mjs";
|
|
128
|
+
import "./system.teammembers.35564a00.mjs";
|
|
129
|
+
import "./system.document.f67c2994.mjs";
|
|
130
|
+
import "./mobile.designer.menutree.0a2f7911.mjs";
|
|
131
|
+
import "./messages.messagetemplate.7adbbc58.mjs";
|
|
132
|
+
import "./http.message.ceb0a1c6.mjs";
|
|
133
|
+
import "./messages.fieldconfiguration.0d98a290.mjs";
|
|
134
|
+
import "./messages.sendplan.7d0097c2.mjs";
|
|
135
|
+
import "./messages.sendrecord.f0d2fd54.mjs";
|
|
136
|
+
import "./messages.templatelibrary.ff151513.mjs";
|
|
137
|
+
import "./translation.mains.2688be5b.mjs";
|
|
138
|
+
const $ = {
|
|
139
|
+
props: {
|
|
140
|
+
limit: {
|
|
141
|
+
type: Number,
|
|
142
|
+
default: 12
|
|
143
|
+
},
|
|
144
|
+
fileAccept: {
|
|
145
|
+
type: String,
|
|
146
|
+
default: ""
|
|
147
|
+
},
|
|
148
|
+
fileSize: {
|
|
149
|
+
type: Number,
|
|
150
|
+
default: 1024
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
data() {
|
|
154
|
+
return {
|
|
155
|
+
ruleFormRecord: {
|
|
156
|
+
options: {
|
|
157
|
+
fileName: "file",
|
|
158
|
+
drag: !0
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
record: null,
|
|
162
|
+
width: "80%",
|
|
163
|
+
confirmLoading: !1,
|
|
164
|
+
visible: !1,
|
|
165
|
+
fullscreen: !1,
|
|
166
|
+
parentId: 0,
|
|
167
|
+
parentList: [],
|
|
168
|
+
docTypeList: [],
|
|
169
|
+
buttons: [
|
|
170
|
+
{
|
|
171
|
+
displayName: "\u786E\u5B9A",
|
|
172
|
+
functionName: "handleSubmit",
|
|
173
|
+
show: !0,
|
|
174
|
+
transKey: "gd.btn.confirm",
|
|
175
|
+
icon: "el-icon-document-checked"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
ruleForm: {
|
|
179
|
+
file: "",
|
|
180
|
+
fileList: []
|
|
181
|
+
},
|
|
182
|
+
rules: {
|
|
183
|
+
name: [
|
|
184
|
+
{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: ["change", "blur"] },
|
|
185
|
+
{
|
|
186
|
+
pattern: /^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,
|
|
187
|
+
message: this.$i18nt("gd.fileDocument.addNameTip", '\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
file: [{ required: !0, message: this.$i18nt("gd.web.selectFileTip", "\u8BF7\u9009\u62E9\u6587\u4EF6!"), trigger: ["change", "blur"] }]
|
|
191
|
+
},
|
|
192
|
+
rulesName: [
|
|
193
|
+
{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: ["change", "blur"] },
|
|
194
|
+
{
|
|
195
|
+
pattern: /^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,
|
|
196
|
+
message: this.$i18nt("gd.fileDocument.addNameTip", '\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
fileList: [],
|
|
200
|
+
fileData: []
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
components: { UploadFile: c, LayoutItemColumn: () => import("./layoutItem.cf18143e.mjs") },
|
|
204
|
+
computed: {
|
|
205
|
+
rulesInput() {
|
|
206
|
+
return [{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: ["change", "blur"] }];
|
|
207
|
+
},
|
|
208
|
+
rulesSelect() {
|
|
209
|
+
return [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["change", "blur"] }];
|
|
210
|
+
},
|
|
211
|
+
timeLongshort() {
|
|
212
|
+
return this.getDictionary("time_longshort");
|
|
213
|
+
},
|
|
214
|
+
title() {
|
|
215
|
+
const i = this.$i18nt("gd.btn.createfile", "\u521B\u5EFA\u6587\u4EF6"), t = this.parentList.filter((r) => r.id === this.parentId)[0], e = t ? ` (${t.name})` : "";
|
|
216
|
+
return `${i}${e}`;
|
|
217
|
+
},
|
|
218
|
+
...y(["primaryColor"])
|
|
219
|
+
},
|
|
220
|
+
methods: {
|
|
221
|
+
saveFail(i) {
|
|
222
|
+
i.forEach((t) => {
|
|
223
|
+
t.res.success && this.delItem(t.data);
|
|
224
|
+
}), this.$nextTick(() => {
|
|
225
|
+
setTimeout(() => {
|
|
226
|
+
this.ruleForm.fileList = this.ruleForm.fileList.map((t) => {
|
|
227
|
+
const e = i.filter((r) => r.data.fileId === t.fileId)[0];
|
|
228
|
+
return Object.assign(
|
|
229
|
+
{ ...t },
|
|
230
|
+
{
|
|
231
|
+
tip: e ? e.res.message : ""
|
|
232
|
+
}
|
|
233
|
+
);
|
|
234
|
+
});
|
|
235
|
+
}, 0);
|
|
236
|
+
});
|
|
237
|
+
},
|
|
238
|
+
changeDocType(i, t) {
|
|
239
|
+
const e = this.docTypeList.filter((o) => o.code === i)[0];
|
|
240
|
+
if (!e) {
|
|
241
|
+
Object.assign(t, {
|
|
242
|
+
attributes: []
|
|
243
|
+
});
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
this.confirmLoading = !0;
|
|
247
|
+
let r = [], l = /* @__PURE__ */ new Map();
|
|
248
|
+
e.sysdoctypeattributes.forEach((o) => {
|
|
249
|
+
if (o.ishidden !== 1) {
|
|
250
|
+
const n = JSON.parse(o.reserve1);
|
|
251
|
+
r.push({
|
|
252
|
+
label: o.name,
|
|
253
|
+
transKey: o.transkey ? `Dynamics.${o.transkey}` : null,
|
|
254
|
+
prop: o.attrcode,
|
|
255
|
+
dictTypeCode: o.dicttypecode,
|
|
256
|
+
effectType: o.datatype,
|
|
257
|
+
rules: o.statecodes !== 1 ? [] : o.isrequired === 1 ? d(o, {
|
|
258
|
+
rulesInput: this.rulesInput,
|
|
259
|
+
rulesSelect: this.rulesSelect
|
|
260
|
+
}) : [],
|
|
261
|
+
pickerType: u(o, this.timeLongshort),
|
|
262
|
+
fieldFormat: f(o, this.timeLongshort),
|
|
263
|
+
fkEntityName: o.fkentity,
|
|
264
|
+
fieldsize: o.datatype === "inputnumber" ? 0 : o.fieldsize,
|
|
265
|
+
isDatePicker: h(o, this.timeLongshort),
|
|
266
|
+
viewId: n.viewId ? n.viewId : "",
|
|
267
|
+
disabled: o.statecodes !== 1
|
|
268
|
+
}), l.set(o.attrcode, g(o));
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
const s = this.ruleForm.fileList.map((o) => o.fileId === t.fileId ? Object.assign(
|
|
272
|
+
o,
|
|
273
|
+
Object.assign({}, o, Object.fromEntries(l), {
|
|
274
|
+
attributes: r
|
|
275
|
+
})
|
|
276
|
+
) : Object.assign({}, o)), a = Object.assign({}, this.ruleForm, {
|
|
277
|
+
fileList: [...s]
|
|
278
|
+
});
|
|
279
|
+
this.ruleForm = JSON.parse(JSON.stringify(a)), setTimeout(() => {
|
|
280
|
+
this.confirmLoading = !1;
|
|
281
|
+
}, 300);
|
|
282
|
+
},
|
|
283
|
+
inputName(i, t) {
|
|
284
|
+
t.name = i.replace(/\s+/g, "");
|
|
285
|
+
},
|
|
286
|
+
save() {
|
|
287
|
+
this.confirmLoading = !0;
|
|
288
|
+
let i = [];
|
|
289
|
+
this.ruleForm.fileList.forEach((t, e) => {
|
|
290
|
+
let r = this.add(t, e).then((l) => ({ data: t, res: l }));
|
|
291
|
+
i.push(r);
|
|
292
|
+
}), Promise.all(i).then((t) => {
|
|
293
|
+
this.confirmLoading = !1;
|
|
294
|
+
const e = t.filter((l) => !l.res.success);
|
|
295
|
+
if (e.length === 0) {
|
|
296
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok");
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
e.length < t.length && this.$emit("ok");
|
|
300
|
+
let r = "";
|
|
301
|
+
e.forEach((l) => {
|
|
302
|
+
r += `<p>${l.data.name} ${l.res.message}</p>`;
|
|
303
|
+
}), this.saveFail(t), this.$message({
|
|
304
|
+
message: `${this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")}${r}`,
|
|
305
|
+
type: "error",
|
|
306
|
+
dangerouslyUseHTMLString: !0
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
},
|
|
310
|
+
add(i) {
|
|
311
|
+
let t = [];
|
|
312
|
+
i.attributes.forEach((l) => {
|
|
313
|
+
t.push({ attrCode: l.prop, attrValue: ["checkbox"].includes(l.effectType) ? i[l.prop].join(",") : i[l.prop] });
|
|
314
|
+
});
|
|
315
|
+
const e = this.docTypeList.filter((l) => l.code === i.sysdoctypeid)[0], r = {
|
|
316
|
+
name: i.name,
|
|
317
|
+
parentid: this.ruleForm.parentid,
|
|
318
|
+
type: 2,
|
|
319
|
+
inheritpermissions: i.inheritpermissions,
|
|
320
|
+
filetype: i.filetype,
|
|
321
|
+
filesize: i.filesize,
|
|
322
|
+
file: i.fileId,
|
|
323
|
+
version: i.version,
|
|
324
|
+
description: i.description,
|
|
325
|
+
sysdoctypeid: e.id,
|
|
326
|
+
attributes: t
|
|
327
|
+
};
|
|
328
|
+
return p(r).then((l) => l);
|
|
329
|
+
},
|
|
330
|
+
handleSubmit() {
|
|
331
|
+
if ((this.ruleFormRecord.uidUploading ? this.ruleFormRecord.uidUploading : []).length > 0) {
|
|
332
|
+
this.$message.error(`${this.$i18nt("gd.https.uidUploading", "\u6587\u4EF6\u6B63\u5728\u4E0A\u4F20\u4E2D,\u8BF7\u7B49\u5F85..")}`);
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
this.$refs.ruleForm.validate((t) => {
|
|
336
|
+
t && this.save();
|
|
337
|
+
});
|
|
338
|
+
},
|
|
339
|
+
delItem(i) {
|
|
340
|
+
this.ruleForm.fileList = this.ruleForm.fileList.filter((t) => t.fileId !== i.fileId), this.$refs.uploadFile.removeFileManual(i.fileId);
|
|
341
|
+
},
|
|
342
|
+
handleChange(i) {
|
|
343
|
+
this.confirmLoading = !0;
|
|
344
|
+
const t = JSON.parse(i.sourceData);
|
|
345
|
+
let e = [];
|
|
346
|
+
t.forEach((r) => {
|
|
347
|
+
const l = r.name.substr(r.name.lastIndexOf(".") + 1), s = this.fileData.filter((o) => o.uid === r.ouid)[0], a = this.ruleForm.fileList.filter((o) => o.fileId === r.fileId)[0];
|
|
348
|
+
e.push({
|
|
349
|
+
fileoriginname: r.fileoriginname,
|
|
350
|
+
name: r.name,
|
|
351
|
+
filetype: l,
|
|
352
|
+
filesize: s ? s.size : 0,
|
|
353
|
+
inheritpermissions: 1,
|
|
354
|
+
fileId: r.fileId,
|
|
355
|
+
ouid: r.ouid,
|
|
356
|
+
tip: "",
|
|
357
|
+
version: "",
|
|
358
|
+
description: "",
|
|
359
|
+
sysdoctypeid: "",
|
|
360
|
+
attributes: a ? a.attributes : []
|
|
361
|
+
});
|
|
362
|
+
}), this.ruleForm.fileList = e, setTimeout(() => {
|
|
363
|
+
this.confirmLoading = !1;
|
|
364
|
+
}, 100);
|
|
365
|
+
},
|
|
366
|
+
uploadFile(i) {
|
|
367
|
+
const t = this.fileData.filter((e) => e.uid !== i.file.uid);
|
|
368
|
+
this.fileData = t.concat([i.file]);
|
|
369
|
+
},
|
|
370
|
+
getDocTypePage() {
|
|
371
|
+
this.confirmLoading = !0, m({ pageno: this.pageno, pagesize: this.pagesize }).then((i) => {
|
|
372
|
+
i.code === 200 && (this.docTypeList = i.data.rows.filter((t) => t.statecodes === 1)), this.confirmLoading = !1;
|
|
373
|
+
});
|
|
374
|
+
},
|
|
375
|
+
open(i) {
|
|
376
|
+
this.parentId = i ? i.id : "0", this.parentList = [{ name: i.name ? i.name : "root", id: i.id }], this.record = i, this.ruleForm = {
|
|
377
|
+
parentid: i.id,
|
|
378
|
+
file: "",
|
|
379
|
+
fileList: []
|
|
380
|
+
}, this.visible = !0, this.getDocTypePage(), this.$nextTick(() => {
|
|
381
|
+
setTimeout(() => {
|
|
382
|
+
this.$refs.ruleForm && this.$refs.ruleForm.clearValidate();
|
|
383
|
+
}, 100);
|
|
384
|
+
});
|
|
385
|
+
},
|
|
386
|
+
closed() {
|
|
387
|
+
this.fileData = [], this.ruleForm = { fileList: [] }, this.fullscreen = !1, this.visible = !1;
|
|
388
|
+
},
|
|
389
|
+
getDictionary(i) {
|
|
390
|
+
return this.$options.filters.dictData(i);
|
|
391
|
+
},
|
|
392
|
+
toggleFullscreen() {
|
|
393
|
+
this.fullscreen = !this.fullscreen;
|
|
394
|
+
},
|
|
395
|
+
doEvent(i) {
|
|
396
|
+
let t = i.item.functionName;
|
|
397
|
+
this[t] && this[t]();
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
};
|
|
401
|
+
var v = function() {
|
|
402
|
+
var t = this, e = t._self._c;
|
|
403
|
+
return e("div", [e("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.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(r) {
|
|
404
|
+
t.visible = r;
|
|
405
|
+
}, closed: t.closed } }, [e("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), e("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [t.visible ? e("el-form", { ref: "ruleForm", staticClass: "gd-form", staticStyle: { width: "100%", margin: "0 auto" }, attrs: { model: t.ruleForm, "label-width": "160px", rules: t.rules }, nativeOn: { submit: function(r) {
|
|
406
|
+
r.preventDefault();
|
|
407
|
+
} } }, [e("el-form-item", { staticStyle: { width: "90%" }, attrs: { label: t.$i18nt("gd.page.uploadFile", "\u4E0A\u4F20\u6587\u4EF6"), prop: "file" } }, [e("UploadFile", { ref: "uploadFile", attrs: { record: t.ruleFormRecord, model: t.ruleForm, limit: t.limit, prop: "file", accept: t.fileAccept, size: t.fileSize }, on: { change: t.handleChange, uploadFile: t.uploadFile } })], 1), t._l(t.ruleForm.fileList, function(r, l) {
|
|
408
|
+
return [e("div", { staticClass: "list" }, [e("el-alert", { staticStyle: { "margin-bottom": "12px" }, attrs: { title: r.fileoriginname, type: "info", closable: !1 } }), e("el-row", { attrs: { gutter: 24 } }, [e("el-col", { attrs: { span: 12 } }, [e("el-form-item", { key: `${r.fileId}_name`, attrs: { label: t.$i18nt("gd.translation.name", "\u540D\u79F0"), prop: "fileList." + l + ".name", rules: t.rulesName } }, [e("el-input", { attrs: { clearable: "", placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), maxlength: 50 }, on: { input: (s) => t.inputName(s, r) }, model: { value: r.name, callback: function(s) {
|
|
409
|
+
t.$set(r, "name", s);
|
|
410
|
+
}, expression: "item.name" } })], 1)], 1), e("el-col", { attrs: { span: 12 } }, [e("el-form-item", { attrs: { label: t.$i18nt("gd.fileDocument.inheritedPermissions", "\u7EE7\u627F\u6743\u9650"), title: t.$i18nt("gd.fileDocument.inheritedPermissions", "\u7EE7\u627F\u6743\u9650") } }, [e("el-switch", { attrs: { "active-value": 1, "inactive-value": 0, "active-color": t.primaryColor }, model: { value: r.inheritpermissions, callback: function(s) {
|
|
411
|
+
t.$set(r, "inheritpermissions", s);
|
|
412
|
+
}, expression: "item.inheritpermissions" } })], 1)], 1), e("el-col", { attrs: { span: 12 } }, [e("el-form-item", { key: `${r.fileId}_sysdoctypeid`, attrs: { label: t.$i18nt("gd.fileDocument.classification", "\u6587\u6863\u5206\u7C7B"), rules: t.rulesSelect, prop: "fileList." + l + ".sysdoctypeid", title: t.$i18nt("gd.fileDocument.classification", "\u6587\u6863\u5206\u7C7B") } }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "", remote: "", filterable: "" }, on: { change: (s) => t.changeDocType(s, r) }, model: { value: r.sysdoctypeid, callback: function(s) {
|
|
413
|
+
t.$set(r, "sysdoctypeid", s);
|
|
414
|
+
}, expression: "item.sysdoctypeid" } }, t._l(t.docTypeList, function(s) {
|
|
415
|
+
return e("el-option", { key: s.code, attrs: { label: t.$i18nt(`Dynamics.${s.transkey}`, s.name), value: s.code } });
|
|
416
|
+
}), 1)], 1)], 1), e("el-col", { attrs: { span: 12 } }, [e("el-form-item", { attrs: { label: t.$i18nt("gd.solution.version", "\u7248\u672C"), title: t.$i18nt("gd.solution.version", "\u7248\u672C") } }, [e("el-input", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.version, callback: function(s) {
|
|
417
|
+
t.$set(r, "version", s);
|
|
418
|
+
}, expression: "item.version" } })], 1)], 1), e("el-col", { attrs: { span: 12 } }, [e("el-form-item", { attrs: { label: t.$i18nt("gd.directory.remark", "\u5907\u6CE8"), title: t.$i18nt("gd.directory.remark", "\u5907\u6CE8") } }, [e("el-input", { attrs: { clearable: "", placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", rows: 1 }, model: { value: r.description, callback: function(s) {
|
|
419
|
+
t.$set(r, "description", s);
|
|
420
|
+
}, expression: "item.description" } })], 1)], 1), t._l(r.attributes, function(s) {
|
|
421
|
+
return [e("el-col", { attrs: { span: 12 } }, [e("el-form-item", { key: `${s.fileId}_${s.prop}`, attrs: { label: t.$i18nt(s.transKey, s.label), prop: `fileList.${l}.${s.prop}`, rules: s.rules, title: t.$i18nt(s.transKey, s.label) } }, [e("LayoutItemColumn", { attrs: { record: s, ruleFormData: r } })], 1)], 1)];
|
|
422
|
+
})], 2), e("div", { staticClass: "item-del" }, [e("i", { staticClass: "el-icon-close", on: { click: function(s) {
|
|
423
|
+
return t.delItem(r);
|
|
424
|
+
} } })]), r.tip ? e("el-tooltip", { staticClass: "item-tooltip", attrs: { effect: "dark", placement: "top-start" } }, [e("i", { staticClass: "el-icon-warning", staticStyle: { color: "red" } }), e("div", { staticClass: "list-tip", attrs: { slot: "content" }, slot: "content" }, [t._v(t._s(r.tip))])]) : t._e()], 1)];
|
|
425
|
+
})], 2) : t._e()], 1)], 1)], 1);
|
|
426
|
+
}, F = [], L = /* @__PURE__ */ b(
|
|
427
|
+
$,
|
|
428
|
+
v,
|
|
429
|
+
F,
|
|
430
|
+
!1,
|
|
431
|
+
null,
|
|
432
|
+
"3f9cc7b9",
|
|
433
|
+
null,
|
|
434
|
+
null
|
|
435
|
+
);
|
|
436
|
+
const Ye = L.exports;
|
|
437
|
+
export {
|
|
438
|
+
Ye as default
|
|
439
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./components.chartbi.3bbac955.js"),s=require("./http.filedocument.6fdfc693.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const a={data(){return{type:"",record:null,width:"700px",confirmLoading:!1,visible:!1,fullscreen:!1,parentId:0,parentList:[],buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],ruleForm:{},rules:{name:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:["change","blur"]},{pattern:/^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,message:this.$i18nt("gd.fileDocument.addNameTip",'\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')},{validator:this.validateName,trigger:["change","blur"]}]}}},computed:{disabled(){return!0},title(){return this.type==="rename"?this.$i18nt("gd.btn.rename","\u91CD\u547D\u540D"):this.$i18nt("gd.btn.createSubfolders","\u521B\u5EFA\u6587\u4EF6\u5939")},fileName(){return this.type==="rename"?this.$i18nt("gd.fileDocument.newFileName","\u65B0\u540D\u79F0"):this.$i18nt("gd.translation.name","\u540D\u79F0")},...l.mapGetters(["primaryColor"])},methods:{validateName(t,e,r){if(e){if(this.type==="rename"&&e===this.ruleForm.oname)return r(new Error(this.$i18nt("gd.fileDocument.renameTip","\u65B0\u540D\u79F0\u4E0D\u80FD\u4E0E\u5F53\u524D\u540D\u79F0\u91CD\u590D")));r()}else return r(new Error(this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")))},inputName(t){this.ruleForm.name=t.replace(/\s+/g,"")},add(){let t={name:this.ruleForm.name,parentid:this.ruleForm.parentid,type:this.ruleForm.type,inheritpermissions:this.ruleForm.inheritpermissions};this.confirmLoading=!0,s.sysDocObjectsAdd(t).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok",t),this.closed()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+e.message),this.confirmLoading=!1})},edit(){this.confirmLoading=!0;const t=this.type==="rename"?{docId:this.record.id,newName:this.ruleForm.name}:Object.assign({},this.record,this.ruleForm);(this.type==="rename"?s.sysDocObjectsRename:s.sysDocObjectsEdit)(t).then(r=>{r.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$emit("ok",t),this.closed()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+r.message),this.confirmLoading=!1})},handleSubmit(){this.$refs.ruleForm.validate(t=>{if(t){if(["createsubfolder","createrootdirectory"].includes(this.type)){this.add();return}this.edit()}})},open(t,e){this.type=e,this.record=t,this.visible=!0;let r={},i="",n={parentid:t&&t.parentid?t.parentid:0,name:"",type:t&&t.type?String(t.type):"1",inheritpermissions:t?t.inheritpermissions:1};e==="createsubfolder"?(this.parentId=t?t.id:0,this.parentList=[{name:t.name,id:t.id}],r={parentid:this.parentId},i="ruleFormName"):e==="rename"?(r={oname:t.name,name:""},i="ruleFormName"):e==="createrootdirectory"&&(i="ruleFormName"),this.ruleForm=Object.assign(n,r),this.$nextTick(()=>{setTimeout(()=>{this.$refs.ruleForm&&this.$refs.ruleForm.clearValidate(),i&&this.$refs[i].focus()},0)})},closed(){this.ruleForm={},this.fullscreen=!1,this.visible=!1},getDictionary(t){return this.$options.filters.dictData(t)},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var o=function(){var e=this,r=e._self._c;return r("div",[r("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){e.visible=i},closed:e.closed}},[r("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?r("el-form",{ref:"ruleForm",staticClass:"gd-form",staticStyle:{width:"90%",margin:"0 auto"},attrs:{model:e.ruleForm,"label-width":"140px",rules:e.rules},nativeOn:{submit:function(i){i.preventDefault()}}},[["createsubfolder"].includes(e.type)?r("el-form-item",{attrs:{label:e.$i18nt("gd.fileDocument.parentDirectory","\u4E0A\u7EA7\u76EE\u5F55")}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),disabled:e.disabled},model:{value:e.ruleForm.parentid,callback:function(i){e.$set(e.ruleForm,"parentid",i)},expression:"ruleForm.parentid"}},e._l(e.parentList,function(i){return r("el-option",{key:i.id,attrs:{label:i.name,value:i.id}})}),1)],1):e._e(),["rename"].includes(e.type)?r("el-form-item",{attrs:{label:e.$i18nt("gd.fileDocument.currentFileName","\u5F53\u524D\u540D\u79F0")}},[r("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),disabled:""},model:{value:e.ruleForm.oname,callback:function(i){e.$set(e.ruleForm,"oname",i)},expression:"ruleForm.oname"}})],1):e._e(),r("el-form-item",{attrs:{label:e.fileName,prop:"name"}},[r("el-input",{ref:"ruleFormName",attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),maxlength:50},on:{input:e.inputName},model:{value:e.ruleForm.name,callback:function(i){e.$set(e.ruleForm,"name",i)},expression:"ruleForm.name"}})],1),["createsubfolder","createrootdirectory"].includes(e.type)?r("el-form-item",{attrs:{label:e.$i18nt("gd.file.fileAccept","\u6587\u4EF6\u7C7B\u578B"),prop:"type"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),disabled:""},model:{value:e.ruleForm.type,callback:function(i){e.$set(e.ruleForm,"type",i)},expression:"ruleForm.type"}},e._l(e.getDictionary("sys_doc_objects_type"),function(i){return r("el-option",{key:i.code,attrs:{label:e.$i18nt(`Dynamics.${i.transkey}`,i.name),value:i.code}})}),1)],1):e._e(),["createsubfolder"].includes(e.type)?r("el-form-item",{attrs:{label:e.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650")}},[r("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":e.primaryColor},model:{value:e.ruleForm.inheritpermissions,callback:function(i){e.$set(e.ruleForm,"inheritpermissions",i)},expression:"ruleForm.inheritpermissions"}})],1):e._e()],1):e._e()],1)],1)],1)},c=[],d=l.normalizeComponent(a,o,c,!1,null,"a9a3fa42",null,null);const u=d.exports;exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as l, n } from "./components.chartbi.
|
|
2
|
-
import {
|
|
1
|
+
import { m as l, n } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { r as a, t as o, u as d } from "./http.filedocument.8fa3fe2d.mjs";
|
|
3
3
|
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
-
import "./utils.util.js.
|
|
4
|
+
import "./utils.util.js.333daba2.mjs";
|
|
5
5
|
const m = {
|
|
6
6
|
data() {
|
|
7
7
|
return {
|
|
@@ -89,11 +89,11 @@ const m = {
|
|
|
89
89
|
});
|
|
90
90
|
},
|
|
91
91
|
open(t, e) {
|
|
92
|
-
|
|
92
|
+
this.type = e, this.record = t, this.visible = !0;
|
|
93
93
|
let r = {}, i = "", s = {
|
|
94
|
-
parentid: t ? t.parentid : 0,
|
|
94
|
+
parentid: t && t.parentid ? t.parentid : 0,
|
|
95
95
|
name: "",
|
|
96
|
-
type: t ? String(t.type) : "1",
|
|
96
|
+
type: t && t.type ? String(t.type) : "1",
|
|
97
97
|
inheritpermissions: t ? t.inheritpermissions : 1
|
|
98
98
|
};
|
|
99
99
|
e === "createsubfolder" ? (this.parentId = t ? t.id : 0, this.parentList = [{ name: t.name, id: t.id }], r = { parentid: this.parentId }, i = "ruleFormName") : e === "rename" ? (r = { oname: t.name, name: "" }, i = "ruleFormName") : e === "createrootdirectory" && (i = "ruleFormName"), this.ruleForm = Object.assign(s, r), this.$nextTick(() => {
|
|
@@ -144,7 +144,7 @@ var c = function() {
|
|
|
144
144
|
u,
|
|
145
145
|
!1,
|
|
146
146
|
null,
|
|
147
|
-
"
|
|
147
|
+
"a9a3fa42",
|
|
148
148
|
null,
|
|
149
149
|
null
|
|
150
150
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as i, n as l } from "./components.chartbi.
|
|
1
|
+
import { m as i, n as l } from "./components.chartbi.571c5ff5.mjs";
|
|
2
2
|
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
3
|
-
import "./utils.util.js.
|
|
3
|
+
import "./utils.util.js.333daba2.mjs";
|
|
4
4
|
const a = {
|
|
5
5
|
props: {
|
|
6
6
|
record: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./components.chartbi.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./components.chartbi.3bbac955.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const l={props:{record:{type:Object,required:!0}},data(){return{visible:!1,fullscreen:!1,contentHeight:0,headHeight:0,callbackFun:[],parameterData:null}},computed:{showList(){return this.record.interactive.filter(t=>t.type==="show")},hideList(){return this.record.interactive.filter(t=>t.type==="hide")},stationHeight(){const e=this.options.openTop!==void 0?this.options.openTop:80;return this.fullscreen?this.headHeight:e*2+this.headHeight},getClass(){const e=this.record.customClass?`${this.record.customClass}`:"";return this.fullscreen?`gd-dialog-build gd-dialog-fullscreen ${e}`:`gd-dialog-build ${e}`},style(){const e=this.record.customCss?this.record.customCss:"",t=this.fullscreen?0:this.openTop;return`--stationHeight:${this.stationHeight}px; --openTop: ${t};${e}`},width(){return`${this.options.flexWidth}${this.options.flexUnit}`},openTop(){return`${this.options.openTop!==void 0?this.options.openTop:80}px`},options(){return this.record.options},...i.mapGetters(["screenHeight"])},methods:{executeEvent(e){const t=e.functionName?e.functionName:"";t&&this[t]!==void 0?this[t](e):console.log("\u6267\u884C\u9519\u8BEF")},getStationHeight(){this.$nextTick(()=>{setTimeout(()=>{const e=this.$refs.dialogHead,t=this.$refs.dialogFooter,s=this.$refs.dialogFooter,o=e&&e[0]?e[0].clientHeight:0,n=t&&t[0]?t[0].clientHeight:0,c=s&&s[0]?s[0].clientHeight:0;this.contentHeight=c===0?this.screenHeight-o-n:c,this.headHeight=o},0)})},toggleFullscreen(e){this.fullscreen=!this.fullscreen,e.toggleFullscreen&&e.toggleFullscreen(this.fullscreen)},open(e){this.parameterData=e,this.fullscreen=!1,this.visible=!0,this.getStationHeight(),this.showList.length!==0&&this.$nextTick(()=>{setTimeout(()=>{this.showList.forEach(t=>{t.componentKey!==""&&t.componentFunction!==""&&this.record.doEvent({key:t.componentKey,functionName:t.componentFunction,data:e&&e.data,id:null,source:e&&e.source?e.source:this.record,transfer:this.record,parameterData:this.parameterData,callback:t.callbackTwo?t.callbackTwo:!1,callbackComponents:t.callbackTwo?t.callbackComponents:"",callbackFunction:t.callbackTwo?t.callbackFunction:""})})},0)})},closed(e){this.visible=!1,this.hideList.length!==0&&this.$nextTick(()=>{setTimeout(()=>{this.hideList.forEach(t=>{t.componentKey!==""&&t.componentFunction!==""&&this.record.doEvent({key:t.componentKey,functionName:t.componentFunction,data:e&&e.data,id:null,source:e&&e.source?e.source:this.record,transfer:this.record,parameterData:this.parameterData,callback:t.callbackTwo?t.callbackTwo:!1,callbackComponents:t.callbackTwo?t.callbackComponents:"",callbackFunction:t.callbackTwo?t.callbackFunction:""})})},0)})},centralizedCallback(e){let t=[...this.callbackFun];t.push(e),this.callbackFun=[...t]}},mounted(){this.record.executeEvent=this.executeEvent}};var a=function(){var t=this,s=t._self._c;return t.visible?s("div",[s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:t.getClass,style:t.style,attrs:{fullscreen:t.fullscreen,visible:t.visible,width:t.width,center:!0,"close-on-press-escape":t.options.closePressEscape,"close-on-click-modal":t.options.closeClickModal,"append-to-body":t.options.appendToBody,"modal-append-to-body":t.options.modalAppendToDody,"show-close":!1,top:t.openTop},on:{"update:visible":function(o){t.visible=o}}},[t._l(t.record.columns,function(o){return[o.code==="title"&&o.show?s("div",{ref:"dialogHead",refInFor:!0,staticClass:"dialog-head",attrs:{slot:"title"},slot:"title"},[s("div",{staticClass:"dialog-head-title"},[t._t("title",null,{recordItem:o})],2),t.options.showClose?s("div",{staticClass:"dialog-head-closed"},[s("i",{staticClass:"el-icon-close",on:{click:function(n){return t.closed(null)}}})]):t._e()]):t._e(),o.code==="content"?s("div",{ref:"dialogContent",refInFor:!0,staticClass:"dialog-content"},[t._t("content",null,{recordItem:o,contentHeight:t.contentHeight})],2):t._e(),o.code==="footer"&&o.show?s("div",{ref:"dialogFooter",refInFor:!0,staticClass:"dialog-footer"},[t._t("footer",null,{recordItem:o})],2):t._e()]})],2)],1):t._e()},r=[],d=i.normalizeComponent(l,a,r,!1,null,"bfc05715",null,null);const h=d.exports;exports.default=h;
|