|
@@ -103,11 +103,11 @@ export default {
|
|
|
// 获取公告数据
|
|
|
getNotificationData() {
|
|
|
let that = this
|
|
|
- // let userMes = JSON.parse(window.sessionStorage.getItem('user'))
|
|
|
- // if (userMes.deptId) {
|
|
|
+ let userMes = JSON.parse(window.sessionStorage.getItem('user'))
|
|
|
+ if (userMes.deptId) {
|
|
|
let params = {
|
|
|
- // deptId: userMes.deptId,
|
|
|
- deptId: '1',
|
|
|
+ deptId: userMes.deptId,
|
|
|
+ // deptId: '1',
|
|
|
releaseDeptName: that.form.company,
|
|
|
noticeTitle: that.form.reportMsg,
|
|
|
beginDataTime: that.form.time ? that.form.time.substring(0, that.form.time.indexOf(' - ')) + ' 00:00:00' : '',
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
that.noticeData = datas.data
|
|
|
}
|
|
|
})
|
|
|
- // }
|
|
|
+ }
|
|
|
},
|
|
|
getSeach() {
|
|
|
this.getNotificationData()
|