晏有为
2024-05-27 f56fc3c44f12024265abb7260143d25de3f49bb5
src/view/notice.vue
@@ -4,7 +4,7 @@
  title="消息通知"
  :visible.sync="drawer"
  :direction="direction"
  :before-close="handleClose" style="height: 100vh;z-index: 9999999;">
  :before-close="handleClose" style="height: 100vh;z-index: 9999999;" size="450px">
    <div class="head">
      <div class="head-search">
        <label>消息类型:</label>
@@ -190,8 +190,8 @@
    },
    goNoticeDetail(row){
      this.$axios.put(this.$api.informationNotification.triggerModificationStatusToRead+'/'+row.id).then(res => {
        this.drawer = false;
        row.num = Math.random(100);
        localStorage.setItem("noticeInfo", JSON.stringify(row))
        this.$bus.$emit("change", JSON.stringify(row));
        this.$parent.addTab({
          v: "消息详情",
@@ -206,6 +206,7 @@
        this.refresh();
        this.$emit('goNoticeDetail')
      })
      this.drawer = false;
    },
    handleDropdown(e,row){
      switch(e){