fix: 修改传参方式和bug
This commit is contained in:
@@ -94,6 +94,7 @@
|
|||||||
align="left">
|
align="left">
|
||||||
<template v-slot="{ row }">
|
<template v-slot="{ row }">
|
||||||
<img class="preview-img" v-if="row.fileUrl" :src="row.fileUrl" alt="" v-viewer>
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
BIN
project/fengdu/AppOutSource/AppArchives/img/shop.png
Normal file
BIN
project/fengdu/AppOutSource/AppArchives/img/shop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -33,7 +33,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right-row flex-col">
|
<div class="right-row flex-col">
|
||||||
<ai-title title="网格五星门店数量排名"></ai-title>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<ai-title title="统计列表"></ai-title>
|
<ai-title title="统计列表"></ai-title>
|
||||||
@@ -77,6 +78,7 @@
|
|||||||
align="left">
|
align="left">
|
||||||
<template v-slot="{ row }">
|
<template v-slot="{ row }">
|
||||||
<img class="shop-img" :src="row.fileUrl" v-if="row.fileUrl" alt="" v-viewer>
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
BIN
project/fengdu/AppOutSource/AppMarkStatic/img/shop.png
Normal file
BIN
project/fengdu/AppOutSource/AppMarkStatic/img/shop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -221,8 +221,10 @@ export default {
|
|||||||
|
|
||||||
async getList(){
|
async getList(){
|
||||||
try {
|
try {
|
||||||
const {code,data} = await this.instance.post('/app/apptaskmanage/list',{
|
const {code,data} = await this.instance.post('/app/apptaskmanage/list',null,{
|
||||||
...this.search
|
params:{
|
||||||
|
...this.search
|
||||||
|
}
|
||||||
})
|
})
|
||||||
if(code===0){
|
if(code===0){
|
||||||
this.tableData = data.records
|
this.tableData = data.records
|
||||||
|
|||||||
Reference in New Issue
Block a user