gds-plus-design-vue 1.2.63 → 1.2.71
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.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
- package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
- package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
- package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
- package/lib/form.build.724d3357.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.c949a27f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
- package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
- package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
- package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
- package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.1cadbf03.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
- package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
- package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
- package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
- package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
- package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
- package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
- package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
- package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
- package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
import { m, n as o } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { s as f, a as g, b as h, c as y, d as b, e as v, f as _, g as $, h as k, i as F } from "./http.filedocument.8fa3fe2d.mjs";
|
|
3
|
+
import { u as p } from "./utils.util.js.333daba2.mjs";
|
|
4
|
+
import { a as D } from "./http.tabledevelopment.3dcb3e97.mjs";
|
|
5
|
+
const C = {
|
|
6
|
+
name: "GdDocumentClassify",
|
|
7
|
+
props: {
|
|
8
|
+
height: {
|
|
9
|
+
type: Number,
|
|
10
|
+
default: 100
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
data() {
|
|
14
|
+
return {
|
|
15
|
+
maxLeg: 3,
|
|
16
|
+
statu: !1,
|
|
17
|
+
pagesize: 1e3,
|
|
18
|
+
pageno: 1,
|
|
19
|
+
labelPosition: "top",
|
|
20
|
+
transKey: "gd.btn.add",
|
|
21
|
+
formLoading: !1,
|
|
22
|
+
itemLoading: !1,
|
|
23
|
+
confirmLoading: !1,
|
|
24
|
+
attributeList: [],
|
|
25
|
+
itemData: {},
|
|
26
|
+
treeList: []
|
|
27
|
+
};
|
|
28
|
+
},
|
|
29
|
+
computed: {
|
|
30
|
+
show() {
|
|
31
|
+
return !!this.itemData.id;
|
|
32
|
+
},
|
|
33
|
+
getFormButtons() {
|
|
34
|
+
return [
|
|
35
|
+
{
|
|
36
|
+
displayName: "\u786E\u5B9A",
|
|
37
|
+
functionName: "handleSubmit",
|
|
38
|
+
show: !0,
|
|
39
|
+
transKey: "gd.btn.confirm",
|
|
40
|
+
icon: "el-icon-document-checked",
|
|
41
|
+
validate: !0
|
|
42
|
+
}
|
|
43
|
+
];
|
|
44
|
+
},
|
|
45
|
+
getFormColumns() {
|
|
46
|
+
const a = this.transKey === "gd.btn.edit";
|
|
47
|
+
return [
|
|
48
|
+
{
|
|
49
|
+
transKey: "gd.translation.name",
|
|
50
|
+
effectType: "input",
|
|
51
|
+
prop: "name",
|
|
52
|
+
label: "\u540D\u79F0",
|
|
53
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
54
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
55
|
+
disabled: !1,
|
|
56
|
+
type: "slot",
|
|
57
|
+
slotType: "name",
|
|
58
|
+
rules: [
|
|
59
|
+
{
|
|
60
|
+
required: !0,
|
|
61
|
+
message: "\u8BF7\u8F93\u5165",
|
|
62
|
+
transKey: "gd.placeholder.input",
|
|
63
|
+
trigger: "change"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
transKey: "gd.dict.code",
|
|
69
|
+
prop: "code",
|
|
70
|
+
effectType: "input",
|
|
71
|
+
label: "\u552F\u4E00\u7F16\u7801",
|
|
72
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
73
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
74
|
+
disabled: a,
|
|
75
|
+
rules: [
|
|
76
|
+
{
|
|
77
|
+
required: !0,
|
|
78
|
+
message: "\u8BF7\u8F93\u5165",
|
|
79
|
+
transKey: "gd.placeholder.input",
|
|
80
|
+
trigger: "change"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
pattern: /^[a-zA-Z]([a-zA-Z0-9_]+)?$/,
|
|
84
|
+
message: this.$i18nt("gd.view.viewNameTip", "\u8BF7\u8F93\u5165\u82F1\u6587\u5B57\u6BCD!")
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
transKey: "gd.dict.sort",
|
|
90
|
+
prop: "sort",
|
|
91
|
+
effectType: "inputnumber",
|
|
92
|
+
label: "\u6392\u5E8F",
|
|
93
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
94
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
95
|
+
defaultValue: 100,
|
|
96
|
+
min: 1,
|
|
97
|
+
rules: [
|
|
98
|
+
{
|
|
99
|
+
required: !0,
|
|
100
|
+
message: "\u8BF7\u8F93\u5165",
|
|
101
|
+
transKey: "gd.placeholder.input",
|
|
102
|
+
trigger: "change",
|
|
103
|
+
type: "number"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
transKey: "gd.state.currentState",
|
|
109
|
+
effectType: "select",
|
|
110
|
+
prop: "statecodes",
|
|
111
|
+
label: "\u5F53\u524D\u72B6\u6001",
|
|
112
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
113
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
114
|
+
disabled: !1,
|
|
115
|
+
dictTypeCode: "state_code",
|
|
116
|
+
defaultValue: "1",
|
|
117
|
+
rules: [
|
|
118
|
+
{
|
|
119
|
+
required: !0,
|
|
120
|
+
message: "\u8BF7\u9009\u62E9",
|
|
121
|
+
transKey: "gd.placeholder.select",
|
|
122
|
+
trigger: "change"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
transKey: "gd.task.description",
|
|
128
|
+
effectType: "textarea",
|
|
129
|
+
prop: "description",
|
|
130
|
+
label: "\u63CF\u8FF0",
|
|
131
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
132
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
133
|
+
disabled: !1,
|
|
134
|
+
rules: [],
|
|
135
|
+
autosize: {
|
|
136
|
+
minRows: 4,
|
|
137
|
+
maxRows: 6
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
];
|
|
141
|
+
},
|
|
142
|
+
style() {
|
|
143
|
+
return `height:${this.height + 76}px`;
|
|
144
|
+
},
|
|
145
|
+
fadeColord() {
|
|
146
|
+
return this.fadeColor(this.primaryColor, 0.1);
|
|
147
|
+
},
|
|
148
|
+
...m(["screenHeight", "primaryColor"])
|
|
149
|
+
},
|
|
150
|
+
components: {
|
|
151
|
+
EffectTypeIcon: () => import("./components.xlsximport.81df7841.mjs").then((a) => a.e),
|
|
152
|
+
EditAttributeForm: () => Promise.resolve().then(() => M)
|
|
153
|
+
},
|
|
154
|
+
methods: {
|
|
155
|
+
lookupSeled(a, e) {
|
|
156
|
+
e.name = a.defaulttext;
|
|
157
|
+
},
|
|
158
|
+
copyAttribute(a) {
|
|
159
|
+
this.transKey = "gd.btn.copy", this.$refs.editAttributeForm.openCopy(a);
|
|
160
|
+
},
|
|
161
|
+
okAttribute() {
|
|
162
|
+
this.getListPage(), this.refreshAttribute();
|
|
163
|
+
},
|
|
164
|
+
getDetail() {
|
|
165
|
+
return f({ id: this.itemData.id }).then((a) => (a.code === 200 && (this.itemData = Object.assign(a.data, {
|
|
166
|
+
statecodes: String(a.data.statecodes)
|
|
167
|
+
})), a));
|
|
168
|
+
},
|
|
169
|
+
getAttributeDetail() {
|
|
170
|
+
return g({ pageno: this.pageno, pagesize: this.pagesize, sysDocTypeId: this.itemData.id }).then((a) => (a.code === 200 && (this.attributeList = a.data.rows.map((e) => Object.assign(e, {
|
|
171
|
+
defaultvalue: this.getDefaultvalue(e)
|
|
172
|
+
}))), a));
|
|
173
|
+
},
|
|
174
|
+
getDefaultvalue(a) {
|
|
175
|
+
return ["checkbox"].includes(a.datatype) ? a.defaultvalue.split(",") : ["double", "currency"].includes(a.datatype) && a.defaultvalue ? Number(a.defaultvalue).toFixed(a.fieldsize) : a.defaultvalue;
|
|
176
|
+
},
|
|
177
|
+
init() {
|
|
178
|
+
this.confirmLoading = !0, this.getListPage().then((a) => {
|
|
179
|
+
this.itemData = this.treeList[0] ? this.treeList[0] : {}, this.refreshAttribute(), this.confirmLoading = !1;
|
|
180
|
+
});
|
|
181
|
+
},
|
|
182
|
+
refresh() {
|
|
183
|
+
this.confirmLoading = !0, this.getListPage().then((a) => {
|
|
184
|
+
this.treeList.filter((t) => t.id === this.itemData.id)[0] || (this.itemData = {}), this.confirmLoading = !1;
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
refreshAttribute() {
|
|
188
|
+
!this.itemData.id || (this.statu = !0, this.itemLoading = !0, Promise.all([this.getDetail(), this.getAttributeDetail()]).then((a) => {
|
|
189
|
+
this.statu = !1, this.itemLoading = !1;
|
|
190
|
+
}));
|
|
191
|
+
},
|
|
192
|
+
getListPage() {
|
|
193
|
+
return h({ pageno: this.pageno, pagesize: this.pagesize }).then((a) => (a.code === 200 && (this.treeList = a.data.rows.map((e) => Object.assign(e, {
|
|
194
|
+
attributesLeg: e.sysdoctypeattributes ? e.sysdoctypeattributes.length : 0,
|
|
195
|
+
statecodes: String(e.statecodes)
|
|
196
|
+
}))), a));
|
|
197
|
+
},
|
|
198
|
+
editAttribute(a, e = "add") {
|
|
199
|
+
this.transKey = `gd.btn.${e}`, this.$refs.editAttributeForm.open(a);
|
|
200
|
+
},
|
|
201
|
+
edit(a, e = "add") {
|
|
202
|
+
this.transKey = `gd.btn.${e}`, this.$refs.editForm.open(a).then((t) => {
|
|
203
|
+
e === "add" && t.done({ code: p(12) });
|
|
204
|
+
});
|
|
205
|
+
},
|
|
206
|
+
del(a, e) {
|
|
207
|
+
let t = this, i = this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?");
|
|
208
|
+
this.$confirm(i, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
209
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
|
|
210
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
211
|
+
showClose: !1,
|
|
212
|
+
confirmButtonLoading: !1,
|
|
213
|
+
cancelButtonLoading: !1,
|
|
214
|
+
closeOnClickModal: !1,
|
|
215
|
+
type: "warning",
|
|
216
|
+
confirmButtonClass: "el-button--danger",
|
|
217
|
+
customClass: "custom-alert",
|
|
218
|
+
callback: () => {
|
|
219
|
+
},
|
|
220
|
+
beforeClose: (s, l, r) => {
|
|
221
|
+
if (s !== "confirm") {
|
|
222
|
+
r();
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
l.confirmButtonLoading = !0, l.cancelButtonLoading = !0, l.showCancelButton = !1, (a === 2 ? y : b)({
|
|
226
|
+
ids: e.id
|
|
227
|
+
}).then((u) => {
|
|
228
|
+
if (l.confirmButtonLoading = !1, l.cancelButtonLoading = !1, l.showCancelButton = !0, !u.success) {
|
|
229
|
+
t.$message.error(t.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + u.message);
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
t.refresh(), a !== 2 ? t.itemData = e.id === t.itemData.id ? {} : t.itemData : t.refreshAttribute(), t.$message.success(t.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), r();
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
},
|
|
237
|
+
sbumit({ data: a, record: e, btn: t }, i, s) {
|
|
238
|
+
this.formLoading = !0, (e ? _ : v)(a).then((r) => {
|
|
239
|
+
r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), s(), this.refresh(), this.refreshAttribute()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.formLoading = !1;
|
|
240
|
+
});
|
|
241
|
+
},
|
|
242
|
+
selIcon(a) {
|
|
243
|
+
this.iconData = a, this.$refs.iconSelector.open();
|
|
244
|
+
},
|
|
245
|
+
selItem(a) {
|
|
246
|
+
this.statu || a !== this.itemData.id && (this.itemData = a, this.refreshAttribute());
|
|
247
|
+
},
|
|
248
|
+
fadeColor(a, e) {
|
|
249
|
+
let t = parseInt(a.substring(1, 3), 16), i = parseInt(a.substring(3, 5), 16), s = parseInt(a.substring(5, 7), 16);
|
|
250
|
+
return `rgba(${t},${i},${s},${e})`;
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
created() {
|
|
254
|
+
this.init();
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
var x = function() {
|
|
258
|
+
var e = this, t = e._self._c;
|
|
259
|
+
return t("div", { staticClass: "gd-document", style: { "--fadecolor": e.fadeColord } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "document-type", style: e.style }, [t("div", { staticClass: "document-type-item document-typel" }, [t("div", { staticClass: "document-typet" }, [t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fileDocument.classification", "\u6587\u6863\u5206\u7C7B")))]), e.$hasPerm("sysDocumentClassify:add") ? t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.add", "\u65B0\u589E"), placement: "top" } }, [t("i", { staticClass: "el-icon-plus", on: { click: function(i) {
|
|
260
|
+
return e.edit(null);
|
|
261
|
+
} } })]) : e._e(), t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.refresh", "\u5237\u65B0"), placement: "top" } }, [t("i", { staticClass: "el-icon-refresh", on: { click: e.refresh } })])], 1), t("div", { staticClass: "document-typeb" }, [e._l(e.treeList, function(i) {
|
|
262
|
+
return [t("div", { staticClass: "list", class: i.id === e.itemData.id ? "active-item" : "", on: { click: function(s) {
|
|
263
|
+
return e.selItem(i);
|
|
264
|
+
} } }, [t("div", { staticClass: "list-item" }, [t("div", { staticClass: "name line1", attrs: { title: e.$i18nt(`Dynamics.${i.transkey}`, i.name) } }, [e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)))]), t("div", { staticClass: "sku" }, [t("div", { staticClass: "skul" }, [t("span", [e._v(e._s(i.attributesLeg) + " " + e._s(e.$i18nt("gd.fileDocument.attributes", "\u4E2A\u5C5E\u6027")))]), t("el-divider", { attrs: { direction: "vertical" } }), i.statecodes === "1" ? t("span", { staticStyle: { color: "#67c23a" } }, [e._v(e._s(e.$i18nt("gd.duplicatechecking.enable", "\u542F\u7528")))]) : t("span", { staticStyle: { color: "red" } }, [e._v(e._s(e.$i18nt("gd.duplicatechecking.deactivate", "\u7981\u7528")))])], 1), t("div", { staticClass: "skur" }, [t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.edit", "\u7F16\u8F91"), placement: "top" } }, [e.$hasPerm("sysDocumentClassify:edit") ? t("i", { staticClass: "el-icon-edit-outline", on: { click: function(s) {
|
|
265
|
+
return s.stopPropagation(), e.edit(i, "edit");
|
|
266
|
+
} } }) : e._e()]), e.$hasPerm("sysDocumentClassify:delete") && e.$hasPerm("sysDocumentClassify:edit") ? t("el-divider", { attrs: { direction: "vertical" } }) : e._e(), t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.del", "\u5220\u9664"), placement: "top" } }, [e.$hasPerm("sysDocumentClassify:delete") ? t("i", { staticClass: "el-icon-delete", on: { click: function(s) {
|
|
267
|
+
return s.stopPropagation(), e.del(1, i);
|
|
268
|
+
} } }) : e._e()])], 1)])])])];
|
|
269
|
+
})], 2)]), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.itemLoading, expression: "itemLoading" }], staticClass: "document-type-item" }, [t("div", { staticClass: "document-typet" }, [t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fileDocument.properties", "\u6587\u6863\u5C5E\u6027")))]), e.itemData.id && e.$hasPerm("sysDocumentClassifyAttribute:add") ? t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.fileDocument.addAttribute", "\u65B0\u589E\u5C5E\u6027"), placement: "top" } }, [t("i", { staticClass: "gd-icons el-icon-plus", on: { click: function(i) {
|
|
270
|
+
return e.editAttribute(null);
|
|
271
|
+
} } })]) : e._e(), t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.refresh", "\u5237\u65B0"), placement: "top" } }, [t("i", { staticClass: "gd-icons el-icon-refresh", on: { click: e.refreshAttribute } })])], 1), e.show ? t("div", { staticClass: "document-typeb" }, [t("div", { staticClass: "card-spu" }, [t("div", { staticClass: "item" }, [t("div", { staticClass: "name" }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${e.itemData.transkey}`, e.itemData.name)) + " "), t("span", { staticClass: "sku active-color" }, [e._v("(" + e._s(e.itemData.code) + ")")])]), e.itemData.statecodes === "1" ? t("el-tag", { attrs: { type: "success", effect: "dark" } }, [e._v(e._s(e.$i18nt("gd.duplicatechecking.enable", "\u542F\u7528")))]) : t("el-tag", { attrs: { type: "danger", effect: "dark" } }, [e._v(e._s(e.$i18nt("gd.duplicatechecking.deactivate", "\u7981\u7528")))])], 1), t("div", { staticClass: "remarks" }, [e._v(e._s(e.itemData.description ? e.itemData.description : "--"))])]), t("div", { staticClass: "attribute" }, [t("div", { staticClass: "attribute-t" }, [t("div", { staticClass: "title" }, [e._v(e._s(e.$i18nt("gd.fileDocument.attributeField", "\u5C5E\u6027\u5B57\u6BB5")))])]), t("el-divider"), e.attributeList.length > 0 ? t("div", { staticClass: "attribute-b" }, [e._l(e.attributeList, function(i) {
|
|
272
|
+
return [t("div", { staticClass: "attributelist", class: i.statecodes === 1 ? "" : "attributelist-del" }, [t("div", { staticClass: "flex" }, [t("div", { staticClass: "name" }, [i.transkey ? t("div", { staticClass: "spu" }, [e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)))]) : t("div", { staticClass: "spu" }, [e._v(e._s(i.name))])]), i.statecodes === 1 ? t("el-tag", { attrs: { type: "success", effect: "dark" } }, [e._v(e._s(e.$i18nt("gd.duplicatechecking.enable", "\u542F\u7528")))]) : t("el-tag", { attrs: { type: "danger", effect: "dark" } }, [e._v(e._s(e.$i18nt("gd.duplicatechecking.deactivate", "\u7981\u7528")))])], 1), t("div", { staticClass: "flex" }, [t("EffectTypeIcon", { attrs: { effectType: i.datatype, title: e._f("dictType")("code_gen_effect_type", i.datatype) } }), t("div", { staticClass: "sku" }, [e._v(e._s(i.attrcode))]), t("el-divider", { attrs: { direction: "vertical" } }), i.isrequired ? t("div", { staticClass: "required" }, [e._v(e._s(e.$i18nt("gd.page.required", "\u5FC5\u586B")))]) : t("div", { staticClass: "required required-no" }, [e._v(e._s(e.$i18nt("gd.page.notRequired", "\u975E\u5FC5\u586B")))])], 1), t("div", { staticClass: "flex" }, [t("div", { staticClass: "value line1" }, [e._v(" " + e._s(e.$i18nt("gd.page.default", "\u9ED8\u8BA4\u503C")) + ": "), ["switch", "radio", "select"].includes(i.datatype) ? t("el-tag", { style: e._f("dictColor")(i.dicttypecode, i.defaultvalue), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")(i.dicttypecode, i.defaultvalue)) + " ")]) : ["checkbox"].includes(i.datatype) ? [e._l(i.defaultvalue, function(s, l) {
|
|
273
|
+
return [l < e.maxLeg ? t("el-tag", { style: e._f("dictColor")(i.dicttypecode, s), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")(i.dicttypecode, s)) + " ")]) : e._e(), l === e.maxLeg ? t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { effect: "dark", placement: "top" } }, [t("div", { attrs: { slot: "content" }, slot: "content" }, [e._l(i.defaultvalue, function(r, c) {
|
|
274
|
+
return [c >= e.maxLeg ? t("span", { staticStyle: { "padding-right": "4px" } }, [e._v(e._s(e._f("dictType")(i.dicttypecode, r)))]) : e._e()];
|
|
275
|
+
})], 2), t("el-tag", { staticStyle: { "background-color": "#fff", "border-color": "#dcdfe2", color: "rgba(0, 0, 0, 0.65)" }, attrs: { effect: "dark" } }, [e._v(" ... ")])], 1) : e._e()];
|
|
276
|
+
})] : t("span", { attrs: { title: i.defaultvalue } }, [e._v(e._s(i.defaultvalue ? i.defaultvalue : ""))])], 2), e.$hasPerm("sysDocumentClassifyAttribute:add") ? [t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.copy", "\u590D\u5236"), placement: "top" } }, [t("i", { staticClass: "el-icon-document-copy", on: { click: function(s) {
|
|
277
|
+
return e.copyAttribute(i);
|
|
278
|
+
} } })]), t("el-divider", { attrs: { direction: "vertical" } })] : e._e(), e.itemData.statecodes === "1" && e.$hasPerm("sysDocumentClassifyAttribute:edit") ? [t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.edit", "\u7F16\u8F91"), placement: "top" } }, [t("i", { staticClass: "el-icon-edit-outline", on: { click: function(s) {
|
|
279
|
+
return e.editAttribute(i, "edit");
|
|
280
|
+
} } })]), t("el-divider", { attrs: { direction: "vertical" } })] : e._e(), e.$hasPerm("sysDocumentClassifyAttribute:delete") ? t("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.btn.del", "\u5220\u9664"), placement: "top" } }, [t("i", { staticClass: "el-icon-delete", on: { click: function(s) {
|
|
281
|
+
return e.del(2, i);
|
|
282
|
+
} } })]) : e._e()], 2)])];
|
|
283
|
+
})], 2) : t("div", { staticClass: "empty" }, [e._m(0), t("div", { staticClass: "empty-title" }, [t("span", [e._v(e._s(e.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])], 1)]) : t("div", { staticClass: "empty" }, [e._m(1), t("div", { staticClass: "empty-title" }, [t("span", [e._v(e._s(e.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])])]), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "100%", width: "600px", loading: e.formLoading, transKey: e.transKey, buttons: e.getFormButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, needLoad: "" }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "name", fn: function({ data: i, column: s, record: l }) {
|
|
284
|
+
return [l && l.transkey ? t("gd-translation", { ref: "gdTranslation", attrs: { keyI18n: "transkey", recordData: i, type: 2 }, on: { lookupSeled: (r) => e.lookupSeled(r, i) } }) : t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), maxlength: 50, clearable: "" }, model: { value: i.name, callback: function(r) {
|
|
285
|
+
e.$set(i, "name", r);
|
|
286
|
+
}, expression: "data.name" } })];
|
|
287
|
+
} }]) }), t("EditAttributeForm", { ref: "editAttributeForm", attrs: { itemData: e.itemData, transKey: e.transKey, treeList: e.treeList }, on: { ok: e.okAttribute } })], 1);
|
|
288
|
+
}, w = [function() {
|
|
289
|
+
var a = this, e = a._self._c;
|
|
290
|
+
return e("div", { staticClass: "empty-icon" }, [e("i", { staticClass: "el-icon-receiving" })]);
|
|
291
|
+
}, function() {
|
|
292
|
+
var a = this, e = a._self._c;
|
|
293
|
+
return e("div", { staticClass: "empty-icon" }, [e("i", { staticClass: "el-icon-receiving" })]);
|
|
294
|
+
}], T = /* @__PURE__ */ o(
|
|
295
|
+
C,
|
|
296
|
+
x,
|
|
297
|
+
w,
|
|
298
|
+
!1,
|
|
299
|
+
null,
|
|
300
|
+
"5d1695d1",
|
|
301
|
+
null,
|
|
302
|
+
null
|
|
303
|
+
);
|
|
304
|
+
const n = T.exports;
|
|
305
|
+
n.install = function(a) {
|
|
306
|
+
a.component(n.name, n);
|
|
307
|
+
};
|
|
308
|
+
const L = {
|
|
309
|
+
name: "GdDocumentRecycle",
|
|
310
|
+
props: {
|
|
311
|
+
record: {
|
|
312
|
+
type: Object,
|
|
313
|
+
default: () => ({})
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
data() {
|
|
317
|
+
return {};
|
|
318
|
+
},
|
|
319
|
+
methods: {},
|
|
320
|
+
created() {
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
var S = function() {
|
|
324
|
+
var e = this, t = e._self._c;
|
|
325
|
+
return t("div", { staticClass: "gd-buts" }, [e._v("111")]);
|
|
326
|
+
}, z = [], A = /* @__PURE__ */ o(
|
|
327
|
+
L,
|
|
328
|
+
S,
|
|
329
|
+
z,
|
|
330
|
+
!1,
|
|
331
|
+
null,
|
|
332
|
+
"d07f148a",
|
|
333
|
+
null,
|
|
334
|
+
null
|
|
335
|
+
);
|
|
336
|
+
const d = A.exports;
|
|
337
|
+
d.install = function(a) {
|
|
338
|
+
a.component(d.name, d);
|
|
339
|
+
};
|
|
340
|
+
const I = {
|
|
341
|
+
props: {
|
|
342
|
+
itemData: {
|
|
343
|
+
type: Object,
|
|
344
|
+
default: () => {
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
transKey: {
|
|
348
|
+
type: String,
|
|
349
|
+
default: "gd.btn.add"
|
|
350
|
+
},
|
|
351
|
+
treeList: {
|
|
352
|
+
type: Array,
|
|
353
|
+
default: () => []
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
data() {
|
|
357
|
+
return {
|
|
358
|
+
type: "add",
|
|
359
|
+
record: null,
|
|
360
|
+
width: "600px",
|
|
361
|
+
confirmLoading: !1,
|
|
362
|
+
visible: !1,
|
|
363
|
+
fullscreen: !1,
|
|
364
|
+
buttons: [
|
|
365
|
+
{
|
|
366
|
+
displayName: "\u786E\u5B9A",
|
|
367
|
+
functionName: "handleSubmit",
|
|
368
|
+
show: !0,
|
|
369
|
+
transKey: "gd.btn.confirm",
|
|
370
|
+
icon: "el-icon-document-checked"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
ruleForm: {
|
|
374
|
+
name: "",
|
|
375
|
+
attrcode: "",
|
|
376
|
+
datatype: "input",
|
|
377
|
+
isrequired: "1",
|
|
378
|
+
ishidden: "0",
|
|
379
|
+
statecodes: "1",
|
|
380
|
+
defaultvalue: "",
|
|
381
|
+
dicttypecode: "yes_or_no",
|
|
382
|
+
fieldformat: "1",
|
|
383
|
+
fkentity: "",
|
|
384
|
+
sort: 100,
|
|
385
|
+
description: "",
|
|
386
|
+
fieldsize: 255,
|
|
387
|
+
viewId: "",
|
|
388
|
+
sysdoctypeid: ""
|
|
389
|
+
},
|
|
390
|
+
rules: {
|
|
391
|
+
name: [{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: ["change", "blur"] }],
|
|
392
|
+
attrcode: [
|
|
393
|
+
{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: ["change", "blur"] },
|
|
394
|
+
{
|
|
395
|
+
pattern: /^[a-zA-Z]([a-zA-Z0-9_]+)?$/,
|
|
396
|
+
message: this.$i18nt("gd.view.viewNameTip", "\u8BF7\u8F93\u5165\u82F1\u6587\u5B57\u6BCD!")
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
fieldsize: [{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: ["change", "blur"] }],
|
|
400
|
+
sort: [{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "number", trigger: ["change", "blur"] }],
|
|
401
|
+
datatype: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["change", "blur"] }],
|
|
402
|
+
isrequired: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["change", "blur"] }],
|
|
403
|
+
dicttypecode: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["blur"] }],
|
|
404
|
+
fieldformat: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["blur"] }],
|
|
405
|
+
fkentity: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["blur"] }],
|
|
406
|
+
statecodes: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["blur"] }],
|
|
407
|
+
viewId: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["blur"] }],
|
|
408
|
+
sysdoctypeid: [{ required: !0, message: this.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), trigger: ["blur"] }]
|
|
409
|
+
},
|
|
410
|
+
viewList: [],
|
|
411
|
+
loading: !1
|
|
412
|
+
};
|
|
413
|
+
},
|
|
414
|
+
computed: {
|
|
415
|
+
getTreeList() {
|
|
416
|
+
return this.treeList.filter((a) => a.id !== this.itemData.id);
|
|
417
|
+
},
|
|
418
|
+
title() {
|
|
419
|
+
return this.$i18nt(this.transKey);
|
|
420
|
+
},
|
|
421
|
+
disabled() {
|
|
422
|
+
return !!this.record;
|
|
423
|
+
},
|
|
424
|
+
isDatePicker() {
|
|
425
|
+
const a = this.getTimeData.filter((t) => t.code === this.ruleForm.fieldformat)[0], e = a ? a.name : "yyyy-MM-dd";
|
|
426
|
+
return !["hh:mm:ss", "hh:mm", "mm:ss", "HH:mm:ss", "HH:mm"].includes(e);
|
|
427
|
+
},
|
|
428
|
+
formatDict() {
|
|
429
|
+
return this.getDictionary("time_longshort");
|
|
430
|
+
},
|
|
431
|
+
getTimeData() {
|
|
432
|
+
const e = [
|
|
433
|
+
{ type: "datepicker", list: ["yyyy-MM-dd HH:mm:ss", "yyyy-MM-dd", "yyyy-MM", "yyyy", "MM-dd", "hh:mm:ss", "hh:mm", "mm:ss", "HH:mm:ss", "HH:mm"] }
|
|
434
|
+
].filter((i) => i.type === this.ruleForm.datatype)[0], t = e ? e.list : [];
|
|
435
|
+
return this.formatDict.filter((i) => t.includes(i.name));
|
|
436
|
+
},
|
|
437
|
+
fieldFormat() {
|
|
438
|
+
const e = this.getDictionary("time_longshort").filter((t) => String(t.code) === String(this.ruleForm.fieldformat))[0];
|
|
439
|
+
return e ? e.name.replace("DD", "dd") : "yyyy-MM-dd HH:mm:ss";
|
|
440
|
+
},
|
|
441
|
+
pickerType() {
|
|
442
|
+
const a = this.getTimeData.filter((i) => i.code === this.ruleForm.fieldformat)[0], e = a ? a.name : "yyyy-MM-dd";
|
|
443
|
+
let t = "date";
|
|
444
|
+
return e === "yyyy-MM-dd hh:mm:ss" || e === "yyyy-MM-dd HH:mm:ss" ? t = "datetime" : e === "yyyy-MM" ? t = "month" : e === "yyyy" && (t = "year"), t;
|
|
445
|
+
},
|
|
446
|
+
getDictionaryAll() {
|
|
447
|
+
return this.$options.filters.dictDataAll();
|
|
448
|
+
},
|
|
449
|
+
getEffectList() {
|
|
450
|
+
return this.getDictionary("code_gen_effect_type").filter((e) => !["about", "participants", "user", "currency", "editor", "file", "image"].includes(e.code));
|
|
451
|
+
},
|
|
452
|
+
...m(["tableLists"])
|
|
453
|
+
},
|
|
454
|
+
methods: {
|
|
455
|
+
lookupSeled(a) {
|
|
456
|
+
this.ruleForm.name = a.defaulttext;
|
|
457
|
+
},
|
|
458
|
+
changeTable(a) {
|
|
459
|
+
this.loading = !0;
|
|
460
|
+
const e = this.tableLists.filter((t) => t.tablename === a)[0];
|
|
461
|
+
D({ sysCodeGenId: e.id }).then((t) => {
|
|
462
|
+
t.code === 200 && (this.viewList = t.data), this.loading = !1;
|
|
463
|
+
});
|
|
464
|
+
},
|
|
465
|
+
add() {
|
|
466
|
+
$(
|
|
467
|
+
Object.assign({}, this.ruleForm, {
|
|
468
|
+
defaultvalue: ["checkbox"].includes(this.ruleForm.datatype) ? this.ruleForm.defaultvalue.join(",") : this.ruleForm.defaultvalue,
|
|
469
|
+
sysdoctypeid: this.type === "add" ? this.itemData.id : this.ruleForm.sysdoctypeid,
|
|
470
|
+
datatype: String(this.ruleForm.datatype),
|
|
471
|
+
reserve1: JSON.stringify(this.ruleForm)
|
|
472
|
+
})
|
|
473
|
+
).then((a) => {
|
|
474
|
+
this.confirmLoading = !1, a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
|
|
475
|
+
});
|
|
476
|
+
},
|
|
477
|
+
edit() {
|
|
478
|
+
k(
|
|
479
|
+
Object.assign({}, this.record, this.ruleForm, {
|
|
480
|
+
defaultvalue: ["checkbox"].includes(this.ruleForm.datatype) ? this.ruleForm.defaultvalue.join(",") : this.ruleForm.defaultvalue,
|
|
481
|
+
reserve1: JSON.stringify(this.ruleForm)
|
|
482
|
+
})
|
|
483
|
+
).then((a) => {
|
|
484
|
+
this.confirmLoading = !1, a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
|
|
485
|
+
});
|
|
486
|
+
},
|
|
487
|
+
cleaDefaultValues() {
|
|
488
|
+
let a = 255;
|
|
489
|
+
["inputnumber"].includes(this.ruleForm.datatype) ? a = 32 : ["double", "currency"].includes(this.ruleForm.datatype) ? a = 4 : ["editor", "textarea"].includes(this.ruleForm.datatype) && (a = 5e3), Object.assign(this.ruleForm, {
|
|
490
|
+
defaultvalue: ["double", "inputnumber"].includes(this.ruleForm.datatype) ? void 0 : "",
|
|
491
|
+
fieldsize: a
|
|
492
|
+
});
|
|
493
|
+
},
|
|
494
|
+
changeDict() {
|
|
495
|
+
Object.assign(this.ruleForm, {
|
|
496
|
+
defaultvalue: ""
|
|
497
|
+
});
|
|
498
|
+
},
|
|
499
|
+
getDetail(a) {
|
|
500
|
+
this.confirmLoading = !0, F({ id: a }).then((e) => {
|
|
501
|
+
if (e.code === 200) {
|
|
502
|
+
const t = JSON.parse(e.data.reserve1);
|
|
503
|
+
this.ruleForm = {
|
|
504
|
+
name: e.data.name,
|
|
505
|
+
attrcode: e.data.attrcode,
|
|
506
|
+
datatype: e.data.datatype,
|
|
507
|
+
isrequired: String(e.data.isrequired),
|
|
508
|
+
ishidden: String(e.data.ishidden),
|
|
509
|
+
statecodes: String(e.data.statecodes),
|
|
510
|
+
defaultvalue: ["checkbox"].includes(e.data.datatype) ? e.data.defaultvalue.split(",") : e.data.defaultvalue,
|
|
511
|
+
dicttypecode: e.data.dicttypecode,
|
|
512
|
+
fieldformat: String(e.data.fieldformat),
|
|
513
|
+
fkentity: e.data.fkentity,
|
|
514
|
+
sort: e.data.sort,
|
|
515
|
+
description: e.data.description,
|
|
516
|
+
fieldsize: e.data.fieldsize,
|
|
517
|
+
viewId: t.viewId ? t.viewId : ""
|
|
518
|
+
}, e.data.datatype === "fk" && this.changeTable(e.data.fkentity);
|
|
519
|
+
}
|
|
520
|
+
this.confirmLoading = !1, this.resetFields();
|
|
521
|
+
});
|
|
522
|
+
},
|
|
523
|
+
open(a) {
|
|
524
|
+
this.type = a ? "edit" : "add", this.record = a, this.visible = !0, a ? this.getDetail(a.id) : (Object.assign(this.ruleForm, { attrcode: p(12) }), this.resetFields());
|
|
525
|
+
},
|
|
526
|
+
openCopy(a) {
|
|
527
|
+
this.type = "copy", this.visible = !0, this.getDetail(a.id);
|
|
528
|
+
},
|
|
529
|
+
handleSubmit(a) {
|
|
530
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((e, t) => {
|
|
531
|
+
if (!e) {
|
|
532
|
+
this.confirmLoading = !1;
|
|
533
|
+
return;
|
|
534
|
+
}
|
|
535
|
+
this.type === "edit" ? this.edit() : this.add();
|
|
536
|
+
});
|
|
537
|
+
},
|
|
538
|
+
resetFields() {
|
|
539
|
+
this.$nextTick(() => {
|
|
540
|
+
setTimeout(() => {
|
|
541
|
+
this.$refs.ruleForm && this.$refs.ruleForm.clearValidate();
|
|
542
|
+
}, 0);
|
|
543
|
+
});
|
|
544
|
+
},
|
|
545
|
+
closed() {
|
|
546
|
+
this.ruleForm = {
|
|
547
|
+
name: "",
|
|
548
|
+
attrcode: "",
|
|
549
|
+
datatype: "input",
|
|
550
|
+
isrequired: "1",
|
|
551
|
+
ishidden: "0",
|
|
552
|
+
statecodes: "1",
|
|
553
|
+
defaultvalue: "",
|
|
554
|
+
dicttypecode: "yes_or_no",
|
|
555
|
+
fieldformat: "1",
|
|
556
|
+
fkentity: "",
|
|
557
|
+
sort: 100,
|
|
558
|
+
description: "",
|
|
559
|
+
fieldsize: 255,
|
|
560
|
+
sysdoctypeid: ""
|
|
561
|
+
}, this.fullscreen = !1, this.visible = !1;
|
|
562
|
+
},
|
|
563
|
+
toggleFullscreen() {
|
|
564
|
+
this.fullscreen = !this.fullscreen;
|
|
565
|
+
},
|
|
566
|
+
getDictionary(a) {
|
|
567
|
+
return this.$options.filters.dictData(a);
|
|
568
|
+
},
|
|
569
|
+
doEvent(a) {
|
|
570
|
+
let e = a.item.functionName;
|
|
571
|
+
this[e] && this[e]();
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
};
|
|
575
|
+
var q = function() {
|
|
576
|
+
var e = this, t = e._self._c;
|
|
577
|
+
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
578
|
+
e.visible = i;
|
|
579
|
+
}, closed: e.closed } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("el-form", { ref: "ruleForm", staticClass: "gd-form", attrs: { model: e.ruleForm, "label-position": "top", "label-width": "120px", rules: e.rules }, nativeOn: { submit: function(i) {
|
|
580
|
+
i.preventDefault();
|
|
581
|
+
} } }, [e.type === "copy" ? t("el-form-item", { attrs: { label: e.$i18nt("gd.fileDocument.classification", "\u6587\u6863\u5206\u7C7B"), prop: "sysdoctypeid" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini" }, model: { value: e.ruleForm.sysdoctypeid, callback: function(i) {
|
|
582
|
+
e.$set(e.ruleForm, "sysdoctypeid", i);
|
|
583
|
+
}, expression: "ruleForm.sysdoctypeid" } }, [e._l(e.getTreeList, function(i) {
|
|
584
|
+
return [t("el-option", { attrs: { label: i.name, value: i.id } })];
|
|
585
|
+
})], 2)], 1) : e._e(), t("el-form-item", { attrs: { label: e.$i18nt("gd.translation.name", "\u540D\u79F0"), prop: "name" } }, [e.record && e.record.transkey ? t("gd-translation", { ref: "gdTranslation", attrs: { keyI18n: "transkey", recordData: e.record, type: 2 }, on: { lookupSeled: e.lookupSeled } }) : t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), maxlength: 50, clearable: "" }, model: { value: e.ruleForm.name, callback: function(i) {
|
|
586
|
+
e.$set(e.ruleForm, "name", i);
|
|
587
|
+
}, expression: "ruleForm.name" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.dict.code", "\u552F\u4E00\u7F16\u7801"), prop: "attrcode" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), maxlength: 50, clearable: "", disabled: e.disabled }, model: { value: e.ruleForm.attrcode, callback: function(i) {
|
|
588
|
+
e.$set(e.ruleForm, "attrcode", i);
|
|
589
|
+
}, expression: "ruleForm.attrcode" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.field.effectType", "\u4F5C\u7528\u7C7B\u578B"), prop: "datatype" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini", disabled: e.disabled }, on: { change: e.cleaDefaultValues }, model: { value: e.ruleForm.datatype, callback: function(i) {
|
|
590
|
+
e.$set(e.ruleForm, "datatype", i);
|
|
591
|
+
}, expression: "ruleForm.datatype" } }, e._l(e.getEffectList, function(i) {
|
|
592
|
+
return t("el-option", { key: i.code, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } });
|
|
593
|
+
}), 1)], 1), ["input", "image", "file", "currency", "double", "textarea", "editor", "inputnumber"].includes(e.ruleForm.datatype) ? t("el-form-item", { attrs: { label: e.$i18nt("gd.field.precision", "\u5B57\u7B26\u957F\u5EA6/\u7CBE\u5EA6"), prop: "fieldsize" } }, [["input", "image", "file", "currency"].includes(e.ruleForm.datatype) ? t("el-input-number", { staticStyle: { width: "100%" }, attrs: { max: 2e3, "controls-position": "right", size: "mini" }, model: { value: e.ruleForm.fieldsize, callback: function(i) {
|
|
594
|
+
e.$set(e.ruleForm, "fieldsize", i);
|
|
595
|
+
}, expression: "ruleForm.fieldsize" } }) : ["double"].includes(e.ruleForm.datatype) ? t("el-input-number", { staticStyle: { width: "100%" }, attrs: { max: 30, "controls-position": "right", size: "mini" }, model: { value: e.ruleForm.fieldsize, callback: function(i) {
|
|
596
|
+
e.$set(e.ruleForm, "fieldsize", i);
|
|
597
|
+
}, expression: "ruleForm.fieldsize" } }) : ["textarea", "editor"].includes(e.ruleForm.datatype) ? t("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", size: "mini" }, model: { value: e.ruleForm.fieldsize, callback: function(i) {
|
|
598
|
+
e.$set(e.ruleForm, "fieldsize", i);
|
|
599
|
+
}, expression: "ruleForm.fieldsize" } }) : ["inputnumber"].includes(e.ruleForm.datatype) ? t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini" }, model: { value: e.ruleForm.fieldsize, callback: function(i) {
|
|
600
|
+
e.$set(e.ruleForm, "fieldsize", i);
|
|
601
|
+
}, expression: "ruleForm.fieldsize" } }, [t("el-option", { attrs: { label: e.$i18nt("gd.field.integer", "\u6574\u578B 32"), value: 32 } }), t("el-option", { attrs: { label: e.$i18nt("gd.field.longInteger", "\u957F\u6574\u578B 64"), value: 64 } })], 1) : e._e()], 1) : e._e(), ["switch", "radio", "checkbox", "select"].includes(e.ruleForm.datatype) ? t("el-form-item", { attrs: { label: e.$i18nt("gd.field.dictionaries", "\u5B57\u5178"), prop: "dicttypecode" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini", filterable: "", "reserve-keyword": "", disabled: e.disabled }, on: { change: e.changeDict }, model: { value: e.ruleForm.dicttypecode, callback: function(i) {
|
|
602
|
+
e.$set(e.ruleForm, "dicttypecode", i);
|
|
603
|
+
}, expression: "ruleForm.dicttypecode" } }, e._l(e.getDictionaryAll, function(i) {
|
|
604
|
+
return t("el-option", { key: i.code, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } });
|
|
605
|
+
}), 1)], 1) : ["datepicker"].includes(e.ruleForm.datatype) ? t("el-form-item", { attrs: { label: e.$i18nt("gd.field.date", "\u65E5\u671F"), prop: "fieldformat" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini" }, on: { change: e.cleaDefaultValues }, model: { value: e.ruleForm.fieldformat, callback: function(i) {
|
|
606
|
+
e.$set(e.ruleForm, "fieldformat", i);
|
|
607
|
+
}, expression: "ruleForm.fieldformat" } }, e._l(e.getDictionary("time_longshort"), function(i) {
|
|
608
|
+
return t("el-option", { key: i.code, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } });
|
|
609
|
+
}), 1)], 1) : ["fk"].includes(e.ruleForm.datatype) ? [t("el-form-item", { attrs: { label: e.$i18nt("gd.page.foreignAssociationTable", "\u5916\u952E\u5173\u8054\u8868"), prop: "fkentity" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini", filterable: "", "reserve-keyword": "", disabled: e.disabled }, on: { change: e.changeTable }, model: { value: e.ruleForm.fkentity, callback: function(i) {
|
|
610
|
+
e.$set(e.ruleForm, "fkentity", i);
|
|
611
|
+
}, expression: "ruleForm.fkentity" } }, e._l(e.tableLists, function(i) {
|
|
612
|
+
return t("el-option", { key: i.tablename, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.busname), value: i.tablename } });
|
|
613
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.page.useView", "\u4F7F\u7528\u89C6\u56FE"), prop: "viewId" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini", filterable: "", "reserve-keyword": "", loading: e.loading }, model: { value: e.ruleForm.viewId, callback: function(i) {
|
|
614
|
+
e.$set(e.ruleForm, "viewId", i);
|
|
615
|
+
}, expression: "ruleForm.viewId" } }, e._l(e.viewList, function(i) {
|
|
616
|
+
return t("el-option", { key: i.id, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.id } });
|
|
617
|
+
}), 1)], 1)] : e._e(), t("el-form-item", { attrs: { label: e.$i18nt("gd.dict.sort", "\u6392\u5E8F"), prop: "sort" } }, [t("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: 0, clearable: "", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.sort, callback: function(i) {
|
|
618
|
+
e.$set(e.ruleForm, "sort", i);
|
|
619
|
+
}, expression: "ruleForm.sort" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.fileDocument.isRequired", "\u662F\u5426\u5FC5\u586B"), prop: "isrequired" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini" }, model: { value: e.ruleForm.isrequired, callback: function(i) {
|
|
620
|
+
e.$set(e.ruleForm, "isrequired", i);
|
|
621
|
+
}, expression: "ruleForm.isrequired" } }, e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
622
|
+
return t("el-option", { key: i.code, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } });
|
|
623
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.fileDocument.isHide", "\u662F\u5426\u9690\u85CF") } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini" }, model: { value: e.ruleForm.ishidden, callback: function(i) {
|
|
624
|
+
e.$set(e.ruleForm, "ishidden", i);
|
|
625
|
+
}, expression: "ruleForm.ishidden" } }, e._l(e.getDictionary("yes_or_no"), function(i) {
|
|
626
|
+
return t("el-option", { key: i.code, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } });
|
|
627
|
+
}), 1)], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.state.currentState", "\u5F53\u524D\u72B6\u6001"), prop: "statecodes" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { size: "mini" }, model: { value: e.ruleForm.statecodes, callback: function(i) {
|
|
628
|
+
e.$set(e.ruleForm, "statecodes", i);
|
|
629
|
+
}, expression: "ruleForm.statecodes" } }, e._l(e.getDictionary("state_code"), function(i) {
|
|
630
|
+
return t("el-option", { key: i.code, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } });
|
|
631
|
+
}), 1)], 1), ["fk", "file", "image"].includes(e.ruleForm.datatype) ? e._e() : t("el-form-item", { attrs: { label: e.$i18nt("gd.form.default", "\u9ED8\u8BA4\u503C") } }, [["switch", "radio", "select"].includes(e.ruleForm.datatype) ? t("el-select", { key: "switch_1", staticStyle: { width: "100%" }, attrs: { size: "mini", disabled: !e.ruleForm.dicttypecode, clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleForm.defaultvalue, callback: function(i) {
|
|
632
|
+
e.$set(e.ruleForm, "defaultvalue", i);
|
|
633
|
+
}, expression: "ruleForm.defaultvalue" } }, [e._l(e.getDictionary(e.ruleForm.dicttypecode), function(i) {
|
|
634
|
+
return [t("el-option", { attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } })];
|
|
635
|
+
})], 2) : ["checkbox"].includes(e.ruleForm.datatype) ? t("el-select", { key: "checkbox_1", staticStyle: { width: "100%" }, attrs: { size: "mini", disabled: !e.ruleForm.dicttypecode, clearable: "", multiple: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleForm.defaultvalue, callback: function(i) {
|
|
636
|
+
e.$set(e.ruleForm, "defaultvalue", i);
|
|
637
|
+
}, expression: "ruleForm.defaultvalue" } }, [e._l(e.getDictionary(e.ruleForm.dicttypecode), function(i) {
|
|
638
|
+
return [t("el-option", { attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } })];
|
|
639
|
+
})], 2) : ["datepicker"].includes(e.ruleForm.datatype) ? [e.isDatePicker ? t("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: e.pickerType, "value-format": e.fieldFormat, format: e.fieldFormat, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: e.ruleForm.defaultvalue, callback: function(i) {
|
|
640
|
+
e.$set(e.ruleForm, "defaultvalue", i);
|
|
641
|
+
}, expression: "ruleForm.defaultvalue" } }) : t("el-time-picker", { staticStyle: { width: "100%" }, attrs: { "value-format": e.fieldFormat, format: e.fieldFormat, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: e.ruleForm.defaultvalue, callback: function(i) {
|
|
642
|
+
e.$set(e.ruleForm, "defaultvalue", i);
|
|
643
|
+
}, expression: "ruleForm.defaultvalue" } })] : ["double", "inputnumber"].includes(e.ruleForm.datatype) ? t("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: -1 / 0, max: 1 / 0, clearable: "", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.defaultvalue, callback: function(i) {
|
|
644
|
+
e.$set(e.ruleForm, "defaultvalue", i);
|
|
645
|
+
}, expression: "ruleForm.defaultvalue" } }) : t("el-input", { attrs: { autosize: "", type: "textarea", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), maxlength: 255, clearable: "" }, model: { value: e.ruleForm.defaultvalue, callback: function(i) {
|
|
646
|
+
e.$set(e.ruleForm, "defaultvalue", i);
|
|
647
|
+
}, expression: "ruleForm.defaultvalue" } })], 2), t("el-form-item", { attrs: { label: e.$i18nt("gd.task.description", "\u63CF\u8FF0") } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), maxlength: 500, type: "textarea", rows: 2, clearable: "" }, model: { value: e.ruleForm.description, callback: function(i) {
|
|
648
|
+
e.$set(e.ruleForm, "description", i);
|
|
649
|
+
}, expression: "ruleForm.description" } })], 1)], 2) : e._e()], 1)], 1)], 1);
|
|
650
|
+
}, K = [], N = /* @__PURE__ */ o(
|
|
651
|
+
I,
|
|
652
|
+
q,
|
|
653
|
+
K,
|
|
654
|
+
!1,
|
|
655
|
+
null,
|
|
656
|
+
"5e5846f6",
|
|
657
|
+
null,
|
|
658
|
+
null
|
|
659
|
+
);
|
|
660
|
+
const P = N.exports, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
661
|
+
__proto__: null,
|
|
662
|
+
default: P
|
|
663
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
664
|
+
export {
|
|
665
|
+
n as G,
|
|
666
|
+
d as a
|
|
667
|
+
};
|