This commit is contained in:
2025-07-10 14:16:42 +08:00
parent b4b5ea3994
commit 08adb88985
2 changed files with 26 additions and 6 deletions

View File

@@ -557,7 +557,8 @@ export default {
startProcess() {
let params = {
state: 5
state: 5,
batchId:this.processBatchId
}
materialAbnormalStart(params).then(res => {
if (res.data !== 0) {
@@ -593,7 +594,6 @@ export default {
checkFinal() {
stepCheckAbnormal(this.processBatchId).then(res => {
console.log(res)
if (res.data === 0) {
this.finalFlag = 1
this.dialogVisible = true
@@ -665,8 +665,18 @@ export default {
let nowPass = this.nowPass
let temp = nowPass.step % 8
// 计算circleStart的角度1~7分别对应0,45,90,135,180,225,2700对应315
this.circleStart = temp === 0 ? 315 : (temp - 1) * 45
const angleMap = {
0: 315,
1: 0,
2: 90,
3: 45,
4: 135,
5: 180,
6: 270,
7: 225,
8: 315,
};
this.circleStart = angleMap[temp];
})
},