| | |
| | | <template> |
| | | <div class="notice-detail-page"> |
| | | <div class="notice-detail-head"> |
| | | <h4 style="margin-bottom: 16px;">{{ noticeInfo.theme }}</h4> |
| | | <h4 style="margin-bottom: 16px;">{{ noticeInfo.theme }} <el-tag style="margin-left: 10px;" :type="options.find(m=>m.value==noticeInfo.messageType).type" v-if="options.find(m=>m.value==noticeInfo.messageType)">{{ options.find(m=>m.value==noticeInfo.messageType).label }}</el-tag></h4> |
| | | <p style="font-size: 12px;color: #999;margin-bottom: 20px;"> |
| | | <!-- <span>消息类型:审批 </span> --> |
| | | <span>发送人:{{ noticeInfo.createUser }} </span> |
| | |
| | | data() { |
| | | return{ |
| | | noticeInfo:{}, |
| | | options:[] |
| | | } |
| | | }, |
| | | created(){ |
| | |
| | | console.log(this.noticeInfo); |
| | | sessionStorage.setItem("noticeInfo", msg); |
| | | }); |
| | | this.getTypeDicts() |
| | | }, |
| | | methods:{ |
| | | getTypeDicts() { |
| | | this.$axios.post(this.$api.enums.selectEnumByCategory, { |
| | | category: "消息类型" |
| | | }).then(res => { |
| | | let data = res.data |
| | | this.options = data; |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | |