|
@@ -50,7 +50,7 @@
|
|
|
var item = this.list[index];
|
|
|
if (item.type == 0) {
|
|
|
//日报
|
|
|
- var date = item.content;
|
|
|
+ var date = item.content;
|
|
|
this.$axios.post("/information/check", {id:item.id
|
|
|
})
|
|
|
.then(res => {
|
|
@@ -60,6 +60,15 @@
|
|
|
this.$router.push('/edit?date='+date);
|
|
|
}
|
|
|
}).catch(err=> {toast.clear();});
|
|
|
+ } else {
|
|
|
+ var date = item.content;
|
|
|
+ this.$axios.post("/information/check", {id:item.id
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ if(res.code == "ok") {
|
|
|
+ this.getMessage()
|
|
|
+ }
|
|
|
+ }).catch(err=> {toast.clear();});
|
|
|
}
|
|
|
|
|
|
},
|