| | |
| | | * @version: |
| | | * @Date: 2024-06-19 20:34:27 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-08-04 14:20:29 |
| | | * @LastEditTime: 2024-08-20 15:03:44 |
| | | */ |
| | | |
| | | import { DeleteLabelTemplate } from '/@/api/tigerapi/mes/label'; |
| | |
| | | */ |
| | | CustFunc: (param: CustModalParams) => { |
| | | const webSocketStore = useWebSocketStore(); |
| | | if (webSocketStore.GetSocketState == 1) { |
| | | if (webSocketStore.GetSocketState == 1 && param.values['TEMP_TYPE'] == 0) { |
| | | webSocketStore.sendMessage( |
| | | `wsSubStrings ${param.values['ID']}_#_${param.values['TEMP_PATH']}`, |
| | | ); |
| | |
| | | type: 'one', |
| | | keyName: 'BAS_LABEL_VAR', |
| | | order: 'VAR_NAME', |
| | | showTbButton: false, |
| | | FnName: '', |
| | | }, |
| | | { |
| | | name: 'BAS_LABEL_VAR_WO', |
| | | code: 'LABEL_ID', |
| | | type: 'one', |
| | | keyName: 'BAS_LABEL_VAR_WO', |
| | | order: '', |
| | | showTbButton: true, |
| | | FnName: 'AddRow', |
| | | }, |
| | | // { |
| | | // name: 'BAS_LABEL_VAR_WO', |
| | | // code: 'LABEL_ID', |
| | | // type: 'one', |
| | | // keyName: 'BAS_LABEL_VAR_WO', |
| | | // order: '', |
| | | // showTbButton: true, |
| | | // FnName: 'AddRow', |
| | | // }, |
| | | ], //drawers是右边弹出增改侧框的名字列表 |
| | | }; |
| | | // const webSocketStore = useWebSocketStore(); |