积分订单

This commit is contained in:
yanran200730
2023-04-14 14:04:32 +08:00
parent c72eb9c40e
commit 7d72023ad7
4 changed files with 219 additions and 85 deletions

View File

@@ -1,7 +1,7 @@
<template>
<ai-list v-if="!isShowDetail">
<template slot="title">
<ai-title title="订单管理" :isShowBottomBorder="false">
<ai-title title="订单管理" :isShowBottomBorder="false" v-model="areaId" :isShowArea="currIndex === '1'" :hideLevel="hideLevel - 1" @change="onAreaChange">
</ai-title>
</template>
<template slot="tabs">
@@ -43,6 +43,10 @@
computed: {
...mapState(['user']),
hideLevel () {
return this.user.info.areaList?.length || 0
},
tabs () {
const tabList = [
{label: '网格积分订单', name: 'GirdList', comp: GirdList, permission: ''},
@@ -73,7 +77,7 @@
methods: {
onAreaChange () {
if (this.currIndex === '0') {
if (this.currIndex === '1') {
this.$nextTick(() => {
this.$refs[this.currIndex][0].getList()
})