|
|
|
|
@ -128,7 +128,8 @@
|
|
|
|
|
import {
|
|
|
|
|
listunit,
|
|
|
|
|
del,
|
|
|
|
|
unDoTotal
|
|
|
|
|
unDoTotal,
|
|
|
|
|
isRead
|
|
|
|
|
} from '@/api/task/unit.js'
|
|
|
|
|
import {
|
|
|
|
|
listdept
|
|
|
|
|
@ -401,7 +402,8 @@
|
|
|
|
|
.getMonth() + 1
|
|
|
|
|
// this.selectMonth.push(currentMonth)
|
|
|
|
|
// this.selectMonth.push(currentMonth)
|
|
|
|
|
// this.select.month = currentMonth
|
|
|
|
|
// this.select.month = currentMonth
|
|
|
|
|
// 是否从 平台跳转来的
|
|
|
|
|
if (this.$route.path) {
|
|
|
|
|
let path = this.$route.path.split("_")
|
|
|
|
|
this.select.type = path[1]
|
|
|
|
|
@ -456,11 +458,23 @@
|
|
|
|
|
}
|
|
|
|
|
this.getUnitTypeList()
|
|
|
|
|
this.getUnDoTotal()
|
|
|
|
|
this.getList()
|
|
|
|
|
|
|
|
|
|
this.getList()
|
|
|
|
|
console.log("this.$route.query123",this.$route.query)
|
|
|
|
|
if (this.$route.query.token && this.$route.query.tp){
|
|
|
|
|
if(this.$route.query.notice_id){
|
|
|
|
|
this.sendIsRead(this.$route.query.notice_id)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
watch: {},
|
|
|
|
|
methods: {
|
|
|
|
|
sendIsRead(id){
|
|
|
|
|
isRead({
|
|
|
|
|
id:id
|
|
|
|
|
}).then(res=>{
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
loadDeptOptions() {
|
|
|
|
|
listdept().
|
|
|
|
|
then((res) => {
|
|
|
|
|
|