From d84b3d128563944e812f4a606c4f3c08ee3816ea Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期五, 12 七月 2024 14:20:39 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg --- _Main/UI/MacroPlannerWebApp/Component_FormOfflinePlan/Response_pHeader_bDownload_OnClick.def | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlan/Response_pHeader_bDownload_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlan/Response_pHeader_bDownload_OnClick.def index 3df7e29..7e12122 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlan/Response_pHeader_bDownload_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlan/Response_pHeader_bDownload_OnClick.def @@ -5,8 +5,18 @@ #keys: '[413988.0.1297973899]' CanBindMultiple: false DefinitionID: 'Responsedef_WebButton_OnClick' + Precondition: + [* + return not isnull( MacroPlan ); + *] QuillAction { + Body: + [* + binaryValue := OfflinePlanCell::Download( MacroPlan ); + + Application.Download( "Offline plan.xlsx", binaryValue.AsBinaryData() ); + *] GroupServerCalls: false } } -- Gitblit v1.9.3