| | |
| | | /* |
| | | * @Description: 产品工艺路线相关 |
| | | * @Description: 模板变量相关 |
| | | * @Author: Ben Lin |
| | | * @version: |
| | | * @Date: 2024-06-19 20:34:27 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-06-23 23:42:04 |
| | | * @LastEditTime: 2024-07-20 21:18:56 |
| | | */ |
| | | |
| | | import { Tag, Tooltip } from 'ant-design-vue'; |
| | |
| | | slots: { customRender: 'action' }, |
| | | fixed: undefined, |
| | | }; |
| | | |
| | | /** |
| | | * @description: 一些自定义方法 |
| | | * @return {*} |
| | | */ |
| | | const methods = { |
| | | /** |
| | | * @description: 获取新增按钮的行为,必需要有的方法 |
| | |
| | | }, |
| | | ]; |
| | | }, |
| | | OthersValues: (val: string, id: string) => { |
| | | KeyFieldValues: (val: string, id: string) => { |
| | | return { LABEL_ID: id }; |
| | | }, |
| | | GetUseForm: () => { |
| | | return {}; |
| | | }, |
| | | }; |
| | | |
| | | return [methods, ActionColumn]; |