gds-plus-design-vue 1.3.21 → 1.3.22
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/btnGroup.91a8f59c.js +1 -0
- package/lib/{btnGroup.cbaa6e6b.mjs → btnGroup.de1cc2a8.mjs} +26 -28
- package/lib/components.batchupdate.1962eac2.js +1 -0
- package/lib/{components.batchupdate.62fa93b7.mjs → components.batchupdate.de5e423e.mjs} +6 -5
- package/lib/{components.chartbi.25731354.js → components.chartbi.21cf8350.js} +1 -1
- package/lib/{components.chartbi.45e25851.mjs → components.chartbi.a81fe80e.mjs} +4 -3
- package/lib/components.dataassign.3b0ba94b.js +1 -0
- package/lib/{components.dataassign.6b6e4713.mjs → components.dataassign.a2b3707e.mjs} +4 -3
- package/lib/{components.form.082d9c9b.mjs → components.form.3dec0fec.mjs} +1 -1
- package/lib/{components.form.f4bb9c4c.js → components.form.c95c6835.js} +1 -1
- package/lib/{components.form.column.ee06d8bb.js → components.form.column.597a9f39.js} +1 -1
- package/lib/{components.form.column.cab0072e.mjs → components.form.column.dc8d9c7e.mjs} +1 -1
- package/lib/components.form.selectfkmultiple.4c648ae4.js +1 -0
- package/lib/{components.form.selectfkmultiple.700dd9d1.mjs → components.form.selectfkmultiple.ca036643.mjs} +4 -3
- package/lib/{components.globalheader.c5ce924d.mjs → components.globalheader.1c5bcfc7.mjs} +1 -1
- package/lib/{components.globalheader.5db21e71.js → components.globalheader.26681005.js} +1 -1
- package/lib/{components.sidenavmenu.c7b6729b.mjs → components.sidenavmenu.3134366c.mjs} +1 -1
- package/lib/{components.sidenavmenu.90170635.js → components.sidenavmenu.732eed7d.js} +1 -1
- package/lib/{components.table.childheader.886bb5e9.mjs → components.table.childheader.6bdc2962.mjs} +1 -1
- package/lib/{components.table.childheader.dec53ee4.js → components.table.childheader.e48770c8.js} +1 -1
- package/lib/{components.table.childheaderfilter.f1fe08bb.js → components.table.childheaderfilter.8b9959f1.js} +1 -1
- package/lib/{components.table.childheaderfilter.a5863bed.mjs → components.table.childheaderfilter.f592ad1b.mjs} +1 -1
- package/lib/{components.table.queriesfield.84733bb7.mjs → components.table.queriesfield.b0496b6f.mjs} +1 -1
- package/lib/{components.table.queriesfield.a50919ee.js → components.table.queriesfield.bb1f9e89.js} +1 -1
- package/lib/{components.xlsximport.40d427c7.mjs → components.xlsximport.68883ac0.mjs} +1 -1
- package/lib/{components.xlsximport.df981b91.js → components.xlsximport.d0bdea7b.js} +1 -1
- package/lib/{flow.designer.flowsapproval.31b2dfeb.js → flow.designer.flowsapproval.17a3ec70.js} +1 -1
- package/lib/{flow.designer.flowsapproval.c89ab32f.mjs → flow.designer.flowsapproval.a9bfee0a.mjs} +4 -4
- package/lib/flow.designer.flowsfilter.63129743.js +1 -0
- package/lib/{flow.designer.flowsfilter.3909d81b.mjs → flow.designer.flowsfilter.e31d7ae1.mjs} +3 -2
- package/lib/{flow.designer.flowsprocess.7aa864ff.mjs → flow.designer.flowsprocess.64725e51.mjs} +1 -1
- package/lib/{flow.designer.flowsprocess.a4cdf989.js → flow.designer.flowsprocess.8e40b5d5.js} +1 -1
- package/lib/{flow.designer.flowswork.35555ed7.js → flow.designer.flowswork.aed38cb8.js} +1 -1
- package/lib/{flow.designer.flowswork.45ab5302.mjs → flow.designer.flowswork.d4d75058.mjs} +6 -6
- package/lib/{flow.list.103e6c46.js → flow.list.f00fb85c.js} +1 -1
- package/lib/{flow.list.418fdbf2.mjs → flow.list.f0800e47.mjs} +5 -5
- package/lib/fonticon.015475bb.js +1 -0
- package/lib/{fonticon.0d9a2e23.mjs → fonticon.3fe52106.mjs} +26 -28
- package/lib/{form.designer.build.136e3cdd.mjs → form.designer.build.85f47643.mjs} +4 -4
- package/lib/{form.designer.build.7c94450d.js → form.designer.build.ebb87d9d.js} +1 -1
- package/lib/form.designer.duplicate.60c7c991.js +1 -0
- package/lib/{form.designer.duplicate.60ef52a6.mjs → form.designer.duplicate.d74003f9.mjs} +155 -146
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +80 -82
- package/lib/index.019b1960.js +1 -0
- package/lib/index.1ec5515c.js +1 -0
- package/lib/{index.f1ecfc7f.mjs → index.2f7b8abb.mjs} +31 -33
- package/lib/{index.718199db.mjs → index.51d1f391.mjs} +31 -33
- package/lib/index.6f97e94f.js +1 -0
- package/lib/index.868720cf.js +1 -0
- package/lib/{index.9ec72e55.js → index.b9494e5d.js} +1 -1
- package/lib/{index.459a27d0.mjs → index.d2ee1960.mjs} +27 -29
- package/lib/{index.e051f15e.mjs → index.eada3a0e.mjs} +32 -32
- package/lib/{index.72ea6b6b.mjs → index.ee3c7764.mjs} +10 -9
- package/lib/layoutBlocks.12ab5753.js +1 -0
- package/lib/{layoutBlocks.ec55e84e.mjs → layoutBlocks.20c72bbf.mjs} +26 -28
- package/lib/{layouts.basiclayout.422c6adc.mjs → layouts.basiclayout.4fabd89d.mjs} +2 -2
- package/lib/{layouts.basiclayout.05046cb5.js → layouts.basiclayout.ae0744a3.js} +1 -1
- package/lib/{layouts.basiclayouttop.4047325d.mjs → layouts.basiclayouttop.8a9c0f0a.mjs} +2 -2
- package/lib/{layouts.basiclayouttop.d6ee1637.js → layouts.basiclayouttop.d81eec9a.js} +1 -1
- package/lib/main.118294c4.js +1 -0
- package/lib/{main.95d3ff6c.mjs → main.36116690.mjs} +1 -1
- package/lib/{main.a3a8a32a.mjs → main.3d398f7b.mjs} +29 -31
- package/lib/{main.10a3ef91.mjs → main.678cd264.mjs} +6 -5
- package/lib/{main.750a686d.mjs → main.7f65abb6.mjs} +1 -1
- package/lib/{main.b7f83538.mjs → main.85307c8e.mjs} +5 -4
- package/lib/{main.77bfdb3d.js → main.9ba3822e.js} +1 -1
- package/lib/main.a466fd1d.js +1 -0
- package/lib/main.b54793b2.js +1 -0
- package/lib/{main.ff2b9dde.mjs → main.bede66b8.mjs} +1 -1
- package/lib/{main.72c50010.mjs → main.c9b5d438.mjs} +89 -54
- package/lib/{main.467492ec.js → main.ce44757e.js} +1 -1
- package/lib/main.e835d456.js +1 -0
- package/lib/{main.8024dd7b.js → main.fc0fd324.js} +1 -1
- package/lib/{messages.fieldconfiguration.fc0ab294.js → messages.fieldconfiguration.7bd0c683.js} +1 -1
- package/lib/{messages.fieldconfiguration.c5005421.mjs → messages.fieldconfiguration.b2c624e0.mjs} +4 -4
- package/lib/{messages.messagetemplate.c2f73c16.js → messages.messagetemplate.531d4a32.js} +2 -2
- package/lib/{messages.messagetemplate.c2c8918d.mjs → messages.messagetemplate.d20fd08d.mjs} +2 -2
- package/lib/{messages.sendplan.ee24ff46.js → messages.sendplan.1b899cb1.js} +1 -1
- package/lib/{messages.sendplan.52c1bb0c.mjs → messages.sendplan.d802fbc0.mjs} +1 -1
- package/lib/{page.application.b07312ad.js → page.application.81a43d23.js} +1 -1
- package/lib/{page.application.72fd9f5e.mjs → page.application.bbeccfed.mjs} +2 -2
- package/lib/{page.approval.build.341715b8.mjs → page.approval.build.b391abae.mjs} +3 -3
- package/lib/{page.approval.build.f2ae3171.js → page.approval.build.b683a128.js} +1 -1
- package/lib/page.bcomponents.chartbi.0724042a.js +1 -0
- package/lib/{page.bcomponents.chartbi.11ac732e.mjs → page.bcomponents.chartbi.ea1e2489.mjs} +6 -5
- package/lib/{page.bcomponents.datalist.e9870383.js → page.bcomponents.datalist.6afb4576.js} +1 -1
- package/lib/{page.bcomponents.datalist.ebe77c09.mjs → page.bcomponents.datalist.f50708a5.mjs} +1 -1
- package/lib/{page.bcomponents.tablegridview.b1a8b6ea.mjs → page.bcomponents.tablegridview.79caa0e2.mjs} +1 -1
- package/lib/{page.bcomponents.tablegridview.deb01351.js → page.bcomponents.tablegridview.e65f3546.js} +1 -1
- package/lib/{page.bmodule.approval.c648ecd0.mjs → page.bmodule.approval.8e919147.mjs} +1 -1
- package/lib/{page.bmodule.approval.1f46739c.js → page.bmodule.approval.9eb0736a.js} +1 -1
- package/lib/{page.bmodule.approvalhistory.725e7a01.js → page.bmodule.approvalhistory.6a6ccddf.js} +1 -1
- package/lib/{page.bmodule.approvalhistory.9dd08572.mjs → page.bmodule.approvalhistory.cd05565c.mjs} +1 -1
- package/lib/{page.bmodule.chartbi.98204683.js → page.bmodule.chartbi.5c8d80f0.js} +1 -1
- package/lib/{page.bmodule.chartbi.44c59f0b.mjs → page.bmodule.chartbi.6d961155.mjs} +1 -1
- package/lib/page.bmodule.datafiltering.2d266f51.js +1 -0
- package/lib/{page.bmodule.datafiltering.b3254ae9.mjs → page.bmodule.datafiltering.70a3fd55.mjs} +73 -71
- package/lib/page.bmodule.screendands.57278c53.js +1 -0
- package/lib/page.bmodule.screendands.8e6cfe18.mjs +84 -0
- package/lib/page.bmodule.statistic.02f46b9b.js +1 -0
- package/lib/{page.bmodule.statistic.b3c5f20f.mjs → page.bmodule.statistic.249251c4.mjs} +5 -4
- package/lib/{page.bmodule.tablegrid.d8fa194c.mjs → page.bmodule.tablegrid.c7ca3d0d.mjs} +2 -2
- package/lib/{page.bmodule.tablegrid.7baf5857.js → page.bmodule.tablegrid.f488a197.js} +1 -1
- package/lib/page.bmodule.textcontent.c2beb25f.js +1 -0
- package/lib/{page.bmodule.textcontent.b723d01c.mjs → page.bmodule.textcontent.e03c7acb.mjs} +5 -4
- package/lib/page.build.557751c4.mjs +3037 -0
- package/lib/page.build.d865fad1.js +12 -0
- package/lib/{page.designer.fieldfiltering.2ed8a03f.mjs → page.designer.fieldfiltering.4c83de8f.mjs} +1 -1
- package/lib/{page.designer.fieldfiltering.aba4b648.js → page.designer.fieldfiltering.d9525045.js} +1 -1
- package/lib/page.designerp.generatoraboutconfig.e5d68e62.js +1 -0
- package/lib/{page.designerp.generatoraboutconfig.998009de.mjs → page.designerp.generatoraboutconfig.ff93e31b.mjs} +6 -5
- package/lib/{page.designerp.generatorbackward.f6e8730f.js → page.designerp.generatorbackward.3465ac4c.js} +1 -1
- package/lib/{page.designerp.generatorbackward.4a609e69.mjs → page.designerp.generatorbackward.ec2e8cb9.mjs} +1 -1
- package/lib/{page.designerp.generatorecharts.243dafb6.mjs → page.designerp.generatorecharts.2cd70cd7.mjs} +23 -13
- package/lib/page.designerp.generatorecharts.354e5ddb.js +1 -0
- package/lib/{page.designerp.generatorfiltering.e3b922b2.mjs → page.designerp.generatorfiltering.4f3eb80b.mjs} +1 -1
- package/lib/{page.designerp.generatorfiltering.905e026b.js → page.designerp.generatorfiltering.52d02a76.js} +1 -1
- package/lib/{page.designerp.generatortable.c4cbeb36.mjs → page.designerp.generatortable.12161b54.mjs} +1 -1
- package/lib/{page.designerp.generatortable.79639f31.js → page.designerp.generatortable.1dedc99f.js} +1 -1
- package/lib/{page.designerp.generatortablegrid.e61db667.mjs → page.designerp.generatortablegrid.278cdf69.mjs} +2 -2
- package/lib/{page.designerp.generatortablegrid.2d33e24a.js → page.designerp.generatortablegrid.8752459e.js} +1 -1
- package/lib/{page.designerp.generatortree.f5ea6e0f.js → page.designerp.generatortree.b4ec0dc9.js} +1 -1
- package/lib/{page.designerp.generatortree.a26b78ae.mjs → page.designerp.generatortree.ccb016dd.mjs} +2 -2
- package/lib/{page.designerp.properties.e858d8e2.js → page.designerp.properties.55b2b9a1.js} +1 -1
- package/lib/{page.designerp.properties.3bfd6455.mjs → page.designerp.properties.ff48be97.mjs} +13 -13
- package/lib/{page.designerp.propertieschartbi.2d32c538.mjs → page.designerp.propertieschartbi.179c5500.mjs} +1 -1
- package/lib/{page.designerp.propertieschartbi.9b310756.js → page.designerp.propertieschartbi.a56c825b.js} +1 -1
- package/lib/{page.designerp.propertiesdatafields.4f671ce6.mjs → page.designerp.propertiesdatafields.689c7f7b.mjs} +5 -4
- package/lib/page.designerp.propertiesdatafields.f01f4fbe.js +1 -0
- package/lib/{page.designerp.propertiesdetail.0a966931.mjs → page.designerp.propertiesdetail.a00e099c.mjs} +51 -50
- package/lib/page.designerp.propertiesdetail.ba28f0ff.js +1 -0
- package/lib/{page.designerp.propertiesecharts.fcf3eaa6.mjs → page.designerp.propertiesecharts.95ca196e.mjs} +9 -8
- package/lib/page.designerp.propertiesecharts.d838704e.js +1 -0
- package/lib/page.designerp.propertiesfiltering.859b2fe9.js +1 -0
- package/lib/{page.designerp.propertiesfiltering.b1b010d0.mjs → page.designerp.propertiesfiltering.8ba07531.mjs} +23 -12
- package/lib/page.designerp.propertieslist.5cfffc25.js +1 -0
- package/lib/{page.designerp.propertieslist.828fd439.mjs → page.designerp.propertieslist.fd1fbb98.mjs} +10 -9
- package/lib/{page.designerp.propertiesrelevance.fee69994.mjs → page.designerp.propertiesrelevance.2b81738f.mjs} +60 -223
- package/lib/{page.designerp.propertiesrelevance.0330a49d.js → page.designerp.propertiesrelevance.8ad5a2e5.js} +1 -1
- package/lib/{page.designerp.propertiesstatistic.a417c9e7.mjs → page.designerp.propertiesstatistic.119bbafc.mjs} +1 -1
- package/lib/{page.designerp.propertiesstatistic.0f2da29f.js → page.designerp.propertiesstatistic.4ecb2237.js} +1 -1
- package/lib/{page.designerp.propertiestable.172f9499.mjs → page.designerp.propertiestable.9d7a2ffe.mjs} +10 -9
- package/lib/page.designerp.propertiestable.bb814ba5.js +1 -0
- package/lib/page.designerp.propertiestablegrid.b2b74af5.js +1 -0
- package/lib/page.designerp.propertiestablegrid.cb14d0f9.mjs +551 -0
- package/lib/page.designerp.propertiestree.10a8b210.js +1 -0
- package/lib/{page.designerp.propertiestree.61da99df.mjs → page.designerp.propertiestree.ccd63c1b.mjs} +10 -9
- package/lib/{page.filedocument.build.48a5874e.js → page.filedocument.build.96653b31.js} +1 -1
- package/lib/{page.filedocument.build.61f014b4.mjs → page.filedocument.build.cb49d6c4.mjs} +3 -3
- package/lib/page.screendandss.build.9fcff16a.js +1 -0
- package/lib/page.screendandss.build.eb90b993.mjs +1584 -0
- package/lib/{personal.echarts.268fea3e.mjs → personal.echarts.57f130db.mjs} +1 -1
- package/lib/{personal.echarts.a78792db.js → personal.echarts.a82d1e08.js} +1 -1
- package/lib/{router.config.8be3d360.mjs → router.config.13f50d6e.mjs} +4 -4
- package/lib/{router.config.e68a29e1.js → router.config.35af31ac.js} +1 -1
- package/lib/{search.advanced.dc688c5c.mjs → search.advanced.1b52e72a.mjs} +9 -10
- package/lib/search.advanced.e48627e9.js +1 -0
- package/lib/{solution.approvalflow.1473e907.js → solution.approvalflow.6de84fad.js} +1 -1
- package/lib/{solution.approvalflow.172dfe24.mjs → solution.approvalflow.cc78fd9e.mjs} +2 -2
- package/lib/{solution.processflow.8f95ade9.mjs → solution.processflow.0c889e3f.mjs} +2 -2
- package/lib/{solution.processflow.aae6e7be.js → solution.processflow.f24be0dd.js} +1 -1
- package/lib/{solution.workflow.8a8e8b28.js → solution.workflow.42de6645.js} +1 -1
- package/lib/{solution.workflow.ef472529.mjs → solution.workflow.6b93f0ab.mjs} +2 -2
- package/lib/style.css +2 -2
- package/lib/{sysComponents.90398324.js → sysComponents.a5f1e449.js} +1 -1
- package/lib/{sysComponents.5cffa46d.mjs → sysComponents.ad11e8bb.mjs} +1 -1
- package/lib/{system.document.classifymanage.c3771fa0.js → system.document.classifymanage.31292eab.js} +1 -1
- package/lib/{system.document.classifymanage.4daf3782.mjs → system.document.classifymanage.4280818f.mjs} +1 -1
- package/lib/{system.document.recyclemanage.20503887.mjs → system.document.recyclemanage.ce620eff.mjs} +1 -1
- package/lib/{system.document.recyclemanage.46e290c5.js → system.document.recyclemanage.f66bb7d7.js} +1 -1
- package/lib/{system.duplicatechecking.aeea86d4.js → system.duplicatechecking.00fec573.js} +1 -1
- package/lib/{system.duplicatechecking.d1eb03d9.mjs → system.duplicatechecking.74a3ffb1.mjs} +1 -1
- package/lib/{system.permissions.066316f3.mjs → system.permissions.0959e62e.mjs} +2 -1
- package/lib/system.permissions.3c1d3698.js +1 -0
- package/lib/{system.questionnaire.894382df.mjs → system.questionnaire.69d7750d.mjs} +1 -1
- package/lib/{system.questionnaire.b0e2ee71.js → system.questionnaire.ba54032a.js} +1 -1
- package/lib/{system.questionnairemodule.0373ae59.mjs → system.questionnairemodule.1e5f3710.mjs} +1 -1
- package/lib/{system.questionnairemodule.d1b56552.js → system.questionnairemodule.561dfe7d.js} +1 -1
- package/lib/{table.definition.echartsconfig.02ff98ea.js → table.definition.echartsconfig.a271a945.js} +1 -1
- package/lib/{table.definition.echartsconfig.34eea92d.mjs → table.definition.echartsconfig.b5333188.mjs} +6 -6
- package/lib/{table.definition.fkconfig.a15d547f.mjs → table.definition.fkconfig.0d65c616.mjs} +4 -4
- package/lib/{table.definition.fkconfig.cdd19291.js → table.definition.fkconfig.eeca8f94.js} +1 -1
- package/lib/{table.definition.formconfig.cff793af.mjs → table.definition.formconfig.0ff694a7.mjs} +1 -1
- package/lib/{table.definition.formconfig.772f9395.js → table.definition.formconfig.e9ada088.js} +1 -1
- package/lib/{table.definition.relconfig1n.06739f2f.js → table.definition.relconfig1n.ab0298c6.js} +1 -1
- package/lib/{table.definition.relconfig1n.b4da0947.mjs → table.definition.relconfig1n.fe754ed4.mjs} +1 -1
- package/lib/{table.definition.ruleconfig.9f7b615c.mjs → table.definition.ruleconfig.11f36294.mjs} +3 -3
- package/lib/{table.definition.ruleconfig.b5406966.js → table.definition.ruleconfig.aaf0c457.js} +1 -1
- package/lib/utils.axios.js.471dbf95.js +1 -0
- package/lib/utils.axios.js.b4e877f2.mjs +7 -0
- package/lib/{utils.componentssys.js.539b7c3b.mjs → utils.componentssys.js.5f10821c.mjs} +14 -14
- package/lib/{utils.componentssys.js.a28c0ac2.js → utils.componentssys.js.f0065e96.js} +1 -1
- package/lib/{view.build.c4c937d6.mjs → view.build.9f2d830c.mjs} +14 -15
- package/lib/view.build.b0d2cf1a.js +1 -0
- package/lib/viewTree.31334d4f.js +1 -0
- package/lib/{viewTree.d66af65f.mjs → viewTree.3ad7c3ad.mjs} +4 -3
- package/package.json +16 -17
- package/lib/btnGroup.2304f2f4.js +0 -1
- package/lib/components.batchupdate.5e9d37ed.js +0 -1
- package/lib/components.dataassign.36bab80a.js +0 -1
- package/lib/components.form.selectfkmultiple.4abcc66f.js +0 -1
- package/lib/flow.designer.flowsfilter.3e08ccfa.js +0 -1
- package/lib/fonticon.a1263225.js +0 -1
- package/lib/form.designer.duplicate.0288787e.js +0 -1
- package/lib/index.3a9b2d69.js +0 -1
- package/lib/index.53b24311.js +0 -1
- package/lib/index.6207efd7.js +0 -1
- package/lib/index.8c8698d0.js +0 -1
- package/lib/layoutBlocks.ff24da6b.js +0 -1
- package/lib/main.97e52ee0.js +0 -1
- package/lib/main.9e4ff9c6.js +0 -1
- package/lib/main.a9f3565e.js +0 -1
- package/lib/main.d19f6077.js +0 -1
- package/lib/page.bcomponents.chartbi.b9687d53.js +0 -1
- package/lib/page.bmodule.datafiltering.50c9e358.js +0 -1
- package/lib/page.bmodule.screendands.c9d3a094.js +0 -12
- package/lib/page.bmodule.screendands.f1f47ebe.mjs +0 -4098
- package/lib/page.bmodule.statistic.7ec243e0.js +0 -1
- package/lib/page.bmodule.textcontent.ef260c96.js +0 -1
- package/lib/page.build.5fa4a6c0.js +0 -1
- package/lib/page.build.d8557c78.mjs +0 -389
- package/lib/page.designerp.generatoraboutconfig.df010f35.js +0 -1
- package/lib/page.designerp.generatorecharts.917dd008.js +0 -1
- package/lib/page.designerp.propertiesdatafields.d2709001.js +0 -1
- package/lib/page.designerp.propertiesdetail.e52164a2.js +0 -1
- package/lib/page.designerp.propertiesecharts.5002d91b.js +0 -1
- package/lib/page.designerp.propertiesfiltering.5ad80675.js +0 -1
- package/lib/page.designerp.propertieslist.c7d72d78.js +0 -1
- package/lib/page.designerp.propertiestable.658e0534.js +0 -1
- package/lib/page.designerp.propertiestablegrid.6b5bbe93.mjs +0 -550
- package/lib/page.designerp.propertiestablegrid.e208f5d1.js +0 -1
- package/lib/page.designerp.propertiestree.ee7014b7.js +0 -1
- package/lib/search.advanced.ec1656d2.js +0 -1
- package/lib/system.permissions.606eb229.js +0 -1
- package/lib/utils.axios.js.4fec2453.mjs +0 -1361
- package/lib/utils.axios.js.69442e57.js +0 -5
- package/lib/view.build.cbf165ac.js +0 -1
- package/lib/viewTree.0bf980e8.js +0 -1
|
@@ -0,0 +1,1584 @@
|
|
|
1
|
+
import { n as c, m as d } from "./components.answerquestions.0e877977.mjs";
|
|
2
|
+
import { ab as g, ac as x, ad as y, ae as T, af as F, g as p, U as N, e as I } from "./http.main.573b8993.mjs";
|
|
3
|
+
import { a as L } from "./form.designer.duplicate.d74003f9.mjs";
|
|
4
|
+
import { i as _, f as D, u as O } from "./utils.util.js.16b83ff8.mjs";
|
|
5
|
+
import { b as m } from "./http.filemanage.237ea8fc.mjs";
|
|
6
|
+
import { J as E } from "./page.build.557751c4.mjs";
|
|
7
|
+
import { d as R } from "./http.tabledevelopment.dfb8eb7f.mjs";
|
|
8
|
+
const j = {
|
|
9
|
+
data() {
|
|
10
|
+
return {
|
|
11
|
+
value: 1,
|
|
12
|
+
visible: !1,
|
|
13
|
+
confirmLoading: !1,
|
|
14
|
+
radioStyle: {
|
|
15
|
+
display: "block",
|
|
16
|
+
height: "60px",
|
|
17
|
+
lineHeight: "30px",
|
|
18
|
+
paddingTop: "10px"
|
|
19
|
+
},
|
|
20
|
+
sysViewButtons: [
|
|
21
|
+
{
|
|
22
|
+
displayName: "\u786E\u5B9A",
|
|
23
|
+
functionName: "handleOk",
|
|
24
|
+
show: !0,
|
|
25
|
+
transKey: "gd.btn.confirm",
|
|
26
|
+
icon: "el-icon-document-checked"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
fullscreen: !1,
|
|
30
|
+
width: "600px"
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
computed: {},
|
|
34
|
+
methods: {
|
|
35
|
+
toggleFullscreen() {
|
|
36
|
+
this.fullscreen = !this.fullscreen;
|
|
37
|
+
},
|
|
38
|
+
closed() {
|
|
39
|
+
this.fullscreen = !1, this.visible = !1;
|
|
40
|
+
},
|
|
41
|
+
onChange(t) {
|
|
42
|
+
this.value = t;
|
|
43
|
+
},
|
|
44
|
+
open() {
|
|
45
|
+
this.fullscreen = !1, this.value = 1, this.visible = !0;
|
|
46
|
+
},
|
|
47
|
+
handleOk(t) {
|
|
48
|
+
this.$emit("ok", this.value), this.visible = !1;
|
|
49
|
+
},
|
|
50
|
+
handleCancel(t) {
|
|
51
|
+
this.visible = !1;
|
|
52
|
+
},
|
|
53
|
+
doEvent(t) {
|
|
54
|
+
let e = t.item.functionName;
|
|
55
|
+
this[e]();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
var B = function() {
|
|
60
|
+
var e = this, s = e._self._c;
|
|
61
|
+
return s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !0, "show-close": !1 }, on: { "update:visible": function(i) {
|
|
62
|
+
e.visible = i;
|
|
63
|
+
}, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.$i18nt("gd.form.selUseView", "\u9009\u62E9\u4F7F\u7528\u89C6\u56FE"), fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", { staticClass: "screen-find-by" }, [s("el-alert", { attrs: { title: e.$i18nt("gd.crowd.selWayTip", "\u9009\u62E9\u67E5\u627E\u8BB0\u5F55\u7684\u65B9\u6CD5\uFF0C\u7136\u540E\u5728\u5217\u8868\u4E2D\u5C06\u8FD9\u4E9B\u8BB0\u5F55\u6DFB\u52A0\u6216\u79FB\u9664\u3002"), type: "info", "show-icon": "", closable: !1 } }), s("div", { staticClass: "find-by-radio" }, [s("div", { staticClass: "radio-item", on: { click: function(i) {
|
|
64
|
+
return e.onChange(1);
|
|
65
|
+
} } }, [s("el-radio", { attrs: { label: 1 }, model: { value: e.value, callback: function(i) {
|
|
66
|
+
e.value = i;
|
|
67
|
+
}, expression: "value" } }, [e._v(e._s(e.$i18nt("gd.crowd.findBy", "\u4F7F\u7528\u201C\u67E5\u627E\u201D\u6DFB\u52A0")))]), s("div", { staticClass: "radiotip" }, [e._v(e._s(e.$i18nt("gd.crowd.findByTip", "\u67E5\u627E\u8981\u6DFB\u52A0\u5230\u5217\u8868\u7684\u8BB0\u5F55\u3002")))])], 1), s("div", { staticClass: "radio-item", on: { click: function(i) {
|
|
68
|
+
return e.onChange(2);
|
|
69
|
+
} } }, [s("el-radio", { attrs: { label: 2 }, model: { value: e.value, callback: function(i) {
|
|
70
|
+
e.value = i;
|
|
71
|
+
}, expression: "value" } }, [e._v(e._s(e.$i18nt("gd.crowd.advancedAdd", "\u4F7F\u7528\u201C\u9AD8\u7EA7\u67E5\u627E\u201D\u6DFB\u52A0")))]), s("div", { staticClass: "radiotip" }, [e._v(e._s(e.$i18nt("gd.crowd.advancedAddTip", "\u6839\u636E\u641C\u7D22\u6761\u4EF6\u67E5\u627E\u8981\u6DFB\u52A0\u7684\u8BB0\u5F55\u3002")))])], 1), s("div", { staticClass: "radio-item", on: { click: function(i) {
|
|
72
|
+
return e.onChange(3);
|
|
73
|
+
} } }, [s("el-radio", { attrs: { label: 3 }, model: { value: e.value, callback: function(i) {
|
|
74
|
+
e.value = i;
|
|
75
|
+
}, expression: "value" } }, [e._v(e._s(e.$i18nt("gd.crowd.advancedDel", "\u4F7F\u7528\u201C\u9AD8\u7EA7\u67E5\u627E\u201D\u5220\u9664")))]), s("div", { staticClass: "radiotip" }, [e._v(e._s(e.$i18nt("gd.crowd.advancedDelTip", "\u6839\u636E\u641C\u7D22\u6761\u4EF6\u67E5\u627E\u8981\u79FB\u9664\u7684\u8BB0\u5F55\u3002")))])], 1)])], 1)], 2);
|
|
76
|
+
}, V = [], P = /* @__PURE__ */ c(
|
|
77
|
+
j,
|
|
78
|
+
B,
|
|
79
|
+
V,
|
|
80
|
+
!1,
|
|
81
|
+
null,
|
|
82
|
+
"94b12aee",
|
|
83
|
+
null,
|
|
84
|
+
null
|
|
85
|
+
);
|
|
86
|
+
const K = P.exports;
|
|
87
|
+
const M = {
|
|
88
|
+
props: {
|
|
89
|
+
id: {
|
|
90
|
+
type: [String, Number],
|
|
91
|
+
default: ""
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
data() {
|
|
95
|
+
return {
|
|
96
|
+
value: 1,
|
|
97
|
+
spinning: !1,
|
|
98
|
+
sysViewButtons: [
|
|
99
|
+
{
|
|
100
|
+
id: 1,
|
|
101
|
+
displayName: "\u67E5\u8BE2\u7ED3\u679C",
|
|
102
|
+
functionName: "handlResult",
|
|
103
|
+
show: !0,
|
|
104
|
+
transKey: "gd.crowd.queryResults"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: 2,
|
|
108
|
+
displayName: "\u786E\u8BA4\u6DFB\u52A0",
|
|
109
|
+
functionName: "handleSubmit",
|
|
110
|
+
show: !1,
|
|
111
|
+
transKey: "gd.crowd.confirmAdd"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: 3,
|
|
115
|
+
displayName: "\u786E\u8BA4\u79FB\u9664",
|
|
116
|
+
functionName: "handleSubmit",
|
|
117
|
+
show: !1,
|
|
118
|
+
transKey: "gd.crowd.confirmRemoval"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
visible: !1,
|
|
122
|
+
confirmLoading: !1,
|
|
123
|
+
type: 3,
|
|
124
|
+
isSelect: !1,
|
|
125
|
+
radioStyle: {
|
|
126
|
+
display: "block",
|
|
127
|
+
lineHeight: "30px",
|
|
128
|
+
paddingBottom: "2px"
|
|
129
|
+
},
|
|
130
|
+
detail: {},
|
|
131
|
+
fullscreen: !1,
|
|
132
|
+
width: "90%"
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
computed: {
|
|
136
|
+
list() {
|
|
137
|
+
return [
|
|
138
|
+
{
|
|
139
|
+
name: "\u4EC5\u5C06\u9009\u5B9A\u7684\u8BB0\u5F55\u6DFB\u52A0\u5230\u5217\u8868",
|
|
140
|
+
val: 1,
|
|
141
|
+
type: 1,
|
|
142
|
+
keyI18n: "gd.crowd.selectedRecord"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: "\u5C06\u641C\u7D22\u8FD4\u56DE\u7684\u6240\u6709\u6570\u636E\u6DFB\u52A0\u5230\u5217\u8868",
|
|
146
|
+
val: 2,
|
|
147
|
+
type: 1,
|
|
148
|
+
keyI18n: "gd.crowd.addSearchRecord"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: "\u4EC5\u5C06\u9009\u5B9A\u7684\u8BB0\u5F55\u4ECE\u5217\u8868\u79FB\u9664",
|
|
152
|
+
val: 1,
|
|
153
|
+
type: 2,
|
|
154
|
+
keyI18n: "gd.crowd.delSelRecord"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: "\u5C06\u641C\u7D22\u8FD4\u56DE\u7684\u6240\u6709\u6570\u636E\u4ECE\u5217\u8868\u79FB\u9664",
|
|
158
|
+
val: 2,
|
|
159
|
+
type: 2,
|
|
160
|
+
keyI18n: "gd.crowd.delSearchRecord"
|
|
161
|
+
}
|
|
162
|
+
];
|
|
163
|
+
},
|
|
164
|
+
screenHig() {
|
|
165
|
+
const t = this.fullscreen ? 280 : 430;
|
|
166
|
+
return this.screenHeight - t;
|
|
167
|
+
},
|
|
168
|
+
modalStyle() {
|
|
169
|
+
return this.fullscreen ? {
|
|
170
|
+
width: "100%",
|
|
171
|
+
dialogStyle: {
|
|
172
|
+
top: "0px"
|
|
173
|
+
}
|
|
174
|
+
} : {
|
|
175
|
+
width: this.width,
|
|
176
|
+
dialogStyle: {
|
|
177
|
+
top: "40px"
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
title() {
|
|
182
|
+
let t = this.$i18nt("gd.crowd.useAddRecord", "\u4F7F\u7528\u641C\u7D22\u6761\u4EF6\u67E5\u627E\u8981\u6DFB\u52A0\u7684\u8BB0\u5F55");
|
|
183
|
+
return this.type == 2 && (t = this.$i18nt("gd.crowd.useDelRecord", "\u4F7F\u7528\u641C\u7D22\u6761\u4EF6\u67E5\u627E\u8981\u79FB\u9664\u7684\u8BB0\u5F55")), t;
|
|
184
|
+
},
|
|
185
|
+
...d(["screenHeight"])
|
|
186
|
+
},
|
|
187
|
+
methods: {
|
|
188
|
+
toggleFullscreen() {
|
|
189
|
+
this.fullscreen = !this.fullscreen;
|
|
190
|
+
},
|
|
191
|
+
delition(t) {
|
|
192
|
+
if (this.value == 2) {
|
|
193
|
+
this.dynamicDel(t);
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
if (t.data.length == 0) {
|
|
197
|
+
this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
this.confirmLoading = !0, g({ crowdListId: this.id, ids: t.data.join(",") }).then((e) => {
|
|
201
|
+
if (e.code == 0)
|
|
202
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.cancel();
|
|
203
|
+
else {
|
|
204
|
+
const s = e.msg ? e.msg : e.message;
|
|
205
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + s);
|
|
206
|
+
}
|
|
207
|
+
this.confirmLoading = !1;
|
|
208
|
+
});
|
|
209
|
+
},
|
|
210
|
+
dynamicDel(t) {
|
|
211
|
+
let e = Object.assign(t.queryTable, {
|
|
212
|
+
sysViewFilters: t.sysViewFilters,
|
|
213
|
+
sysViewFields: t.sysViewFields
|
|
214
|
+
}), s = {
|
|
215
|
+
crowdListId: this.id,
|
|
216
|
+
seniorQueryDto: e
|
|
217
|
+
};
|
|
218
|
+
this.confirmLoading = !0, x(s).then((i) => {
|
|
219
|
+
if (i.success)
|
|
220
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.cancel();
|
|
221
|
+
else {
|
|
222
|
+
const l = i.msg ? i.msg : i.message;
|
|
223
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + l);
|
|
224
|
+
}
|
|
225
|
+
this.confirmLoading = !1;
|
|
226
|
+
});
|
|
227
|
+
},
|
|
228
|
+
addition(t) {
|
|
229
|
+
if (this.value == 2) {
|
|
230
|
+
this.dynamicFeed(t);
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
this.confirmLoading = !0, y({
|
|
234
|
+
crowdListId: this.id,
|
|
235
|
+
ids: t.data.join(",")
|
|
236
|
+
}).then((e) => {
|
|
237
|
+
if (e.code == 0)
|
|
238
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.cancel();
|
|
239
|
+
else {
|
|
240
|
+
const s = e.msg ? e.msg : e.message;
|
|
241
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + s);
|
|
242
|
+
}
|
|
243
|
+
this.confirmLoading = !1;
|
|
244
|
+
});
|
|
245
|
+
},
|
|
246
|
+
dynamicFeed(t) {
|
|
247
|
+
let e = Object.assign(t.queryTable, {
|
|
248
|
+
sysViewFilters: t.sysViewFilters,
|
|
249
|
+
sysViewFields: t.sysViewFields
|
|
250
|
+
}), s = { ...t.viewRecord };
|
|
251
|
+
s.loadData && delete s.loadData;
|
|
252
|
+
let i = {
|
|
253
|
+
crowdListId: this.id,
|
|
254
|
+
seniorQueryDto: e,
|
|
255
|
+
queryFetchXML: JSON.stringify(s)
|
|
256
|
+
};
|
|
257
|
+
this.confirmLoading = !0, T(i).then((l) => {
|
|
258
|
+
if (l.success)
|
|
259
|
+
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.cancel();
|
|
260
|
+
else {
|
|
261
|
+
const n = l.msg ? l.msg : l.message;
|
|
262
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n);
|
|
263
|
+
}
|
|
264
|
+
this.confirmLoading = !1;
|
|
265
|
+
});
|
|
266
|
+
},
|
|
267
|
+
onChange(t) {
|
|
268
|
+
this.value = t.target.value;
|
|
269
|
+
},
|
|
270
|
+
changeOperate(t) {
|
|
271
|
+
t == 3 ? (this.baseHideBtns(this.type == 2 ? [1, 2] : [1, 3]), this.baseShowBtns(this.type == 2 ? [3] : [2])) : (this.baseHideBtns([2, 3]), this.baseShowBtns([1]));
|
|
272
|
+
},
|
|
273
|
+
open(t) {
|
|
274
|
+
this.fullscreen = !1, this.detail = t, this.value = 1, this.visible = !0, this.type = t.type, this.isSelect = t.type != 3, this.$nextTick(() => {
|
|
275
|
+
setTimeout(() => {
|
|
276
|
+
this.$refs.advancedFind.selectTable(t);
|
|
277
|
+
}, 0);
|
|
278
|
+
});
|
|
279
|
+
},
|
|
280
|
+
handleSubmit() {
|
|
281
|
+
this.$refs.advancedFind.getData().then((t) => {
|
|
282
|
+
this.detail.type == 1 ? this.addition(t) : this.detail.type == 3 ? this.dynamicFeed(t) : this.detail.type == 2 && this.delition(t);
|
|
283
|
+
});
|
|
284
|
+
},
|
|
285
|
+
handlResult() {
|
|
286
|
+
this.$refs.advancedFind.change("3");
|
|
287
|
+
},
|
|
288
|
+
cancel() {
|
|
289
|
+
this.visible = !1, this.type = 3, this.changeOperate(1);
|
|
290
|
+
},
|
|
291
|
+
closed() {
|
|
292
|
+
this.fullscreen = !1, this.visible = !1, this.cancel();
|
|
293
|
+
},
|
|
294
|
+
baseShowBtns(t) {
|
|
295
|
+
let e = [...this.sysViewButtons];
|
|
296
|
+
e.map((s) => (s.show = t.includes(s.id) ? !0 : s.show, s)), this.sysViewButtons = [...e];
|
|
297
|
+
},
|
|
298
|
+
baseHideBtns(t) {
|
|
299
|
+
let e = [...this.sysViewButtons];
|
|
300
|
+
e.map((s) => (s.show = !t.includes(s.id), s)), this.sysViewButtons = [...e];
|
|
301
|
+
},
|
|
302
|
+
doEvent(t) {
|
|
303
|
+
let e = t.item.functionName;
|
|
304
|
+
this[e](t);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
var z = function() {
|
|
309
|
+
var e = this, s = e._self._c;
|
|
310
|
+
return s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !0, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
311
|
+
e.visible = i;
|
|
312
|
+
}, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.type != 3 ? s("div", { staticClass: "findby" }, [s("div", { staticClass: "findbyl" }, [s("el-radio-group", { on: { change: e.onChange }, model: { value: e.value, callback: function(i) {
|
|
313
|
+
e.value = i;
|
|
314
|
+
}, expression: "value" } }, [e._l(e.list, function(i) {
|
|
315
|
+
return [i.type == e.type ? s("el-radio", { style: e.radioStyle, attrs: { label: i.val } }, [e._v(" " + e._s(e.$i18nt(i.keyI18n, i.name)) + " ")]) : e._e()];
|
|
316
|
+
})], 2)], 1), s("div", { staticClass: "findbyr" }, [s("el-alert", { staticStyle: { width: "500px" }, attrs: { title: e.$i18nt("gd.crowd.operateRecordTip", "\u9009\u62E9\u64CD\u4F5C\u8BB0\u5F55\u7684\u65B9\u6CD5\uFF0C\u7136\u540E\u5728\u5217\u8868\u4E2D\u5C06\u8FD9\u4E9B\u8BB0\u5F55\u6DFB\u52A0\u6216\u79FB\u9664\u3002"), type: "info", "show-icon": "", closable: !1 } })], 1)]) : e._e(), s("div", { staticClass: "findby-advanced" }, [e.visible ? s("gd-advanced-find", { ref: "advancedFind", attrs: { screenHig: e.screenHig, isScreen: !0, showTitle: !1, isSelect: e.isSelect, isDisabled: !0 }, on: { change: e.changeOperate } }) : e._e()], 1)])], 2);
|
|
317
|
+
}, Q = [], A = /* @__PURE__ */ c(
|
|
318
|
+
M,
|
|
319
|
+
z,
|
|
320
|
+
Q,
|
|
321
|
+
!1,
|
|
322
|
+
null,
|
|
323
|
+
"6e29fe35",
|
|
324
|
+
null,
|
|
325
|
+
null
|
|
326
|
+
);
|
|
327
|
+
const H = A.exports;
|
|
328
|
+
const q = {
|
|
329
|
+
props: {
|
|
330
|
+
item: {
|
|
331
|
+
type: Object,
|
|
332
|
+
default: () => ({})
|
|
333
|
+
},
|
|
334
|
+
row: {
|
|
335
|
+
type: Object,
|
|
336
|
+
default: () => ({})
|
|
337
|
+
},
|
|
338
|
+
getFristColumn: {
|
|
339
|
+
type: Object,
|
|
340
|
+
default: () => ({})
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
data() {
|
|
344
|
+
return {};
|
|
345
|
+
},
|
|
346
|
+
computed: {
|
|
347
|
+
text() {
|
|
348
|
+
return this.row[this.item.prop];
|
|
349
|
+
},
|
|
350
|
+
getText() {
|
|
351
|
+
let t = [];
|
|
352
|
+
return this.text && _(this.text) && (t = JSON.parse(this.text)), t;
|
|
353
|
+
},
|
|
354
|
+
...d(["primaryColor"])
|
|
355
|
+
},
|
|
356
|
+
methods: {}
|
|
357
|
+
};
|
|
358
|
+
var G = function() {
|
|
359
|
+
var e = this, s = e._self._c;
|
|
360
|
+
return s("div", { staticClass: "tparticipants" }, [s("el-popover", { attrs: { placement: "top", trigger: "hover", "close-delay": 34 } }, [s("div", { staticClass: "file-popover" }, [e._l(e.getText, function(i, l) {
|
|
361
|
+
return [s("span", { staticClass: "file-popover-item", on: { click: function(n) {
|
|
362
|
+
return e.$emit("baseQuickForm", i);
|
|
363
|
+
} } }, [e._v(e._s(i.name))])];
|
|
364
|
+
})], 2), s("div", { staticClass: "line1", attrs: { slot: "reference" }, slot: "reference" }, [e._l(e.getText, function(i, l) {
|
|
365
|
+
return [s("span", [l !== 0 ? s("span", { staticStyle: { padding: "0 4px 0 2px" } }, [e._v(",")]) : e._e(), s("span", [e._v(e._s(i.name))])])];
|
|
366
|
+
})], 2)])], 1);
|
|
367
|
+
}, U = [], J = /* @__PURE__ */ c(
|
|
368
|
+
q,
|
|
369
|
+
G,
|
|
370
|
+
U,
|
|
371
|
+
!1,
|
|
372
|
+
null,
|
|
373
|
+
"8101cf7a",
|
|
374
|
+
null,
|
|
375
|
+
null
|
|
376
|
+
);
|
|
377
|
+
const v = J.exports, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
378
|
+
__proto__: null,
|
|
379
|
+
default: v
|
|
380
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
381
|
+
const W = {
|
|
382
|
+
props: {
|
|
383
|
+
item: {
|
|
384
|
+
type: Object,
|
|
385
|
+
default: () => ({})
|
|
386
|
+
},
|
|
387
|
+
row: {
|
|
388
|
+
type: Object,
|
|
389
|
+
default: () => ({})
|
|
390
|
+
},
|
|
391
|
+
getFristColumn: {
|
|
392
|
+
type: Object,
|
|
393
|
+
default: () => ({})
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
data() {
|
|
397
|
+
return {};
|
|
398
|
+
},
|
|
399
|
+
computed: {
|
|
400
|
+
text() {
|
|
401
|
+
return this.getData ? this.$i18nt(`Dynamics.${this.getData.transkey}`, this.getData.name) : "";
|
|
402
|
+
},
|
|
403
|
+
getData() {
|
|
404
|
+
const t = this.row[this.item.prop];
|
|
405
|
+
return this.item.dictTypeList.filter((s) => s.code == t)[0];
|
|
406
|
+
},
|
|
407
|
+
styled() {
|
|
408
|
+
return this.item.hyperlink ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
409
|
+
},
|
|
410
|
+
stylec() {
|
|
411
|
+
return this.dictSwitch ? `color:${this.dictSwitch}` : "";
|
|
412
|
+
},
|
|
413
|
+
dictSwitch() {
|
|
414
|
+
return this.getData ? this.getData.colour : null;
|
|
415
|
+
},
|
|
416
|
+
...d(["primaryColor"])
|
|
417
|
+
},
|
|
418
|
+
methods: {}
|
|
419
|
+
};
|
|
420
|
+
var X = function() {
|
|
421
|
+
var e = this, s = e._self._c;
|
|
422
|
+
return s("div", [e.dictSwitch ? s("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", size: "mini", color: e.dictSwitch }, on: { click: function(i) {
|
|
423
|
+
return e.$emit("operatorScope");
|
|
424
|
+
} } }, [e._v(" " + e._s(e.text) + " ")]) : s("div", { style: e.styled }, [s("span", { on: { click: function(i) {
|
|
425
|
+
return e.$emit("operatorScope");
|
|
426
|
+
} } }, [e._v(e._s(e.text))])])], 1);
|
|
427
|
+
}, Z = [], Y = /* @__PURE__ */ c(
|
|
428
|
+
W,
|
|
429
|
+
X,
|
|
430
|
+
Z,
|
|
431
|
+
!1,
|
|
432
|
+
null,
|
|
433
|
+
"89f9506b",
|
|
434
|
+
null,
|
|
435
|
+
null
|
|
436
|
+
);
|
|
437
|
+
const b = Y.exports, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
438
|
+
__proto__: null,
|
|
439
|
+
default: b
|
|
440
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
441
|
+
const ee = {
|
|
442
|
+
props: {
|
|
443
|
+
item: {
|
|
444
|
+
type: Object,
|
|
445
|
+
default: () => ({})
|
|
446
|
+
},
|
|
447
|
+
row: {
|
|
448
|
+
type: Object,
|
|
449
|
+
default: () => ({})
|
|
450
|
+
},
|
|
451
|
+
getFristColumn: {
|
|
452
|
+
type: Object,
|
|
453
|
+
default: () => ({})
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
data() {
|
|
457
|
+
return {};
|
|
458
|
+
},
|
|
459
|
+
computed: {
|
|
460
|
+
text() {
|
|
461
|
+
return this.row[this.item.prop];
|
|
462
|
+
},
|
|
463
|
+
getDatas() {
|
|
464
|
+
let t = [];
|
|
465
|
+
return this.text && (t = String(this.text).split(",")), t;
|
|
466
|
+
},
|
|
467
|
+
...d(["primaryColor"])
|
|
468
|
+
},
|
|
469
|
+
methods: {}
|
|
470
|
+
};
|
|
471
|
+
var te = function() {
|
|
472
|
+
var e = this, s = e._self._c;
|
|
473
|
+
return s("div", [e._l(e.getDatas, function(i, l) {
|
|
474
|
+
return [l !== 0 ? s("span", { staticStyle: { padding: "0 4px 0 2px" } }, [e._v(",")]) : e._e(), s("span", [e._v(e._s(e._f("dictType")(e.item.dictTypeCode, i)))])];
|
|
475
|
+
})], 2);
|
|
476
|
+
}, se = [], ie = /* @__PURE__ */ c(
|
|
477
|
+
ee,
|
|
478
|
+
te,
|
|
479
|
+
se,
|
|
480
|
+
!1,
|
|
481
|
+
null,
|
|
482
|
+
"ee6de1c1",
|
|
483
|
+
null,
|
|
484
|
+
null
|
|
485
|
+
);
|
|
486
|
+
const w = ie.exports, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
487
|
+
__proto__: null,
|
|
488
|
+
default: w
|
|
489
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
490
|
+
const ne = {
|
|
491
|
+
props: {
|
|
492
|
+
item: {
|
|
493
|
+
type: Object,
|
|
494
|
+
default: () => ({})
|
|
495
|
+
},
|
|
496
|
+
row: {
|
|
497
|
+
type: Object,
|
|
498
|
+
default: () => ({})
|
|
499
|
+
},
|
|
500
|
+
getFristColumn: {
|
|
501
|
+
type: Object,
|
|
502
|
+
default: () => ({})
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
data() {
|
|
506
|
+
return {};
|
|
507
|
+
},
|
|
508
|
+
computed: {
|
|
509
|
+
style() {
|
|
510
|
+
let t = "";
|
|
511
|
+
return this.item.align === "center" ? t = "justify-content: center" : this.item.align === "right" && (t = "justify-content: flex-end"), t;
|
|
512
|
+
},
|
|
513
|
+
list() {
|
|
514
|
+
const t = this.row[this.item.prop];
|
|
515
|
+
let e = [];
|
|
516
|
+
return _(t) && (e = JSON.parse(t)), e;
|
|
517
|
+
},
|
|
518
|
+
...d(["primaryColor"])
|
|
519
|
+
},
|
|
520
|
+
methods: {
|
|
521
|
+
preview(t) {
|
|
522
|
+
this.$emit("preview", t);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
var le = function() {
|
|
527
|
+
var e = this, s = e._self._c;
|
|
528
|
+
return e.list.length > 0 ? s("div", { staticStyle: { display: "flex", "align-items": "center" }, style: e.style }, [e.item.preview ? s("el-popover", { attrs: { placement: "top", trigger: "hover", "close-delay": 34 } }, [s("div", { staticClass: "file-popover" }, [e._l(e.list, function(i, l) {
|
|
529
|
+
return [s("div", { staticClass: "file-popover-item line1", on: { click: function(n) {
|
|
530
|
+
return e.preview(i);
|
|
531
|
+
} } }, [e._v(e._s(i.fileobjectname))])];
|
|
532
|
+
}), e.item.preview && e.item.download ? s("el-divider", { attrs: { dashed: "" } }) : e._e(), e.item.download ? s("div", { staticClass: "file-popover-item item-download active-color", on: { click: function(i) {
|
|
533
|
+
return e.$emit("showFile");
|
|
534
|
+
} } }, [e._v(" " + e._s(e.$i18nt("gd.btn.download", "\u4E0B\u8F7D")) + " "), s("i", { staticClass: "el-icon-download active-color" })]) : e._e()], 2), s("el-button", { staticStyle: { padding: "4px 12px" }, attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [e._v(e._s(e.$i18nt("gd.btn.viewFile", "\u67E5\u770B\u6587\u4EF6")))])], 1) : e._e()], 1) : e._e();
|
|
535
|
+
}, ae = [], re = /* @__PURE__ */ c(
|
|
536
|
+
ne,
|
|
537
|
+
le,
|
|
538
|
+
ae,
|
|
539
|
+
!1,
|
|
540
|
+
null,
|
|
541
|
+
"17c27787",
|
|
542
|
+
null,
|
|
543
|
+
null
|
|
544
|
+
);
|
|
545
|
+
const $ = re.exports, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
546
|
+
__proto__: null,
|
|
547
|
+
default: $
|
|
548
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
549
|
+
const oe = {
|
|
550
|
+
props: {
|
|
551
|
+
item: {
|
|
552
|
+
type: Object,
|
|
553
|
+
default: () => ({})
|
|
554
|
+
},
|
|
555
|
+
row: {
|
|
556
|
+
type: Object,
|
|
557
|
+
default: () => ({})
|
|
558
|
+
},
|
|
559
|
+
getFristColumn: {
|
|
560
|
+
type: Object,
|
|
561
|
+
default: () => ({})
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
data() {
|
|
565
|
+
return {};
|
|
566
|
+
},
|
|
567
|
+
computed: {
|
|
568
|
+
text() {
|
|
569
|
+
return this.row[this.item.prop];
|
|
570
|
+
},
|
|
571
|
+
displayPrefix() {
|
|
572
|
+
if (this.item.effectType !== "currency")
|
|
573
|
+
return "";
|
|
574
|
+
let t = this.item.displayPrefix ? this.item.displayPrefix : "none";
|
|
575
|
+
if (t === "none")
|
|
576
|
+
return "";
|
|
577
|
+
let e = t + "sys_currencysys_currencyid", s = this.row[e];
|
|
578
|
+
return s || "";
|
|
579
|
+
},
|
|
580
|
+
cstyle() {
|
|
581
|
+
return `color:${this.primaryColor};font-size: 14px;`;
|
|
582
|
+
},
|
|
583
|
+
displayMode() {
|
|
584
|
+
let t = "";
|
|
585
|
+
return !this.item.effectType === "double" ? t : (this.item.displayMode === "percent" ? t = "%" : this.item.displayMode === "permil" && (t = "\u2030"), this.getCurrency === "" ? "" : t);
|
|
586
|
+
},
|
|
587
|
+
styled() {
|
|
588
|
+
return this.item.hyperlink ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
589
|
+
},
|
|
590
|
+
getCurrency() {
|
|
591
|
+
let t = "";
|
|
592
|
+
if (this.item.effectType === "double") {
|
|
593
|
+
let s = this.text !== null && this.text !== "" && this.text !== void 0 ? Number(this.text) : "";
|
|
594
|
+
t = this.getDisplayMode(s);
|
|
595
|
+
} else
|
|
596
|
+
t = this.text !== null && this.text !== "" && this.text !== void 0 ? String(this.text) : "";
|
|
597
|
+
return t !== null && t !== "" && t !== void 0 && t !== 0 && t !== "0" && this.item.displayMode === "none" && (t = Number(t).toFixed(this.item.filedsize)), D(t);
|
|
598
|
+
},
|
|
599
|
+
...d(["primaryColor"])
|
|
600
|
+
},
|
|
601
|
+
methods: {
|
|
602
|
+
getDisplayMode(t) {
|
|
603
|
+
if (t === "")
|
|
604
|
+
return "";
|
|
605
|
+
if (t === 0)
|
|
606
|
+
return "0";
|
|
607
|
+
let e = t, s = this.item.filedsize;
|
|
608
|
+
return this.item.displayMode === "percent" ? (e = t * 100, s -= 2) : this.item.displayMode === "permil" && (e = t * 1e3, s -= 3), String(e.toFixed(s >= 0 ? s : 0));
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
var ce = function() {
|
|
613
|
+
var e = this, s = e._self._c;
|
|
614
|
+
return s("div", { style: e.styled, on: { click: function(i) {
|
|
615
|
+
return e.$emit("operatorScope");
|
|
616
|
+
} } }, [e.displayPrefix && e.getCurrency ? s("span", [e._v(e._s(e.displayPrefix))]) : e._e(), s("span", [e._v(e._s(e.getCurrency) + e._s(e.displayMode))])]);
|
|
617
|
+
}, de = [], ue = /* @__PURE__ */ c(
|
|
618
|
+
oe,
|
|
619
|
+
ce,
|
|
620
|
+
de,
|
|
621
|
+
!1,
|
|
622
|
+
null,
|
|
623
|
+
"af2a245d",
|
|
624
|
+
null,
|
|
625
|
+
null
|
|
626
|
+
);
|
|
627
|
+
const k = ue.exports, He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
628
|
+
__proto__: null,
|
|
629
|
+
default: k
|
|
630
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
631
|
+
const he = {
|
|
632
|
+
props: {
|
|
633
|
+
item: {
|
|
634
|
+
type: Object,
|
|
635
|
+
default: () => ({})
|
|
636
|
+
},
|
|
637
|
+
row: {
|
|
638
|
+
type: Object,
|
|
639
|
+
default: () => ({})
|
|
640
|
+
},
|
|
641
|
+
getFristColumn: {
|
|
642
|
+
type: Object,
|
|
643
|
+
default: () => ({})
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
data() {
|
|
647
|
+
return {};
|
|
648
|
+
},
|
|
649
|
+
computed: {
|
|
650
|
+
styled() {
|
|
651
|
+
return this.item.hyperlink ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
652
|
+
},
|
|
653
|
+
dictSwitch() {
|
|
654
|
+
let t = this.$options.filters.dictData("time_longshort").filter((e) => e.code == this.item.fieldFormat)[0];
|
|
655
|
+
return t ? t.name.replace("DD", "dd") : "yyyy-MM-dd HH:mm:ss";
|
|
656
|
+
},
|
|
657
|
+
...d(["primaryColor"])
|
|
658
|
+
},
|
|
659
|
+
methods: {}
|
|
660
|
+
};
|
|
661
|
+
var fe = function() {
|
|
662
|
+
var e = this, s = e._self._c;
|
|
663
|
+
return s("div", { style: e.styled }, [s("span", { on: { click: function(i) {
|
|
664
|
+
return e.$emit("operatorScope");
|
|
665
|
+
} } }, [e._v(e._s(e._f("formatTime")(e.row[e.item.prop], e.dictSwitch)))])]);
|
|
666
|
+
}, pe = [], me = /* @__PURE__ */ c(
|
|
667
|
+
he,
|
|
668
|
+
fe,
|
|
669
|
+
pe,
|
|
670
|
+
!1,
|
|
671
|
+
null,
|
|
672
|
+
"d4617b39",
|
|
673
|
+
null,
|
|
674
|
+
null
|
|
675
|
+
);
|
|
676
|
+
const S = me.exports, qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
677
|
+
__proto__: null,
|
|
678
|
+
default: S
|
|
679
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
680
|
+
var h = null;
|
|
681
|
+
const ge = {
|
|
682
|
+
components: {
|
|
683
|
+
findBy: K,
|
|
684
|
+
findList: H,
|
|
685
|
+
Participants: v,
|
|
686
|
+
DictSwitch: b,
|
|
687
|
+
Checkboxs: w,
|
|
688
|
+
Tfile: $,
|
|
689
|
+
Tcurrency: k,
|
|
690
|
+
Tdatepicker: S
|
|
691
|
+
},
|
|
692
|
+
props: {
|
|
693
|
+
tableDatas: {
|
|
694
|
+
type: Object,
|
|
695
|
+
default: () => ({})
|
|
696
|
+
},
|
|
697
|
+
record: {
|
|
698
|
+
type: Object,
|
|
699
|
+
default: () => ({})
|
|
700
|
+
},
|
|
701
|
+
id: {
|
|
702
|
+
type: [String, Number],
|
|
703
|
+
default: ""
|
|
704
|
+
},
|
|
705
|
+
fkEntityName: {
|
|
706
|
+
type: [String, Number],
|
|
707
|
+
default: ""
|
|
708
|
+
},
|
|
709
|
+
tableId: {
|
|
710
|
+
type: [String, Number],
|
|
711
|
+
default: ""
|
|
712
|
+
},
|
|
713
|
+
viewCode: {
|
|
714
|
+
type: [String, Number],
|
|
715
|
+
default: ""
|
|
716
|
+
},
|
|
717
|
+
type: {
|
|
718
|
+
type: [String, Number],
|
|
719
|
+
default: "2"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
data() {
|
|
723
|
+
return {
|
|
724
|
+
imgList: [],
|
|
725
|
+
currentImg: "",
|
|
726
|
+
showComponent: "",
|
|
727
|
+
fileOptions: {},
|
|
728
|
+
queryTable: {},
|
|
729
|
+
spinning: !1,
|
|
730
|
+
viewRecord: {},
|
|
731
|
+
show: !1,
|
|
732
|
+
loadData: (t) => this.id == "" ? new Promise((e, s) => {
|
|
733
|
+
e({
|
|
734
|
+
pageNo: 1,
|
|
735
|
+
pageSize: 10,
|
|
736
|
+
rows: [],
|
|
737
|
+
totalRows: 0
|
|
738
|
+
});
|
|
739
|
+
}) : F(
|
|
740
|
+
Object.assign(t, {
|
|
741
|
+
tableId: this.tableId,
|
|
742
|
+
viewId: this.viewCode,
|
|
743
|
+
crowdListId: this.id
|
|
744
|
+
})
|
|
745
|
+
).then((e) => {
|
|
746
|
+
const s = this.getScroller();
|
|
747
|
+
return s && (s.scrollTop = 0), e.data;
|
|
748
|
+
}),
|
|
749
|
+
sysViewButtons: [
|
|
750
|
+
{
|
|
751
|
+
displayName: "\u65B0\u589E",
|
|
752
|
+
functionName: "add",
|
|
753
|
+
show: !0,
|
|
754
|
+
transKey: "gd.btn.add",
|
|
755
|
+
icon: "el-icon-plus"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
displayName: "\u5220\u9664",
|
|
759
|
+
functionName: "del",
|
|
760
|
+
transKey: "gd.btn.del",
|
|
761
|
+
icon: "el-icon-delete",
|
|
762
|
+
show: !0,
|
|
763
|
+
btnType: "danger"
|
|
764
|
+
}
|
|
765
|
+
],
|
|
766
|
+
columns: [],
|
|
767
|
+
columnsSetting: [],
|
|
768
|
+
selectedRowKeys: [],
|
|
769
|
+
selectedRows: [],
|
|
770
|
+
tableData: {},
|
|
771
|
+
findByType: 1,
|
|
772
|
+
statu: !1,
|
|
773
|
+
sysFindList: {
|
|
774
|
+
sysViewFilters: []
|
|
775
|
+
},
|
|
776
|
+
detail: {},
|
|
777
|
+
state: !1,
|
|
778
|
+
eleNum: 6,
|
|
779
|
+
isCheckedAll: !1,
|
|
780
|
+
indeterminate: !1
|
|
781
|
+
};
|
|
782
|
+
},
|
|
783
|
+
watch: {
|
|
784
|
+
type(t, e) {
|
|
785
|
+
t == 1 ? this.baseShowBtns(["\u5220\u9664"]) : this.baseHideBtns(["\u5220\u9664"]);
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
computed: {
|
|
789
|
+
hig() {
|
|
790
|
+
return 320;
|
|
791
|
+
},
|
|
792
|
+
getFristColumn() {
|
|
793
|
+
const t = this.columnsSetting.filter((e) => e.type !== "selection" && e.checked)[0];
|
|
794
|
+
return t || {};
|
|
795
|
+
},
|
|
796
|
+
styled() {
|
|
797
|
+
return `color:${this.primaryColor};cursor: pointer;`;
|
|
798
|
+
},
|
|
799
|
+
eleScrollNum() {
|
|
800
|
+
let t = 0, e = 30, s = this.$el.querySelector(`#${this.tableIds} .el-table__row`), i = s ? s.offsetHeight : 0, l = this.getScroller(), n = l ? l.scrollTop : 0;
|
|
801
|
+
return i > 0 && (this.$refs.table ? this.$refs.table.localDataSource : []).forEach((r, o) => {
|
|
802
|
+
(o + 1) * i <= n && (t = o), (o + 1) * i < n + this.y + this.eleNum * i && (e = o + 1);
|
|
803
|
+
}), { star: t, end: e, eleHig: i };
|
|
804
|
+
},
|
|
805
|
+
tableIds() {
|
|
806
|
+
return O();
|
|
807
|
+
},
|
|
808
|
+
getColumnsed() {
|
|
809
|
+
return this.columns.filter((e) => e.scopedSlots != null && e.checked);
|
|
810
|
+
},
|
|
811
|
+
columnsMax() {
|
|
812
|
+
return this.tableColumnsMax != null ? this.tableColumnsMax : 0;
|
|
813
|
+
},
|
|
814
|
+
rowSelection() {
|
|
815
|
+
return null;
|
|
816
|
+
},
|
|
817
|
+
...d(["tableSize", "screenHeight", "primaryColor", "tableLists", "tablePageSize"])
|
|
818
|
+
},
|
|
819
|
+
methods: {
|
|
820
|
+
rowClick(t, e) {
|
|
821
|
+
if (h) {
|
|
822
|
+
clearTimeout(h), h = null;
|
|
823
|
+
const s = this.viewList.filter((l) => l.id === this.viewCode)[0];
|
|
824
|
+
(s && s.isdoubleclick !== void 0 ? s.isdoubleclick : 1) === 1 && this.baseQuickView(t);
|
|
825
|
+
return;
|
|
826
|
+
}
|
|
827
|
+
h = setTimeout(() => {
|
|
828
|
+
h = null;
|
|
829
|
+
const s = this.selectedRowKeys.filter((n) => n === t[this.rowKey])[0], i = this.selectedRowKeys.filter((n) => n !== t[this.rowKey]), l = this.selectedRowKeys.filter((n) => n[this.rowKey] !== t[this.rowKey]);
|
|
830
|
+
this.selectedRowKeys = s ? i : i.concat([t[this.rowKey]]), this.selectedRows = s ? l : l.concat([t]), this.$emit("changeSelect", this.selectedRowKeys, this.selectedRows), this.$refs.table.rowClickSelection(t, !s, e);
|
|
831
|
+
}, 260);
|
|
832
|
+
},
|
|
833
|
+
isCheckAllRows() {
|
|
834
|
+
if (this.$refs.table) {
|
|
835
|
+
let t = this.$refs.table.localDataSource.filter((s) => s.id != -1);
|
|
836
|
+
if (t.length == 0) {
|
|
837
|
+
this.isCheckedAll = !1;
|
|
838
|
+
return;
|
|
839
|
+
}
|
|
840
|
+
let e = t.filter((s) => this.selectedRowKeys.includes(s.id));
|
|
841
|
+
this.isCheckedAll = t.length == e.length;
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
onCheckRows(t) {
|
|
845
|
+
let e = this.$refs.table.localDataSource.filter((r) => r.id != -1);
|
|
846
|
+
if (e.length == 0)
|
|
847
|
+
return;
|
|
848
|
+
let s = [];
|
|
849
|
+
e.forEach((r) => {
|
|
850
|
+
s.push(r.id);
|
|
851
|
+
});
|
|
852
|
+
let i = this.selectedRowKeys.filter((r) => r == t)[0], l = [...this.selectedRowKeys];
|
|
853
|
+
i === void 0 ? l = l.concat([Number(t)]) : l = l.filter((r) => r != t);
|
|
854
|
+
let n = this.selectedRowKeys.filter((r) => !s.includes(r)).filter((r) => !l.includes(r)), a = e.filter((r) => l.includes(r.id));
|
|
855
|
+
this.selectedRowKeys = n.concat(l), this.onSelectChange(n.concat(l), a);
|
|
856
|
+
},
|
|
857
|
+
onCheckAllRows(t) {
|
|
858
|
+
let e = t.target.checked;
|
|
859
|
+
if (this.isCheckedAll = e, e) {
|
|
860
|
+
let s = this.$refs.table.localDataSource.filter((l) => l.id != -1), i = [];
|
|
861
|
+
s.forEach((l) => {
|
|
862
|
+
i.push(l.id);
|
|
863
|
+
}), this.onSelectChange(i, s);
|
|
864
|
+
} else
|
|
865
|
+
this.onSelectChange([], []);
|
|
866
|
+
},
|
|
867
|
+
getScroller() {
|
|
868
|
+
if (!this.$el || !this.tableIds)
|
|
869
|
+
return null;
|
|
870
|
+
let t = `#${this.tableIds} .el-table__body-wrapper`;
|
|
871
|
+
return this.$el.querySelector(t);
|
|
872
|
+
},
|
|
873
|
+
clearTableSource() {
|
|
874
|
+
var t;
|
|
875
|
+
if (this.$refs.table.localDataSource && ((t = this.$refs.table) == null ? void 0 : t.localDataSource.length) > 100) {
|
|
876
|
+
let e = [];
|
|
877
|
+
this.$refs.table.localDataSource.forEach((i, l) => {
|
|
878
|
+
l > this.eleScrollNum.star && l <= this.eleScrollNum.end && e.push(i);
|
|
879
|
+
}), this.$refs.table.localDataSource = e;
|
|
880
|
+
let s = this.getScroller();
|
|
881
|
+
if (s) {
|
|
882
|
+
let l = s.scrollTop % this.eleScrollNum.eleHig;
|
|
883
|
+
s.scrollTop = l;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
columnChange(t) {
|
|
888
|
+
this.columnsSetting = [...t];
|
|
889
|
+
},
|
|
890
|
+
operatorScope(t, e) {
|
|
891
|
+
if (t.hyperlink) {
|
|
892
|
+
const s = t.sourceFk !== void 0 ? t.sourceFk : !(t.fieldType != "fk" && t.fieldType != "about" && t.fieldType != "user");
|
|
893
|
+
if (this.getFristColumn.prop === t.prop && !s) {
|
|
894
|
+
this.baseQuickView(e);
|
|
895
|
+
return;
|
|
896
|
+
}
|
|
897
|
+
s && this.baseQuickForm(e, t);
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
changeQuickView(t) {
|
|
901
|
+
if (this.statu)
|
|
902
|
+
return;
|
|
903
|
+
this.showLoading();
|
|
904
|
+
const e = this.lineQuickView(t);
|
|
905
|
+
(typeof e == "object" || typeof e == "function") && typeof e.then == "function" ? e.then((s) => {
|
|
906
|
+
this.changeQuickViewOk(s);
|
|
907
|
+
}).catch(() => {
|
|
908
|
+
console.log("\u7528\u6237\u7EC8\u6B62\u64CD\u4F5C"), this.hideLoading();
|
|
909
|
+
}) : this.changeQuickViewOk(t);
|
|
910
|
+
},
|
|
911
|
+
sbumitOk() {
|
|
912
|
+
this.refresh(!0), this.getDetail();
|
|
913
|
+
},
|
|
914
|
+
getDetail() {
|
|
915
|
+
p({ id: this.id, tableId: this.tableDatas.id }).then((t) => {
|
|
916
|
+
t.success && (this.detail = t.data[0]);
|
|
917
|
+
});
|
|
918
|
+
},
|
|
919
|
+
lookupSeled(t) {
|
|
920
|
+
if (t.data.length == 0)
|
|
921
|
+
return;
|
|
922
|
+
const e = this.$message({
|
|
923
|
+
message: this.$i18nt("gd.https.addingData"),
|
|
924
|
+
duration: 0,
|
|
925
|
+
iconClass: "el-icon-loading"
|
|
926
|
+
});
|
|
927
|
+
y({
|
|
928
|
+
crowdListId: this.id,
|
|
929
|
+
ids: t.data.join(",")
|
|
930
|
+
}).then((s) => {
|
|
931
|
+
e.close(), s.code == 0 ? (this.$message.success(this.$i18nt("gd.https.operateSucc")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail") + s.message);
|
|
932
|
+
});
|
|
933
|
+
},
|
|
934
|
+
baseQuickView(t) {
|
|
935
|
+
if (this.statu)
|
|
936
|
+
return;
|
|
937
|
+
this.statu = !0;
|
|
938
|
+
const e = this.$message({
|
|
939
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
940
|
+
duration: 0,
|
|
941
|
+
iconClass: "el-icon-loading"
|
|
942
|
+
});
|
|
943
|
+
this.$refs.middleware.init({ tableId: this.tableData.id, data: [t] }).then((s) => {
|
|
944
|
+
this.statu = !1, e.close();
|
|
945
|
+
});
|
|
946
|
+
},
|
|
947
|
+
baseQuickForm(t, e) {
|
|
948
|
+
if (!this.statu) {
|
|
949
|
+
if (t.item.fieldType == "about") {
|
|
950
|
+
this.baseQuickAbout({ data: t, item: e });
|
|
951
|
+
return;
|
|
952
|
+
}
|
|
953
|
+
if (e.fieldType == "participants") {
|
|
954
|
+
let s = this.tableLists.filter((l) => l.tablename == t.tableName)[0];
|
|
955
|
+
if (s === void 0) {
|
|
956
|
+
this.$message.error(this.$i18nt("gd.solution.dataErrorTip", "\u6570\u636E\u9519\u8BEF\uFF0C\u5F53\u524D\u6570\u636E(\u8868)\u4E0D\u5B58\u5728\u6216\u8005\u5DF2\u5220\u9664\uFF01"));
|
|
957
|
+
return;
|
|
958
|
+
}
|
|
959
|
+
this.statu = !0;
|
|
960
|
+
const i = this.$message({
|
|
961
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
962
|
+
duration: 0,
|
|
963
|
+
iconClass: "el-icon-loading"
|
|
964
|
+
});
|
|
965
|
+
this.$refs.middleware.init({
|
|
966
|
+
tableId: s.id,
|
|
967
|
+
data: [t]
|
|
968
|
+
}).then((l) => {
|
|
969
|
+
setTimeout(() => {
|
|
970
|
+
this.statu = !1;
|
|
971
|
+
}, 1e3), i.close(), this.hideLoading();
|
|
972
|
+
});
|
|
973
|
+
return;
|
|
974
|
+
}
|
|
975
|
+
this.baseQuickFk({ data: t, item: e });
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
baseQuickAbout(t) {
|
|
979
|
+
this.statu = !0;
|
|
980
|
+
const e = this.$message({
|
|
981
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
982
|
+
duration: 0,
|
|
983
|
+
iconClass: "el-icon-loading"
|
|
984
|
+
});
|
|
985
|
+
p({
|
|
986
|
+
tableId: this.tableData.id,
|
|
987
|
+
id: t.data.id
|
|
988
|
+
}).then((s) => {
|
|
989
|
+
if (s.success) {
|
|
990
|
+
let i = t.item.prop + "_abouttable", l = {
|
|
991
|
+
data: t.data,
|
|
992
|
+
item: Object.assign(t.item, {
|
|
993
|
+
fkEntityName: s.data[0][i]
|
|
994
|
+
})
|
|
995
|
+
};
|
|
996
|
+
this.baseQuickFk(l, e);
|
|
997
|
+
} else
|
|
998
|
+
e.close(), this.statu = !1, this.$nextTick(() => {
|
|
999
|
+
setTimeout(() => {
|
|
1000
|
+
this.$message.error(s.message);
|
|
1001
|
+
}, 0);
|
|
1002
|
+
});
|
|
1003
|
+
});
|
|
1004
|
+
},
|
|
1005
|
+
baseQuickFk(t, e) {
|
|
1006
|
+
let s = e;
|
|
1007
|
+
t.item.fieldType != "about" && (this.statu = !0, s = this.$message({
|
|
1008
|
+
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
1009
|
+
duration: 0,
|
|
1010
|
+
iconClass: "el-icon-loading"
|
|
1011
|
+
}));
|
|
1012
|
+
let i = {
|
|
1013
|
+
thisTableName: this.tableData.tableName,
|
|
1014
|
+
thisIdValue: t.data.id,
|
|
1015
|
+
thisFiled: t.item.columnName,
|
|
1016
|
+
fkTable: t.item.fkEntityName
|
|
1017
|
+
};
|
|
1018
|
+
N(i).then((l) => {
|
|
1019
|
+
l.success ? this.$refs.middleware.init(
|
|
1020
|
+
Object.assign(l.data, {
|
|
1021
|
+
fieldType: t.item.fieldType
|
|
1022
|
+
})
|
|
1023
|
+
).then((n) => {
|
|
1024
|
+
this.statu = !1, s && s.close();
|
|
1025
|
+
}) : (s && s.close(), this.statu = !1, this.$nextTick(() => {
|
|
1026
|
+
setTimeout(() => {
|
|
1027
|
+
this.$message.error(l.message);
|
|
1028
|
+
}, 0);
|
|
1029
|
+
}));
|
|
1030
|
+
});
|
|
1031
|
+
},
|
|
1032
|
+
showLoading() {
|
|
1033
|
+
this.statu = !0;
|
|
1034
|
+
},
|
|
1035
|
+
hideLoading(t = 1500) {
|
|
1036
|
+
setTimeout(() => {
|
|
1037
|
+
this.statu = !1;
|
|
1038
|
+
}, t);
|
|
1039
|
+
},
|
|
1040
|
+
findByOk(t) {
|
|
1041
|
+
if (this.findByType = t, t == 1) {
|
|
1042
|
+
this.$refs.engineSearch.open({
|
|
1043
|
+
effectType: "participants",
|
|
1044
|
+
fkEntityName: this.fkEntityName,
|
|
1045
|
+
options: {},
|
|
1046
|
+
val: [],
|
|
1047
|
+
fkData: []
|
|
1048
|
+
});
|
|
1049
|
+
return;
|
|
1050
|
+
}
|
|
1051
|
+
this.$refs.findList.open({
|
|
1052
|
+
tableId: this.tableId,
|
|
1053
|
+
type: t == 2 ? 1 : 2,
|
|
1054
|
+
fkEntityName: this.fkEntityName,
|
|
1055
|
+
byviewdeId: this.viewCode,
|
|
1056
|
+
viewRecord: null
|
|
1057
|
+
});
|
|
1058
|
+
},
|
|
1059
|
+
add() {
|
|
1060
|
+
this.type == 1 ? this.$refs.findBy.open() : (this.findByType = 4, this.$refs.findList.open({
|
|
1061
|
+
tableId: this.tableId,
|
|
1062
|
+
fkEntityName: this.fkEntityName,
|
|
1063
|
+
type: 3,
|
|
1064
|
+
viewRecord: JSON.parse(this.detail.queryfetchxml),
|
|
1065
|
+
byviewdeId: this.viewCode
|
|
1066
|
+
}));
|
|
1067
|
+
},
|
|
1068
|
+
del() {
|
|
1069
|
+
if (this.selectedRowKeys.length === 0) {
|
|
1070
|
+
this.$message.warning(this.$i18nt("gd.https.delTip"));
|
|
1071
|
+
return;
|
|
1072
|
+
}
|
|
1073
|
+
this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1074
|
+
confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u8BA4\u5220\u9664"),
|
|
1075
|
+
cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
|
|
1076
|
+
type: "warning",
|
|
1077
|
+
confirmButtonClass: "el-button--danger"
|
|
1078
|
+
}).then(() => {
|
|
1079
|
+
g({
|
|
1080
|
+
crowdListId: this.id,
|
|
1081
|
+
ids: this.selectedRowKeys.join(",")
|
|
1082
|
+
}).then((t) => {
|
|
1083
|
+
t.code == 0 ? (this.$message.success(this.$i18nt("gd.https.delSucc")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.delFail") + t.message);
|
|
1084
|
+
});
|
|
1085
|
+
}).catch(() => {
|
|
1086
|
+
});
|
|
1087
|
+
},
|
|
1088
|
+
open() {
|
|
1089
|
+
this.spinning = !0, this.show = !1, this.$nextTick(() => {
|
|
1090
|
+
setTimeout(() => {
|
|
1091
|
+
this.baseGetTableData();
|
|
1092
|
+
}, 100);
|
|
1093
|
+
});
|
|
1094
|
+
},
|
|
1095
|
+
onSelectChange(t, e) {
|
|
1096
|
+
this.selectedRowKeys = t, this.selectedRows = e, this.$emit("changeSelect", t, e);
|
|
1097
|
+
},
|
|
1098
|
+
baseGetTableData() {
|
|
1099
|
+
let t = this.record.columns ? this.record.columns : null;
|
|
1100
|
+
if (t) {
|
|
1101
|
+
this.show = !0, this.columns = [...t], this.spinning = !1, this.$nextTick(() => {
|
|
1102
|
+
setTimeout(() => {
|
|
1103
|
+
this.refresh();
|
|
1104
|
+
}, 100);
|
|
1105
|
+
});
|
|
1106
|
+
return;
|
|
1107
|
+
}
|
|
1108
|
+
I({
|
|
1109
|
+
tableId: this.tableId
|
|
1110
|
+
}).then((e) => {
|
|
1111
|
+
e.success && (this.tableData = e.data.table, this.viewList = e.data.viewlist, this.baseGetView());
|
|
1112
|
+
});
|
|
1113
|
+
},
|
|
1114
|
+
baseGetView() {
|
|
1115
|
+
let t = this.viewList.filter((n) => n.id == this.viewCode)[0];
|
|
1116
|
+
t == null && (t = this.viewList[0]), this.viewRecord = {
|
|
1117
|
+
...t
|
|
1118
|
+
};
|
|
1119
|
+
let e = [], s = 0, i = 0;
|
|
1120
|
+
this.viewRecord.sysviewfields.forEach((n, a) => {
|
|
1121
|
+
s += this.columnsMax === 0 ? Number(n.width) : a + 1 > this.columnsMax ? 0 : Number(n.width);
|
|
1122
|
+
let r = L(n, a, this.viewRecord.frozencolumn), o = Object.assign(r || {}, {
|
|
1123
|
+
checked: this.columnsMax === 0 ? r.checked : a + 1 > this.columnsMax ? !1 : r.checked
|
|
1124
|
+
});
|
|
1125
|
+
i === 0 && r && o.checked && (o = Object.assign(o, {
|
|
1126
|
+
scopedSlots: {
|
|
1127
|
+
customRender: r.prop
|
|
1128
|
+
},
|
|
1129
|
+
ellipsis: !1
|
|
1130
|
+
})), r && e.push(
|
|
1131
|
+
Object.assign(o, {
|
|
1132
|
+
index: o.checked ? i : null
|
|
1133
|
+
})
|
|
1134
|
+
), r && o.checked && (i += 1);
|
|
1135
|
+
});
|
|
1136
|
+
let l = {
|
|
1137
|
+
type: "selection",
|
|
1138
|
+
width: "60",
|
|
1139
|
+
fixed: !0
|
|
1140
|
+
};
|
|
1141
|
+
this.viewRecord.frozencolumn > 0 && (l = Object.assign(l, {
|
|
1142
|
+
fixed: "left"
|
|
1143
|
+
})), this.type == 2 ? this.columns = e : this.columns = [l].concat(e), this.x = s, this.$emit("columns", { columns: e, fkEntityName: this.fkEntityName }), this.show = !0, this.spinning = !1, this.$nextTick(() => {
|
|
1144
|
+
setTimeout(() => {
|
|
1145
|
+
this.refresh();
|
|
1146
|
+
}, 10);
|
|
1147
|
+
});
|
|
1148
|
+
},
|
|
1149
|
+
refresh(t = !0) {
|
|
1150
|
+
this.$refs.table ? this.$refs.table.refresh(t) : console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01");
|
|
1151
|
+
},
|
|
1152
|
+
baseShowBtns(t) {
|
|
1153
|
+
let e = [...this.sysViewButtons];
|
|
1154
|
+
e.map((s) => (s.show = t.includes(s.displayName) ? !0 : s.show, s)), this.sysViewButtons = [...e];
|
|
1155
|
+
},
|
|
1156
|
+
baseHideBtns(t) {
|
|
1157
|
+
let e = [...this.sysViewButtons];
|
|
1158
|
+
e.map((s) => (s.show = !t.includes(s.displayName), s)), this.sysViewButtons = [...e];
|
|
1159
|
+
},
|
|
1160
|
+
getDictionary(t) {
|
|
1161
|
+
return this.$options.filters.dictData(t);
|
|
1162
|
+
},
|
|
1163
|
+
dictSwitch(t, e) {
|
|
1164
|
+
let s = this.$options.filters.dictData(e).filter((i) => i.code == t)[0];
|
|
1165
|
+
return s != null && s.colour ? s.colour : null;
|
|
1166
|
+
},
|
|
1167
|
+
showImg(t, e, s) {
|
|
1168
|
+
if (this.statu)
|
|
1169
|
+
return;
|
|
1170
|
+
this.showLoading();
|
|
1171
|
+
const l = this.$refs[`img_${s}`][0].dataset.src, n = this.$refs.effectTypeImg.children;
|
|
1172
|
+
let a = [];
|
|
1173
|
+
for (let r = 0; r < n.length; r++)
|
|
1174
|
+
a.push(n[r].dataset.src);
|
|
1175
|
+
this.imgList = a, this.currentImg = l, this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open(), this.hideLoading();
|
|
1176
|
+
},
|
|
1177
|
+
getFileBlob(t) {
|
|
1178
|
+
return m({ id: t.Id }).then((e) => e.data);
|
|
1179
|
+
},
|
|
1180
|
+
preview(t) {
|
|
1181
|
+
if (this.statu)
|
|
1182
|
+
return;
|
|
1183
|
+
this.showLoading();
|
|
1184
|
+
const e = t.fileoriginname.substr(t.fileoriginname.lastIndexOf(".") + 1).toLowerCase();
|
|
1185
|
+
if (this.fileOptions = { ...this.item }, ["gif", "jpeg", "png", "jpg", "JPG", "PNG", "bmp", "BMP"].includes(e)) {
|
|
1186
|
+
sysFileInfoPreview({
|
|
1187
|
+
id: t.id
|
|
1188
|
+
}).then((s) => {
|
|
1189
|
+
const i = window.URL.createObjectURL(new Blob([s]));
|
|
1190
|
+
this.imgList = [i], this.currentImg = i, this.$refs.imgPreview.open(), this.statu = !1, this.hideLoading();
|
|
1191
|
+
}).catch(() => {
|
|
1192
|
+
this.hideLoading();
|
|
1193
|
+
});
|
|
1194
|
+
return;
|
|
1195
|
+
}
|
|
1196
|
+
this.showComponent = "filePreview", this.$nextTick(() => {
|
|
1197
|
+
setTimeout(() => {
|
|
1198
|
+
this.$refs.filePreview.open(Object.assign(t, { fileId: t.id || t.Id, name: t.fileoriginname })), this.hideLoading();
|
|
1199
|
+
}, 0);
|
|
1200
|
+
});
|
|
1201
|
+
},
|
|
1202
|
+
closedPreview() {
|
|
1203
|
+
this.showComponent = "";
|
|
1204
|
+
},
|
|
1205
|
+
showFile(t, e) {
|
|
1206
|
+
if (this.statu)
|
|
1207
|
+
return;
|
|
1208
|
+
this.showLoading();
|
|
1209
|
+
const s = e[t.prop];
|
|
1210
|
+
let i = s;
|
|
1211
|
+
typeof s == "string" && (i = JSON.parse(s));
|
|
1212
|
+
let l = e.name ? e.name : t.title, n = new E(), a = [], r = {};
|
|
1213
|
+
i.forEach((u) => {
|
|
1214
|
+
let C = this.getFileBlob(u).then((f) => {
|
|
1215
|
+
n.file(u.fileoriginname, f, {
|
|
1216
|
+
binary: !0
|
|
1217
|
+
}), r[u.fileoriginname] = f;
|
|
1218
|
+
});
|
|
1219
|
+
a.push(C);
|
|
1220
|
+
});
|
|
1221
|
+
const o = this.$message({
|
|
1222
|
+
message: this.$i18nt("gd.https.downloadingFiles", "\u6587\u4EF6\u6B63\u5728\u538B\u7F29\u4E0B\u8F7D\u4E2D..."),
|
|
1223
|
+
duration: 0,
|
|
1224
|
+
iconClass: "el-icon-loading"
|
|
1225
|
+
});
|
|
1226
|
+
Promise.all(a).then(() => {
|
|
1227
|
+
n.generateAsync({
|
|
1228
|
+
type: "blob"
|
|
1229
|
+
}).then((u) => {
|
|
1230
|
+
FileSaver.saveAs(u, l), this.hideLoading(), o.close();
|
|
1231
|
+
});
|
|
1232
|
+
}).catch((u) => {
|
|
1233
|
+
o.close(), this.hideLoading(), this.$message.error("err!");
|
|
1234
|
+
});
|
|
1235
|
+
},
|
|
1236
|
+
downFile(t) {
|
|
1237
|
+
m({ id: t.Id }).then((e) => {
|
|
1238
|
+
this.exportWay(e, t);
|
|
1239
|
+
});
|
|
1240
|
+
},
|
|
1241
|
+
exportWay(t, e) {
|
|
1242
|
+
const s = this.$message({
|
|
1243
|
+
message: this.$i18nt("gd.https.downloading"),
|
|
1244
|
+
duration: 0,
|
|
1245
|
+
iconClass: "el-icon-loading"
|
|
1246
|
+
});
|
|
1247
|
+
if (t) {
|
|
1248
|
+
const i = new Blob([t.data], {
|
|
1249
|
+
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
1250
|
+
}), l = URL.createObjectURL(i), n = document.createElement("a");
|
|
1251
|
+
n.style.display = "none", n.href = l, n.download = e.FileOriginName, n.click(), URL.revokeObjectURL(n.href), setTimeout(() => {
|
|
1252
|
+
s.close();
|
|
1253
|
+
}, 1e3);
|
|
1254
|
+
} else
|
|
1255
|
+
s.close(), this.$message.error(t.message);
|
|
1256
|
+
},
|
|
1257
|
+
doEvent(t) {
|
|
1258
|
+
let e = t.item.functionName;
|
|
1259
|
+
this[e](t);
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
created() {
|
|
1263
|
+
}
|
|
1264
|
+
};
|
|
1265
|
+
var ye = function() {
|
|
1266
|
+
var e = this, s = e._self._c;
|
|
1267
|
+
return s("div", { staticStyle: { "min-height": "260px", position: "relative" } }, [e.fkEntityName == "" ? s("el-empty", [s("span", { attrs: { slot: "description" }, slot: "description" }, [e._v(e._s(e.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])]) : e._e(), s("gd-view-loading", { attrs: { spinning: e.spinning, isRelation: !0 } }), e.show ? s("div", { staticClass: "tab-view" }, [s("div", [s("gd-tables", { ref: "table", attrs: { height: e.hig, columns: e.columns, dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, selectedRowKeys: e.selectedRowKeys, initialLoading: !1, filtering: !1, showPagination: !0 }, on: { onChange: e.onSelectChange, rowClick: e.rowClick, columnChange: e.columnChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
1268
|
+
return [s("div", { staticClass: "setting-navs" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.sysViewButtons }, on: { functionName: e.doEvent } })], 1)];
|
|
1269
|
+
}, proxy: !0 }, e._l(e.getColumnsed, function(i, l) {
|
|
1270
|
+
return { key: i.prop, fn: function({ row: n }) {
|
|
1271
|
+
return [i.effectType == "datepicker" ? s("Tdatepicker", { attrs: { item: i, row: n }, on: { operatorScope: function(a) {
|
|
1272
|
+
return e.operatorScope(i, n);
|
|
1273
|
+
} } }) : i.effectType == "currency" || i.effectType == "inputnumber" || i.effectType == "double" ? s("Tcurrency", { attrs: { item: i, row: n }, on: { operatorScope: function(a) {
|
|
1274
|
+
return e.operatorScope(i, n);
|
|
1275
|
+
} } }) : i.effectType == "file" ? s("Tfile", { attrs: { item: i, row: n }, on: { preview: e.preview, showFile: function(a) {
|
|
1276
|
+
return e.showFile(i, n);
|
|
1277
|
+
} } }) : i.effectType == "image" ? s("div", { ref: "effectTypeImg", refInFor: !0, staticClass: "effectType-img" }, [e._l(e.imgList, function(a) {
|
|
1278
|
+
return [s("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: a, expression: "ite" }], ref: `img_${a}`, refInFor: !0, staticClass: "img-data", staticStyle: { width: "auto", height: "18px" }, attrs: { "data-class": "el-table__body-wrapper", "data-url": a }, on: { click: function(r) {
|
|
1279
|
+
return e.showImg(i, n, a);
|
|
1280
|
+
} } })];
|
|
1281
|
+
})], 2) : i.effectType == "checkbox" ? s("Checkboxs", { attrs: { item: i, row: e.record } }) : i.effectType == "select" || i.effectType == "radio" || i.effectType == "switch" ? s("DictSwitch", { attrs: { item: i, row: n }, on: { operatorScope: function(a) {
|
|
1282
|
+
return e.operatorScope(i, n);
|
|
1283
|
+
} } }) : i.effectType == "participants" ? s("Participants", { attrs: { item: i, row: n }, on: { baseQuickForm: (a) => e.baseQuickForm(a, i) } }) : s("div", { staticClass: "line1", class: i.hyperlink ? "active-color active-items" : "" }, [s("span", { on: { click: function(a) {
|
|
1284
|
+
return a.stopPropagation(), e.operatorScope(i, n);
|
|
1285
|
+
} } }, [e._v(e._s(n[i.prop]))])])];
|
|
1286
|
+
} };
|
|
1287
|
+
})], null, !0) })], 1)]) : e._e(), s("findBy", { ref: "findBy", on: { ok: e.findByOk } }), s("findList", { ref: "findList", attrs: { id: e.id }, on: { ok: e.sbumitOk } }), s("gd-search", { ref: "engineSearch", attrs: { disabled: !0, showView: !0, appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } }), s("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } }), e.showComponent === "filePreview" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: e.fileOptions }, on: { closed: e.closedPreview } }) : e._e(), s("gd-middleware", { ref: "middleware", on: { ok: function(i) {
|
|
1288
|
+
return e.refresh(!1);
|
|
1289
|
+
} } })], 1);
|
|
1290
|
+
}, _e = [], ve = /* @__PURE__ */ c(
|
|
1291
|
+
ge,
|
|
1292
|
+
ye,
|
|
1293
|
+
_e,
|
|
1294
|
+
!1,
|
|
1295
|
+
null,
|
|
1296
|
+
"54242469",
|
|
1297
|
+
null,
|
|
1298
|
+
null
|
|
1299
|
+
);
|
|
1300
|
+
const be = ve.exports;
|
|
1301
|
+
const we = {
|
|
1302
|
+
name: "GdScreenCrowd",
|
|
1303
|
+
components: {
|
|
1304
|
+
screenTable: be
|
|
1305
|
+
},
|
|
1306
|
+
props: {
|
|
1307
|
+
record: {
|
|
1308
|
+
type: Object,
|
|
1309
|
+
default: () => ({})
|
|
1310
|
+
},
|
|
1311
|
+
tableData: {
|
|
1312
|
+
type: Object,
|
|
1313
|
+
default: () => ({})
|
|
1314
|
+
},
|
|
1315
|
+
id: {
|
|
1316
|
+
type: [String, Number],
|
|
1317
|
+
default: ""
|
|
1318
|
+
},
|
|
1319
|
+
parameterData: {
|
|
1320
|
+
type: Object,
|
|
1321
|
+
default: () => ({})
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
data() {
|
|
1325
|
+
return {
|
|
1326
|
+
load: !1,
|
|
1327
|
+
fkEntity: [],
|
|
1328
|
+
fkEntityName: "",
|
|
1329
|
+
fkData: {},
|
|
1330
|
+
viewId: "",
|
|
1331
|
+
tableId: "",
|
|
1332
|
+
type: "1"
|
|
1333
|
+
};
|
|
1334
|
+
},
|
|
1335
|
+
watch: {
|
|
1336
|
+
id: {
|
|
1337
|
+
handler(t) {
|
|
1338
|
+
this.changeId(t);
|
|
1339
|
+
},
|
|
1340
|
+
deep: !0,
|
|
1341
|
+
immediate: !0
|
|
1342
|
+
},
|
|
1343
|
+
record: {
|
|
1344
|
+
handler(t) {
|
|
1345
|
+
},
|
|
1346
|
+
deep: !0,
|
|
1347
|
+
immediate: !0
|
|
1348
|
+
},
|
|
1349
|
+
parameterData: {
|
|
1350
|
+
handler(t) {
|
|
1351
|
+
setTimeout(() => {
|
|
1352
|
+
this.change(this.id, this.record);
|
|
1353
|
+
}, 10);
|
|
1354
|
+
},
|
|
1355
|
+
deep: !0,
|
|
1356
|
+
immediate: !0
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
methods: {
|
|
1360
|
+
changColumns(t) {
|
|
1361
|
+
let e = [...this.fkEntity];
|
|
1362
|
+
e.map((s) => (s.fkEntityName == t.fkEntityName && (s.columns = t.columns), s)), this.fkEntity = [...e];
|
|
1363
|
+
},
|
|
1364
|
+
change(t, e) {
|
|
1365
|
+
let s = !1, i = this.parameterData.listobjecttype, l = this.parameterData.listmembertype, n = this.fkEntity.filter((a) => a.code == i)[0];
|
|
1366
|
+
n != null && (s = this.fkEntityName != n.code, this.fkData = n, this.fkEntityName = n.fkEntityName, this.viewId = n.viewId, this.tableId = n.id), s && this.$refs.screenTable.open(), this.type = l || "2";
|
|
1367
|
+
},
|
|
1368
|
+
changeId(t) {
|
|
1369
|
+
this.$nextTick(() => {
|
|
1370
|
+
setTimeout(() => {
|
|
1371
|
+
this.$refs.screenTable.getDetail(t);
|
|
1372
|
+
}, 0);
|
|
1373
|
+
});
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
mounted() {
|
|
1377
|
+
this.fkEntity = this.record.fkEntity;
|
|
1378
|
+
}
|
|
1379
|
+
};
|
|
1380
|
+
var $e = function() {
|
|
1381
|
+
var e = this, s = e._self._c;
|
|
1382
|
+
return s("div", [s("screenTable", { ref: "screenTable", attrs: { record: e.fkData, id: e.id, viewCode: e.viewId, tableId: e.tableId, tableDatas: e.tableData, fkEntityName: e.fkEntityName, type: e.type }, on: { columns: e.changColumns } })], 1);
|
|
1383
|
+
}, ke = [], Se = /* @__PURE__ */ c(
|
|
1384
|
+
we,
|
|
1385
|
+
$e,
|
|
1386
|
+
ke,
|
|
1387
|
+
!1,
|
|
1388
|
+
null,
|
|
1389
|
+
"a24ad921",
|
|
1390
|
+
null,
|
|
1391
|
+
null
|
|
1392
|
+
);
|
|
1393
|
+
const Ge = Se.exports;
|
|
1394
|
+
const Ce = {
|
|
1395
|
+
props: {
|
|
1396
|
+
selectItem: {
|
|
1397
|
+
type: Object,
|
|
1398
|
+
required: !0
|
|
1399
|
+
},
|
|
1400
|
+
tableNameData: {
|
|
1401
|
+
type: Array,
|
|
1402
|
+
default: () => []
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1405
|
+
data() {
|
|
1406
|
+
return {
|
|
1407
|
+
buttons: [
|
|
1408
|
+
{
|
|
1409
|
+
displayName: "\u786E\u5B9A",
|
|
1410
|
+
functionName: "handleSubmit",
|
|
1411
|
+
show: !0,
|
|
1412
|
+
transKey: "gd.btn.confirm",
|
|
1413
|
+
icon: "el-icon-document-checked"
|
|
1414
|
+
}
|
|
1415
|
+
],
|
|
1416
|
+
spinning: !1,
|
|
1417
|
+
visible: !1,
|
|
1418
|
+
confirmLoading: !0,
|
|
1419
|
+
list: [],
|
|
1420
|
+
fullscreen: !1,
|
|
1421
|
+
width: "600px"
|
|
1422
|
+
};
|
|
1423
|
+
},
|
|
1424
|
+
computed: {
|
|
1425
|
+
...d(["tableSize", "screenHeight", "primaryColor", "tableLists", "tablePageSize"])
|
|
1426
|
+
},
|
|
1427
|
+
methods: {
|
|
1428
|
+
toggleFullscreen() {
|
|
1429
|
+
this.fullscreen = !this.fullscreen;
|
|
1430
|
+
},
|
|
1431
|
+
closed() {
|
|
1432
|
+
this.fullscreen = !1, this.visible = !1;
|
|
1433
|
+
},
|
|
1434
|
+
getPopupContainer(t) {
|
|
1435
|
+
return t.parentElement;
|
|
1436
|
+
},
|
|
1437
|
+
open() {
|
|
1438
|
+
this.fullscreen = !1;
|
|
1439
|
+
let t = this.selectItem.options.fkEntity, e = [];
|
|
1440
|
+
t.forEach((s, i) => {
|
|
1441
|
+
let l = this.tableLists.filter((a) => a.tablename == s.fkEntityName)[0];
|
|
1442
|
+
t[i].busName = l.busName, t[i].id = l.id;
|
|
1443
|
+
let n = this.getView({ SysCodeGenId: l.id }).then((a) => {
|
|
1444
|
+
this.setFkData(i, a.data);
|
|
1445
|
+
});
|
|
1446
|
+
e.push(n);
|
|
1447
|
+
}), this.list = [...t], Promise.all(e).then((s) => {
|
|
1448
|
+
this.confirmLoading = !1;
|
|
1449
|
+
}), this.visible = !0;
|
|
1450
|
+
},
|
|
1451
|
+
setFkData(t, e) {
|
|
1452
|
+
let s = [...this.list];
|
|
1453
|
+
s[t].list = e, this.list = [...s];
|
|
1454
|
+
},
|
|
1455
|
+
getView(t) {
|
|
1456
|
+
return R(t).then((e) => e);
|
|
1457
|
+
},
|
|
1458
|
+
cancel() {
|
|
1459
|
+
this.visible = !1;
|
|
1460
|
+
},
|
|
1461
|
+
handleSubmit() {
|
|
1462
|
+
if (!this.isChecked()) {
|
|
1463
|
+
this.$message.error(this.$i18nt("gd.approval.replenishData", "\u8BF7\u8865\u5145\u6570\u636E"));
|
|
1464
|
+
return;
|
|
1465
|
+
}
|
|
1466
|
+
let t = [];
|
|
1467
|
+
this.list.forEach((e) => {
|
|
1468
|
+
t.push({
|
|
1469
|
+
fkEntityName: e.fkEntityName,
|
|
1470
|
+
code: e.code,
|
|
1471
|
+
viewId: e.viewId,
|
|
1472
|
+
id: e.id
|
|
1473
|
+
});
|
|
1474
|
+
}), this.selectItem.options.fkEntity = [...t], this.$emit("ok", t), this.closed();
|
|
1475
|
+
},
|
|
1476
|
+
isChecked() {
|
|
1477
|
+
return this.list.every((t, e, s) => t.viewId != null);
|
|
1478
|
+
},
|
|
1479
|
+
doEvent(t) {
|
|
1480
|
+
const e = t.item.functionName;
|
|
1481
|
+
this[e] && this[e]();
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
};
|
|
1485
|
+
var xe = function() {
|
|
1486
|
+
var e = this, s = e._self._c;
|
|
1487
|
+
return s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !0, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
1488
|
+
e.visible = i;
|
|
1489
|
+
}, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.$i18nt("gd.form.selUseView", "\u9009\u62E9\u4F7F\u7528\u89C6\u56FE"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("div", [s("el-form", [s("el-row", { attrs: { gutter: 24 } }, [s("el-col", { staticStyle: { "text-align": "left" }, attrs: { span: 12 } }, [e._v(" " + e._s(e.$i18nt("gd.flow.process.table", "\u8868")) + " ")]), s("el-col", { staticStyle: { "text-align": "left" }, attrs: { span: 12 } }, [e._v(" " + e._s(e.$i18nt("gd.form.useView", "\u4F7F\u7528\u89C6\u56FE")) + " ")])], 1), e._l(e.list, function(i, l) {
|
|
1490
|
+
return s("div", { key: l, staticClass: "option-change-box" }, [s("el-row", { attrs: { gutter: 24 } }, [s("el-col", { attrs: { span: 12 } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: i.fkEntityName, callback: function(n) {
|
|
1491
|
+
e.$set(i, "fkEntityName", n);
|
|
1492
|
+
}, expression: "item.fkEntityName" } }, e._l(e.tableLists, function(n) {
|
|
1493
|
+
return s("el-option", { key: n.tablename, attrs: { label: e.$i18nt(`Dynamics.${n.transkey}`, n.busname) + n.tablename, value: n.tablename } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.busname)) + " " + e._s(n.tablename) + " ")]);
|
|
1494
|
+
}), 1)], 1), s("el-col", { attrs: { span: 12 } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: i.viewId, callback: function(n) {
|
|
1495
|
+
e.$set(i, "viewId", n);
|
|
1496
|
+
}, expression: "item.viewId" } }, e._l(i.list, function(n, a) {
|
|
1497
|
+
return s("el-option", { key: n.id, attrs: { value: n.id, label: e.$i18nt(`Dynamics.${n.transKey}`, n.name) } });
|
|
1498
|
+
}), 1)], 1)], 1)], 1);
|
|
1499
|
+
})], 2)], 1)])], 2);
|
|
1500
|
+
}, Te = [], Fe = /* @__PURE__ */ c(
|
|
1501
|
+
Ce,
|
|
1502
|
+
xe,
|
|
1503
|
+
Te,
|
|
1504
|
+
!1,
|
|
1505
|
+
null,
|
|
1506
|
+
"86027d05",
|
|
1507
|
+
null,
|
|
1508
|
+
null
|
|
1509
|
+
);
|
|
1510
|
+
const Ne = Fe.exports;
|
|
1511
|
+
const Ie = {
|
|
1512
|
+
props: {
|
|
1513
|
+
selectItem: {
|
|
1514
|
+
type: Object,
|
|
1515
|
+
required: !0
|
|
1516
|
+
},
|
|
1517
|
+
loadData: {
|
|
1518
|
+
type: Array,
|
|
1519
|
+
default: () => []
|
|
1520
|
+
},
|
|
1521
|
+
tableNameData: {
|
|
1522
|
+
type: Array,
|
|
1523
|
+
default: () => []
|
|
1524
|
+
}
|
|
1525
|
+
},
|
|
1526
|
+
components: {
|
|
1527
|
+
viewSel: Ne
|
|
1528
|
+
},
|
|
1529
|
+
data() {
|
|
1530
|
+
return {};
|
|
1531
|
+
},
|
|
1532
|
+
methods: {
|
|
1533
|
+
fkEntityOk(t) {
|
|
1534
|
+
this.selectItem.fkEntity = [...t];
|
|
1535
|
+
},
|
|
1536
|
+
open() {
|
|
1537
|
+
this.setScreen();
|
|
1538
|
+
},
|
|
1539
|
+
setScreen() {
|
|
1540
|
+
if (this.selectItem.options.operationField === void 0) {
|
|
1541
|
+
this.$message.warning(this.$i18nt("gd.crowd.monitorTarget", "\u8BF7\u9009\u62E9\u76D1\u542C\u76EE\u6807\u5BF9\u8C61"));
|
|
1542
|
+
return;
|
|
1543
|
+
}
|
|
1544
|
+
let t = this.loadData.filter((i) => i.id == this.selectItem.options.operationField)[0], e = this.getDictionary(t.dicttypecode), s = [];
|
|
1545
|
+
this.selectItem.options.fkEntity.length > 0 ? s = [...this.selectItem.options.fkEntity] : e.forEach((i) => {
|
|
1546
|
+
s.push({ fkEntityName: i.remark, code: i.code, viewId: "" });
|
|
1547
|
+
}), this.selectItem.options.fkEntity = s, this.$refs.viewSel.open();
|
|
1548
|
+
},
|
|
1549
|
+
handleDelete(t) {
|
|
1550
|
+
this.selectItem.filter = this.selectItem.filter.filter((e, s) => s != t);
|
|
1551
|
+
},
|
|
1552
|
+
handleAdd() {
|
|
1553
|
+
let t = { fieldName: "", fieldValue: null };
|
|
1554
|
+
this.selectItem.filter.push(t);
|
|
1555
|
+
},
|
|
1556
|
+
getDictionary(t) {
|
|
1557
|
+
return this.$options.filters.dictData(t);
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
};
|
|
1561
|
+
var Le = function() {
|
|
1562
|
+
var e = this, s = e._self._c;
|
|
1563
|
+
return s("div", [s("viewSel", { ref: "viewSel", attrs: { selectItem: e.selectItem }, on: { ok: e.fkEntityOk } })], 1);
|
|
1564
|
+
}, De = [], Oe = /* @__PURE__ */ c(
|
|
1565
|
+
Ie,
|
|
1566
|
+
Le,
|
|
1567
|
+
De,
|
|
1568
|
+
!1,
|
|
1569
|
+
null,
|
|
1570
|
+
"a6cbed3d",
|
|
1571
|
+
null,
|
|
1572
|
+
null
|
|
1573
|
+
);
|
|
1574
|
+
const Ue = Oe.exports;
|
|
1575
|
+
export {
|
|
1576
|
+
Ge as S,
|
|
1577
|
+
Ue as a,
|
|
1578
|
+
ze as b,
|
|
1579
|
+
Qe as c,
|
|
1580
|
+
Ae as d,
|
|
1581
|
+
He as e,
|
|
1582
|
+
qe as f,
|
|
1583
|
+
Me as t
|
|
1584
|
+
};
|