gds-plus-design-vue 1.2.63 → 1.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{addPermission.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
- package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
- package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
- package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
- package/lib/form.build.724d3357.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.c949a27f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
- package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
- package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
- package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
- package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.1cadbf03.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
- package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
- package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
- package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
- package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
- package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
- package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
- package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
- package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
- package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -0,0 +1,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
|
+
};
|