消息群发
This commit is contained in:
@@ -227,7 +227,7 @@ export default {
|
|||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.data = res.data
|
this.data = res.data
|
||||||
let obj = res.data.fileList.filter(e=> e.contentType == "image")
|
let obj = res.data.fileList.filter(e=> e.contentType == "image")
|
||||||
this.images = [{ url: obj[0].accessUrl }]
|
this.images = [{ url: obj[0]?.accessUrl }]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size"
|
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size"
|
||||||
@getList="getTableData" show-overflow-tooltip :col-configs="colConfigs" :dict="dict">
|
@getList="getTableData" show-overflow-tooltip :col-configs="colConfigs" :dict="dict">
|
||||||
<el-table-column slot="type" width="240px" label="消息内容" align="center">
|
<!-- <el-table-column slot="type" width="240px" label="消息内容" align="center">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
@@ -27,16 +27,16 @@
|
|||||||
<video style="width:40px; height: 40px;" v-if="row.contentType == 'video'" :src="row.accessUrl"></video>
|
<video style="width:40px; height: 40px;" v-if="row.contentType == 'video'" :src="row.accessUrl"></video>
|
||||||
<img src="../../../../examples/assets/file.png" v-if="row.contentType == 'file'" width="40" height="40"/>
|
<img src="../../../../examples/assets/file.png" v-if="row.contentType == 'file'" width="40" height="40"/>
|
||||||
<div class="message-info__wrapper--right">
|
<div class="message-info__wrapper--right">
|
||||||
<!-- <h3 v-if="row.contentType === 'image'">{{ row.media.file.name }}</h3>
|
<h3 v-if="row.contentType === 'image'">{{ row.media.file.name }}</h3>
|
||||||
<h3 v-if="row.contentType === 'video'">{{ row.media.file.name }}</h3>
|
<h3 v-if="row.contentType === 'video'">{{ row.media.file.name }}</h3>
|
||||||
<p v-if="row.contentType === 'image'">{{ row.media.file.fileSizeStr }}</p>
|
<p v-if="row.contentType === 'image'">{{ row.media.file.fileSizeStr }}</p>
|
||||||
<p v-if="row.contentType === 'video'">{{ row.media.file.fileSizeStr }}</p> -->
|
<p v-if="row.contentType === 'video'">{{ row.media.file.fileSizeStr }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column slot="options" label="操作" align="center">
|
<el-table-column slot="options" label="操作" align="center">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<el-button type="text" @click="toAdd(row.id)">详情</el-button>
|
<el-button type="text" @click="toAdd(row.id)">详情</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user