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
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { m as d, n as
|
|
2
|
-
import { s as
|
|
1
|
+
import { m as d, n as c } from "./components.chartbi.7356b244.mjs";
|
|
2
|
+
import { s as m, a as u, b as h, c as p, d as f } from "./http.team.a9c609d5.mjs";
|
|
3
3
|
import { t as g } from "./utils.mixins.js.be01e599.mjs";
|
|
4
|
-
import { a as o } from "./http.main.
|
|
5
|
-
|
|
6
|
-
const b = {
|
|
4
|
+
import { a as o } from "./http.main.aefea27d.mjs";
|
|
5
|
+
const y = {
|
|
7
6
|
data() {
|
|
8
7
|
return {
|
|
9
8
|
tableColumns: [
|
|
@@ -86,7 +85,152 @@ const b = {
|
|
|
86
85
|
};
|
|
87
86
|
}
|
|
88
87
|
};
|
|
89
|
-
const
|
|
88
|
+
const b = {
|
|
89
|
+
name: "GdTeam",
|
|
90
|
+
mixins: [g, y],
|
|
91
|
+
props: {
|
|
92
|
+
height: {
|
|
93
|
+
type: Number,
|
|
94
|
+
default: 100
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
data() {
|
|
98
|
+
return {
|
|
99
|
+
transKey: "gd.btn.add",
|
|
100
|
+
selectedRowKeys: [],
|
|
101
|
+
selectedRows: [],
|
|
102
|
+
queryParam: {},
|
|
103
|
+
loadData: (a) => m(Object.assign(a, this.getQueryParam)).then((e) => e.data)
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
components: {
|
|
107
|
+
editForm: () => Promise.resolve().then(() => L)
|
|
108
|
+
},
|
|
109
|
+
computed: {
|
|
110
|
+
getHeight() {
|
|
111
|
+
return this.height;
|
|
112
|
+
},
|
|
113
|
+
getQueryParam() {
|
|
114
|
+
let a = /* @__PURE__ */ new Map();
|
|
115
|
+
for (let e in this.queryParam)
|
|
116
|
+
if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
|
|
117
|
+
a.set(e, this.queryParam[e].join(","));
|
|
118
|
+
else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
|
|
119
|
+
if (this.queryParam[e].length > 0) {
|
|
120
|
+
let t = this.queryParam[e], i = t[0].split(" ")[0], s = t[1].split(" ")[0];
|
|
121
|
+
a.set(`${e}Start`, `${i} 00:00:00`), a.set(`${e}End`, `${s} 23:59:59`);
|
|
122
|
+
}
|
|
123
|
+
} else
|
|
124
|
+
a.set(e, this.queryParam[e]);
|
|
125
|
+
return Object.fromEntries(a);
|
|
126
|
+
},
|
|
127
|
+
...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
128
|
+
},
|
|
129
|
+
methods: {
|
|
130
|
+
editForm(a) {
|
|
131
|
+
this.transKey = "gd.btn.edit", this.$refs.editForm.open(a);
|
|
132
|
+
},
|
|
133
|
+
add() {
|
|
134
|
+
this.$refs.editForm.open();
|
|
135
|
+
},
|
|
136
|
+
edit() {
|
|
137
|
+
if (this.selectedRowKeys.length === 0) {
|
|
138
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (this.selectedRowKeys.length > 1) {
|
|
142
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
this.editForm(this.selectedRows[0]);
|
|
146
|
+
},
|
|
147
|
+
del() {
|
|
148
|
+
if (this.selectedRowKeys.length === 0) {
|
|
149
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (this.selectedRowKeys.length > 1) {
|
|
153
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
157
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
158
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
159
|
+
showClose: !1,
|
|
160
|
+
confirmButtonLoading: !1,
|
|
161
|
+
cancelButtonLoading: !1,
|
|
162
|
+
closeOnClickModal: !1,
|
|
163
|
+
type: "warning",
|
|
164
|
+
confirmButtonClass: "el-button--danger",
|
|
165
|
+
customClass: "custom-alert",
|
|
166
|
+
callback: () => {
|
|
167
|
+
},
|
|
168
|
+
beforeClose: (a, e, t) => {
|
|
169
|
+
this.delHand(a, e, t);
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
delHand(a, e, t) {
|
|
174
|
+
if (a !== "confirm") {
|
|
175
|
+
t();
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
let i = [];
|
|
179
|
+
this.selectedRows.forEach((s) => {
|
|
180
|
+
let r = u({
|
|
181
|
+
id: s.id
|
|
182
|
+
}).then((n) => n);
|
|
183
|
+
i.push(r);
|
|
184
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((s) => {
|
|
185
|
+
const r = s.filter((n) => !n.success);
|
|
186
|
+
r.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") + r[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
187
|
+
});
|
|
188
|
+
},
|
|
189
|
+
onSelectChange(a, e) {
|
|
190
|
+
this.selectedRowKeys = a, this.selectedRows = e;
|
|
191
|
+
},
|
|
192
|
+
handleOk() {
|
|
193
|
+
this.refresh();
|
|
194
|
+
},
|
|
195
|
+
refresh() {
|
|
196
|
+
this.$refs.table.refresh();
|
|
197
|
+
},
|
|
198
|
+
dictSwitch(a, e) {
|
|
199
|
+
let t = this.$options.filters.dictData(e).filter((i) => i.code == a)[0];
|
|
200
|
+
return t != null && t.colour ? t.colour : null;
|
|
201
|
+
},
|
|
202
|
+
doEvent(a) {
|
|
203
|
+
let e = a.item.functionName;
|
|
204
|
+
this[e] && this[e]();
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
var _ = function() {
|
|
209
|
+
var e = this, t = e._self._c;
|
|
210
|
+
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
211
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
212
|
+
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: s }) {
|
|
213
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: s, highlight: "" }, on: { click: e.editForm } })];
|
|
214
|
+
} }, { key: "administratorid", fn: function({ column: i, row: s }) {
|
|
215
|
+
return [s.administratorname ? t("span", [e._v(" " + e._s(s.administratorname) + " ")]) : e._e()];
|
|
216
|
+
} }, { key: "teamtype", fn: function(i) {
|
|
217
|
+
return [e.dictSwitch(i.row.teamtype, "teamtype") ? t("el-tag", { style: e._f("dictColor")("teamtype", i.row.teamtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("teamtype", i.row.teamtype)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("teamtype", i.row.teamtype)))])];
|
|
218
|
+
} }]) })], 1), t("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
|
|
219
|
+
}, w = [], $ = /* @__PURE__ */ c(
|
|
220
|
+
b,
|
|
221
|
+
_,
|
|
222
|
+
w,
|
|
223
|
+
!1,
|
|
224
|
+
null,
|
|
225
|
+
"22fbdc27",
|
|
226
|
+
null,
|
|
227
|
+
null
|
|
228
|
+
);
|
|
229
|
+
const l = $.exports;
|
|
230
|
+
l.install = function(a) {
|
|
231
|
+
a.component(l.name, l);
|
|
232
|
+
};
|
|
233
|
+
const v = {
|
|
90
234
|
props: {
|
|
91
235
|
modalAppendToBody: {
|
|
92
236
|
type: Boolean,
|
|
@@ -157,7 +301,7 @@ const _ = {
|
|
|
157
301
|
...d(["screenHeight"])
|
|
158
302
|
},
|
|
159
303
|
components: {
|
|
160
|
-
teamMemberDetail:
|
|
304
|
+
teamMemberDetail: () => import("./system.teammembers.851ce63b.mjs")
|
|
161
305
|
},
|
|
162
306
|
methods: {
|
|
163
307
|
lookupSeled(a) {
|
|
@@ -175,7 +319,7 @@ const _ = {
|
|
|
175
319
|
this.visible = !0, this.fullScreen = !1, this.type = a ? 2 : 1, this.ruleFormData.id = a ? a.id : "", a && this.getDetail(a.id);
|
|
176
320
|
},
|
|
177
321
|
getDetail(a) {
|
|
178
|
-
a != "" && (this.dataList = [],
|
|
322
|
+
a != "" && (this.dataList = [], h({
|
|
179
323
|
id: a
|
|
180
324
|
}).then((e) => {
|
|
181
325
|
if (e.code == 200) {
|
|
@@ -230,14 +374,14 @@ const _ = {
|
|
|
230
374
|
});
|
|
231
375
|
},
|
|
232
376
|
add(a) {
|
|
233
|
-
this.confirmLoading = !0, delete a.id,
|
|
377
|
+
this.confirmLoading = !0, delete a.id, p(a).then((e) => {
|
|
234
378
|
e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.ruleFormData.id = e.data, this.type = 2, this.getDetail(e.data)) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
|
|
235
379
|
}).finally((e) => {
|
|
236
380
|
this.confirmLoading = !1;
|
|
237
381
|
});
|
|
238
382
|
},
|
|
239
383
|
edit(a) {
|
|
240
|
-
this.confirmLoading = !0,
|
|
384
|
+
this.confirmLoading = !0, f(a).then((e) => {
|
|
241
385
|
e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
|
|
242
386
|
}).finally((e) => {
|
|
243
387
|
this.confirmLoading = !1;
|
|
@@ -264,7 +408,7 @@ const _ = {
|
|
|
264
408
|
}
|
|
265
409
|
}
|
|
266
410
|
};
|
|
267
|
-
var
|
|
411
|
+
var F = function() {
|
|
268
412
|
var e = this, t = e._self._c;
|
|
269
413
|
return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(i) {
|
|
270
414
|
e.visible = i;
|
|
@@ -289,162 +433,20 @@ var w = function() {
|
|
|
289
433
|
}), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search cao_setting-disabled" })])], 1)])], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.describe", "\u63CF\u8FF0"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(i) {
|
|
290
434
|
e.$set(e.ruleFormData, "description", i);
|
|
291
435
|
}, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1), e.visible && e.detailShow ? t("el-card", { attrs: { shadow: "never" } }, [t("div", { staticStyle: { "font-weight": "500", "font-size": "17px", "padding-bottom": "6px" } }, [e._v(e._s(e.$i18nt("gd.team.teamMember", "\u56E2\u961F\u6210\u5458")))]), t("teamMemberDetail", { attrs: { sys_teamid: e.ruleFormData.id, type: e.type, openMode: 2, height: e.getHeight, modeType: "components" } })], 1) : e._e()], 1)], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
292
|
-
},
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
$,
|
|
296
|
-
!1,
|
|
297
|
-
null,
|
|
298
|
-
"e312f95a",
|
|
299
|
-
null,
|
|
300
|
-
null
|
|
301
|
-
);
|
|
302
|
-
const F = v.exports;
|
|
303
|
-
const k = {
|
|
304
|
-
name: "GdTeam",
|
|
305
|
-
mixins: [g, b],
|
|
306
|
-
props: {
|
|
307
|
-
height: {
|
|
308
|
-
type: Number,
|
|
309
|
-
default: 100
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
data() {
|
|
313
|
-
return {
|
|
314
|
-
transKey: "gd.btn.add",
|
|
315
|
-
selectedRowKeys: [],
|
|
316
|
-
selectedRows: [],
|
|
317
|
-
queryParam: {},
|
|
318
|
-
loadData: (a) => p(Object.assign(a, this.getQueryParam)).then((e) => e.data)
|
|
319
|
-
};
|
|
320
|
-
},
|
|
321
|
-
components: {
|
|
322
|
-
editForm: F
|
|
323
|
-
},
|
|
324
|
-
computed: {
|
|
325
|
-
getHeight() {
|
|
326
|
-
return this.height;
|
|
327
|
-
},
|
|
328
|
-
getQueryParam() {
|
|
329
|
-
let a = /* @__PURE__ */ new Map();
|
|
330
|
-
for (let e in this.queryParam)
|
|
331
|
-
if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
|
|
332
|
-
a.set(e, this.queryParam[e].join(","));
|
|
333
|
-
else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
|
|
334
|
-
if (this.queryParam[e].length > 0) {
|
|
335
|
-
let t = this.queryParam[e], i = t[0].split(" ")[0], s = t[1].split(" ")[0];
|
|
336
|
-
a.set(`${e}Start`, `${i} 00:00:00`), a.set(`${e}End`, `${s} 23:59:59`);
|
|
337
|
-
}
|
|
338
|
-
} else
|
|
339
|
-
a.set(e, this.queryParam[e]);
|
|
340
|
-
return Object.fromEntries(a);
|
|
341
|
-
},
|
|
342
|
-
...d(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
343
|
-
},
|
|
344
|
-
methods: {
|
|
345
|
-
editForm(a) {
|
|
346
|
-
this.transKey = "gd.btn.edit", this.$refs.editForm.open(a);
|
|
347
|
-
},
|
|
348
|
-
add() {
|
|
349
|
-
this.$refs.editForm.open();
|
|
350
|
-
},
|
|
351
|
-
edit() {
|
|
352
|
-
if (this.selectedRowKeys.length === 0) {
|
|
353
|
-
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
if (this.selectedRowKeys.length > 1) {
|
|
357
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
this.editForm(this.selectedRows[0]);
|
|
361
|
-
},
|
|
362
|
-
del() {
|
|
363
|
-
if (this.selectedRowKeys.length === 0) {
|
|
364
|
-
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
365
|
-
return;
|
|
366
|
-
}
|
|
367
|
-
if (this.selectedRowKeys.length > 1) {
|
|
368
|
-
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
369
|
-
return;
|
|
370
|
-
}
|
|
371
|
-
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
372
|
-
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
373
|
-
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
374
|
-
showClose: !1,
|
|
375
|
-
confirmButtonLoading: !1,
|
|
376
|
-
cancelButtonLoading: !1,
|
|
377
|
-
closeOnClickModal: !1,
|
|
378
|
-
type: "warning",
|
|
379
|
-
confirmButtonClass: "el-button--danger",
|
|
380
|
-
customClass: "custom-alert",
|
|
381
|
-
callback: () => {
|
|
382
|
-
},
|
|
383
|
-
beforeClose: (a, e, t) => {
|
|
384
|
-
this.delHand(a, e, t);
|
|
385
|
-
}
|
|
386
|
-
});
|
|
387
|
-
},
|
|
388
|
-
delHand(a, e, t) {
|
|
389
|
-
if (a !== "confirm") {
|
|
390
|
-
t();
|
|
391
|
-
return;
|
|
392
|
-
}
|
|
393
|
-
let i = [];
|
|
394
|
-
this.selectedRows.forEach((s) => {
|
|
395
|
-
let n = f({
|
|
396
|
-
id: s.id
|
|
397
|
-
}).then((r) => r);
|
|
398
|
-
i.push(n);
|
|
399
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((s) => {
|
|
400
|
-
const n = s.filter((r) => !r.success);
|
|
401
|
-
n.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") + n[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
402
|
-
});
|
|
403
|
-
},
|
|
404
|
-
onSelectChange(a, e) {
|
|
405
|
-
this.selectedRowKeys = a, this.selectedRows = e;
|
|
406
|
-
},
|
|
407
|
-
handleOk() {
|
|
408
|
-
this.refresh();
|
|
409
|
-
},
|
|
410
|
-
refresh() {
|
|
411
|
-
this.$refs.table.refresh();
|
|
412
|
-
},
|
|
413
|
-
dictSwitch(a, e) {
|
|
414
|
-
let t = this.$options.filters.dictData(e).filter((i) => i.code == a)[0];
|
|
415
|
-
return t != null && t.colour ? t.colour : null;
|
|
416
|
-
},
|
|
417
|
-
doEvent(a) {
|
|
418
|
-
let e = a.item.functionName;
|
|
419
|
-
this[e] && this[e]();
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
var D = function() {
|
|
424
|
-
var e = this, t = e._self._c;
|
|
425
|
-
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
426
|
-
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
427
|
-
}, proxy: !0 }, { key: "name", fn: function({ column: i, row: s }) {
|
|
428
|
-
return [t("gd-tooltip", { attrs: { rowKey: "name", row: s, highlight: "" }, on: { click: e.editForm } })];
|
|
429
|
-
} }, { key: "administratorid", fn: function({ column: i, row: s }) {
|
|
430
|
-
return [s.administratorname ? t("span", [e._v(" " + e._s(s.administratorname) + " ")]) : e._e()];
|
|
431
|
-
} }, { key: "teamtype", fn: function(i) {
|
|
432
|
-
return [e.dictSwitch(i.row.teamtype, "teamtype") ? t("el-tag", { style: e._f("dictColor")("teamtype", i.row.teamtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("teamtype", i.row.teamtype)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("teamtype", i.row.teamtype)))])];
|
|
433
|
-
} }]) })], 1), t("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
|
|
434
|
-
}, S = [], L = /* @__PURE__ */ m(
|
|
436
|
+
}, k = [], D = /* @__PURE__ */ c(
|
|
437
|
+
v,
|
|
438
|
+
F,
|
|
435
439
|
k,
|
|
436
|
-
D,
|
|
437
|
-
S,
|
|
438
440
|
!1,
|
|
439
441
|
null,
|
|
440
|
-
"
|
|
442
|
+
"ae94d1a3",
|
|
441
443
|
null,
|
|
442
444
|
null
|
|
443
445
|
);
|
|
444
|
-
const
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
};
|
|
446
|
+
const S = D.exports, L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
447
|
+
__proto__: null,
|
|
448
|
+
default: S
|
|
449
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
448
450
|
export {
|
|
449
451
|
l as G
|
|
450
452
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./components.chartbi.13a8a7b5.js"),n=require("./http.team.e45400d5.js"),m=require("./utils.mixins.js.750ca50e.js"),c=require("./http.main.2f8a6936.js"),u={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.team.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",width:"220",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.team.amdmin",prop:"administratorid",label:"\u7BA1\u7406\u5458",width:"220",type:"slot",slotType:"administratorid",align:"left"},{transKey:"gd.team.teamtype",prop:"teamtype",label:"\u56E2\u961F\u7C7B\u578B",width:"180",type:"slot",slotType:"teamtype",align:"left"},{transKey:"gd.team.createdTime",prop:"createdtime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center",width:"180"},{transKey:"gd.team.describe",prop:"description",label:"\u63CF\u8FF0",width:"260",align:"left"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysTeam:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysTeam:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysTeam:delete"}]}}};const h={name:"GdTeam",mixins:[m.tablesFilter,u],props:{height:{type:Number,default:100}},data(){return{transKey:"gd.btn.add",selectedRowKeys:[],selectedRows:[],queryParam:{},loadData:a=>n.sysTeamPage(Object.assign(a,this.getQueryParam)).then(e=>e.data)}},components:{editForm:()=>Promise.resolve().then(()=>$)},computed:{getHeight(){return this.height},getQueryParam(){let a=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&(e==="msgStatus"||e==="sendType"))a.set(e,this.queryParam[e].join(","));else if(this.queryParam[e]&&(e==="actualOn"||e==="createdTime"||e==="scheduledStartedOn")){if(this.queryParam[e].length>0){let t=this.queryParam[e],i=t[0].split(" ")[0],s=t[1].split(" ")[0];a.set(`${e}Start`,`${i} 00:00:00`),a.set(`${e}End`,`${s} 23:59:59`)}}else a.set(e,this.queryParam[e]);return Object.fromEntries(a)},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{editForm(a){this.transKey="gd.btn.edit",this.$refs.editForm.open(a)},add(){this.$refs.editForm.open()},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(a,e,t)=>{this.delHand(a,e,t)}})},delHand(a,e,t){if(a!=="confirm"){t();return}let i=[];this.selectedRows.forEach(s=>{let r=n.sysTeamDel({id:s.id}).then(d=>d);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(s=>{const r=s.filter(d=>!d.success);r.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")+r[0].message),t(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},onSelectChange(a,e){this.selectedRowKeys=a,this.selectedRows=e},handleOk(){this.refresh()},refresh(){this.$refs.table.refresh()},dictSwitch(a,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==a)[0];return t!=null&&t.colour?t.colour:null},doEvent(a){let e=a.item.functionName;this[e]&&this[e]()}}};var p=function(){var e=this,t=e._self._c;return t("div",{staticClass:"gd-page-view"},[t("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[t("div",{staticClass:"gd-table-operator"},[t("div",{staticClass:"gd-table-operatorr"},[t("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"name",fn:function({column:i,row:s}){return[t("gd-tooltip",{attrs:{rowKey:"name",row:s,highlight:""},on:{click:e.editForm}})]}},{key:"administratorid",fn:function({column:i,row:s}){return[s.administratorname?t("span",[e._v(" "+e._s(s.administratorname)+" ")]):e._e()]}},{key:"teamtype",fn:function(i){return[e.dictSwitch(i.row.teamtype,"teamtype")?t("el-tag",{style:e._f("dictColor")("teamtype",i.row.teamtype),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("teamtype",i.row.teamtype))+" ")]):t("span",[e._v(e._s(e._f("dictType")("teamtype",i.row.teamtype)))])]}}])})],1),t("editForm",{ref:"editForm",attrs:{openPermissions:!0},on:{ok:e.handleOk}})],1)},f=[],g=o.normalizeComponent(h,p,f,!1,null,"22fbdc27",null,null);const l=g.exports;l.install=function(a){a.component(l.name,l)};const y={props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{width:"80%",visible:!1,fullScreen:!1,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],confirmLoading:!1,type:0,rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],administratorid:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}]},ruleFormData:{id:"",name:"",administratorid:"",teamtype:"2",description:""},dataList:[],columnList:[],ownerid:"",firstLoading:!1}},computed:{getHeight(){const a=this.fullScreen?400:548;return this.screenHeight-a},detailShow(){return!!this.ruleFormData.id},title(){return this.ruleFormData.id?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add")},...o.mapGetters(["screenHeight"])},components:{teamMemberDetail:()=>Promise.resolve().then(()=>require("./system.teammembers.63f21557.js"))},methods:{lookupSeled(a){this.dataList=[...a.fkData],this.$set(this.ruleFormData,"administratorid",a.data[0])},lookup(a){let e={effectType:"fk",fkEntityName:"sys_user",val:a||[]};this.$refs.msgSearch.open(e)},open(a){this.visible=!0,this.fullScreen=!1,this.type=a?2:1,this.ruleFormData.id=a?a.id:"",a&&this.getDetail(a.id)},getDetail(a){a!=""&&(this.dataList=[],n.sysTeamDetail({id:a}).then(e=>{if(e.code==200){let t=e.data;this.dataList.push({id:t.administratorid,name:t.administratorname}),this.columnList.push({id:t.ownerid,name:t.ownername});let i={id:t.id,name:t.name,teamtype:t.teamtype?t.teamtype.toString():"",description:t.description,administratorid:t.administratorid};this.firstLoading=!0,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData=i,this.ownerid=t.ownerid},0)})}}))},searchData(a){this.dataList=[],c.baseFkList({fkEntityName:"sys_user",id:a.administratorid}).then(e=>{e.code==200&&(this.firstLoading=!0,e.data.length>0?this.dataList=e.data:this.dataList.push({id:a.administratorid,name:a.administratorname}))})},searchList(){this.firstLoading||(this.adminClick(""),this.firstLoading=!0)},adminClick(a){this.dataList=[],this.fetching=!0,c.baseFkList({fkEntityName:"sys_user",name:a}).then(e=>{e.code==200&&(this.dataList=e.data)})},handleSubmit(){this.$refs.ruleForm.validate(a=>{a&&(console.log(this.type),this.type==1?this.add(this.ruleFormData):this.edit(this.ruleFormData))})},add(a){this.confirmLoading=!0,delete a.id,n.sysTeamAdd(a).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok"),this.ruleFormData.id=e.data,this.type=2,this.getDetail(e.data)):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},edit(a){this.confirmLoading=!0,n.sysTeamEdit(a).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.$refs.ruleForm.resetFields(),this.ruleFormData={id:"",name:"",administratorid:"",teamtype:"2",description:""},this.ownerid="",this.type=1},getDictionary(a){return this.$options.filters.dictData(a)},toggleFullscreen(){this.fullScreen=!this.fullScreen},doEvent(a){let e=a.item.functionName;this[e]&&this[e]()}}};var b=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,fullscreen:e.fullScreen,footer:null,top:"80px","modal-append-to-body":e.modalAppendToBody,"append-to-body":e.appendToBody,"close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[t("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[t("div",{class:e.fullScreen?"modal-bodyq":"modal-body"},[t("el-form",{ref:"ruleForm",attrs:{rules:e.rules,model:e.ruleFormData,"label-width":"100px"},nativeOn:{submit:function(i){i.preventDefault()}}},[t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.name","\u540D\u79F0"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.name,callback:function(i){e.$set(e.ruleFormData,"name",i)},expression:"ruleFormData.name"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.teamtype","\u56E2\u961F\u7C7B\u578B"),prop:"teamtype"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{disabled:"",placeholder:e.$i18nt("gd.placeholder.select"),clearable:""},model:{value:e.ruleFormData.teamtype,callback:function(i){e.$set(e.ruleFormData,"teamtype",i)},expression:"ruleFormData.teamtype"}},e._l(e.getDictionary("teamtype"),function(i,s){return t("el-option",{key:s,attrs:{value:i.code,label:e.$i18nt(`Dynamics.${i.transkey}`,i.name)}})}),1)],1)],1)],1),t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.amdmin","\u7BA1\u7406\u5458"),prop:"administratorid"}},[t("div",{staticClass:"cao_about"},[t("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.adminClick},on:{focus:e.searchList},model:{value:e.ruleFormData.administratorid,callback:function(i){e.$set(e.ruleFormData,"administratorid",i)},expression:"ruleFormData.administratorid"}},e._l(e.dataList,function(i,s){return t("el-option",{key:i.id+"&"+s,attrs:{label:i.name,value:i.id}})}),1),t("div",{staticClass:"cao_setting"},[t("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.administratorid)}}})])],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.owner","\u8D1F\u8D23\u4EBA")}},[t("div",{staticClass:"cao_about"},[t("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,disabled:""},model:{value:e.ownerid,callback:function(i){e.ownerid=i},expression:"ownerid"}},e._l(e.columnList,function(i,s){return t("el-option",{key:s,attrs:{label:i.name,value:i.id}})}),1),t("div",{staticClass:"cao_setting"},[t("i",{staticClass:"el-input__icon el-icon-search cao_setting-disabled"})])],1)])],1)],1),t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.team.describe","\u63CF\u8FF0"),prop:"description"}},[t("el-input",{attrs:{type:"textarea",rows:4,placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.description,callback:function(i){e.$set(e.ruleFormData,"description",i)},expression:"ruleFormData.description"}})],1)],1)],1)],1)],1),e.visible&&e.detailShow?t("el-card",{attrs:{shadow:"never"}},[t("div",{staticStyle:{"font-weight":"500","font-size":"17px","padding-bottom":"6px"}},[e._v(e._s(e.$i18nt("gd.team.teamMember","\u56E2\u961F\u6210\u5458")))]),t("teamMemberDetail",{attrs:{sys_teamid:e.ruleFormData.id,type:e.type,openMode:2,height:e.getHeight,modeType:"components"}})],1):e._e()],1)],1),t("gd-search",{ref:"msgSearch",attrs:{appendToBody:!0},on:{lookupSeled:e.lookupSeled}})],1)},_=[],w=o.normalizeComponent(y,b,_,!1,null,"ae94d1a3",null,null);const v=w.exports,$=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./components.chartbi.13a8a7b5.js"),l=require("./http.team.e45400d5.js"),m=require("./utils.mixins.js.750ca50e.js"),o=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const h={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.team.name",prop:"sys_teamid",label:"\u540D\u79F0",type:"slot",slotType:"sys_teamid",align:"left",fixed:!0,width:"220"},{transKey:"gd.team.member",prop:"sys_userid",label:"\u6210\u5458",type:"slot",slotType:"sys_userid",align:"left",width:"220"},{transKey:"gd.user.account",prop:"account",label:"\u8D26\u53F7",type:"slot",slotType:"account",align:"left",width:"260"},{transKey:"gd.user.tel",prop:"phone",label:"\u7535\u8BDD",type:"slot",slotType:"phone",align:"left",width:"180"},{transKey:"gd.user.email",prop:"email",label:"\u90AE\u7BB1",type:"slot",slotType:"email",align:"left",width:"260"},{transKey:"gd.user.employeeID",prop:"employeeid",label:"\u5DE5\u53F7",type:"slot",slotType:"employeeid",align:"left",width:"200"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysTeam:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysTeam:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysTeam:delete"}]}}};const p={name:"GdTeamMembers",mixins:[m.tablesFilter,h],props:{height:{type:Number,default:100},sys_teamid:{type:[Number,String],default:0},modeType:{type:String,default:"page"}},data(){return{transKey:"gd.btn.add",selectedRowKeys:[],selectedRows:[],queryParam:{},disabledRowId:[],loadData:t=>l.sysTeamMembers(Object.assign(t,this.getQueryParam)).then(e=>{if(e.code==200)return this.disabledRowId=this.modeType==="page"?[]:e.data.rows.map(s=>s.sys_userid),e.data})}},computed:{getTableButtons(){return this.modeType==="page"?this.tableButtons.filter(t=>t.functionName!=="add"):this.tableButtons},getHeight(){return this.height},getQueryParam(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&(e==="msgStatus"||e==="sendType"))t.set(e,this.queryParam[e].join(","));else if(this.queryParam[e]&&(e==="actualOn"||e==="createdTime"||e==="scheduledStartedOn")){if(this.queryParam[e].length>0){let s=this.queryParam[e],i=s[0].split(" ")[0],a=s[1].split(" ")[0];t.set(`${e}Start`,`${i} 00:00:00`),t.set(`${e}End`,`${a} 23:59:59`)}}else t.set(e,this.queryParam[e]);return this.modeType==="page"?Object.fromEntries(t):Object.assign(Object.fromEntries(t),{SysTeamId:this.sys_teamid})},...d.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},components:{editForm:()=>Promise.resolve().then(()=>L)},methods:{lookupSeled(t){if(t.fkData.length===0){this.$refs.msgSearch.closed();return}this.$refs.msgSearch.confirmLoading=!0;let e={userIds:t.data,sys_TeamId:this.sys_teamid};l.sysTeamMemberBatchAdd(e).then(s=>{s.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$refs.msgSearch.closed(),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+s.message),this.$refs.msgSearch.confirmLoading=!1})},lookup(){let t={effectType:"participants",fkEntityName:"sys_user",isRelevance:!0,val:[]};this.$refs.msgSearch.open(t)},editForm(t){this.transKey="gd.btn.edit",this.$refs.editForm.open(t)},add(){this.modeType==="page"?this.$refs.editForm.open():this.lookup()},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[],a=l.sysTeamMemberBatchDel({memberIds:this.selectedRowKeys}).then(r=>r);i.push(a),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(r=>{const c=r.filter(u=>!u.success);c.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")+c[0].message),s(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},handleOk(){this.refresh()},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!==void 0&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var f=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl"},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(i){e.$set(e.queryParam,"searchValue",i)},expression:"queryParam.searchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.getTableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"sys_teamid",fn:function({column:i,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"teamname",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"sys_userid",fn:function({column:i,row:a}){return[a.sys_userid?s("span",[e._v(" "+e._s(a.username)+" ")]):e._e()]}},{key:"account",fn:function({column:i,row:a}){return[a.account?s("span",[e._v(" "+e._s(a.account)+" ")]):e._e()]}},{key:"phone",fn:function({column:i,row:a}){return[a.phone?s("span",[e._v(" "+e._s(a.phone)+" ")]):e._e()]}},{key:"email",fn:function({column:i,row:a}){return[a.email?s("span",[e._v(" "+e._s(a.email)+" ")]):e._e()]}},{key:"employeeid",fn:function({column:i,row:a}){return[a.employeeid?s("span",[e._v(" "+e._s(a.employeeid)+" ")]):e._e()]}}])})],1),s("gd-search",{ref:"msgSearch",attrs:{disabledRowId:e.disabledRowId,appendToBody:!0},on:{lookupSeled:e.lookupSeled}}),s("editForm",{ref:"editForm",attrs:{openPermissions:!0,modeType:e.modeType,sys_teamid:e.sys_teamid},on:{ok:e.handleOk}})],1)},g=[],y=d.normalizeComponent(p,f,g,!1,null,"6188efb0",null,null);const n=y.exports;n.install=function(t){t.component(n.name,n)};const _={props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0},modeType:{type:String,default:"page"}},data(){return{width:"60%",visible:!1,fullScreen:!1,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],title:"",confirmLoading:!1,type:1,rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}]},ruleFormData:{id:"",sys_userid:"",sys_teamid:""},dataList:[],columnList:[],ownerid:"",firstLoading:!1,firstLoading1:!1}},methods:{lookupSeled(t){t.table.tablename=="sys_team"?(this.columnList=[...t.fkData],Object.assign(this.ruleFormData,{sys_teamid:t.data[0]})):t.table.tablename=="sys_user"&&(this.dataList=[...t.fkData],Object.assign(this.ruleFormData,{sys_userid:t.data[0]}))},lookup(t,e){if(e===2&&this.modeType!=="page")return;let s={effectType:"fk",fkEntityName:e==1?"sys_user":"sys_team",val:t||[]};this.$refs.msgSearch.open(s)},open(t){this.visible=!0,this.fullScreen=!1,this.title=t?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add"),this.type=t?2:1,t&&this.getDetail(t.id)},getDetail(t){t!=""&&(this.dataList=[],l.sysTeamMemberDetail({id:t}).then(e=>{if(e.code==200){let s=e.data;this.dataList.push({id:s.sys_userid,name:s.username}),this.columnList.push({id:s.sys_teamid,name:s.teamname});let i={id:s.id,sys_userid:s.sys_userid,sys_teamid:s.sys_teamid};this.firstLoading=!0,this.firstLoading1=!0,this.$nextTick(()=>{setTimeout(()=>{this.ruleFormData=i},0)})}}))},searchData(t){this.dataList=[],o.baseFkList({fkEntityName:"sys_user",id:t.administratorid}).then(e=>{e.code==200&&(this.firstLoading=!0,e.data.length>0?this.dataList=e.data:this.dataList.push({id:t.administratorid,name:t.administratorname}))})},searchList(){this.firstLoading||(this.adminClick(""),this.firstLoading=!0)},adminClick(t){this.dataList=[],this.fetching=!0,o.baseFkList({fkEntityName:"sys_user",name:t}).then(e=>{e.code==200&&(this.dataList=e.data)})},searchList1(){this.firstLoading1||(this.userClick(""),this.firstLoading1=!0)},userClick(t){this.columnList=[],this.fetching=!0,o.baseFkList({fkEntityName:"sys_team",name:t}).then(e=>{e.code==200&&(this.columnList=e.data)})},handleSubmit(){this.$refs.ruleForm.validate(t=>{t&&(this.type==1?this.add(this.ruleFormData):this.edit(this.ruleFormData))})},add(t){this.confirmLoading=!0,delete t.id,l.sysTeamMemberAdd(t).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},edit(t){this.confirmLoading=!0,l.sysTeamMemberEdit(t).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F")),this.$emit("ok"),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25: ")+e.message)}).finally(e=>{this.confirmLoading=!1})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.firstLoading=!1,this.firstLoading1=!1,this.$refs.ruleForm.resetFields(),this.ruleFormData={sys_userid:"",sys_teamid:""}},getDictionary(t){return this.$options.filters.dictData(t)},toggleFullscreen(){this.fullScreen=!this.fullScreen},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var b=function(){var e=this,s=e._self._c;return s("div",[s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,fullscreen:e.fullScreen,footer:null,top:"80px","modal-append-to-body":e.modalAppendToBody,"append-to-body":e.appendToBody,"close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-form",{ref:"ruleForm",attrs:{rules:e.rules,model:e.ruleFormData,"label-width":"100px"},nativeOn:{submit:function(i){i.preventDefault()}}},[s("el-row",{attrs:{gutter:24}},[s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.team.member","\u7528\u6237"),prop:"sys_userid"}},[s("div",{staticClass:"cao_about"},[s("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.adminClick},on:{focus:e.searchList},model:{value:e.ruleFormData.sys_userid,callback:function(i){e.$set(e.ruleFormData,"sys_userid",i)},expression:"ruleFormData.sys_userid"}},e._l(e.dataList,function(i,a){return s("el-option",{key:i.id+"&"+a,attrs:{label:i.name,value:i.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.sys_userid,1)}}})])],1)])],1),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{label:e.$i18nt("gd.team.team","\u56E2\u961F"),prop:"sys_teamid"}},[s("div",{staticClass:"cao_about"},[s("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"","collapse-tags":!0,"remote-method":e.userClick,disabled:e.modeType!=="page"},on:{focus:e.searchList1},model:{value:e.ruleFormData.sys_teamid,callback:function(i){e.$set(e.ruleFormData,"sys_teamid",i)},expression:"ruleFormData.sys_teamid"}},e._l(e.columnList,function(i,a){return s("el-option",{key:i.id+"&"+a,attrs:{label:i.name,value:i.id}})}),1),s("div",{staticClass:"cao_setting"},[s("i",{staticClass:"el-input__icon el-icon-search",on:{click:function(i){return e.lookup(e.ruleFormData.sys_teamid,2)}}})])],1)])],1)],1)],1)],1)])],1),s("gd-search",{ref:"msgSearch",attrs:{appendToBody:!0},on:{lookupSeled:e.lookupSeled}})],1)},v=[],k=d.normalizeComponent(_,b,v,!1,null,"2c9dc622",null,null);const $=k.exports,L=Object.freeze(Object.defineProperty({__proto__:null,default:$},Symbol.toStringTag,{value:"Module"}));exports.default=n;
|