通知公告改回来
This commit is contained in:
@@ -71,9 +71,6 @@ import {mapActions} from "vuex";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "add",
|
name: "add",
|
||||||
props: {
|
|
||||||
params: Object
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
show: false,
|
show: false,
|
||||||
|
|||||||
@@ -18,15 +18,17 @@ import {mapActions} from "vuex";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "read",
|
name: "read",
|
||||||
props: {
|
|
||||||
params: [String, Number]
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
current: 0,
|
current: 0,
|
||||||
list: [],
|
list: [],
|
||||||
|
id:null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad(opt) {
|
||||||
|
this.id = opt.id;
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
document.title = "接收对象";
|
document.title = "接收对象";
|
||||||
this.$loading()
|
this.$loading()
|
||||||
@@ -39,7 +41,7 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
this.$http.post("/app/appannouncementreader/list-unread", null, {
|
this.$http.post("/app/appannouncementreader/list-unread", null, {
|
||||||
params: {
|
params: {
|
||||||
id: this.params
|
id: this.id
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user