ludc
2024-12-30 9c0f8e3576aecba48aa00bd4347e6dae58ceb2ae
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4fdd3b98"],{"35ec":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{height:"calc(100% - 4px)"}},[e.uiDefineVO.northAreas&&e.uiDefineVO.northAreas.length>0?t("el-header",[t("UIContentArea",{key:"northArea-"+e.uiDefineVO.oid,attrs:{uiBtmType:e.btmType,uiContext:e.context,areasData:e.uiDefineVO.northAreas,dataStore:e.checkedData.northAreaInDialog.data,paramVOS:e.paramVOS,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,sourceData:e.sourceData,sourceBtmType:e.btmType,"areas-name":"northAreaInDialog"},on:{setData:e.setData,setDataStore:e.setDataStore}})],1):e._e(),t("el-container",{style:"height: "+(e.uiDefineVO.northAreas&&e.uiDefineVO.northAreas.length>0?"calc(100% - 70px)":"100%")},[e.uiDefineVO.westAreas&&e.uiDefineVO.westAreas.length>0?t("el-aside",{attrs:{width:"table"==e.uiDefineVO.westAreas[0].componentVOs[0].uiComponentType||"TreeTable"==e.uiDefineVO.westAreas[0].componentVOs[0].uiComponentType?"420px":"320px",height:"100%"}},[t("UIContentArea",{key:"westArea-"+e.uiDefineVO.oid,attrs:{uiBtmType:e.btmType,uiContext:e.context,areasData:e.uiDefineVO.westAreas,dataStore:e.checkedData.westAreaInDialog.data,paramVOS:e.paramVOS,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,sourceData:e.sourceData,sourceBtmType:e.btmType,"areas-name":"westAreaInDialog",cradStyle:""},on:{setData:e.setData,setDataStore:e.setDataStore}})],1):e._e(),t("el-container",{staticStyle:{height:"100%",display:"block"}},[e.uiDefineVO.centerAreas&&e.uiDefineVO.centerAreas.length>0?t("el-main",{style:"min-height: 200px;height: "+e.centerHeight},[t("UIContentArea",{key:"centerArea-"+e.uiDefineVO.oid,attrs:{uiBtmType:e.btmType,uiContext:e.context,areasData:e.uiDefineVO.centerAreas,dataStore:e.checkedData.centerAreaInDialog.data,paramVOS:e.paramVOS,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,sourceData:e.uiDefineVO.westAreas&&e.uiDefineVO.westAreas.length>0?e.checkedData.westAreaInDialog.data[e.checkedData.westAreaInDialog.data.length-1]:e.sourceData,sourceBtmType:e.uiDefineVO.westAreas&&e.uiDefineVO.westAreas.length>0?e.checkedData.westAreaInDialog.DefineVOBtmType:e.btmType,"areas-name":"centerAreaInDialog",cradStyle:""},on:{setData:e.setData,setDataStore:e.setDataStore}})],1):e._e(),e.uiDefineVO.southAreas&&e.uiDefineVO.southAreas.length>0?t("el-footer",{staticStyle:{"min-height":"100px"},attrs:{height:"35%"}},[t("UIContentArea",{key:"southArea-"+e.uiDefineVO.oid,attrs:{uiBtmType:e.btmType,uiContext:e.context,areasData:e.uiDefineVO.southAreas,dataStore:e.checkedData.southAreaInDialog.data,paramVOS:e.paramVOS,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,sourceData:e.checkedData.centerAreaInDialog.data[e.checkedData.centerAreaInDialog.data.length-1],sourceBtmType:e.checkedData.centerAreaInDialog.DefineVOBtmType,"areas-name":"southAreaInDialog",cradStyle:""},on:{setData:e.setData,setDataStore:e.setDataStore}})],1):e._e()],1)],1)],1)},i=[],o=a("d7b5"),s=a("c54a"),c=a("6efd"),r={name:"UIContentViewerInDialog",components:{UIContentArea:o["default"]},props:{btmType:{type:String},context:{type:String},inDialog:{type:Boolean,default:!1},canEdit:{type:Boolean,default:!1},actionType:{default:"add"},sourceData:{type:Object,default:{}},dataStore:{type:Array,default:[]},paramVOS:{type:Object,default:{}}},data:function(){return{checkedData:{northAreaInDialog:{DefineVOBtmType:"",data:[{}]},westAreaInDialog:{DefineVOBtmType:"",data:[{}]},centerAreaInDialog:{DefineVOBtmType:"",data:[{}]},southAreaInDialog:{DefineVOBtmType:"",data:[{}]}},data:{northAreaInDialog:{type:"",DefineVO:null,data:null},westAreaInDialog:{type:"",DefineVO:null,data:null},centerAreaInDialog:{type:"",DefineVO:null,data:null},southAreaInDialog:{type:"",DefineVO:null,data:null}},uiDefineVO:{},centerHeight:"100%"}},watch:{typeAndContext:{handler:function(e,t){t==e||Object(s["d"])(e)||this.initUI()},immediate:!0}},computed:{typeAndContext:function(){return this.btmType+this.context}},created:function(){if(Object(s["d"])(this.btmType)||Object(s["d"])(this.context))return this.$message.error("自定义组件配置的信息错误,请参考”?type=xxx&context=yyy&param=zzz“这种形式。其中type是业务类型(或链接类型),context是UI上下文的名称"),!1},methods:{initUI:function(){var e=this;Object(c["getUIContext"])({btmType:this.btmType,id:this.context}).then((function(t){e.uiDefineVO=t.data.obj,e.initContext()}))},initContext:function(){this.uiDefineVO.southAreas&&this.uiDefineVO.southAreas.length>0?this.centerHeight="65%":this.centerHeight="100%",this.uiDefineVO.westAreas&&this.uiDefineVO.westAreas.length>0?this.checkedData.westAreaInDialog.data=this.dataStore:this.uiDefineVO.centerAreas&&this.uiDefineVO.centerAreas.length>0?this.checkedData.centerAreaInDialog.data=this.dataStore:this.checkedData.southAreaInDialog.data=this.dataStore},setData:function(e){this.data[e.area].DefineVO=e.currentDefineVO,this.data[e.area].data=e.data,this.data[e.area].type=e.type},setDataStore:function(e){this.checkedData[e.area].DefineVOBtmType=e.btmType,this.checkedData[e.area].data=e.dataStore}}},u=r,l=(a("9dba"),a("2877")),d=Object(l["a"])(u,n,i,!1,null,"3d8ea6b3",null);t["default"]=d.exports},"3f55":function(e,t,a){},"4adc":function(e,t,a){var n={"./App.vue":["3dfd"],"./components/Divider/index.vue":["4760"],"./components/PLT-basic-component/basicForm.vue":["6f49"],"./components/PLT-basic-component/formUpload.vue":["2d9b"],"./components/PLT-basic-component/iconShow.vue":["0334"],"./components/PLT-basic-component/input-icon.vue":["fd74"],"./components/PLT-basic-component/richText.vue":["ead1"],"./components/PLT-basic-component/transfer.vue":["0d7e"],"./components/PLT-basic-component/transferSelect.vue":["8d8a","chunk-2d0e944b"],"./components/PLT-basic-component/upload-file.vue":["df46"],"./components/actions/base/AddEditDialog.vue":["6af5","chunk-975089b6"],"./components/actions/base/RevisionDialog.vue":["d301","chunk-7ec9bb0f"],"./components/actions/base/ViewDialog.vue":["9f2d","chunk-09fbc3a9"],"./components/actions/base/downLoadFile.vue":["ee64","chunk-2d230c54"],"./components/actions/base/startWorkFlow.vue":["313c","chunk-286f3c1a"],"./components/actions/base/uploadFile.vue":["af5a","chunk-3c390539"],"./components/actions/custom/AddResourceFolderDialog.vue":["4c9d","chunk-5f50e4ed"],"./components/basic-block/main.vue":["c0fb"],"./components/basic-container/main.vue":["dc8a"],"./components/dynamic-components/dynamic-button.vue":["8928"],"./components/dynamic-components/dynamic-custom.vue":["9bfe"],"./components/dynamic-components/dynamic-form.vue":["6d91"],"./components/dynamic-components/dynamic-table-form.vue":["7918"],"./components/dynamic-components/dynamic-table.vue":["754e"],"./components/dynamic-components/dynamic-tree.vue":["4d74"],"./components/dynamic-components/dynamic-uiParse.vue":["fe5e"],"./components/dynamic-components/index.vue":["aa0f"],"./components/error-page/403.vue":["a8d0","chunk-3c525d6b"],"./components/error-page/404.vue":["a5fa","chunk-563301bf"],"./components/error-page/500.vue":["611b","chunk-8ce9a334"],"./components/file/list.vue":["7955","chunk-2d0d7df8"],"./components/flow-cycle/components/ContextMenu.vue":["759a","chunk-2d21a7a6","chunk-9417558a","chunk-2d706637"],"./components/flow-cycle/components/ContextMenuItem.vue":["c92d","chunk-2d21a7a6","chunk-9417558a"],"./components/flow-cycle/components/CustomCommand.vue":["b51c","chunk-2d21a7a6","chunk-2d20fa9b"],"./components/flow-cycle/components/DetailForm.vue":["36f1","chunk-d31a8ebc"],"./components/flow-cycle/components/DetailPanel.vue":["cfad","chunk-2d21a7a6","chunk-d31a8ebc","chunk-de8192b6"],"./components/flow-cycle/components/EditorMinimap.vue":["edbf","chunk-2d21a7a6","chunk-2d230e19"],"./components/flow-cycle/components/Icon.vue":["af3e","chunk-6b492ce7"],"./components/flow-cycle/components/ItemPanel.vue":["75de","chunk-2d21a7a6","chunk-beca18fa"],"./components/flow-cycle/components/Toolbar.vue":["6609","chunk-2d21a7a6","chunk-0d976098"],"./components/flow-cycle/components/ToolbarButton.vue":["34c0","chunk-2d21a7a6","chunk-511df358"],"./components/flow-cycle/flowchartEditor.vue":["d49b","chunk-2d21a7a6","chunk-d31a8ebc","chunk-9417558a","chunk-5b3aef70"],"./components/flow-design/main.vue":["010b"],"./components/iframe/main.vue":["c1a1","chunk-49c5d573"],"./components/refer/BasicClassifyRefer.vue":["4e70"],"./components/refer/orgDeptRefer.vue":["1c3a"],"./components/refer/orgUserRefer.vue":["1fc5"],"./components/refer/vciWebRefer.vue":["6e8c"],"./components/refer/vciWebReferClassify.vue":["7732"],"./components/refer/vciWebReferDefalut.vue":["89bb"],"./components/refer/vciWebReferTable.vue":["b12a"],"./components/refer/vciWebReferTree.vue":["bd80"],"./components/system/department.vue":["4968","chunk-2d0c20fd"],"./components/third-register/main.vue":["63e7"],"./page/index/index.vue":["9cc4"],"./page/index/layout.vue":["9277","chunk-4f457887"],"./page/index/logo.vue":["7d3a"],"./page/index/search.vue":["76c2"],"./page/index/sidebar/index.vue":["20bf"],"./page/index/sidebar/sidebarItem.vue":["7505"],"./page/index/tags.vue":["5ddc"],"./page/index/top/index.vue":["195f"],"./page/index/top/top-color.vue":["44b2"],"./page/index/top/top-lang.vue":["c7cc"],"./page/index/top/top-lock.vue":["14cd"],"./page/index/top/top-logs.vue":["0f22"],"./page/index/top/top-menu.vue":["286c"],"./page/index/top/top-notice.vue":["ad51"],"./page/index/top/top-search.vue":["9812"],"./page/index/top/top-theme.vue":["107f"],"./page/lock/index.vue":["15c5","chunk-047bb2c4"],"./page/login/authredirect.vue":["84a6","chunk-2d0de4e7"],"./page/login/index.vue":["5596","chunk-5f34b850"],"./page/login/thirdlogin.vue":["124f","chunk-1a7f756a"],"./page/login/userlogin.vue":["7c05","chunk-2d0e1b07"],"./page/logs/index.vue":["08ae"],"./views/authority/apiscope.vue":["646e","chunk-4efd7800"],"./views/authority/datascope.vue":["879d","chunk-54a8fc7a"],"./views/authority/function/functionView/index.vue":["56ae","chunk-351e250f"],"./views/authority/role.vue":["60f8","chunk-2d0cedc2"],"./views/authority/secure/classification/index.vue":["70a8","chunk-979b8bd8"],"./views/authority/secure/machineClassification/index.vue":["96fd","chunk-2d0e6191"],"./views/authority/ui/dataAuthorization/dataView.vue":["78bd","chunk-bb57c83e","chunk-61fcacf2"],"./views/authority/ui/dataAuthorization/index.vue":["e7e9","chunk-bb57c83e","chunk-2be12ed9"],"./views/authority/ui/typeAction/index.vue":["5a15","chunk-47c93b35"],"./views/authority/ui/uiAuthorization/UIDialog.vue":["106f","chunk-2d0aa245"],"./views/authority/ui/uiAuthorization/index.vue":["cf22","chunk-2f381b0e"],"./views/base/UIContentArea.vue":["d7b5"],"./views/base/UIContentViewer.vue":["5954","chunk-6396f4ba"],"./views/base/UIContentViewerInDialog.vue":["35ec"],"./views/base/ViewTab.vue":["f435","chunk-968a0d50"],"./views/base/region.vue":["0f19","chunk-4cb6cb26"],"./views/custom-ui/product.vue":["cd84","chunk-2d222013"],"./views/custom-ui/test.vue":["fed7","chunk-5bd6ffa5"],"./views/custom-ui/test2.vue":["bcc5","chunk-2d21ad29"],"./views/custom-ui/testFileTable.vue":["d3f9","chunk-a67719f2"],"./views/desk/notice.vue":["363c","chunk-2d0ba129"],"./views/flow/deploy.vue":["f072","chunk-389a9bf2"],"./views/flow/follow.vue":["41c2","chunk-1f2d5b68"],"./views/flow/manager.vue":["2498","chunk-4d4b38ea"],"./views/flow/model.vue":["95d0","chunk-0d75d620"],"./views/modelingMenu/modeling/attributePool/index.vue":["4a06","chunk-586e3650"],"./views/modelingMenu/modeling/businessType/index.vue":["e7e5","chunk-08c80080"],"./views/modelingMenu/modeling/enumType/index.vue":["325c","chunk-13a4f1de"],"./views/modelingMenu/modeling/lifeCycle/index.vue":["3b2c","chunk-2d21a7a6","chunk-d31a8ebc","chunk-9417558a","chunk-3f2f9e9e"],"./views/modelingMenu/modeling/linkType/index.vue":["f436","chunk-b82b750c"],"./views/modelingMenu/modeling/statusPool/index.vue":["ba2d","chunk-9848df5e"],"./views/modelingMenu/modeling/versioning/index.vue":["5e81d","chunk-1b7a8377"],"./views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue":["1edf","chunk-bb57c83e","chunk-0842f9ee"],"./views/modelingMenu/queryTemplate/businessTypeQuery/index.vue":["9f59","chunk-bb57c83e","chunk-ec8862a4"],"./views/modelingMenu/queryTemplate/linkTypeQuery/formDialog.vue":["5b00","chunk-bb57c83e","chunk-f344b29a"],"./views/modelingMenu/queryTemplate/linkTypeQuery/formQueryDialog.vue":["4b9e","chunk-bb57c83e"],"./views/modelingMenu/queryTemplate/linkTypeQuery/index.vue":["cc37","chunk-bb57c83e","chunk-5d338c7e"],"./views/modelingMenu/queryTemplate/queryDefine/index.vue":["127e","chunk-08b347fe"],"./views/modelingMenu/ui/Aciton/components/dialog.vue":["a638","chunk-f0e98a56"],"./views/modelingMenu/ui/Aciton/index.vue":["3c15","chunk-a2721a8e"],"./views/modelingMenu/ui/Icons/index.vue":["9b3d","chunk-b4151784"],"./views/modelingMenu/ui/formDefine/components/formDialog.vue":["d35e","chunk-4725ea6a","chunk-2d0e6678"],"./views/modelingMenu/ui/formDefine/components/tableDialog.vue":["daff","chunk-95ccb8c2"],"./views/modelingMenu/ui/formDefine/index.vue":["4a83","chunk-4725ea6a","chunk-79d952fd"],"./views/modelingMenu/ui/uiDefine/index.vue":["450b","chunk-c7639416","chunk-07cf296d"],"./views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue":["2771","chunk-c7639416","chunk-2d0e6678"],"./views/modelingMenu/ui/uiDefine/rightRegion/cloneDialog.vue":["0080","chunk-2d0a2dee"],"./views/modelingMenu/ui/uiDefine/rightRegion/plShow.vue":["4425","chunk-c7639416","chunk-46fc8a86"],"./views/monitor/log/api.vue":["2ba9","chunk-2d0bd75e"],"./views/monitor/log/error.vue":["7501","chunk-2d0d6e55"],"./views/monitor/log/usual.vue":["5bab","chunk-2d0d34a4"],"./views/report/reportlist.vue":["37fc","chunk-2d0bab17"],"./views/resource/attach.vue":["5ae6","chunk-2d0d3133"],"./views/resource/oss.vue":["464a","chunk-2d0c15a5"],"./views/resource/sms.vue":["2257","chunk-2d0b1dd8"],"./views/system/client.vue":["9765","chunk-2d0e5f53"],"./views/system/department/index.vue":["2949","chunk-4c1210c2"],"./views/system/dept.vue":["88b6","chunk-2d0df40a"],"./views/system/dict.vue":["6bce","chunk-2d0da944"],"./views/system/dictbiz.vue":["b74c","chunk-2d21027a"],"./views/system/fileCab/index.vue":["ca37","chunk-3def4d29"],"./views/system/log/basicConf.vue":["c3d0","chunk-05bbc016"],"./views/system/log/index.vue":["b380","chunk-087bebfc"],"./views/system/menu.vue":["5d8a","chunk-216e52d5"],"./views/system/param.vue":["09e0f","chunk-7440507c"],"./views/system/password/index.vue":["df26","chunk-22fc9b04"],"./views/system/post.vue":["156f","chunk-2d0ab50a"],"./views/system/role/index.vue":["70eb","chunk-7e6a97b5"],"./views/system/tenant.vue":["14a7","chunk-2d0ab64f"],"./views/system/tenantpackage.vue":["6ab1"],"./views/system/topmenu.vue":["e62a","chunk-923c5cee"],"./views/system/user.vue":["b979","chunk-dc85d1c0"],"./views/system/user/index.vue":["1f34","chunk-224effe6"],"./views/system/userInfo/index.vue":["4c5f","chunk-8578ae6c","chunk-2d0cbeb6"],"./views/system/userInfo/userAvatar.vue":["79c7","chunk-8578ae6c"],"./views/systemModel/businessModel/index.vue":["da54","chunk-e79082b6"],"./views/systemModel/mangeModel/index.vue":["2501","chunk-5d30a090"],"./views/systemModel/operateType/index.vue":["26b0","chunk-4fdadf64"],"./views/systemModel/systemConfig/index.vue":["587d","chunk-16f62c3b"],"./views/systemModel/systemMonitor/index.vue":["c667","chunk-4787b881"],"./views/test.vue":["2762","chunk-2d0b30b7"],"./views/test/referDemo/DynamicsFrom.vue":["8265","chunk-4141271c"],"./views/test/referDemo/index.vue":["7ac5","chunk-70f6d610"],"./views/test/referDemo/referDemoDialog.vue":["df1e","chunk-150e2e9b"],"./views/tool/code.vue":["5e0a","chunk-3bc421e0"],"./views/tool/datasource.vue":["8ef7","chunk-2d0e9d74"],"./views/tool/model.vue":["9f73","chunk-05c5f436"],"./views/util/affix.vue":["9b9b","chunk-cb549128"],"./views/util/cache.vue":["f100","chunk-2d22bcc1"],"./views/util/crud-form.vue":["7eb6","chunk-2d0e2898"],"./views/util/data.vue":["561f","chunk-2d0c89ac"],"./views/util/demo/dict-classic.vue":["0983","chunk-2d0a4fba"],"./views/util/demo/dict-horizontal.vue":["6486","chunk-2d0cf732"],"./views/util/demo/dict-vertical.vue":["dd4b","chunk-2d229424"],"./views/util/demo/dict.vue":["0546","chunk-2d0a403d"],"./views/util/demo/dictbiz.vue":["cdb7","chunk-2d22252c"],"./views/util/form-detail.vue":["a597","chunk-2d208708"],"./views/util/form.vue":["5589","chunk-2d0c8697"],"./views/util/logs.vue":["2004","chunk-2d0b15b8"],"./views/util/permission.vue":["5789","chunk-2d0c8e19"],"./views/util/store.vue":["88b0","chunk-ba6e6490"],"./views/util/table.vue":["41cf","chunk-2d0c0896"],"./views/util/tags.vue":["5ad2","chunk-2d0d3110"],"./views/util/test.vue":["ab5c","chunk-2d212fa5"],"./views/util/top.vue":["d4c8","chunk-2bab2095"],"./views/wel/adminIndex.vue":["0ca1","chunk-350242a9"],"./views/wel/components/UndoTaskPortlet.vue":["cca9","chunk-2d22214e"],"./views/wel/components/taskPortlet.vue":["c8bd","chunk-2d21802d"],"./views/wel/components/test.vue":["aeb0","chunk-2d214028"],"./views/wel/dashboard.vue":["4b9f","chunk-2d4a3aa1"],"./views/wel/homeConfig.vue":["afc8","chunk-6ca35477"],"./views/wel/index.vue":["4e3c","chunk-3150a582","chunk-1c4d022a","chunk-2d0e6678"],"./views/wel/workIndex.vue":["1fef","chunk-3150a582","chunk-2d0e6678"],"./views/work/claim.vue":["75de3","chunk-221163c4"],"./views/work/done.vue":["cdc3","chunk-59e98a1b"],"./views/work/process/leave/detail.vue":["d26f","chunk-2d21d8b4"],"./views/work/process/leave/form.vue":["eaa2","chunk-2d230283"],"./views/work/process/leave/handle.vue":["6e96","chunk-2d0daf42"],"./views/work/send.vue":["2287","chunk-5a061426"],"./views/work/start.vue":["d9b8","chunk-4efd6f81"],"./views/work/todo.vue":["5670","chunk-2312625c"]};function i(e){if(!a.o(n,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],i=t[0];return Promise.all(t.slice(1).map(a.e)).then((function(){return a(i)}))}i.keys=function(){return Object.keys(n)},i.id="4adc",e.exports=i},"4d74":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"UI-dynamic",attrs:{id:"UI-dynamic-"+e.areasName+e.componentVO.oid}},[e.componentVO.buttons&&e.componentVO.buttons.length>0?t("dynamic-button",{key:e.areasName+"buttons-"+e.componentVO.oid,staticStyle:{"margin-bottom":"5px"},attrs:{componentVO:e.componentVO,butttonList:e.componentVO.buttons,dataStore:e.checkDatas,sourceData:e.sourceData,type:"tree"},on:{afterMethod:e.handleRefresh,refresh:e.initData}}):e._e(),t("el-input",{attrs:{placeholder:"输入关键字进行过滤"},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}}),t("el-tree",{ref:"tree",staticClass:"filter-tree",attrs:{"show-checkbox":e.isMuti,"check-on-click-node":!0,lazy:e.lazy,data:e.data,load:e.loadNode,props:e.defaultProps,"filter-node-method":e.filterNode,"highlight-current":"","node-key":"oid"},on:{check:e.checkNode,"current-change":e.changeNode,"node-click":e.clickNode}})],1)},i=[],o=(a("6762"),a("2fdb"),a("28a5"),a("ac6a"),a("456d"),a("6efd")),s=a("c54a"),c={name:"dynamic-tree",props:{uiBtmType:{type:String},uiContext:{type:String},componentVO:{type:Object,default:{}},inDialog:{type:Boolean,default:!1},canEdit:{type:Boolean,default:!1},actionType:{default:""},areasName:{type:String,default:""},sourceData:{type:Object,default:{}},sourceBtmType:{type:String},dataStore:{type:Array,default:[]},paramVOS:{type:Object,default:{}},isShow:{type:Boolean,default:!0}},watch:{filterText:function(e){this.$refs.tree.filter(e)},isShow:{handler:function(e){}},checkDatas:{handler:function(e){e&&this.$emit("setDataStore",{area:this.areasName,type:this.componentVO.uiComponentType,btmType:this.componentVO.treeDefineVO.btmType,dataStore:e})},deep:!0,immediate:!0},data:{handler:function(e){e&&this.$emit("setData",{area:this.areasName,type:this.componentVO.uiComponentType,currentDefineVO:this.componentVO.treeDefineVO,data:e})},deep:!0,immediate:!0},sourceData:{handler:function(e){this.sourceDataMapParams=this.sourceDataMap(),this.getParams(),this.handleRefresh()},deep:!0,immediate:!0}},data:function(){return{filterText:"",defaultProps:{children:"children",label:"text"},lazy:"node"==this.componentVO.treeDefineVO.loadType,isMuti:!1,data:[],checkDatas:[],currentClickNode:null,params:{},sourceDataMapParams:{}}},created:function(){},mounted:function(){this.componentVO.buttons&&this.componentVO.buttons.length>0&&(this.$children[2].$el.style.height="calc(100% - 50px - "+this.$children[0].$el.clientHeight+"px - 10px)")},methods:{filterNode:function(e,t){return!e||-1!==t[this.defaultProps.label].indexOf(e)},sourceDataMap:function(){var e={};if(Object.keys(this.sourceData).length>0)for(var t in this.sourceData.oid&&(this.sourceData.oid.indexOf("@vcitreesep@")>-1&&(this.sourceData.oid=this.sourceData.oid.split("@vcitreesep@")[1]),e.sourceBtmName=this.sourceBtmType,e.sourceOid=this.sourceData.oid),this.sourceData){var a=this.sourceData[t];["type","context","content","querytemplate","querytype"].includes(t)||(a&&a.constructor===Object?e['sourceData["'+t+'"]']=JSON.stringify(a):e['sourceData["'+t+'"]']=a)}if(Object.keys(this.paramVOS).length>0)for(var n in this.paramVOS)this.paramVOS[n]&&this.paramVOS[n].constructor===Object||["type","context","content","getdataurl","getdatamethod","url","method","uploadfileurl","title","querytemplate","querytype","usesourcedata","component"].includes(n)||(e['sourceData["'+n+'"]']=this.paramVOS[n]);return e},getParams:function(){var e="";this.componentVO.treeDefineVO.showLinkAbs&&(e=this.componentVO.treeDefineVO.showLinkAbs.split(",")[0]);var t=this.sourceData.querytemplate||this.paramVOS.querytemplate,a=0!=this.sourceData.querytype&&(!Object(s["b"])(this.sourceData.linktype)||0!=this.paramVOS.querytype),n={queryAllLevel:!this.lazy,loadType:this.componentVO.treeDefineVO.loadType,multipleSelect:this.isMuti,isMuti:this.isMuti,isQueryAllColumn:!0,btmName:this.componentVO.treeDefineVO.btmType,componentOid:this.componentVO.oid,uiDefineId:this.uiContext,valueField:this.componentVO.treeDefineVO.valueField||"oid",parentFieldName:e,textField:this.componentVO.treeDefineVO.treeNodeExpression,queryTemplate:t,linkTypeFlag:a,rootExpress:this.componentVO.treeDefineVO.rootContent||""},i=this.sourceDataMapParams;this.params=Object.assign({},n,i)},initData:function(){var e=this;this.data=[],Object.keys(this.sourceData).length>0&&this.isShow&&Object(o["getTree"])(null,null,Object.assign({queryRoot:!0},this.params)).then((function(t){e.data=t.data.treeData})).catch((function(t){e.$message.error(t)}))},loadNode:function(e,t){var a=this,n=0===e.level?0:e.data.oid;0!=n&&n.indexOf("@vcitreesep@")>-1&&(n=n.split("@vcitreesep@")[1]);var i=0===e.level?"":e.data.attributes.part&&e.data.attributes.part.btmname||e.data.attributes.folder&&e.data.attributes.folder.btmname||e.data.attributes&&e.data.attributes.btmname||"",s=this.params,c="";this.componentVO.bsDataModel&&-1!=this.componentVO.bsDataModel.indexOf("/")&&(c=this.componentVO.bsDataModel),0===e.level?(s.queryRoot=!0,this.paramVOS.querytemplate&&(c="/api/uiDataController/getDataByTemp")):(delete s.queryRoot,this.paramVOS.querytemplate&&(delete s.queryTemplate,delete s.linkTypeFlag)),Object(o["getTree"])(n,i,s,c).then((function(e){t(e.data.treeData||e.data.obj||[]),a.$nextTick((function(){a.isRefresh&&(a.$refs.tree.setCurrentKey(a.currentClickNode.data.oid),a.isRefresh=!1)}))})).catch((function(e){a.$message.error(e)}))},checkNode:function(e,t){if(this.isMuti){var a=[];t.checkedNodes.forEach((function(e){a.push(e.attributes)})),this.checkDatas=a}},changeNode:function(e,t){this.isMuti||(this.checkDatas=[e.attributes])},clickNode:function(e,t){this.currentClickNode=t},handleRefresh:function(e,t){if("delete"==e||"del"==e)this.$refs.tree.remove(this.currentClickNode),this.currentClickNode=null;else if(this.lazy){if(this.currentClickNode){var a=this.currentClickNode.parent;a.loaded=!1,a.expand(),this.isRefresh=!0,this.$refs.tree.setCurrentNode(this.currentClickNode)}}else this.initData();this.checkDatas=[]}}},r=c,u=(a("b25d"),a("2877")),l=Object(u["a"])(r,n,i,!1,null,"04cbc91a",null);t["default"]=l.exports},5325:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e6e"),core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("28a5"),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__),C_java_workspace_PLATFORM_UI_WEB_Source_plt_web_plt_web_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("ade3"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es7_array_includes__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("6762"),core_js_modules_es7_array_includes__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es7_array_includes__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es6_string_includes__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("2fdb"),core_js_modules_es6_string_includes__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es6_string_includes__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("456d"),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_7__),_util_validate__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("c54a"),_api_base_ui__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("6efd");function ownKeys(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(a),!0).forEach((function(t){Object(C_java_workspace_PLATFORM_UI_WEB_Source_plt_web_plt_web_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}__webpack_exports__["a"]={name:"dynamic-table",props:{uiBtmType:{type:String},uiContext:{type:String},componentVO:{type:Object,default:{}},inDialog:{type:Boolean,default:!1},canEdit:{type:Boolean,default:!1},areasName:{type:String,default:""},sourceData:{type:Object,default:{}},sourceBtmType:{type:String},paramVOS:{type:Object,default:{}},isShow:{type:Boolean,default:!0},dataStore:{type:Array,default:[]},tableType:{type:String}},data:function(){return{currentDefineVO:"table"==this.componentVO.uiComponentType?this.componentVO.tableDefineVO:this.componentVO.treeTableDefineVO,parentHeight:"100%",form:{},query:{},params:{},loading:!1,page:{pageSize:10,currentPage:1,total:0},simplePage:{currentPage:1,total:0,pagerCount:4,layout:"prev, pager, next"},tableList:[],option:{border:!0,stripe:!0,index:!0,addBtn:!1,editBtn:!1,delBtn:!1,refreshBtn:!1,columnBtn:!1,searchShowBtn:!1,printBtn:!1,excelBtn:!1,filterBtn:!1,selection:!0,tip:!1,menuWidth:260,height:"100%",calcHeight:15,indexFixed:!1,menuFixed:"westArea"!==this.areasName&&"right",searchMenuSpan:12,searchShow:!1,column:[]},selectList:[],columnType:{text:"input",combox:"select",truefalse:"switch",number:"number",textarea:"textarea",datetime:"datetime",date:"date",refer:"refer"},sourceDataMapParams:{}}},computed:{pageType:function(){return"westArea"===this.areasName?this.simplePage:this.page}},watch:{parentHeight:{handler:function(e){e>50&&(this.option.height=e,this.$children[0].$children[1].$children[1].$children[0].$el.style.height=e+"px")}},isShow:{handler:function(e){e&&this.$el.clientHeight>50&&(this.parentHeight=this.$el.clientHeight-this.$children[0].$children[1].$children[0].$el.clientHeight-(this.$children[0].$children[2].$el.clientHeight||57)-5),e&&this.handleRefresh()}},tableList:{handler:function(e){e&&this.$emit("setData",{area:this.areasName,type:this.componentVO.uiComponentType,currentDefineVO:this.currentDefineVO,data:e})},deep:!0,immediate:!0},sourceData:{handler:function(e){e&&Object.keys(e).length>0&&(this.sourceDataMapParams=this.sourceDataMap(),this.getParams(),this.handleRefresh())},deep:!0,immediate:!0}},created:function(){this.getParams(),this.option.column=this.updatedColumns(),"TreeTable"==this.componentVO.uiComponentType&&(this.option.rowKey=this.currentDefineVO.treeCurrentField||"oid",this.option.rowParentKey=this.currentDefineVO.treeParentField||"parentOid"),this.page={pageSize:this.currentDefineVO.pageVO?this.currentDefineVO.pageVO.limit:10,currentPage:this.currentDefineVO.pageVO?this.currentDefineVO.pageVO.page:1,total:0,pageSizes:this.currentDefineVO.limits||[10,20,30,40,50,100]}},mounted:function(){this.$el.clientHeight>50&&(this.parentHeight=this.$el.clientHeight-this.$children[0].$children[1].$children[0].$el.clientHeight-57-5)},methods:{updatedColumns:function updatedColumns(){var _this=this,queryFields=Object(_util_validate__WEBPACK_IMPORTED_MODULE_8__["b"])(this.currentDefineVO.queryColumns)?[]:this.currentDefineVO.queryColumns.map((function(e){return e.field}));return this.currentDefineVO.cols[0].map((function(item){var search=queryFields.includes(item.field);item.type=_this.columnType[item.fieldType]||item.fieldType,"fileobject"==_this.currentDefineVO.btmType&&"name"==item.field&&(item.formatter=function(e){return'<a class="layui-btn layui-btn-intable"  lay-event="PREVIEW">'+e.name+"</a>"});var formatter=item.formatter||item.templet;return"string"==typeof formatter&&""!=formatter&&(formatter=eval("("+formatter+")")),["date","datetime","time"].includes(item.type)&&(item.valueFormat=item.dateFormate,item.format=item.dateFormate),_objectSpread(_objectSpread({},item),{},{prop:item.field,label:item.title,search:search,formatter:formatter,overHidden:!0})}))},sourceDataMap:function(){var e={};if(Object.keys(this.sourceData).length>0)for(var t in this.sourceData.part&&Object.keys(this.sourceData.part).length>0?this.sourceData.part.oid&&(this.sourceData.part.oid.indexOf("@vcitreesep@")>-1&&(this.sourceData.part.oid=this.sourceData.oid.split("@vcitreesep@")[1]),e.sourceBtmName=this.sourceBtmType,e.sourceOid=this.sourceData.part.oid):this.sourceData.oid&&(this.sourceData.oid.indexOf("@vcitreesep@")>-1&&(this.sourceData.oid=this.sourceData.oid.split("@vcitreesep@")[1]),e.sourceBtmName=this.sourceBtmType,e.sourceOid=this.sourceData.oid),this.sourceData){var a=this.sourceData[t];["type","context","content","querytemplate","querytype"].includes(t)||(a&&a.constructor===Object?e['sourceData["'+t+'"]']=JSON.stringify(a):e['sourceData["'+t+'"]']=a)}if(Object.keys(this.paramVOS).length>0)for(var n in this.paramVOS)this.paramVOS[n]&&this.paramVOS[n].constructor===Object||["type","context","content","getdataurl","getdatamethod","url","method","uploadfileurl","title","querytemplate","querytype","usesourcedata","component"].includes(n)||(e['sourceData["'+n+'"]']=this.paramVOS[n]);return e},getParams:function(){var e={btmName:this.currentDefineVO.btmType,btmType:this.currentDefineVO.btmType,tableDefineId:this.currentDefineVO.id,componentOid:this.componentVO.oid,uiDefineId:this.uiContext,linkTypeFlag:this.currentDefineVO.linkTypeFlag,treeTableFlag:"TreeTable"==this.componentVO.uiComponentType},t=this.sourceDataMapParams;this.params=Object.assign({},e,t)},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object.keys(this.sourceData).length>0&&this.isShow){this.tableList=[],this.loading=!0;var n="";this.componentVO.bsDataModel&&-1!=this.componentVO.bsDataModel.indexOf("/")&&(n=this.componentVO.bsDataModel),Object(_api_base_ui__WEBPACK_IMPORTED_MODULE_9__["getList"])(e.currentPage,e.pageSize,Object.assign({},this.params,this.query,a),n).then((function(e){var a=[];e.data&&e.data.data?(a=e.data.data,t.page.total=e.data.total):(a=e.data,t.page.total=e.total),a&&null!=a||(a=[]),t.tableList=a,t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}},rowView:function(e,t){this.$refs.dataTable.rowView(e,t)},rowClickChange:function(e){this.$refs.dataTable.toggleRowSelection(e,!0)},selectChange:function(e){this.selectList=e,this.$emit("setDataStore",{area:this.areasName,type:this.componentVO.uiComponentType,btmType:this.currentDefineVO.btmType,dataStore:e})},currentChange:function(e){this.page.currentPage=e},sizeChange:function(e){this.page.pageSize=e},searchChange:function(e,t){for(var a in this.query={},e)this.query['conditionMap["'+a+'"]']="*"+e[a]+"*";this.page.currentPage=1,this.onLoad(this.page),t()},filterChange:function(e){var t={};for(var a in e)if(!Object(_util_validate__WEBPACK_IMPORTED_MODULE_8__["b"])(e[a][2])){var n=e[a][2];"="==e[a][1]?t['conditionMap["'+e[a][0]+'"]']=n:"≠"==e[a][1]?t['conditionMap["'+e[a][0]+'"]']="!="+n:"like"==e[a][1]||"∈"==e[a][1]?t['conditionMap["'+e[a][0]+'"]']="*"+n+"*":t['conditionMap["'+e[a][0]+'"]']=e[a][1]+n}this.onLoad(this.page,t)},searchReset:function(){console.log("searchReset"),this.query={},this.onLoad(this.page)},selectionClear:function(){this.selectionList=[];try{this.$refs.dataTable.toggleSelection()}catch(e){}},handleRefresh:function(e){console.log("handleRefresh"),this.onLoad(this.page)},rowExcel:function(){this.$refs.dataTable.$refs.dialogExcel.handleShow(),this.$refs.dataTable.$refs.dialogExcel.handleSubmit=function(){this.$Export.excel({title:this.$refs.dataTable.$refs.dialogExcel.form.name,columns:this.$refs.dataTable.$refs.dialogExcel.columns,data:this.$refs.dataTable.$refs.dialogExcel.handleSum()}),this.$refs.dataTable.$refs.dialogExcel.box=!1}}}}},"754e":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"UI-dynamic",attrs:{id:"UI-dynamic-"+e.areasName+e.componentVO.oid}},[t("avue-crud",{ref:"dataTable",attrs:{data:e.tableList,option:e.option,page:"TreeTable"==e.componentVO.uiComponentType?{}:e.pageType,"table-loading":e.loading},on:{"update:page":function(t){return e.$set(e.componentVO,"uiComponentType == 'TreeTable'?{}:pageType",t)},"on-load":e.onLoad,"search-reset":e.searchReset,"search-change":e.searchChange,"refresh-change":e.handleRefresh,"current-change":e.currentChange,"size-change":e.sizeChange,"row-click":e.rowClickChange,filter:e.filterChange,"selection-change":e.selectChange},scopedSlots:e._u([{key:"menuLeft",fn:function(a){return[t("dynamic-button",{key:e.areasName+"buttons-"+e.componentVO.oid,attrs:{componentVO:e.componentVO,butttonList:e.componentVO.buttons,dataStore:e.selectList,LocationType:"top",sourceData:e.sourceData,type:"table"},on:{afterMethod:e.handleRefresh}})]}},{key:"menu",fn:function(a){return[t("dynamic-button",{attrs:{componentVO:e.componentVO,butttonList:e.componentVO.buttons,scope:a,dataStore:e.selectList,sourceData:e.sourceData,LocationType:"menu",type:"table"},on:{afterMethod:e.handleRefresh,rowView:e.rowView}})]}},{key:"menuRight",fn:function(a){return[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"打印",placement:"top"}},[t("el-button",{attrs:{icon:"el-icon-printer",circle:"",size:a.size},on:{click:function(t){return e.$refs.dataTable.rowPrint()}}})],1),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"导出",placement:"top"}},[t("el-button",{attrs:{icon:"el-icon-download",circle:"",size:a.size},on:{click:e.rowExcel}})],1),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"筛选",placement:"top"}},[t("el-button",{attrs:{icon:"el-icon-tickets",circle:"",size:a.size},on:{click:function(t){e.$refs.dataTable.$refs.dialogFilter.box=!0}}})],1),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"列显隐",placement:"top"}},[t("el-button",{attrs:{icon:"el-icon-s-operation",circle:"",size:a.size},on:{click:function(t){e.$refs.dataTable.$refs.dialogColumn.columnBox=!0}}})],1),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"查询",placement:"top"}},[t("el-button",{attrs:{icon:"el-icon-search",circle:"",size:a.size},on:{click:function(t){return e.$refs.dataTable.$refs.headerSearch.handleSearchShow()}}})],1),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"刷新",placement:"top"}},[t("el-button",{attrs:{icon:"el-icon-refresh",circle:"",size:a.size},on:{click:function(t){return e.$refs.dataTable.refreshChange()}}})],1)]}},{key:"icon",fn:function(e){var a=e.row;return[t("span",{staticClass:"avue-icon avue-icon--small"},[a.icon&&0==a.icon.indexOf("#")?t("svg",{attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":a.icon}})]):t("i",{class:a.icon})])]}}]),model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],o=a("5325"),s=o["a"],c=a("2877"),r=Object(c["a"])(s,n,i,!1,null,"32b658c2",null);t["default"]=r.exports},"870e":function(e,t,a){},"9bfe":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"UI-dynamic",attrs:{id:"UI-dynamic-"+e.areasName+e.componentVO.oid}},[e.isError?t("el-alert",{staticClass:"alert",attrs:{closable:!1,title:"自定义组件配置信息错误!",type:"error","show-icon":"",description:"这个自定义页面的地址格式不正确。推荐使用“组件name?param=xxx”(自定义组件)或者“?type=xxx&context=yyy&pparam=zzz”(UI引擎)这2种形式"}}):t(e.currentComponent,{key:e.areasName+"customCom-"+e.componentVO.oid,tag:"component",attrs:{btmType:e.btmType,context:e.context,inDialog:!0,componentVO:e.componentVO,sourceData:e.sourceData,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.urlParams},on:{setData:e.setData,setDataStore:e.setDataStore}})],1)},i=[],o=(a("6762"),a("2fdb"),a("28a5"),a("ac6a"),a("0e0b")),s=a("c54a"),c={name:"dynamic-custom",props:{uiBtmType:{type:String},uiContext:{type:String},componentVO:{type:Object,default:{}},inDialog:{type:Boolean,default:!1},canEdit:{type:Boolean,default:!1},areasName:{type:String,default:""},sourceData:{type:Object,default:{}},dataStore:{type:Array,default:[]},paramVOS:{type:Object,default:{}},isShow:{type:Boolean,default:!0}},data:function(){return{btmType:"",context:"",urlParams:{},height:"300px",customClass:"",isError:!1,ComponentUrl:"base/UIContentViewerInDialog",currentComponent:null}},watch:{sourceData:{handler:function(e){this.sourceDataMap()},deep:!0,immediate:!0}},computed:{},created:function(){this.sourceDataMap()},mounted:function(){},methods:{sourceDataMap:function(){var e=this;this.customClass=this.componentVO.customClass,this.componentVO.customClass.split(";").forEach((function(t){0==t.indexOf("web=")&&(e.customClass=t.split("web=")[1])}));var t={};this.customClass.includes("?")?(this.ComponentUrl=this.customClass.split("?")[0],t=Object(o["i"])(this.customClass)):this.ComponentUrl=this.customClass,Object(s["b"])(this.ComponentUrl)||["ui","UI","base","bs"].includes(this.ComponentUrl)?this.ComponentUrl="views/base/UIContentViewerInDialog":-1===this.ComponentUrl.indexOf("views/")&&(this.ComponentUrl="views/custom-ui/"+this.ComponentUrl),"base/UIContentViewerInDialog"!=this.ComponentUrl||t.type&&t.context?(this.btmType=t.type,this.context=t.context,this.urlParams=Object.assign({},this.paramVOS,t),this.loadCompoent()):this.isError=!0},loadCompoent:function(){var e=this;a("4adc")("./".concat(this.ComponentUrl,".vue")).then((function(t){e.currentComponent=t.default})).catch((function(e){console.error("组件加载失败:",e)}))},getHeight:function(e){e.$el.clientHeight>50?this.height=e.$el.clientHeight+"px":this.getHeight(e.$parent)},setDataStore:function(e){this.$emit("setDataStore",e),this.dataStore=e.dataStore},setData:function(e){this.$emit("setData",e)}}},r=c,u=a("2877"),l=Object(u["a"])(r,n,i,!1,null,"0d40a5d2",null);t["default"]=l.exports},"9dba":function(e,t,a){"use strict";a("3f55")},a761:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("a481"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("456d"),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2__),_components_dynamic_components_index__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("aa0f"),_util_validate__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("c54a");__webpack_exports__["a"]={name:"UIContentArea",components:{compoentIndex:_components_dynamic_components_index__WEBPACK_IMPORTED_MODULE_3__["default"]},props:{uiBtmType:{type:String},uiContext:{type:String},inDialog:{type:Boolean,default:!1},canEdit:{type:Boolean,default:!1},actionType:{default:""},areasName:{type:String,default:""},areasData:{type:Array,default:[]},sourceData:{type:Object,default:{}},sourceBtmType:{type:String},dataStore:{type:Array,default:[]},paramVOS:{type:Object,default:{}},cradStyle:""},data:function(){return{activeName:this.areasName+"-Tab-0",collapseActiveNames:[this.areasName+"-collapse-0"],newAreasData:[]}},computed:{newSourceData:function(){return this.sourceData.attributes&&void 0!=this.sourceData.parentId&&null!=this.sourceData.parentId?this.sourceData.attributes:this.sourceData}},watch:{newSourceData:{handler:function(e){this.getNewAreasData()}}},created:function(){this.getNewAreasData()},mounted:function(){},methods:{getNewAreasData:function(){var e=this;if(Object.keys(this.newSourceData).length>0){var t=[];this.areasData.forEach((function(a){(Object(_util_validate__WEBPACK_IMPORTED_MODULE_4__["b"])(a.displayExpression)||e.checkDisplayExpression(a.displayExpression))&&t.push(a)})),this.newAreasData=t}else this.newAreasData=this.areasData},checkDisplayExpression:function checkDisplayExpression(displayExpressionStr){var checkdisplay=!1,newDisplayExpressionStr=displayExpressionStr.replace(/"\s*and\s*"/g,'" && "').replace(/"\s*AND\s*"/g,'" && "').replace(/"\s*or\s*"/g,'" || "').replace(/"\s*OR\s*"/g,'" || "');newDisplayExpressionStr=newDisplayExpressionStr.replace(/\)\s*and\s*"/g,') && "').replace(/\)\s*AND\s*"/g,') && "').replace(/\)\s*or\s*"/g,') || "').replace(/\)\s*OR\s*"/g,') || "'),newDisplayExpressionStr=newDisplayExpressionStr.replace(/"\s*and\s*\(/g,'" && (').replace(/"\s*AND\s*\(/g,'" && (').replace(/"\s*or\s*\(/g,'" || (').replace(/"\s*OR\s*\(/g,'" || ('),newDisplayExpressionStr=newDisplayExpressionStr.replace(/\)\s*and\s*\(/g,") && (").replace(/\)\s*AND\s*\(/g,") && (").replace(/\)\s*or\s*\(/g,") || (").replace(/\)\s*OR\s*\(/g,") || ("),newDisplayExpressionStr=newDisplayExpressionStr.replace(/"\s*<>\s*"/g,'" != "').replace(/"\s*=\s*"/g,'" == "'),newDisplayExpressionStr=newDisplayExpressionStr.replace(/"\$\{/g,"this.newSourceData.").replace(/\}"/g,"");try{eval("("+newDisplayExpressionStr+")")&&(checkdisplay=!0)}catch(e){console.log(displayExpressionStr)}return checkdisplay},tabHandleClick:function(e,t){},handleChange:function(e){},setData:function(e){this.$emit("setData",e)},setDataStore:function(e){this.$emit("setDataStore",e),this.dataStore=e.dataStore}}}},aa0f:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return"table"==e.componentVO.uiComponentType||"TreeTable"==e.componentVO.uiComponentType?t("dynamic-table",{key:e.areasName+"table-"+e.componentVO.oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:e.componentVO,sourceData:e.sourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:e.isShow},on:{setData:e.setData,setDataStore:e.setDataStore}}):"form"==e.componentVO.uiComponentType?t("dynamic-form",{key:e.areasName+"form-"+e.componentVO.oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:e.componentVO,sourceData:e.sourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:e.isShow},on:{setData:e.setData,setDataStore:e.setDataStore}}):"tree"==e.componentVO.uiComponentType?t("dynamic-tree",{key:e.areasName+"tree-"+e.componentVO.oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:e.componentVO,sourceData:e.sourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:e.isShow},on:{setData:e.setData,setDataStore:e.setDataStore}}):"customer"==e.componentVO.uiComponentType?t("dynamic-custom",{key:e.areasName+"custom-"+e.componentVO.oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:e.componentVO,sourceData:e.sourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:e.isShow},on:{setData:e.setData,setDataStore:e.setDataStore}}):"uiParse"==e.componentVO.uiComponentType?t("dynamic-ui-parse",{key:e.areasName+"uiParse-"+e.componentVO.oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:e.componentVO,sourceData:e.sourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:e.isShow},on:{setData:e.setData,setDataStore:e.setDataStore}}):e._e()},i=[],o=a("754e"),s=a("6d91"),c=a("4d74"),r=a("9bfe"),u=a("fe5e"),l={name:"dynamicIndex",components:{DynamicUiParse:u["default"],dynamicCustom:r["default"],dynamicTree:c["default"],dynamicForm:s["default"],dynamicTable:o["default"]},props:{uiBtmType:{type:String},uiContext:{type:String},componentVO:{type:Object,default:{}},inDialog:{type:Boolean,default:!1},canEdit:{type:Boolean,default:!1},actionType:{default:""},areasName:{type:String,default:""},sourceData:{type:Object,default:{}},sourceBtmType:{type:String},dataStore:{type:Array,default:[]},paramVOS:{type:Object,default:{}},isShow:{type:Boolean,default:!0}},created:function(){},methods:{setDataStore:function(e){this.$emit("setDataStore",e),this.dataStore=e.dataStore},setData:function(e){this.$emit("setData",e)}}},d=l,p=a("2877"),m=Object(p["a"])(d,n,i,!1,null,"44cbd594",null);t["default"]=m.exports},b25d:function(e,t,a){"use strict";a("870e")},d7b5:function(e,t,a){"use strict";a.r(t);a("ac6a"),a("456d"),a("7f7f");var n=function(){var e=this,t=e._self._c;return t("basic-container",{attrs:{cradStyle:e.cradStyle,cardBodyStyle:"height:100%;box-sizing: border-box;padding-bottom:5px;"}},[e.newAreasData.length>1?t("el-tabs",{staticClass:"UITabs",staticStyle:{height:"100%"},attrs:{type:"card"},on:{"tab-click":e.tabHandleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},e._l(e.newAreasData,(function(a,n){return t("el-tab-pane",{key:a.oid,staticStyle:{height:"100%",overflow:"auto"},attrs:{label:a.name,name:e.areasName+"-Tab-"+n}},[a.componentVOs.length>1?t("el-collapse",{key:a.oid+"-collapse",staticClass:"UI-collapse",on:{change:e.handleChange},model:{value:e.collapseActiveNames,callback:function(t){e.collapseActiveNames=t},expression:"collapseActiveNames"}},e._l(a.componentVOs,(function(a,n){return t("el-collapse-item",{attrs:{name:e.areasName+"-collapse-"+n}},[t("template",{slot:"title"},[e._v("\n            "+e._s(a.name)+"\n          ")]),t("div",{staticClass:"componentVO"},[t("compoent-index",{key:e.areasName+"componentVO-"+a.oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:a,sourceData:e.newSourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:-1!=e.collapseActiveNames.indexOf(e.areasName+"-collapse-"+n)},on:{setData:e.setData,setDataStore:e.setDataStore}})],1)],2)})),1):1==a.componentVOs.length?t("div",{staticClass:"componentVO"},[t("compoent-index",{key:e.areasName+"componentVO-"+a.componentVOs[0].oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:a.componentVOs[0],sourceData:e.newSourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:e.activeName==e.areasName+"-Tab-"+n},on:{setData:e.setData,setDataStore:e.setDataStore}})],1):t("div",[t("el-alert",{staticClass:"alert",attrs:{closable:!1,title:"",type:"info",description:"没有可显示的内容,请联系管理人员检查配置。"}})],1)],1)})),1):1===e.newAreasData.length?t("div",{staticStyle:{height:"100%",overflow:"auto"}},[e.newAreasData[0].componentVOs.length>1?t("el-collapse",{key:e.newAreasData[0].oid+"-collapse",staticClass:"UI-collapse",on:{change:e.handleChange},model:{value:e.collapseActiveNames,callback:function(t){e.collapseActiveNames=t},expression:"collapseActiveNames"}},e._l(e.newAreasData[0].componentVOs,(function(a,n){return t("el-collapse-item",{attrs:{name:e.areasName+"-collapse-"+n}},[t("template",{slot:"title"},[e._v("\n          "+e._s(a.name)+"\n        ")]),t("div",{staticClass:"componentVO"},[t("compoent-index",{key:e.areasName+"componentVO-"+a.oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:a,sourceData:e.newSourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:-1!=e.collapseActiveNames.indexOf(e.areasName+"-collapse-"+n)},on:{setData:e.setData,setDataStore:e.setDataStore}})],1)],2)})),1):1===e.newAreasData[0].componentVOs.length?t("div",{staticClass:"componentVO"},[t("compoent-index",{key:e.areasName+"componentVO-"+e.newAreasData[0].componentVOs[0].oid,attrs:{uiBtmType:e.uiBtmType,uiContext:e.uiContext,inDialog:e.inDialog,canEdit:e.canEdit,actionType:e.actionType,componentVO:e.newAreasData[0].componentVOs[0],sourceData:e.newSourceData,sourceBtmType:e.sourceBtmType,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.paramVOS,isShow:!0},on:{setData:e.setData,setDataStore:e.setDataStore}})],1):t("div",[t("el-alert",{staticClass:"alert",attrs:{closable:!1,title:"",type:"info",description:"没有可显示的内容,请联系管理人员检查配置。"}})],1)],1):t("div",[0==e.areasData.length?t("el-alert",{staticClass:"alert",attrs:{closable:!1,title:"配置错误",type:"error","show-icon":"",description:"该区域没有配置显示的内容"}}):0==Object.keys(e.newSourceData).length?t("el-alert",{staticClass:"alert",attrs:{closable:!1,title:"",type:"info",description:"没有可显示的内容,请选择来源数据。"}}):0==e.newAreasData.length?t("el-alert",{staticClass:"alert",attrs:{closable:!1,title:"",type:"info",description:"不满足显示表达式条件,没有可显示的内容。"}}):e._e()],1)],1)},i=[],o=a("a761"),s=o["a"],c=a("2877"),r=Object(c["a"])(s,n,i,!1,null,"4bc056ce",null);t["default"]=r.exports},fe5e:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"UI-dynamic",attrs:{id:"UI-dynamic-"+e.areasName+e.componentVO.oid}},[t("u-i-content-viewer-in-dialog",{key:e.areasName+"customCom-"+e.componentVO.oid,attrs:{btmType:e.btmType,context:e.context,inDialog:!0,componentVO:e.componentVO,sourceData:e.sourceData,dataStore:e.dataStore,areasName:e.areasName,paramVOS:e.urlParams},on:{setData:e.setData,setDataStore:e.setDataStore}})],1)},i=[],o=(a("6762"),a("2fdb"),a("0e0b")),s=a("35ec"),c={name:"dynamic-uiParse",components:{UIContentViewerInDialog:s["default"]},props:{uiBtmType:{type:String},uiContext:{type:String},componentVO:{type:Object,default:{}},inDialog:{type:Boolean,default:!1},canEdit:{type:Boolean,default:!1},areasName:{type:String,default:""},sourceData:{type:Object,default:{}},dataStore:{type:Array,default:[]},paramVOS:{type:Object,default:{}},isShow:{type:Boolean,default:!0}},data:function(){return{btmType:"",context:"",urlParams:{},height:"300px",uiParseClass:"",isError:!1,ComponentUrl:"base/UIContentViewerInDialog",currentComponent:null}},watch:{sourceData:{handler:function(e){this.sourceDataMap()},deep:!0,immediate:!0}},computed:{},created:function(){this.sourceDataMap()},mounted:function(){},methods:{sourceDataMap:function(){this.uiParseClass=this.componentVO.uiParseClass;var e={};this.uiParseClass.includes("?")&&(e=Object(o["i"])(this.customClass)),this.btmType=e.type,this.context=e.context,this.urlParams=Object.assign({},this.paramVOS,e)},getHeight:function(e){e.$el.clientHeight>50?this.height=e.$el.clientHeight+"px":this.getHeight(e.$parent)},setDataStore:function(e){this.$emit("setDataStore",e),this.dataStore=e.dataStore},setData:function(e){this.$emit("setData",e)}}},r=c,u=a("2877"),l=Object(u["a"])(r,n,i,!1,null,"4292171d",null);t["default"]=l.exports}}]);