This commit is contained in:
yanran200730
2021-12-08 19:24:59 +08:00
parent 010bd73e04
commit e3402dc801
6 changed files with 41 additions and 5 deletions

View File

@@ -16,10 +16,11 @@
<script>
import AiBack from "../../../components/AiBack";
import AiTopFixed from "../../../components/AiTopFixed";
import AiOpenData from "../../../components/AiOpenData";
import {mapActions} from "vuex";
export default {
name: "read",
components: {AiBack, AiTopFixed},
components: {AiBack, AiTopFixed, AiOpenData},
props:{
params:[String,Number]
},
@@ -31,9 +32,13 @@
},
created() {
document.title = "接收对象";
this.getList();
this.$loading()
this.injectJWeixin().then(() => {
this.getList();
})
},
methods: {
...mapActions(['previewFile', 'injectJWeixin']),
getList() {
this.$http.post("/app/appannouncementreader/list-unread",null,{
params:{
@@ -42,6 +47,7 @@
}).then(res => {
if (res && res.data) {
this.list = res.data;
this.$hideLoading()
}
})
},