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