|
|
|
|
@ -50,7 +50,6 @@
|
|
|
|
|
size="small"
|
|
|
|
|
shape="circle"
|
|
|
|
|
style="margin-left: 10px;padding:0 20px"
|
|
|
|
|
|
|
|
|
|
@click.native="toNotice"
|
|
|
|
|
>全部</Button
|
|
|
|
|
>
|
|
|
|
|
@ -60,8 +59,20 @@
|
|
|
|
|
<el-dropdown-item :divided="!index">
|
|
|
|
|
<div style="display: flex; align-items: center">
|
|
|
|
|
<div v-for="(value, key) in item.data">
|
|
|
|
|
{{timeymd(item.created_at)}} {{ key }} : {{ value }}
|
|
|
|
|
<div v-if="key!='order_item_id'">
|
|
|
|
|
{{timeymd(item.created_at)}} {{ key }} : {{ value }}
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else>
|
|
|
|
|
<Button
|
|
|
|
|
style="margin-left: 10px;"
|
|
|
|
|
size="small"
|
|
|
|
|
:type="'primary'"
|
|
|
|
|
@click="goOrder(value)"
|
|
|
|
|
>查看订单</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
style="margin-left: 10px;"
|
|
|
|
|
size="small"
|
|
|
|
|
@ -221,7 +232,9 @@ export default {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.noticeData = res.data;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
goOrder(value){
|
|
|
|
|
this.$router.push("/order/orderList?order_item_id="+value);
|
|
|
|
|
},
|
|
|
|
|
toggleSideBar() {
|
|
|
|
|
this.$store.dispatch("app/toggleSideBar");
|
|
|
|
|
},
|
|
|
|
|
|