| | |
| | | <el-option v-for="t in g.types" :key="t.value" :label="t.label" :value="t.value"></el-option> |
| | | </el-option-group> |
| | | </el-select> |
| | | <template v-if="!isRollup && type === 'trackMileage'"> |
| | | <span class="toolbar-label">企业类别</span> |
| | | <el-select v-model="enterpriseCategory" size="small" style="width:140px" @change="doQuery"> |
| | | <el-option label="全部" value=""></el-option> |
| | | <el-option label="规上企业" value="ABOVE_SCALE"></el-option> |
| | | <el-option label="两客企业" value="PASSENGER"></el-option> |
| | | </el-select> |
| | | </template> |
| | | <template v-if="canRollup"> |
| | | <span class="toolbar-label">视图</span> |
| | | <el-radio-group v-model="viewMode" size="small" @change="onViewChange"> |
| | |
| | | type: 'h2032', |
| | | period: '', |
| | | periodType: '', |
| | | enterpriseCategory: '', |
| | | viewMode: 'detail', |
| | | rollupTypes: [], |
| | | from: '', |
| | |
| | | const g = this.modules.find(x => x.types.some(t => t.value === this.type)) |
| | | if (g) this.activeModule = g.key |
| | | this.periodType = '' |
| | | this.enterpriseCategory = '' |
| | | this.viewMode = 'detail' |
| | | this.summaryHint = '' |
| | | this.doQuery() |
| | |
| | | period: this.period || undefined, |
| | | keyword: this.keyword || undefined, |
| | | periodType: this.periodType || undefined, |
| | | enterpriseCategory: this.type === 'trackMileage' ? (this.enterpriseCategory || undefined) : undefined, |
| | | page: this.page, |
| | | size: this.size |
| | | } |
| | |
| | | period: this.period || undefined, |
| | | keyword: this.keyword || undefined, |
| | | periodType: this.periodType || undefined, |
| | | enterpriseCategory: this.type === 'trackMileage' ? (this.enterpriseCategory || undefined) : undefined, |
| | | page: nextPage, |
| | | size: this.size |
| | | } |