Commit 6015e2ba authored by zhengke's avatar zhengke

修改

parent bcba1fb6
...@@ -79,7 +79,7 @@ export function setNoticeInfo(data) { ...@@ -79,7 +79,7 @@ export function setNoticeInfo(data) {
/** /**
* 公告详情 * 公告详情
*/ */
export function getNoticeInfo(data) { export function GetNoticeInfo(data) {
return request({ return request({
url: '/UserCenter/GetNoticeInfo', url: '/UserCenter/GetNoticeInfo',
method: 'post', method: 'post',
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
setNoticeBaseInfo, //新增修改 公告配置 setNoticeBaseInfo, //新增修改 公告配置
setNoticeOperation, //公告操作 setNoticeOperation, //公告操作
setNoticeInfo, //发布公告 setNoticeInfo, //发布公告
getNoticeInfo, //公告详情 GetNoticeInfo, //公告详情
} from '../../api/administration/document'; } from '../../api/administration/document';
import { import {
getDeptTree getDeptTree
...@@ -552,13 +552,16 @@ ...@@ -552,13 +552,16 @@
}) })
}, },
getNInfo(id) { getNInfo(id) {
getNoticeInfo({ GetNoticeInfo({
NoticeId: id NoticeId: id
}).then(res => { }).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.NInfo = res.Data this.NInfo = res.Data;
console.log(this.NInfo,'数据来也');
this.addMsg.Id = res.Data.Id; this.addMsg.Id = res.Data.Id;
this.addMsg.From = res.Data.From; this.addMsg.From = res.Data.From;
this.nNumber = this.NInfo.Number;
//数组处理 //数组处理
this.addMsg.To = res.Data.To; this.addMsg.To = res.Data.To;
this.returnString = [] this.returnString = []
...@@ -583,7 +586,6 @@ ...@@ -583,7 +586,6 @@
} }
this.fileList.push(obj) this.fileList.push(obj)
}) })
this.nNumber = res.Data.Number;
} }
}).catch(() => {}) }).catch(() => {})
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment