gds-plus-design-vue 1.2.62 → 1.2.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.5036013c.js +1 -0
- package/lib/addPermission.9fc97a47.mjs +421 -0
- package/lib/approvalModel.51d07afe.mjs +340 -0
- package/lib/approvalModel.66f49dfb.js +1 -0
- package/lib/attribute.318f485c.js +1 -0
- package/lib/attribute.a06ac9e7.mjs +237 -0
- package/lib/buildItem.6a834227.js +1 -0
- package/lib/buildItem.fd8634ab.mjs +205 -0
- package/lib/businessRules.0e4dbb3a.js +1 -0
- package/lib/businessRules.db6ba874.mjs +538 -0
- package/lib/components.chartbi.b043dcdc.mjs +1729 -0
- package/lib/components.chartbi.e4680eaa.js +7 -0
- package/lib/components.coloreditor.044983d2.mjs +1505 -0
- package/lib/components.coloreditor.779a9419.js +6 -0
- package/lib/components.dataassign.1853ed5c.js +1 -0
- package/lib/components.dataassign.56632583.mjs +147 -0
- package/lib/components.echarts.10d3ffe2.mjs +794 -0
- package/lib/components.echarts.e4d6b13e.js +3 -0
- package/lib/components.exception.3cc33e29.js +1 -0
- package/lib/components.exception.cc2f4ca3.mjs +61 -0
- package/lib/components.form.3344c817.mjs +7785 -0
- package/lib/components.form.91d5ed3e.js +41 -0
- package/lib/components.globalheader.07a90c4b.js +1 -0
- package/lib/components.globalheader.43fafa8c.mjs +54 -0
- package/lib/components.iconselector.8caabeaa.mjs +1165 -0
- package/lib/components.iconselector.d712170f.js +1 -0
- package/lib/components.imgpreview.57290b54.mjs +213 -0
- package/lib/components.imgpreview.86bf7971.js +1 -0
- package/lib/components.lunccalendar.76159d2e.js +1 -0
- package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
- package/lib/components.middleware.3bad5748.js +1 -0
- package/lib/components.middleware.457b1182.mjs +147 -0
- package/lib/components.modaltitle.ae92f96c.mjs +127 -0
- package/lib/components.modaltitle.e0b34fcb.js +1 -0
- package/lib/components.multitab.82fd0544.js +1 -0
- package/lib/components.multitab.8441aa6b.mjs +140 -0
- package/lib/components.selecttree.85d940a9.mjs +170 -0
- package/lib/components.selecttree.d710a362.js +1 -0
- package/lib/components.settingdrawer.779f6715.js +1 -0
- package/lib/components.settingdrawer.a6693034.mjs +237 -0
- package/lib/components.sidemenu.725677e3.mjs +277 -0
- package/lib/components.sidemenu.80e46c2d.js +1 -0
- package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
- package/lib/components.sidenavmenu.b9bb9304.js +1 -0
- package/lib/components.statuschange.15938660.mjs +116 -0
- package/lib/components.statuschange.ed1218a4.js +1 -0
- package/lib/components.table.17c02054.js +8 -0
- package/lib/components.table.e3e5e3bc.mjs +4635 -0
- package/lib/components.tableumy.2f5dfa12.mjs +450 -0
- package/lib/components.tableumy.9cf33062.js +1 -0
- package/lib/components.tablevirtual.38d4d3d8.js +1 -0
- package/lib/components.tablevirtual.ba03746e.mjs +561 -0
- package/lib/components.teamsharing.05503821.js +1 -0
- package/lib/components.teamsharing.fb4351ec.mjs +373 -0
- package/lib/components.tooltip.950dc77b.mjs +86 -0
- package/lib/components.tooltip.a05d8dd1.js +1 -0
- package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
- package/lib/components.uploadfile.5a9b6cc1.js +1 -0
- package/lib/components.uploadimg.cce7452a.js +1 -0
- package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
- package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
- package/lib/components.verificationcode.d1946db4.js +1 -0
- package/lib/components.viewformdetails.1621bc18.js +1 -0
- package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
- package/lib/components.viewloading.807bbf68.js +1 -0
- package/lib/components.viewloading.ea40b244.mjs +96 -0
- package/lib/components.watermark.1ffc66e0.mjs +53 -0
- package/lib/components.watermark.da3d7220.js +2 -0
- package/lib/components.xlsxexport.d98572f8.mjs +263 -0
- package/lib/components.xlsxexport.f5ace2cd.js +1 -0
- package/lib/components.xlsximport.cffa88fe.mjs +913 -0
- package/lib/components.xlsximport.dbd826bb.js +1 -0
- package/lib/createFile.6b37ecf2.js +1 -0
- package/lib/createFile.82d6e415.mjs +239 -0
- package/lib/createSubfolders.47af629c.js +1 -0
- package/lib/createSubfolders.d35b97e9.mjs +154 -0
- package/lib/dialogLayout.08823bb7.js +1 -0
- package/lib/dialogLayout.c4bc3b55.mjs +138 -0
- package/lib/drawerContainer.604a1271.mjs +146 -0
- package/lib/drawerContainer.6a9813ce.js +1 -0
- package/lib/drawerLayout.36cf4d05.js +1 -0
- package/lib/drawerLayout.fb60950f.mjs +119 -0
- package/lib/fileSearch.65311ded.js +1 -0
- package/lib/fileSearch.86c356fe.mjs +338 -0
- package/lib/flow.designer.1ba3a90d.js +1 -0
- package/lib/flow.designer.6da03949.mjs +7686 -0
- package/lib/flow.list.03694808.mjs +3030 -0
- package/lib/flow.list.4eb10554.js +1 -0
- package/lib/form.build.51bd261e.js +1 -0
- package/lib/form.build.b768d613.mjs +251 -0
- package/lib/form.designer.build.5a950455.js +1 -0
- package/lib/form.designer.build.e521c9c6.mjs +5091 -0
- package/lib/formFiled.464856f5.js +1 -0
- package/lib/formFiled.fe7d9df3.mjs +505 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +221 -91338
- package/lib/http.appmanage.4554a629.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
- package/lib/http.codegeneratemanage.aecadd5d.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.4baf16c0.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.77c69971.mjs +50 -0
- package/lib/http.duplicatechecking.31964ce7.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.7c656b91.js +1 -0
- package/lib/http.filedocument.d456d26a.mjs +156 -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.2f8a6936.js +1 -0
- package/lib/http.main.40657f51.mjs +517 -0
- package/lib/http.menumanage.3240ba0d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.5004bf60.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.e03bd5f3.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.5162fd7a.js +1 -0
- package/lib/http.orgmanage.84e43edb.mjs +58 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.rolemanage.03363732.js +1 -0
- package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
- package/lib/http.solution.175d36c8.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.608a06d6.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.e294ceaf.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.1d370398.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.c8487c0b.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
- package/lib/http.timersmanage.6e894942.js +1 -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.a4640c9a.mjs +104 -0
- package/lib/http.useraffiliation.840741ed.mjs +90 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.usermanage.3e5eff33.mjs +219 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.webresource.5158b431.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.69ad4631.mjs +44291 -0
- package/lib/index.cca024bf.js +8 -0
- package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
- package/lib/layoutBlocks.5e6be06f.js +1 -0
- package/lib/layouts.051a0bba.mjs +376 -0
- package/lib/layouts.a6a36612.js +2 -0
- package/lib/main.457f4326.js +1 -0
- package/lib/main.4fff412e.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
- package/lib/main.c3726602.js +1 -0
- package/lib/manage.5bb4f719.js +1 -0
- package/lib/manage.a1df9b88.mjs +419 -0
- package/lib/messages.7b74736f.js +9 -0
- package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
- package/lib/moveFile.0ce803e0.js +1 -0
- package/lib/moveFile.8310ea94.mjs +254 -0
- package/lib/page.build.685c1e15.mjs +3158 -0
- package/lib/page.build.846096e6.js +12 -0
- package/lib/personal.echarts.b22fba61.mjs +701 -0
- package/lib/personal.echarts.f77bfc9e.js +1 -0
- package/lib/result.19351665.mjs +526 -0
- package/lib/result.e59c0e40.js +1 -0
- package/lib/router.config.2501ec51.js +1 -0
- package/lib/router.config.98a73167.mjs +3172 -0
- package/lib/solution.58580123.js +1 -0
- package/lib/solution.890ff164.mjs +6942 -0
- package/lib/store.config.3cb11578.js +1 -0
- package/lib/store.config.fff8a5a1.mjs +542 -0
- package/lib/style.css +3 -3
- package/lib/system.account.014f3e0b.mjs +2097 -0
- package/lib/system.account.0d4f1fdc.js +216 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
- package/lib/system.config.210f516c.js +1 -0
- package/lib/system.datasource.82492d27.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
- package/lib/system.dict.f5708400.js +1 -0
- package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
- package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
- package/lib/system.email.070ab2be.js +1 -0
- package/lib/system.email.252fd642.mjs +138 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
- package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
- package/lib/system.file.17a7f2ed.js +1 -0
- package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
- package/lib/system.onlineuser.e2e39bdc.js +1 -0
- package/lib/system.org.79ee5bd6.js +1 -0
- package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
- package/lib/system.plugin.b34a3b47.js +1 -0
- package/lib/system.pos.0a3d2a37.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
- package/lib/system.sumberrules.bb228fce.js +1 -0
- package/lib/system.team.32183b63.js +1 -0
- package/lib/system.team.e6a9608e.mjs +450 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
- package/lib/system.teammembers.847d8ea7.js +1 -0
- package/lib/system.timers.28691ce4.js +38 -0
- package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
- package/lib/system.useraffiliation.7547b9c7.js +1 -0
- package/lib/system.webresource.12712b90.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
- package/lib/system.welcome.f64e49f8.js +1 -0
- package/lib/tcheckboxs.090e75eb.mjs +52 -0
- package/lib/tcheckboxs.99361be3.js +1 -0
- package/lib/tcurrency.0ddac2f8.mjs +92 -0
- package/lib/tcurrency.62763c6d.js +1 -0
- package/lib/tdatepicker.8fe48b1b.mjs +52 -0
- package/lib/tdatepicker.b19e689d.js +1 -0
- package/lib/tdictSwitch.2e07dc8a.js +1 -0
- package/lib/tdictSwitch.43d882c7.mjs +60 -0
- package/lib/tfile.1bc381f9.js +1 -0
- package/lib/tfile.72925615.mjs +62 -0
- package/lib/tparticipants.77b876e2.js +1 -0
- package/lib/tparticipants.ca5b556c.mjs +56 -0
- package/lib/translation.mains.1ce7e110.js +1 -0
- package/lib/translation.mains.278e4ba6.mjs +383 -0
- package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
- package/lib/utils.datepicker.js.8576e2fc.js +1 -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.util.js.50d1ec9c.js +1 -0
- package/lib/utils.util.js.82cd8447.mjs +424 -0
- package/lib/view.build.b44fd7d7.js +1 -0
- package/lib/view.build.f2a9fcfb.mjs +2727 -0
- package/lib/viewList.5a25c4b6.mjs +346 -0
- package/lib/viewList.be5a5ec5.js +1 -0
- package/locale/en_US.js +38 -22
- package/locale/id_ID.js +22 -6
- package/locale/vi_VN.js +1929 -1913
- package/locale/zh_CN.js +44 -28
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
import { d as g, a as p, e as h, l as b, b as y } from "./http.duplicatechecking.31964ce7.mjs";
|
|
2
|
+
import { m as u, n as f } from "./components.chartbi.b043dcdc.mjs";
|
|
3
|
+
import { t as w } from "./utils.mixins.js.be01e599.mjs";
|
|
4
|
+
import { o as $ } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
5
|
+
import { a as C } from "./flow.designer.6da03949.mjs";
|
|
6
|
+
const k = {
|
|
7
|
+
data() {
|
|
8
|
+
return {
|
|
9
|
+
tableColumns: [
|
|
10
|
+
{
|
|
11
|
+
type: "selection",
|
|
12
|
+
width: "60",
|
|
13
|
+
fixed: !0
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
transKey: "gd.duplicatechecking.name",
|
|
17
|
+
prop: "name",
|
|
18
|
+
label: "\u540D\u79F0",
|
|
19
|
+
width: "260",
|
|
20
|
+
type: "slot",
|
|
21
|
+
slotType: "name",
|
|
22
|
+
align: "left",
|
|
23
|
+
fixed: !0,
|
|
24
|
+
showOverflowTooltip: !0
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
transKey: "gd.duplicatechecking.basicTable",
|
|
28
|
+
prop: "basicrecordtablename",
|
|
29
|
+
width: "220",
|
|
30
|
+
label: "\u57FA\u672C\u8868",
|
|
31
|
+
align: "left"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
transKey: "gd.duplicatechecking.matchingTable",
|
|
35
|
+
prop: "matchingrecordtablename",
|
|
36
|
+
width: "220",
|
|
37
|
+
label: "\u5339\u914D\u8868",
|
|
38
|
+
align: "left"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
transKey: "gd.duplicatechecking.isSave",
|
|
42
|
+
prop: "issave",
|
|
43
|
+
width: "120",
|
|
44
|
+
label: "\u662F\u5426\u4FDD\u5B58",
|
|
45
|
+
type: "slot",
|
|
46
|
+
slotType: "issave",
|
|
47
|
+
align: "left"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
transKey: "gd.duplicatechecking.status",
|
|
51
|
+
prop: "stateCodes",
|
|
52
|
+
width: "120",
|
|
53
|
+
label: "\u72B6\u6001",
|
|
54
|
+
type: "slot",
|
|
55
|
+
slotType: "stateCodes",
|
|
56
|
+
align: "left"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
transKey: "gd.duplicatechecking.explain",
|
|
60
|
+
prop: "remark",
|
|
61
|
+
width: "260",
|
|
62
|
+
label: "\u8BF4\u660E",
|
|
63
|
+
align: "left"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
formColumns: [],
|
|
67
|
+
tableButtons: [
|
|
68
|
+
{
|
|
69
|
+
displayName: "\u65B0\u589E",
|
|
70
|
+
functionName: "add",
|
|
71
|
+
show: !0,
|
|
72
|
+
transKey: "gd.btn.add",
|
|
73
|
+
icon: "el-icon-plus",
|
|
74
|
+
name: "duplicatechecking:add"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: "\u7F16\u8F91",
|
|
78
|
+
functionName: "edit",
|
|
79
|
+
show: !0,
|
|
80
|
+
transKey: "gd.btn.edit",
|
|
81
|
+
icon: "el-icon-edit",
|
|
82
|
+
name: "duplicatechecking:edit"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: "\u5220\u9664",
|
|
86
|
+
functionName: "del",
|
|
87
|
+
show: !0,
|
|
88
|
+
transKey: "gd.btn.del",
|
|
89
|
+
icon: "el-icon-delete",
|
|
90
|
+
btnType: "danger",
|
|
91
|
+
name: "duplicatechecking:delete"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
displayName: "\u542F\u7528",
|
|
95
|
+
functionName: "enable",
|
|
96
|
+
show: !0,
|
|
97
|
+
transKey: "gd.btn.enable",
|
|
98
|
+
icon: "el-icon-video-play",
|
|
99
|
+
name: "duplicatechecking:changeStatus"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
displayName: "\u505C\u7528",
|
|
103
|
+
functionName: "deactivated",
|
|
104
|
+
show: !0,
|
|
105
|
+
btnType: "danger",
|
|
106
|
+
icon: "el-icon-discover",
|
|
107
|
+
transKey: "gd.btn.deactivate",
|
|
108
|
+
name: "duplicatechecking:changeStatus"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
formButtons: [],
|
|
112
|
+
tableQueries: [
|
|
113
|
+
{
|
|
114
|
+
transKey: "gd.msg.temPlate.state",
|
|
115
|
+
prop: "stateCodes",
|
|
116
|
+
label: "\u72B6\u6001",
|
|
117
|
+
effectType: "select",
|
|
118
|
+
dictTypeCode: "state_code",
|
|
119
|
+
rules: []
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
transKey: "gd.duplicatechecking.isSave",
|
|
123
|
+
prop: "isSave",
|
|
124
|
+
label: "\u662F\u5426\u4FDD\u5B58",
|
|
125
|
+
effectType: "select",
|
|
126
|
+
dictTypeCode: "yes_or_no",
|
|
127
|
+
rules: []
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
transKey: "gd.duplicatechecking.basicTable",
|
|
131
|
+
prop: "baseRecordTable",
|
|
132
|
+
label: "\u57FA\u672C\u8868",
|
|
133
|
+
effectType: "selectMultiple",
|
|
134
|
+
fkEntityName: "sys_code_gen",
|
|
135
|
+
rules: [],
|
|
136
|
+
fkData: [],
|
|
137
|
+
dictData: []
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
transKey: "gd.duplicatechecking.matchingTable",
|
|
141
|
+
prop: "matchingRecordTable",
|
|
142
|
+
label: "\u5339\u914D\u8868",
|
|
143
|
+
effectType: "selectMultiple",
|
|
144
|
+
fkEntityName: "sys_code_gen",
|
|
145
|
+
fkData: [],
|
|
146
|
+
rules: [],
|
|
147
|
+
dictData: []
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
const v = {
|
|
154
|
+
data() {
|
|
155
|
+
return {
|
|
156
|
+
confirmLoading: !0,
|
|
157
|
+
title: "",
|
|
158
|
+
sysViewButtons: [
|
|
159
|
+
{
|
|
160
|
+
displayName: "\u786E\u5B9A",
|
|
161
|
+
functionName: "handleSubmit",
|
|
162
|
+
show: !1,
|
|
163
|
+
transKey: "gd.btn.confirm",
|
|
164
|
+
icon: "el-icon-document-checked"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
type: 1,
|
|
168
|
+
fullScreen: !1,
|
|
169
|
+
width: "1000px",
|
|
170
|
+
ruleFormData: {
|
|
171
|
+
stateCodes: "0",
|
|
172
|
+
name: "",
|
|
173
|
+
explain: "",
|
|
174
|
+
issave: !1
|
|
175
|
+
},
|
|
176
|
+
rules: {
|
|
177
|
+
status: [
|
|
178
|
+
{
|
|
179
|
+
required: !0,
|
|
180
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
181
|
+
trigger: "change"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
name: [
|
|
185
|
+
{
|
|
186
|
+
required: !0,
|
|
187
|
+
message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
|
|
188
|
+
trigger: "change"
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
tableData: [],
|
|
193
|
+
visible: !1,
|
|
194
|
+
matchingsysCodeGenId: "",
|
|
195
|
+
sysCodeGenId: "",
|
|
196
|
+
sysCodeGenoId: "",
|
|
197
|
+
viewId: "0",
|
|
198
|
+
viewoId: "0",
|
|
199
|
+
filterList: {},
|
|
200
|
+
isAll: !1,
|
|
201
|
+
viewListData: [],
|
|
202
|
+
viewPersonalData: [],
|
|
203
|
+
loadData: [],
|
|
204
|
+
ruleslists: [],
|
|
205
|
+
selShow: !0,
|
|
206
|
+
tableMode: "basic",
|
|
207
|
+
isflows: !1,
|
|
208
|
+
rulesList: [],
|
|
209
|
+
fieldloadData: [],
|
|
210
|
+
matchFieldloadData: [],
|
|
211
|
+
tabledisabled: !1,
|
|
212
|
+
filteredList: []
|
|
213
|
+
};
|
|
214
|
+
},
|
|
215
|
+
components: { FlowsFilter: C },
|
|
216
|
+
computed: {
|
|
217
|
+
table() {
|
|
218
|
+
return this.tableLists.filter((a) => a.id === this.matchingsysCodeGenId)[0];
|
|
219
|
+
},
|
|
220
|
+
processedTableData() {
|
|
221
|
+
return [
|
|
222
|
+
...this.tableData,
|
|
223
|
+
{ isPlaceholder: !0 }
|
|
224
|
+
];
|
|
225
|
+
},
|
|
226
|
+
fieldProp() {
|
|
227
|
+
return this.tableMode === "basic" ? "field" : "baseField";
|
|
228
|
+
},
|
|
229
|
+
plugFilters() {
|
|
230
|
+
return {
|
|
231
|
+
referencefiled: "",
|
|
232
|
+
referencetable: "",
|
|
233
|
+
checked: !1,
|
|
234
|
+
columnid: 0,
|
|
235
|
+
columnname: "",
|
|
236
|
+
columntype: "",
|
|
237
|
+
dynamicreferencefield: "",
|
|
238
|
+
dynamicreferencetable: "",
|
|
239
|
+
fieldformat: null,
|
|
240
|
+
fkdata: [],
|
|
241
|
+
id: 0,
|
|
242
|
+
operators: "1",
|
|
243
|
+
optionsdata: [],
|
|
244
|
+
pid: null,
|
|
245
|
+
recordid: null,
|
|
246
|
+
ruleslist: [],
|
|
247
|
+
show: !0,
|
|
248
|
+
tablename: "",
|
|
249
|
+
type: "1",
|
|
250
|
+
value: "",
|
|
251
|
+
values: [],
|
|
252
|
+
list: []
|
|
253
|
+
};
|
|
254
|
+
},
|
|
255
|
+
...u(["screenHeight", "tableLists", "primaryColor"])
|
|
256
|
+
},
|
|
257
|
+
methods: {
|
|
258
|
+
okFilter(a) {
|
|
259
|
+
this.filterList = { ...a };
|
|
260
|
+
},
|
|
261
|
+
toggleFullscreen() {
|
|
262
|
+
this.fullScreen = !this.fullScreen;
|
|
263
|
+
},
|
|
264
|
+
getDictionary(a) {
|
|
265
|
+
return this.$options.filters.dictData(a);
|
|
266
|
+
},
|
|
267
|
+
selectRules(a) {
|
|
268
|
+
},
|
|
269
|
+
changeRelevant(a, e) {
|
|
270
|
+
a.condition = "", this.tabledisabled = !0;
|
|
271
|
+
let t = null;
|
|
272
|
+
if (e == "field" ? (this.selShow = !0, t = this.fieldloadData.filter((s) => s.columnname === a.basicField)[0], a.fieldeffecttype = t.effecttype) : (t = this.matchFieldloadData.filter((s) => s.columnname === a.matchingField)[0], a.mactheffecttype = t.effecttype, a.mactheffecttype !== a.fieldeffecttype && this.$message.warning(this.$i18nt("gd.duplicatechecking.pleaseBasicTableandmach", "\u57FA\u672C\u5B57\u6BB5\u9700\u4E0E\u5339\u914D\u5B57\u6BB5\u4FDD\u6301\u4E00\u81F4"))), t) {
|
|
273
|
+
a.type = t.effecttype, this.conditionColumn(a, t);
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
conditionColumn(a, e) {
|
|
278
|
+
let t = this.rulesList.filter((s) => s.remark.split(",").includes(e.effecttype));
|
|
279
|
+
a.ruleslists = [...t];
|
|
280
|
+
},
|
|
281
|
+
getList(a, e) {
|
|
282
|
+
return $({
|
|
283
|
+
codeGenId: a
|
|
284
|
+
}).then((t) => {
|
|
285
|
+
let i = [...t.data.filter((n) => n.effecttype == "about" && n.columnname == (n.relations + "_AboutTable").toLowerCase() || n.effecttype == "currency" && n.columnname == (n.relations + "_Currency_Base").toLowerCase() ? !1 : n.effecttype != "editor")];
|
|
286
|
+
const l = this.rulesList.map((n) => ({
|
|
287
|
+
...n,
|
|
288
|
+
remarkTypes: n.remark.split(",").map((o) => o.trim())
|
|
289
|
+
})), r = i.filter((n) => l.some((o) => o.remarkTypes.includes(n.effecttype)));
|
|
290
|
+
return e == "basicTable" ? this.fieldloadData = r : e == "matchingTable" && (this.matchFieldloadData = r), this.type == 2 && this.tableData.forEach((n) => {
|
|
291
|
+
let o = null;
|
|
292
|
+
if (o = this.fieldloadData.filter((c) => c.columnname === n.basicField)[0], o) {
|
|
293
|
+
let c = this.rulesList.filter((m) => m.remark.split(",").includes(o.effecttype));
|
|
294
|
+
n.ruleslists = [...c];
|
|
295
|
+
}
|
|
296
|
+
}), t;
|
|
297
|
+
});
|
|
298
|
+
},
|
|
299
|
+
init(a) {
|
|
300
|
+
this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0, this.type = a ? 2 : 1, this.title = a ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.$nextTick(() => {
|
|
301
|
+
this.filterList = JSON.parse(JSON.stringify(this.plugFilters));
|
|
302
|
+
let e = this.getDictionary("table_dup_rule");
|
|
303
|
+
e.forEach((t, s) => {
|
|
304
|
+
e[s].sysdicttype = {};
|
|
305
|
+
}), this.rulesList = [...e];
|
|
306
|
+
}), this.sysViewButtons = [
|
|
307
|
+
{
|
|
308
|
+
displayName: "\u786E\u5B9A",
|
|
309
|
+
functionName: "handleSubmit",
|
|
310
|
+
show: !0,
|
|
311
|
+
transKey: "gd.btn.confirm",
|
|
312
|
+
icon: "el-icon-document-checked"
|
|
313
|
+
}
|
|
314
|
+
], this.isflows = !0, a && this.sysTranslationDetail(a.id), this.filteredList = [], this.filteredList = this.tableLists.filter((e) => e.ischeckduplicate === 1);
|
|
315
|
+
},
|
|
316
|
+
sysTranslationDetail(a) {
|
|
317
|
+
this.confirmLoading = !0, g({
|
|
318
|
+
id: a
|
|
319
|
+
}).then((e) => {
|
|
320
|
+
this.ruleFormData.name = e.data.name, this.ruleFormData.stateCodes = String(e.data.statecodes), this.ruleFormData.id = e.data.id, this.ruleFormData.explain = e.data.explain, this.ruleFormData.issave = e.data.issave === 1, this.tableData = JSON.parse(e.data.matchingrules), this.filterList = e.data.filterconfig ? JSON.parse(e.data.filterconfig) : JSON.parse(JSON.stringify(this.plugfilters)), this.sysCodeGenId = Number(e.data.basicrecordtable), this.getList(e.data.basicrecordtable, "basicTable"), this.tableMode = "basic", this.matchingsysCodeGenId = Number(e.data.matchingrecordtable), this.matchingsysCodeGenId && this.matchingsysCodeGenId != this.sysCodeGenId && (this.getList(this.matchingsysCodeGenId, "matchingTable"), this.tableMode = "match"), this.ruleFormData.stateCodes == 1 && (this.sysViewButtons = []), this.confirmLoading = !1;
|
|
321
|
+
});
|
|
322
|
+
},
|
|
323
|
+
add(a) {
|
|
324
|
+
this.confirmLoading = !0, delete a.id, p(a).then((e) => {
|
|
325
|
+
e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", a), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message);
|
|
326
|
+
}).finally((e) => {
|
|
327
|
+
this.confirmLoading = !1;
|
|
328
|
+
});
|
|
329
|
+
},
|
|
330
|
+
edit(a) {
|
|
331
|
+
this.confirmLoading = !0, delete a.basicRecordTable, delete a.matchingRecordTable, h(a).then((e) => {
|
|
332
|
+
e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc")), this.$emit("ok", a), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail") + e.message);
|
|
333
|
+
}).finally((e) => {
|
|
334
|
+
this.confirmLoading = !1;
|
|
335
|
+
});
|
|
336
|
+
},
|
|
337
|
+
handleSubmit() {
|
|
338
|
+
this.$refs.ruleForm.validate((a) => {
|
|
339
|
+
this.tableData.forEach((l) => {
|
|
340
|
+
l.charactorcount = l.charactorcount ? Number(l.charactorcount) : "", l.basicField = l.basicField ? l.basicField : "", l.matchingField = this.tableMode === "match" ? l.matchingField : l.basicField;
|
|
341
|
+
});
|
|
342
|
+
let e = JSON.parse(JSON.stringify(this.tableData));
|
|
343
|
+
e.forEach((l) => {
|
|
344
|
+
delete l.isPlaceholder, delete l.ruleslists, delete l.fieldeffecttype, delete l.mactheffecttype;
|
|
345
|
+
});
|
|
346
|
+
let t = this.filterList.list[0], s = 0;
|
|
347
|
+
this.filterList.list.forEach((l) => {
|
|
348
|
+
s += l.list.length;
|
|
349
|
+
});
|
|
350
|
+
let i = t && this.filterList.list.length === 1 && t.referencefiled === "" && t.referencetable === "" && t.list.length > 0 ? Object.assign(t, {
|
|
351
|
+
columnid: 0
|
|
352
|
+
}) : this.filterList;
|
|
353
|
+
if (a) {
|
|
354
|
+
const l = {
|
|
355
|
+
...this.ruleFormData,
|
|
356
|
+
basicRecordTable: this.sysCodeGenId,
|
|
357
|
+
matchingRecordTable: this.matchingsysCodeGenId,
|
|
358
|
+
filterConfig: JSON.stringify(i),
|
|
359
|
+
matchingRules: JSON.stringify(e)
|
|
360
|
+
};
|
|
361
|
+
this.type == 1 ? this.add(l) : this.edit(l);
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
},
|
|
365
|
+
handleModeChange(a) {
|
|
366
|
+
this.tableData = [], this.selShow = !0, this.sysCodeGenId == this.matchingsysCodeGenId ? this.tableMode = "basic" : this.tableMode = "match", this.flowsFilterInit(), this.getList(a, "matchingTable");
|
|
367
|
+
},
|
|
368
|
+
handleCancel() {
|
|
369
|
+
this.visible = !1, this.confirmLoading = !1, this.tabledisabled = !1, this.$refs.ruleForm.resetFields(), this.ruleFormData = {
|
|
370
|
+
stateCodes: "0",
|
|
371
|
+
name: "",
|
|
372
|
+
explain: "",
|
|
373
|
+
issave: !1
|
|
374
|
+
}, this.sysCodeGenId = "", this.matchingsysCodeGenId = "", this.tableData = [], this.fieldloadData = [], this.matchFieldloadData = [], this.selShow = !0, this.tableMode = "basic";
|
|
375
|
+
},
|
|
376
|
+
doEvent(a) {
|
|
377
|
+
let e = a.item.functionName;
|
|
378
|
+
this[e] && this[e]();
|
|
379
|
+
},
|
|
380
|
+
shouldShowCharCount(a) {
|
|
381
|
+
return ["2", "3"].includes(a.condition);
|
|
382
|
+
},
|
|
383
|
+
selectTable(a) {
|
|
384
|
+
this.tableData = [], this.selShow = !0, this.matchingsysCodeGenId === "" && (this.matchingsysCodeGenId = a), this.sysCodeGenId == this.matchingsysCodeGenId ? this.tableMode = "basic" : this.tableMode = "match", this.flowsFilterInit(), this.getList(a, "basicTable");
|
|
385
|
+
},
|
|
386
|
+
addNewRow(a) {
|
|
387
|
+
this.selShow = !1;
|
|
388
|
+
const e = {
|
|
389
|
+
basicField: "",
|
|
390
|
+
matchingField: "",
|
|
391
|
+
condition: "",
|
|
392
|
+
charactorcount: "",
|
|
393
|
+
isPlaceholder: !1,
|
|
394
|
+
ruleslists: "",
|
|
395
|
+
type: ""
|
|
396
|
+
};
|
|
397
|
+
this.tableData.push(e);
|
|
398
|
+
},
|
|
399
|
+
shouldShowAddButton(a) {
|
|
400
|
+
const e = a === this.processedTableData.length - 1, t = this.tableData.some((s) => !s.field);
|
|
401
|
+
return e && !t;
|
|
402
|
+
},
|
|
403
|
+
removeRow(a) {
|
|
404
|
+
let e = this;
|
|
405
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
406
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
407
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
408
|
+
showClose: !1,
|
|
409
|
+
confirmButtonLoading: !1,
|
|
410
|
+
cancelButtonLoading: !1,
|
|
411
|
+
closeOnClickModal: !1,
|
|
412
|
+
type: "warning",
|
|
413
|
+
confirmButtonClass: "el-button--danger",
|
|
414
|
+
customClass: "custom-alert",
|
|
415
|
+
callback: () => {
|
|
416
|
+
},
|
|
417
|
+
beforeClose: (t, s, i) => {
|
|
418
|
+
if (t !== "confirm") {
|
|
419
|
+
i();
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
this.tableData.splice(a, 1), this.tabledisabled = !1, this.selShow = !0, e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), i();
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
},
|
|
426
|
+
tableRowClassName({ row: a }) {
|
|
427
|
+
return a.isPlaceholder ? "placeholder-row" : "";
|
|
428
|
+
},
|
|
429
|
+
handleCellHover(a, e, t) {
|
|
430
|
+
},
|
|
431
|
+
handleAddRow(a) {
|
|
432
|
+
this.selShow = !0;
|
|
433
|
+
},
|
|
434
|
+
flowsFilterInit() {
|
|
435
|
+
this.$nextTick(() => {
|
|
436
|
+
this.$refs.flowsFilter.initComponents(this.plugFilters);
|
|
437
|
+
});
|
|
438
|
+
},
|
|
439
|
+
selFilter() {
|
|
440
|
+
if (!(this.type == 2 && this.ruleFormData.stateCodes == 1)) {
|
|
441
|
+
if (this.matchingsysCodeGenId == "") {
|
|
442
|
+
this.$message.warning(this.$i18nt("gd.duplicatechecking.pleaseSelectBasicTable", "\u8BF7\u9009\u62E9\u5339\u914D\u8868"));
|
|
443
|
+
return;
|
|
444
|
+
}
|
|
445
|
+
console.log(this.filterList), this.$refs.flowsFilter.init(this.filterList);
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
isselect() {
|
|
449
|
+
return this.type == 2 ? this.ruleFormData.stateCodes != 1 : !0;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
var _ = function() {
|
|
454
|
+
var e = this, t = e._self._c;
|
|
455
|
+
return t("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
456
|
+
e.visible = s;
|
|
457
|
+
}, closed: e.handleCancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: `${e.title}${e.$i18nt("gd.duplicatechecking.checkConfigurationRetryRule", "\u67E5\u91CD\u89C4\u5219\u914D\u7F6E")}`, fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, closed: "handleCancel", showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { model: e.ruleFormData, rules: e.rules, "label-width": "120px" }, nativeOn: { submit: function(s) {
|
|
458
|
+
s.preventDefault();
|
|
459
|
+
} } }, [t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.name", "\u540D\u79F0"), prop: "name" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, model: { value: e.ruleFormData.name, callback: function(s) {
|
|
460
|
+
e.$set(e.ruleFormData, "name", s);
|
|
461
|
+
}, expression: "ruleFormData['name']" } })], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.status", "\u72B6\u6001") } }, [t("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: "" }, model: { value: e.ruleFormData.stateCodes, callback: function(s) {
|
|
462
|
+
e.$set(e.ruleFormData, "stateCodes", s);
|
|
463
|
+
}, expression: "ruleFormData['stateCodes']" } }, [t("el-option", { attrs: { value: "1", label: e.$i18nt("gd.duplicatechecking.enable", "\u542F\u7528]") } }), t("el-option", { attrs: { value: "0", label: e.$i18nt("gd.duplicatechecking.deactivate", "\u7981\u7528]") } })], 1)], 1)], 1), t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.explain", "\u8BF4\u660E") } }, [t("el-input", { attrs: { type: "textarea", placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 4, maxRows: 6 }, disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, model: { value: e.ruleFormData.explain, callback: function(s) {
|
|
464
|
+
e.$set(e.ruleFormData, "explain", s);
|
|
465
|
+
}, expression: "ruleFormData['explain']" } })], 1)], 1), t("el-col", { staticClass: "setting-navs-btn", attrs: { source: 24 } }, [t("span", [e._v(e._s(e.$i18nt("gd.duplicatechecking.repeatDetectionRuleCondition", "\u91CD\u590D\u68C0\u6D4B\u89C4\u5219\u6761\u4EF6")))])]), t("el-col", { attrs: { span: 10 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.basicTable", "\u57FA\u672C\u8868") } }, [t("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: e.selectTable }, model: { value: e.sysCodeGenId, callback: function(s) {
|
|
466
|
+
e.sysCodeGenId = s;
|
|
467
|
+
}, expression: "sysCodeGenId" } }, e._l(e.filteredList, function(s) {
|
|
468
|
+
return t("el-option", { key: s.id, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.id } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + e._s(s.tablename) + " ")]);
|
|
469
|
+
}), 1)], 1)], 1), t("el-col", { attrs: { span: 10 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.matchingTable", "\u5339\u914D\u8868") } }, [t("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: e.handleModeChange }, model: { value: e.matchingsysCodeGenId, callback: function(s) {
|
|
470
|
+
e.matchingsysCodeGenId = s;
|
|
471
|
+
}, expression: "matchingsysCodeGenId" } }, e._l(e.tableLists, function(s) {
|
|
472
|
+
return t("el-option", { key: s.id, attrs: { label: e.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.id } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + e._s(s.tablename) + " ")]);
|
|
473
|
+
}), 1)], 1)], 1), t("el-col", { attrs: { span: 4 } }, [t("el-button", { attrs: { type: "primary" }, on: { click: e.selFilter } }, [e._v(e._s(e.$i18nt("gd.view.filterConditions", "\u8FC7\u6EE4\u6761\u4EF6")))])], 1), t("el-col", { attrs: { span: 10 } }, [t("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.allowSave", "\u5141\u8BB8\u4FDD\u5B58") } }, [t("el-switch", { attrs: { disabled: e.type == 2 && e.ruleFormData.stateCodes == 1, "active-color": e.primaryColor }, model: { value: e.ruleFormData.issave, callback: function(s) {
|
|
474
|
+
e.$set(e.ruleFormData, "issave", s);
|
|
475
|
+
}, expression: "ruleFormData['issave']" } })], 1)], 1)], 1)], 1), t("div", { staticClass: "setting-conter" }, [t("div", { staticClass: "config-table-container" }, [t("el-table", { staticStyle: { width: "100%" }, attrs: { data: e.processedTableData, border: "", "header-cell-class-name": "table-header", "row-class-name": e.tableRowClassName }, on: { "cell-mouse-enter": e.handleCellHover } }, [t("el-table-column", { attrs: { prop: e.fieldProp, label: e.tableMode === "basic" ? e.$i18nt("gd.duplicatechecking.field", "\u5B57\u6BB5") : e.$i18nt("gd.duplicatechecking.basicField", "\u57FA\u672C\u5B57\u6BB5"), width: "170" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
|
|
476
|
+
return [s.row.isPlaceholder ? e._e() : t("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: function(i) {
|
|
477
|
+
return e.changeRelevant(s.row, "field");
|
|
478
|
+
} }, model: { value: s.row.basicField, callback: function(i) {
|
|
479
|
+
e.$set(s.row, "basicField", i);
|
|
480
|
+
}, expression: "scope.row.basicField" } }, e._l(e.fieldloadData, function(i, l) {
|
|
481
|
+
return t("el-option", { key: i.id, attrs: { value: i.columnname, label: e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment), clearable: "" } }, [t("span", { staticStyle: { "padding-left": "2px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment)) + " " + e._s(i.columnname) + " ")])]);
|
|
482
|
+
}), 1), e.selShow && s.row.isPlaceholder && e.isselect() ? t("div", { staticClass: "select-placeholder", on: { click: function(i) {
|
|
483
|
+
return e.addNewRow(s.row);
|
|
484
|
+
} } }, [t("span", { staticClass: "blue-text active-color" }, [e._v(e._s(e.$i18nt("gd.btn.choice", "\u9009\u62E9")))])]) : e._e()];
|
|
485
|
+
} }]) }), e.tableMode === "match" ? t("el-table-column", { attrs: { prop: "matchingField", label: e.$i18nt("gd.duplicatechecking.matchingField", "\u5339\u914D\u5B57\u6BB5"), width: "170" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
|
|
486
|
+
return [s.row.isPlaceholder ? e._e() : t("el-select", { attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !s.row.basicField || e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: function(i) {
|
|
487
|
+
return e.changeRelevant(s.row, "mactch");
|
|
488
|
+
} }, model: { value: s.row.matchingField, callback: function(i) {
|
|
489
|
+
e.$set(s.row, "matchingField", i);
|
|
490
|
+
}, expression: "scope.row.matchingField" } }, e._l(e.matchFieldloadData, function(i, l) {
|
|
491
|
+
return t("el-option", { key: i.id, attrs: { value: i.columnname, label: e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment) } }, [t("span", { staticStyle: { "padding-left": "2px" } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.columncomment)) + " " + e._s(i.columnname) + " ")])]);
|
|
492
|
+
}), 1)];
|
|
493
|
+
} }], null, !1, 2082435928) }) : e._e(), t("el-table-column", { attrs: { prop: "condition", label: e.$i18nt("gd.duplicatechecking.condition", "\u6761\u4EF6"), width: "170" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
|
|
494
|
+
return [!s.row.isPlaceholder && s.row.ruleslists && s.row.ruleslists.length > 0 ? t("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: e.type == 2 && e.ruleFormData.stateCodes == 1 }, on: { change: e.selectRules }, model: { value: s.row.condition, callback: function(i) {
|
|
495
|
+
e.$set(s.row, "condition", i);
|
|
496
|
+
}, expression: "scope.row.condition" } }, [e._l(s.row.ruleslists, function(i) {
|
|
497
|
+
return [t("el-option", { attrs: { value: i.code, label: e.$i18nt(`Dynamics.${i.transkey}`, i.name) } })];
|
|
498
|
+
})], 2) : e._e()];
|
|
499
|
+
} }]) }), t("el-table-column", { staticClass: "charactorcount", attrs: { prop: "charactorcount", label: e.$i18nt("gd.duplicatechecking.numberCharacters", "\u5B57\u7B26\u6570"), width: "160" }, scopedSlots: e._u([{ key: "default", fn: function(s) {
|
|
500
|
+
return [e.shouldShowCharCount(s.row) ? t("el-input-number", { staticStyle: { width: "100%" }, attrs: { disabled: e.type == 2 && e.ruleFormData.stateCodes == 1, min: 0 }, model: { value: s.row.charactorcount, callback: function(i) {
|
|
501
|
+
e.$set(s.row, "charactorcount", i);
|
|
502
|
+
}, expression: "scope.row.charactorcount" } }) : e._e()];
|
|
503
|
+
} }]) }), t("el-table-column", { attrs: { label: e.$i18nt("gd.duplicatechecking.handle", "\u64CD\u4F5C") }, scopedSlots: e._u([{ key: "default", fn: function(s) {
|
|
504
|
+
return !s.row.isPlaceholder && e.isselect() ? [t("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "16px", color: "#ff4d4f" }, on: { click: function(i) {
|
|
505
|
+
return e.removeRow(s.$index);
|
|
506
|
+
} } })] : void 0;
|
|
507
|
+
} }], null, !0) })], 1)], 1)]), e.visible && e.isflows && e.matchingsysCodeGenId ? t("FlowsFilter", { ref: "flowsFilter", attrs: { type: 2, table: e.table }, on: { ok: e.okFilter } }) : e._e()], 1)])], 1);
|
|
508
|
+
}, F = [], D = /* @__PURE__ */ f(
|
|
509
|
+
v,
|
|
510
|
+
_,
|
|
511
|
+
F,
|
|
512
|
+
!1,
|
|
513
|
+
null,
|
|
514
|
+
"080bf7cf",
|
|
515
|
+
null,
|
|
516
|
+
null
|
|
517
|
+
);
|
|
518
|
+
const S = D.exports;
|
|
519
|
+
const T = {
|
|
520
|
+
props: {
|
|
521
|
+
height: {
|
|
522
|
+
type: Number,
|
|
523
|
+
default: 100
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
name: "GdDuplicateChecking",
|
|
527
|
+
mixins: [w, k],
|
|
528
|
+
components: {
|
|
529
|
+
editForm: S
|
|
530
|
+
},
|
|
531
|
+
data() {
|
|
532
|
+
return {
|
|
533
|
+
selectedRowKeys: [],
|
|
534
|
+
selectedRows: [],
|
|
535
|
+
disableBtn: [],
|
|
536
|
+
transKey: "gd.duplicatechecking.checkConfigurationRetryRule",
|
|
537
|
+
formLoading: !1,
|
|
538
|
+
currentNode: null,
|
|
539
|
+
loadData: (a) => b(Object.assign(a, this.getQueryParam)).then((e) => e.data),
|
|
540
|
+
record: {},
|
|
541
|
+
queryParam: {}
|
|
542
|
+
};
|
|
543
|
+
},
|
|
544
|
+
computed: {
|
|
545
|
+
getTableLists() {
|
|
546
|
+
let a = [...this.tableLists];
|
|
547
|
+
return a.forEach((e, t) => {
|
|
548
|
+
a[t].name = e.busname, a[t].code = e.id;
|
|
549
|
+
}), a;
|
|
550
|
+
},
|
|
551
|
+
getTableQueries() {
|
|
552
|
+
return this.tableQueries.forEach((a, e) => {
|
|
553
|
+
if (a.prop === "matchingRecordTable")
|
|
554
|
+
this.tableQueries[e].dictData = [...this.getTableLists];
|
|
555
|
+
else if (a.prop === "baseRecordTable") {
|
|
556
|
+
const t = this.getTableLists.filter((s) => s.ischeckduplicate === 1);
|
|
557
|
+
this.tableQueries[e].dictData = [...t];
|
|
558
|
+
}
|
|
559
|
+
}), this.tableQueries;
|
|
560
|
+
},
|
|
561
|
+
getHeight() {
|
|
562
|
+
return this.height;
|
|
563
|
+
},
|
|
564
|
+
getTableButtons() {
|
|
565
|
+
return this.tableButtons.filter((a) => (a.show = !this.disableBtn.includes(a.displayName), !0));
|
|
566
|
+
},
|
|
567
|
+
getQueryParam() {
|
|
568
|
+
let a = /* @__PURE__ */ new Map();
|
|
569
|
+
for (let e in this.queryParam)
|
|
570
|
+
this.queryParam[e] && e === "baseRecordTable" || e === "matchingRecordTable" ? a.set(e, this.queryParam[e].join(",")) : a.set(e, this.queryParam[e]);
|
|
571
|
+
return Object.fromEntries(a);
|
|
572
|
+
},
|
|
573
|
+
...u(["tablePageSize", "tableSize", "labelPosition", "formMode", "tableLists"])
|
|
574
|
+
},
|
|
575
|
+
methods: {
|
|
576
|
+
onSelectChange(a, e) {
|
|
577
|
+
if (this.selectedRows = e, this.selectedRowKeys = a, a.length === 0) {
|
|
578
|
+
this.disableBtn = [];
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
const t = e.filter((i) => i.statecodes === 1)[0];
|
|
582
|
+
this.disableBtn = t ? ["\u5220\u9664", "\u542F\u7528"] : [], e.filter((i) => i.statecodes === 0)[0] && this.disableBtn.push("\u505C\u7528");
|
|
583
|
+
},
|
|
584
|
+
refresh() {
|
|
585
|
+
this.$refs.table.refresh();
|
|
586
|
+
},
|
|
587
|
+
edit() {
|
|
588
|
+
if (this.selectedRowKeys.length === 0) {
|
|
589
|
+
this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
|
|
590
|
+
return;
|
|
591
|
+
}
|
|
592
|
+
if (this.selectedRowKeys.length > 1) {
|
|
593
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
594
|
+
return;
|
|
595
|
+
}
|
|
596
|
+
this.editForms(this.selectedRows[0]);
|
|
597
|
+
},
|
|
598
|
+
editForms(a) {
|
|
599
|
+
this.$refs.editForm.init(a);
|
|
600
|
+
},
|
|
601
|
+
saveQueries(a) {
|
|
602
|
+
this.queryParam = { ...a }, this.refresh();
|
|
603
|
+
},
|
|
604
|
+
add() {
|
|
605
|
+
this.$refs.editForm.init(null);
|
|
606
|
+
},
|
|
607
|
+
del() {
|
|
608
|
+
if (this.selectedRowKeys.length === 0) {
|
|
609
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
610
|
+
return;
|
|
611
|
+
}
|
|
612
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
613
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
614
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
615
|
+
showClose: !1,
|
|
616
|
+
confirmButtonLoading: !1,
|
|
617
|
+
cancelButtonLoading: !1,
|
|
618
|
+
closeOnClickModal: !1,
|
|
619
|
+
type: "warning",
|
|
620
|
+
confirmButtonClass: "el-button--danger",
|
|
621
|
+
customClass: "custom-alert",
|
|
622
|
+
callback: () => {
|
|
623
|
+
},
|
|
624
|
+
beforeClose: (a, e, t) => {
|
|
625
|
+
this.delHand(a, e, t);
|
|
626
|
+
}
|
|
627
|
+
});
|
|
628
|
+
},
|
|
629
|
+
delHand(a, e, t) {
|
|
630
|
+
if (a !== "confirm") {
|
|
631
|
+
t();
|
|
632
|
+
return;
|
|
633
|
+
}
|
|
634
|
+
let s = [], i = y({
|
|
635
|
+
ids: this.selectedRowKeys.join(",")
|
|
636
|
+
}).then((l) => l);
|
|
637
|
+
s.push(i), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((l) => {
|
|
638
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, t();
|
|
639
|
+
const r = l.filter((n) => !n.success);
|
|
640
|
+
r.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + r[0].message), this.refresh();
|
|
641
|
+
});
|
|
642
|
+
},
|
|
643
|
+
doEvent(a) {
|
|
644
|
+
let e = a.item.functionName;
|
|
645
|
+
this[e] && this[e]();
|
|
646
|
+
},
|
|
647
|
+
handleOk() {
|
|
648
|
+
this.$refs.table.refresh();
|
|
649
|
+
},
|
|
650
|
+
dictSwitch(a, e) {
|
|
651
|
+
let t = this.$options.filters.dictData(e).filter((s) => s.code == a)[0];
|
|
652
|
+
return t != null && t.colour ? t.colour : null;
|
|
653
|
+
},
|
|
654
|
+
enable() {
|
|
655
|
+
if (this.selectedRowKeys.length === 0) {
|
|
656
|
+
this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
|
|
657
|
+
return;
|
|
658
|
+
}
|
|
659
|
+
if (this.selectedRowKeys.length > 1) {
|
|
660
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
661
|
+
return;
|
|
662
|
+
}
|
|
663
|
+
this.editStateCodes({ row: this.selectedRows[0] });
|
|
664
|
+
},
|
|
665
|
+
deactivated() {
|
|
666
|
+
if (this.selectedRowKeys.length === 0) {
|
|
667
|
+
this.$message.warning(this.$i18nt("gd.https.operateTip", "\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));
|
|
668
|
+
return;
|
|
669
|
+
}
|
|
670
|
+
if (this.selectedRowKeys.length > 1) {
|
|
671
|
+
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
this.editStateCodes({ row: this.selectedRows[0] });
|
|
675
|
+
},
|
|
676
|
+
editStateCodes({ column: a, row: e }) {
|
|
677
|
+
if (e.dict_type == 1) {
|
|
678
|
+
this.$message.error(this.$i18nt("gd.https.operableNoTip", "\u4E0D\u53EF\u64CD\u4F5C!"));
|
|
679
|
+
return;
|
|
680
|
+
}
|
|
681
|
+
const t = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), s = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
|
|
682
|
+
this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
683
|
+
confirmButtonText: s,
|
|
684
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
685
|
+
showClose: !1,
|
|
686
|
+
confirmButtonLoading: !1,
|
|
687
|
+
cancelButtonLoading: !1,
|
|
688
|
+
closeOnClickModal: !1,
|
|
689
|
+
type: "warning",
|
|
690
|
+
confirmButtonClass: "el-button--danger",
|
|
691
|
+
customClass: "custom-alert",
|
|
692
|
+
callback: () => {
|
|
693
|
+
},
|
|
694
|
+
beforeClose: (i, l, r) => {
|
|
695
|
+
if (i !== "confirm") {
|
|
696
|
+
r();
|
|
697
|
+
return;
|
|
698
|
+
}
|
|
699
|
+
l.confirmButtonLoading = !0, l.cancelButtonLoading = !0, l.showCancelButton = !1, h({ id: e.id, stateCodes: e.statecodes == 1 ? 0 : 1 }).then((n) => {
|
|
700
|
+
r(), l.confirmButtonLoading = !1, l.cancelButtonLoading = !1, l.showCancelButton = !0, n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message);
|
|
701
|
+
});
|
|
702
|
+
}
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
};
|
|
707
|
+
var L = function() {
|
|
708
|
+
var e = this, t = e._self._c;
|
|
709
|
+
return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !0, height: e.getHeight }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: i }) {
|
|
710
|
+
return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForms } })];
|
|
711
|
+
} }, { key: "basicrecordtablename", fn: function({ column: s, row: i }) {
|
|
712
|
+
return [t("gd-tooltip", { attrs: { rowKey: "basicrecordtable", row: i } })];
|
|
713
|
+
} }, { key: "matchingrecordtablename", fn: function({ column: s, row: i }) {
|
|
714
|
+
return [t("gd-tooltip", { attrs: { rowKey: "matchingrecordtable", row: i } })];
|
|
715
|
+
} }, { key: "issave", fn: function(s) {
|
|
716
|
+
return [e.dictSwitch(s.row.issave, "yes_or_no") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", color: e.dictSwitch(s.row.issave, "yes_or_no") } }, [e._v(" " + e._s(e._f("dictType")("yes_or_no", s.row.issave)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("yes_or_no", s.row.issave)))])];
|
|
717
|
+
} }, { key: "remark", fn: function({ column: s, row: i }) {
|
|
718
|
+
return [t("gd-tooltip", { attrs: { rowKey: "remark", row: i } })];
|
|
719
|
+
} }, { key: "stateCodes", fn: function(s) {
|
|
720
|
+
return [e.dictSwitch(s.row.statecodes, "state_code") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", color: e.dictSwitch(s.row.statecodes, "state_code") } }, [e._v(" " + e._s(e._f("dictType")("state_code", s.row.statecodes)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("state_code", s.row.statecodes)))])];
|
|
721
|
+
} }, { key: "operator", fn: function() {
|
|
722
|
+
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
723
|
+
}, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: i }) {
|
|
724
|
+
return [t("gd-table-queries-field", { attrs: { columns: e.getTableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: i }, on: { save: e.saveQueries } })];
|
|
725
|
+
} }]) })], 1), t("editForm", { ref: "editForm", attrs: { table: e.record }, on: { ok: e.handleOk } })], 1);
|
|
726
|
+
}, x = [], R = /* @__PURE__ */ f(
|
|
727
|
+
T,
|
|
728
|
+
L,
|
|
729
|
+
x,
|
|
730
|
+
!1,
|
|
731
|
+
null,
|
|
732
|
+
"db17f1d6",
|
|
733
|
+
null,
|
|
734
|
+
null
|
|
735
|
+
);
|
|
736
|
+
const d = R.exports;
|
|
737
|
+
d.install = function(a) {
|
|
738
|
+
a.component(d.name, d);
|
|
739
|
+
};
|
|
740
|
+
export {
|
|
741
|
+
d as G
|
|
742
|
+
};
|