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
|
@@ -1,86 +1,7 @@
|
|
|
1
|
-
import { m as n, n as r } from "./components.chartbi.
|
|
2
|
-
import { a as u, b as g,
|
|
1
|
+
import { m as n, n as r } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { a as u, b as g, s as m, c as h, d as p, e as f, f as y, g as b, h as v, i as $ } from "./http.pluginmanage.54720675.mjs";
|
|
3
3
|
import { t as c } from "./utils.mixins.js.be01e599.mjs";
|
|
4
4
|
const w = {
|
|
5
|
-
data() {
|
|
6
|
-
return {
|
|
7
|
-
tableColumns: [{
|
|
8
|
-
type: "selection",
|
|
9
|
-
width: "60",
|
|
10
|
-
fixed: !0
|
|
11
|
-
}, {
|
|
12
|
-
transKey: "gd.plugin.name",
|
|
13
|
-
prop: "name",
|
|
14
|
-
label: "\u540D\u79F0",
|
|
15
|
-
type: "slot",
|
|
16
|
-
slotType: "name",
|
|
17
|
-
align: "left",
|
|
18
|
-
fixed: !0,
|
|
19
|
-
renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
|
|
20
|
-
effectType: "input"
|
|
21
|
-
}),
|
|
22
|
-
showOverflowTooltip: !0
|
|
23
|
-
}, {
|
|
24
|
-
transKey: "gd.plugin.status",
|
|
25
|
-
prop: "statecodes",
|
|
26
|
-
label: "\u72B6\u6001",
|
|
27
|
-
type: "slot",
|
|
28
|
-
slotType: "statecodes",
|
|
29
|
-
align: "left",
|
|
30
|
-
showOverflowTooltip: !0
|
|
31
|
-
}, {
|
|
32
|
-
transKey: "gd.plugin.remarks",
|
|
33
|
-
prop: "description",
|
|
34
|
-
label: "\u5907\u6CE8",
|
|
35
|
-
align: "left"
|
|
36
|
-
}],
|
|
37
|
-
tableButtons: [
|
|
38
|
-
{
|
|
39
|
-
displayName: "\u65B0\u589E",
|
|
40
|
-
functionName: "add",
|
|
41
|
-
show: !0,
|
|
42
|
-
transKey: "gd.btn.add",
|
|
43
|
-
icon: "el-icon-plus",
|
|
44
|
-
name: "sysPlugin:add"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
displayName: "\u7F16\u8F91",
|
|
48
|
-
functionName: "edit",
|
|
49
|
-
show: !0,
|
|
50
|
-
transKey: "gd.btn.edit",
|
|
51
|
-
icon: "el-icon-edit",
|
|
52
|
-
name: "sysPlugin:edit"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
displayName: "\u5220\u9664",
|
|
56
|
-
functionName: "del",
|
|
57
|
-
show: !0,
|
|
58
|
-
transKey: "gd.btn.del",
|
|
59
|
-
icon: "el-icon-delete",
|
|
60
|
-
btnType: "danger",
|
|
61
|
-
name: "sysPlugin:delete"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
displayName: "\u6B65\u9AA4",
|
|
65
|
-
functionName: "step",
|
|
66
|
-
show: !0,
|
|
67
|
-
transKey: "gd.plugin.step",
|
|
68
|
-
icon: "gd-icons gd-icon-caozuojilu",
|
|
69
|
-
name: "sysPlugin:step"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
tableQueries: [{
|
|
73
|
-
transKey: "gd.plugin.name",
|
|
74
|
-
effectType: "input",
|
|
75
|
-
prop: "name",
|
|
76
|
-
label: "\u540D\u79F0",
|
|
77
|
-
placeholder: "\u8BF7\u8F93\u5165",
|
|
78
|
-
placeholderTransKey: "gd.placeholder.input",
|
|
79
|
-
rules: []
|
|
80
|
-
}]
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}, F = {
|
|
84
5
|
props: {
|
|
85
6
|
formMode: {
|
|
86
7
|
type: String,
|
|
@@ -128,339 +49,353 @@ const w = {
|
|
|
128
49
|
togglefullscreen() {
|
|
129
50
|
this.fullscreen = !this.fullscreen;
|
|
130
51
|
},
|
|
131
|
-
open(
|
|
132
|
-
this.fullscreen = !1, this.title =
|
|
133
|
-
id:
|
|
134
|
-
name:
|
|
135
|
-
description:
|
|
52
|
+
open(a) {
|
|
53
|
+
this.fullscreen = !1, this.title = a ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u65B0\u589E"), this.record = a, this.fileList = [], this.visible = !0, this.sysViewButtons = this.sysViewButtons.map((e) => (e.name = a ? "sysPlugin:edit" : "sysPlugin:add", e)), a ? this.ruleFormData = {
|
|
54
|
+
id: a.id,
|
|
55
|
+
name: a.name,
|
|
56
|
+
description: a.description
|
|
136
57
|
} : this.$nextTick(() => {
|
|
137
58
|
this.ruleFormData = {}, this.$refs.ruleForm.resetFields();
|
|
138
59
|
});
|
|
139
60
|
},
|
|
140
|
-
handleAvatarSuccess(
|
|
61
|
+
handleAvatarSuccess(a, e, t) {
|
|
141
62
|
this.$refs.fileUploadBtn.clearFiles();
|
|
142
63
|
},
|
|
143
|
-
uploadLogo(
|
|
144
|
-
if (
|
|
145
|
-
if (this.fileList = [
|
|
146
|
-
let t =
|
|
147
|
-
var e =
|
|
64
|
+
uploadLogo(a) {
|
|
65
|
+
if (a.file.type == "application/x-msdownload") {
|
|
66
|
+
if (this.fileList = [a.file], !this.record) {
|
|
67
|
+
let t = a.file.name.lastIndexOf(".");
|
|
68
|
+
var e = a.file.name.substring(0, t);
|
|
148
69
|
this.ruleFormData.name = e;
|
|
149
70
|
}
|
|
150
71
|
} else
|
|
151
72
|
this.$message.warning(this.$i18nt("gd.plugin.fileFormatTip", "\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!")), this.fileList = [];
|
|
152
73
|
return !1;
|
|
153
74
|
},
|
|
154
|
-
handleChange(
|
|
155
|
-
if (e.length > 1 && e.splice(0, 1),
|
|
156
|
-
if (this.fileList = [
|
|
157
|
-
let
|
|
158
|
-
var t =
|
|
75
|
+
handleChange(a, e) {
|
|
76
|
+
if (e.length > 1 && e.splice(0, 1), a.raw.type == "application/x-msdownload") {
|
|
77
|
+
if (this.fileList = [a.raw], !this.record) {
|
|
78
|
+
let s = a.raw.name.lastIndexOf(".");
|
|
79
|
+
var t = a.raw.name.substring(0, s);
|
|
159
80
|
this.ruleFormData.name = t;
|
|
160
81
|
}
|
|
161
82
|
} else
|
|
162
83
|
this.$message.warning(this.$i18nt("gd.plugin.fileFormatTip", "\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!")), this.fileList = [];
|
|
163
84
|
return !1;
|
|
164
85
|
},
|
|
165
|
-
handleRemove(
|
|
166
|
-
const e = this.fileList.indexOf(
|
|
86
|
+
handleRemove(a) {
|
|
87
|
+
const e = this.fileList.indexOf(a), t = this.fileList.slice();
|
|
167
88
|
t.splice(e, 1), this.fileList = t;
|
|
168
89
|
},
|
|
169
90
|
handleSubmit() {
|
|
170
|
-
this.$refs.ruleForm.validate((
|
|
171
|
-
|
|
91
|
+
this.$refs.ruleForm.validate((a) => {
|
|
92
|
+
a && (this.record ? this.edit(this.ruleFormData) : this.add(this.ruleFormData));
|
|
172
93
|
});
|
|
173
94
|
},
|
|
174
|
-
add(
|
|
95
|
+
add(a) {
|
|
175
96
|
this.confirmLoading = !0;
|
|
176
97
|
let { fileList: e } = this;
|
|
177
98
|
if (e.length == 0)
|
|
178
99
|
return this.$message.error(this.$i18nt("gd.web.selectFileTip")), this.confirmLoading = !1, !1;
|
|
179
100
|
{
|
|
180
101
|
let t = new FormData();
|
|
181
|
-
t.append("file", e[0]), t.append("name",
|
|
182
|
-
|
|
183
|
-
|
|
102
|
+
t.append("file", e[0]), t.append("name", a.name), u(t).then((s) => {
|
|
103
|
+
if (s.success) {
|
|
104
|
+
let i = Object.assign({ id: s.data }, a);
|
|
105
|
+
this.$message.success(this.$i18nt("gd.https.addSucc")), this.handleCancel(), this.$emit("ok", i);
|
|
106
|
+
} else
|
|
107
|
+
this.$message.error(this.$i18nt("gd.https.addFail") + s.message);
|
|
108
|
+
this.confirmLoading = !1;
|
|
109
|
+
}).finally((s) => {
|
|
184
110
|
this.confirmLoading = !1;
|
|
185
111
|
});
|
|
186
112
|
}
|
|
187
113
|
},
|
|
188
|
-
edit(
|
|
114
|
+
edit(a) {
|
|
189
115
|
this.confirmLoading = !0;
|
|
190
116
|
let { fileList: e } = this, t = new FormData();
|
|
191
|
-
t.append("file", e[0]), t.append("description",
|
|
192
|
-
|
|
193
|
-
}).finally((
|
|
117
|
+
t.append("file", e[0]), t.append("description", a.description), t.append("id", a.id), g(t).then((s) => {
|
|
118
|
+
s.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.handleCancel(), this.$emit("ok", a)) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + s.message), this.confirmLoading = !1;
|
|
119
|
+
}).finally((s) => {
|
|
194
120
|
this.confirmLoading = !1;
|
|
195
121
|
});
|
|
196
122
|
},
|
|
197
123
|
handleCancel() {
|
|
198
124
|
this.$refs.ruleForm.resetFields(), this.visible = !1;
|
|
199
125
|
},
|
|
200
|
-
selType(
|
|
201
|
-
this.type =
|
|
126
|
+
selType(a) {
|
|
127
|
+
this.type = a;
|
|
202
128
|
},
|
|
203
|
-
doEvent(
|
|
204
|
-
let e =
|
|
129
|
+
doEvent(a) {
|
|
130
|
+
let e = a.item.functionName;
|
|
205
131
|
this[e] && this[e]();
|
|
206
132
|
}
|
|
207
133
|
}
|
|
208
134
|
};
|
|
209
|
-
var
|
|
135
|
+
var F = function() {
|
|
210
136
|
var e = this, t = e._self._c;
|
|
211
|
-
return t("div", [e.formMode == "dialog" ? 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.modalStyle.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(
|
|
212
|
-
e.visible =
|
|
213
|
-
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(
|
|
214
|
-
|
|
215
|
-
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(
|
|
216
|
-
e.$set(e.ruleFormData, "id",
|
|
217
|
-
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(
|
|
218
|
-
e.$set(e.ruleFormData, "name",
|
|
219
|
-
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(
|
|
220
|
-
e.$set(e.ruleFormData, "description",
|
|
221
|
-
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1) : t("el-drawer", { attrs: { visible: e.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: e.width, "custom-class": "gd-drawer-form", "show-close": !1 }, on: { "update:visible": function(
|
|
222
|
-
e.visible =
|
|
223
|
-
} } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, showFullscreen: !1 }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(
|
|
224
|
-
|
|
225
|
-
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(
|
|
226
|
-
e.$set(e.ruleFormData, "id",
|
|
227
|
-
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(
|
|
228
|
-
e.$set(e.ruleFormData, "name",
|
|
229
|
-
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(
|
|
230
|
-
e.$set(e.ruleFormData, "description",
|
|
137
|
+
return t("div", [e.formMode == "dialog" ? 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.modalStyle.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(s) {
|
|
138
|
+
e.visible = s;
|
|
139
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(s) {
|
|
140
|
+
s.preventDefault();
|
|
141
|
+
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(s) {
|
|
142
|
+
e.$set(e.ruleFormData, "id", s);
|
|
143
|
+
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(s) {
|
|
144
|
+
e.$set(e.ruleFormData, "name", s);
|
|
145
|
+
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(s) {
|
|
146
|
+
e.$set(e.ruleFormData, "description", s);
|
|
147
|
+
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1) : t("el-drawer", { attrs: { visible: e.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: e.width, "custom-class": "gd-drawer-form", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
148
|
+
e.visible = s;
|
|
149
|
+
} } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, showFullscreen: !1 }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData }, nativeOn: { submit: function(s) {
|
|
150
|
+
s.preventDefault();
|
|
151
|
+
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.id, callback: function(s) {
|
|
152
|
+
e.$set(e.ruleFormData, "id", s);
|
|
153
|
+
}, expression: "ruleFormData.id" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.name", "\u540D\u79F0") } }, [t("el-input", { attrs: { disabled: !0 }, model: { value: e.ruleFormData.name, callback: function(s) {
|
|
154
|
+
e.$set(e.ruleFormData, "name", s);
|
|
155
|
+
}, expression: "ruleFormData.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.plugFile", "\u63D2\u4EF6\u6587\u4EF6") } }, [t("el-upload", { ref: "upload", staticClass: "upload-demo", attrs: { accept: ".dll", "file-list": e.fileList, "on-change": e.handleChange, action: "", "show-file-list": !0, "on-remove": e.handleRemove, "auto-upload": !1 } }, [t("el-button", [t("i", { staticClass: "el-icon-upload2" }), e._v(" " + e._s(e.$i18nt("gd.web.selectFile", "\u9009\u62E9\u6587\u4EF6")) + " ")])], 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(s) {
|
|
156
|
+
e.$set(e.ruleFormData, "description", s);
|
|
231
157
|
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1);
|
|
232
|
-
},
|
|
158
|
+
}, _ = [], D = /* @__PURE__ */ r(
|
|
159
|
+
w,
|
|
233
160
|
F,
|
|
234
161
|
_,
|
|
235
|
-
D,
|
|
236
162
|
!1,
|
|
237
163
|
null,
|
|
238
164
|
null,
|
|
239
165
|
null,
|
|
240
166
|
null
|
|
241
167
|
);
|
|
242
|
-
const
|
|
168
|
+
const k = D.exports, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
169
|
+
__proto__: null,
|
|
170
|
+
default: k
|
|
171
|
+
}, Symbol.toStringTag, { value: "Module" })), x = {
|
|
243
172
|
data() {
|
|
244
173
|
return {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}
|
|
277
|
-
],
|
|
278
|
-
eventhandler: [
|
|
279
|
-
{
|
|
280
|
-
required: (this.type == "edit", !1),
|
|
281
|
-
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
282
|
-
trigger: "change"
|
|
283
|
-
}
|
|
284
|
-
]
|
|
285
|
-
},
|
|
286
|
-
title: "",
|
|
287
|
-
sysViewButtons: [
|
|
174
|
+
tableColumns: [{
|
|
175
|
+
type: "selection",
|
|
176
|
+
width: "60",
|
|
177
|
+
fixed: !0
|
|
178
|
+
}, {
|
|
179
|
+
transKey: "gd.plugin.name",
|
|
180
|
+
prop: "name",
|
|
181
|
+
label: "\u540D\u79F0",
|
|
182
|
+
type: "slot",
|
|
183
|
+
slotType: "name",
|
|
184
|
+
align: "left",
|
|
185
|
+
fixed: !0,
|
|
186
|
+
renderHeader: (a, ...e) => this.renderHeader(a, ...e, {
|
|
187
|
+
effectType: "input"
|
|
188
|
+
}),
|
|
189
|
+
showOverflowTooltip: !0
|
|
190
|
+
}, {
|
|
191
|
+
transKey: "gd.plugin.status",
|
|
192
|
+
prop: "statecodes",
|
|
193
|
+
label: "\u72B6\u6001",
|
|
194
|
+
type: "slot",
|
|
195
|
+
slotType: "statecodes",
|
|
196
|
+
align: "left",
|
|
197
|
+
showOverflowTooltip: !0
|
|
198
|
+
}, {
|
|
199
|
+
transKey: "gd.plugin.remarks",
|
|
200
|
+
prop: "description",
|
|
201
|
+
label: "\u5907\u6CE8",
|
|
202
|
+
align: "left"
|
|
203
|
+
}],
|
|
204
|
+
tableButtons: [
|
|
288
205
|
{
|
|
289
|
-
displayName: "\
|
|
290
|
-
functionName: "
|
|
206
|
+
displayName: "\u65B0\u589E",
|
|
207
|
+
functionName: "add",
|
|
291
208
|
show: !0,
|
|
292
|
-
transKey: "gd.btn.
|
|
293
|
-
|
|
294
|
-
|
|
209
|
+
transKey: "gd.btn.add",
|
|
210
|
+
icon: "el-icon-plus",
|
|
211
|
+
name: "sysPlugin:add"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
displayName: "\u7F16\u8F91",
|
|
215
|
+
functionName: "edit",
|
|
216
|
+
show: !0,
|
|
217
|
+
transKey: "gd.btn.edit",
|
|
218
|
+
icon: "el-icon-edit",
|
|
219
|
+
name: "sysPlugin:edit"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
displayName: "\u5220\u9664",
|
|
223
|
+
functionName: "del",
|
|
224
|
+
show: !0,
|
|
225
|
+
transKey: "gd.btn.del",
|
|
226
|
+
icon: "el-icon-delete",
|
|
227
|
+
btnType: "danger",
|
|
228
|
+
name: "sysPlugin:delete"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
displayName: "\u6B65\u9AA4",
|
|
232
|
+
functionName: "step",
|
|
233
|
+
show: !0,
|
|
234
|
+
transKey: "gd.plugin.step",
|
|
235
|
+
icon: "gd-icons gd-icon-caozuojilu",
|
|
236
|
+
name: "sysPlugin:step"
|
|
295
237
|
}
|
|
296
238
|
],
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
239
|
+
tableQueries: [{
|
|
240
|
+
transKey: "gd.plugin.name",
|
|
241
|
+
effectType: "input",
|
|
242
|
+
prop: "name",
|
|
243
|
+
label: "\u540D\u79F0",
|
|
244
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
245
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
246
|
+
rules: []
|
|
247
|
+
}]
|
|
304
248
|
};
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
const P = {
|
|
252
|
+
name: "GdPlugin",
|
|
253
|
+
props: {
|
|
254
|
+
height: {
|
|
255
|
+
type: Number,
|
|
256
|
+
default: 100
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
mixins: [c, x],
|
|
260
|
+
data() {
|
|
261
|
+
return {
|
|
262
|
+
selectedRowKeys: [],
|
|
263
|
+
loadData: (a) => m(Object.assign(a, this.queryParam)).then((e) => e.data),
|
|
264
|
+
queryParam: {}
|
|
265
|
+
};
|
|
266
|
+
},
|
|
267
|
+
components: {
|
|
268
|
+
editForm: () => Promise.resolve().then(() => S),
|
|
269
|
+
dataIndex: () => Promise.resolve().then(() => R)
|
|
305
270
|
},
|
|
306
271
|
computed: {
|
|
307
|
-
|
|
308
|
-
return this.
|
|
309
|
-
},
|
|
310
|
-
options() {
|
|
311
|
-
return this.getDictionary("SdkMessage");
|
|
272
|
+
getHeight() {
|
|
273
|
+
return this.height;
|
|
312
274
|
},
|
|
313
|
-
...n(["
|
|
275
|
+
...n(["tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
314
276
|
},
|
|
315
277
|
methods: {
|
|
316
|
-
|
|
317
|
-
this.
|
|
278
|
+
onSelectChange(a, e) {
|
|
279
|
+
this.selectedRows = e, this.selectedRowKeys = a;
|
|
318
280
|
},
|
|
319
|
-
|
|
320
|
-
this.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
stage: String(s.stage),
|
|
331
|
-
order: s.order,
|
|
332
|
-
description: s.description,
|
|
333
|
-
securityString: s.securitystring,
|
|
334
|
-
eventhandler: s.eventhandler
|
|
335
|
-
}, this.$refs.ruleForm.resetFields();
|
|
336
|
-
}, 0);
|
|
337
|
-
});
|
|
338
|
-
},
|
|
339
|
-
stageremarkFilter(s) {
|
|
340
|
-
const e = this.sdkStageType.filter((t) => t.code == s);
|
|
341
|
-
if (e.length > 0)
|
|
342
|
-
return e[0].remark;
|
|
343
|
-
},
|
|
344
|
-
stageNameFilter(s) {
|
|
345
|
-
const e = this.sdkStageType.filter((t) => t.code == s);
|
|
346
|
-
if (e.length > 0)
|
|
347
|
-
return e[0].code;
|
|
348
|
-
},
|
|
349
|
-
messageTypeFilter(s) {
|
|
350
|
-
const e = this.options.filter((t) => t.code == s);
|
|
351
|
-
if (e.length > 0)
|
|
352
|
-
return e[0].name;
|
|
353
|
-
},
|
|
354
|
-
entityNameFilter(s) {
|
|
355
|
-
const e = this.optionsentityname.filter((t) => t.value == s);
|
|
356
|
-
if (e.length > 0)
|
|
357
|
-
return e[0].label;
|
|
281
|
+
editForm(a) {
|
|
282
|
+
this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
283
|
+
Object.assign(
|
|
284
|
+
{
|
|
285
|
+
...a
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
status: String(a.status)
|
|
289
|
+
}
|
|
290
|
+
)
|
|
291
|
+
);
|
|
358
292
|
},
|
|
359
|
-
|
|
360
|
-
|
|
293
|
+
add() {
|
|
294
|
+
this.$refs.editForm.open(null);
|
|
361
295
|
},
|
|
362
|
-
|
|
363
|
-
this.
|
|
296
|
+
edit() {
|
|
297
|
+
if (this.selectedRowKeys.length === 0) {
|
|
298
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
if (this.selectedRowKeys.length > 1) {
|
|
302
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
this.editForm(this.selectedRows[0]);
|
|
364
306
|
},
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
this.
|
|
307
|
+
del() {
|
|
308
|
+
if (this.selectedRowKeys.length === 0) {
|
|
309
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
313
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
314
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
315
|
+
showClose: !1,
|
|
316
|
+
confirmButtonLoading: !1,
|
|
317
|
+
cancelButtonLoading: !1,
|
|
318
|
+
closeOnClickModal: !1,
|
|
319
|
+
type: "warning",
|
|
320
|
+
confirmButtonClass: "el-button--danger",
|
|
321
|
+
customClass: "custom-alert",
|
|
322
|
+
callback: () => {
|
|
323
|
+
},
|
|
324
|
+
beforeClose: (a, e, t) => {
|
|
325
|
+
this.delHand(a, e, t);
|
|
326
|
+
}
|
|
372
327
|
});
|
|
373
328
|
},
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
let l = this.type == "edit" ? this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F") : this.$i18nt("Locals.common.https.addSucc", "\u65B0\u589E\u6210\u529F");
|
|
388
|
-
this.$message.success(l), this.visible = !1, this.confirmLoading = !1, this.$emit("ok", this.ruleFormData), this.$refs.ruleForm.resetFields();
|
|
389
|
-
} else
|
|
390
|
-
this.type == "edit" ? this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") : this.$i18nt("Locals.common.https.addFail", "\u65B0\u589E\u5931\u8D25"), this.$message.error(this.$i18nt("gd.https.editFail") + i.message);
|
|
391
|
-
}).finally((i) => {
|
|
392
|
-
this.confirmLoading = !1;
|
|
393
|
-
});
|
|
394
|
-
}
|
|
329
|
+
delHand(a, e, t) {
|
|
330
|
+
if (a !== "confirm") {
|
|
331
|
+
t();
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
let s = [];
|
|
335
|
+
this.selectedRows.forEach((i) => {
|
|
336
|
+
let l = h(i).then((o) => o);
|
|
337
|
+
s.push(l);
|
|
338
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((i) => {
|
|
339
|
+
t();
|
|
340
|
+
const l = i.filter((o) => !o.success);
|
|
341
|
+
l.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + l[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
395
342
|
});
|
|
396
343
|
},
|
|
397
|
-
|
|
398
|
-
this
|
|
344
|
+
saveQueries(a) {
|
|
345
|
+
this.queryParam = {
|
|
346
|
+
...a
|
|
347
|
+
}, this.refresh();
|
|
399
348
|
},
|
|
400
|
-
|
|
401
|
-
|
|
349
|
+
step() {
|
|
350
|
+
if (this.selectedRowKeys.length === 0) {
|
|
351
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
if (this.selectedRowKeys.length > 1) {
|
|
355
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
this.$refs.dataIndex.index(this.selectedRows[0]);
|
|
402
359
|
},
|
|
403
|
-
|
|
404
|
-
this.
|
|
360
|
+
refresh() {
|
|
361
|
+
this.$refs.table.refresh();
|
|
405
362
|
},
|
|
406
|
-
doEvent(
|
|
407
|
-
let e =
|
|
363
|
+
doEvent(a) {
|
|
364
|
+
let e = a.item.functionName;
|
|
408
365
|
this[e] && this[e]();
|
|
409
366
|
}
|
|
410
367
|
}
|
|
411
368
|
};
|
|
412
369
|
var C = function() {
|
|
413
370
|
var e = this, t = e._self._c;
|
|
414
|
-
return t("
|
|
415
|
-
e.
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
} }
|
|
419
|
-
e.$
|
|
420
|
-
|
|
421
|
-
e
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
},
|
|
425
|
-
|
|
426
|
-
},
|
|
427
|
-
|
|
428
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.entityName", "\u5B9E\u4F53\u540D\u79F0"), prop: "entityName" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.handleChangeEntityName }, model: { value: e.ruleFormData.entityName, callback: function(a) {
|
|
429
|
-
e.$set(e.ruleFormData, "entityName", a);
|
|
430
|
-
}, expression: "ruleFormData.entityName" } }, e._l(e.tableLists, function(a, i) {
|
|
431
|
-
return t("el-option", { key: i, attrs: { label: e.$i18nt(`Dynamics.${a.transkey}`, a.busname), value: a.tablename } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.busname)) + " " + e._s(a.tablename) + " ")]);
|
|
432
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.executePhase", "\u6267\u884C\u9636\u6BB5"), prop: "stage" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.stage, callback: function(a) {
|
|
433
|
-
e.$set(e.ruleFormData, "stage", a);
|
|
434
|
-
}, expression: "ruleFormData.stage" } }, e._l(e.sdkStageType, function(a, i) {
|
|
435
|
-
return t("el-option", { key: i, attrs: { value: a.code, label: a.name }, on: { click: function(l) {
|
|
436
|
-
return e.selType(a.code);
|
|
437
|
-
} } });
|
|
438
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.eventHandler", "\u4E8B\u4EF6\u5904\u7406\u7A0B\u5E8F"), prop: "eventhandler" } }, [e.type == "edit" ? t("el-input", { staticStyle: { width: "100%" }, attrs: { disabled: !0, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.eventhandler, callback: function(a) {
|
|
439
|
-
e.$set(e.ruleFormData, "eventhandler", a);
|
|
440
|
-
}, expression: "ruleFormData.eventhandler" } }) : t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.eventhandler, callback: function(a) {
|
|
441
|
-
e.$set(e.ruleFormData, "eventhandler", a);
|
|
442
|
-
}, expression: "ruleFormData.eventhandler" } }, e._l(e.sdkEventHandler, function(a, i) {
|
|
443
|
-
return t("el-option", { key: i, attrs: { value: a.eventHandlerId, label: a.eventHandlerName }, nativeOn: { click: function(l) {
|
|
444
|
-
return e.sdkEventHandlerType(a.eventHandlerName);
|
|
445
|
-
} } });
|
|
446
|
-
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.sort", "\u6392\u5E8F"), prop: "order" } }, [t("el-input-number", { staticStyle: { width: "100px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), min: 1, max: 1e3, "controls-position": "right" }, model: { value: e.ruleFormData.order, callback: function(a) {
|
|
447
|
-
e.$set(e.ruleFormData, "order", a);
|
|
448
|
-
}, expression: "ruleFormData.order" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.secureString", "\u5B89\u5168\u5B57\u7B26\u4E32"), prop: "securityString" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.securityString, callback: function(a) {
|
|
449
|
-
e.$set(e.ruleFormData, "securityString", a);
|
|
450
|
-
}, expression: "ruleFormData.securityString" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(a) {
|
|
451
|
-
e.$set(e.ruleFormData, "description", a);
|
|
452
|
-
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1);
|
|
453
|
-
}, P = [], T = /* @__PURE__ */ r(
|
|
454
|
-
x,
|
|
455
|
-
C,
|
|
371
|
+
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: i }) {
|
|
372
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForm } })];
|
|
373
|
+
} }, { key: "statecodes", fn: function(s) {
|
|
374
|
+
return [t("el-tag", { style: e._f("dictColor")("state_code", s.row.statecodes), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("state_code", s.row.statecodes)) + " ")])];
|
|
375
|
+
} }, { key: "operator", fn: function() {
|
|
376
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.plugin.name", "\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(s) {
|
|
377
|
+
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
378
|
+
} }, model: { value: e.queryParam.name, callback: function(s) {
|
|
379
|
+
e.$set(e.queryParam, "name", s);
|
|
380
|
+
}, expression: "queryParam.name" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
381
|
+
}, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: i }) {
|
|
382
|
+
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: i }, on: { save: e.saveQueries } })];
|
|
383
|
+
} }]) })], 1), t("editForm", { ref: "editForm", attrs: { formMode: e.formMode }, on: { ok: e.refresh } }), t("dataIndex", { ref: "dataIndex", on: { ok: e.refresh } })], 1);
|
|
384
|
+
}, T = [], N = /* @__PURE__ */ r(
|
|
456
385
|
P,
|
|
386
|
+
C,
|
|
387
|
+
T,
|
|
457
388
|
!1,
|
|
458
389
|
null,
|
|
459
|
-
|
|
390
|
+
"63412450",
|
|
460
391
|
null,
|
|
461
392
|
null
|
|
462
393
|
);
|
|
463
|
-
const
|
|
394
|
+
const d = N.exports;
|
|
395
|
+
d.install = function(a) {
|
|
396
|
+
a.component(d.name, d);
|
|
397
|
+
};
|
|
398
|
+
const L = {
|
|
464
399
|
data() {
|
|
465
400
|
return {
|
|
466
401
|
tableColumns: [
|
|
@@ -584,7 +519,7 @@ const K = {
|
|
|
584
519
|
},
|
|
585
520
|
mixins: [c, L],
|
|
586
521
|
components: {
|
|
587
|
-
editForm:
|
|
522
|
+
editForm: () => Promise.resolve().then(() => V)
|
|
588
523
|
},
|
|
589
524
|
data() {
|
|
590
525
|
return {
|
|
@@ -594,7 +529,7 @@ const K = {
|
|
|
594
529
|
typeId: [],
|
|
595
530
|
id: [],
|
|
596
531
|
name: "",
|
|
597
|
-
loadData: (
|
|
532
|
+
loadData: (a) => (this.queryParam.typeId = this.id, p(Object.assign(a, this.queryParam)).then((e) => e.data)),
|
|
598
533
|
selectedRowKeys: [],
|
|
599
534
|
selectedRows: [],
|
|
600
535
|
fullscreen: !1,
|
|
@@ -609,8 +544,8 @@ const K = {
|
|
|
609
544
|
return this.getDictionary("Stage");
|
|
610
545
|
},
|
|
611
546
|
getHeight() {
|
|
612
|
-
let
|
|
613
|
-
return this.screenHeight -
|
|
547
|
+
let a = this.fullscreen ? 170 : 320;
|
|
548
|
+
return this.screenHeight - a;
|
|
614
549
|
},
|
|
615
550
|
...n(["tablePageSize", "tableSize", "labelPosition", "formMode", "screenHeight"])
|
|
616
551
|
},
|
|
@@ -618,10 +553,10 @@ const K = {
|
|
|
618
553
|
reset() {
|
|
619
554
|
this.queryParam = {};
|
|
620
555
|
},
|
|
621
|
-
editForm(
|
|
556
|
+
editForm(a) {
|
|
622
557
|
this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
623
558
|
Object.assign({
|
|
624
|
-
...
|
|
559
|
+
...a
|
|
625
560
|
})
|
|
626
561
|
);
|
|
627
562
|
},
|
|
@@ -631,11 +566,11 @@ const K = {
|
|
|
631
566
|
togglefullscreen() {
|
|
632
567
|
this.fullscreen = !this.fullscreen;
|
|
633
568
|
},
|
|
634
|
-
index(
|
|
569
|
+
index(a) {
|
|
635
570
|
let e = [];
|
|
636
|
-
this.fullscreen = !1, this.visible = !0, this.id =
|
|
637
|
-
sysPluginId:
|
|
638
|
-
name:
|
|
571
|
+
this.fullscreen = !1, this.visible = !0, this.id = a.id, this.queryParam.typeId = a.id, e.push({
|
|
572
|
+
sysPluginId: a.id,
|
|
573
|
+
name: a.name
|
|
639
574
|
}), this.typeId = e, this.$nextTick(() => {
|
|
640
575
|
setTimeout(() => {
|
|
641
576
|
this.$refs.table && this.$refs.table.refresh();
|
|
@@ -645,16 +580,16 @@ const K = {
|
|
|
645
580
|
handleCancel() {
|
|
646
581
|
this.queryParam = {}, this.visible = !1;
|
|
647
582
|
},
|
|
648
|
-
editSysDictDataStatus(
|
|
649
|
-
|
|
583
|
+
editSysDictDataStatus(a, e) {
|
|
584
|
+
f({
|
|
650
585
|
id: e.id,
|
|
651
|
-
stateCodes:
|
|
586
|
+
stateCodes: a == 0 ? 1 : 0
|
|
652
587
|
}).then((t) => {
|
|
653
588
|
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
|
|
654
589
|
});
|
|
655
590
|
},
|
|
656
|
-
sysDataDelete(
|
|
657
|
-
|
|
591
|
+
sysDataDelete(a) {
|
|
592
|
+
y(a).then((e) => {
|
|
658
593
|
e.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + e.message);
|
|
659
594
|
}).catch((e) => {
|
|
660
595
|
this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + e.message);
|
|
@@ -666,18 +601,18 @@ const K = {
|
|
|
666
601
|
refresh() {
|
|
667
602
|
this.$refs.table.refresh();
|
|
668
603
|
},
|
|
669
|
-
onSelectChange(
|
|
670
|
-
this.selectedRowKeys =
|
|
604
|
+
onSelectChange(a, e) {
|
|
605
|
+
this.selectedRowKeys = a, this.selectedRows = e;
|
|
671
606
|
},
|
|
672
|
-
dictSwitch(
|
|
673
|
-
let t = this.$options.filters.dictData(e).filter((
|
|
607
|
+
dictSwitch(a, e) {
|
|
608
|
+
let t = this.$options.filters.dictData(e).filter((s) => s.code == a)[0];
|
|
674
609
|
return t && t.colour ? t.colour : null;
|
|
675
610
|
},
|
|
676
|
-
getDictionary(
|
|
677
|
-
return this.$options.filters.dictData(
|
|
611
|
+
getDictionary(a) {
|
|
612
|
+
return this.$options.filters.dictData(a);
|
|
678
613
|
},
|
|
679
|
-
doEvent(
|
|
680
|
-
let e =
|
|
614
|
+
doEvent(a) {
|
|
615
|
+
let e = a.item.functionName;
|
|
681
616
|
this[e] && this[e]();
|
|
682
617
|
}
|
|
683
618
|
},
|
|
@@ -695,182 +630,268 @@ const K = {
|
|
|
695
630
|
};
|
|
696
631
|
var I = function() {
|
|
697
632
|
var e = this, t = e._self._c;
|
|
698
|
-
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: "80%", 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(
|
|
699
|
-
e.visible =
|
|
700
|
-
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.plugin.stepManagement", "SDK\u6B65\u9AA4\u7BA1\u7406"), fullscreen: e.fullscreen, buttons: [], emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { staticClass: "gd-dict", class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "entityName", fn: function({ column:
|
|
633
|
+
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: "80%", 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(s) {
|
|
634
|
+
e.visible = s;
|
|
635
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.plugin.stepManagement", "SDK\u6B65\u9AA4\u7BA1\u7406"), fullscreen: e.fullscreen, buttons: [], emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { staticClass: "gd-dict", class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "entityName", fn: function({ column: s, row: i }) {
|
|
701
636
|
return [t("gd-tooltip", { attrs: { rowKey: "entityname", row: i } })];
|
|
702
|
-
} }, { key: "stateCodes", fn: function(
|
|
703
|
-
return [t("el-popconfirm", { attrs: { title:
|
|
704
|
-
} }, { key: "stage", fn: function(
|
|
705
|
-
return [e.dictSwitch(
|
|
706
|
-
} }, { key: "sdkMessage", fn: function(
|
|
707
|
-
return [e.dictSwitch(
|
|
708
|
-
} }, { key: "eventHandler", fn: function({ column:
|
|
637
|
+
} }, { key: "stateCodes", fn: function(s) {
|
|
638
|
+
return [t("el-popconfirm", { attrs: { title: s.row.statecodes == 0 ? e.$i18nt("gd.btn.enable", "\u542F\u7528") : e.$i18nt("gd.btn.deactivate", "\u505C\u7528") }, on: { confirm: () => e.editSysDictDataStatus(s.row.statecodes, s.row) } }, [t("el-tag", { style: e._f("dictColor")("state_code", s.row.statecodes), attrs: { slot: "reference", effect: "dark" }, slot: "reference" }, [e._v(" " + e._s(e._f("dictType")("state_code", s.row.statecodes)) + " ")])], 1)];
|
|
639
|
+
} }, { key: "stage", fn: function(s) {
|
|
640
|
+
return [e.dictSwitch(s.row.stage, "stage") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", size: "mini", color: e.dictSwitch(s.row.stage, "stage") } }, [e._v(" " + e._s(e._f("dictType")("stage", s.row.stage)) + " ")]) : t("div", [e._v(e._s(e._f("dictType")("stage", s.row.stage)))])];
|
|
641
|
+
} }, { key: "sdkMessage", fn: function(s) {
|
|
642
|
+
return [e.dictSwitch(s.row.sdkmessage, "SdkMessage") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", size: "mini", color: e.dictSwitch(s.row.sdkmessage, "SdkMessage") } }, [e._v(" " + e._s(e._f("dictType")("SdkMessage", s.row.sdkmessage)) + " ")]) : t("div", [e._v(e._s(e._f("dictType")("SdkMessage", s.row.stage)))])];
|
|
643
|
+
} }, { key: "eventHandler", fn: function({ column: s, row: i }) {
|
|
709
644
|
return [t("gd-tooltip", { attrs: { rowKey: "eventhandler", row: i } })];
|
|
710
|
-
} }, { key: "action", fn: function(
|
|
645
|
+
} }, { key: "action", fn: function(s) {
|
|
711
646
|
return [e.$hasPerm("sysPluginStep:edit") ? t("a", { on: { click: function(i) {
|
|
712
|
-
return e.$refs.editForm.edit(
|
|
713
|
-
} } }, [e._v(" " + e._s(e.$i18nt("gd.btn.edit")) + " ")]) : e._e(), e.$hasPerm("sysPluginStep:edit") ? t("el-divider", { attrs: { direction: "vertical" } }) : e._e(), e.$hasPerm("sysPluginStep:delete") ? t("el-popconfirm", { attrs: { placement: "top-start", title: e.$i18nt("gd.https.delContent") }, on: { confirm: () => e.sysDataDelete(
|
|
647
|
+
return e.$refs.editForm.edit(s.row, "edit");
|
|
648
|
+
} } }, [e._v(" " + e._s(e.$i18nt("gd.btn.edit")) + " ")]) : e._e(), e.$hasPerm("sysPluginStep:edit") ? t("el-divider", { attrs: { direction: "vertical" } }) : e._e(), e.$hasPerm("sysPluginStep:delete") ? t("el-popconfirm", { attrs: { placement: "top-start", title: e.$i18nt("gd.https.delContent") }, on: { confirm: () => e.sysDataDelete(s.row) } }, [t("a", { attrs: { slot: "reference" }, slot: "reference" }, [e._v(e._s(e.$i18nt("gd.btn.del", "\u5220\u9664")))])]) : e._e()];
|
|
714
649
|
} }, { key: "operator", fn: function() {
|
|
715
|
-
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-select", { staticClass: "table-operator-input", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.plugin.eventSteps", "\u4E8B\u4EF6\u6B65\u9AA4"), clearable: "" }, model: { value: e.queryParam.stage, callback: function(
|
|
716
|
-
e.$set(e.queryParam, "stage",
|
|
717
|
-
}, expression: "queryParam.stage" } }, e._l(e.sdkStageType, function(
|
|
718
|
-
return t("el-option", { key: i, attrs: { label:
|
|
650
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "260px" } }, [t("el-select", { staticClass: "table-operator-input", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.plugin.eventSteps", "\u4E8B\u4EF6\u6B65\u9AA4"), clearable: "" }, model: { value: e.queryParam.stage, callback: function(s) {
|
|
651
|
+
e.$set(e.queryParam, "stage", s);
|
|
652
|
+
}, expression: "queryParam.stage" } }, e._l(e.sdkStageType, function(s, i) {
|
|
653
|
+
return t("el-option", { key: i, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.name), value: s.code } });
|
|
719
654
|
}), 1), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
720
655
|
}, proxy: !0 }]) })], 1)], 1), t("edit-form", { ref: "editForm", on: { ok: e.refresh } })], 1);
|
|
721
|
-
},
|
|
656
|
+
}, O = [], E = /* @__PURE__ */ r(
|
|
722
657
|
K,
|
|
723
658
|
I,
|
|
724
|
-
|
|
659
|
+
O,
|
|
725
660
|
!1,
|
|
726
661
|
null,
|
|
727
|
-
"
|
|
662
|
+
"e5cb5cf0",
|
|
728
663
|
null,
|
|
729
664
|
null
|
|
730
665
|
);
|
|
731
|
-
const R =
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
height: {
|
|
736
|
-
type: Number,
|
|
737
|
-
default: 100
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
mixins: [c, w],
|
|
666
|
+
const q = E.exports, R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
667
|
+
__proto__: null,
|
|
668
|
+
default: q
|
|
669
|
+
}, Symbol.toStringTag, { value: "Module" })), B = {
|
|
741
670
|
data() {
|
|
742
671
|
return {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
672
|
+
visible: !1,
|
|
673
|
+
confirmLoading: !1,
|
|
674
|
+
stageId: "",
|
|
675
|
+
ruleFormData: {},
|
|
676
|
+
rules: {
|
|
677
|
+
eventhandler: [
|
|
678
|
+
{
|
|
679
|
+
required: !0,
|
|
680
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
681
|
+
trigger: "change"
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
stage: [
|
|
685
|
+
{
|
|
686
|
+
required: !0,
|
|
687
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
688
|
+
trigger: "change"
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
entityName: [
|
|
692
|
+
{
|
|
693
|
+
required: !0,
|
|
694
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
695
|
+
trigger: "change"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
sdkmessage: [
|
|
699
|
+
{
|
|
700
|
+
required: !0,
|
|
701
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
702
|
+
trigger: "change"
|
|
703
|
+
}
|
|
704
|
+
],
|
|
705
|
+
eventhandler: [
|
|
706
|
+
{
|
|
707
|
+
required: (this.type == "edit", !1),
|
|
708
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
709
|
+
trigger: "change"
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
title: "",
|
|
714
|
+
sysViewButtons: [
|
|
715
|
+
{
|
|
716
|
+
displayName: "\u786E\u5B9A",
|
|
717
|
+
functionName: "handleSubmit",
|
|
718
|
+
show: !0,
|
|
719
|
+
transKey: "gd.btn.confirm",
|
|
720
|
+
name: "sysPluginStep:edit",
|
|
721
|
+
icon: "el-icon-document-checked"
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
type: null,
|
|
725
|
+
fullscreen: !1,
|
|
726
|
+
width: "700px",
|
|
727
|
+
currentSelectedIcon: "",
|
|
728
|
+
visibleIcon: !1,
|
|
729
|
+
sdkEventHandler: [],
|
|
730
|
+
eventName: ""
|
|
746
731
|
};
|
|
747
732
|
},
|
|
748
|
-
components: {
|
|
749
|
-
editForm: S,
|
|
750
|
-
dataIndex: R
|
|
751
|
-
},
|
|
752
733
|
computed: {
|
|
753
|
-
|
|
754
|
-
return this.
|
|
734
|
+
sdkStageType() {
|
|
735
|
+
return this.getDictionary("Stage");
|
|
755
736
|
},
|
|
756
|
-
|
|
737
|
+
options() {
|
|
738
|
+
return this.getDictionary("SdkMessage");
|
|
739
|
+
},
|
|
740
|
+
...n(["labelPosition", "formMode", "tableLists"])
|
|
757
741
|
},
|
|
758
742
|
methods: {
|
|
759
|
-
|
|
760
|
-
this.
|
|
743
|
+
togglefullscreen() {
|
|
744
|
+
this.fullscreen = !this.fullscreen;
|
|
761
745
|
},
|
|
762
|
-
|
|
763
|
-
this.
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
746
|
+
edit(a, e) {
|
|
747
|
+
this.type = e, this.visible = !0, this.fullscreen = !1, this.title = this.type == "edit" ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u5931\u8D25"), this.stageId = a.stage, this.sdkmessageId = a.sdkmessage, this.entityNameId = a.entityname, this.$nextTick(() => {
|
|
748
|
+
setTimeout(() => {
|
|
749
|
+
this.type == "add" ? (this.ruleFormData = {
|
|
750
|
+
sysPluginId: a[0].sysPluginId,
|
|
751
|
+
pluginName: a[0].name
|
|
752
|
+
}, this.ruleFormData.order = 1, this.getEventhandler(a[0].sysPluginId)) : this.ruleFormData = {
|
|
753
|
+
id: a.id,
|
|
754
|
+
sysPluginId: a.syspluginid,
|
|
755
|
+
entityName: a.entityname,
|
|
756
|
+
sdkmessage: String(a.sdkmessage),
|
|
757
|
+
stage: String(a.stage),
|
|
758
|
+
order: a.order,
|
|
759
|
+
description: a.description,
|
|
760
|
+
securityString: a.securitystring,
|
|
761
|
+
eventhandler: a.eventhandler
|
|
762
|
+
}, this.$refs.ruleForm.resetFields();
|
|
763
|
+
}, 0);
|
|
764
|
+
});
|
|
768
765
|
},
|
|
769
|
-
|
|
770
|
-
this
|
|
766
|
+
stageremarkFilter(a) {
|
|
767
|
+
const e = this.sdkStageType.filter((t) => t.code == a);
|
|
768
|
+
if (e.length > 0)
|
|
769
|
+
return e[0].remark;
|
|
771
770
|
},
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
return;
|
|
776
|
-
}
|
|
777
|
-
if (this.selectedRowKeys.length > 1) {
|
|
778
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
779
|
-
return;
|
|
780
|
-
}
|
|
781
|
-
this.editForm(this.selectedRows[0]);
|
|
771
|
+
stageNameFilter(a) {
|
|
772
|
+
const e = this.sdkStageType.filter((t) => t.code == a);
|
|
773
|
+
if (e.length > 0)
|
|
774
|
+
return e[0].code;
|
|
782
775
|
},
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
return;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
776
|
+
messageTypeFilter(a) {
|
|
777
|
+
const e = this.options.filter((t) => t.code == a);
|
|
778
|
+
if (e.length > 0)
|
|
779
|
+
return e[0].name;
|
|
780
|
+
},
|
|
781
|
+
entityNameFilter(a) {
|
|
782
|
+
const e = this.optionsentityname.filter((t) => t.value == a);
|
|
783
|
+
if (e.length > 0)
|
|
784
|
+
return e[0].label;
|
|
785
|
+
},
|
|
786
|
+
handleChange(a) {
|
|
787
|
+
console.log(`selected ${a}`), this.sdkmessageId = a;
|
|
788
|
+
},
|
|
789
|
+
handleChangeEntityName(a) {
|
|
790
|
+
this.entityNameId = a;
|
|
791
|
+
},
|
|
792
|
+
getEventhandler(a) {
|
|
793
|
+
b({
|
|
794
|
+
pluginId: a
|
|
795
|
+
}).then((t) => {
|
|
796
|
+
t.success ? this.sdkEventHandler = t.data : this.$message.error(this.$i18nt("Locals.common.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
|
|
797
|
+
}).finally((t) => {
|
|
798
|
+
this.confirmLoading = !1;
|
|
803
799
|
});
|
|
804
800
|
},
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
801
|
+
sdkEventHandlerType(a) {
|
|
802
|
+
this.eventName = a;
|
|
803
|
+
},
|
|
804
|
+
handleSubmit() {
|
|
805
|
+
this.$refs.ruleForm.validate((a) => {
|
|
806
|
+
if (a) {
|
|
807
|
+
if (this.confirmLoading = !0, this.type == "edit") {
|
|
808
|
+
var e = this.stageremarkFilter(this.stageId), t = this.messageTypeFilter(this.sdkmessageId);
|
|
809
|
+
this.ruleFormData.name = e + this.entityNameId + t, this.ruleFormData.sdkmessage = String(this.sdkmessageId), this.ruleFormData.entityName = this.entityNameId;
|
|
810
|
+
} else
|
|
811
|
+
this.ruleFormData.name = this.eventName;
|
|
812
|
+
(this.type == "edit" ? v : $)(this.ruleFormData).then((i) => {
|
|
813
|
+
if (i.success) {
|
|
814
|
+
let l = this.type == "edit" ? this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F") : this.$i18nt("Locals.common.https.addSucc", "\u65B0\u589E\u6210\u529F");
|
|
815
|
+
this.$message.success(l), this.visible = !1, this.confirmLoading = !1, this.$emit("ok", this.ruleFormData), this.$refs.ruleForm.resetFields();
|
|
816
|
+
} else
|
|
817
|
+
this.type == "edit" ? this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") : this.$i18nt("Locals.common.https.addFail", "\u65B0\u589E\u5931\u8D25"), this.$message.error(this.$i18nt("gd.https.editFail") + i.message);
|
|
818
|
+
}).finally((i) => {
|
|
819
|
+
this.confirmLoading = !1;
|
|
820
|
+
});
|
|
821
|
+
}
|
|
818
822
|
});
|
|
819
823
|
},
|
|
820
|
-
|
|
821
|
-
this.
|
|
822
|
-
...s
|
|
823
|
-
}, this.refresh();
|
|
824
|
+
handleCancel() {
|
|
825
|
+
this.$refs.ruleForm.resetFields(), this.visible = !1;
|
|
824
826
|
},
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
828
|
-
return;
|
|
829
|
-
}
|
|
830
|
-
if (this.selectedRowKeys.length > 1) {
|
|
831
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
832
|
-
return;
|
|
833
|
-
}
|
|
834
|
-
this.$refs.dataIndex.index(this.selectedRows[0]);
|
|
827
|
+
getDictionary(a) {
|
|
828
|
+
return this.$options.filters.dictData(a);
|
|
835
829
|
},
|
|
836
|
-
|
|
837
|
-
this
|
|
830
|
+
selType(a) {
|
|
831
|
+
this.stageId = a;
|
|
838
832
|
},
|
|
839
|
-
doEvent(
|
|
840
|
-
let e =
|
|
833
|
+
doEvent(a) {
|
|
834
|
+
let e = a.item.functionName;
|
|
841
835
|
this[e] && this[e]();
|
|
842
836
|
}
|
|
843
837
|
}
|
|
844
838
|
};
|
|
845
|
-
var
|
|
839
|
+
var H = function() {
|
|
846
840
|
var e = this, t = e._self._c;
|
|
847
|
-
return t("
|
|
848
|
-
|
|
849
|
-
} }, {
|
|
850
|
-
|
|
851
|
-
} }, {
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
},
|
|
858
|
-
|
|
859
|
-
}
|
|
860
|
-
|
|
841
|
+
return 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(s) {
|
|
842
|
+
e.visible = s;
|
|
843
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, emitFun: !0, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.togglefullscreen, close: e.handleCancel }, slot: "title" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData, rules: e.rules }, nativeOn: { submit: function(s) {
|
|
844
|
+
s.preventDefault();
|
|
845
|
+
} } }, [t("el-form-item", { staticStyle: { display: "none" } }, [t("el-input", { model: { value: e.ruleFormData.sysPluginId, callback: function(s) {
|
|
846
|
+
e.$set(e.ruleFormData, "sysPluginId", s);
|
|
847
|
+
}, expression: "ruleFormData.sysPluginId" } })], 1), t("el-form-item", { staticStyle: { display: "none" } }, [e.type == "edit" ? t("el-input", { model: { value: e.ruleFormData.id, callback: function(s) {
|
|
848
|
+
e.$set(e.ruleFormData, "id", s);
|
|
849
|
+
}, expression: "ruleFormData.id" } }) : t("el-input", { model: { value: e.ruleFormData.pluginName, callback: function(s) {
|
|
850
|
+
e.$set(e.ruleFormData, "pluginName", s);
|
|
851
|
+
}, expression: "ruleFormData.pluginName" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.executeMessage", "\u6267\u884C\u6D88\u606F"), prop: "sdkmessage" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.handleChange }, model: { value: e.ruleFormData.sdkmessage, callback: function(s) {
|
|
852
|
+
e.$set(e.ruleFormData, "sdkmessage", s);
|
|
853
|
+
}, expression: "ruleFormData.sdkmessage" } }, e._l(e.options, function(s, i) {
|
|
854
|
+
return t("el-option", { key: i, attrs: { value: s.code, label: s.name } });
|
|
855
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.entityName", "\u5B9E\u4F53\u540D\u79F0"), prop: "entityName" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.handleChangeEntityName }, model: { value: e.ruleFormData.entityName, callback: function(s) {
|
|
856
|
+
e.$set(e.ruleFormData, "entityName", s);
|
|
857
|
+
}, expression: "ruleFormData.entityName" } }, e._l(e.tableLists, function(s, i) {
|
|
858
|
+
return t("el-option", { key: i, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.tablename } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + e._s(s.tablename) + " ")]);
|
|
859
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.executePhase", "\u6267\u884C\u9636\u6BB5"), prop: "stage" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.stage, callback: function(s) {
|
|
860
|
+
e.$set(e.ruleFormData, "stage", s);
|
|
861
|
+
}, expression: "ruleFormData.stage" } }, e._l(e.sdkStageType, function(s, i) {
|
|
862
|
+
return t("el-option", { key: i, attrs: { value: s.code, label: s.name }, on: { click: function(l) {
|
|
863
|
+
return e.selType(s.code);
|
|
864
|
+
} } });
|
|
865
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.eventHandler", "\u4E8B\u4EF6\u5904\u7406\u7A0B\u5E8F"), prop: "eventhandler" } }, [e.type == "edit" ? t("el-input", { staticStyle: { width: "100%" }, attrs: { disabled: !0, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.eventhandler, callback: function(s) {
|
|
866
|
+
e.$set(e.ruleFormData, "eventhandler", s);
|
|
867
|
+
}, expression: "ruleFormData.eventhandler" } }) : t("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.eventhandler, callback: function(s) {
|
|
868
|
+
e.$set(e.ruleFormData, "eventhandler", s);
|
|
869
|
+
}, expression: "ruleFormData.eventhandler" } }, e._l(e.sdkEventHandler, function(s, i) {
|
|
870
|
+
return t("el-option", { key: i, attrs: { value: s.eventHandlerId, label: s.eventHandlerName }, nativeOn: { click: function(l) {
|
|
871
|
+
return e.sdkEventHandlerType(s.eventHandlerName);
|
|
872
|
+
} } });
|
|
873
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.sort", "\u6392\u5E8F"), prop: "order" } }, [t("el-input-number", { staticStyle: { width: "100px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), min: 1, max: 1e3, "controls-position": "right" }, model: { value: e.ruleFormData.order, callback: function(s) {
|
|
874
|
+
e.$set(e.ruleFormData, "order", s);
|
|
875
|
+
}, expression: "ruleFormData.order" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.secureString", "\u5B89\u5168\u5B57\u7B26\u4E32"), prop: "securityString" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.securityString, callback: function(s) {
|
|
876
|
+
e.$set(e.ruleFormData, "securityString", s);
|
|
877
|
+
}, expression: "ruleFormData.securityString" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.plugin.remarks", "\u5907\u6CE8"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(s) {
|
|
878
|
+
e.$set(e.ruleFormData, "description", s);
|
|
879
|
+
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1);
|
|
880
|
+
}, M = [], z = /* @__PURE__ */ r(
|
|
861
881
|
B,
|
|
862
|
-
O,
|
|
863
882
|
H,
|
|
883
|
+
M,
|
|
864
884
|
!1,
|
|
865
885
|
null,
|
|
866
|
-
|
|
886
|
+
null,
|
|
867
887
|
null,
|
|
868
888
|
null
|
|
869
889
|
);
|
|
870
|
-
const
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
};
|
|
890
|
+
const j = z.exports, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
891
|
+
__proto__: null,
|
|
892
|
+
default: j
|
|
893
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
874
894
|
export {
|
|
875
|
-
d as G
|
|
895
|
+
d as G,
|
|
896
|
+
k as e
|
|
876
897
|
};
|