|
|
|
|
@ -29,6 +29,8 @@
|
|
|
|
|
<template v-slot:btns>
|
|
|
|
|
<el-table-column fixed="right" label="操作" width="200" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<Button style="margin-right:10px" v-if="scope.row.data['order_item_id']" type="primary" size="small" @click="goOrder(scope.row.data['order_item_id'])">查看订单</Button>
|
|
|
|
|
|
|
|
|
|
<Button v-if="!scope.row.read_at" type="primary" size="small" @click="toggleMessage(scope.row)">标为已读</Button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
@ -126,6 +128,9 @@ export default {
|
|
|
|
|
this.list = res.data
|
|
|
|
|
this.total = res.total
|
|
|
|
|
},
|
|
|
|
|
goOrder(value){
|
|
|
|
|
this.$router.push("/order/orderList?order_item_id="+value);
|
|
|
|
|
},
|
|
|
|
|
pageChange(e) {
|
|
|
|
|
this.select.pageIndex = e
|
|
|
|
|
this.getNotices()
|
|
|
|
|
|