| | |
| | | * @version: |
| | | * @Date: 2024-06-19 20:34:27 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-07-03 20:40:54 |
| | | * @LastEditTime: 2024-07-15 22:05:16 |
| | | */ |
| | | |
| | | import { Ref, h, ref, render, unref } from 'vue'; |
| | |
| | | import { useModal } from '/@/components/Modal'; |
| | | import { FormSchema } from '/@/components/Table'; |
| | | import { initRoute } from '../data'; |
| | | import { CustModalParams } from '/@/api/tigerapi/model/systemModel'; |
| | | |
| | | const { t } = useI18n(); |
| | | const { createErrorModal } = useMessage(); |
| | |
| | | sqlcmd: sqlcmd, |
| | | entityName: |
| | | params['selectedNodes'].value[0].type == 'Action' ? 'MES_PROD_ACTION' : 'MES_PROD_OPER', |
| | | order: '', |
| | | }).then((res) => { |
| | | params['resetFields'](); |
| | | if (params['selectedNodes'].value[0].type == 'Action') { |
| | |
| | | * @param {array} args |
| | | * @return {*} |
| | | */ |
| | | CustFunc: (type: string | undefined, ...args) => { |
| | | if (type == 'Route') { |
| | | CustFunc: (param: CustModalParams) => { |
| | | if (param.cType == 'Route') { |
| | | // initRoute(args[0], args[1]); |
| | | } |
| | | }, |