From 68d75a540ec8b3168c3af956ea00b898036d92cd Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 04 七月 2024 00:17:17 +0800 Subject: [PATCH] 包装规则更新 --- src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_VAR.ts | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_VAR.ts b/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_VAR.ts index cf5a5b2..6e0f3b1 100644 --- a/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_VAR.ts +++ b/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_VAR.ts @@ -4,7 +4,7 @@ * @version: * @Date: 2024-06-19 20:34:27 * @LastEditors: Ben Lin - * @LastEditTime: 2024-06-23 23:42:04 + * @LastEditTime: 2024-06-28 10:53:28 */ import { Tag, Tooltip } from 'ant-design-vue'; @@ -26,6 +26,11 @@ slots: { customRender: 'action' }, fixed: undefined, }; + + /** + * @description: 涓�浜涜嚜瀹氫箟鏂规硶 + * @return {*} + */ const methods = { /** * @description: 鑾峰彇鏂板鎸夐挳鐨勮涓猴紝蹇呴渶瑕佹湁鐨勬柟娉� @@ -43,6 +48,10 @@ ActionItem: (params: Recordable<any>, data, ...args): ActionItem[] => { return data; }, + /** + * @description: 楂樼骇琛ㄥ崟鍜岃鎯呴〉闈㈣繑鍥炰富椤甸潰鐨剈rl + * @return {*} + */ GetHomeUrl: () => { return `/BAS_LABEL_TEMP/LC/${encodeURI(JSON.stringify({ ID: 'BAS_LABEL_TEMP', colSlots: [], crudColSlots: [] }))}`; }, @@ -200,7 +209,7 @@ }, ]; }, - OthersValues: (val: string, id: string) => { + KeyFieldValues: (val: string, id: string) => { return { LABEL_ID: id }; }, }; -- Gitblit v1.9.3