ludc
2025-01-16 5203081b68e3a8dc139d1807b2f8774e4a00a82a
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22c866"],{f435:function(t,a,e){"use strict";e.r(a);var o=function(){var t=this,a=t._self._c;return a(t.currentComponent,{key:"ViewTab",ref:"uiViewRef",tag:"component",attrs:{btmType:t.paramVOS.type,context:t.paramVOS.context,inDialog:!0,canEdit:!1,actionType:"view",sourceData:t.sourceData,dataStore:t.dataStore,paramVOS:t.paramVOS}})},n=[],r=e("c54a"),c=e("e3c4"),s={name:"ViewTab",components:{},data:function(){return{sourceData:{},dataStore:[],paramVOS:{},currentComponent:null}},computed:{},created:function(){var t={};t=Object(r["b"])(this.$store.state.viewtabparams)?Object(c["c"])({name:"viewtabparams"}):this.$store.state.viewtabparams,t&&(this.paramVOS=t.options.paramVOS,this.sourceData="true"==this.paramVOS.usesourcedata?t.options.dataStore[0]:t.options.sourceData,this.dataStore="true"==this.paramVOS.usesourcedata?[]:t.options.dataStore)},mounted:function(){this.loadCompoent()},beforeDestroy:function(){},methods:{loadCompoent:function(){var t=this;e("1a5d")("./".concat(this.paramVOS.component,".vue")).then((function(a){t.currentComponent=a.default})).catch((function(t){console.log("组件加载失败:",t)}))}}},i=s,u=e("2877"),p=Object(u["a"])(i,o,n,!1,null,"b3d9ae8a",null);a["default"]=p.exports}}]);