From e9eb9ee7bec1dd64e3b9a494a2814a5bc3952709 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 27 十二月 2024 11:57:43 +0800 Subject: [PATCH] 1、主要优化业务类型加载过慢由于重复加载平台的属性、枚举数据,属性数据通过第一次加载全部进行传递解决,枚举数据通过新增枚举的本地线程工具类来进行实现。 --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue index 0eba875..36bbd88 100644 --- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue +++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue @@ -356,9 +356,9 @@ if (Object.keys(this.sourceData).length>0 && this.isShow) { this.tableList = []; this.loading = true; - let url='' - if(this.componentVO.bsCustQueryCLsOrUrl && this.componentVO.bsCustQueryCLsOrUrl.indexOf('/')!=-1){ - url=this.componentVO.bsCustQueryCLsOrUrl; + let url=''; + if(this.componentVO.bsDataModel && this.componentVO.bsDataModel.indexOf('/')!=-1){ + url=this.componentVO.bsDataModel; } getList(page.currentPage, page.pageSize, Object.assign({},this.params,this.query,params),url).then(res => { let data = []; -- Gitblit v1.9.3