diff --git a/src/views/work/process/index.vue b/src/views/work/process/index.vue index bc67deb..4f5c002 100644 --- a/src/views/work/process/index.vue +++ b/src/views/work/process/index.vue @@ -579,7 +579,8 @@ export default { startProcess() { let params = { - state: 1 + state: 1, + batchId: this.processBatchId } materialStart(params).then(res => { if (res.data === 1) { @@ -729,20 +730,16 @@ export default { // TODO clearInterval(this.intervalTime) - this.getDataList() // 接口方法 this.intervalTime = setInterval(() => { this.getFault() this.getPLCData() - this.getDataList() // 接口方法 }, 2000) }, computed: {}, created() { - this.getPLCData() this.getDataList() // 接口方法 newIP() - this.getFault() }, beforeDestroy() {