diff --git a/src/views/base/processStation/index.vue b/src/views/base/processStation/index.vue index 96fcaab..1b25fb4 100644 --- a/src/views/base/processStation/index.vue +++ b/src/views/base/processStation/index.vue @@ -288,12 +288,13 @@ export default { async created() { if (this.$route.params != null) { this.queryParams.productLineCode = this.$route.params && this.$route.params.productLineCode; + }else{ + this.queryParams.productLineCode = 'CX_02' } this.loading = true; await findProductLineList({productLineType: 1}).then(response => { this.productLineList = response.data; - this.queryParams.productLineCode = 'CX_02' }) await findProductLineList({productLineType: 2}).then(response => { this.findStationList = response.data;