From ade2341195cc2bee5bc1a14ce1f0488f5c8bbb51 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 15 十一月 2024 16:47:33 +0800 Subject: [PATCH] 修改action --- Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js | 5 ++++- Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue | 2 +- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js b/Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js index a94b7dd..6c39ceb 100644 --- a/Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js +++ b/Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js @@ -68,7 +68,10 @@ store.dispatch("setViewtabparams", params); router.push({ name: "鏌ョ湅璇︽儏", - params:params + query:{ + name:params.title + } + //params:params //鍔犲弬鏁板悗椤甸潰鍒锋柊鏃朵細澶氫竴涓�夐」鍗� }); } 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 9314cbc..9f80fae 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 @@ -226,10 +226,10 @@ }, 'sourceData':{ handler(newval) { - if(newval) { + if(newval && Object.keys(newval).length>0) { this.sourceDataMapParams=this.sourceDataMap(); this.getParams(); - // this.handleRefresh(); + this.handleRefresh(); } }, deep: true, diff --git a/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue b/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue index a6cd05c..ef252e5 100644 --- a/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue +++ b/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue @@ -69,7 +69,7 @@ area: 'westAreaInDialog', type: 'tree', btmType:'workcontext', - dataStore:row + dataStore:[row] }); } } -- Gitblit v1.9.3