| | |
| | | import { BasicForm, useForm } from '/@/components/Form/index'; |
| | | import { formSchema } from './log.data'; |
| | | import { BasicDrawer, useDrawerInner } from '/@/components/Drawer'; |
| | | //api |
| | | import { SaveTsk_Job } from '/@/api/tigerapi/tsk/tsk_job'; |
| | | import { SaveTskJob } from '/@/api/tigerapi/tsk/tsk_job'; |
| | | |
| | | export default defineComponent({ |
| | | name: 'WHDrawer', |
| | |
| | | setDrawerProps({ confirmLoading: true }); |
| | | // TODO custom api |
| | | //保存任务 |
| | | const apiAction = SaveTsk_Job(values, unref(isUpdate)); |
| | | const apiAction = SaveTskJob(values); |
| | | apiAction.then((action) => { |
| | | if (action.IsSuccessed) { |
| | | closeDrawer(); |