gds-plus-design-vue 1.2.5 → 1.2.7
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/approvalModel.a26e8ff6.mjs +340 -0
- package/lib/approvalModel.cfd81971.js +1 -0
- package/lib/btnFunctionName.9aabfed0.js +1 -0
- package/lib/btnFunctionName.d08627cb.mjs +254 -0
- package/lib/btnRelation.8e608261.mjs +156 -0
- package/lib/btnRelation.cb3dc022.js +1 -0
- package/lib/businessRules.754cc398.mjs +539 -0
- package/lib/businessRules.f41f7035.js +1 -0
- package/lib/buttonRule.4483314f.mjs +396 -0
- package/lib/buttonRule.645de1d3.js +1 -0
- package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
- package/lib/chartDisplayRules.fedfefe8.js +1 -0
- package/lib/components.chartbi.470b96af.mjs +1798 -0
- package/lib/components.chartbi.e9459775.js +8 -0
- package/lib/components.coloreditor.affa0400.mjs +1505 -0
- package/lib/components.coloreditor.dbec8da6.js +6 -0
- package/lib/components.dataassign.39281072.mjs +147 -0
- package/lib/components.dataassign.b6a1bffb.js +1 -0
- package/lib/components.echarts.95ffc3b3.mjs +811 -0
- package/lib/components.echarts.d09e9850.js +4 -0
- package/lib/components.exception.11315db5.js +1 -0
- package/lib/components.exception.facf9df9.mjs +61 -0
- package/lib/components.form.56ea8f98.js +41 -0
- package/lib/components.form.a7b3ea37.mjs +7813 -0
- package/lib/components.globalheader.0a7ce959.js +1 -0
- package/lib/components.globalheader.4a5f7225.mjs +54 -0
- package/lib/components.iconselector.0c03cfc7.js +1 -0
- package/lib/components.iconselector.251c29b9.mjs +1169 -0
- package/lib/components.imgpreview.5546e541.mjs +213 -0
- package/lib/components.imgpreview.706a89f0.js +1 -0
- package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
- package/lib/components.lunccalendar.fe7db238.js +1 -0
- package/lib/components.middleware.01601349.js +1 -0
- package/lib/components.middleware.f5f4ac0f.mjs +148 -0
- package/lib/components.modaltitle.5ded43f9.mjs +127 -0
- package/lib/components.modaltitle.cc9ba616.js +1 -0
- package/lib/components.multitab.0f9da9f3.mjs +140 -0
- package/lib/components.multitab.726cff2f.js +1 -0
- package/lib/components.selecttree.1a71c963.mjs +170 -0
- package/lib/components.selecttree.2fadffca.js +1 -0
- package/lib/components.settingdrawer.1af86231.js +1 -0
- package/lib/components.settingdrawer.adc262cf.mjs +237 -0
- package/lib/components.sidemenu.03442146.mjs +277 -0
- package/lib/components.sidemenu.5107c7e3.js +1 -0
- package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
- package/lib/components.sidenavmenu.ef33de39.js +1 -0
- package/lib/components.statuschange.805a751b.mjs +116 -0
- package/lib/components.statuschange.83646c5d.js +1 -0
- package/lib/components.table.61eb5d81.js +8 -0
- package/lib/components.table.c986e58d.mjs +4650 -0
- package/lib/components.tableumy.35b465f9.mjs +453 -0
- package/lib/components.tableumy.eba43953.js +1 -0
- package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
- package/lib/components.tablevirtual.6af04c44.js +1 -0
- package/lib/components.teamsharing.68865424.js +1 -0
- package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
- package/lib/components.tooltip.ccb1717d.mjs +86 -0
- package/lib/components.tooltip.e2e21e66.js +1 -0
- package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
- package/lib/components.uploadfile.e93b500d.js +1 -0
- package/lib/components.uploadimg.3804913e.js +1 -0
- package/lib/components.uploadimg.e49707d9.mjs +192 -0
- package/lib/components.verificationcode.5a9c0220.js +1 -0
- package/lib/components.verificationcode.ead74922.mjs +71 -0
- package/lib/components.viewformdetails.3c1596ad.js +1 -0
- package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
- package/lib/components.viewloading.5b178ec5.js +1 -0
- package/lib/components.viewloading.cb7917b7.mjs +99 -0
- package/lib/components.watermark.849409ca.js +2 -0
- package/lib/components.watermark.a2521d0c.mjs +53 -0
- package/lib/components.xlsxexport.3405a00b.js +1 -0
- package/lib/components.xlsxexport.871f87d1.mjs +263 -0
- package/lib/components.xlsximport.85ce77cf.mjs +922 -0
- package/lib/components.xlsximport.e3bcb07d.js +1 -0
- package/lib/copy.b09a6d38.js +1 -0
- package/lib/copy.c0a2f16d.mjs +572 -0
- package/lib/dialogLayout.059ee256.mjs +138 -0
- package/lib/dialogLayout.cedf2865.js +1 -0
- package/lib/drawerContainer.38d7b530.mjs +154 -0
- package/lib/drawerContainer.ea7722d7.js +1 -0
- package/lib/drawerLayout.454e4921.js +1 -0
- package/lib/drawerLayout.fad843ee.mjs +119 -0
- package/lib/editForm.c199538f.mjs +434 -0
- package/lib/editForm.f9dc93ef.js +1 -0
- package/lib/flow.designer.4c83c0d3.js +1 -0
- package/lib/flow.designer.9442a995.mjs +7673 -0
- package/lib/flow.list.4a31969e.mjs +3032 -0
- package/lib/flow.list.f41ee531.js +1 -0
- package/lib/form.build.c38bf362.js +1 -0
- package/lib/form.build.fb9f905b.mjs +259 -0
- package/lib/form.designer.build.3fdf8007.js +1 -0
- package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
- package/lib/formFiled.624b8dd3.js +1 -0
- package/lib/formFiled.94fb1dce.mjs +498 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +233 -91033
- package/lib/http.appmanage.9b22ff82.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.d3a4afd9.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.1af1e119.mjs +517 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.menumanage.09fffb7d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.1d68e914.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.3fa2dc66.mjs +40154 -0
- package/lib/index.fe757a98.js +8 -0
- package/lib/layoutBlocks.14c77a02.js +1 -0
- package/lib/layoutBlocks.5d71a03b.mjs +401 -0
- package/lib/layouts.a662f681.js +2 -0
- package/lib/layouts.ec4f20a2.mjs +376 -0
- package/lib/main.092a2ac8.js +1 -0
- package/lib/{main.c59fc1e8.mjs → main.15237e71.mjs} +12 -10
- package/lib/main.29769f01.js +1 -0
- package/lib/main.401059c6.mjs +189 -0
- package/lib/main.447be615.js +1 -0
- package/lib/main.4e507685.mjs +231 -0
- package/lib/main.72cafa63.mjs +540 -0
- package/lib/{main.4e325110.mjs → main.73f22d9e.mjs} +9 -8
- package/lib/main.7601bd3d.mjs +166 -0
- package/lib/main.79199ac2.js +1 -0
- package/lib/main.821d081b.js +1 -0
- package/lib/main.8627466a.mjs +537 -0
- package/lib/{main.955f770e.mjs → main.88e9be9d.mjs} +4 -4
- package/lib/main.8e6f6cba.mjs +323 -0
- package/lib/main.a9a54af9.js +1 -0
- package/lib/main.e033a376.js +1 -0
- package/lib/main.e2e4ba74.js +1 -0
- package/lib/{main.be62e9a4.mjs → main.e79d9e56.mjs} +113 -188
- package/lib/main.ea3a04f4.js +1 -0
- package/lib/main.f44d8279.js +1 -0
- package/lib/messages.5f54a62e.js +9 -0
- package/lib/{messages.7e418640.mjs → messages.d4354532.mjs} +4321 -5268
- package/lib/packages.filedocument.8418d852.mjs +4039 -0
- package/lib/packages.filedocument.9b8eda0d.js +1 -0
- package/lib/page.build.4d28df9a.js +12 -0
- package/lib/page.build.78cc7396.mjs +3020 -0
- package/lib/personal.echarts.940f1cc9.mjs +696 -0
- package/lib/personal.echarts.b5a7f574.js +1 -0
- package/lib/result.0161b0e0.js +1 -0
- package/lib/result.5a9330d7.mjs +627 -0
- package/lib/router.config.79a98ab8.mjs +3105 -0
- package/lib/router.config.7fd04c30.js +1 -0
- package/lib/solution.application.3ae7c0c5.js +1 -0
- package/lib/solution.application.fdc15ffc.mjs +548 -0
- package/lib/solution.applicationmenu.67aba620.js +1 -0
- package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
- package/lib/solution.approvalflow.81b7cfb7.js +1 -0
- package/lib/solution.approvalflow.a541adcc.mjs +436 -0
- package/lib/solution.dict.addbce33.mjs +769 -0
- package/lib/solution.dict.f1c9bae6.js +1 -0
- package/lib/solution.menu.2033fa37.mjs +5834 -0
- package/lib/solution.menu.6512047f.js +1 -0
- package/lib/solution.plugin.7094dbfd.js +1 -0
- package/lib/solution.plugin.d8f057cb.mjs +347 -0
- package/lib/solution.processflow.0adf4f55.js +1 -0
- package/lib/solution.processflow.a779bd58.mjs +392 -0
- package/lib/solution.role.d35cb00d.js +1 -0
- package/lib/solution.role.d9a4b25a.mjs +456 -0
- package/lib/solution.webresources.e1421655.mjs +379 -0
- package/lib/solution.webresources.e817757c.js +1 -0
- package/lib/solution.workflow.59552b8c.mjs +395 -0
- package/lib/solution.workflow.985e1f4d.js +1 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/store.config.5e5cb48a.mjs +547 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1b281679.js +216 -0
- package/lib/system.account.96d5bc17.mjs +2093 -0
- package/lib/system.config.0ff45e62.js +1 -0
- package/lib/{system.config.f0d2d130.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.61ff56ec.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.a817cf68.mjs → system.dict.3697546d.mjs} +269 -344
- package/lib/system.dict.8e4fe6b0.js +1 -0
- package/lib/system.document.69e534a6.js +1 -0
- package/lib/system.document.8e4dbe5e.mjs +667 -0
- package/lib/system.duplicatechecking.1083eb1e.js +1 -0
- package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
- package/lib/system.email.06bb7cc1.mjs +133 -0
- package/lib/system.email.41036a31.js +1 -0
- package/lib/system.fieldsecurity.3ea880d8.js +1 -0
- package/lib/{system.fieldsecurity.6feb94c3.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.1930d109.mjs → system.file.8ccc4569.mjs} +84 -151
- package/lib/system.file.b8e4e6a1.js +1 -0
- package/lib/system.log.14c22a7a.js +1 -0
- package/lib/{system.log.61d303bd.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.ed69ec93.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.bd18554e.mjs → system.notice.dc1b67cc.mjs} +1075 -1263
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.4dc360c0.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.08a15a71.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
- package/lib/system.onlineuser.fc26aff9.js +1 -0
- package/lib/system.org.b6f826e8.js +1 -0
- package/lib/{system.org.6e858bf3.mjs → system.org.dd710a91.mjs} +3 -3
- package/lib/system.permissions.75406743.mjs +972 -0
- package/lib/system.permissions.97f68887.js +1 -0
- package/lib/system.plugin.3fcf7b0b.js +1 -0
- package/lib/{system.plugin.a1f1c194.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.eb8fd7dd.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.c84db7d5.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.d2195303.mjs → system.role.9edb5922.mjs} +601 -523
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.141dc00b.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
- package/lib/system.sumberrules.5e9cd262.js +1 -0
- package/lib/system.team.3e605266.js +1 -0
- package/lib/system.team.bb1fb40e.mjs +452 -0
- package/lib/system.teammembers.a098883b.js +1 -0
- package/lib/{system.teammembers.d73c659f.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.4a3dd57d.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.d9488c23.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.6874aa87.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.5e3e2bab.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
- package/lib/system.useraffiliation.f8b33def.js +1 -0
- package/lib/system.webresource.1d3ed352.js +1 -0
- package/lib/{system.webresource.204911b7.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.79e15015.mjs → system.welcome.573a76db.mjs} +10 -3
- package/lib/system.welcome.eedf1db2.js +1 -0
- package/lib/tableDescriptions.923c4ef1.mjs +80 -0
- package/lib/tableDescriptions.b12679b0.js +1 -0
- package/lib/tcheckboxs.887d733c.mjs +52 -0
- package/lib/tcheckboxs.fe7e574a.js +1 -0
- package/lib/tcurrency.10ac9aa7.mjs +85 -0
- package/lib/tcurrency.20e959c0.js +1 -0
- package/lib/tdatepicker.54036bba.js +1 -0
- package/lib/tdatepicker.a08ad382.mjs +52 -0
- package/lib/tdictSwitch.274e9f86.js +1 -0
- package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
- package/lib/tfile.5c897827.js +1 -0
- package/lib/tfile.f63b73b9.mjs +62 -0
- package/lib/tparticipants.4698962b.mjs +56 -0
- package/lib/tparticipants.b6fb4545.js +1 -0
- package/lib/translation.mains.5cfc7a2f.js +1 -0
- package/lib/translation.mains.e6cb610b.mjs +383 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.885de913.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/view.build.051553d8.mjs +1578 -0
- package/lib/view.build.9af3087b.js +1 -0
- package/lib/viewList.209956c3.js +1 -0
- package/lib/viewList.c05c92be.mjs +318 -0
- package/lib/viewTree.0cd9f1a2.js +1 -0
- package/lib/viewTree.c5290360.mjs +409 -0
- package/locale/en_US.js +96 -29
- package/locale/id_ID.js +80 -13
- package/locale/vi_VN.js +2015 -1948
- package/locale/zh_CN.js +100 -33
- package/package.json +106 -105
- package/lib/chartbi.b5b6fdab.js +0 -60
- package/lib/chartbi.b6818e8e.mjs +0 -27604
- package/lib/main.6713b76c.js +0 -1
- package/lib/main.a28f67df.js +0 -1
- package/lib/main.b4a303dc.js +0 -1
- package/lib/main.f3ae0933.js +0 -1
- package/lib/messages.1346558e.js +0 -9
- package/lib/system.account.64fbdaeb.mjs +0 -2552
- package/lib/system.account.7c43a95e.js +0 -216
- package/lib/system.config.93d6cb7d.js +0 -1
- package/lib/system.datasource.4bb39222.js +0 -1
- package/lib/system.dict.5a2e60fe.js +0 -1
- package/lib/system.duplicatechecking.65b77e64.js +0 -1
- package/lib/system.duplicatechecking.751664ba.mjs +0 -2142
- package/lib/system.email.2f53252e.mjs +0 -7432
- package/lib/system.email.fec5ae26.js +0 -41
- package/lib/system.fieldsecurity.920adca4.js +0 -1
- package/lib/system.file.5a9a5e0e.js +0 -1
- package/lib/system.log.b309c0e0.js +0 -1
- package/lib/system.machine.9368e508.js +0 -1
- package/lib/system.notice.ff62c06a.js +0 -1
- package/lib/system.noticereceived.9550818b.js +0 -1
- package/lib/system.onlineuser.6cf4fe24.js +0 -1
- package/lib/system.org.0c67131d.js +0 -1
- package/lib/system.permissions.af548a3b.js +0 -9
- package/lib/system.permissions.cc5ac7ac.mjs +0 -212
- package/lib/system.plugin.83d03fb2.js +0 -1
- package/lib/system.pos.eae2051e.js +0 -1
- package/lib/system.promptmanagement.04501417.js +0 -1
- package/lib/system.role.e623c50b.js +0 -1
- package/lib/system.sumberrules.a01e1805.js +0 -1
- package/lib/system.team.0cebcde7.js +0 -1
- package/lib/system.team.27a6d5d5.mjs +0 -1000
- package/lib/system.teammembers.b67f003f.js +0 -1
- package/lib/system.timers.b27fcb6d.js +0 -38
- package/lib/system.translation.d2c982ed.js +0 -1
- package/lib/system.user.0664c21c.js +0 -14
- package/lib/system.useraffiliation.6b7a1612.js +0 -1
- package/lib/system.webresource.5de18052.js +0 -1
- package/lib/system.welcome.ec7aa744.js +0 -1
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { m as n, n as r } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
import { n as d, $ as c } from "./http.main.1af1e119.mjs";
|
|
3
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
+
import "./utils.util.js.885de913.mjs";
|
|
5
|
+
const h = {
|
|
6
|
+
name: "ApprovalMpdel",
|
|
7
|
+
nodeJson: {
|
|
8
|
+
type: Object,
|
|
9
|
+
required: !0
|
|
10
|
+
},
|
|
11
|
+
showCurrent1: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default() {
|
|
14
|
+
return !1;
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
data() {
|
|
18
|
+
return {
|
|
19
|
+
fullscreen: !1,
|
|
20
|
+
allowAddSignature: !1,
|
|
21
|
+
allowCC: !1,
|
|
22
|
+
allowReturn: !1,
|
|
23
|
+
allowTransfer: !1,
|
|
24
|
+
sendModel: !1,
|
|
25
|
+
rejectModel: !1,
|
|
26
|
+
showEditTrans: !1,
|
|
27
|
+
showEdit: !1,
|
|
28
|
+
showEditSign: !1,
|
|
29
|
+
sonMaskList: [],
|
|
30
|
+
sonTurretList: [],
|
|
31
|
+
sonEndorseList: [],
|
|
32
|
+
optionSign: "1",
|
|
33
|
+
atureSign: "1",
|
|
34
|
+
optionallowCC: "1",
|
|
35
|
+
optionShow: !1,
|
|
36
|
+
atureShow: !1,
|
|
37
|
+
allowccShow: !1,
|
|
38
|
+
radioStyle: {
|
|
39
|
+
display: "block",
|
|
40
|
+
height: "30px",
|
|
41
|
+
lineHeight: "30px"
|
|
42
|
+
},
|
|
43
|
+
visible: !1,
|
|
44
|
+
visible1: !1,
|
|
45
|
+
sourceNameData: [],
|
|
46
|
+
queryParam: {},
|
|
47
|
+
selectedValue: "",
|
|
48
|
+
taskId: "",
|
|
49
|
+
type: 1,
|
|
50
|
+
endorseList: [],
|
|
51
|
+
turrenteList: [],
|
|
52
|
+
counterSign: "1",
|
|
53
|
+
approvalType: "0",
|
|
54
|
+
seeList: [],
|
|
55
|
+
menberList: [],
|
|
56
|
+
employeeId: "",
|
|
57
|
+
approvers: [],
|
|
58
|
+
masklistID: [],
|
|
59
|
+
turrenteListID: [],
|
|
60
|
+
endorseListID: [],
|
|
61
|
+
showMulti: !1,
|
|
62
|
+
back: !1,
|
|
63
|
+
sign: !0,
|
|
64
|
+
trans: !0,
|
|
65
|
+
sonMenberList: [],
|
|
66
|
+
maxItem: 2,
|
|
67
|
+
reacds: null,
|
|
68
|
+
arr: null,
|
|
69
|
+
selectArr: !1,
|
|
70
|
+
showArr: null
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
components: {
|
|
74
|
+
Menbers: () => import("./flow.designer.9442a995.mjs").then((a) => a.i),
|
|
75
|
+
MenberRadio: () => import("./flow.designer.9442a995.mjs").then((a) => a.e)
|
|
76
|
+
},
|
|
77
|
+
mounted() {
|
|
78
|
+
},
|
|
79
|
+
computed: {
|
|
80
|
+
title() {
|
|
81
|
+
return this.$i18nt("gd.btn.back");
|
|
82
|
+
},
|
|
83
|
+
styled() {
|
|
84
|
+
return {
|
|
85
|
+
position: "absolute",
|
|
86
|
+
right: 0,
|
|
87
|
+
bottom: 0,
|
|
88
|
+
width: "100%",
|
|
89
|
+
borderTop: "1px solid #e9e9e9",
|
|
90
|
+
padding: "10px 16px",
|
|
91
|
+
background: "#fff",
|
|
92
|
+
textAlign: "right",
|
|
93
|
+
zIndex: 1
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
...n(["labelPosition"])
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
togglefullscreen() {
|
|
100
|
+
},
|
|
101
|
+
open(a, t, s, i, o) {
|
|
102
|
+
this.visible = !0, this.type = s, this.arr = i, this.showArr = o, this.getTaskDetail(a, t), this.type != 3 && this.getMenber();
|
|
103
|
+
},
|
|
104
|
+
getMenber() {
|
|
105
|
+
d().then((a) => {
|
|
106
|
+
let t, s;
|
|
107
|
+
if (this.type == 1 && (this.arr && (t = this.arr.transferApprovers), this.showArr && (s = this.showArr)), this.type == 2 && (this.arr && (t = this.arr.addSignatureApprovers), this.showArr && (s = this.showArr)), a.code == 200) {
|
|
108
|
+
const i = (o) => (o = o.filter((l, f) => (l.children && l.children.length > 0 && (l.children = i(l.children)), t.length > 0 && (t.indexOf(l.id) > -1 ? l.disabled = !1 : l.disabled = !0), s.length > 0 && s.indexOf(l.name) > -1 && (l.disabled = !0), l.key = l.id, l.title = l.name, !0)), o);
|
|
109
|
+
i(a.data), this.menberList = a.data;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
},
|
|
113
|
+
handleOk() {
|
|
114
|
+
let a = {};
|
|
115
|
+
if (this.type == 2) {
|
|
116
|
+
let t = [];
|
|
117
|
+
this.endorseList.forEach((i) => {
|
|
118
|
+
t.push(i.id);
|
|
119
|
+
}), this.sonMaskList.forEach((i) => {
|
|
120
|
+
this.masklistID.push(i.id);
|
|
121
|
+
}), this.sonTurretList.forEach((i) => {
|
|
122
|
+
this.turrenteListID.push(i.id);
|
|
123
|
+
}), this.sonEndorseList.forEach((i) => {
|
|
124
|
+
this.endorseListID.push(i.id);
|
|
125
|
+
});
|
|
126
|
+
let s = {
|
|
127
|
+
assigneeType: "1",
|
|
128
|
+
managerLevel: "1",
|
|
129
|
+
counterSign: this.counterSign,
|
|
130
|
+
tableName: "",
|
|
131
|
+
approvers: t,
|
|
132
|
+
currentTableName: "Ceshi",
|
|
133
|
+
currentFieldName: "",
|
|
134
|
+
tableFields: [],
|
|
135
|
+
autoApprvalType: "1",
|
|
136
|
+
businessUnitId: "",
|
|
137
|
+
allowReturn: this.sendModel,
|
|
138
|
+
showreject: this.rejectModel,
|
|
139
|
+
allowTransfer: this.allowTransfer,
|
|
140
|
+
allowAddSignature: this.allowAddSignature,
|
|
141
|
+
allowCC: this.allowCC,
|
|
142
|
+
allowccShow: this.allowccShow,
|
|
143
|
+
optionallowCC: this.optionallowCC,
|
|
144
|
+
CCApprovers: this.masklistID,
|
|
145
|
+
transferApprovers: this.turrenteListID,
|
|
146
|
+
atureShow: this.atureShow,
|
|
147
|
+
atureSign: this.atureSign,
|
|
148
|
+
addSignatureApprovers: this.endorseListID,
|
|
149
|
+
optionShow: this.optionShow,
|
|
150
|
+
optionSign: this.optionSign
|
|
151
|
+
};
|
|
152
|
+
a = {
|
|
153
|
+
taskIds: this.taskId,
|
|
154
|
+
opinion: this.queryParam.optionEnd,
|
|
155
|
+
type: this.approvalType,
|
|
156
|
+
nodePropertyJson: s
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
this.type == 1 && (a = {
|
|
160
|
+
taskIds: this.taskId,
|
|
161
|
+
opinion: this.queryParam.optionTrans,
|
|
162
|
+
nodeId: this.employeeId
|
|
163
|
+
}), this.type == 3 && (a = {
|
|
164
|
+
taskIds: this.taskId,
|
|
165
|
+
opinion: this.queryParam.content,
|
|
166
|
+
nodeId: this.queryParam.backId
|
|
167
|
+
}), this.visible = !1, this.$emit("ok", a, this.type);
|
|
168
|
+
},
|
|
169
|
+
handleCancel() {
|
|
170
|
+
this.visible = !1;
|
|
171
|
+
},
|
|
172
|
+
handleChange(a) {
|
|
173
|
+
this.selectArr = !0, this.queryParam.backId = a, this.$forceUpdate();
|
|
174
|
+
},
|
|
175
|
+
getTaskDetail(a, t) {
|
|
176
|
+
this.sourceNameData = [], c({
|
|
177
|
+
tableDataId: a,
|
|
178
|
+
tableId: t.id
|
|
179
|
+
}).then((s) => {
|
|
180
|
+
this.taskId = s.data.approvalinfo.sysapprovaltaskid;
|
|
181
|
+
let i = s.data.approvalinfo.approvalnodeinfos.filter((o, l) => {
|
|
182
|
+
if (o.status == 2 && o.nodetype != "circulate")
|
|
183
|
+
return o.id = o.id, o.name = o.name, !0;
|
|
184
|
+
});
|
|
185
|
+
i[i.length - 1].name = i[i.length - 1].name + "(\u4E0A\u4E00\u6B65)", this.sourceNameData = i, this.queryParam.backId = this.sourceNameData[this.sourceNameData.length - 1].id;
|
|
186
|
+
});
|
|
187
|
+
},
|
|
188
|
+
addMember() {
|
|
189
|
+
if (this.type == 2 && this.$refs.menbers.init(this.endorseList, this.type), this.type == 1) {
|
|
190
|
+
let a = 6;
|
|
191
|
+
this.$refs.menbers.init(this.turrenteList, a);
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
delMask(a, t) {
|
|
195
|
+
if (t == 1) {
|
|
196
|
+
let s = this.endorseList.filter((i) => i != a);
|
|
197
|
+
this.endorseList = [...s], this.endorseList.length > 0 ? this.sign = !1 : this.sign = !0, this.endorseList.length > 1 ? this.showMulti = !0 : this.showMulti = !1;
|
|
198
|
+
} else if (t == 2) {
|
|
199
|
+
let s = this.turrenteList.filter((i) => i != a);
|
|
200
|
+
this.turrenteList = [...s], this.turrenteList.length > 0 ? this.trans = !1 : this.trans = !0;
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
selMenbers(a, t) {
|
|
204
|
+
console.log(a, t), t == 2 && a && (this.endorseList = [...a], this.endorseList.length > 1 ? this.showMulti = !0 : this.showMulti = !1, this.endorseList.length > 0 ? this.sign = !1 : this.sign = !0), t == 6 && a && (this.employeeId = a.length == 0 ? "" : a[0].id, this.turrenteList = [...a], this.turrenteList.length > 0 ? this.trans = !1 : this.trans = !0);
|
|
205
|
+
},
|
|
206
|
+
delEnd(a, t) {
|
|
207
|
+
if (t == 1) {
|
|
208
|
+
let s = this.sonMaskList.filter((i) => i != a);
|
|
209
|
+
this.sonMaskList = [...s];
|
|
210
|
+
} else if (t == 2) {
|
|
211
|
+
let s = this.sonTurretList.filter((i) => i != a);
|
|
212
|
+
this.sonTurretList = [...s];
|
|
213
|
+
} else if (t == 3) {
|
|
214
|
+
let s = this.sonEndorseList.filter((i) => i != a);
|
|
215
|
+
this.sonEndorseList = [...s];
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
selMenberRadio(a, t) {
|
|
219
|
+
a && (t == 2 ? this.sonMaskList = [...a] : t == 3 ? this.sonTurretList = [...a] : t == 4 && (this.sonEndorseList = [...a]));
|
|
220
|
+
},
|
|
221
|
+
returnClick(a) {
|
|
222
|
+
this.sendModel = a;
|
|
223
|
+
},
|
|
224
|
+
rejectClick() {
|
|
225
|
+
this.rejectModel = e;
|
|
226
|
+
},
|
|
227
|
+
onChange(a) {
|
|
228
|
+
a == !0 ? (this.allowccShow = !0, this.optionallowCC = "1") : a == !1 && (this.allowccShow = !1, this.optionallowCC = ""), this.sonMaskList = [], this.showEdit = !1, this.allowCC = a;
|
|
229
|
+
},
|
|
230
|
+
onChange1(a) {
|
|
231
|
+
a == !0 ? (this.atureShow = !0, this.atureSign = "1") : (this.atureShow = !1, this.atureSign = ""), this.sonTurretList = [], this.showEditTrans = !1, this.allowTransfer = a;
|
|
232
|
+
},
|
|
233
|
+
onChange2(a) {
|
|
234
|
+
a == !0 ? (this.optionShow = !0, this.optionSign = "1") : (this.optionShow = !1, this.optionSign = ""), this.sonEndorseList = [], this.showEditSign = !1, this.allowAddSignature = a;
|
|
235
|
+
},
|
|
236
|
+
edit() {
|
|
237
|
+
this.id = 2, this.$refs.menberRadio.init(this.sonMaskList, this.id);
|
|
238
|
+
},
|
|
239
|
+
editSign() {
|
|
240
|
+
this.id = 3, this.$refs.menberRadio.init(this.sonTurretList, this.id);
|
|
241
|
+
},
|
|
242
|
+
editCC() {
|
|
243
|
+
this.id = 4, this.$refs.menberRadio.init(this.sonEndorseList, this.id);
|
|
244
|
+
},
|
|
245
|
+
radioCC(a) {
|
|
246
|
+
a == "2" ? this.showEdit = !0 : (this.showEdit = !1, this.sonMaskList = []), this.optionallowCC = a;
|
|
247
|
+
},
|
|
248
|
+
radioTrans(a) {
|
|
249
|
+
a == "2" ? this.showEditTrans = !0 : (this.showEditTrans = !1, this.sonTurretList = []), this.atureSign = a;
|
|
250
|
+
},
|
|
251
|
+
radioSign(a) {
|
|
252
|
+
a == "2" ? this.showEditSign = !0 : (this.showEditSign = !1, this.sonEndorseList = []), this.optionSign = a;
|
|
253
|
+
},
|
|
254
|
+
doEvent(a) {
|
|
255
|
+
let t = a.item.functionName;
|
|
256
|
+
this[t] && this[t]();
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
var p = function() {
|
|
261
|
+
var t = this, s = t._self._c;
|
|
262
|
+
return s("div", { staticClass: "approval-mpdel" }, [s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: "700px", 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(i) {
|
|
263
|
+
t.visible = i;
|
|
264
|
+
}, closed: t.handleCancel } }, [s("gd-modal-title", { attrs: { slot: "title", title: t.title, buttons: [], closed: "handleCancel", showClose: !0, showFullscreen: !1 }, on: { changeEvent: t.doEvent }, slot: "title" }), s("el-form", { attrs: { "label-width": "100px", "label-position": t.labelPosition }, nativeOn: { submit: function(i) {
|
|
265
|
+
i.preventDefault();
|
|
266
|
+
} } }, [t.type == 3 ? s("div", [s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.fallback", "\u9000\u56DE\u5230") } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.approvalPlug.backNode", "\u9009\u62E9\u9000\u56DE\u8282\u70B9"), clearable: "" }, on: { change: t.handleChange }, model: { value: t.queryParam.backId, callback: function(i) {
|
|
267
|
+
t.$set(t.queryParam, "backId", i);
|
|
268
|
+
}, expression: "queryParam.backId" } }, t._l(t.sourceNameData, function(i, o) {
|
|
269
|
+
return s("el-option", { key: i.id, attrs: { value: i.id, label: i.name } });
|
|
270
|
+
}), 1)], 1), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.rollbackcause", "\u9000\u56DE\u539F\u56E0") } }, [s("el-input", { staticStyle: { width: "100%" }, attrs: { type: "textarea", rows: "3", placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.queryParam.content, callback: function(i) {
|
|
271
|
+
t.$set(t.queryParam, "content", i);
|
|
272
|
+
}, expression: "queryParam.content" } })], 1)], 1) : t._e(), t.type == 2 ? s("div", [s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.countersignp") } }, [s("div", { staticClass: "rectangle" }, [s("div", { staticClass: "b" }, [t._l(t.endorseList.slice(0, 3), function(i, o) {
|
|
273
|
+
return s("div", { key: o }, [s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
|
|
274
|
+
return t.delMask(i, 1);
|
|
275
|
+
} } })])])]);
|
|
276
|
+
}), t.endorseList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e(), s("div", { staticClass: "item fl" }, [s("div", { staticClass: "jia", on: { click: t.addMember } }, [s("i", { staticClass: "el-icon-plus icon" })])])], 2)])]), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.countersignMen") } }, [s("el-radio-group", { model: { value: t.approvalType, callback: function(i) {
|
|
277
|
+
t.approvalType = i;
|
|
278
|
+
}, expression: "approvalType" } }, [s("el-radio", { attrs: { label: "0" } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.beforeSigning")) + " ")]), s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.afterSigning")) + " ")])], 1)], 1), s("el-form-item", { directives: [{ name: "show", rawName: "v-show", value: t.showMulti, expression: "showMulti" }], attrs: { label: t.$i18nt("gd.approvalPlug.multiPerson") } }, [s("el-radio-group", { model: { value: t.counterSign, callback: function(i) {
|
|
279
|
+
t.counterSign = i;
|
|
280
|
+
}, expression: "counterSign" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.signatureOr")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.andtlySign")) + " ")])], 1)], 1), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.counterOption") } }, [s("el-input", { staticStyle: { width: "100%" }, attrs: { type: "textarea", rows: "3", placeholder: t.$i18nt("gd.placeholder.endOption") }, model: { value: t.queryParam.optionEnd, callback: function(i) {
|
|
281
|
+
t.$set(t.queryParam, "optionEnd", i);
|
|
282
|
+
}, expression: "queryParam.optionEnd" } })], 1), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.labelBtn") } }, [s("div", { staticStyle: { "line-height": "30px" } }, [s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
|
|
283
|
+
return t.returnClick(i);
|
|
284
|
+
} }, model: { value: t.sendModel, callback: function(i) {
|
|
285
|
+
t.sendModel = i;
|
|
286
|
+
}, expression: "sendModel" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowReturn")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentReturn", "\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9000\u56DE\u5230\u5386\u53F2\u8282\u70B9") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })])], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
|
|
287
|
+
return t.rejectClick(i);
|
|
288
|
+
} }, model: { value: t.rejectModel, callback: function(i) {
|
|
289
|
+
t.rejectModel = i;
|
|
290
|
+
}, expression: "rejectModel" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowRreject", "\u9A73\u56DE")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.showReject", "\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9A73\u56DE\u5230\u63D0\u4EA4\u4EBA(\u6D41\u7A0B\u4F5C\u5E9F)") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })])], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
|
|
291
|
+
return t.onChange(i);
|
|
292
|
+
} }, model: { value: t.allowCC, callback: function(i) {
|
|
293
|
+
t.allowCC = i;
|
|
294
|
+
}, expression: "allowCC" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowCC")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentCC", "\u662F\u5426\u5141\u8BB8\u5C06\u5F53\u524D\u5BA1\u6279\u7ED3\u679C\u53D1\u9001\u7ED9\u6307\u5B9A\u4EBA\u5458") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })]), s("div", { staticClass: "rectangle" }, [s("el-radio-group", { directives: [{ name: "show", rawName: "v-show", value: t.allowccShow, expression: "allowccShow" }], attrs: { name: "radioGroup" }, on: { change: t.radioCC }, model: { value: t.optionallowCC, callback: function(i) {
|
|
295
|
+
t.optionallowCC = i;
|
|
296
|
+
}, expression: "optionallowCC" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionalCC", "\u4E0D\u9650\u8303\u56F4")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionaAssign", "\u6307\u5B9A\u8303\u56F4")) + " ")])], 1), s("a", { directives: [{ name: "show", rawName: "v-show", value: t.showEdit, expression: "showEdit" }], staticClass: "question", on: { click: t.edit } }, [t._v(" " + t._s(t.$i18nt("gd.develop.teamSharing.edit", "\u4FEE\u6539")) + " ")]), s("div", { staticClass: "b" }, [t._l(t.sonMaskList.slice(0, 3), function(i, o) {
|
|
297
|
+
return [i.type == 2 ? s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
|
|
298
|
+
return t.delEnd(i, 1);
|
|
299
|
+
} } })])]) : t._e()];
|
|
300
|
+
}), t.sonMaskList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e()], 2)], 1)], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
|
|
301
|
+
return t.onChange1(i);
|
|
302
|
+
} }, model: { value: t.allowTransfer, callback: function(i) {
|
|
303
|
+
t.allowTransfer = i;
|
|
304
|
+
}, expression: "allowTransfer" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowTransfer")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentTrans", "\u662F\u5426\u5141\u8BB8\u5BA1\u6279\u4EBA\u5C06\u5BA1\u6279\u4EFB\u52A1\u8F6C\u7ED9\u6307\u5B9A\u4EBA\u5458") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })]), s("div", { staticClass: "rectangle" }, [s("el-radio-group", { directives: [{ name: "show", rawName: "v-show", value: t.atureShow, expression: "atureShow" }], attrs: { name: "radioGroup" }, on: { change: t.radioTrans }, model: { value: t.atureSign, callback: function(i) {
|
|
305
|
+
t.atureSign = i;
|
|
306
|
+
}, expression: "atureSign" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionalCC", "\u4E0D\u9650\u8303\u56F4")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionaAssign", "\u6307\u5B9A\u8303\u56F4")) + " ")])], 1), s("a", { directives: [{ name: "show", rawName: "v-show", value: t.showEditTrans, expression: "showEditTrans" }], staticClass: "question", on: { click: t.editSign } }, [t._v(" " + t._s(t.$i18nt("gd.develop.teamSharing.edit", "\u4FEE\u6539")) + " ")]), s("div", { staticClass: "b" }, [t._l(t.sonTurretList.slice(0, 3), function(i, o) {
|
|
307
|
+
return [i.type == 2 ? s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
|
|
308
|
+
return t.delEnd(i, 2);
|
|
309
|
+
} } })])]) : t._e()];
|
|
310
|
+
}), t.sonTurretList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e()], 2)], 1)], 1), s("div", { staticClass: "div-checkboox" }, [s("el-checkbox", { on: { change: function(i) {
|
|
311
|
+
return t.onChange2(i);
|
|
312
|
+
} }, model: { value: t.allowAddSignature, callback: function(i) {
|
|
313
|
+
t.allowAddSignature = i;
|
|
314
|
+
}, expression: "allowAddSignature" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.allowAddSignature")) + " ")]), s("el-popover", { attrs: { placement: "right", trigger: "hover", content: t.$i18nt("gd.flow.approval.contentSign", "\u662F\u5426\u5141\u8BB8\u5F53\u524D\u5BA1\u6279\u4EBA\u6DFB\u52A0\u6307\u5B9A\u4EBA\u5458\u8FDB\u884C\u5BA1\u6279") } }, [s("i", { staticClass: "gd-icons gd-icon-question-line question", attrs: { slot: "reference" }, slot: "reference" })]), s("div", { staticClass: "rectangle" }, [s("el-radio-group", { directives: [{ name: "show", rawName: "v-show", value: t.optionShow, expression: "optionShow" }], attrs: { name: "radioGroup" }, on: { change: t.radioSign }, model: { value: t.optionSign, callback: function(i) {
|
|
315
|
+
t.optionSign = i;
|
|
316
|
+
}, expression: "optionSign" } }, [s("el-radio", { attrs: { label: "1" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionalCC", "\u4E0D\u9650\u8303\u56F4")) + " ")]), s("el-radio", { attrs: { label: "2" } }, [t._v(" " + t._s(t.$i18nt("gd.flow.approval.optionaAssign", "\u6307\u5B9A\u8303\u56F4")) + " ")])], 1), s("a", { directives: [{ name: "show", rawName: "v-show", value: t.showEditSign, expression: "showEditSign" }], staticClass: "question", on: { click: t.editCC } }, [t._v(" " + t._s(t.$i18nt("gd.develop.teamSharing.edit", "\u4FEE\u6539")) + " ")]), s("div", { staticClass: "b" }, [t._l(t.sonEndorseList.slice(0, 3), function(i, o) {
|
|
317
|
+
return [i.type == 2 ? s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
|
|
318
|
+
return t.delEnd(i, 3);
|
|
319
|
+
} } })])]) : t._e()];
|
|
320
|
+
}), t.sonEndorseList.length >= 3 ? s("div", { staticClass: "item fl" }, [s("i", { staticClass: "el-icon-more shlh" })]) : t._e()], 2)], 1)], 1)])])], 1) : t._e(), t.type == 1 ? s("div", [s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.transPop") } }, [s("div", { staticClass: "rectangle" }, [s("div", { staticClass: "b" }, [t._l(t.turrenteList, function(i, o) {
|
|
321
|
+
return [s("div", { staticClass: "item fl" }, [s("div", { staticClass: "name line1" }, [s("i", { staticClass: "gd-icons gd-icon-user", attrs: { slot: "dot" }, slot: "dot" }), s("span", [t._v(t._s(i.name))]), s("i", { staticClass: "el-icon-close cuo", on: { click: function(l) {
|
|
322
|
+
return t.delMask(i, 2);
|
|
323
|
+
} } })])])];
|
|
324
|
+
}), s("div", { staticClass: "item fl" }, [s("div", { staticClass: "jia", on: { click: t.addMember } }, [s("i", { staticClass: "el-icon-plus icon" })])])], 2)])]), s("el-form-item", { attrs: { label: t.$i18nt("gd.approvalPlug.transOption") } }, [s("el-input", { staticStyle: { width: "100%" }, attrs: { type: "textarea", rows: "3", placeholder: t.$i18nt("gd.placeholder.transOption") }, model: { value: t.queryParam.optionTrans, callback: function(i) {
|
|
325
|
+
t.$set(t.queryParam, "optionTrans", i);
|
|
326
|
+
}, expression: "queryParam.optionTrans" } })], 1)], 1) : t._e()]), s("template", { slot: "footer" }, [t.type == 3 ? s("el-button", { attrs: { type: "primary", disabled: t.back }, on: { click: t.handleOk } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.configBack", "\u786E\u8BA4\u9000\u56DE")) + " ")]) : t._e(), t.type == 2 ? s("el-button", { attrs: { type: "primary", disabled: t.sign }, on: { click: t.handleOk } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.configSign", "\u786E\u8BA4\u52A0\u7B7E")) + " ")]) : t._e(), t.type == 1 ? s("el-button", { attrs: { type: "primary", disabled: t.trans }, on: { click: t.handleOk } }, [t._v(" " + t._s(t.$i18nt("gd.approvalPlug.configTransfer", "\u786E\u8BA4\u8F6C\u5BA1")) + " ")]) : t._e()], 1)], 2), s("Menbers", { ref: "menbers", attrs: { menberList: t.menberList }, on: { ok: t.selMenbers } }), s("MenberRadio", { ref: "menberRadio", on: { ok: t.selMenberRadio } })], 1);
|
|
327
|
+
}, u = [], g = /* @__PURE__ */ r(
|
|
328
|
+
h,
|
|
329
|
+
p,
|
|
330
|
+
u,
|
|
331
|
+
!1,
|
|
332
|
+
null,
|
|
333
|
+
"31a9f90d",
|
|
334
|
+
null,
|
|
335
|
+
null
|
|
336
|
+
);
|
|
337
|
+
const b = g.exports;
|
|
338
|
+
export {
|
|
339
|
+
b as default
|
|
340
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./components.chartbi.e9459775.js"),n=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const d={name:"ApprovalMpdel",nodeJson:{type:Object,required:!0},showCurrent1:{type:Boolean,default(){return!1}},data(){return{fullscreen:!1,allowAddSignature:!1,allowCC:!1,allowReturn:!1,allowTransfer:!1,sendModel:!1,rejectModel:!1,showEditTrans:!1,showEdit:!1,showEditSign:!1,sonMaskList:[],sonTurretList:[],sonEndorseList:[],optionSign:"1",atureSign:"1",optionallowCC:"1",optionShow:!1,atureShow:!1,allowccShow:!1,radioStyle:{display:"block",height:"30px",lineHeight:"30px"},visible:!1,visible1:!1,sourceNameData:[],queryParam:{},selectedValue:"",taskId:"",type:1,endorseList:[],turrenteList:[],counterSign:"1",approvalType:"0",seeList:[],menberList:[],employeeId:"",approvers:[],masklistID:[],turrenteListID:[],endorseListID:[],showMulti:!1,back:!1,sign:!0,trans:!0,sonMenberList:[],maxItem:2,reacds:null,arr:null,selectArr:!1,showArr:null}},components:{Menbers:()=>Promise.resolve().then(()=>require("./flow.designer.4c83c0d3.js")).then(a=>a.index),MenberRadio:()=>Promise.resolve().then(()=>require("./flow.designer.4c83c0d3.js")).then(a=>a.index$2)},mounted(){},computed:{title(){return this.$i18nt("gd.btn.back")},styled(){return{position:"absolute",right:0,bottom:0,width:"100%",borderTop:"1px solid #e9e9e9",padding:"10px 16px",background:"#fff",textAlign:"right",zIndex:1}},...r.mapGetters(["labelPosition"])},methods:{togglefullscreen(){},open(a,t,s,i,o){this.visible=!0,this.type=s,this.arr=i,this.showArr=o,this.getTaskDetail(a,t),this.type!=3&&this.getMenber()},getMenber(){n.getBUEmployeeTree().then(a=>{let t,s;if(this.type==1&&(this.arr&&(t=this.arr.transferApprovers),this.showArr&&(s=this.showArr)),this.type==2&&(this.arr&&(t=this.arr.addSignatureApprovers),this.showArr&&(s=this.showArr)),a.code==200){const i=o=>(o=o.filter((l,g)=>(l.children&&l.children.length>0&&(l.children=i(l.children)),t.length>0&&(t.indexOf(l.id)>-1?l.disabled=!1:l.disabled=!0),s.length>0&&s.indexOf(l.name)>-1&&(l.disabled=!0),l.key=l.id,l.title=l.name,!0)),o);i(a.data),this.menberList=a.data}})},handleOk(){let a={};if(this.type==2){let t=[];this.endorseList.forEach(i=>{t.push(i.id)}),this.sonMaskList.forEach(i=>{this.masklistID.push(i.id)}),this.sonTurretList.forEach(i=>{this.turrenteListID.push(i.id)}),this.sonEndorseList.forEach(i=>{this.endorseListID.push(i.id)});let s={assigneeType:"1",managerLevel:"1",counterSign:this.counterSign,tableName:"",approvers:t,currentTableName:"Ceshi",currentFieldName:"",tableFields:[],autoApprvalType:"1",businessUnitId:"",allowReturn:this.sendModel,showreject:this.rejectModel,allowTransfer:this.allowTransfer,allowAddSignature:this.allowAddSignature,allowCC:this.allowCC,allowccShow:this.allowccShow,optionallowCC:this.optionallowCC,CCApprovers:this.masklistID,transferApprovers:this.turrenteListID,atureShow:this.atureShow,atureSign:this.atureSign,addSignatureApprovers:this.endorseListID,optionShow:this.optionShow,optionSign:this.optionSign};a={taskIds:this.taskId,opinion:this.queryParam.optionEnd,type:this.approvalType,nodePropertyJson:s}}this.type==1&&(a={taskIds:this.taskId,opinion:this.queryParam.optionTrans,nodeId:this.employeeId}),this.type==3&&(a={taskIds:this.taskId,opinion:this.queryParam.content,nodeId:this.queryParam.backId}),this.visible=!1,this.$emit("ok",a,this.type)},handleCancel(){this.visible=!1},handleChange(a){this.selectArr=!0,this.queryParam.backId=a,this.$forceUpdate()},getTaskDetail(a,t){this.sourceNameData=[],n.approvalGetTaskInfo({tableDataId:a,tableId:t.id}).then(s=>{this.taskId=s.data.approvalinfo.sysapprovaltaskid;let i=s.data.approvalinfo.approvalnodeinfos.filter((o,l)=>{if(o.status==2&&o.nodetype!="circulate")return o.id=o.id,o.name=o.name,!0});i[i.length-1].name=i[i.length-1].name+"(\u4E0A\u4E00\u6B65)",this.sourceNameData=i,this.queryParam.backId=this.sourceNameData[this.sourceNameData.length-1].id})},addMember(){if(this.type==2&&this.$refs.menbers.init(this.endorseList,this.type),this.type==1){let a=6;this.$refs.menbers.init(this.turrenteList,a)}},delMask(a,t){if(t==1){let s=this.endorseList.filter(i=>i!=a);this.endorseList=[...s],this.endorseList.length>0?this.sign=!1:this.sign=!0,this.endorseList.length>1?this.showMulti=!0:this.showMulti=!1}else if(t==2){let s=this.turrenteList.filter(i=>i!=a);this.turrenteList=[...s],this.turrenteList.length>0?this.trans=!1:this.trans=!0}},selMenbers(a,t){console.log(a,t),t==2&&a&&(this.endorseList=[...a],this.endorseList.length>1?this.showMulti=!0:this.showMulti=!1,this.endorseList.length>0?this.sign=!1:this.sign=!0),t==6&&a&&(this.employeeId=a.length==0?"":a[0].id,this.turrenteList=[...a],this.turrenteList.length>0?this.trans=!1:this.trans=!0)},delEnd(a,t){if(t==1){let s=this.sonMaskList.filter(i=>i!=a);this.sonMaskList=[...s]}else if(t==2){let s=this.sonTurretList.filter(i=>i!=a);this.sonTurretList=[...s]}else if(t==3){let s=this.sonEndorseList.filter(i=>i!=a);this.sonEndorseList=[...s]}},selMenberRadio(a,t){a&&(t==2?this.sonMaskList=[...a]:t==3?this.sonTurretList=[...a]:t==4&&(this.sonEndorseList=[...a]))},returnClick(a){this.sendModel=a},rejectClick(){this.rejectModel=e},onChange(a){a==!0?(this.allowccShow=!0,this.optionallowCC="1"):a==!1&&(this.allowccShow=!1,this.optionallowCC=""),this.sonMaskList=[],this.showEdit=!1,this.allowCC=a},onChange1(a){a==!0?(this.atureShow=!0,this.atureSign="1"):(this.atureShow=!1,this.atureSign=""),this.sonTurretList=[],this.showEditTrans=!1,this.allowTransfer=a},onChange2(a){a==!0?(this.optionShow=!0,this.optionSign="1"):(this.optionShow=!1,this.optionSign=""),this.sonEndorseList=[],this.showEditSign=!1,this.allowAddSignature=a},edit(){this.id=2,this.$refs.menberRadio.init(this.sonMaskList,this.id)},editSign(){this.id=3,this.$refs.menberRadio.init(this.sonTurretList,this.id)},editCC(){this.id=4,this.$refs.menberRadio.init(this.sonEndorseList,this.id)},radioCC(a){a=="2"?this.showEdit=!0:(this.showEdit=!1,this.sonMaskList=[]),this.optionallowCC=a},radioTrans(a){a=="2"?this.showEditTrans=!0:(this.showEditTrans=!1,this.sonTurretList=[]),this.atureSign=a},radioSign(a){a=="2"?this.showEditSign=!0:(this.showEditSign=!1,this.sonEndorseList=[]),this.optionSign=a},doEvent(a){let t=a.item.functionName;this[t]&&this[t]()}}};var c=function(){var t=this,s=t._self._c;return s("div",{staticClass:"approval-mpdel"},[s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:t.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:t.fullscreen,visible:t.visible,width:"700px",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(i){t.visible=i},closed:t.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:t.title,buttons:[],closed:"handleCancel",showClose:!0,showFullscreen:!1},on:{changeEvent:t.doEvent},slot:"title"}),s("el-form",{attrs:{"label-width":"100px","label-position":t.labelPosition},nativeOn:{submit:function(i){i.preventDefault()}}},[t.type==3?s("div",[s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.fallback","\u9000\u56DE\u5230")}},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.approvalPlug.backNode","\u9009\u62E9\u9000\u56DE\u8282\u70B9"),clearable:""},on:{change:t.handleChange},model:{value:t.queryParam.backId,callback:function(i){t.$set(t.queryParam,"backId",i)},expression:"queryParam.backId"}},t._l(t.sourceNameData,function(i,o){return s("el-option",{key:i.id,attrs:{value:i.id,label:i.name}})}),1)],1),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.rollbackcause","\u9000\u56DE\u539F\u56E0")}},[s("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:"3",placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:t.queryParam.content,callback:function(i){t.$set(t.queryParam,"content",i)},expression:"queryParam.content"}})],1)],1):t._e(),t.type==2?s("div",[s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.countersignp")}},[s("div",{staticClass:"rectangle"},[s("div",{staticClass:"b"},[t._l(t.endorseList.slice(0,3),function(i,o){return s("div",{key:o},[s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delMask(i,1)}}})])])])}),t.endorseList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e(),s("div",{staticClass:"item fl"},[s("div",{staticClass:"jia",on:{click:t.addMember}},[s("i",{staticClass:"el-icon-plus icon"})])])],2)])]),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.countersignMen")}},[s("el-radio-group",{model:{value:t.approvalType,callback:function(i){t.approvalType=i},expression:"approvalType"}},[s("el-radio",{attrs:{label:"0"}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.beforeSigning"))+" ")]),s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.afterSigning"))+" ")])],1)],1),s("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.showMulti,expression:"showMulti"}],attrs:{label:t.$i18nt("gd.approvalPlug.multiPerson")}},[s("el-radio-group",{model:{value:t.counterSign,callback:function(i){t.counterSign=i},expression:"counterSign"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.signatureOr"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.andtlySign"))+" ")])],1)],1),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.counterOption")}},[s("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:"3",placeholder:t.$i18nt("gd.placeholder.endOption")},model:{value:t.queryParam.optionEnd,callback:function(i){t.$set(t.queryParam,"optionEnd",i)},expression:"queryParam.optionEnd"}})],1),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.labelBtn")}},[s("div",{staticStyle:{"line-height":"30px"}},[s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.returnClick(i)}},model:{value:t.sendModel,callback:function(i){t.sendModel=i},expression:"sendModel"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowReturn"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentReturn","\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9000\u56DE\u5230\u5386\u53F2\u8282\u70B9")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})])],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.rejectClick(i)}},model:{value:t.rejectModel,callback:function(i){t.rejectModel=i},expression:"rejectModel"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowRreject","\u9A73\u56DE"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.showReject","\u662F\u5426\u5141\u8BB8\u8282\u70B9\u5BA1\u6279\u4EBA\u5C06\u6D41\u7A0B\u9A73\u56DE\u5230\u63D0\u4EA4\u4EBA(\u6D41\u7A0B\u4F5C\u5E9F)")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})])],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.onChange(i)}},model:{value:t.allowCC,callback:function(i){t.allowCC=i},expression:"allowCC"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowCC"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentCC","\u662F\u5426\u5141\u8BB8\u5C06\u5F53\u524D\u5BA1\u6279\u7ED3\u679C\u53D1\u9001\u7ED9\u6307\u5B9A\u4EBA\u5458")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})]),s("div",{staticClass:"rectangle"},[s("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:t.allowccShow,expression:"allowccShow"}],attrs:{name:"radioGroup"},on:{change:t.radioCC},model:{value:t.optionallowCC,callback:function(i){t.optionallowCC=i},expression:"optionallowCC"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionalCC","\u4E0D\u9650\u8303\u56F4"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionaAssign","\u6307\u5B9A\u8303\u56F4"))+" ")])],1),s("a",{directives:[{name:"show",rawName:"v-show",value:t.showEdit,expression:"showEdit"}],staticClass:"question",on:{click:t.edit}},[t._v(" "+t._s(t.$i18nt("gd.develop.teamSharing.edit","\u4FEE\u6539"))+" ")]),s("div",{staticClass:"b"},[t._l(t.sonMaskList.slice(0,3),function(i,o){return[i.type==2?s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delEnd(i,1)}}})])]):t._e()]}),t.sonMaskList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e()],2)],1)],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.onChange1(i)}},model:{value:t.allowTransfer,callback:function(i){t.allowTransfer=i},expression:"allowTransfer"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowTransfer"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentTrans","\u662F\u5426\u5141\u8BB8\u5BA1\u6279\u4EBA\u5C06\u5BA1\u6279\u4EFB\u52A1\u8F6C\u7ED9\u6307\u5B9A\u4EBA\u5458")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})]),s("div",{staticClass:"rectangle"},[s("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:t.atureShow,expression:"atureShow"}],attrs:{name:"radioGroup"},on:{change:t.radioTrans},model:{value:t.atureSign,callback:function(i){t.atureSign=i},expression:"atureSign"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionalCC","\u4E0D\u9650\u8303\u56F4"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionaAssign","\u6307\u5B9A\u8303\u56F4"))+" ")])],1),s("a",{directives:[{name:"show",rawName:"v-show",value:t.showEditTrans,expression:"showEditTrans"}],staticClass:"question",on:{click:t.editSign}},[t._v(" "+t._s(t.$i18nt("gd.develop.teamSharing.edit","\u4FEE\u6539"))+" ")]),s("div",{staticClass:"b"},[t._l(t.sonTurretList.slice(0,3),function(i,o){return[i.type==2?s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delEnd(i,2)}}})])]):t._e()]}),t.sonTurretList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e()],2)],1)],1),s("div",{staticClass:"div-checkboox"},[s("el-checkbox",{on:{change:function(i){return t.onChange2(i)}},model:{value:t.allowAddSignature,callback:function(i){t.allowAddSignature=i},expression:"allowAddSignature"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.allowAddSignature"))+" ")]),s("el-popover",{attrs:{placement:"right",trigger:"hover",content:t.$i18nt("gd.flow.approval.contentSign","\u662F\u5426\u5141\u8BB8\u5F53\u524D\u5BA1\u6279\u4EBA\u6DFB\u52A0\u6307\u5B9A\u4EBA\u5458\u8FDB\u884C\u5BA1\u6279")}},[s("i",{staticClass:"gd-icons gd-icon-question-line question",attrs:{slot:"reference"},slot:"reference"})]),s("div",{staticClass:"rectangle"},[s("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:t.optionShow,expression:"optionShow"}],attrs:{name:"radioGroup"},on:{change:t.radioSign},model:{value:t.optionSign,callback:function(i){t.optionSign=i},expression:"optionSign"}},[s("el-radio",{attrs:{label:"1"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionalCC","\u4E0D\u9650\u8303\u56F4"))+" ")]),s("el-radio",{attrs:{label:"2"}},[t._v(" "+t._s(t.$i18nt("gd.flow.approval.optionaAssign","\u6307\u5B9A\u8303\u56F4"))+" ")])],1),s("a",{directives:[{name:"show",rawName:"v-show",value:t.showEditSign,expression:"showEditSign"}],staticClass:"question",on:{click:t.editCC}},[t._v(" "+t._s(t.$i18nt("gd.develop.teamSharing.edit","\u4FEE\u6539"))+" ")]),s("div",{staticClass:"b"},[t._l(t.sonEndorseList.slice(0,3),function(i,o){return[i.type==2?s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delEnd(i,3)}}})])]):t._e()]}),t.sonEndorseList.length>=3?s("div",{staticClass:"item fl"},[s("i",{staticClass:"el-icon-more shlh"})]):t._e()],2)],1)],1)])])],1):t._e(),t.type==1?s("div",[s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.transPop")}},[s("div",{staticClass:"rectangle"},[s("div",{staticClass:"b"},[t._l(t.turrenteList,function(i,o){return[s("div",{staticClass:"item fl"},[s("div",{staticClass:"name line1"},[s("i",{staticClass:"gd-icons gd-icon-user",attrs:{slot:"dot"},slot:"dot"}),s("span",[t._v(t._s(i.name))]),s("i",{staticClass:"el-icon-close cuo",on:{click:function(l){return t.delMask(i,2)}}})])])]}),s("div",{staticClass:"item fl"},[s("div",{staticClass:"jia",on:{click:t.addMember}},[s("i",{staticClass:"el-icon-plus icon"})])])],2)])]),s("el-form-item",{attrs:{label:t.$i18nt("gd.approvalPlug.transOption")}},[s("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:"3",placeholder:t.$i18nt("gd.placeholder.transOption")},model:{value:t.queryParam.optionTrans,callback:function(i){t.$set(t.queryParam,"optionTrans",i)},expression:"queryParam.optionTrans"}})],1)],1):t._e()]),s("template",{slot:"footer"},[t.type==3?s("el-button",{attrs:{type:"primary",disabled:t.back},on:{click:t.handleOk}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.configBack","\u786E\u8BA4\u9000\u56DE"))+" ")]):t._e(),t.type==2?s("el-button",{attrs:{type:"primary",disabled:t.sign},on:{click:t.handleOk}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.configSign","\u786E\u8BA4\u52A0\u7B7E"))+" ")]):t._e(),t.type==1?s("el-button",{attrs:{type:"primary",disabled:t.trans},on:{click:t.handleOk}},[t._v(" "+t._s(t.$i18nt("gd.approvalPlug.configTransfer","\u786E\u8BA4\u8F6C\u5BA1"))+" ")]):t._e()],1)],2),s("Menbers",{ref:"menbers",attrs:{menberList:t.menberList},on:{ok:t.selMenbers}}),s("MenberRadio",{ref:"menberRadio",on:{ok:t.selMenberRadio}})],1)},h=[],p=r.normalizeComponent(d,c,h,!1,null,"31a9f90d",null,null);const u=p.exports;exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./components.chartbi.e9459775.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const s={props:{table:{type:Object,default:()=>({})}},data(){return{type:"",width:"800px",confirmLoading:!1,visible:!1,fullscreen:!1,selectedRowKeys:[],selectedRows:[],tableColumns:[{type:"selection-radio",width:"60",fixed:!0},{transKey:"gd.btnConfig.functionName",prop:"name",label:"\u65B9\u6CD5\u540D",width:"160",align:"left",showOverflowTooltip:!0},{transKey:"gd.btnConfig.icon",prop:"icon",label:"\u56FE\u6807",width:"80",type:"slot",slotType:"icon",align:"center",showOverflowTooltip:!0},{transKey:"gd.btnConfig.explain",prop:"title",label:"\u8BF4\u660E",type:"slot",slotType:"explain",align:"left",showOverflowTooltip:!0},{transKey:"gd.btn.handle",prop:"action",label:"\u64CD\u4F5C",width:"110",align:"center",type:"slot",slotType:"action",showOverflowTooltip:!0}],buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],loadData:t=>this.getLoadField(),list:[{name:"save",title:"\u4FDD\u5B58\u6570\u636E;\u6570\u636EID\u5B58\u5728\u8C03\u7528\u6570\u636E\u7F16\u8F91\u63D0\u4EA4\uFF0C\u4E0D\u5B58\u5728\u8C03\u7528\u6570\u636E\u65B0\u589E\u63D0\u4EA4",type:["form"],transKey:"gd.btnConfig.btnSave",icon:"el-icon-document-checked"},{name:"saveClose",title:"\u4FDD\u5B58\u6570\u636E\u5E76\u5173\u95ED;\u6570\u636EID\u5B58\u5728\u8C03\u7528\u6570\u636E\u7F16\u8F91\u63D0\u4EA4\uFF0C\u4E0D\u5B58\u5728\u8C03\u7528\u6570\u636E\u65B0\u589E\u63D0\u4EA4",type:["form"],transKey:"gd.btnConfig.btnSaveClose",icon:"el-icon-document-checked"},{name:"saveAdd",title:"\u4FDD\u5B58\u6570\u636E\u5E76\u91CD\u65B0\u65B0\u589E\u6570\u636E;",type:["form"],transKey:"gd.btnConfig.saveAdd",icon:"el-icon-document-checked"},{name:"add",title:"\u6253\u5F00\u8868\u5355\u65B0\u589E\u6570\u636E",type:["view"],transKey:"gd.btnConfig.btnAdd",icon:"el-icon-plus"},{name:"edit",title:"\u6253\u5F00\u8868\u5355\u7F16\u8F91\u6570\u636E",type:["view"],transKey:"gd.btnConfig.btnEdit",icon:"el-icon-edit"},{name:"del",title:"\u5220\u9664\u9009\u4E2D\u6570\u636E",type:["view"],transKey:"gd.btnConfig.btnDel",icon:"el-icon-delete",btnType:"danger"},{name:"importData",title:"\u5BFC\u5165\u6570\u636E",type:["view"],transKey:"gd.btnConfig.btnImportData",icon:"gd-icon-daoru1"},{name:"exportData",title:"\u5BFC\u51FA\u6570\u636E",type:["view"],transKey:"gd.btnConfig.btnExportData",icon:"gd-icon-daoru"},{name:"deactivateData",title:"\u7981\u7528\u6570\u636E(\u6570\u636E\u72B6\u6001)",type:["view","form"],transKey:"gd.btnConfig.btnDeactivateData",icon:"gd-icon-jinyong1",btnType:"danger"},{name:"enableData",title:"\u542F\u7528\u6570\u636E(\u6570\u636E\u72B6\u6001)",type:["view","form"],transKey:"gd.btnConfig.btnEnableData",icon:"el-icon-video-play"},{name:"assign",title:"\u5206\u6D3E",type:["view","form"],transKey:"gd.btnConfig.btnAssign",icon:"gd-icon-map-site"},{name:"batchUpdate",title:"\u7EDF\u4E00\u66F4\u65B0",type:["view"],transKey:"gd.btnConfig.btnBatchUpdate",icon:"el-icon-refresh"},{name:"teamSharing",title:"\u56E2\u961F\u5171\u4EAB",type:["view"],transKey:"gd.btnConfig.btnTeamSharing",icon:"el-icon-share"},{name:"statusChange",title:"\u72B6\u6001\u53D8\u66F4",type:["view"],transKey:"gd.btnConfig.btnStatusChange",icon:"el-icon-edit-outline",tableName:["sys_employees"]}]}},computed:{...o.mapGetters(["tablePageSize","tableSize"])},methods:{toggleFullscreen(){this.fullscreen=!this.fullscreen},save(t){this.$emit("ok",t),this.closed()},handleSubmit(){const t=this.selectedRows[0];if(t==null){this.closed();return}this.save(t)},getLoadField(){return new Promise((t,e)=>{const i=this.list.filter(a=>{const n=a.type.includes(this.type);return a.tableName?n&&a.tableName.includes(this.table.tablename):n});t({pageNo:1,pageSize:40,totalRows:0,rows:i})})},open(t){this.type=t,this.visible=!0,this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)})},closed(){this.fullscreen=!1,this.visible=!1},refresh(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var l=function(){var e=this,i=e._self._c;return i("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(a){e.visible=a},closed:e.closed}},[i("template",{slot:"title"},[i("gd-modal-title",{attrs:{title:e.$i18nt("gd.btn.executionFunction","\u6267\u884C\u65B9\u6CD5"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent}})],1),i("gd-tables",{ref:"table",attrs:{rowKey:"name",dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,showPagination:!1,initialLoading:!1,disabledRefresh:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"icon",fn:function({column:a,row:n}){return[i("i",{staticClass:"gd-icons active-color",class:n.icon})]}},{key:"explain",fn:function({column:a,row:n}){return[e._v(" "+e._s(e.$i18nt(n.transKey,n.title))+" ")]}},{key:"action",fn:function({column:a,row:n}){return[i("div",{staticClass:"active-color",staticStyle:{cursor:"pointer"},on:{click:function(u){return e.save(n)}}},[e._v(e._s(e.$i18nt("gd.btn.confirm","\u786E\u8BA4")))])]}}])})],2)},c=[],r=o.normalizeComponent(s,l,c,!1,null,"e813ad81",null,null);const d=r.exports;exports.default=d;
|