gds-plus-design-vue 1.2.62 → 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.179a09f4.mjs +443 -0
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/approvalModel.7b550187.mjs +340 -0
- 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.d7d35011.mjs +539 -0
- 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.06cf0433.mjs +1505 -0
- package/lib/components.coloreditor.f81d322a.js +6 -0
- package/lib/components.dataassign.21d3938b.mjs +147 -0
- package/lib/components.dataassign.565d22c0.js +1 -0
- package/lib/components.echarts.490abdfa.mjs +811 -0
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/components.exception.374f2ad9.js +1 -0
- package/lib/components.exception.ee1c4f83.mjs +61 -0
- package/lib/components.form.5533a8c3.js +41 -0
- package/lib/components.form.db8af727.mjs +7813 -0
- package/lib/components.globalheader.2eb787a4.js +1 -0
- package/lib/components.globalheader.b3b35343.mjs +54 -0
- package/lib/components.iconselector.8940b1a9.mjs +1169 -0
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/components.imgpreview.d97cf25c.js +1 -0
- package/lib/components.imgpreview.f05b3e06.mjs +213 -0
- package/lib/components.lunccalendar.18f84642.js +1 -0
- package/lib/components.lunccalendar.2a097955.mjs +1137 -0
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/components.middleware.de012955.mjs +148 -0
- package/lib/components.modaltitle.5060623f.mjs +127 -0
- package/lib/components.modaltitle.957cab33.js +1 -0
- package/lib/components.multitab.5eb6edff.mjs +140 -0
- package/lib/components.multitab.80eeb3ae.js +1 -0
- package/lib/components.selecttree.2fe70d88.js +1 -0
- package/lib/components.selecttree.756c4d22.mjs +170 -0
- package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
- package/lib/components.settingdrawer.8c12650b.js +1 -0
- package/lib/components.sidemenu.0673fe0a.mjs +277 -0
- package/lib/components.sidemenu.240dfde7.js +1 -0
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
- package/lib/components.statuschange.858b72e8.js +1 -0
- package/lib/components.statuschange.fae4adba.mjs +116 -0
- package/lib/components.table.1e338902.js +8 -0
- package/lib/components.table.9ed77207.mjs +4650 -0
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
- package/lib/components.tablevirtual.66890b2c.mjs +564 -0
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
- package/lib/components.teamsharing.89e668fd.js +1 -0
- package/lib/components.tooltip.0ea7e2b1.js +1 -0
- package/lib/components.tooltip.376d95fe.mjs +86 -0
- package/lib/components.uploadfile.0a5a1608.mjs +228 -0
- package/lib/components.uploadfile.8e0e702c.js +1 -0
- package/lib/components.uploadimg.bc160e00.js +1 -0
- package/lib/components.uploadimg.decb0360.mjs +192 -0
- package/lib/components.verificationcode.140533c7.js +1 -0
- package/lib/components.verificationcode.7091b10b.mjs +71 -0
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/components.viewformdetails.d241c652.mjs +1081 -0
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/components.viewloading.aae3aab4.mjs +99 -0
- package/lib/components.watermark.2ec3260c.mjs +53 -0
- package/lib/components.watermark.d9ec8130.js +2 -0
- package/lib/components.xlsxexport.0d1553b1.js +1 -0
- package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
- package/lib/components.xlsximport.81df7841.mjs +922 -0
- 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.eac5ccae.mjs +154 -0
- package/lib/dialogLayout.bf435838.mjs +138 -0
- package/lib/dialogLayout.f0779aed.js +1 -0
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/drawerLayout.b6c7c3c6.js +1 -0
- package/lib/drawerLayout.e3c0164d.mjs +119 -0
- 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.5c8a883d.mjs +363 -0
- package/lib/flow.designer.81c29f62.mjs +7673 -0
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/flow.list.ab420927.mjs +3032 -0
- package/lib/form.build.724d3357.js +1 -0
- package/lib/form.build.d04773f0.mjs +259 -0
- 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.c949a27f.mjs +507 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +245 -91338
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.appmanage.e389782d.mjs +50 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.aefea27d.mjs +517 -0
- package/lib/http.menumanage.3060f4c7.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.message.ceb0a1c6.mjs +178 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- 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.2d06f3e9.js +2 -0
- package/lib/layouts.3b383d04.mjs +373 -0
- 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.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
- package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
- package/lib/main.60c2a1a2.js +1 -0
- 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.892caa37.js +1 -0
- 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.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/manage.f4000654.mjs +441 -0
- 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.376104d5.mjs +3164 -0
- package/lib/page.build.37b26617.js +12 -0
- 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.03dd7b19.mjs +547 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1cadbf03.mjs +2093 -0
- package/lib/system.account.5cc9fe8d.js +216 -0
- package/lib/system.config.a0b94e40.js +1 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
- package/lib/system.datasource.6c30ce25.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
- 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.94c7ce17.mjs +722 -0
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/system.email.13823361.mjs +133 -0
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
- package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/system.log.470d3efd.js +1 -0
- package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
- package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
- package/lib/system.machine.f8aff893.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
- package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
- package/lib/system.org.9f87a010.js +1 -0
- 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.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
- package/lib/system.pos.61e58a92.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/system.team.8911fd95.mjs +452 -0
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
- package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
- package/lib/system.welcome.ff0c85e2.js +1 -0
- 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.999b7c2e.mjs +52 -0
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/tdatepicker.606214fa.mjs +52 -0
- package/lib/tdatepicker.8e94a60c.js +1 -0
- package/lib/tdictSwitch.ccbdd153.js +1 -0
- package/lib/tdictSwitch.e016d4cf.mjs +60 -0
- package/lib/tfile.3f39223d.mjs +62 -0
- package/lib/tfile.b3ebdc71.js +1 -0
- package/lib/tparticipants.5fe27540.mjs +56 -0
- package/lib/tparticipants.78c8c175.js +1 -0
- package/lib/translation.mains.2688be5b.mjs +383 -0
- package/lib/translation.mains.a6f19343.js +1 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.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.978b72c5.mjs +324 -0
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +82 -27
- package/locale/id_ID.js +66 -11
- package/locale/vi_VN.js +1968 -1913
- package/locale/zh_CN.js +88 -32
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/messages.5bcc42f9.mjs +0 -5863
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.permissions.fdad3c36.mjs +0 -212
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.user.49457fd3.js +0 -14
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,808 @@
|
|
|
1
|
+
import { m as p, n as h } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { s as m, t as g, u, v as f, c as y } from "./http.message.ceb0a1c6.mjs";
|
|
3
|
+
import { t as w } from "./utils.mixins.js.be01e599.mjs";
|
|
4
|
+
import { a as o } from "./http.main.aefea27d.mjs";
|
|
5
|
+
const b = {
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
tableColumns: [
|
|
9
|
+
{
|
|
10
|
+
type: "selection",
|
|
11
|
+
width: "60",
|
|
12
|
+
fixed: !0
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
transKey: "gd.msg.templateLibrary.name",
|
|
16
|
+
prop: "name",
|
|
17
|
+
label: "\u540D\u79F0",
|
|
18
|
+
width: "180",
|
|
19
|
+
type: "slot",
|
|
20
|
+
slotType: "name",
|
|
21
|
+
align: "left",
|
|
22
|
+
fixed: !0,
|
|
23
|
+
renderHeader: (i, ...e) => this.renderHeader(i, ...e, {
|
|
24
|
+
effectType: "input"
|
|
25
|
+
}),
|
|
26
|
+
showOverflowTooltip: !0
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
transKey: "gd.msg.templateLibrary.templateCategory",
|
|
30
|
+
prop: "templateType",
|
|
31
|
+
width: "120",
|
|
32
|
+
label: "\u6A21\u7248\u7C7B\u522B",
|
|
33
|
+
type: "slot",
|
|
34
|
+
slotType: "templateType",
|
|
35
|
+
align: "left",
|
|
36
|
+
showOverflowTooltip: !0
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
transKey: "gd.msg.templateLibrary.weChatName",
|
|
40
|
+
prop: "nameBas_EnterpriseWechatenterpriseWechatId",
|
|
41
|
+
width: "160",
|
|
42
|
+
label: "\u4F01\u4E1A\u5FAE\u4FE1",
|
|
43
|
+
align: "left",
|
|
44
|
+
type: "slot",
|
|
45
|
+
slotType: "nameBas_EnterpriseWechatenterpriseWechatId"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
transKey: "gd.msg.templateLibrary.weChatApplicationName",
|
|
49
|
+
prop: "nameBas_EnterpriseWechatAppenterpriseWechatAppId",
|
|
50
|
+
width: "160",
|
|
51
|
+
label: "\u4F01\u4E1A\u5FAE\u4FE1\u5E94\u7528",
|
|
52
|
+
type: "slot",
|
|
53
|
+
slotType: "nameBas_EnterpriseWechatAppenterpriseWechatAppId",
|
|
54
|
+
align: "left",
|
|
55
|
+
showOverflowTooltip: !0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
transKey: "gd.msg.templateLibrary.weChatOfficialAccounts",
|
|
59
|
+
prop: "wechatPublicAccountIDName",
|
|
60
|
+
width: "160",
|
|
61
|
+
label: "\u5FAE\u4FE1\u516C\u4F17\u53F7",
|
|
62
|
+
type: "slot",
|
|
63
|
+
slotType: "wechatPublicAccountID",
|
|
64
|
+
align: "left",
|
|
65
|
+
showOverflowTooltip: !0
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
transKey: "gd.msg.templateLibrary.state",
|
|
69
|
+
prop: "stateCodes",
|
|
70
|
+
width: "160",
|
|
71
|
+
label: "\u72B6\u6001",
|
|
72
|
+
type: "slot",
|
|
73
|
+
slotType: "stateCodes",
|
|
74
|
+
align: "left"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
transKey: "gd.msg.templateLibrary.creationTime",
|
|
78
|
+
prop: "createdtime",
|
|
79
|
+
width: "160",
|
|
80
|
+
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
81
|
+
align: "center"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
formColumns: [
|
|
85
|
+
{
|
|
86
|
+
transKey: "gd.msg.templateLibrary.name",
|
|
87
|
+
prop: "name",
|
|
88
|
+
label: "\u540D\u79F0",
|
|
89
|
+
effectType: "input",
|
|
90
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
91
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
92
|
+
disabled: !1,
|
|
93
|
+
rules: [{
|
|
94
|
+
required: !0,
|
|
95
|
+
message: "\u8BF7\u8F93\u5165",
|
|
96
|
+
transKey: "gd.placeholder.input",
|
|
97
|
+
trigger: "change"
|
|
98
|
+
}]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
transKey: "gd.msg.templateLibrary.sendType",
|
|
102
|
+
effectType: "select",
|
|
103
|
+
prop: "sendtype",
|
|
104
|
+
label: "\u6A21\u7248\u7C7B\u522B",
|
|
105
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
106
|
+
placeholderTransKey: "gd.placeholder.select",
|
|
107
|
+
dictTypeCode: "SendType",
|
|
108
|
+
disabled: !1,
|
|
109
|
+
rules: [{
|
|
110
|
+
required: !0,
|
|
111
|
+
message: "\u8BF7\u9009\u62E9",
|
|
112
|
+
transKey: "gd.placeholder.select",
|
|
113
|
+
trigger: "change"
|
|
114
|
+
}]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
transKey: "gd.msg.templateLibrary.content",
|
|
118
|
+
effectType: "textarea",
|
|
119
|
+
prop: "messagecontent",
|
|
120
|
+
label: "\u6A21\u677F\u5185\u5BB9",
|
|
121
|
+
disabled: !1,
|
|
122
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
123
|
+
rules: [],
|
|
124
|
+
autosize: {
|
|
125
|
+
minRows: 4,
|
|
126
|
+
maxRows: 6
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
tableButtons: [
|
|
131
|
+
{
|
|
132
|
+
displayName: "\u65B0\u589E",
|
|
133
|
+
functionName: "add",
|
|
134
|
+
show: !0,
|
|
135
|
+
transKey: "gd.btn.add",
|
|
136
|
+
icon: "el-icon-plus",
|
|
137
|
+
name: "sysMsgTemplateLibrary:add"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
displayName: "\u7F16\u8F91",
|
|
141
|
+
functionName: "edit",
|
|
142
|
+
show: !0,
|
|
143
|
+
transKey: "gd.btn.edit",
|
|
144
|
+
icon: "el-icon-edit",
|
|
145
|
+
name: "sysMsgTemplateLibrary:edit"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: "\u5220\u9664",
|
|
149
|
+
functionName: "del",
|
|
150
|
+
show: !0,
|
|
151
|
+
transKey: "gd.btn.del",
|
|
152
|
+
icon: "el-icon-delete",
|
|
153
|
+
btnType: "danger",
|
|
154
|
+
name: "sysMsgTemplateLibrary:delete"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
formButtons: [{
|
|
158
|
+
displayName: "\u786E\u5B9A",
|
|
159
|
+
functionName: "handleSubmit",
|
|
160
|
+
show: !0,
|
|
161
|
+
transKey: "gd.btn.confirm",
|
|
162
|
+
icon: "el-icon-document-checked",
|
|
163
|
+
validate: !0
|
|
164
|
+
}],
|
|
165
|
+
tableQueries: [{
|
|
166
|
+
transKey: "gd.msg.templateLibrary.name",
|
|
167
|
+
prop: "name",
|
|
168
|
+
label: "\u540D\u79F0",
|
|
169
|
+
effectType: "input",
|
|
170
|
+
rules: []
|
|
171
|
+
}, {
|
|
172
|
+
transKey: "gd.msg.templateLibrary.templateCategory",
|
|
173
|
+
prop: "templateType",
|
|
174
|
+
label: "\u6A21\u7248\u7C7B\u522B",
|
|
175
|
+
effectType: "selectMultiple",
|
|
176
|
+
dictTypeCode: "SendType",
|
|
177
|
+
rules: []
|
|
178
|
+
}, {
|
|
179
|
+
transKey: "gd.msg.templateLibrary.state",
|
|
180
|
+
prop: "stateCodes",
|
|
181
|
+
label: "\u72B6\u6001",
|
|
182
|
+
effectType: "selectMultiple",
|
|
183
|
+
dictTypeCode: "state_code",
|
|
184
|
+
rules: []
|
|
185
|
+
}]
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
const _ = {
|
|
190
|
+
props: {
|
|
191
|
+
height: {
|
|
192
|
+
type: Number,
|
|
193
|
+
default: 0
|
|
194
|
+
},
|
|
195
|
+
openMode: {
|
|
196
|
+
type: [String, Number],
|
|
197
|
+
default: 1
|
|
198
|
+
},
|
|
199
|
+
record: {
|
|
200
|
+
type: Object,
|
|
201
|
+
default: () => ({})
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
name: "GdSysMsgTemplateLibrary",
|
|
205
|
+
mixins: [w, b],
|
|
206
|
+
data() {
|
|
207
|
+
return {
|
|
208
|
+
statu: !1,
|
|
209
|
+
fkEntityName: "Bas_WechatApp",
|
|
210
|
+
formLoading: !1,
|
|
211
|
+
send: null,
|
|
212
|
+
selectedRowKeys: [],
|
|
213
|
+
isLoading: !1,
|
|
214
|
+
pageSize: 10,
|
|
215
|
+
isChangeSize: !1,
|
|
216
|
+
ppShow: !0,
|
|
217
|
+
advanced: !1,
|
|
218
|
+
queryParam: {},
|
|
219
|
+
oselectedRowKeys: [],
|
|
220
|
+
transKey: "gd.btn.edit",
|
|
221
|
+
loadData: (i, e) => (this.sorter = e, this.isLoading = !0, m(Object.assign(i, this.getQueryParam)).then((a) => (this.ppShow = !0, this.isLoading = !1, this.isChangeSize = !1, a.success && this.openMode == 2 && this.$emit("changeData", a.data.rows), a.data)))
|
|
222
|
+
};
|
|
223
|
+
},
|
|
224
|
+
components: {
|
|
225
|
+
editForm: () => Promise.resolve().then(() => S)
|
|
226
|
+
},
|
|
227
|
+
computed: {
|
|
228
|
+
getTableColumns() {
|
|
229
|
+
return this.tableColumns.filter((i) => i.type === "selection" ? this.openMode == 1 : i.type === "" ? this.openMode != 1 : !0);
|
|
230
|
+
},
|
|
231
|
+
getHeight() {
|
|
232
|
+
const i = this.openMode == 2 ? 80 : 0;
|
|
233
|
+
return this.height - i;
|
|
234
|
+
},
|
|
235
|
+
getQueryParam() {
|
|
236
|
+
let i = /* @__PURE__ */ new Map();
|
|
237
|
+
for (let e in this.queryParam)
|
|
238
|
+
this.queryParam[e] && (e === "bas_WechatAppId" || e === "templateType" || e === "stateCodes") ? i.set(e, this.queryParam[e].join(",")) : i.set(e, this.queryParam[e]);
|
|
239
|
+
return Object.fromEntries(i);
|
|
240
|
+
},
|
|
241
|
+
...p(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "tableLists"])
|
|
242
|
+
},
|
|
243
|
+
methods: {
|
|
244
|
+
wechatAppId(i, e) {
|
|
245
|
+
if (this.statu)
|
|
246
|
+
return;
|
|
247
|
+
let t = {
|
|
248
|
+
tableId: this.tableLists.filter((r) => r.tablename === e)[0].id,
|
|
249
|
+
data: [
|
|
250
|
+
{
|
|
251
|
+
id: i
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
};
|
|
255
|
+
this.statu = !0;
|
|
256
|
+
const s = this.$message({
|
|
257
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
258
|
+
duration: 0,
|
|
259
|
+
iconClass: "el-icon-loading"
|
|
260
|
+
});
|
|
261
|
+
this.$refs.middleware.init(t).then((r) => {
|
|
262
|
+
this.statu = !1, s.close();
|
|
263
|
+
});
|
|
264
|
+
},
|
|
265
|
+
saveQueries(i) {
|
|
266
|
+
this.queryParam = {
|
|
267
|
+
...i
|
|
268
|
+
}, this.refresh();
|
|
269
|
+
},
|
|
270
|
+
editForm(i) {
|
|
271
|
+
this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
272
|
+
Object.assign(
|
|
273
|
+
{
|
|
274
|
+
...i
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
templateType: String(i.templateType)
|
|
278
|
+
}
|
|
279
|
+
)
|
|
280
|
+
);
|
|
281
|
+
},
|
|
282
|
+
add() {
|
|
283
|
+
this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
|
|
284
|
+
},
|
|
285
|
+
edit() {
|
|
286
|
+
if (this.selectedRowKeys.length === 0) {
|
|
287
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
if (this.selectedRowKeys.length > 1) {
|
|
291
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
this.editForm(this.selectedRows[0]);
|
|
295
|
+
},
|
|
296
|
+
sbumit({ data: i, record: e, btn: a }, t, s) {
|
|
297
|
+
this.formLoading = !0, (e ? u : f)(i).then((l) => {
|
|
298
|
+
l.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), s(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + l.message), this.formLoading = !1;
|
|
299
|
+
});
|
|
300
|
+
},
|
|
301
|
+
del() {
|
|
302
|
+
if (this.selectedRowKeys.length === 0) {
|
|
303
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
307
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
308
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
309
|
+
showClose: !1,
|
|
310
|
+
confirmButtonLoading: !1,
|
|
311
|
+
cancelButtonLoading: !1,
|
|
312
|
+
closeOnClickModal: !1,
|
|
313
|
+
type: "warning",
|
|
314
|
+
confirmButtonClass: "el-button--danger",
|
|
315
|
+
customClass: "custom-alert",
|
|
316
|
+
callback: () => {
|
|
317
|
+
},
|
|
318
|
+
beforeClose: (i, e, a) => {
|
|
319
|
+
this.delHand(i, e, a);
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
},
|
|
323
|
+
delHand(i, e, a) {
|
|
324
|
+
if (i !== "confirm") {
|
|
325
|
+
a();
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
let t = [], s = g({
|
|
329
|
+
ids: this.selectedRowKeys.join(",")
|
|
330
|
+
}).then((r) => r);
|
|
331
|
+
t.push(s), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(t).then((r) => {
|
|
332
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, a();
|
|
333
|
+
const l = r.filter((n) => !n.success);
|
|
334
|
+
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();
|
|
335
|
+
});
|
|
336
|
+
},
|
|
337
|
+
sending() {
|
|
338
|
+
if (this.selectedRowKeys.length === 0) {
|
|
339
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
342
|
+
this.$confirm(this.$i18nt("gd.https.msg.sendRecord.msgsendingTip", "\u662F\u5426\u53D1\u9001\u6D88\u606F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
343
|
+
confirmButtonText: this.$i18nt("gd.https.confirm", "\u786E\u5B9A"),
|
|
344
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
345
|
+
showClose: !1,
|
|
346
|
+
confirmButtonLoading: !1,
|
|
347
|
+
cancelButtonLoading: !1,
|
|
348
|
+
closeOnClickModal: !1,
|
|
349
|
+
type: "warning",
|
|
350
|
+
confirmButtonClass: "el-button--danger",
|
|
351
|
+
customClass: "custom-alert",
|
|
352
|
+
callback: () => {
|
|
353
|
+
},
|
|
354
|
+
beforeClose: (i, e, a) => {
|
|
355
|
+
this.sendHand(i, e, a);
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
},
|
|
359
|
+
sendHand(i, e, a) {
|
|
360
|
+
let t = this;
|
|
361
|
+
if (i !== "confirm") {
|
|
362
|
+
a();
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
365
|
+
let s = [];
|
|
366
|
+
t.selectedRowKeys.forEach((r) => {
|
|
367
|
+
let l = t.sendMsg(r);
|
|
368
|
+
s.push(l);
|
|
369
|
+
}), Promise.all(s).then((r) => {
|
|
370
|
+
a();
|
|
371
|
+
let l = "";
|
|
372
|
+
r.forEach((n, d) => {
|
|
373
|
+
l += n + `
|
|
374
|
+
\r`;
|
|
375
|
+
}), t.$message.info(l), t.refresh();
|
|
376
|
+
});
|
|
377
|
+
},
|
|
378
|
+
enabling() {
|
|
379
|
+
},
|
|
380
|
+
sendMsg(i) {
|
|
381
|
+
return msgSendRecordSendMsg({
|
|
382
|
+
id: i
|
|
383
|
+
}).then((e) => e);
|
|
384
|
+
},
|
|
385
|
+
onSelectChange(i, e) {
|
|
386
|
+
this.selectedRowKeys = i, this.selectedRows = e, this.isChangeSize || (this.oselectedRowKeys = i), this.$emit("onSelectChange", i, e);
|
|
387
|
+
},
|
|
388
|
+
refresh() {
|
|
389
|
+
this.$refs.table.refresh();
|
|
390
|
+
},
|
|
391
|
+
dictSwitch(i, e) {
|
|
392
|
+
let a = this.$options.filters.dictData(e).filter((t) => t.code == i)[0];
|
|
393
|
+
return a != null && a.colour ? a.colour : null;
|
|
394
|
+
},
|
|
395
|
+
getDict(i) {
|
|
396
|
+
return this.$options.filters.dictData(i);
|
|
397
|
+
},
|
|
398
|
+
doEvent(i) {
|
|
399
|
+
let e = i.item.functionName;
|
|
400
|
+
this[e] && this[e]();
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
mounted() {
|
|
404
|
+
if (this.openMode == 2 && this.record.options.val !== void 0) {
|
|
405
|
+
const i = typeof this.record.options.val;
|
|
406
|
+
let e = i === "string" || i === "number" ? [this.record.options.val] : [...this.record.options.val];
|
|
407
|
+
this.selectedRowKeys = e.filter((a) => a !== "");
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
var k = function() {
|
|
412
|
+
var e = this, a = e._self._c;
|
|
413
|
+
return a("div", { staticClass: "gd-page-view" }, [a("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [a("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.getTableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
414
|
+
return [a("div", { staticClass: "gd-table-operator" }, [a("div", { staticClass: "gd-table-operatorl" }, [a("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.msg.templateLibrary.name", "\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(t) {
|
|
415
|
+
return !t.type.indexOf("key") && e._k(t.keyCode, "enter", 13, t.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
416
|
+
} }, model: { value: e.queryParam.name, callback: function(t) {
|
|
417
|
+
e.$set(e.queryParam, "name", t);
|
|
418
|
+
}, expression: "queryParam.name" } }), a("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [a("i", { staticClass: "el-input__icon el-icon-search" })])], 1), a("div", { staticClass: "gd-table-operatorr" }, [a("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
419
|
+
}, proxy: !0 }, { key: "name", fn: function({ column: t, row: s }) {
|
|
420
|
+
return [a("gd-tooltip", { attrs: { rowKey: "name", row: s, highlight: "" }, on: { click: e.editForm } })];
|
|
421
|
+
} }, { key: "templateType", fn: function(t) {
|
|
422
|
+
return [e.dictSwitch(t.row.templatetype, "SendType") ? a("el-tag", { style: e._f("dictColor")("SendType", t.row.templatetype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("SendType", t.row.templatetype)) + " ")]) : a("span", [e._v(e._s(e._f("dictType")("SendType", t.row.templatetype)))])];
|
|
423
|
+
} }, { key: "nameBas_EnterpriseWechatenterpriseWechatId", fn: function({ column: t, row: s }) {
|
|
424
|
+
return [a("gd-tooltip", { attrs: { rowKey: "namebas_enterprisewechatenterprisewechattd", row: s, highlight: "" }, on: { click: function(r) {
|
|
425
|
+
return e.wechatAppId(s.enterprisewechatid, "bas_enterprisewechat");
|
|
426
|
+
} } })];
|
|
427
|
+
} }, { key: "nameBas_EnterpriseWechatAppenterpriseWechatAppId", fn: function({ column: t, row: s }) {
|
|
428
|
+
return [a("gd-tooltip", { attrs: { rowKey: "namebas_enterprisewechatappenterprisewechatappid", row: s, highlight: "" }, on: { click: function(r) {
|
|
429
|
+
return e.wechatAppId(s.enterprisewechatappid, "bas_enterprisewechatapp");
|
|
430
|
+
} } })];
|
|
431
|
+
} }, { key: "wechatPublicAccountID", fn: function({ column: t, row: s }) {
|
|
432
|
+
return [a("gd-tooltip", { attrs: { rowKey: "wechatpublicaccountidname", row: s, highlight: "" }, on: { click: function(r) {
|
|
433
|
+
return e.wechatAppId(s.wechatpublicaccountid, "bas_wechatpublicaccount");
|
|
434
|
+
} } })];
|
|
435
|
+
} }, { key: "stateCodes", fn: function(t) {
|
|
436
|
+
return [e.dictSwitch(t.row.statecodes, "state_code") ? a("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", color: e.dictSwitch(t.row.statecodes, "state_code") }, on: { click: function(s) {
|
|
437
|
+
return e.enabling(t.row);
|
|
438
|
+
} } }, [e._v(" " + e._s(e._f("dictType")("state_code", t.row.statecodes)) + " ")]) : a("span", { on: { click: function(s) {
|
|
439
|
+
return e.enabling(t.row);
|
|
440
|
+
} } }, [e._v(e._s(e._f("dictType")("state_code", t.row.statecodes)))])];
|
|
441
|
+
} }, { key: "filtering", fn: function({ colse: t, visible: s }) {
|
|
442
|
+
return [a("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: t, visible: s }, on: { save: e.saveQueries } })];
|
|
443
|
+
} }]) })], 1), a("editForm", { ref: "editForm", attrs: { fkEntityName: e.fkEntityName }, on: { ok: e.refresh } }), a("gd-middleware", { ref: "middleware", on: { ok: e.refresh } })], 1);
|
|
444
|
+
}, C = [], v = /* @__PURE__ */ h(
|
|
445
|
+
_,
|
|
446
|
+
k,
|
|
447
|
+
C,
|
|
448
|
+
!1,
|
|
449
|
+
null,
|
|
450
|
+
"908d98cd",
|
|
451
|
+
null,
|
|
452
|
+
null
|
|
453
|
+
);
|
|
454
|
+
const c = v.exports;
|
|
455
|
+
c.install = function(i) {
|
|
456
|
+
i.component(c.name, c);
|
|
457
|
+
};
|
|
458
|
+
const L = {
|
|
459
|
+
data() {
|
|
460
|
+
return {
|
|
461
|
+
fullscreen: !1,
|
|
462
|
+
visible: !1,
|
|
463
|
+
confirmLoading: !1,
|
|
464
|
+
showWeCom: !1,
|
|
465
|
+
showWeOfficial: !1,
|
|
466
|
+
weComList: [],
|
|
467
|
+
weComAppList: [],
|
|
468
|
+
weOfficialList: [],
|
|
469
|
+
sysViewButtons: [
|
|
470
|
+
{
|
|
471
|
+
displayName: "\u786E\u5B9A",
|
|
472
|
+
functionName: "handleSubmit",
|
|
473
|
+
show: !0,
|
|
474
|
+
transKey: "gd.btn.confirm",
|
|
475
|
+
icon: "el-icon-document-checked"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
title: "",
|
|
479
|
+
loading: !1,
|
|
480
|
+
rules: {
|
|
481
|
+
name: [
|
|
482
|
+
{
|
|
483
|
+
required: !0,
|
|
484
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
485
|
+
trigger: "change"
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
templatetype: [
|
|
489
|
+
{
|
|
490
|
+
required: !0,
|
|
491
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
492
|
+
trigger: "change"
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
enterprisewechatid: [
|
|
496
|
+
{
|
|
497
|
+
required: !0,
|
|
498
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
499
|
+
trigger: "change"
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
enterprisewechatappid: [
|
|
503
|
+
{
|
|
504
|
+
required: !0,
|
|
505
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
506
|
+
trigger: "change"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
wechatpublicaccountid: [
|
|
510
|
+
{
|
|
511
|
+
required: !0,
|
|
512
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
513
|
+
trigger: "change"
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
ruleFormData: {
|
|
518
|
+
id: 0,
|
|
519
|
+
name: "",
|
|
520
|
+
templatetype: "",
|
|
521
|
+
enterprisewechatid: "",
|
|
522
|
+
enterprisewechatappid: "",
|
|
523
|
+
content: "",
|
|
524
|
+
wechatpublicaccountid: ""
|
|
525
|
+
},
|
|
526
|
+
fkEntity: [
|
|
527
|
+
{
|
|
528
|
+
field: "enterprisewechatid",
|
|
529
|
+
fkEntityName: "bas_enterprisewechat",
|
|
530
|
+
filterd: []
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
field: "enterprisewechatappid",
|
|
534
|
+
fkEntityName: "bas_enterprisewechatapp",
|
|
535
|
+
filterd: []
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
field: "wechatpublicaccountid",
|
|
539
|
+
fkEntityName: "bas_wechatpublicaccount",
|
|
540
|
+
filterd: []
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
firstLoading: !1,
|
|
544
|
+
firstWeComApp: !1,
|
|
545
|
+
firstWeOfficial: !1,
|
|
546
|
+
parseData: [],
|
|
547
|
+
showParseInfo: !1,
|
|
548
|
+
width: "1000px"
|
|
549
|
+
};
|
|
550
|
+
},
|
|
551
|
+
computed: {
|
|
552
|
+
getSendType() {
|
|
553
|
+
let i = [], e = [];
|
|
554
|
+
return this.getDictionary("SendType").map((t) => (t.disabled = t.statecodes != 1, t.disabled ? e.push(t) : i.push(t), t)), this.type == 1 ? i : i.concat(e);
|
|
555
|
+
},
|
|
556
|
+
...p(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
557
|
+
},
|
|
558
|
+
methods: {
|
|
559
|
+
lookupSeled(i) {
|
|
560
|
+
this.lookField === "enterprisewechatid" ? (this.ruleFormData.enterprisewechatid = i.data[0], this.weComList = i.fkData) : this.lookField === "enterprisewechatappid" ? (this.ruleFormData.enterprisewechatappid = i.data[0], this.weComAppList = i.fkData) : this.lookField === "wechatpublicaccountid" && (this.ruleFormData.wechatpublicaccountid = i.data[0], this.weOfficialLis = i.fkData);
|
|
561
|
+
},
|
|
562
|
+
lookup(i, e) {
|
|
563
|
+
this.lookField = e;
|
|
564
|
+
let a = i, t = this.fkEntity.filter((l) => l.field === e)[0], s = t.filterd.filter((l) => l.fieldValue !== ""), r = {
|
|
565
|
+
effectType: "fk",
|
|
566
|
+
fkEntityName: t.fkEntityName,
|
|
567
|
+
val: a || []
|
|
568
|
+
};
|
|
569
|
+
e === "enterprisewechatappid" && (r = Object.assign(r, {
|
|
570
|
+
filterList: s
|
|
571
|
+
})), this.$refs.msgSearch.open(r);
|
|
572
|
+
},
|
|
573
|
+
open(i) {
|
|
574
|
+
this.visible = !0, this.detail = i || [], this.title = i ? this.$i18nt("gd.btn.edit") : this.$i18nt("gd.btn.add"), this.type = i ? 2 : 1, this.loadWeCom = !1, this.loadWeComApp = !1, this.loadWeOfficial = !1, this.showWeCom = !1, this.showWeOfficial = !1, i ? this.getDetail() : this.ruleFormData = {
|
|
575
|
+
id: 0,
|
|
576
|
+
name: "",
|
|
577
|
+
templatetype: "",
|
|
578
|
+
enterprisewechatid: "",
|
|
579
|
+
enterprisewechatappid: "",
|
|
580
|
+
content: "",
|
|
581
|
+
wechatpublicaccountid: ""
|
|
582
|
+
};
|
|
583
|
+
},
|
|
584
|
+
getDetail() {
|
|
585
|
+
this.confirmLoading = !0, y({
|
|
586
|
+
id: this.detail.id
|
|
587
|
+
}).then((i) => {
|
|
588
|
+
if (i.code === 200) {
|
|
589
|
+
let e = i.data.msg_templatelibrary, a = {
|
|
590
|
+
id: e.id,
|
|
591
|
+
name: e.name,
|
|
592
|
+
bas_wechatappid: e.bas_wechatappid ? e.bas_wechatappid : void 0,
|
|
593
|
+
content: e.content,
|
|
594
|
+
templatetype: e.templatetype != null ? String(e.templatetype) : void 0
|
|
595
|
+
}, t = i.data.msg_templatedetailedlist ? i.data.msg_templatedetailedlist : [];
|
|
596
|
+
this.parseData = t.map((s) => (s.isdisplays = s.isdisplay === 1, s)), this.showParseInfo = t.length != 0, e.templatetype == 1 ? (this.showWeCom = !0, a = Object.assign(a, {
|
|
597
|
+
enterprisewechatid: e.enterprisewechatid,
|
|
598
|
+
enterprisewechatappid: e.enterprisewechatappid
|
|
599
|
+
}), this.getWechatData(e, ["bas_enterprisewechat", "bas_enterprisewechatapp"]), this.loadWeCom = !0, this.loadWeComApp = !0) : e.templatetype == 3 ? (this.showWeOfficial = !0, a = Object.assign(a, {
|
|
600
|
+
wechatpublicaccountid: e.wechatpublicaccountid
|
|
601
|
+
}), this.getWechatData(e, ["bas_wechatpublicaccount"]), this.loadWeOfficial = !0) : this.confirmLoading = !1, this.$nextTick(() => {
|
|
602
|
+
setTimeout(() => {
|
|
603
|
+
this.ruleFormData = Object.assign({
|
|
604
|
+
...a
|
|
605
|
+
});
|
|
606
|
+
}, 0);
|
|
607
|
+
});
|
|
608
|
+
} else
|
|
609
|
+
this.confirmLoading = !1;
|
|
610
|
+
});
|
|
611
|
+
},
|
|
612
|
+
getWechatData(i, e) {
|
|
613
|
+
let a = [];
|
|
614
|
+
this.fkEntity.filter((s) => e.includes(s.fkEntityName)).forEach((s) => {
|
|
615
|
+
let r = s.filterd.filter((d) => d.fieldValue !== ""), l = {
|
|
616
|
+
fkEntityName: s.fkEntityName,
|
|
617
|
+
filter: r,
|
|
618
|
+
id: i[s.field] ? i[s.field] : ""
|
|
619
|
+
}, n = this.searchFk(l);
|
|
620
|
+
a.push(n);
|
|
621
|
+
}), Promise.all(a).then(() => {
|
|
622
|
+
this.confirmLoading = !1;
|
|
623
|
+
});
|
|
624
|
+
},
|
|
625
|
+
searchFk(i) {
|
|
626
|
+
return this.weComList = i.fkEntityName === "bas_enterprisewechat" ? [] : this.weComList, this.weComAppList = i.fkEntityName === "bas_enterprisewechatapp" ? [] : this.weComAppList, this.weOfficialList = i.fkEntityName === "bas_wechatpublicaccount" ? [] : this.weOfficialList, o(i).then((e) => {
|
|
627
|
+
let a = e.success ? e.data.map((t) => (t.tableName = i.fkEntityName, t)) : [];
|
|
628
|
+
return this.weComList = i.fkEntityName === "bas_enterprisewechat" ? a : this.weComList, this.weComAppList = i.fkEntityName === "bas_enterprisewechatapp" ? a : this.weComAppList, this.weOfficialList = i.fkEntityName === "bas_wechatpublicaccount" ? a : this.weOfficialList, e;
|
|
629
|
+
});
|
|
630
|
+
},
|
|
631
|
+
selTemplateType(i) {
|
|
632
|
+
this.showWeCom = i == 1, this.showWeOfficial = i == 3;
|
|
633
|
+
},
|
|
634
|
+
changeWeCom(i) {
|
|
635
|
+
let e = {
|
|
636
|
+
fieldName: "enterprisewechatid",
|
|
637
|
+
operator: "equal",
|
|
638
|
+
columnName: "enterprisewechatid",
|
|
639
|
+
fieldValue: i || ""
|
|
640
|
+
}, a = [...this.fkEntity];
|
|
641
|
+
a.map((t) => (t.field === "enterprisewechatappid" && (t.filterd = [e]), t)), this.fkEntity = [...a], this.loadWeComApp = !1;
|
|
642
|
+
},
|
|
643
|
+
fkSearch() {
|
|
644
|
+
this.firstLoading || (this.searchData(""), this.firstLoading = !0);
|
|
645
|
+
},
|
|
646
|
+
searchData(i) {
|
|
647
|
+
let e = this.fkEntity.filter((a) => a.field === "enterprisewechatid")[0];
|
|
648
|
+
this.weComList = [], o({
|
|
649
|
+
fkEntityName: e.fkEntityName,
|
|
650
|
+
name: i
|
|
651
|
+
}).then((a) => {
|
|
652
|
+
this.weComList = a.success ? a.data.map((t) => (t.tableName = e.fkEntityName, t)) : [], this.loadWeCom = !0;
|
|
653
|
+
});
|
|
654
|
+
},
|
|
655
|
+
fkSearchWech() {
|
|
656
|
+
this.firstWeComApp || (this.searchWeComApp(""), this.firstWeComApp = !0);
|
|
657
|
+
},
|
|
658
|
+
searchWeComApp(i) {
|
|
659
|
+
let e = this.fkEntity.filter((t) => t.field === "enterprisewechatappid")[0], a = e.filterd.filter((t) => t.fieldValue !== "");
|
|
660
|
+
this.weComAppList = [], o({
|
|
661
|
+
fkEntityName: e.fkEntityName,
|
|
662
|
+
name: i,
|
|
663
|
+
filter: a
|
|
664
|
+
}).then((t) => {
|
|
665
|
+
this.weComAppList = t.success ? t.data.map((s) => (s.tableName = e.fkEntityName, s)) : [], this.fetching = !1, this.loadWeComApp = !0;
|
|
666
|
+
});
|
|
667
|
+
},
|
|
668
|
+
searchWeOff() {
|
|
669
|
+
this.firstWeOfficial || (this.searchWeOfficial(""), this.firstWeOfficial = !0);
|
|
670
|
+
},
|
|
671
|
+
searchWeOfficial(i) {
|
|
672
|
+
let e = this.fkEntity.filter((t) => t.field === "wechatpublicaccountid")[0], a = e.filterd.filter((t) => t.fieldValue !== "");
|
|
673
|
+
this.weOfficialList = [], this.fetching = !0, o({
|
|
674
|
+
fkEntityName: e.fkEntityName,
|
|
675
|
+
name: i,
|
|
676
|
+
filter: a
|
|
677
|
+
}).then((t) => {
|
|
678
|
+
this.weOfficialList = t.success ? t.data.map((s) => (s.tableName = e.fkEntityName, s)) : [], this.fetching = !1, this.loadWeOfficial = !0;
|
|
679
|
+
});
|
|
680
|
+
},
|
|
681
|
+
selData(i) {
|
|
682
|
+
if (i === "enterprisewechatid" && !this.loadWeCom) {
|
|
683
|
+
this.searchWeCom("");
|
|
684
|
+
return;
|
|
685
|
+
}
|
|
686
|
+
if (i === "enterprisewechatappid" && !this.loadWeComApp) {
|
|
687
|
+
this.searchWeComApp("");
|
|
688
|
+
return;
|
|
689
|
+
}
|
|
690
|
+
if (i === "wechatpublicaccountid" && !this.loadWeOfficial) {
|
|
691
|
+
this.searchWeOfficial("");
|
|
692
|
+
return;
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
contentBlur() {
|
|
696
|
+
this.analysis();
|
|
697
|
+
},
|
|
698
|
+
analysis() {
|
|
699
|
+
let i = this.ruleFormData.content;
|
|
700
|
+
if (!i) {
|
|
701
|
+
this.parseDataparseData = [], this.showParseInfo = !1;
|
|
702
|
+
return;
|
|
703
|
+
}
|
|
704
|
+
let e = new RegExp(/\{\{(.+?)\}\}/g), a = i.match(e);
|
|
705
|
+
if (!a)
|
|
706
|
+
return;
|
|
707
|
+
let t = [];
|
|
708
|
+
a.forEach((s) => {
|
|
709
|
+
let r = s.substring(2, s.length - 2), l = this.parseData.filter((n) => n.name == r)[0];
|
|
710
|
+
l ? t.push(l) : t.push({
|
|
711
|
+
name: r,
|
|
712
|
+
content: "",
|
|
713
|
+
isdisplays: !0,
|
|
714
|
+
isdisplay: 1
|
|
715
|
+
});
|
|
716
|
+
}), this.parseData = t, this.showParseInfo = !0;
|
|
717
|
+
},
|
|
718
|
+
closed() {
|
|
719
|
+
this.$refs.ruleForm.resetFields(), this.visible = !1, this.showParseInfo = !1, this.fullscreen = !1, this.parseData = [];
|
|
720
|
+
},
|
|
721
|
+
toggleFullscreen() {
|
|
722
|
+
this.fullscreen = !this.fullscreen;
|
|
723
|
+
},
|
|
724
|
+
handleSubmit() {
|
|
725
|
+
this.$refs.ruleForm.validate((i) => {
|
|
726
|
+
if (i) {
|
|
727
|
+
this.confirmLoading = !0;
|
|
728
|
+
let e = {
|
|
729
|
+
...this.ruleFormData
|
|
730
|
+
}, a = [...this.parseData].map((r) => (r.isdisplay = r.isdisplays ? 1 : 0, r)), t = Object.assign(e, {
|
|
731
|
+
msg_templatedetailed_msg_templatelibraryid: a
|
|
732
|
+
});
|
|
733
|
+
(this.type == 1 ? f : u)(t).then((r) => {
|
|
734
|
+
r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.confirmLoading = !1, this.$emit("ok", t), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.confirmLoading = !1;
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
});
|
|
738
|
+
},
|
|
739
|
+
doEvent(i) {
|
|
740
|
+
let e = i.item.functionName;
|
|
741
|
+
this[e] && this[e]();
|
|
742
|
+
},
|
|
743
|
+
getDictionary(i) {
|
|
744
|
+
return this.$options.filters.dictData(i);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
};
|
|
748
|
+
var $ = function() {
|
|
749
|
+
var e = this, a = e._self._c;
|
|
750
|
+
return a("div", [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(t) {
|
|
751
|
+
e.visible = t;
|
|
752
|
+
}, closed: e.closed } }, [a("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), a("div", { staticClass: "b" }, [a("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(t) {
|
|
753
|
+
t.preventDefault();
|
|
754
|
+
} } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { md: 12, sm: 24 } }, [a("el-form-item", { attrs: { label: e.$i18nt("gd.msg.templateLibrary.name", "\u540D\u79F0"), prop: "name" } }, [a("el-input", { model: { value: e.ruleFormData.name, callback: function(t) {
|
|
755
|
+
e.$set(e.ruleFormData, "name", t);
|
|
756
|
+
}, expression: "ruleFormData.name" } })], 1)], 1), a("el-col", { attrs: { md: 12, sm: 24 } }, [a("el-form-item", { attrs: { label: e.$i18nt("gd.msg.templateLibrary.sendType", "\u6A21\u677F\u7C7B\u522B"), prop: "templatetype" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.selTemplateType }, model: { value: e.ruleFormData.templatetype, callback: function(t) {
|
|
757
|
+
e.$set(e.ruleFormData, "templatetype", t);
|
|
758
|
+
}, expression: "ruleFormData.templatetype" } }, e._l(e.getSendType, function(t, s) {
|
|
759
|
+
return a("el-option", { key: s, attrs: { label: t.name, value: t.code, disabled: t.disabled } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.name)) + " ")]);
|
|
760
|
+
}), 1)], 1)], 1)], 1), e.showWeCom ? a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { md: 12, sm: 24 } }, [a("el-form-item", { attrs: { label: e.$i18nt("gd.msg.templateLibrary.weChatName", "\u4F01\u4E1A\u5FAE\u4FE1"), prop: "enterprisewechatid" } }, [a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: e.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": e.searchData, "collapse-tags": !0 }, on: { focus: e.fkSearch, change: e.changeWeCom }, model: { value: e.ruleFormData.enterprisewechatid, callback: function(t) {
|
|
761
|
+
e.$set(e.ruleFormData, "enterprisewechatid", t);
|
|
762
|
+
}, expression: "ruleFormData.enterprisewechatid" } }, e._l(e.weComList, function(t) {
|
|
763
|
+
return a("el-option", { key: t.id, attrs: { label: t.name, value: t.id } });
|
|
764
|
+
}), 1), a("div", { staticClass: "cao_setting" }, [a("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(t) {
|
|
765
|
+
return t.stopPropagation(), e.lookup(e.ruleFormData.enterprisewechatid, "enterprisewechatid");
|
|
766
|
+
} } })])], 1)])], 1), a("el-col", { attrs: { md: 12, sm: 24 } }, [a("el-form-item", { attrs: { label: e.$i18nt("gd.msg.templateLibrary.weChatApplicationName", "\u4F01\u4E1A\u5FAE\u4FE1\u5E94\u7528"), prop: "enterprisewechatappid" } }, [a("div", { staticClass: "cao_about", on: { click: function(t) {
|
|
767
|
+
return e.selData("enterprisewechatappid");
|
|
768
|
+
} } }, [a("el-select", { staticClass: "cao_input", staticStyle: { flex: "1", overflow: "hidden" }, attrs: { "reserve-keyword": "", filterable: "", remote: "", clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: e.loading, "remote-method": e.searchWeComApp }, on: { focus: e.fkSearchWech }, model: { value: e.ruleFormData.enterprisewechatappid, callback: function(t) {
|
|
769
|
+
e.$set(e.ruleFormData, "enterprisewechatappid", t);
|
|
770
|
+
}, expression: "ruleFormData.enterprisewechatappid" } }, e._l(e.weComAppList, function(t, s) {
|
|
771
|
+
return a("el-option", { key: s, attrs: { label: t.name, value: t.id } }, [e._v(" " + e._s(t.name) + " ")]);
|
|
772
|
+
}), 1), a("div", { staticClass: "cao_setting" }, [a("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(t) {
|
|
773
|
+
return t.stopPropagation(), e.lookup(e.ruleFormData.enterprisewechatappid, "enterprisewechatappid");
|
|
774
|
+
} } })])], 1)])], 1)], 1) : e._e(), e.showWeOfficial ? a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { md: 12, sm: 24 } }, [a("el-form-item", { attrs: { label: e.$i18nt("gd.msg.templateLibrary.weChatOfficialAccounts"), prop: "wechatpublicaccountid" } }, [a("div", { staticClass: "cao_about", on: { click: function(t) {
|
|
775
|
+
return e.selData("wechatpublicaccountid");
|
|
776
|
+
} } }, [a("el-select", { staticClass: "cao_input", staticStyle: { flex: "1", overflow: "hidden" }, attrs: { "reserve-keyword": "", filterable: "", remote: "", clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: e.loading, "remote-method": e.searchWeOfficial }, on: { focus: e.searchWeOff }, model: { value: e.ruleFormData.wechatpublicaccountid, callback: function(t) {
|
|
777
|
+
e.$set(e.ruleFormData, "wechatpublicaccountid", t);
|
|
778
|
+
}, expression: "ruleFormData.wechatpublicaccountid" } }, e._l(e.weOfficialList, function(t, s) {
|
|
779
|
+
return a("el-option", { key: s, attrs: { label: t.name, value: t.id } });
|
|
780
|
+
}), 1), a("div", { staticClass: "cao_setting" }, [a("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(t) {
|
|
781
|
+
return t.stopPropagation(), e.lookup(e.ruleFormData.wechatpublicaccountid, "wechatpublicaccountid");
|
|
782
|
+
} } })])], 1)])], 1)], 1) : e._e(), a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 24, md: 24 } }, [a("el-form-item", { attrs: { label: e.$i18nt("gd.msg.templateLibrary.content"), prop: "content" } }, [a("el-input", { attrs: { autosize: { minRows: 10, maxRows: 16 }, type: "textarea", placeholder: e.$i18nt("gd.placeholder.input") }, on: { blur: e.contentBlur }, model: { value: e.ruleFormData.content, callback: function(t) {
|
|
783
|
+
e.$set(e.ruleFormData, "content", t);
|
|
784
|
+
}, expression: "ruleFormData.content" } })], 1)], 1), a("el-col", { attrs: { span: 24, md: 24 } }, [a("el-button", { staticStyle: { "font-size": "14px", padding: "6px 8px", float: "right" }, attrs: { type: "primary", size: "mini", icon: "el-icon-notebook-2" }, on: { click: e.analysis } }, [e._v(" " + e._s(e.$i18nt("gd.msg.templateLibrary.analysis")) + " ")])], 1)], 1), e.showParseInfo ? a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 24 } }, e._l(e.parseData, function(t, s) {
|
|
785
|
+
return a("el-form-item", { key: s, attrs: { label: t.name } }, [a("el-input", { staticStyle: { width: "450px" }, attrs: { type: "textarea", autosize: { minRows: 3, maxRows: 6 } }, model: { value: t.content, callback: function(r) {
|
|
786
|
+
e.$set(t, "content", r);
|
|
787
|
+
}, expression: "item.content" } }), a("el-checkbox", { staticStyle: { "margin-left": "30px" }, model: { value: t.isdisplays, callback: function(r) {
|
|
788
|
+
e.$set(t, "isdisplays", r);
|
|
789
|
+
}, expression: "item.isdisplays" } }, [e._v(" " + e._s(e.$i18nt("gd.msg.templateLibrary.display", "\u662F\u5426\u663E\u793A")) + " ")])], 1);
|
|
790
|
+
}), 1)], 1) : e._e()], 1)], 1)], 1), a("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
791
|
+
}, T = [], D = /* @__PURE__ */ h(
|
|
792
|
+
L,
|
|
793
|
+
$,
|
|
794
|
+
T,
|
|
795
|
+
!1,
|
|
796
|
+
null,
|
|
797
|
+
"6e3a6197",
|
|
798
|
+
null,
|
|
799
|
+
null
|
|
800
|
+
);
|
|
801
|
+
const F = D.exports, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
802
|
+
__proto__: null,
|
|
803
|
+
default: F
|
|
804
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
805
|
+
export {
|
|
806
|
+
c as G,
|
|
807
|
+
S as e
|
|
808
|
+
};
|