|
@@ -97,7 +97,9 @@ import {
|
|
|
startData,
|
|
|
endData,
|
|
|
} from "@/api/prosteps/screwdriver";
|
|
|
+import { useProcessStore } from "@/store";
|
|
|
import { emitter, EventsNames } from "@/utils/common";
|
|
|
+const store = useProcessStore();
|
|
|
const page = reactive({
|
|
|
pageSize: 10,
|
|
|
pageNo: 1,
|
|
@@ -113,7 +115,12 @@ const getData = async () => {
|
|
|
page.total = data.totalCount;
|
|
|
};
|
|
|
const begin = async () => {
|
|
|
- const { code } = await startData();
|
|
|
+ const { code } = await startData({
|
|
|
+ workOrderCode: store.odersData.workOrderCode,
|
|
|
+ seqNo: store.useSeqNo,
|
|
|
+ operationId: store.odersData.operationId,
|
|
|
+ operationName: store.processInfo.operationName,
|
|
|
+ });
|
|
|
if (code == "200") {
|
|
|
ElMessage.success("操作成功");
|
|
|
}
|