生产工序

This commit is contained in:
2023-05-31 09:51:10 +08:00
parent dab2eba2bc
commit c4fd39c350
8 changed files with 14 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ export default {
loginname: '', loginname: '',
password: '', password: '',
// option: [{index: '1', label: '生产统计'}, {index: '2', label: '仓储监控'}, {index: '3', label: '设备监控'}], // option: [{index: '1', label: '生产统计'}, {index: '2', label: '仓储监控'}, {index: '3', label: '设备监控'}],
option: [{index: '1', label: '工序生产-左'}, {index: '2', label: '工序生产-右'}], option: [{index: '1', label: '首页-左'}, {index: '2', label: '首页-右'}, {index: '3', label: '工序生产-左'}, {index: '4', label: '工序生产-右'}],
index: this.$store.getters.equipId, index: this.$store.getters.equipId,
baseUrl: this.$store.getters.baseUrl, baseUrl: this.$store.getters.baseUrl,
setTime: this.$store.getters.setTime / 1000, setTime: this.$store.getters.setTime / 1000,
@@ -90,6 +90,10 @@ export default {
this.$router.push('/homepageone') this.$router.push('/homepageone')
} else if (this.index === '2') { } else if (this.index === '2') {
this.$router.push('/homepagetwo') this.$router.push('/homepagetwo')
} else if (this.index === '3') {
this.$router.push('/pdone')
} else if (this.index === '4') {
this.$router.push('/pdtwo')
} }
// if (this.index === '1') { // if (this.index === '1') {
// this.$router.push('/prodcount') // this.$router.push('/prodcount')

View File

@@ -10,9 +10,9 @@ const LogisticsTech = r => require.ensure([], () => r(require('@page/LogisticsTe
const ProdCount = r => require.ensure([], () => r(require('@page/ProdCount2')), 'ProdCount') const ProdCount = r => require.ensure([], () => r(require('@page/ProdCount2')), 'ProdCount')
Vue.use(Router) Vue.use(Router)
const HomePageOne = r => require.ensure([], () => r(require('@page/modules/homepage/one')), 'HomePageOne') const ProcessProductionOne = r => require.ensure([], () => r(require('@page/modules/processproduction/one')), 'modules')
const HomePageTwo = r => require.ensure([], () => r(require('@page/modules/homepage/two')), 'HomePageOne') const ProcessProductionTwo = r => require.ensure([], () => r(require('@page/modules/processproduction/two')), 'modules')
const HomePageThree = r => require.ensure([], () => r(require('@page/modules/homepage/three')), 'HomePageThree') const ProcessProductionThree = r => require.ensure([], () => r(require('@page/modules/processproduction/three')), 'modules')
export default new Router({ export default new Router({
linkActiveClass: 'tab-active', linkActiveClass: 'tab-active',
@@ -26,16 +26,16 @@ export default new Router({
component: Setup component: Setup
}, },
{ {
path: '/homepageone', path: '/pdone',
component: HomePageOne component: ProcessProductionOne
}, },
{ {
path: '/homepagetwo', path: '/pdtwo',
component: HomePageTwo component: ProcessProductionTwo
}, },
{ {
path: '/homepagethree', path: '/pdthree',
component: HomePageThree component: ProcessProductionThree
}, },
{ {
path: '/homepage', path: '/homepage',