diff --git a/src/router/index.js b/src/router/index.js index 22c22a3..aa8bca1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -14,32 +14,33 @@ const routes = [ path: '/home', name: 'home', component:Home, - }, + } + // , // { // path: '/', // name: 'home2', // component: Home, // }, - { - path: '/orderBoard', - name: 'orderBoard', - component: () => import('../views/orderBoard.vue'), - }, - { - path: '/scheduledBoard', - name: 'scheduledBoard', - component: () => import('../views/scheduledBoard.vue'), - }, - { - path: '/reportAbnormal', - name: 'reportAbnormal', - component: () => import('../views/reportAbnormal.vue'), - }, - { - path: '/productOutBoard', - name: 'productOutBoard', - component: () => import('../views/productOutBoard.vue'), - } + // { + // path: '/orderBoard', + // name: 'orderBoard', + // component: () => import('../views/orderBoard.vue'), + // }, + // { + // path: '/scheduledBoard', + // name: 'scheduledBoard', + // component: () => import('../views/scheduledBoard.vue'), + // }, + // { + // path: '/reportAbnormal', + // name: 'reportAbnormal', + // component: () => import('../views/reportAbnormal.vue'), + // }, + // { + // path: '/productOutBoard', + // name: 'productOutBoard', + // component: () => import('../views/productOutBoard.vue'), + // } ]; const router = new VueRouter({ diff --git a/src/views/newScheduledBoard.vue b/src/views/newScheduledBoard.vue index 6d1acd4..cb90771 100644 --- a/src/views/newScheduledBoard.vue +++ b/src/views/newScheduledBoard.vue @@ -76,7 +76,10 @@ dataType: "json", success: (data) => { if (data.number==999) { - + that.pieList=data.pieList; + that.barList=data.barList; + this.draw(); + this.draw2() }else { that.number1=data.number; that.pieList=data.pieList; @@ -531,7 +534,6 @@ }, 4000*Number(that.refreshTime)); }, }) - }, getIp(){ console.log(localStorage.getItem("tvIP"))