projects/mes-zhp #125

Merged
gtz217 merged 4 commits from projects/mes-zhp into projects/mes-test 2023-11-29 09:06:52 +08:00
Showing only changes of commit 27faa04c7a - Show all commits

View File

@ -259,10 +259,11 @@ export default {
}, },
mounted() { mounted() {
if (this.$route.query.woIdString) { if (this.$route.query.woIdString) {
console.log(this.$route.query.woIdString); console.log(this.$route.query.woIdString)
this.queryParams.workOrderIdList = [this.$route.query.woIdString] this.queryParams.workOrderIdList = this.$route.query.woIdString.split(',')
// this.queryParams.workOrderIdList = [this.$route.query.woIdString]
// let arr =[] // let arr =[]
this.searchBarFormConfig[0].defaultSelect = [this.$route.query.woIdString] this.searchBarFormConfig[0].defaultSelect = this.$route.query.woIdString.split(',')
console.log(this.searchBarFormConfig[0].defaultSelect); console.log(this.searchBarFormConfig[0].defaultSelect);
} }
// if (this.$route.params.startTime && this.$route.params.endTime) { // if (this.$route.params.startTime && this.$route.params.endTime) {