fix: 修改传参方式和bug

This commit is contained in:
wanglei
2024-06-29 13:53:59 +08:00
parent 01b4f3abb8
commit 6fc848d164
5 changed files with 8 additions and 3 deletions

View File

@@ -94,6 +94,7 @@
align="left">
<template v-slot="{ row }">
<img class="preview-img" v-if="row.fileUrl" :src="row.fileUrl" alt="" v-viewer>
<img class="preview-img" v-else src="../img/shop.png" alt="" v-viewer>
</template>
</el-table-column>

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -33,7 +33,8 @@
</div>
<div class="right-row flex-col">
<ai-title title="网格五星门店数量排名"></ai-title>
<div class="bar-chart" ref="chartRef"></div>
<div class="bar-chart" v-if="chartList.length" ref="chartRef"></div>
<div v-else class="no-data" style="height:160px;"/>
</div>
</div>
<ai-title title="统计列表"></ai-title>
@@ -77,6 +78,7 @@
align="left">
<template v-slot="{ row }">
<img class="shop-img" :src="row.fileUrl" v-if="row.fileUrl" alt="" v-viewer>
<img class="shop-img" src="./img/shop.png" v-else alt="" v-viewer>
</template>
</el-table-column>

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -221,8 +221,10 @@ export default {
async getList(){
try {
const {code,data} = await this.instance.post('/app/apptaskmanage/list',{
...this.search
const {code,data} = await this.instance.post('/app/apptaskmanage/list',null,{
params:{
...this.search
}
})
if(code===0){
this.tableData = data.records