通知公告
This commit is contained in:
@@ -63,16 +63,15 @@
|
||||
export default {
|
||||
name: "detail",
|
||||
components:{AiBack,AiEmpty},
|
||||
props:{
|
||||
params:Object
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
detailObj: null,
|
||||
id: null,
|
||||
flag: null,
|
||||
detailObj: {},
|
||||
}
|
||||
},
|
||||
onLoad(opt){
|
||||
this.id = opt.id;
|
||||
this.flag = opt.flag;
|
||||
created() {
|
||||
this.getDetail();
|
||||
},
|
||||
methods: {
|
||||
@@ -90,8 +89,8 @@
|
||||
getDetail() {
|
||||
this.$http.post("/app/appannouncement/detail", null, {
|
||||
params: {
|
||||
id: this.id,
|
||||
detail: this.flag
|
||||
id: this.params?.id,
|
||||
detail: this.params?.flag
|
||||
}
|
||||
}).then(res=>{
|
||||
if(res && res.data){
|
||||
@@ -100,9 +99,9 @@
|
||||
})
|
||||
},
|
||||
handleClick() {
|
||||
uni.navigateTo({
|
||||
url:"/pages/notification/components/read?id=" + this.id,
|
||||
})
|
||||
this.$parent.params = this.params.id;
|
||||
this.$parent.comp = "read";
|
||||
this.$parent.showList = false;
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user