Commit 5ed114fc authored by mengcheng's avatar mengcheng

修改主体样式

parent 93fdb87b
...@@ -313,7 +313,7 @@ export default { ...@@ -313,7 +313,7 @@ export default {
width: 110, width: 110,
}, },
{ {
name: 'workorderCode', name: 'workorderCodes',
label: '生产单号', label: '生产单号',
width: 120, width: 120,
}, },
...@@ -400,6 +400,11 @@ export default { ...@@ -400,6 +400,11 @@ export default {
}] }]
} }
}, },
mounted() { //监听工作站切换事件
uni.$on('switchWorkstation', (station) => {
this.getTaskList();
})
},
created() { created() {
//获取屏幕高度 //获取屏幕高度
uni.getSystemInfo({ uni.getSystemInfo({
...@@ -407,11 +412,7 @@ export default { ...@@ -407,11 +412,7 @@ export default {
this.screenHeight = res.windowHeight; this.screenHeight = res.windowHeight;
} }
}) })
//监听工作站切换事件
uni.$on('switchWorkstation', (station) => {
// this.reset();
this.getTaskList();
})
uni.$on('taskStatusChanged', () => { uni.$on('taskStatusChanged', () => {
this.getTaskList(); //刷新任务状态 this.getTaskList(); //刷新任务状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment