From 8cfe56d782e4f8cddf0fa8f0cff84a5b4034aa3d Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期日, 23 六月 2024 00:40:40 +0800 Subject: [PATCH] 一些优化 --- src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts | 51 ++------------------------------------------------- 1 files changed, 2 insertions(+), 49 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts b/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts index 3916a8b..f3f37ae 100644 --- a/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts +++ b/src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts @@ -4,7 +4,7 @@ * @version: * @Date: 2024-06-13 16:18:39 * @LastEditors: Ben Lin - * @LastEditTime: 2024-06-22 00:09:13 + * @LastEditTime: 2024-06-22 23:39:08 */ import { h, unref } from "vue"; import { BasicColumn, FormSchema } from "/@/components/Table"; @@ -164,51 +164,4 @@ colProps: { span: 8 }, component: 'Input', }, -]; - -export function labelOpenSelectItem(openItemModal: Fn) { - openItemModal(true, { - title: '杩囩▼鍙橀噺鍒楄〃', - schemas: [ - { - field: 'VAR_CODE', - component: 'Input', - label: '杩囩▼鍙橀噺缂栫爜', - colProps: { - span: 12, - }, - }, - ], - ItemColumns: [ - { - title: t('杩囩▼鍙橀噺缂栫爜'), - dataIndex: 'VAR_CODE', - resizable: true, - sorter: true, - width: 200, - }, - { - title: t('杩囩▼鍙橀噺鍚嶇О'), - dataIndex: 'VAR_NAME', - resizable: true, - sorter: true, - width: 180, - }, - ], - tableName: 'BAS_LABEL_PV', - rowKey: 'VAR_CODE', - searchInfo: {TABLE_NAME: 'BAS_LABEL_PV'} - }); - } - - /** - * @description: 閫夋嫨杩囩▼鍙橀噺寮瑰嚭閫夋嫨妗嗘垚鍔熻繑鍥炶祴鍊兼柟娉� - * @param {*} d - * @param {*} u - * @return {*} - */ - export function labelGetSelectSuccess(d, u) { - return { - VAR_VALUE: d.values['val'], - }; - } \ No newline at end of file +]; \ No newline at end of file -- Gitblit v1.9.3