From 8e288eefbd4e8dbf7d0180dd880ce93256daa7a5 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期六, 22 六月 2024 01:05:18 +0800 Subject: [PATCH] 低代码优化 --- src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts | 35 +++-------------------------------- 1 files changed, 3 insertions(+), 32 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts b/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts index 86422ab..3916a8b 100644 --- a/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts +++ b/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts @@ -3,11 +3,11 @@ * @Author: Ben Lin * @version: * @Date: 2024-06-13 16:18:39 - * @LastEditors: your name - * @LastEditTime: 2024-06-17 11:27:09 + * @LastEditors: Ben Lin + * @LastEditTime: 2024-06-22 00:09:13 */ import { h, unref } from "vue"; -import { ActionItem, BasicColumn, FormSchema } from "/@/components/Table"; +import { BasicColumn, FormSchema } from "/@/components/Table"; import { Tag, Tooltip } from "ant-design-vue"; import { GetEnum } from "/@/api/tigerapi/system"; import { useLocale } from "/@/locales/useLocale"; @@ -165,35 +165,6 @@ component: 'Input', }, ]; - -export const labelActionItem: ActionItem[] = [ - { - icon: 'clarity:info-standard-line', - tooltip: '妯℃澘鍙橀噺', - onClick: () => { }, - }, -]; - -/** - * @description: 璺宠浆鍒拌鎯呴〉闈㈡柟娉� - * @param {Fn} go - * @return {*} - */ -export function goDetail(go: Fn, record: Recordable) { - const id = { - ID: 'BAS_LABEL_VAR', - firstTabName: '鏍囩妯℃澘鍙橀噺', - secondTabName:'', //'鏍囩杩囩▼鍙橀噺', - firstTitle: '妯℃澘鍙橀噺', - secondTitle: '', //'杩囩▼鍙橀噺', - pageTitle: '鏍囩妯℃澘鍙橀噺', //璇︽儏椤甸潰鏍囬 - contentStr: '杩欓噷鏄爣绛炬ā鏉垮彉閲忕鐞嗛〉闈紝鍙互绠$悊鏍囩鐨勬ā鏉垮彉閲忔垨鑰呮墦鍗拌繃绋嬩腑鐨勫彉閲�', - detailName: `妯℃澘[${record.LABEL_NAME}]`, - others: { LABEL_ID: record.ID }, - colSlots: ['BAS_LABEL_PV1add'], - }; - go(`/BAS_LABEL_VAR/${encodeURI(JSON.stringify(id))}`); -} export function labelOpenSelectItem(openItemModal: Fn) { openItemModal(true, { -- Gitblit v1.9.3