| | |
| | | </template> |
| | | |
| | | <script setup name="ApsWorkOrderJobLog"> |
| | | import { list, get, sync } from "@/api/mainPlan/workOrderJobLog"; |
| | | import {list, get, syncWorkOrder, syncProcess} from "@/api/mainPlan/workOrderJobLog"; |
| | | import {ref} from "vue"; |
| | | import HxlhTable from "@/components/HxlhTable/index.vue"; |
| | | |
| | |
| | | if (form.value.id != null) { |
| | | debugger; |
| | | if(form.value.bizType==="work_order"){ |
| | | sync(form.value).then(response => { |
| | | syncWorkOrder(form.value).then(response => { |
| | | proxy.$modal.msgSuccess("同步成功"); |
| | | open.value = false; |
| | | getList(); |
| | | }); |
| | | }else { |
| | | proxy.$modal.msgSuccess("暂未实现"); |
| | | syncProcess(form.value).then(response => { |
| | | proxy.$modal.msgSuccess("同步成功"); |
| | | open.value = false; |
| | | getList(); |
| | | }); |
| | | |
| | | } |
| | | } |
| | | } |