gds-plus-design-vue 1.2.63 → 1.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.e559c495.js +1 -0
- package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
- package/lib/approvalModel.2b97fdf8.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
- package/lib/attribute.4f814780.mjs +367 -0
- package/lib/attribute.7b4971f5.js +1 -0
- package/lib/businessRules.4f7349f3.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
- package/lib/buttonRule.4aa9cfd8.mjs +396 -0
- package/lib/buttonRule.ba9528ab.js +1 -0
- package/lib/chartDisplayRules.25489412.js +1 -0
- package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
- package/lib/components.chartbi.13a8a7b5.js +8 -0
- package/lib/components.chartbi.7356b244.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
- package/lib/components.echarts.5dea23f6.js +4 -0
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
- package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
- package/lib/components.iconselector.4b5b7901.js +1 -0
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
- package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
- package/lib/components.middleware.64b6a988.js +1 -0
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
- package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
- package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
- package/lib/components.tableumy.aa73378d.js +1 -0
- package/lib/components.tablevirtual.879ff28f.js +1 -0
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
- package/lib/components.viewformdetails.328c8642.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
- package/lib/components.viewloading.5b9c8fee.js +1 -0
- package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
- package/lib/components.xlsximport.c53c50f6.js +1 -0
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
- package/lib/copy.3b06d60f.mjs +572 -0
- package/lib/copy.fa2fcb22.js +1 -0
- package/lib/createFile.526dd6db.js +1 -0
- package/lib/createFile.c8d65b52.mjs +439 -0
- package/lib/createSubfolders.51df8fcd.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
- package/lib/drawerContainer.790b0ee6.mjs +163 -0
- package/lib/drawerContainer.c971d22d.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
- package/lib/editForm.83d10fae.mjs +434 -0
- package/lib/editForm.e284e5ec.js +1 -0
- package/lib/extendedAttributes.bfff1926.js +1 -0
- package/lib/extendedAttributes.e6b11c68.mjs +293 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
- package/lib/fileSearch.e849491c.js +1 -0
- package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
- package/lib/flow.designer.85d0054b.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
- package/lib/flow.list.e001d91a.js +1 -0
- package/lib/form.build.19f0c882.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
- package/lib/form.designer.build.2bcc355d.js +1 -0
- package/lib/form.designer.build.7dc12e87.mjs +2529 -0
- package/lib/formFiled.40284ed9.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.07adebf0.js +8 -0
- package/lib/index.340d6f00.mjs +25906 -0
- package/lib/layoutBlocks.756e4b57.js +1 -0
- package/lib/layoutBlocks.816b49a7.mjs +413 -0
- package/lib/layoutItem.051495bc.mjs +71 -0
- package/lib/layoutItem.6f6017a5.js +1 -0
- package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
- package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
- package/lib/main.0dc447c8.js +1 -0
- package/lib/main.12118407.mjs +552 -0
- package/lib/main.1551de4d.js +1 -0
- package/lib/main.1611bb43.js +1 -0
- package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
- package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
- package/lib/main.316ac1b8.js +1 -0
- package/lib/main.48dc325f.mjs +231 -0
- package/lib/main.54ac9faa.mjs +189 -0
- package/lib/main.69a2b457.mjs +166 -0
- package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
- package/lib/main.72c15ab0.js +1 -0
- package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
- package/lib/main.9b2769b1.js +1 -0
- package/lib/main.b2314767.mjs +323 -0
- package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
- package/lib/main.e1cf9798.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
- package/lib/main.fc38c7c8.mjs +537 -0
- package/lib/main.fcb67463.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
- package/lib/manage.eb0a6c8c.js +1 -0
- package/lib/messages.fieldconfiguration.092bb027.js +1 -0
- package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
- package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
- package/lib/messages.messagetemplate.50334e5f.js +7 -0
- package/lib/messages.sendplan.60929f46.js +1 -0
- package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
- package/lib/messages.sendrecord.09a1d1cd.js +2 -0
- package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
- package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
- package/lib/messages.templatelibrary.f5952edd.js +2 -0
- package/lib/mobile.designer.componentstree.365945a3.js +1 -0
- package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
- package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
- package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
- package/lib/moveFile.3dc1dc37.mjs +276 -0
- package/lib/moveFile.f70bbff7.js +1 -0
- package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
- package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
- package/lib/page.designer.componentstree.74a3a114.js +1 -0
- package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
- package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
- package/lib/page.designer.menutree.71c18258.js +1 -0
- package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
- package/lib/page.designer.operation.1d435e6e.js +1 -0
- package/lib/page.designer.operation.fe808988.mjs +44 -0
- package/lib/page.designer.page.654634aa.js +1 -0
- package/lib/page.designer.page.821f8994.mjs +10638 -0
- package/lib/personal.echarts.118bcafb.mjs +268 -0
- package/lib/personal.echarts.e5915542.js +1 -0
- package/lib/result.4d4039ea.js +1 -0
- package/lib/result.a87217ae.mjs +639 -0
- package/lib/router.config.a09f29e7.js +1 -0
- package/lib/router.config.f0ad16fd.mjs +1424 -0
- package/lib/solution.application.8d6c84e8.js +1 -0
- package/lib/solution.application.e6b5dc4f.mjs +548 -0
- package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
- package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
- package/lib/solution.approvalflow.79da028c.js +1 -0
- package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
- package/lib/solution.dict.088a1e72.mjs +769 -0
- package/lib/solution.dict.1d5195d0.js +1 -0
- package/lib/solution.menu.e58922fe.mjs +432 -0
- package/lib/solution.menu.fa48a7e8.js +1 -0
- package/lib/solution.plugin.5d6d29cf.js +1 -0
- package/lib/solution.plugin.ae6df926.mjs +347 -0
- package/lib/solution.processflow.62936f1c.mjs +392 -0
- package/lib/solution.processflow.aa1e808b.js +1 -0
- package/lib/solution.role.2eff83a1.js +1 -0
- package/lib/solution.role.7b3e7030.mjs +456 -0
- package/lib/solution.webresources.88c4483b.mjs +379 -0
- package/lib/solution.webresources.bc00603d.js +1 -0
- package/lib/solution.workflow.0ed2cb24.js +1 -0
- package/lib/solution.workflow.85de0ae5.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.3d7480ba.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
- package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
- package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
- package/lib/system.dict.ab148847.js +1 -0
- package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
- package/lib/system.document.0e46ff8c.js +1 -0
- package/lib/system.document.cbdf25a9.mjs +667 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
- package/lib/system.duplicatechecking.a217fc52.js +1 -0
- package/lib/system.email.1db14214.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
- package/lib/system.fieldsecurity.40b4f48a.js +1 -0
- package/lib/system.file.6a6bd77c.js +1 -0
- package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
- package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
- package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
- package/lib/system.notice.2090c130.js +1 -0
- package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
- package/lib/system.noticereceived.0b79642e.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
- package/lib/system.onlineuser.e74f010d.js +1 -0
- package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
- package/lib/system.permissions.4090552f.mjs +972 -0
- package/lib/system.permissions.fdb64929.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
- package/lib/system.plugin.a0f25733.js +1 -0
- package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
- package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
- package/lib/system.promptmanagement.9718aa24.js +1 -0
- package/lib/system.role.321c48d3.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
- package/lib/system.sumberrules.6e8d208e.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
- package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
- package/lib/system.team.cf1c1558.js +1 -0
- package/lib/system.teammembers.63f21557.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
- package/lib/system.timers.51bedf97.js +38 -0
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
- package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
- package/lib/system.translation.c9f1b505.js +1 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
- package/lib/system.user.475d7391.js +14 -0
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
- package/lib/system.useraffiliation.fe1e1d39.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
- package/lib/system.webresource.81cfa690.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
- package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
- package/lib/table.definition..btnconfig.add3d840.js +1 -0
- package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
- package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
- package/lib/tableDescriptions.143d8e67.js +1 -0
- package/lib/tableDescriptions.60a07f7c.mjs +80 -0
- package/lib/tcheckboxs.e4d387ff.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
- package/lib/tcurrency.0360c142.mjs +85 -0
- package/lib/tcurrency.233f4e63.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.97590ce8.js +1 -0
- package/lib/versionControl.d1b2b0da.mjs +488 -0
- package/lib/versionEdit.c51606e4.mjs +452 -0
- package/lib/versionEdit.f710d0bb.js +1 -0
- package/lib/view.build.5789a6eb.js +1 -0
- package/lib/view.build.9976c958.mjs +1578 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
- package/lib/viewList.6e181715.js +1 -0
- package/lib/viewTree.9bdf96f0.js +1 -0
- package/lib/viewTree.c2e11b7f.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { b as n, w as c, l as m } from "./http.filedocument.8fa3fe2d.mjs";
|
|
2
|
+
import { g as p, p as v } from "./index.340d6f00.mjs";
|
|
3
|
+
import { m as f, n as u } from "./components.chartbi.7356b244.mjs";
|
|
4
|
+
import "./router.config.f0ad16fd.mjs";
|
|
5
|
+
import "./layouts.1852e8e4.mjs";
|
|
6
|
+
import "vue";
|
|
7
|
+
import "./components.sidenavmenu.47d7f44a.mjs";
|
|
8
|
+
import "./http.loginmanage.05500c29.mjs";
|
|
9
|
+
import "./http.filemanage.c0de21d6.mjs";
|
|
10
|
+
import "./utils.util.js.333daba2.mjs";
|
|
11
|
+
import "./http.main.aefea27d.mjs";
|
|
12
|
+
import "./http.noticemanage.2cdb23b8.mjs";
|
|
13
|
+
import "./components.globalheader.bc91e6fe.mjs";
|
|
14
|
+
import "./components.multitab.15b91668.mjs";
|
|
15
|
+
import "./components.sidemenu.c40eee2e.mjs";
|
|
16
|
+
import "./system.account.3d7480ba.mjs";
|
|
17
|
+
import "./http.usermanage.f5491144.mjs";
|
|
18
|
+
import "./http.languagemanage.2ef16159.mjs";
|
|
19
|
+
import "./http.currencymanage.c25bd2e6.mjs";
|
|
20
|
+
import "./http.timezonemanage.b9deffe3.mjs";
|
|
21
|
+
import "./components.settingdrawer.bdd68e73.mjs";
|
|
22
|
+
import "./http.appmanage.e389782d.mjs";
|
|
23
|
+
import "./http.menumanage.3060f4c7.mjs";
|
|
24
|
+
import "./system.welcome.72da74ae.mjs";
|
|
25
|
+
import "./flow.designer.5feba43c.mjs";
|
|
26
|
+
import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
27
|
+
import "./http.codegeneratemanage.b123bab3.mjs";
|
|
28
|
+
import "./http.useraffiliation.f2a29f92.mjs";
|
|
29
|
+
import "./components.xlsximport.d39bfeaa.mjs";
|
|
30
|
+
import "./components.table.389ab22a.mjs";
|
|
31
|
+
import "./utils.datepicker.js.5549a741.mjs";
|
|
32
|
+
import "./components.form.8047a9c3.mjs";
|
|
33
|
+
import "./http.tabledevelopment.3dcb3e97.mjs";
|
|
34
|
+
import "./http.promptmanagement.dad4c6a7.mjs";
|
|
35
|
+
import "./utils.plug.js.9313aead.mjs";
|
|
36
|
+
import "./components.coloreditor.20f8b336.mjs";
|
|
37
|
+
import "./page.designer.page.821f8994.mjs";
|
|
38
|
+
import "./page.designer.componentstree.cdabec2d.mjs";
|
|
39
|
+
import "./mobile.designer.componentstree.9439895e.mjs";
|
|
40
|
+
import "./page.designer.fieldfiltering.e341aa60.mjs";
|
|
41
|
+
import "./components.iconselector.d2d970ba.mjs";
|
|
42
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
43
|
+
import "./table.definition..echartsconfig.9c3c88f6.mjs";
|
|
44
|
+
import "./utils.mixins.js.be01e599.mjs";
|
|
45
|
+
import "./personal.echarts.118bcafb.mjs";
|
|
46
|
+
import "./components.teamsharing.b9f112cf.mjs";
|
|
47
|
+
import "./store.config.03dd7b19.mjs";
|
|
48
|
+
import "./form.build.33cc213e.mjs";
|
|
49
|
+
import "./components.viewformdetails.1236a66e.mjs";
|
|
50
|
+
import "./system.notice.51880df6.mjs";
|
|
51
|
+
import "./http.orgmanage.0b1df8d5.mjs";
|
|
52
|
+
import "./http.rolemanage.da5c40e9.mjs";
|
|
53
|
+
import "./http.sysapps.932ba43b.mjs";
|
|
54
|
+
import "./components.tablevirtual.9bf87b78.mjs";
|
|
55
|
+
import "./components.tableumy.750ec792.mjs";
|
|
56
|
+
import "./components.tooltip.065f3dee.mjs";
|
|
57
|
+
import "./components.selecttree.c615fe3e.mjs";
|
|
58
|
+
import "./components.imgpreview.0563c338.mjs";
|
|
59
|
+
import "./components.modaltitle.4f454200.mjs";
|
|
60
|
+
import "./components.dataassign.e398cc99.mjs";
|
|
61
|
+
import "./components.middleware.24511f17.mjs";
|
|
62
|
+
import "./components.echarts.17e42353.mjs";
|
|
63
|
+
import "./components.viewloading.5761b277.mjs";
|
|
64
|
+
import "./components.exception.8689aba2.mjs";
|
|
65
|
+
import "./components.uploadfile.0439b870.mjs";
|
|
66
|
+
import "./components.uploadimg.5f2194ff.mjs";
|
|
67
|
+
import "./components.lunccalendar.9a41ea40.mjs";
|
|
68
|
+
import "./components.watermark.d3638d63.mjs";
|
|
69
|
+
import "./system.org.e1e156c6.mjs";
|
|
70
|
+
import "./system.pos.0ad80a53.mjs";
|
|
71
|
+
import "./http.posmanage.ee6a7613.mjs";
|
|
72
|
+
import "./system.dict.caad4d66.mjs";
|
|
73
|
+
import "./http.dictmanage.d8fe18dc.mjs";
|
|
74
|
+
import "./http.dictdatamanage.2583b5ae.mjs";
|
|
75
|
+
import "./system.user.254bbe85.mjs";
|
|
76
|
+
import "./system.role.3b533a3e.mjs";
|
|
77
|
+
import "./system.log.3986a8ca.mjs";
|
|
78
|
+
import "./http.logmanage.8ba72635.mjs";
|
|
79
|
+
import "./system.machine.395c67c2.mjs";
|
|
80
|
+
import "./http.machinemanage.7bbe6c16.mjs";
|
|
81
|
+
import "./system.onlineuser.71034956.mjs";
|
|
82
|
+
import "./http.onlineusermanage.c8d84337.mjs";
|
|
83
|
+
import "./system.config.6084ad21.mjs";
|
|
84
|
+
import "./http.configmanage.c23c7fa8.mjs";
|
|
85
|
+
import "./system.noticereceived.55f276ab.mjs";
|
|
86
|
+
import "./http.noticereceivedmanage.50797be1.mjs";
|
|
87
|
+
import "./system.webresource.2c6cf4a7.mjs";
|
|
88
|
+
import "./http.webresource.1a1a768f.mjs";
|
|
89
|
+
import "./system.fieldsecurity.2e55e839.mjs";
|
|
90
|
+
import "./system.file.80aa0809.mjs";
|
|
91
|
+
import "./system.timers.5e735567.mjs";
|
|
92
|
+
import "./http.timersmanage.c79afb66.mjs";
|
|
93
|
+
import "./http.solution.b10d9197.mjs";
|
|
94
|
+
import "./http.translationmanage.f8694b51.mjs";
|
|
95
|
+
import "./page.designer.operation.fe808988.mjs";
|
|
96
|
+
import "./page.build.ae61a39b.mjs";
|
|
97
|
+
import "./form.designer.build.7dc12e87.mjs";
|
|
98
|
+
import "./http.duplicatechecking.9b79ce21.mjs";
|
|
99
|
+
import "./view.build.9976c958.mjs";
|
|
100
|
+
import "./table.definition..btnconfig.24402bf0.mjs";
|
|
101
|
+
import "./flow.list.82131d80.mjs";
|
|
102
|
+
import "./solution.dict.088a1e72.mjs";
|
|
103
|
+
import "./solution.processflow.62936f1c.mjs";
|
|
104
|
+
import "./solution.workflow.85de0ae5.mjs";
|
|
105
|
+
import "./solution.approvalflow.eb1c0607.mjs";
|
|
106
|
+
import "./solution.webresources.88c4483b.mjs";
|
|
107
|
+
import "./solution.plugin.ae6df926.mjs";
|
|
108
|
+
import "./http.pluginmanage.54720675.mjs";
|
|
109
|
+
import "./system.plugin.8a9a6448.mjs";
|
|
110
|
+
import "./solution.role.7b3e7030.mjs";
|
|
111
|
+
import "./solution.application.e6b5dc4f.mjs";
|
|
112
|
+
import "./solution.applicationmenu.e878c41a.mjs";
|
|
113
|
+
import "./solution.menu.e58922fe.mjs";
|
|
114
|
+
import "./page.designer.menutree.e4ce1e90.mjs";
|
|
115
|
+
import "./system.translation.61765713.mjs";
|
|
116
|
+
import "./system.duplicatechecking.46e182d7.mjs";
|
|
117
|
+
import "./system.promptmanagement.39607ddb.mjs";
|
|
118
|
+
import "./system.useraffiliation.b96c984a.mjs";
|
|
119
|
+
import "./system.email.c1ad6598.mjs";
|
|
120
|
+
import "./http.emailmanage.64fd611f.mjs";
|
|
121
|
+
import "./system.permissions.4090552f.mjs";
|
|
122
|
+
import "./system.datasource.d74df021.mjs";
|
|
123
|
+
import "./http.datasource.aa5cd0d1.mjs";
|
|
124
|
+
import "./system.sumberrules.c2b8c5e7.mjs";
|
|
125
|
+
import "./http.sumberrules.176d3d06.mjs";
|
|
126
|
+
import "./system.team.367bf5e7.mjs";
|
|
127
|
+
import "./http.team.a9c609d5.mjs";
|
|
128
|
+
import "./system.teammembers.851ce63b.mjs";
|
|
129
|
+
import "./system.document.cbdf25a9.mjs";
|
|
130
|
+
import "./mobile.designer.menutree.7d3b783d.mjs";
|
|
131
|
+
import "./messages.messagetemplate.0935e5a3.mjs";
|
|
132
|
+
import "./http.message.ceb0a1c6.mjs";
|
|
133
|
+
import "./messages.fieldconfiguration.7fd9ceb0.mjs";
|
|
134
|
+
import "./messages.sendplan.61edcc7f.mjs";
|
|
135
|
+
import "./messages.sendrecord.1c48aa6e.mjs";
|
|
136
|
+
import "./messages.templatelibrary.f31e8d58.mjs";
|
|
137
|
+
import "./translation.mains.0df71304.mjs";
|
|
138
|
+
const _ = {
|
|
139
|
+
props: {
|
|
140
|
+
treeData: {
|
|
141
|
+
type: Array,
|
|
142
|
+
default: () => []
|
|
143
|
+
},
|
|
144
|
+
fileAccept: {
|
|
145
|
+
type: String,
|
|
146
|
+
default: ""
|
|
147
|
+
},
|
|
148
|
+
fileSize: {
|
|
149
|
+
type: Number,
|
|
150
|
+
default: 1024
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
data() {
|
|
154
|
+
return {
|
|
155
|
+
maxLeg: 5,
|
|
156
|
+
type: 2,
|
|
157
|
+
record: {},
|
|
158
|
+
statu: !1,
|
|
159
|
+
confirmLoading: !1,
|
|
160
|
+
visible: !1,
|
|
161
|
+
fullscreen: !1,
|
|
162
|
+
buttons: [
|
|
163
|
+
{
|
|
164
|
+
displayName: "\u5237\u65B0",
|
|
165
|
+
functionName: "init",
|
|
166
|
+
show: !0,
|
|
167
|
+
transKey: "gd.basics.refresh",
|
|
168
|
+
icon: "el-icon-refresh"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
permissionMenus: [],
|
|
172
|
+
attributesList: [],
|
|
173
|
+
permissionData: {},
|
|
174
|
+
docTypeList: [],
|
|
175
|
+
docTypeData: {},
|
|
176
|
+
activeName: "attribute"
|
|
177
|
+
};
|
|
178
|
+
},
|
|
179
|
+
components: {
|
|
180
|
+
ExtendedAttributes: () => import("./extendedAttributes.e6b11c68.mjs")
|
|
181
|
+
},
|
|
182
|
+
computed: {
|
|
183
|
+
hasRename() {
|
|
184
|
+
return this.permissionData.rename === 1;
|
|
185
|
+
},
|
|
186
|
+
docTypeName() {
|
|
187
|
+
const s = this.record.sysdoctypeid ? this.record.sysdoctypeid : "", t = this.docTypeList.filter((e) => e.id === s)[0];
|
|
188
|
+
return t ? this.$i18nt(`Dynamics.${t.transkey}`, t.name) : "";
|
|
189
|
+
},
|
|
190
|
+
title() {
|
|
191
|
+
return this.record.name;
|
|
192
|
+
},
|
|
193
|
+
getHeight() {
|
|
194
|
+
const s = this.fullscreen ? 206 : 380;
|
|
195
|
+
return this.screenHeight - s;
|
|
196
|
+
},
|
|
197
|
+
pathAddress() {
|
|
198
|
+
let s = "";
|
|
199
|
+
return this.record.path === void 0 || (this.record.path.split(".").forEach((e) => {
|
|
200
|
+
const i = this.treeData.filter((r) => r.id === Number(e))[0];
|
|
201
|
+
s += i && e !== "0" ? `/${i.name}` : "";
|
|
202
|
+
}), this.record.type !== 1 && (s += `/${this.record.name}`)), s;
|
|
203
|
+
},
|
|
204
|
+
fileIcon() {
|
|
205
|
+
return p(this.record);
|
|
206
|
+
},
|
|
207
|
+
fileType() {
|
|
208
|
+
const t = this.getDictionary("sys_doc_objects_type").filter((e) => e.code == this.record.type)[0];
|
|
209
|
+
return t ? this.$i18nt(`Dynamics.${t.transkey}`, t.name) : this.record.type;
|
|
210
|
+
},
|
|
211
|
+
recordFileSize() {
|
|
212
|
+
if (this.record.type === 1)
|
|
213
|
+
return 0;
|
|
214
|
+
const s = this.record.filesize ? this.record.filesize : 0;
|
|
215
|
+
return this.getFilSize(s);
|
|
216
|
+
},
|
|
217
|
+
timeLongshort() {
|
|
218
|
+
return this.getDictionary("time_longshort");
|
|
219
|
+
},
|
|
220
|
+
...f(["primaryColor", "tablePageSize", "tableSize", "screenHeight", "tableLists"])
|
|
221
|
+
},
|
|
222
|
+
methods: {
|
|
223
|
+
editExtendedAttributes() {
|
|
224
|
+
this.$refs.extendedAttributes.open(this.record);
|
|
225
|
+
},
|
|
226
|
+
seeFkItem(s) {
|
|
227
|
+
const t = this.tableLists.filter((r) => r.tablename === s.fkentity)[0];
|
|
228
|
+
this.statu = !0;
|
|
229
|
+
let e = {
|
|
230
|
+
tableId: t.id,
|
|
231
|
+
data: [
|
|
232
|
+
{
|
|
233
|
+
id: s.fkId
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
};
|
|
237
|
+
const i = this.$message({
|
|
238
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
239
|
+
duration: 0,
|
|
240
|
+
iconClass: "el-icon-loading"
|
|
241
|
+
});
|
|
242
|
+
this.$refs.middleware.init(e).then((r) => {
|
|
243
|
+
setTimeout(() => {
|
|
244
|
+
this.statu = !1;
|
|
245
|
+
}, 1e3), i.close();
|
|
246
|
+
});
|
|
247
|
+
},
|
|
248
|
+
getFilSize(s) {
|
|
249
|
+
let t = s / 1024;
|
|
250
|
+
return t < 1024 ? `${Math.ceil(t)}K` : `${(s / 1024 / 1024).toFixed(2)}M`;
|
|
251
|
+
},
|
|
252
|
+
getFieldFormat(s) {
|
|
253
|
+
if (!["datepicker"].includes(s.datatype))
|
|
254
|
+
return "";
|
|
255
|
+
const t = this.timeLongshort.filter((e) => String(e.code) === String(s.fieldformat))[0];
|
|
256
|
+
return t ? t.name.replace("DD", "dd") : "yyyy-MM-dd HH:mm:ss";
|
|
257
|
+
},
|
|
258
|
+
init() {
|
|
259
|
+
this.confirmLoading = !0, Promise.all([this.getDetail(), this.getRootPermission(), this.getDocTypePage()]).then((s) => {
|
|
260
|
+
let t = [];
|
|
261
|
+
const e = this.record.attributes ? this.record.attributes : [], i = this.docTypeList.filter((a) => a.id === this.record.sysdoctypeid)[0];
|
|
262
|
+
this.docTypeData = i || {}, (i ? i.sysdoctypeattributes : []).forEach((a) => {
|
|
263
|
+
if (a.ishidden !== 1) {
|
|
264
|
+
const o = e.filter((d) => d.attrcode === a.attrcode)[0];
|
|
265
|
+
let l = {
|
|
266
|
+
name: a.name,
|
|
267
|
+
code: a.attrcode,
|
|
268
|
+
fkName: "",
|
|
269
|
+
effectType: a.datatype,
|
|
270
|
+
dictTypeCode: a.dicttypecode,
|
|
271
|
+
fieldFormat: this.getFieldFormat(a),
|
|
272
|
+
transkey: a.transkey ? `Dynamics.${a.transkey}` : null,
|
|
273
|
+
value: "",
|
|
274
|
+
fieldsize: a.fieldsize,
|
|
275
|
+
fkentity: a.fkentity,
|
|
276
|
+
statecodes: a.statecodes
|
|
277
|
+
};
|
|
278
|
+
o && Object.assign(l, {
|
|
279
|
+
fkName: o.attrname ? o.attrname : o.attrvalue,
|
|
280
|
+
fkId: ["fk"].includes(a.datatype) ? o.attrvalue : "",
|
|
281
|
+
value: this.getDefaultvalue(a, o.attrvalue)
|
|
282
|
+
}), t.push(l);
|
|
283
|
+
}
|
|
284
|
+
}), this.attributesList = [...t], this.activeName === "version" && this.refresh(), this.confirmLoading = !1;
|
|
285
|
+
});
|
|
286
|
+
},
|
|
287
|
+
getDefaultvalue(s, t) {
|
|
288
|
+
return ["checkbox"].includes(s.datatype) ? t.split(",") : ["double", "currency"].includes(s.datatype) ? t && Number(t).toFixed(s.fieldsize) : t;
|
|
289
|
+
},
|
|
290
|
+
open(s) {
|
|
291
|
+
this.type = s.type, this.activeName = "attribute", this.record = s, this.visible = !0, this.init();
|
|
292
|
+
},
|
|
293
|
+
getDocTypePage() {
|
|
294
|
+
n({ pageno: 1, pagesize: 1e3 }).then((s) => {
|
|
295
|
+
s.code === 200 && (this.docTypeList = s.data.rows);
|
|
296
|
+
});
|
|
297
|
+
},
|
|
298
|
+
getDetail() {
|
|
299
|
+
return c({ id: this.record.id }).then((s) => (s.code !== 200 || (this.record = s.data), s));
|
|
300
|
+
},
|
|
301
|
+
getRootPermission() {
|
|
302
|
+
return m({ docId: this.record.id }).then((s) => {
|
|
303
|
+
let t = {};
|
|
304
|
+
s.code === 200 ? t = s.data : this.$message.error(s.message), this.permissionData = t;
|
|
305
|
+
const e = v.filter((i) => i.type.includes(this.record.type));
|
|
306
|
+
return this.permissionMenus = e.map((i) => {
|
|
307
|
+
const r = t[i.code];
|
|
308
|
+
return Object.assign(
|
|
309
|
+
{ ...i },
|
|
310
|
+
{
|
|
311
|
+
allow: r !== void 0 ? r === 1 : !1,
|
|
312
|
+
refuse: r !== void 0 ? r === 2 : !1
|
|
313
|
+
}
|
|
314
|
+
);
|
|
315
|
+
}), s;
|
|
316
|
+
});
|
|
317
|
+
},
|
|
318
|
+
getBlobType(s) {
|
|
319
|
+
let t = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
320
|
+
return s === "pdf" ? t = "application/pdf" : s === "docx" && (t = "application/msword"), t;
|
|
321
|
+
},
|
|
322
|
+
closed() {
|
|
323
|
+
this.fullscreen = !1, this.visible = !1;
|
|
324
|
+
},
|
|
325
|
+
toggleFullscreen() {
|
|
326
|
+
this.fullscreen = !this.fullscreen;
|
|
327
|
+
},
|
|
328
|
+
getDictionary(s) {
|
|
329
|
+
return this.$options.filters.dictData(s);
|
|
330
|
+
},
|
|
331
|
+
doEvent(s) {
|
|
332
|
+
let t = s.item.functionName;
|
|
333
|
+
this[t] && this[t]();
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
var y = function() {
|
|
338
|
+
var t = this, e = t._self._c;
|
|
339
|
+
return e("div", [e("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: "700px", center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1, "destroy-on-close": !0 }, on: { "update:visible": function(i) {
|
|
340
|
+
t.visible = i;
|
|
341
|
+
}, closed: t.closed } }, [e("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), e("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "gd-doc-attribute" }, [t.visible ? e("el-tabs", { attrs: { type: "card" }, model: { value: t.activeName, callback: function(i) {
|
|
342
|
+
t.activeName = i;
|
|
343
|
+
}, expression: "activeName" } }, [e("el-tab-pane", { attrs: { label: t.$i18nt("gd.fileDocument.properties", "\u6587\u6863\u5C5E\u6027"), name: "attribute" } }, [e("div", { staticClass: "attribute", staticStyle: { "margin-top": "10px" } }, [e("div", { staticClass: "attribute-item" }, [e("div", { staticClass: "list" }, [e("div", { staticClass: "list-item list-label" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.form.attribute", "\u5C5E\u6027")))]), e("div", { staticClass: "item-val" }, [t._v(t._s(t.$i18nt("gd.form.value", "\u503C")))])]), e("div", { staticClass: "list-kuang" }, [e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.translation.name", "\u540D\u79F0")))]), e("div", { staticClass: "item-val line1", attrs: { title: t.record.name } }, [t._v(t._s(t.record.name))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.pathAddress", "\u8DEF\u5F84\u5730\u5740")))]), e("div", { staticClass: "item-val line1", attrs: { title: t.pathAddress } }, [t._v(t._s(t.pathAddress))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.file.fileAccept", "\u6587\u4EF6\u7C7B\u578B")))]), e("div", { staticClass: "item-val" }, [e("i", { staticClass: "gd-icons", class: t.fileIcon })])]), t.record.filesize ? [e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.file.fileSize", "\u6587\u4EF6\u5927\u5C0F")))]), e("div", { staticClass: "item-val", attrs: { title: t.recordFileSize } }, [t._v(t._s(t.recordFileSize))])]), t.record.version !== void 0 ? e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.currentVersion", "\u5F53\u524D\u7248\u672C")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.version } }, [t._v(t._s(t.record.version))])]) : t._e(), t.record.iseffectiveness !== void 0 ? e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.iseffectiveness", "\u6709\u6548")))]), e("div", { staticClass: "item-val" }, [e("el-tag", { style: t._f("dictColor")("yes_or_no", t.record.iseffectiveness), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")("yes_or_no", t.record.iseffectiveness)) + " ")])], 1)]) : t._e(), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.classification", "\u6587\u6863\u5206\u7C7B")))]), e("div", { staticClass: "item-val", attrs: { title: t.docTypeName } }, [t._v(t._s(t.docTypeName))])])] : t._e(), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.inheritedPermissions", "\u7EE7\u627F\u6743\u9650")))]), e("div", { staticClass: "item-val", attrs: { title: t._f("dictType")("yes_or_no", t.record.inheritpermissions) } }, [e("el-tag", { style: t._f("dictColor")("yes_or_no", t.record.inheritpermissions), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")("yes_or_no", t.record.inheritpermissions)) + " ")])], 1)]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.uploadTime", "\u6700\u540E\u4E0A\u4F20\u65F6\u95F4")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.uploaddate } }, [t._v(t._s(t.record.uploaddate))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.mdifyUser", "\u4FEE\u6539\u7528\u6237")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.updatedbyname } }, [t._v(t._s(t.record.updatedbyname ? t.record.updatedbyname : ""))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.web.updatedTime", "\u4FEE\u6539\u65F6\u95F4")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.updatedtime } }, [t._v(t._s(t.record.updatedtime))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.fileDocument.createUser", "\u521B\u5EFA\u7528\u6237")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.createdbyname } }, [t._v(t._s(t.record.createdbyname ? t.record.createdbyname : ""))])]), e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.web.creationTime", "\u521B\u5EFA\u65F6\u95F4")))]), e("div", { staticClass: "item-val", attrs: { title: t.record.createdtime } }, [t._v(t._s(t.record.createdtime))])])], 2)])])])]), t.type === 2 ? e("el-tab-pane", { attrs: { label: t.$i18nt("gd.fileDocument.extendedAttributes", "\u6269\u5C55\u5C5E\u6027"), name: "extendedAttributes" } }, [e("div", { staticClass: "attribute" }, [t.type === 2 ? e("div", { staticClass: "attribute-item" }, [e("div", { staticClass: "list-title list-title-flex" }, [e("div", { staticClass: "list-title-name" }), t.hasRename && t.docTypeData.statecodes === 1 && t.attributesList.length > 0 ? e("div", { staticClass: "list-title-edit active-color", on: { click: t.editExtendedAttributes } }, [e("i", { staticClass: "el-icon-edit-outline active-color" }), t._v(" " + t._s(t.$i18nt("gd.btn.edit", "\u7F16\u8F91")) + " ")]) : t._e()]), e("div", { staticClass: "list" }, [e("div", { staticClass: "list-item list-label" }, [e("div", { staticClass: "item-name item-names" }, [t._v(t._s(t.$i18nt("gd.form.attribute", "\u5C5E\u6027")))]), e("div", { staticClass: "item-val" }, [t._v(" " + t._s(t.$i18nt("gd.form.value", "\u503C")) + " ")])]), t.attributesList.length > 0 ? e("div", { staticClass: "list-kuang" }, t._l(t.attributesList, function(i) {
|
|
344
|
+
return e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name item-names" }, [t._v(" " + t._s(t.$i18nt(i.transkey, i.name)) + " ")]), ["radio", "select", "switch"].includes(i.effectType) ? e("div", { staticClass: "item-val line1", attrs: { title: t._f("dictType")(i.dictTypeCode, i.value) } }, [e("el-tag", { style: t._f("dictColor")(i.dictTypeCode, i.value), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")(i.dictTypeCode, i.value)) + " ")])], 1) : ["datepicker"].includes(i.effectType) ? e("div", { staticClass: "item-val line1", attrs: { title: t._f("formatTime")(i.value, i.fieldFormat) } }, [t._v(" " + t._s(t._f("formatTime")(i.value, i.fieldFormat)) + " ")]) : ["checkbox"].includes(i.effectType) ? e("div", { staticClass: "item-val line1" }, [t._l(i.value, function(r, a) {
|
|
345
|
+
return [a < t.maxLeg ? e("el-tag", { style: t._f("dictColor")(i.dictTypeCode, r), attrs: { effect: "dark" } }, [t._v(" " + t._s(t._f("dictType")(i.dictTypeCode, r)) + " ")]) : t._e(), a === t.maxLeg ? e("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { effect: "dark", placement: "top" } }, [e("div", { attrs: { slot: "content" }, slot: "content" }, [t._l(i.value, function(o, l) {
|
|
346
|
+
return [l >= t.maxLeg ? e("span", { staticStyle: { "padding-right": "4px" } }, [t._v(t._s(t._f("dictType")(i.dictTypeCode, o)))]) : t._e()];
|
|
347
|
+
})], 2), e("el-tag", { staticStyle: { "background-color": "#fff", "border-color": "#dcdfe2", color: "rgba(0, 0, 0, 0.65)" }, attrs: { effect: "dark" } }, [t._v(" ... ")])], 1) : t._e()];
|
|
348
|
+
})], 2) : ["fk"].includes(i.effectType) ? e("div", { staticClass: "item-val line1", attrs: { title: i.fkName } }, [i.fkId ? e("span", { staticClass: "active-color", on: { click: function(r) {
|
|
349
|
+
return t.seeFkItem(i);
|
|
350
|
+
} } }, [t._v(t._s(i.fkName))]) : t._e()]) : e("div", { staticClass: "item-val line1", attrs: { title: i.value } }, [t._v(t._s(i.value))])]);
|
|
351
|
+
}), 0) : e("div", { staticClass: "empty" }, [e("div", { staticClass: "empty-icon" }, [e("i", { staticClass: "el-icon-receiving" })]), e("div", { staticClass: "empty-title" }, [e("span", [t._v(t._s(t.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])])]) : t._e()])]) : t._e(), e("el-tab-pane", { attrs: { label: t.$i18nt("gd.page.limitsAuthority", "\u6743\u9650"), name: "permission" } }, [e("div", { staticClass: "list", staticStyle: { "margin-top": "12px" } }, [e("div", { staticClass: "list-item list-label" }, [e("div", { staticClass: "item-name" }, [t._v(t._s(t.$i18nt("gd.page.limitsAuthority", "\u6743\u9650")))]), e("div", { staticClass: "item-hand" }, [t._v(t._s(t.$i18nt("gd.fileDocument.allow", "\u5141\u8BB8")))]), e("div", { staticClass: "item-hand" }, [t._v(t._s(t.$i18nt("gd.fileDocument.refuse", "\u62D2\u7EDD")))])]), e("div", { staticClass: "list-kuang" }, [t._l(t.permissionMenus, function(i) {
|
|
352
|
+
return [i.show ? e("div", { staticClass: "list-item" }, [e("div", { staticClass: "item-name" }, [t._v(" " + t._s(t.$i18nt(i.transkey, i.name)) + " (" + t._s(i.code) + ") ")]), e("div", { staticClass: "item-hand" }, [i.allow ? e("i", { staticClass: "el-icon-check", staticStyle: { color: "#52c41a" } }) : t._e()]), e("div", { staticClass: "item-hand" }, [i.refuse ? e("i", { staticClass: "el-icon-close", staticStyle: { color: "red" } }) : t._e()])]) : t._e()];
|
|
353
|
+
})], 2)])])], 1) : t._e()], 1)], 1), e("ExtendedAttributes", { ref: "extendedAttributes", on: { ok: t.init } }), e("gd-middleware", { ref: "middleware", on: { ok: t.init } })], 1);
|
|
354
|
+
}, g = [], h = /* @__PURE__ */ u(
|
|
355
|
+
_,
|
|
356
|
+
y,
|
|
357
|
+
g,
|
|
358
|
+
!1,
|
|
359
|
+
null,
|
|
360
|
+
"c4a2af33",
|
|
361
|
+
null,
|
|
362
|
+
null
|
|
363
|
+
);
|
|
364
|
+
const Qe = h.exports;
|
|
365
|
+
export {
|
|
366
|
+
Qe as default
|
|
367
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./http.filedocument.6fdfc693.js"),l=require("./index.07adebf0.js"),o=require("./components.chartbi.13a8a7b5.js");require("./router.config.a09f29e7.js");require("./layouts.2030bf01.js");require("vue");require("./components.sidenavmenu.1f0bbfca.js");require("./http.loginmanage.326984c3.js");require("./http.filemanage.7e6e3e1a.js");require("./utils.util.js.c0ba699b.js");require("./http.main.2f8a6936.js");require("./http.noticemanage.2507d094.js");require("./components.globalheader.5418b5ec.js");require("./components.multitab.92eb4b1e.js");require("./components.sidemenu.cd6d0301.js");require("./system.account.93ad722e.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./components.settingdrawer.4581f5b1.js");require("./http.appmanage.b998818f.js");require("./http.menumanage.6d740f2c.js");require("./system.welcome.d86a3cdb.js");require("./flow.designer.85d0054b.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./http.codegeneratemanage.e3db2f09.js");require("./http.useraffiliation.af2013ad.js");require("./components.xlsximport.c53c50f6.js");require("./components.table.d016f609.js");require("./utils.datepicker.js.0a5a699e.js");require("./components.form.14ed3374.js");require("./http.tabledevelopment.a880bb76.js");require("./http.promptmanagement.d115c4b0.js");require("./utils.plug.js.f62510ce.js");require("./components.coloreditor.8afc4731.js");require("./page.designer.page.654634aa.js");require("./page.designer.componentstree.74a3a114.js");require("./mobile.designer.componentstree.365945a3.js");require("./page.designer.fieldfiltering.f2d1b6e4.js");require("./components.iconselector.4b5b7901.js");require("./utils.echarts.js.461a74e7.js");require("./table.definition..echartsconfig.4310b5a2.js");require("./utils.mixins.js.750ca50e.js");require("./personal.echarts.e5915542.js");require("./components.teamsharing.efe58448.js");require("./store.config.556bd56b.js");require("./form.build.19f0c882.js");require("./components.viewformdetails.328c8642.js");require("./system.notice.2090c130.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.4d1101dd.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.879ff28f.js");require("./components.tableumy.aa73378d.js");require("./components.tooltip.edf8e4ca.js");require("./components.selecttree.ce4fbb44.js");require("./components.imgpreview.5fe318f7.js");require("./components.modaltitle.d7ef34cb.js");require("./components.dataassign.59a87bfd.js");require("./components.middleware.64b6a988.js");require("./components.echarts.5dea23f6.js");require("./components.viewloading.5b9c8fee.js");require("./components.exception.b4ddeaba.js");require("./components.uploadfile.586aca36.js");require("./components.uploadimg.2324089d.js");require("./components.lunccalendar.f18b2da3.js");require("./components.watermark.af8b5718.js");require("./system.org.f6d58d0f.js");require("./system.pos.71f3eba7.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.ab148847.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.475d7391.js");require("./system.role.321c48d3.js");require("./system.log.9d394678.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.d33b0b6e.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.e74f010d.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.9520e7f9.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.0b79642e.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./system.webresource.81cfa690.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.40b4f48a.js");require("./system.file.6a6bd77c.js");require("./system.timers.51bedf97.js");require("./http.timersmanage.6e894942.js");require("./http.solution.c6b2634f.js");require("./http.translationmanage.1f9dce46.js");require("./page.designer.operation.1d435e6e.js");require("./page.build.7ac1ee9b.js");require("./form.designer.build.2bcc355d.js");require("./http.duplicatechecking.ee5c414c.js");require("./view.build.5789a6eb.js");require("./table.definition..btnconfig.add3d840.js");require("./flow.list.e001d91a.js");require("./solution.dict.1d5195d0.js");require("./solution.processflow.aa1e808b.js");require("./solution.workflow.0ed2cb24.js");require("./solution.approvalflow.79da028c.js");require("./solution.webresources.bc00603d.js");require("./solution.plugin.5d6d29cf.js");require("./http.pluginmanage.6a876040.js");require("./system.plugin.a0f25733.js");require("./solution.role.2eff83a1.js");require("./solution.application.8d6c84e8.js");require("./solution.applicationmenu.c6cd2b59.js");require("./solution.menu.fa48a7e8.js");require("./page.designer.menutree.71c18258.js");require("./system.translation.c9f1b505.js");require("./system.duplicatechecking.a217fc52.js");require("./system.promptmanagement.9718aa24.js");require("./system.useraffiliation.fe1e1d39.js");require("./system.email.1db14214.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.fdb64929.js");require("./system.datasource.76c0ccdb.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.6e8d208e.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.cf1c1558.js");require("./http.team.e45400d5.js");require("./system.teammembers.63f21557.js");require("./system.document.0e46ff8c.js");require("./mobile.designer.menutree.4d4e059b.js");require("./messages.messagetemplate.50334e5f.js");require("./http.message.87f319d7.js");require("./messages.fieldconfiguration.092bb027.js");require("./messages.sendplan.60929f46.js");require("./messages.sendrecord.09a1d1cd.js");require("./messages.templatelibrary.f5952edd.js");require("./translation.mains.6f941967.js");const m={props:{treeData:{type:Array,default:()=>[]},fileAccept:{type:String,default:""},fileSize:{type:Number,default:1024}},data(){return{maxLeg:5,type:2,record:{},statu:!1,confirmLoading:!1,visible:!1,fullscreen:!1,buttons:[{displayName:"\u5237\u65B0",functionName:"init",show:!0,transKey:"gd.basics.refresh",icon:"el-icon-refresh"}],permissionMenus:[],attributesList:[],permissionData:{},docTypeList:[],docTypeData:{},activeName:"attribute"}},components:{ExtendedAttributes:()=>Promise.resolve().then(()=>require("./extendedAttributes.bfff1926.js"))},computed:{hasRename(){return this.permissionData.rename===1},docTypeName(){const i=this.record.sysdoctypeid?this.record.sysdoctypeid:"",e=this.docTypeList.filter(t=>t.id===i)[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):""},title(){return this.record.name},getHeight(){const i=this.fullscreen?206:380;return this.screenHeight-i},pathAddress(){let i="";return this.record.path===void 0||(this.record.path.split(".").forEach(t=>{const s=this.treeData.filter(r=>r.id===Number(t))[0];i+=s&&t!=="0"?`/${s.name}`:""}),this.record.type!==1&&(i+=`/${this.record.name}`)),i},fileIcon(){return l.getIcon(this.record)},fileType(){const e=this.getDictionary("sys_doc_objects_type").filter(t=>t.code==this.record.type)[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):this.record.type},recordFileSize(){if(this.record.type===1)return 0;const i=this.record.filesize?this.record.filesize:0;return this.getFilSize(i)},timeLongshort(){return this.getDictionary("time_longshort")},...o.mapGetters(["primaryColor","tablePageSize","tableSize","screenHeight","tableLists"])},methods:{editExtendedAttributes(){this.$refs.extendedAttributes.open(this.record)},seeFkItem(i){const e=this.tableLists.filter(r=>r.tablename===i.fkentity)[0];this.statu=!0;let t={tableId:e.id,data:[{id:i.fkId}]};const s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});this.$refs.middleware.init(t).then(r=>{setTimeout(()=>{this.statu=!1},1e3),s.close()})},getFilSize(i){let e=i/1024;return e<1024?`${Math.ceil(e)}K`:`${(i/1024/1024).toFixed(2)}M`},getFieldFormat(i){if(!["datepicker"].includes(i.datatype))return"";const e=this.timeLongshort.filter(t=>String(t.code)===String(i.fieldformat))[0];return e?e.name.replace("DD","dd"):"yyyy-MM-dd HH:mm:ss"},init(){this.confirmLoading=!0,Promise.all([this.getDetail(),this.getRootPermission(),this.getDocTypePage()]).then(i=>{let e=[];const t=this.record.attributes?this.record.attributes:[],s=this.docTypeList.filter(a=>a.id===this.record.sysdoctypeid)[0];this.docTypeData=s||{},(s?s.sysdoctypeattributes:[]).forEach(a=>{if(a.ishidden!==1){const n=t.filter(u=>u.attrcode===a.attrcode)[0];let c={name:a.name,code:a.attrcode,fkName:"",effectType:a.datatype,dictTypeCode:a.dicttypecode,fieldFormat:this.getFieldFormat(a),transkey:a.transkey?`Dynamics.${a.transkey}`:null,value:"",fieldsize:a.fieldsize,fkentity:a.fkentity,statecodes:a.statecodes};n&&Object.assign(c,{fkName:n.attrname?n.attrname:n.attrvalue,fkId:["fk"].includes(a.datatype)?n.attrvalue:"",value:this.getDefaultvalue(a,n.attrvalue)}),e.push(c)}}),this.attributesList=[...e],this.activeName==="version"&&this.refresh(),this.confirmLoading=!1})},getDefaultvalue(i,e){return["checkbox"].includes(i.datatype)?e.split(","):["double","currency"].includes(i.datatype)?e&&Number(e).toFixed(i.fieldsize):e},open(i){this.type=i.type,this.activeName="attribute",this.record=i,this.visible=!0,this.init()},getDocTypePage(){d.sysDocTypePage({pageno:1,pagesize:1e3}).then(i=>{i.code===200&&(this.docTypeList=i.data.rows)})},getDetail(){return d.sysDocObjectsGetById({id:this.record.id}).then(i=>(i.code!==200||(this.record=i.data),i))},getRootPermission(){return d.getUserDocPrivs({docId:this.record.id}).then(i=>{let e={};i.code===200?e=i.data:this.$message.error(i.message),this.permissionData=e;const t=l.permissionList.filter(s=>s.type.includes(this.record.type));return this.permissionMenus=t.map(s=>{const r=e[s.code];return Object.assign({...s},{allow:r!==void 0?r===1:!1,refuse:r!==void 0?r===2:!1})}),i})},getBlobType(i){let e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return i==="pdf"?e="application/pdf":i==="docx"&&(e="application/msword"),e},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionary(i){return this.$options.filters.dictData(i)},doEvent(i){let e=i.item.functionName;this[e]&&this[e]()}}};var f=function(){var e=this,t=e._self._c;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:"700px",center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1,"destroy-on-close":!0},on:{"update:visible":function(s){e.visible=s},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"}],staticClass:"gd-doc-attribute"},[e.visible?t("el-tabs",{attrs:{type:"card"},model:{value:e.activeName,callback:function(s){e.activeName=s},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:e.$i18nt("gd.fileDocument.properties","\u6587\u6863\u5C5E\u6027"),name:"attribute"}},[t("div",{staticClass:"attribute",staticStyle:{"margin-top":"10px"}},[t("div",{staticClass:"attribute-item"},[t("div",{staticClass:"list"},[t("div",{staticClass:"list-item list-label"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.form.attribute","\u5C5E\u6027")))]),t("div",{staticClass:"item-val"},[e._v(e._s(e.$i18nt("gd.form.value","\u503C")))])]),t("div",{staticClass:"list-kuang"},[t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.translation.name","\u540D\u79F0")))]),t("div",{staticClass:"item-val line1",attrs:{title:e.record.name}},[e._v(e._s(e.record.name))])]),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.pathAddress","\u8DEF\u5F84\u5730\u5740")))]),t("div",{staticClass:"item-val line1",attrs:{title:e.pathAddress}},[e._v(e._s(e.pathAddress))])]),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.file.fileAccept","\u6587\u4EF6\u7C7B\u578B")))]),t("div",{staticClass:"item-val"},[t("i",{staticClass:"gd-icons",class:e.fileIcon})])]),e.record.filesize?[t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.file.fileSize","\u6587\u4EF6\u5927\u5C0F")))]),t("div",{staticClass:"item-val",attrs:{title:e.recordFileSize}},[e._v(e._s(e.recordFileSize))])]),e.record.version!==void 0?t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.currentVersion","\u5F53\u524D\u7248\u672C")))]),t("div",{staticClass:"item-val",attrs:{title:e.record.version}},[e._v(e._s(e.record.version))])]):e._e(),e.record.iseffectiveness!==void 0?t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.iseffectiveness","\u6709\u6548")))]),t("div",{staticClass:"item-val"},[t("el-tag",{style:e._f("dictColor")("yes_or_no",e.record.iseffectiveness),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("yes_or_no",e.record.iseffectiveness))+" ")])],1)]):e._e(),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.classification","\u6587\u6863\u5206\u7C7B")))]),t("div",{staticClass:"item-val",attrs:{title:e.docTypeName}},[e._v(e._s(e.docTypeName))])])]:e._e(),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650")))]),t("div",{staticClass:"item-val",attrs:{title:e._f("dictType")("yes_or_no",e.record.inheritpermissions)}},[t("el-tag",{style:e._f("dictColor")("yes_or_no",e.record.inheritpermissions),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("yes_or_no",e.record.inheritpermissions))+" ")])],1)]),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.uploadTime","\u6700\u540E\u4E0A\u4F20\u65F6\u95F4")))]),t("div",{staticClass:"item-val",attrs:{title:e.record.uploaddate}},[e._v(e._s(e.record.uploaddate))])]),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.mdifyUser","\u4FEE\u6539\u7528\u6237")))]),t("div",{staticClass:"item-val",attrs:{title:e.record.updatedbyname}},[e._v(e._s(e.record.updatedbyname?e.record.updatedbyname:""))])]),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.web.updatedTime","\u4FEE\u6539\u65F6\u95F4")))]),t("div",{staticClass:"item-val",attrs:{title:e.record.updatedtime}},[e._v(e._s(e.record.updatedtime))])]),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.fileDocument.createUser","\u521B\u5EFA\u7528\u6237")))]),t("div",{staticClass:"item-val",attrs:{title:e.record.createdbyname}},[e._v(e._s(e.record.createdbyname?e.record.createdbyname:""))])]),t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.web.creationTime","\u521B\u5EFA\u65F6\u95F4")))]),t("div",{staticClass:"item-val",attrs:{title:e.record.createdtime}},[e._v(e._s(e.record.createdtime))])])],2)])])])]),e.type===2?t("el-tab-pane",{attrs:{label:e.$i18nt("gd.fileDocument.extendedAttributes","\u6269\u5C55\u5C5E\u6027"),name:"extendedAttributes"}},[t("div",{staticClass:"attribute"},[e.type===2?t("div",{staticClass:"attribute-item"},[t("div",{staticClass:"list-title list-title-flex"},[t("div",{staticClass:"list-title-name"}),e.hasRename&&e.docTypeData.statecodes===1&&e.attributesList.length>0?t("div",{staticClass:"list-title-edit active-color",on:{click:e.editExtendedAttributes}},[t("i",{staticClass:"el-icon-edit-outline active-color"}),e._v(" "+e._s(e.$i18nt("gd.btn.edit","\u7F16\u8F91"))+" ")]):e._e()]),t("div",{staticClass:"list"},[t("div",{staticClass:"list-item list-label"},[t("div",{staticClass:"item-name item-names"},[e._v(e._s(e.$i18nt("gd.form.attribute","\u5C5E\u6027")))]),t("div",{staticClass:"item-val"},[e._v(" "+e._s(e.$i18nt("gd.form.value","\u503C"))+" ")])]),e.attributesList.length>0?t("div",{staticClass:"list-kuang"},e._l(e.attributesList,function(s){return t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name item-names"},[e._v(" "+e._s(e.$i18nt(s.transkey,s.name))+" ")]),["radio","select","switch"].includes(s.effectType)?t("div",{staticClass:"item-val line1",attrs:{title:e._f("dictType")(s.dictTypeCode,s.value)}},[t("el-tag",{style:e._f("dictColor")(s.dictTypeCode,s.value),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")(s.dictTypeCode,s.value))+" ")])],1):["datepicker"].includes(s.effectType)?t("div",{staticClass:"item-val line1",attrs:{title:e._f("formatTime")(s.value,s.fieldFormat)}},[e._v(" "+e._s(e._f("formatTime")(s.value,s.fieldFormat))+" ")]):["checkbox"].includes(s.effectType)?t("div",{staticClass:"item-val line1"},[e._l(s.value,function(r,a){return[a<e.maxLeg?t("el-tag",{style:e._f("dictColor")(s.dictTypeCode,r),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")(s.dictTypeCode,r))+" ")]):e._e(),a===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(s.value,function(n,c){return[c>=e.maxLeg?t("span",{staticStyle:{"padding-right":"4px"}},[e._v(e._s(e._f("dictType")(s.dictTypeCode,n)))]):e._e()]})],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()]})],2):["fk"].includes(s.effectType)?t("div",{staticClass:"item-val line1",attrs:{title:s.fkName}},[s.fkId?t("span",{staticClass:"active-color",on:{click:function(r){return e.seeFkItem(s)}}},[e._v(e._s(s.fkName))]):e._e()]):t("div",{staticClass:"item-val line1",attrs:{title:s.value}},[e._v(e._s(s.value))])])}),0):t("div",{staticClass:"empty"},[t("div",{staticClass:"empty-icon"},[t("i",{staticClass:"el-icon-receiving"})]),t("div",{staticClass:"empty-title"},[t("span",[e._v(e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])])]):e._e()])]):e._e(),t("el-tab-pane",{attrs:{label:e.$i18nt("gd.page.limitsAuthority","\u6743\u9650"),name:"permission"}},[t("div",{staticClass:"list",staticStyle:{"margin-top":"12px"}},[t("div",{staticClass:"list-item list-label"},[t("div",{staticClass:"item-name"},[e._v(e._s(e.$i18nt("gd.page.limitsAuthority","\u6743\u9650")))]),t("div",{staticClass:"item-hand"},[e._v(e._s(e.$i18nt("gd.fileDocument.allow","\u5141\u8BB8")))]),t("div",{staticClass:"item-hand"},[e._v(e._s(e.$i18nt("gd.fileDocument.refuse","\u62D2\u7EDD")))])]),t("div",{staticClass:"list-kuang"},[e._l(e.permissionMenus,function(s){return[s.show?t("div",{staticClass:"list-item"},[t("div",{staticClass:"item-name"},[e._v(" "+e._s(e.$i18nt(s.transkey,s.name))+" ("+e._s(s.code)+") ")]),t("div",{staticClass:"item-hand"},[s.allow?t("i",{staticClass:"el-icon-check",staticStyle:{color:"#52c41a"}}):e._e()]),t("div",{staticClass:"item-hand"},[s.refuse?t("i",{staticClass:"el-icon-close",staticStyle:{color:"red"}}):e._e()])]):e._e()]})],2)])])],1):e._e()],1)],1),t("ExtendedAttributes",{ref:"extendedAttributes",on:{ok:e.init}}),t("gd-middleware",{ref:"middleware",on:{ok:e.init}})],1)},p=[],v=o.normalizeComponent(m,f,p,!1,null,"c4a2af33",null,null);const g=v.exports;exports.default=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./utils.util.js.c0ba699b.js"),u=require("./components.chartbi.13a8a7b5.js"),f=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");const p={props:{formRecord:{type:Object,required:!0},table:{type:Object,default:()=>({})},loadData:{type:Array,default:()=>[]},viewData:{type:Array,default:()=>[]},formData:{type:Array,default:()=>[]}},data(){return{width:"1100px",record:null,confirmLoading:!1,visible:!1,fullscreen:!1,buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],ruleFormData:{adapted:[],name:"",using:!0,explain:"",id:""},rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}],adapted:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u9009\u62E9"),trigger:"change"}]},list:[],collapseList:[],tabsList:[],containerPanelList:[],drawerContainerList:[],showAdd:!0,detail:{},type:1,loading:!1}},components:{EffectTypeIcon:()=>Promise.resolve().then(()=>require("./components.xlsximport.c53c50f6.js")).then(i=>i.effectTypeIcon)},watch:{list:{handler(i){this.isSatisfy()},deep:!0,immediate:!0}},computed:{adaptedList(){return[{name:"\u8868\u5355",code:"form",transKey:"gd.btnConfig.form"},{name:"\u4E1A\u52A1\u6D41\u7A0B",code:"flowsProcess",transKey:"gd.flow.process.title"}]},getTabsColumns(){let i=[];return this.tabsList.forEach(t=>{t.columns&&t.columns.length>0&&(i=i.concat(t.columns))}),i},getCollapseColumns(){let i=[];return this.collapseList.forEach(t=>{t.columns&&t.columns.length>0&&(i=i.concat(t.columns))}),i},height(){let i=this.fullscreen?190:340;return this.screenHeight-i},fieldFormat(){return this.getDictionary("time_longshort")},operationList(){return this.getDictionary("table_form_operation")},rulesList(){return this.getDictionary("table_form_rules").filter(i=>(i.sysDictType=[],!0))},...u.mapGetters(["screenHeight","primaryColor"])},methods:{hasTimePicker(i){const t=i||"yyyy-MM-dd";return["hh:mm:ss","hh:mm","mm:ss","HH:mm:ss","HH:mm"].includes(t)},pickerType(i){const t=i||"yyyy-MM-dd";let e="date";return t==="yyyy-MM-dd hh:mm:ss"||t==="yyyy-MM-dd HH:mm:ss"?e="datetime":t==="yyyy-MM"?e="month":t==="yyyy"&&(e="year"),e},handleSubmit(){let i=[],t=[];if(this.list.forEach((e,a)=>{i=i.concat(e.condition.list),t=t.concat(e.operation.list)}),i.length==0)return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip","\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")),!1;if(!this.isCheckedAll(i,1))return this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip","\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!")),!1;if(t.length==0)return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip","\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")),!1;if(!this.isCheckedAll(t,2))return this.$message.warning(this.$i18nt("gd.basics..businessRulesHandleTip","\u8BF7\u8865\u5145\u64CD\u4F5C\u6570\u636E!")),!1;this.confirmLoading=!0,this.$refs.ruleForm.validate(e=>{e?(this.$emit("ok",Object.assign({...this.ruleFormData},{key:this.record?"2":"1",list:[...this.list]})),this.closed()):this.confirmLoading=!1})},lookup(i,t){this.detail=i;let e=this.loadData.filter(a=>a.columnname===i.columnComment)[0];this.type=t,this.$refs.engineSearch.open(Object.assign(e,{val:i.val}))},lookupSeled(i){let t=[...this.list];t.forEach((e,a)=>{this.type===1?e.condition.list.forEach((n,l)=>{n.id==this.detail.id&&(t[a].condition.list[l].val=i.data[0],t[a].condition.list[l].fkData=[...i.fkData])}):e.operation.list.forEach((n,l)=>{n.id==this.detail.id&&(t[a].operation.list[l].val=i.data[0],t[a].operation.list[l].fkData=[...i.fkData])})}),this.list=[...t]},conditionColumn(i,t,e){const a=this.loadData.filter(l=>l.columnname===t.columnComment)[0];if(e===2&&!a){this.conditionColumnView(i,t);return}let n={effectType:a?a.effecttype:"input",val:"",showTime:!1,fkData:[]};if(a.fieldformat){const l=this.fieldFormat.filter(s=>s.code==a.fieldformat)[0],o=l?l.name.replace("DD","dd"):"yyyy-MM-dd HH:mm:ss";Object.assign(n,{fieldFormat:o,showTime:o==="yyyy-MM-dd hh:mm:ss"||o==="yyyy-MM-dd HH:mm:ss"})}if(a.dicttypecode&&Object.assign(n,{dictTypeCode:a.dicttypecode}),e==1){const l=this.rulesList.filter(o=>o.remark.split(",").includes(a.effecttype));Object.assign(n,{rulesList:[...l],rules:l.length>0?l[0].code:""})}Object.assign(t,{...n}),["fk","about","user"].includes(t.effectType)&&this.searchData("",t)},conditionColumnView(i,t){let e="input";const a=this.viewData.filter(c=>c.componentName===i)[0],n=this.formData.filter(c=>c.formId===i)[0],l=this.getTabsColumns.filter(c=>c.key===i)[0],o=this.getCollapseColumns.filter(c=>c.key===i)[0],s=this.containerPanelList.filter(c=>c.key===i)[0],r=this.drawerContainerList.filter(c=>c.key===i)[0];a?e="viewtable":n?e="displayform":l?e="tabsColumns":o?e="collapseColumns":s?e="containerPanel":r&&(e="drawerContainer"),Object.assign(t,{effectType:e,val:""})},del(i){let t=this;this.$confirm(this.$i18nt("gd.https.delExpression","\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,a,n)=>{if(n(),e!=="confirm")return;let l=[...t.list];l.splice(i,1),l.length>1&&(l[l.length-1].title="Else"),t.list=[...l]}})},addList(){let i=[...this.list];i.length>1&&(i[i.length-1].title="ELSE IF");let t={title:"Else",open:!0,condition:{open:!0,list:[]},operation:{open:!0,list:[]}};i.push(t),this.list=[...i]},delCondition(i,t){let e=[...this.list];e[i].condition.list.splice(t,1),e[i].condition.list.length>0&&(e[i].condition.list[0].type="0"),this.list=[...e]},delOperation(i,t){let e=[...this.list];e[i].operation.list.splice(t,1),this.list=[...e]},addCondition(i){let t=this.list[i].condition.list.length,a={type:t==0?"0":t>1?this.list[i].condition.list[t-1].type:"1",columnComment:"",rules:"1",val:"",rulesList:[...this.rulesList],effectType:"input",fieldFormat:null,dictTypeCode:"",showTime:!1,fkData:[],id:d.uuid(12)};this.list[i].condition.list.push(a)},addOperation(i){let t={rules:"2",columnComment:"",val:"",type:1,effectType:"input",fkData:[],id:d.uuid(12),fieldFormat:null,dictTypeCode:"",showTime:!1};this.list[i].operation.list.push(t)},searchData(i,t){const a=this.loadData.filter(n=>n.columnname===t.columnComment)[0].fkentityname.split(",")[0];this.loading=!0,t.fkData=[],f.baseFkList({name:i,fkEntityName:a}).then(n=>{n.code===200&&(t.fkData=n.data.map(l=>(l.tableName=a,l))),this.loading=!1})},init(i){const t=JSON.parse(JSON.stringify(i));this.record=t,this.visible=!0,this.ruleFormData={name:i?i.name:"",using:i?i.using:!0,explain:i?i.explain:"",id:i?i.id:d.uuid(12),adapted:i&&i.adapted?i.adapted:["form","flowsProcess"]},i?this.list=[...t.list]:this.list=[{title:"IF",open:!0,condition:{open:!0,list:[]},operation:{open:!0,list:[]},id:d.uuid(12)}],this.$nextTick(()=>{setTimeout(()=>{this.$refs.ruleForm.clearValidate(),this.getControl()},0)})},openItem(i,t){if(i==1){this.list[t].open=!this.list[t].open;return}if(i==2){this.list[t].condition.open=!this.list[t].condition.open;return}if(i==3){this.list[t].operation.open=!this.list[t].operation.open;return}},getControl(){let i=[],t=[],e=[],a=[];const n=l=>(l=l.filter((o,s)=>(o.type==="tabs"?t.push(o):o.type==="collapse"?i.push(o):o.type==="containerPanel"?e.push(o):o.type==="drawerContainer"&&o.options.particle==="component"&&a.push(o),o.columns&&o.columns.length>0&&o.columns.forEach(r=>{r.list=n(r.list)}),o.list&&o.list.length>0&&(o.list=n(o.list)),!0)),l);n(this.formRecord.list),this.collapseList=[...i],this.tabsList=[...t],this.containerPanelList=[...e],this.drawerContainerList=[...a]},getHeaderbName(i){if(i.transKey){if(i.langs!==void 0&&i.langs.length>0){let t=i.langs.filter(e=>e.code===this.language)[0];return t===void 0?this.$i18nt(`Dynamics.${i.transKey}`,t.val):t.val}}else return i.label;return this.$i18nt(`Dynamics.${i.transKey}`,i.label)},getTabName(i){if(i.transKey){if(i.langs!==void 0&&i.langs.length>0){let t=i.langs.filter(e=>e.code===this.language)[0];return t===void 0?this.$i18nt(`Dynamics.${i.transKey}`,t.val):t.val}}else return i.label;return this.$i18nt(`Dynamics.${i.transKey}`,i.label)},isSatisfy(){if(this.list.length==0)return;let i=[...this.list],t=i[i.length-1];t.condition.list.length>0?this.showAdd=!this.isChecked(t.condition.list):this.showAdd=!1},isChecked(i){return i.every((t,e,a)=>{let n=t.rules==="5"||t.rules==="6"?t.columnComment:t.val;return!(t.columnComment!==void 0&&n)})},isCheckedAll(i,t){return i.every((e,a,n)=>{let l="";return t===1?l=e.rules==="5"||e.rules==="6"?e.columnComment:e.val:l=e.rules==="7"?e.columnComment:e.val,e.columnComment!==void 0&&l!==""&&l!==void 0})},getDictionary(i){let t=this.loadData.filter(e=>e.columnname==i.columnComment)[0];return t===void 0?[]:t.dicttypecode===null?[]:this.getDictionary(t.dicttypecode)},closed(){this.confirmLoading=!1,this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionaryd(i){let t=i.rules==="3"?"table_form_essential":i.rules==="4"?"table_form_so":"table_form_locking";return this.getDictionary(t)},getDictionary(i){return this.$options.filters.dictData(i)},doEvent(i){let t=i.item.functionName;this[t]&&this[t]()}}};var m=function(){var t=this,e=t._self._c;return e("div",[e("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:t.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:t.fullscreen,visible:t.visible,width:t.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(a){t.visible=a},closed:t.closed}},[e("template",{slot:"title"},[e("gd-modal-title",{attrs:{title:t.$i18nt("gd.basics.businessSettings","\u4E1A\u52A1\u89C4\u5219"),fullscreen:t.fullscreen,buttons:t.buttons,confirmLoading:t.confirmLoading,showClose:!0},on:{changeEvent:t.doEvent}})],1),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.confirmLoading,expression:"confirmLoading"}],staticClass:"generator-form"},[e("div",{staticClass:"view-config"},[e("div",{staticClass:"config-item"},[e("div",{staticClass:"rules"},[t._l(t.list,function(a,n){return e("div",{key:n,staticClass:"rules-if"},[e("div",{staticClass:"title"},[e("div",{staticClass:"l",on:{click:function(l){return t.openItem(1,n)}}},[e("i",{staticClass:"if-icon",class:a.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(a.title)+" ")]),n!=0?e("div",{staticClass:"r"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",cursor:"pointer",color:"#ff4d4f"},on:{click:function(l){return t.del(n)}}})]):t._e()]),a.open?e("div",{staticClass:"rules-ifs"},[e("div",{staticClass:"condition"},[e("div",{staticClass:"title",on:{click:function(l){return t.openItem(2,n)}}},[e("i",{staticClass:"if-icon",class:a.condition.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.if","\u5982\u679C"))+" ")]),a.condition&&a.condition.open?e("div",{staticClass:"detail"},[t._l(a.condition.list,function(l,o){return e("div",{staticClass:"lists"},[e("div",{staticClass:"rg"},[l.type==0?e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input"),value:t.$i18nt("gd.basics.if","\u5982\u679C"),disabled:""}}):e("el-select",{staticStyle:{width:"100%"},model:{value:l.type,callback:function(s){t.$set(l,"type",s)},expression:"ite.type"}},[e("el-option",{attrs:{value:"1",label:t.$i18nt("gd.filter.and","\u548C")}}),e("el-option",{attrs:{value:"2",label:t.$i18nt("gd.filter.or","\u6216")}})],1)],1),e("div",{staticClass:"zd"},[e("el-select",{staticStyle:{width:"100%"},on:{change:function(s){return t.conditionColumn(s,l,1)}},model:{value:l.columnComment,callback:function(s){t.$set(l,"columnComment",s)},expression:"ite.columnComment"}},[t._l(t.loadData,function(s){return[e("el-option",{attrs:{value:s.columnname,label:t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment)}},[e("EffectTypeIcon",{attrs:{effectType:s.effecttype}}),e("span",{staticStyle:{"margin-left":"4px"}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment))+" ("+t._s(s.columnname)+") ")])],1)]})],2)],1),e("div",{staticClass:"tj"},[e("el-select",{staticStyle:{width:"100%"},attrs:{disabled:l.columnComment===""},model:{value:l.rules,callback:function(s){t.$set(l,"rules",s)},expression:"ite.rules"}},[t._l(l.rulesList,function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2)],1),e("div",{staticClass:"jg"},[l.rules!=5&&l.rules!=6?e("div",[["select","radio","checkbox","switch"].includes(l.effectType)?e("el-select",{staticStyle:{width:"100%"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(t.getDictionary(l.dictTypeCode),function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2):["inputnumber","double","currency"].includes(l.effectType)?e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),"controls-position":"right",step:1},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):l.effectType==="datepicker"?[t.hasTimePicker(l.fieldFormat)?e("el-time-picker",{attrs:{"value-format":l.fieldFormat,format:l.fieldFormat,placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):e("el-date-picker",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),type:t.pickerType(l.fieldFormat),"value-format":l.fieldFormat,format:l.fieldFormat,clearable:""},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})]:["fk","about","user"].includes(l.effectType)?e("div",{staticClass:"cao_about"},[e("el-select",{staticClass:"cao_input",attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"",loading:t.loading,"remote-method":s=>t.searchData(s,l)},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(l.fkData,function(s,r){return[e("el-option",{attrs:{label:s.name,value:s.id}})]})],2),e("div",{staticClass:"cao_setting",on:{click:function(s){return t.lookup(l,1)}}},[e("i",{staticClass:"el-input__icon el-icon-search"})])],1):e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})],2):t._e()]),e("div",{staticClass:"sc"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",color:"#ff4d4f"},on:{click:function(s){return t.delCondition(n,o)}}})])])}),e("div",{staticClass:"add"},[e("span",{staticClass:"active-color",on:{click:function(l){return t.addCondition(n)}}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addCondition","\u6DFB\u52A0\u6761\u4EF6"))+" ")])])],2):t._e()]),e("div",{staticClass:"operation"},[e("div",{staticClass:"title",on:{click:function(l){return t.openItem(3,n)}}},[e("i",{class:a.operation.open?"el-icon-caret-bottom":"el-icon-caret-right"}),t._v(" "+t._s(t.$i18nt("gd.basics.handle","\u64CD\u4F5C"))+" ")]),a.operation&&a.operation.open?e("div",{staticClass:"list"},[t._l(a.operation.list,function(l,o){return e("div",{staticClass:"lists"},[e("div",{staticClass:"tj"},[e("el-select",{staticStyle:{width:"100%"},model:{value:l.rules,callback:function(s){t.$set(l,"rules",s)},expression:"ite.rules"}},[t._l(t.operationList,function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2)],1),e("div",{staticClass:"zd"},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),filterable:""},on:{change:function(s){return t.conditionColumn(s,l,2)}},model:{value:l.columnComment,callback:function(s){t.$set(l,"columnComment",s)},expression:"ite.columnComment"}},[e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.field.field","\u5B57\u6BB5")}},[t._l(t.loadData,function(s,r){return[e("el-option",{attrs:{value:s.columnname,label:t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment)}},[e("EffectTypeIcon",{attrs:{effectType:s.effecttype}}),e("span",{staticStyle:{"margin-left":"4px"}},[t._v(" "+t._s(t.$i18nt(`Dynamics.${s.transkey}`,s.columncomment))+" ("+t._s(s.columnname)+") ")])],1)]})],2),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.associatedView","\u5173\u8054\u89C6\u56FE")}},[t._l(t.viewData,function(s,r){return[e("el-option",{attrs:{value:s.componentName,label:t.$i18nt(`Dynamics.${s.transkey}`,s.label)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.quickShowForm","\u5FEB\u901F\u663E\u793A\u7A97\u4F53")}},[t._l(t.formData,function(s,r){return[e("el-option",{attrs:{value:s.formId,label:t.$i18nt(`Dynamics.${s.transkey}`,s.label)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.tabLayout","\u6807\u7B7E\u9875\u5E03\u5C40")}},[t._l(t.getTabsColumns,function(s,r){return[e("el-option",{attrs:{value:s.key,label:t.getTabName(s)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.basics.collapsePanel","\u6298\u53E0\u9762\u677F")}},[t._l(t.getCollapseColumns,function(s,r){return[e("el-option",{attrs:{value:s.key,label:t.getHeaderbName(s)}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.layoutContainer.containerPanel","\u5BB9\u5668\u9762\u677F")}},[t._l(t.containerPanelList,function(s,r){return[e("el-option",{attrs:{value:s.key,label:s.key}})]})],2):t._e(),l.rules==4?e("el-option-group",{staticStyle:{"font-size":"14px"},attrs:{label:t.$i18nt("gd.layoutContainer.drawerContainer","\u62BD\u5C49\u5BB9\u5668")}},[t._l(t.drawerContainerList,function(s,r){return[e("el-option",{attrs:{value:s.key,label:s.key}})]})],2):t._e()],1)],1),e("div",{staticClass:"jg"},[l.rules=="1"?e("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):l.rules=="2"||l.rules=="5"?e("div",[["select","radio","checkbox","switch"].includes(l.effectType)?e("el-select",{staticStyle:{width:"100%"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(t.getDictionary(l.dictTypeCode),function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2):["inputnumber","double","currency"].includes(l.effectType)?e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),"controls-position":"right",step:1},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):l.effectType==="datepicker"?[t.hasTimePicker(l.fieldFormat)?e("el-time-picker",{attrs:{"value-format":l.fieldFormat,format:l.fieldFormat,placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}}):e("el-date-picker",{staticStyle:{width:"100%"},attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),type:t.pickerType(l.fieldFormat),"value-format":l.fieldFormat,format:l.fieldFormat,clearable:""},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})]:["fk","about","user"].includes(l.effectType)?e("div",{staticClass:"cao_about"},[e("el-select",{staticClass:"cao_input",attrs:{placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"reserve-keyword":"",filterable:"",remote:"",clearable:"",loading:t.loading,"remote-method":s=>t.searchData(s,l)},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(l.fkData,function(s,r){return[e("el-option",{attrs:{label:s.name,value:s.id}})]})],2),e("div",{staticClass:"cao_setting",on:{click:function(s){return t.lookup(l,2)}}},[e("i",{staticClass:"el-input__icon el-icon-search"})])],1):e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}})],2):t._e(),["3","4","6"].includes(l.rules)?e("el-select",{staticStyle:{width:"100%"},model:{value:l.val,callback:function(s){t.$set(l,"val",s)},expression:"ite.val"}},[t._l(t.getDictionaryd(l),function(s){return[e("el-option",{attrs:{value:s.code,label:t.$i18nt(`Dynamics.${s.transkey}`,s.name)}})]})],2):t._e()],1),e("div",{staticClass:"sc"},[e("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"18px",color:"#ff4d4f"},on:{click:function(s){return t.delOperation(n,o)}}})])])}),e("div",{staticClass:"add"},[e("span",{staticClass:"active-color",on:{click:function(l){return t.addOperation(n)}}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addHandle","\u6DFB\u52A0\u64CD\u4F5C"))+" ")])])],2):t._e()])]):t._e()])}),t.showAdd?e("div",{staticClass:"rules-el"},[e("span",{staticClass:"active-color",staticStyle:{cursor:"pointer"},on:{click:t.addList}},[e("i",{staticClass:"el-icon-plus"}),t._v(" "+t._s(t.$i18nt("gd.basics.addElse","\u6DFB\u52A0 ELSE"))+" ")])]):t._e()],2)]),e("div",{staticClass:"config-item config-items"},[e("div",{staticClass:"b"},[e("el-form",{ref:"ruleForm",attrs:{"label-width":"110px","label-position":"top",model:t.ruleFormData,size:"mini",rules:t.rules},nativeOn:{submit:function(a){a.preventDefault()}}},[e("el-form-item",{attrs:{label:t.$i18nt("gd.view.displayName","\u663E\u793A\u540D\u79F0"),prop:"name"}},[e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:t.ruleFormData.name,callback:function(a){t.$set(t.ruleFormData,"name",a)},expression:"ruleFormData.name"}})],1),e("el-form-item",{attrs:{label:t.$i18nt("gd.view.explain","\u8BF4\u660E"),prop:"explain"}},[e("el-input",{attrs:{placeholder:t.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",rows:4},model:{value:t.ruleFormData.explain,callback:function(a){t.$set(t.ruleFormData,"explain",a)},expression:"ruleFormData.explain"}})],1),e("el-form-item",{attrs:{label:t.$i18nt("gd.btnConfig.adaptTo","\u9002\u5E94\u4E8E"),prop:"adapted"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",placeholder:t.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),clearable:""},model:{value:t.ruleFormData.adapted,callback:function(a){t.$set(t.ruleFormData,"adapted",a)},expression:"ruleFormData.adapted"}},t._l(t.adaptedList,function(a){return e("el-option",{key:a.code,attrs:{label:t.$i18nt(a.transKey,a.name),value:a.code}})}),1)],1),e("div",{staticClass:"using-flex"},[e("div",{staticClass:"using-flex-title"},[t._v(" "+t._s(t.$i18nt("gd.msg.temPlate.isEnabled","\u662F\u5426\u542F\u7528"))+" ")]),e("el-switch",{attrs:{"active-color":t.primaryColor},model:{value:t.ruleFormData.using,callback:function(a){t.$set(t.ruleFormData,"using",a)},expression:"ruleFormData.using"}})],1)],1)],1)])])])],2),e("gd-search",{ref:"engineSearch",attrs:{appendToBody:!0},on:{lookupSeled:t.lookupSeled}})],1)},h=[],y=u.normalizeComponent(p,m,h,!1,null,"347125b1",null,null);const v=y.exports;exports.default=v;
|