Ben Lin
2024-06-22 8e288eefbd4e8dbf7d0180dd880ce93256daa7a5
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-14 08:55:14
 * @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,34 +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: '', //'过程变量',
        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, {