fix: 修改一些bug

This commit is contained in:
wanglei
2024-07-01 11:13:31 +08:00
parent f72c34e802
commit 165ae97634
3 changed files with 12 additions and 9 deletions

View File

@@ -388,10 +388,6 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.app-archives-list { .app-archives-list {
.qr-img {
width: 100%;
height: 100%;
}
.preview-img{ .preview-img{
width: 120px; width: 120px;
@@ -405,5 +401,10 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.qr-img {
width: 450px;
height: 450px;
}
} }
</style> </style>

View File

@@ -97,7 +97,7 @@ export default {
params: { params: {
shopId: this.params.shopId, shopId: this.params.shopId,
openId:this.info.openId, openId:this.info.openId,
pages: 1000 size: 1000
} }
}) })
if (code === 0 && records) { if (code === 0 && records) {

View File

@@ -109,7 +109,7 @@ export default {
data: {}, data: {},
form: { form: {
current:1, current:1,
pages:10, size:10,
operatorType:'', operatorType:'',
girdCode:'', girdCode:'',
shopName:'', shopName:'',
@@ -118,7 +118,8 @@ export default {
girdCode:'', girdCode:'',
fiveStartTime:new Date().getMonth().toString(), fiveStartTime:new Date().getMonth().toString(),
storeLevel:'5', storeLevel:'5',
pages:1000 current:1,
size:1000
}, },
cardList: [ cardList: [
{ {
@@ -181,7 +182,8 @@ export default {
async countByFiveStars(){ async countByFiveStars(){
try { try {
const {code, data:{records}} = await this.instance.post('/app/appShopStatistics/countByFiveStars',null,{ const {code, data:{records}} = await this.instance.post('/app/appShopStatistics/countByFiveStars',null,{
pages:1000 current:1,
size:1000
}) })
if (code === 0) { if (code === 0) {
this.chartList = records?.reverse() || [] this.chartList = records?.reverse() || []
@@ -197,7 +199,7 @@ export default {
async girdList() { async girdList() {
try { try {
const {code, data:{records}} = await this.instance.post('/app/appShopStatistics/girdList',null,{ const {code, data:{records}} = await this.instance.post('/app/appShopStatistics/girdList',null,{
pages:1000 size:1000
}) })
if (code === 0) { if (code === 0) {
this.gridList = records?.map(item=>{ this.gridList = records?.map(item=>{