极光推送
This commit is contained in:
@@ -12,13 +12,13 @@
|
|||||||
<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" :col-configs="colConfigs" :dict="dict"
|
@getList="getTableData" :col-configs="colConfigs" :dict="dict"
|
||||||
@selection-change="v=>search.ids=v.map(e=>e.id).toString()">
|
@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}">
|
<template slot-scope="{row}">
|
||||||
<span v-if="row.type == 15" style="color:#42D784;">核酸监测</span>
|
<span v-if="row.type == 15" style="color:#42D784;">核酸监测</span>
|
||||||
<span v-else style="color:#4E8EEE;">主动报备提醒</span>
|
<span v-else style="color:#4E8EEE;">主动报备提醒</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="text" @click="handleDelete(row.id)">删除</el-button>
|
<el-button type="text" @click="handleDelete(row.id)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -66,7 +66,7 @@ export default {
|
|||||||
return [
|
return [
|
||||||
{type: 'selection'},
|
{type: 'selection'},
|
||||||
{slot: "type"},
|
{slot: "type"},
|
||||||
{label: "消息内容", prop: "content"},
|
{label: "消息内容", prop: "content", align:'center'},
|
||||||
{slot: "options"}
|
{slot: "options"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user