gds-plus-design-vue 1.2.63 → 1.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.e559c495.js +1 -0
- package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
- package/lib/approvalModel.2b97fdf8.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
- package/lib/attribute.4f814780.mjs +367 -0
- package/lib/attribute.7b4971f5.js +1 -0
- package/lib/businessRules.4f7349f3.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
- package/lib/buttonRule.4aa9cfd8.mjs +396 -0
- package/lib/buttonRule.ba9528ab.js +1 -0
- package/lib/chartDisplayRules.25489412.js +1 -0
- package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
- package/lib/components.chartbi.13a8a7b5.js +8 -0
- package/lib/components.chartbi.7356b244.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
- package/lib/components.echarts.5dea23f6.js +4 -0
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
- package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
- package/lib/components.iconselector.4b5b7901.js +1 -0
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
- package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
- package/lib/components.middleware.64b6a988.js +1 -0
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
- package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
- package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
- package/lib/components.tableumy.aa73378d.js +1 -0
- package/lib/components.tablevirtual.879ff28f.js +1 -0
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
- package/lib/components.viewformdetails.328c8642.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
- package/lib/components.viewloading.5b9c8fee.js +1 -0
- package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
- package/lib/components.xlsximport.c53c50f6.js +1 -0
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
- package/lib/copy.3b06d60f.mjs +572 -0
- package/lib/copy.fa2fcb22.js +1 -0
- package/lib/createFile.526dd6db.js +1 -0
- package/lib/createFile.c8d65b52.mjs +439 -0
- package/lib/createSubfolders.51df8fcd.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
- package/lib/drawerContainer.790b0ee6.mjs +163 -0
- package/lib/drawerContainer.c971d22d.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
- package/lib/editForm.83d10fae.mjs +434 -0
- package/lib/editForm.e284e5ec.js +1 -0
- package/lib/extendedAttributes.bfff1926.js +1 -0
- package/lib/extendedAttributes.e6b11c68.mjs +293 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
- package/lib/fileSearch.e849491c.js +1 -0
- package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
- package/lib/flow.designer.85d0054b.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
- package/lib/flow.list.e001d91a.js +1 -0
- package/lib/form.build.19f0c882.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
- package/lib/form.designer.build.2bcc355d.js +1 -0
- package/lib/form.designer.build.7dc12e87.mjs +2529 -0
- package/lib/formFiled.40284ed9.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.07adebf0.js +8 -0
- package/lib/index.340d6f00.mjs +25906 -0
- package/lib/layoutBlocks.756e4b57.js +1 -0
- package/lib/layoutBlocks.816b49a7.mjs +413 -0
- package/lib/layoutItem.051495bc.mjs +71 -0
- package/lib/layoutItem.6f6017a5.js +1 -0
- package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
- package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
- package/lib/main.0dc447c8.js +1 -0
- package/lib/main.12118407.mjs +552 -0
- package/lib/main.1551de4d.js +1 -0
- package/lib/main.1611bb43.js +1 -0
- package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
- package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
- package/lib/main.316ac1b8.js +1 -0
- package/lib/main.48dc325f.mjs +231 -0
- package/lib/main.54ac9faa.mjs +189 -0
- package/lib/main.69a2b457.mjs +166 -0
- package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
- package/lib/main.72c15ab0.js +1 -0
- package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
- package/lib/main.9b2769b1.js +1 -0
- package/lib/main.b2314767.mjs +323 -0
- package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
- package/lib/main.e1cf9798.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
- package/lib/main.fc38c7c8.mjs +537 -0
- package/lib/main.fcb67463.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
- package/lib/manage.eb0a6c8c.js +1 -0
- package/lib/messages.fieldconfiguration.092bb027.js +1 -0
- package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
- package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
- package/lib/messages.messagetemplate.50334e5f.js +7 -0
- package/lib/messages.sendplan.60929f46.js +1 -0
- package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
- package/lib/messages.sendrecord.09a1d1cd.js +2 -0
- package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
- package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
- package/lib/messages.templatelibrary.f5952edd.js +2 -0
- package/lib/mobile.designer.componentstree.365945a3.js +1 -0
- package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
- package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
- package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
- package/lib/moveFile.3dc1dc37.mjs +276 -0
- package/lib/moveFile.f70bbff7.js +1 -0
- package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
- package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
- package/lib/page.designer.componentstree.74a3a114.js +1 -0
- package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
- package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
- package/lib/page.designer.menutree.71c18258.js +1 -0
- package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
- package/lib/page.designer.operation.1d435e6e.js +1 -0
- package/lib/page.designer.operation.fe808988.mjs +44 -0
- package/lib/page.designer.page.654634aa.js +1 -0
- package/lib/page.designer.page.821f8994.mjs +10638 -0
- package/lib/personal.echarts.118bcafb.mjs +268 -0
- package/lib/personal.echarts.e5915542.js +1 -0
- package/lib/result.4d4039ea.js +1 -0
- package/lib/result.a87217ae.mjs +639 -0
- package/lib/router.config.a09f29e7.js +1 -0
- package/lib/router.config.f0ad16fd.mjs +1424 -0
- package/lib/solution.application.8d6c84e8.js +1 -0
- package/lib/solution.application.e6b5dc4f.mjs +548 -0
- package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
- package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
- package/lib/solution.approvalflow.79da028c.js +1 -0
- package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
- package/lib/solution.dict.088a1e72.mjs +769 -0
- package/lib/solution.dict.1d5195d0.js +1 -0
- package/lib/solution.menu.e58922fe.mjs +432 -0
- package/lib/solution.menu.fa48a7e8.js +1 -0
- package/lib/solution.plugin.5d6d29cf.js +1 -0
- package/lib/solution.plugin.ae6df926.mjs +347 -0
- package/lib/solution.processflow.62936f1c.mjs +392 -0
- package/lib/solution.processflow.aa1e808b.js +1 -0
- package/lib/solution.role.2eff83a1.js +1 -0
- package/lib/solution.role.7b3e7030.mjs +456 -0
- package/lib/solution.webresources.88c4483b.mjs +379 -0
- package/lib/solution.webresources.bc00603d.js +1 -0
- package/lib/solution.workflow.0ed2cb24.js +1 -0
- package/lib/solution.workflow.85de0ae5.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.3d7480ba.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
- package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
- package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
- package/lib/system.dict.ab148847.js +1 -0
- package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
- package/lib/system.document.0e46ff8c.js +1 -0
- package/lib/system.document.cbdf25a9.mjs +667 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
- package/lib/system.duplicatechecking.a217fc52.js +1 -0
- package/lib/system.email.1db14214.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
- package/lib/system.fieldsecurity.40b4f48a.js +1 -0
- package/lib/system.file.6a6bd77c.js +1 -0
- package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
- package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
- package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
- package/lib/system.notice.2090c130.js +1 -0
- package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
- package/lib/system.noticereceived.0b79642e.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
- package/lib/system.onlineuser.e74f010d.js +1 -0
- package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
- package/lib/system.permissions.4090552f.mjs +972 -0
- package/lib/system.permissions.fdb64929.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
- package/lib/system.plugin.a0f25733.js +1 -0
- package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
- package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
- package/lib/system.promptmanagement.9718aa24.js +1 -0
- package/lib/system.role.321c48d3.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
- package/lib/system.sumberrules.6e8d208e.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
- package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
- package/lib/system.team.cf1c1558.js +1 -0
- package/lib/system.teammembers.63f21557.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
- package/lib/system.timers.51bedf97.js +38 -0
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
- package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
- package/lib/system.translation.c9f1b505.js +1 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
- package/lib/system.user.475d7391.js +14 -0
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
- package/lib/system.useraffiliation.fe1e1d39.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
- package/lib/system.webresource.81cfa690.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
- package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
- package/lib/table.definition..btnconfig.add3d840.js +1 -0
- package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
- package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
- package/lib/tableDescriptions.143d8e67.js +1 -0
- package/lib/tableDescriptions.60a07f7c.mjs +80 -0
- package/lib/tcheckboxs.e4d387ff.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
- package/lib/tcurrency.0360c142.mjs +85 -0
- package/lib/tcurrency.233f4e63.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.97590ce8.js +1 -0
- package/lib/versionControl.d1b2b0da.mjs +488 -0
- package/lib/versionEdit.c51606e4.mjs +452 -0
- package/lib/versionEdit.f710d0bb.js +1 -0
- package/lib/view.build.5789a6eb.js +1 -0
- package/lib/view.build.9976c958.mjs +1578 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
- package/lib/viewList.6e181715.js +1 -0
- package/lib/viewTree.9bdf96f0.js +1 -0
- package/lib/viewTree.c2e11b7f.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -0,0 +1,808 @@
|
|
|
1
|
+
import { m as p, n as h } from "./components.chartbi.7356b244.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
|
+
};
|