From 986aa62ed00bee39363bab41b4eeb8259d446efd Mon Sep 17 00:00:00 2001 From: ludc <ludc@vci-tech.com> Date: 星期四, 16 一月 2025 18:20:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 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 344364c..9b8a46c 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 @@ -53,21 +53,27 @@ } } paramVOS.component=component; - let name="鏌ョ湅璇︽儏" if(paramVOS.showname){ - name="鏌ョ湅銆�"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"銆�" + const name="鏌ョ湅銆�"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"銆�"; + paramVOS.title=name; } - paramVOS.title=name; const params= { - options:options, - paramVOS:paramVOS, - saveCallback:callback + options: { + sourceData: options.sourceData, + dataStore: options.dataStore, + paramVOS: paramVOS + }, + saveCallback: callback, + title: paramVOS.title } store.dispatch("setViewtabparams", params); router.push({ name: "鏌ョ湅璇︽儏", - params:params, + query:{ + name:params.title + } + //params:params //鍔犲弬鏁板悗椤甸潰鍒锋柊鏃朵細澶氫竴涓�夐」鍗� }); } -- Gitblit v1.9.3