fix: 统计

This commit is contained in:
wanglei
2024-06-28 10:38:07 +08:00
parent 9c5f594a58
commit 77664107fa

View File

@@ -41,13 +41,13 @@
<template #left> <template #left>
<ai-select <ai-select
v-model="form.operatorType" v-model="form.operatorType"
@change="(form.current = 1), getList1()" @change="(form.current = 1), getList2()"
placeholder="经营类型" placeholder="经营类型"
:selectList="$dict.getDict('operatorType')"> :selectList="$dict.getDict('operatorType')">
</ai-select> </ai-select>
<ai-select <ai-select
v-model="form.girdCode" v-model="form.girdCode"
@change="(form.current = 1), getList1()" @change="(form.current = 1), getList2()"
placeholder="所属网格" placeholder="所属网格"
:selectList="gridList"> :selectList="gridList">
</ai-select> </ai-select>
@@ -56,16 +56,16 @@
<el-input <el-input
v-model="form.shopName" v-model="form.shopName"
size="small" size="small"
v-throttle="() => {form.current = 1, getList1()}" v-throttle="() => {form.current = 1, getList2()}"
placeholder="请输入门店名称" placeholder="请输入门店名称"
clearable clearable
@clear="form.current = 1, form.shopName = '', getList1()" @clear="form.current = 1, form.shopName = '', getList2()"
suffix-icon="iconfont iconSearch"> suffix-icon="iconfont iconSearch">
</el-input> </el-input>
</template> </template>
</ai-search-bar> </ai-search-bar>
<ai-table <ai-table
:tableData="colConfigs1" :tableData="tableData1"
:col-configs="colConfigs1" :col-configs="colConfigs1"
:total="total" :total="total"
:current.sync="search.current" :current.sync="search.current"
@@ -76,7 +76,7 @@
slot="pic" slot="pic"
align="left"> align="left">
<template v-slot="{ row }"> <template v-slot="{ row }">
<img :src="row.fileUrl" alt="" v-viewer> <img class="shop-img" :src="row.fileUrl" v-if="row.fileUrl" alt="" v-viewer>
</template> </template>
</el-table-column> </el-table-column>
@@ -170,6 +170,7 @@ export default {
this.girdList() this.girdList()
this.queryShopDetail() this.queryShopDetail()
this.getList() this.getList()
this.getList2()
this.countByFiveStars() this.countByFiveStars()
}) })
}, },
@@ -409,5 +410,10 @@ export default {
width: 100%; width: 100%;
flex: 1; flex: 1;
} }
.shop-img{
width: 120px;
height: 120px;
}
} }
</style> </style>