| | |
| | | * @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"; |
| | |
| | | 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, { |