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,434 @@
|
|
|
1
|
+
import { o as f, b as h } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
2
|
+
import { c as d, a as p, n as y } from "./http.codegeneratemanage.b123bab3.mjs";
|
|
3
|
+
import { m as b, n as g } from "./components.chartbi.470b96af.mjs";
|
|
4
|
+
import { u as c } from "./utils.util.js.885de913.mjs";
|
|
5
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
6
|
+
const D = {
|
|
7
|
+
props: {
|
|
8
|
+
modalAppendToBody: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: !0
|
|
11
|
+
},
|
|
12
|
+
appendToBody: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !0
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
data() {
|
|
18
|
+
return {
|
|
19
|
+
width: "60%",
|
|
20
|
+
visible: !1,
|
|
21
|
+
fullScreen: !1,
|
|
22
|
+
sysViewButtons: [
|
|
23
|
+
{
|
|
24
|
+
displayName: "\u786E\u5B9A",
|
|
25
|
+
functionName: "handleSubmit",
|
|
26
|
+
show: !0,
|
|
27
|
+
transKey: "gd.btn.confirm",
|
|
28
|
+
icon: "el-icon-document-checked",
|
|
29
|
+
validate: !0
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
title: "",
|
|
33
|
+
confirmLoading: !1,
|
|
34
|
+
loading: !1,
|
|
35
|
+
type: 1,
|
|
36
|
+
rules: {
|
|
37
|
+
columncomment: [
|
|
38
|
+
{
|
|
39
|
+
required: !0,
|
|
40
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
41
|
+
trigger: "change"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
columnname: [
|
|
45
|
+
{
|
|
46
|
+
required: !0,
|
|
47
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
48
|
+
trigger: "change"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
filedsize: [
|
|
52
|
+
{
|
|
53
|
+
required: !0,
|
|
54
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
55
|
+
trigger: "change"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
effecttype: [
|
|
59
|
+
{
|
|
60
|
+
required: !0,
|
|
61
|
+
message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
|
|
62
|
+
trigger: "change"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
dicttypecode: [
|
|
66
|
+
{
|
|
67
|
+
required: !0,
|
|
68
|
+
message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
|
|
69
|
+
trigger: "change"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
fieldformat: [
|
|
73
|
+
{
|
|
74
|
+
required: !0,
|
|
75
|
+
message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
|
|
76
|
+
trigger: "change"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
fkentityname: [
|
|
80
|
+
{
|
|
81
|
+
required: !0,
|
|
82
|
+
message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"),
|
|
83
|
+
trigger: "change"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
ruleFormData: {
|
|
88
|
+
codegenid: "",
|
|
89
|
+
columncomment: "",
|
|
90
|
+
columnkey: "False",
|
|
91
|
+
columnname: "",
|
|
92
|
+
datatype: "System.String",
|
|
93
|
+
dicttypecode: null,
|
|
94
|
+
effecttype: "input",
|
|
95
|
+
fkcolumnname: null,
|
|
96
|
+
fkcolumnnettype: null,
|
|
97
|
+
fkentityname: "",
|
|
98
|
+
fkentitynamed: [],
|
|
99
|
+
filedstatic: 0,
|
|
100
|
+
issynchronous: 1,
|
|
101
|
+
isnull: !0,
|
|
102
|
+
issecurity: !1,
|
|
103
|
+
isaudit: !1,
|
|
104
|
+
lowercolumnname: "",
|
|
105
|
+
lowerfkcolumnname: null,
|
|
106
|
+
lowerfkentityname: null,
|
|
107
|
+
nettype: "string",
|
|
108
|
+
querytype: "==",
|
|
109
|
+
querywhether: !0,
|
|
110
|
+
whetheraddupdate: !0,
|
|
111
|
+
whethercommon: !1,
|
|
112
|
+
whetherorderby: !0,
|
|
113
|
+
whetherrequired: !1,
|
|
114
|
+
whetherretract: !1,
|
|
115
|
+
whethertable: !0,
|
|
116
|
+
isnew: !0,
|
|
117
|
+
isellipsis: !0,
|
|
118
|
+
customwidth: 150,
|
|
119
|
+
id: c(),
|
|
120
|
+
filedsize: 255,
|
|
121
|
+
tablenamedata: [],
|
|
122
|
+
numberRulesData: [],
|
|
123
|
+
defaulttype: "",
|
|
124
|
+
islocked: 0,
|
|
125
|
+
disabled: !1,
|
|
126
|
+
virtualcolumn: "",
|
|
127
|
+
isprimarykey: !1
|
|
128
|
+
},
|
|
129
|
+
tableNameData: [],
|
|
130
|
+
tableNameDatafk: [],
|
|
131
|
+
tablenamedataabout: [],
|
|
132
|
+
numberRulesData: [],
|
|
133
|
+
numberNoRulesData: [],
|
|
134
|
+
virtualFieldsList: [],
|
|
135
|
+
dataSourcelist: [],
|
|
136
|
+
fetching: !1,
|
|
137
|
+
isLocked: 100,
|
|
138
|
+
record: {}
|
|
139
|
+
};
|
|
140
|
+
},
|
|
141
|
+
computed: {
|
|
142
|
+
isprecision() {
|
|
143
|
+
return ["inputnumber", "textarea", "editor", "double", "input", "image", "file", "currency"].includes(this.ruleFormData.effecttype);
|
|
144
|
+
},
|
|
145
|
+
isabout() {
|
|
146
|
+
return ["participants", "about", "fk", "user"].includes(this.ruleFormData.effecttype);
|
|
147
|
+
},
|
|
148
|
+
getIsvirtualtable() {
|
|
149
|
+
return this.tableNameData.filter((l) => l.isvirtualtable == 1);
|
|
150
|
+
},
|
|
151
|
+
getEffectList() {
|
|
152
|
+
const l = this.record.isvirtualtable == 1 ? "virtual_table_effect_type" : "code_gen_effect_type";
|
|
153
|
+
return this.getDictionary(l);
|
|
154
|
+
},
|
|
155
|
+
getDictionaryAll() {
|
|
156
|
+
return this.$options.filters.dictDataAll();
|
|
157
|
+
},
|
|
158
|
+
tableUserData() {
|
|
159
|
+
const l = this.tableNameData.filter((e) => e.tablename == "sys_user");
|
|
160
|
+
return l[0] ? l : this.tableNameData;
|
|
161
|
+
},
|
|
162
|
+
...b(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "tableLists"])
|
|
163
|
+
},
|
|
164
|
+
methods: {
|
|
165
|
+
getTableAll() {
|
|
166
|
+
return d({
|
|
167
|
+
busName: ""
|
|
168
|
+
}).then((l) => {
|
|
169
|
+
this.tableNameData = l.data.filter((e) => e.id !== this.record.id), this.tableNameDatafk = l.data.filter((e) => e.id !== this.record.id), this.tablenamedataabout = l.data.filter((e) => e.id !== this.record.id), this.ruleFormData.tableNameData = this.tableNameData;
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
getDetail() {
|
|
173
|
+
p({
|
|
174
|
+
id: this.record.id
|
|
175
|
+
}).then((l) => (l.code === 200 && (this.record = l.data), l));
|
|
176
|
+
},
|
|
177
|
+
refresh() {
|
|
178
|
+
return f({ codeGenId: this.record.id, type: 0 }).then((l) => {
|
|
179
|
+
let e = [...l.data];
|
|
180
|
+
e.forEach((a, t) => {
|
|
181
|
+
for (const i in a)
|
|
182
|
+
a[i] === "Y" && (a[i] = !0), a[i] === "N" && (a[i] = !1);
|
|
183
|
+
a.columnname === "tenantId" && (a.whetherorderBy = !1, a.whetheraddupdate = !1, a.querywhether = !1), e[t].tablenamedata = [], e[t].children = null, e[t].fieldformat = a.fieldformat ? a.fieldformat + "" : a.fieldformat, e[t].fkentitynamed = a.fkentityname ? a.fkentityname.split(",") : [];
|
|
184
|
+
}), this.dataSource = [...e];
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
searchNumberRules() {
|
|
188
|
+
return this.fetching = !0, y().then((l) => (this.numberRulesData = l, this.fetching = !1, l));
|
|
189
|
+
},
|
|
190
|
+
searchTable(l, e) {
|
|
191
|
+
this.fetching = !0, e == "fkuser" ? this.tableNameDatafk = [] : this.tablenamedataabout = [], d({
|
|
192
|
+
busName: l
|
|
193
|
+
}).then((a) => {
|
|
194
|
+
e == "fkuser" ? this.tableNameDatafk = [...a.data] : this.tablenamedataabout = [...a.data], this.fetching = !1;
|
|
195
|
+
});
|
|
196
|
+
},
|
|
197
|
+
changeCode() {
|
|
198
|
+
this.$nextTick(() => {
|
|
199
|
+
setTimeout(() => {
|
|
200
|
+
let l = [...this.numberNoRulesData];
|
|
201
|
+
console.log(l);
|
|
202
|
+
let e = this.dataSource;
|
|
203
|
+
e.forEach((a, t) => {
|
|
204
|
+
let i = this.filteredOptions(a, e);
|
|
205
|
+
a.sysnumberrulesid && i.push(a.sysnumberrulesid);
|
|
206
|
+
let n = this.numberRulesData.filter((r) => r.id == a.sysnumberrulesid), s = l.filter((r) => !i.includes(r.id));
|
|
207
|
+
e[t].numberRulesData = n.concat(s);
|
|
208
|
+
}), this.dataSource = [...e];
|
|
209
|
+
}, 0);
|
|
210
|
+
});
|
|
211
|
+
},
|
|
212
|
+
filteredOptions(l, e) {
|
|
213
|
+
let a = [];
|
|
214
|
+
if (e.forEach((t) => {
|
|
215
|
+
t.sysnumberrulesid && a.push(t.sysnumberrulesid);
|
|
216
|
+
}), a.includes(l.sysnumberrulesid)) {
|
|
217
|
+
let t = a.indexOf(l.sysnumberrulesid);
|
|
218
|
+
a.splice(t, 1);
|
|
219
|
+
}
|
|
220
|
+
return a;
|
|
221
|
+
},
|
|
222
|
+
isDickType(l) {
|
|
223
|
+
let e = ["long", "string", "DateTime", "int", "decimal", "double"], a = this.getDictionary("code_gen_effect_type").filter((i) => i.code == l)[0], t = a != null ? a.remark : "0";
|
|
224
|
+
return e.includes(t) ? t : "";
|
|
225
|
+
},
|
|
226
|
+
effectTypeChange(l) {
|
|
227
|
+
this.ruleFormData.filedsize = 255, this.ruleFormData.fkcolumnname = null, this.ruleFormData.fkcolumnnettype = null, this.ruleFormData.fkentityname = null, this.ruleFormData.fkentitynamed = [];
|
|
228
|
+
let e = this.isDickType(l);
|
|
229
|
+
l === "fk" ? this.ruleFormData.nettype = e != "" ? e : "long" : l === "input" ? this.ruleFormData.nettype = e != "" ? e : "string" : l === "datepicker" ? this.ruleFormData.nettype = e != "" ? e : "DateTime" : l === "select" ? this.ruleFormData.nettype = e != "" ? e : "int" : l === "radio" ? this.ruleFormData.nettype = e != "" ? e : "int" : l === "switch" ? this.ruleFormData.nettype = e != "" ? e : "int" : l === "checkbox" ? this.ruleFormData.nettype = e != "" ? e : "string" : l === "inputnumber" ? (this.ruleFormData.nettype = e != "" ? e : "int", this.ruleFormData.filedsize = 32) : l === "textarea" ? (this.ruleFormData.filedsize = 5e3, this.ruleFormData.nettype = e != "" ? e : "string") : l === "imgupload" ? this.ruleFormData.nettype = e != "" ? e : "string" : l === "long" ? this.ruleFormData.nettype = e != "" ? e : "long" : l === "file" ? this.ruleFormData.nettype = e != "" ? e : "string" : l === "image" ? this.ruleFormData.nettype = e != "" ? e : "string" : l === "editor" ? (this.ruleFormData.filedsize = 5e3, this.ruleFormData.nettype = e != "" ? e : "string") : l === "participants" ? this.ruleFormData.nettype = e != "" ? e : "string" : l === "about" ? this.ruleFormData.nettype = e != "" ? e : "string" : l === "currency" ? (this.ruleFormData.nettype = e != "" ? e : "decimal", this.ruleFormData.filedsize = 4) : l === "double" ? (this.ruleFormData.nettype = e != "" ? e : "double", this.ruleFormData.filedsize = 4) : l === "user" && (this.ruleFormData.nettype = e != "" ? e : "long", this.ruleFormData.fkcolumnname = "Name", this.ruleFormData.fkcolumnnettype = "string", this.ruleFormData.fkentityname = this.tableUserData.length == 1 ? this.tableUserData[0].tablename : void 0);
|
|
230
|
+
},
|
|
231
|
+
open(l) {
|
|
232
|
+
this.record = l.table, this.visible = !0, this.fullScreen = !1, this.title = this.$i18nt("gd.https.add"), this.type = 1, this.ruleFormData.codegenid = l.table.id, this.initAll();
|
|
233
|
+
},
|
|
234
|
+
initAll() {
|
|
235
|
+
return new Promise((l, e) => {
|
|
236
|
+
Promise.all([this.refresh(), this.getDetail(), this.getTableAll(), this.searchNumberRules()]).then((a) => {
|
|
237
|
+
let t = [...this.dataSource], i = this.numberRulesData.filter((r) => r.columnid == null && r.syscodegenid == null), n = [];
|
|
238
|
+
t.map((r) => {
|
|
239
|
+
let o = this.numberRulesData.filter((u) => u.id == r.sysnumberrulesid), m = i.filter((u) => u.id != r.sysnumberrulesid);
|
|
240
|
+
return r.tablenamedata = this.tableNameData, r.defaulttype = r.defaulttype ? String(r.defaulttype) : "", r.isprimarykey = r.isprimarykey == 1, r.numberRulesData = o.concat(m), r.sysnumberrulesid = r.sysnumberrulesid ? r.sysnumberrulesid : "", r.sysnumberrulesid && n.push(r.sysnumberrulesid), r.effecttype == "inputnumber" && r.filedsize != 32 && r.filedsize != 64 && (r.filedsize = 32), r.disabled = r.islocked == 1, r;
|
|
241
|
+
});
|
|
242
|
+
let s = this.numberRulesData.filter((r) => n.includes(r.id));
|
|
243
|
+
this.numberNoRulesData = i.concat(s), this.ruleFormData.numberRulesData = this.numberNoRulesData.filter((r) => !n.includes(r.id)), this.dataSource = [...t], this.loading = !1;
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
},
|
|
247
|
+
isRuleChecked(l) {
|
|
248
|
+
return !!/^(?![0-9_])\w+$/.test(l.columnname);
|
|
249
|
+
},
|
|
250
|
+
fknamedchange() {
|
|
251
|
+
this.ruleFormData.fkentityname = this.ruleFormData.fkentitynamed.join(",");
|
|
252
|
+
},
|
|
253
|
+
handleSubmit() {
|
|
254
|
+
this.$refs.ruleForm.validate((l) => {
|
|
255
|
+
if (l) {
|
|
256
|
+
if (!this.isRuleChecked(this.ruleFormData)) {
|
|
257
|
+
this.$message.warning(this.$i18nt("gd.field.fieldTip", "\u5B57\u6BB5\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934\u4E14\u5934\u5C3E\u6216\u4E2D\u95F4\u4E0D\u80FD\u6709\u7A7A\u683C\uFF01"));
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
this.dataSource.forEach((i) => {
|
|
261
|
+
i.filedstatic != 2 && this.ruleFormData.columnname === i.columnname && this.$message.warning(this.$i18nt("gd.field.duplicateRemoval", "\u8BF7\u53BB\u9664\u91CD\u590D\u5B57\u6BB5: ") + this.ruleFormData.columnname);
|
|
262
|
+
});
|
|
263
|
+
let e = [], a = this.dataSource.concat(this.ruleFormData);
|
|
264
|
+
for (let i in a) {
|
|
265
|
+
let n = /* @__PURE__ */ new Map(), s = a[i];
|
|
266
|
+
(s.id ? String(s.id).split("u") : []).length > 1 && n.set("id", 0);
|
|
267
|
+
for (const o in s)
|
|
268
|
+
s[o] === !0 && n.set(o, "Y"), s[o] === !1 && n.set(o, "N");
|
|
269
|
+
["about", "participants"].includes(s.effecttype) && n.set("fkentityname", s.fkentitynamed.join(",")), ["inputnumber"].includes(s.effecttype) && n.set("nettype", s.filedsize == 32 ? "int" : "long"), e.push(
|
|
270
|
+
Object.assign({ ...s }, Object.fromEntries(n), {
|
|
271
|
+
tableNameData: void 0,
|
|
272
|
+
numberRulesData: void 0,
|
|
273
|
+
isprimarykey: s.isprimarykey ? 1 : 0
|
|
274
|
+
})
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
const t = e.filter(
|
|
278
|
+
(i) => i.id === 0 && i.filedstatic === 0 || i.id !== 0 && (i.filedstatic === 1 || i.filedstatic === 2)
|
|
279
|
+
);
|
|
280
|
+
console.log(t), this.type == 1 ? this.add(t) : this.edit(this.ruleFormData);
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
},
|
|
284
|
+
add(l) {
|
|
285
|
+
this.confirmLoading = !0;
|
|
286
|
+
const e = this.$message({
|
|
287
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
288
|
+
duration: 0,
|
|
289
|
+
iconClass: "el-icon-loading"
|
|
290
|
+
});
|
|
291
|
+
h(l).then((a) => {
|
|
292
|
+
e.close(), a.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok", a.data), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + a.message);
|
|
293
|
+
}).finally((a) => {
|
|
294
|
+
this.confirmLoading = !1;
|
|
295
|
+
});
|
|
296
|
+
},
|
|
297
|
+
edit(l) {
|
|
298
|
+
this.confirmLoading = !0, sysTeamMemberEdit(l).then((e) => {
|
|
299
|
+
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);
|
|
300
|
+
}).finally((e) => {
|
|
301
|
+
this.confirmLoading = !1;
|
|
302
|
+
});
|
|
303
|
+
},
|
|
304
|
+
handleCancel() {
|
|
305
|
+
this.visible = !1, this.confirmLoading = !1, this.loading = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
|
|
306
|
+
codegenid: "",
|
|
307
|
+
columncomment: "",
|
|
308
|
+
columnkey: "False",
|
|
309
|
+
columnname: "",
|
|
310
|
+
datatype: "System.String",
|
|
311
|
+
dicttypecode: null,
|
|
312
|
+
effecttype: "input",
|
|
313
|
+
fkcolumnname: null,
|
|
314
|
+
fkcolumnnettype: null,
|
|
315
|
+
fkentityname: "",
|
|
316
|
+
fkentitynamed: [],
|
|
317
|
+
filedstatic: 0,
|
|
318
|
+
issynchronous: 1,
|
|
319
|
+
isnull: !0,
|
|
320
|
+
issecurity: !1,
|
|
321
|
+
isaudit: !1,
|
|
322
|
+
lowercolumnname: "",
|
|
323
|
+
lowerfkcolumnname: null,
|
|
324
|
+
lowerfkentityname: null,
|
|
325
|
+
nettype: "string",
|
|
326
|
+
querytype: "==",
|
|
327
|
+
querywhether: !0,
|
|
328
|
+
whetheraddupdate: !0,
|
|
329
|
+
whethercommon: !1,
|
|
330
|
+
whetherorderby: !0,
|
|
331
|
+
whetherrequired: !1,
|
|
332
|
+
whetherretract: !1,
|
|
333
|
+
whethertable: !0,
|
|
334
|
+
isnew: !0,
|
|
335
|
+
isellipsis: !0,
|
|
336
|
+
customwidth: 150,
|
|
337
|
+
id: c(),
|
|
338
|
+
filedsize: 255,
|
|
339
|
+
tablenamedata: [],
|
|
340
|
+
numberRulesData: [],
|
|
341
|
+
defaulttype: "",
|
|
342
|
+
islocked: 0,
|
|
343
|
+
disabled: !1,
|
|
344
|
+
virtualcolumn: "",
|
|
345
|
+
isprimarykey: !1
|
|
346
|
+
};
|
|
347
|
+
},
|
|
348
|
+
getDictionary(l) {
|
|
349
|
+
return this.$options.filters.dictData(l);
|
|
350
|
+
},
|
|
351
|
+
toggleFullscreen() {
|
|
352
|
+
this.fullScreen = !this.fullScreen;
|
|
353
|
+
},
|
|
354
|
+
doEvent(l) {
|
|
355
|
+
let e = l.item.functionName;
|
|
356
|
+
this[e] && this[e]();
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
var F = function() {
|
|
361
|
+
var e = this, a = e._self._c;
|
|
362
|
+
return a("div", [a("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(t) {
|
|
363
|
+
e.visible = t;
|
|
364
|
+
}, closed: e.handleCancel } }, [a("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" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [a("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [a("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(t) {
|
|
365
|
+
t.preventDefault();
|
|
366
|
+
} } }, [a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 12 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.describe", "\u63CF\u8FF0"), prop: "columncomment" } }, [a("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.columncomment, callback: function(t) {
|
|
367
|
+
e.$set(e.ruleFormData, "columncomment", t);
|
|
368
|
+
}, expression: "ruleFormData['columncomment']" } })], 1)], 1), a("el-col", { attrs: { span: 12 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.field", "\u5B57\u6BB5"), prop: "columnname" } }, [a("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.columnname, callback: function(t) {
|
|
369
|
+
e.$set(e.ruleFormData, "columnname", t);
|
|
370
|
+
}, expression: "ruleFormData['columnname']" } })], 1)], 1)], 1), a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 12 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.effectType", "\u4F5C\u7528\u7C7B\u578B"), prop: "effecttype" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: (t) => e.effectTypeChange(t) }, model: { value: e.ruleFormData.effecttype, callback: function(t) {
|
|
371
|
+
e.$set(e.ruleFormData, "effecttype", t);
|
|
372
|
+
}, expression: "ruleFormData.effecttype" } }, e._l(e.getEffectList, function(t) {
|
|
373
|
+
return a("el-option", { key: t.code, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.name), value: t.code } });
|
|
374
|
+
}), 1)], 1)], 1), a("el-col", { attrs: { span: 12 } }, [e.isabout ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.about", "\u5916\u952E/\u5173\u4E8E"), prop: "fkentityname" } }, [e.record.isvirtualtable == 1 ? a("div", [["fk", "user"].includes(e.ruleFormData.effecttype) ? [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: e.ruleFormData.effecttype == "user", filterable: "", remote: "", "reserve-keyword": "", loading: e.fetching, clearable: "" }, model: { value: e.ruleFormData.fkentityname, callback: function(t) {
|
|
375
|
+
e.$set(e.ruleFormData, "fkentityname", t);
|
|
376
|
+
}, expression: "ruleFormData.fkentityname" } }, e._l(e.getIsvirtualtable, function(t) {
|
|
377
|
+
return a("el-option", { key: t.tablename, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname), value: t.tablename } });
|
|
378
|
+
}), 1)] : ["participants", "about"].includes(e.ruleFormData.effecttype) ? [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), multiple: "", filterable: "", remote: "", "reserve-keyword": "", loading: e.fetching, "collapse-tags": "" }, on: { change: e.fknamedchange }, model: { value: e.ruleFormData.fkentitynamed, callback: function(t) {
|
|
379
|
+
e.$set(e.ruleFormData, "fkentitynamed", t);
|
|
380
|
+
}, expression: "ruleFormData.fkentitynamed" } }, e._l(e.getIsvirtualtable, function(t) {
|
|
381
|
+
return a("el-option", { key: t.tablename, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname), value: t.tablename } });
|
|
382
|
+
}), 1)] : e._e()], 2) : a("div", [["fk", "user"].includes(e.ruleFormData.effecttype) ? [a("el-select", { key: `select-${e.ruleFormData.effecttype}`, staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", remote: "", "reserve-keyword": "", loading: e.fetching, disabled: e.ruleFormData.effecttype == "user", "remote-method": (t) => e.searchTable(t, "fkuser"), clearable: "" }, model: { value: e.ruleFormData.fkentityname, callback: function(t) {
|
|
383
|
+
e.$set(e.ruleFormData, "fkentityname", t);
|
|
384
|
+
}, expression: "ruleFormData.fkentityname" } }, e._l(e.tableNameDatafk, function(t) {
|
|
385
|
+
return a("el-option", { key: t.tablename, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname), value: t.tablename } });
|
|
386
|
+
}), 1)] : ["participants", "about"].includes(e.ruleFormData.effecttype) ? [a("el-select", { key: `select-${e.ruleFormData.effecttype}`, staticStyle: { width: "100%" }, attrs: { multiple: "", filterable: "", remote: "", "reserve-keyword": "", loading: e.fetching, "remote-method": (t) => e.searchTable(t, "participantsabout"), placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "collapse-tags": "" }, on: { change: e.fknamedchange }, model: { value: e.ruleFormData.fkentitynamed, callback: function(t) {
|
|
387
|
+
e.$set(e.ruleFormData, "fkentitynamed", t);
|
|
388
|
+
}, expression: "ruleFormData.fkentitynamed" } }, e._l(e.tablenamedataabout, function(t) {
|
|
389
|
+
return a("el-option", { key: t.tablename, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname), value: t.tablename } });
|
|
390
|
+
}), 1)] : e._e()], 2)]) : e._e(), ["select", "radio", "switch", "checkbox"].includes(e.ruleFormData.effecttype) ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.dictionaries", "\u5B57\u5178"), prop: "dicttypecode" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", "reserve-keyword": "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.dicttypecode, callback: function(t) {
|
|
391
|
+
e.$set(e.ruleFormData, "dicttypecode", t);
|
|
392
|
+
}, expression: "ruleFormData.dicttypecode" } }, e._l(e.getDictionaryAll, function(t) {
|
|
393
|
+
return a("el-option", { key: t.code, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.name), value: t.code } });
|
|
394
|
+
}), 1)], 1) : e._e(), ["datepicker"].includes(e.ruleFormData.effecttype) ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.date", "\u65E5\u671F"), prop: "fieldformat" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.fieldformat, callback: function(t) {
|
|
395
|
+
e.$set(e.ruleFormData, "fieldformat", t);
|
|
396
|
+
}, expression: "ruleFormData.fieldformat" } }, e._l(e.getDictionary("time_longshort"), function(t) {
|
|
397
|
+
return a("el-option", { key: t.code, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.name), value: t.code } });
|
|
398
|
+
}), 1)], 1) : e._e(), e.isprecision ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.precision", "\u5B57\u7B26\u957F\u5EA6/\u7CBE\u5EA6"), prop: "filedsize" } }, [["input", "image", "file", "currency"].includes(e.ruleFormData.effecttype) ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { max: 2e3, "controls-position": "right" }, model: { value: e.ruleFormData.filedsize, callback: function(t) {
|
|
399
|
+
e.$set(e.ruleFormData, "filedsize", t);
|
|
400
|
+
}, expression: "ruleFormData.filedsize" } }) : ["double"].includes(e.ruleFormData.effecttype) ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { max: 30, "controls-position": "right" }, model: { value: e.ruleFormData.filedsize, callback: function(t) {
|
|
401
|
+
e.$set(e.ruleFormData, "filedsize", t);
|
|
402
|
+
}, expression: "ruleFormData.filedsize" } }) : ["textarea", "editor"].includes(e.ruleFormData.effecttype) ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right" }, model: { value: e.ruleFormData.filedsize, callback: function(t) {
|
|
403
|
+
e.$set(e.ruleFormData, "filedsize", t);
|
|
404
|
+
}, expression: "ruleFormData.filedsize" } }) : ["inputnumber"].includes(e.ruleFormData.effecttype) ? a("el-select", { staticStyle: { width: "100%" }, model: { value: e.ruleFormData.filedsize, callback: function(t) {
|
|
405
|
+
e.$set(e.ruleFormData, "filedsize", t);
|
|
406
|
+
}, expression: "ruleFormData.filedsize" } }, [a("el-option", { attrs: { label: e.$i18nt("gd.field.integer", "\u6574\u578B 32"), value: 32 } }), a("el-option", { attrs: { label: e.$i18nt("gd.field.longInteger", "\u957F\u6574\u578B 64"), value: 64 } })], 1) : e._e()], 1) : e._e()], 1)], 1), a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 12 } }, [["input"].includes(e.ruleFormData.effecttype) ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.defaultType", "\u9ED8\u8BA4\u503C\u7C7B\u578B"), prop: "defaulttype" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.defaulttype, callback: function(t) {
|
|
407
|
+
e.$set(e.ruleFormData, "defaulttype", t);
|
|
408
|
+
}, expression: "ruleFormData.defaulttype" } }, e._l(e.getDictionary("DefaultType"), function(t) {
|
|
409
|
+
return a("el-option", { key: t.code, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.name), value: t.code } });
|
|
410
|
+
}), 1)], 1) : e._e()], 1), a("el-col", { attrs: { span: 12 } }, [e.ruleFormData.defaulttype && ["input"].includes(e.ruleFormData.effecttype) ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.numberingRules", "\u7F16\u53F7\u89C4\u5219"), prop: "sysnumberrulesid" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: (t) => e.changeCode(t) }, model: { value: e.ruleFormData.sysnumberrulesid, callback: function(t) {
|
|
411
|
+
e.$set(e.ruleFormData, "sysnumberrulesid", t);
|
|
412
|
+
}, expression: "ruleFormData.sysnumberrulesid" } }, e._l(e.ruleFormData.numberRulesData, function(t) {
|
|
413
|
+
return a("el-option", { key: t.id, attrs: { label: t.name, value: t.id } });
|
|
414
|
+
}), 1)], 1) : e._e()], 1)], 1), a("div", { staticClass: "t" }, [a("div", { staticClass: "tls" }, [e._v(e._s(e.$i18nt("gd.field.enableConfiguration", "\u542F\u7528\u914D\u7F6E")))])]), a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 8 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.audit", "\u5BA1\u8BA1"), prop: "audit" } }, [a("el-checkbox", { model: { value: e.ruleFormData.isaudit, callback: function(t) {
|
|
415
|
+
e.$set(e.ruleFormData, "isaudit", t);
|
|
416
|
+
}, expression: "ruleFormData.isaudit" } })], 1)], 1), a("el-col", { attrs: { span: 8 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.safety", "\u5B89\u5168\u6027"), prop: "safety" } }, [a("el-checkbox", { model: { value: e.ruleFormData.issecurity, callback: function(t) {
|
|
417
|
+
e.$set(e.ruleFormData, "issecurity", t);
|
|
418
|
+
}, expression: "ruleFormData.issecurity" } })], 1)], 1), a("el-col", { attrs: { span: 8 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.query", "\u67E5\u8BE2"), prop: "query" } }, [a("el-checkbox", { model: { value: e.ruleFormData.querywhether, callback: function(t) {
|
|
419
|
+
e.$set(e.ruleFormData, "querywhether", t);
|
|
420
|
+
}, expression: "ruleFormData.querywhether" } })], 1)], 1)], 1)], 1)], 1)])], 1)], 1);
|
|
421
|
+
}, k = [], $ = /* @__PURE__ */ g(
|
|
422
|
+
D,
|
|
423
|
+
F,
|
|
424
|
+
k,
|
|
425
|
+
!1,
|
|
426
|
+
null,
|
|
427
|
+
"41331c4d",
|
|
428
|
+
null,
|
|
429
|
+
null
|
|
430
|
+
);
|
|
431
|
+
const N = $.exports;
|
|
432
|
+
export {
|
|
433
|
+
N as default
|
|
434
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./http.syscodegenerateconfigmanage.840f1136.js"),u=require("./http.codegeneratemanage.e3db2f09.js"),f=require("./components.chartbi.e9459775.js"),m=require("./utils.util.js.c0ba699b.js");require("./utils.echarts.js.461a74e7.js");const p={props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},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,loading:!1,type:1,rules:{columncomment:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],columnname:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],filedsize:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],effecttype:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:"change"}],dicttypecode:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:"change"}],fieldformat:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:"change"}],fkentityname:[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:"change"}]},ruleFormData:{codegenid:"",columncomment:"",columnkey:"False",columnname:"",datatype:"System.String",dicttypecode:null,effecttype:"input",fkcolumnname:null,fkcolumnnettype:null,fkentityname:"",fkentitynamed:[],filedstatic:0,issynchronous:1,isnull:!0,issecurity:!1,isaudit:!1,lowercolumnname:"",lowerfkcolumnname:null,lowerfkentityname:null,nettype:"string",querytype:"==",querywhether:!0,whetheraddupdate:!0,whethercommon:!1,whetherorderby:!0,whetherrequired:!1,whetherretract:!1,whethertable:!0,isnew:!0,isellipsis:!0,customwidth:150,id:m.uuid(),filedsize:255,tablenamedata:[],numberRulesData:[],defaulttype:"",islocked:0,disabled:!1,virtualcolumn:"",isprimarykey:!1},tableNameData:[],tableNameDatafk:[],tablenamedataabout:[],numberRulesData:[],numberNoRulesData:[],virtualFieldsList:[],dataSourcelist:[],fetching:!1,isLocked:100,record:{}}},computed:{isprecision(){return["inputnumber","textarea","editor","double","input","image","file","currency"].includes(this.ruleFormData.effecttype)},isabout(){return["participants","about","fk","user"].includes(this.ruleFormData.effecttype)},getIsvirtualtable(){return this.tableNameData.filter(l=>l.isvirtualtable==1)},getEffectList(){const l=this.record.isvirtualtable==1?"virtual_table_effect_type":"code_gen_effect_type";return this.getDictionary(l)},getDictionaryAll(){return this.$options.filters.dictDataAll()},tableUserData(){const l=this.tableNameData.filter(e=>e.tablename=="sys_user");return l[0]?l:this.tableNameData},...f.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode","tableLists"])},methods:{getTableAll(){return u.codeGenerateInformationList({busName:""}).then(l=>{this.tableNameData=l.data.filter(e=>e.id!==this.record.id),this.tableNameDatafk=l.data.filter(e=>e.id!==this.record.id),this.tablenamedataabout=l.data.filter(e=>e.id!==this.record.id),this.ruleFormData.tableNameData=this.tableNameData})},getDetail(){u.codeGenerateGetDetail({id:this.record.id}).then(l=>(l.code===200&&(this.record=l.data),l))},refresh(){return d.onlineFormGetCodeGenerateList({codeGenId:this.record.id,type:0}).then(l=>{let e=[...l.data];e.forEach((a,t)=>{for(const i in a)a[i]==="Y"&&(a[i]=!0),a[i]==="N"&&(a[i]=!1);a.columnname==="tenantId"&&(a.whetherorderBy=!1,a.whetheraddupdate=!1,a.querywhether=!1),e[t].tablenamedata=[],e[t].children=null,e[t].fieldformat=a.fieldformat?a.fieldformat+"":a.fieldformat,e[t].fkentitynamed=a.fkentityname?a.fkentityname.split(","):[]}),this.dataSource=[...e]})},searchNumberRules(){return this.fetching=!0,u.numberRulesList().then(l=>(this.numberRulesData=l,this.fetching=!1,l))},searchTable(l,e){this.fetching=!0,e=="fkuser"?this.tableNameDatafk=[]:this.tablenamedataabout=[],u.codeGenerateInformationList({busName:l}).then(a=>{e=="fkuser"?this.tableNameDatafk=[...a.data]:this.tablenamedataabout=[...a.data],this.fetching=!1})},changeCode(){this.$nextTick(()=>{setTimeout(()=>{let l=[...this.numberNoRulesData];console.log(l);let e=this.dataSource;e.forEach((a,t)=>{let i=this.filteredOptions(a,e);a.sysnumberrulesid&&i.push(a.sysnumberrulesid);let n=this.numberRulesData.filter(r=>r.id==a.sysnumberrulesid),s=l.filter(r=>!i.includes(r.id));e[t].numberRulesData=n.concat(s)}),this.dataSource=[...e]},0)})},filteredOptions(l,e){let a=[];if(e.forEach(t=>{t.sysnumberrulesid&&a.push(t.sysnumberrulesid)}),a.includes(l.sysnumberrulesid)){let t=a.indexOf(l.sysnumberrulesid);a.splice(t,1)}return a},isDickType(l){let e=["long","string","DateTime","int","decimal","double"],a=this.getDictionary("code_gen_effect_type").filter(i=>i.code==l)[0],t=a!=null?a.remark:"0";return e.includes(t)?t:""},effectTypeChange(l){this.ruleFormData.filedsize=255,this.ruleFormData.fkcolumnname=null,this.ruleFormData.fkcolumnnettype=null,this.ruleFormData.fkentityname=null,this.ruleFormData.fkentitynamed=[];let e=this.isDickType(l);l==="fk"?this.ruleFormData.nettype=e!=""?e:"long":l==="input"?this.ruleFormData.nettype=e!=""?e:"string":l==="datepicker"?this.ruleFormData.nettype=e!=""?e:"DateTime":l==="select"?this.ruleFormData.nettype=e!=""?e:"int":l==="radio"?this.ruleFormData.nettype=e!=""?e:"int":l==="switch"?this.ruleFormData.nettype=e!=""?e:"int":l==="checkbox"?this.ruleFormData.nettype=e!=""?e:"string":l==="inputnumber"?(this.ruleFormData.nettype=e!=""?e:"int",this.ruleFormData.filedsize=32):l==="textarea"?(this.ruleFormData.filedsize=5e3,this.ruleFormData.nettype=e!=""?e:"string"):l==="imgupload"?this.ruleFormData.nettype=e!=""?e:"string":l==="long"?this.ruleFormData.nettype=e!=""?e:"long":l==="file"?this.ruleFormData.nettype=e!=""?e:"string":l==="image"?this.ruleFormData.nettype=e!=""?e:"string":l==="editor"?(this.ruleFormData.filedsize=5e3,this.ruleFormData.nettype=e!=""?e:"string"):l==="participants"?this.ruleFormData.nettype=e!=""?e:"string":l==="about"?this.ruleFormData.nettype=e!=""?e:"string":l==="currency"?(this.ruleFormData.nettype=e!=""?e:"decimal",this.ruleFormData.filedsize=4):l==="double"?(this.ruleFormData.nettype=e!=""?e:"double",this.ruleFormData.filedsize=4):l==="user"&&(this.ruleFormData.nettype=e!=""?e:"long",this.ruleFormData.fkcolumnname="Name",this.ruleFormData.fkcolumnnettype="string",this.ruleFormData.fkentityname=this.tableUserData.length==1?this.tableUserData[0].tablename:void 0)},open(l){this.record=l.table,this.visible=!0,this.fullScreen=!1,this.title=this.$i18nt("gd.https.add"),this.type=1,this.ruleFormData.codegenid=l.table.id,this.initAll()},initAll(){return new Promise((l,e)=>{Promise.all([this.refresh(),this.getDetail(),this.getTableAll(),this.searchNumberRules()]).then(a=>{let t=[...this.dataSource],i=this.numberRulesData.filter(r=>r.columnid==null&&r.syscodegenid==null),n=[];t.map(r=>{let o=this.numberRulesData.filter(c=>c.id==r.sysnumberrulesid),h=i.filter(c=>c.id!=r.sysnumberrulesid);return r.tablenamedata=this.tableNameData,r.defaulttype=r.defaulttype?String(r.defaulttype):"",r.isprimarykey=r.isprimarykey==1,r.numberRulesData=o.concat(h),r.sysnumberrulesid=r.sysnumberrulesid?r.sysnumberrulesid:"",r.sysnumberrulesid&&n.push(r.sysnumberrulesid),r.effecttype=="inputnumber"&&r.filedsize!=32&&r.filedsize!=64&&(r.filedsize=32),r.disabled=r.islocked==1,r});let s=this.numberRulesData.filter(r=>n.includes(r.id));this.numberNoRulesData=i.concat(s),this.ruleFormData.numberRulesData=this.numberNoRulesData.filter(r=>!n.includes(r.id)),this.dataSource=[...t],this.loading=!1})})},isRuleChecked(l){return!!/^(?![0-9_])\w+$/.test(l.columnname)},fknamedchange(){this.ruleFormData.fkentityname=this.ruleFormData.fkentitynamed.join(",")},handleSubmit(){this.$refs.ruleForm.validate(l=>{if(l){if(!this.isRuleChecked(this.ruleFormData)){this.$message.warning(this.$i18nt("gd.field.fieldTip","\u5B57\u6BB5\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934\u4E14\u5934\u5C3E\u6216\u4E2D\u95F4\u4E0D\u80FD\u6709\u7A7A\u683C\uFF01"));return}this.dataSource.forEach(i=>{i.filedstatic!=2&&this.ruleFormData.columnname===i.columnname&&this.$message.warning(this.$i18nt("gd.field.duplicateRemoval","\u8BF7\u53BB\u9664\u91CD\u590D\u5B57\u6BB5: ")+this.ruleFormData.columnname)});let e=[],a=this.dataSource.concat(this.ruleFormData);for(let i in a){let n=new Map,s=a[i];(s.id?String(s.id).split("u"):[]).length>1&&n.set("id",0);for(const o in s)s[o]===!0&&n.set(o,"Y"),s[o]===!1&&n.set(o,"N");["about","participants"].includes(s.effecttype)&&n.set("fkentityname",s.fkentitynamed.join(",")),["inputnumber"].includes(s.effecttype)&&n.set("nettype",s.filedsize==32?"int":"long"),e.push(Object.assign({...s},Object.fromEntries(n),{tableNameData:void 0,numberRulesData:void 0,isprimarykey:s.isprimarykey?1:0}))}const t=e.filter(i=>i.id===0&&i.filedstatic===0||i.id!==0&&(i.filedstatic===1||i.filedstatic===2));console.log(t),this.type==1?this.add(t):this.edit(this.ruleFormData)}})},add(l){this.confirmLoading=!0;const e=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});d.sysCodeGenerateConfigEditOnline(l).then(a=>{e.close(),a.success?(this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F")),this.$emit("ok",a.data),this.handleCancel()):this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25: ")+a.message)}).finally(a=>{this.confirmLoading=!1})},edit(l){this.confirmLoading=!0,sysTeamMemberEdit(l).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.loading=!1,this.$refs.ruleForm.resetFields(),this.ruleFormData={codegenid:"",columncomment:"",columnkey:"False",columnname:"",datatype:"System.String",dicttypecode:null,effecttype:"input",fkcolumnname:null,fkcolumnnettype:null,fkentityname:"",fkentitynamed:[],filedstatic:0,issynchronous:1,isnull:!0,issecurity:!1,isaudit:!1,lowercolumnname:"",lowerfkcolumnname:null,lowerfkentityname:null,nettype:"string",querytype:"==",querywhether:!0,whetheraddupdate:!0,whethercommon:!1,whetherorderby:!0,whetherrequired:!1,whetherretract:!1,whethertable:!0,isnew:!0,isellipsis:!0,customwidth:150,id:m.uuid(),filedsize:255,tablenamedata:[],numberRulesData:[],defaulttype:"",islocked:0,disabled:!1,virtualcolumn:"",isprimarykey:!1}},getDictionary(l){return this.$options.filters.dictData(l)},toggleFullscreen(){this.fullScreen=!this.fullScreen},doEvent(l){let e=l.item.functionName;this[e]&&this[e]()}}};var y=function(){var e=this,a=e._self._c;return a("div",[a("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(t){e.visible=t},closed:e.handleCancel}},[a("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"}),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[a("div",{class:e.fullScreen?"modal-bodyq":"modal-body"},[a("el-form",{ref:"ruleForm",attrs:{rules:e.rules,model:e.ruleFormData,"label-width":"100px"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.describe","\u63CF\u8FF0"),prop:"columncomment"}},[a("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.columncomment,callback:function(t){e.$set(e.ruleFormData,"columncomment",t)},expression:"ruleFormData['columncomment']"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.field","\u5B57\u6BB5"),prop:"columnname"}},[a("el-input",{attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.columnname,callback:function(t){e.$set(e.ruleFormData,"columnname",t)},expression:"ruleFormData['columnname']"}})],1)],1)],1),a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.effectType","\u4F5C\u7528\u7C7B\u578B"),prop:"effecttype"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},on:{change:t=>e.effectTypeChange(t)},model:{value:e.ruleFormData.effecttype,callback:function(t){e.$set(e.ruleFormData,"effecttype",t)},expression:"ruleFormData.effecttype"}},e._l(e.getEffectList,function(t){return a("el-option",{key:t.code,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.name),value:t.code}})}),1)],1)],1),a("el-col",{attrs:{span:12}},[e.isabout?a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.about","\u5916\u952E/\u5173\u4E8E"),prop:"fkentityname"}},[e.record.isvirtualtable==1?a("div",[["fk","user"].includes(e.ruleFormData.effecttype)?[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),disabled:e.ruleFormData.effecttype=="user",filterable:"",remote:"","reserve-keyword":"",loading:e.fetching,clearable:""},model:{value:e.ruleFormData.fkentityname,callback:function(t){e.$set(e.ruleFormData,"fkentityname",t)},expression:"ruleFormData.fkentityname"}},e._l(e.getIsvirtualtable,function(t){return a("el-option",{key:t.tablename,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.busname),value:t.tablename}})}),1)]:["participants","about"].includes(e.ruleFormData.effecttype)?[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),multiple:"",filterable:"",remote:"","reserve-keyword":"",loading:e.fetching,"collapse-tags":""},on:{change:e.fknamedchange},model:{value:e.ruleFormData.fkentitynamed,callback:function(t){e.$set(e.ruleFormData,"fkentitynamed",t)},expression:"ruleFormData.fkentitynamed"}},e._l(e.getIsvirtualtable,function(t){return a("el-option",{key:t.tablename,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.busname),value:t.tablename}})}),1)]:e._e()],2):a("div",[["fk","user"].includes(e.ruleFormData.effecttype)?[a("el-select",{key:`select-${e.ruleFormData.effecttype}`,staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:"",remote:"","reserve-keyword":"",loading:e.fetching,disabled:e.ruleFormData.effecttype=="user","remote-method":t=>e.searchTable(t,"fkuser"),clearable:""},model:{value:e.ruleFormData.fkentityname,callback:function(t){e.$set(e.ruleFormData,"fkentityname",t)},expression:"ruleFormData.fkentityname"}},e._l(e.tableNameDatafk,function(t){return a("el-option",{key:t.tablename,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.busname),value:t.tablename}})}),1)]:["participants","about"].includes(e.ruleFormData.effecttype)?[a("el-select",{key:`select-${e.ruleFormData.effecttype}`,staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"",remote:"","reserve-keyword":"",loading:e.fetching,"remote-method":t=>e.searchTable(t,"participantsabout"),placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"collapse-tags":""},on:{change:e.fknamedchange},model:{value:e.ruleFormData.fkentitynamed,callback:function(t){e.$set(e.ruleFormData,"fkentitynamed",t)},expression:"ruleFormData.fkentitynamed"}},e._l(e.tablenamedataabout,function(t){return a("el-option",{key:t.tablename,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.busname),value:t.tablename}})}),1)]:e._e()],2)]):e._e(),["select","radio","switch","checkbox"].includes(e.ruleFormData.effecttype)?a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.dictionaries","\u5B57\u5178"),prop:"dicttypecode"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"","reserve-keyword":"",placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.ruleFormData.dicttypecode,callback:function(t){e.$set(e.ruleFormData,"dicttypecode",t)},expression:"ruleFormData.dicttypecode"}},e._l(e.getDictionaryAll,function(t){return a("el-option",{key:t.code,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.name),value:t.code}})}),1)],1):e._e(),["datepicker"].includes(e.ruleFormData.effecttype)?a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.date","\u65E5\u671F"),prop:"fieldformat"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.ruleFormData.fieldformat,callback:function(t){e.$set(e.ruleFormData,"fieldformat",t)},expression:"ruleFormData.fieldformat"}},e._l(e.getDictionary("time_longshort"),function(t){return a("el-option",{key:t.code,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.name),value:t.code}})}),1)],1):e._e(),e.isprecision?a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.precision","\u5B57\u7B26\u957F\u5EA6/\u7CBE\u5EA6"),prop:"filedsize"}},[["input","image","file","currency"].includes(e.ruleFormData.effecttype)?a("el-input-number",{staticStyle:{width:"100%"},attrs:{max:2e3,"controls-position":"right"},model:{value:e.ruleFormData.filedsize,callback:function(t){e.$set(e.ruleFormData,"filedsize",t)},expression:"ruleFormData.filedsize"}}):["double"].includes(e.ruleFormData.effecttype)?a("el-input-number",{staticStyle:{width:"100%"},attrs:{max:30,"controls-position":"right"},model:{value:e.ruleFormData.filedsize,callback:function(t){e.$set(e.ruleFormData,"filedsize",t)},expression:"ruleFormData.filedsize"}}):["textarea","editor"].includes(e.ruleFormData.effecttype)?a("el-input-number",{staticStyle:{width:"100%"},attrs:{"controls-position":"right"},model:{value:e.ruleFormData.filedsize,callback:function(t){e.$set(e.ruleFormData,"filedsize",t)},expression:"ruleFormData.filedsize"}}):["inputnumber"].includes(e.ruleFormData.effecttype)?a("el-select",{staticStyle:{width:"100%"},model:{value:e.ruleFormData.filedsize,callback:function(t){e.$set(e.ruleFormData,"filedsize",t)},expression:"ruleFormData.filedsize"}},[a("el-option",{attrs:{label:e.$i18nt("gd.field.integer","\u6574\u578B 32"),value:32}}),a("el-option",{attrs:{label:e.$i18nt("gd.field.longInteger","\u957F\u6574\u578B 64"),value:64}})],1):e._e()],1):e._e()],1)],1),a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:12}},[["input"].includes(e.ruleFormData.effecttype)?a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.defaultType","\u9ED8\u8BA4\u503C\u7C7B\u578B"),prop:"defaulttype"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.ruleFormData.defaulttype,callback:function(t){e.$set(e.ruleFormData,"defaulttype",t)},expression:"ruleFormData.defaulttype"}},e._l(e.getDictionary("DefaultType"),function(t){return a("el-option",{key:t.code,attrs:{label:e.$i18nt(`Dynamics.${t.transkey}`,t.name),value:t.code}})}),1)],1):e._e()],1),a("el-col",{attrs:{span:12}},[e.ruleFormData.defaulttype&&["input"].includes(e.ruleFormData.effecttype)?a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.numberingRules","\u7F16\u53F7\u89C4\u5219"),prop:"sysnumberrulesid"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},on:{change:t=>e.changeCode(t)},model:{value:e.ruleFormData.sysnumberrulesid,callback:function(t){e.$set(e.ruleFormData,"sysnumberrulesid",t)},expression:"ruleFormData.sysnumberrulesid"}},e._l(e.ruleFormData.numberRulesData,function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1):e._e()],1)],1),a("div",{staticClass:"t"},[a("div",{staticClass:"tls"},[e._v(e._s(e.$i18nt("gd.field.enableConfiguration","\u542F\u7528\u914D\u7F6E")))])]),a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.audit","\u5BA1\u8BA1"),prop:"audit"}},[a("el-checkbox",{model:{value:e.ruleFormData.isaudit,callback:function(t){e.$set(e.ruleFormData,"isaudit",t)},expression:"ruleFormData.isaudit"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.safety","\u5B89\u5168\u6027"),prop:"safety"}},[a("el-checkbox",{model:{value:e.ruleFormData.issecurity,callback:function(t){e.$set(e.ruleFormData,"issecurity",t)},expression:"ruleFormData.issecurity"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.field.query","\u67E5\u8BE2"),prop:"query"}},[a("el-checkbox",{model:{value:e.ruleFormData.querywhether,callback:function(t){e.$set(e.ruleFormData,"querywhether",t)},expression:"ruleFormData.querywhether"}})],1)],1)],1)],1)],1)])],1)],1)},b=[],g=f.normalizeComponent(p,y,b,!1,null,"41331c4d",null,null);const D=g.exports;exports.default=D;
|