极光推送

This commit is contained in:
liuye
2022-06-10 11:09:16 +08:00
parent a407d007be
commit e6fe7b224b

View File

@@ -12,13 +12,13 @@
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size"
@getList="getTableData" :col-configs="colConfigs" :dict="dict"
@selection-change="v=>search.ids=v.map(e=>e.id).toString()">
<el-table-column slot="type" label="推送分类" align="center">
<el-table-column slot="type" label="推送分类" align="center" width="200">
<template slot-scope="{row}">
<span v-if="row.type == 15" style="color:#42D784;">核酸监测</span>
<span v-else style="color:#4E8EEE;">主动报备提醒</span>
</template>
</el-table-column>
<el-table-column slot="options" label="操作" fixed="right" align="center">
<el-table-column slot="options" label="操作" align="center" width="200">
<template slot-scope="{row}">
<el-button type="text" @click="handleDelete(row.id)">删除</el-button>
</template>
@@ -66,7 +66,7 @@ export default {
return [
{type: 'selection'},
{slot: "type"},
{label: "消息内容", prop: "content"},
{label: "消息内容", prop: "content", align:'center'},
{slot: "options"}
]
}