面授 审核

This commit is contained in:
宋文超
2022-11-23 14:47:44 +08:00
parent ce3d807f2f
commit 006097a63e
13 changed files with 534 additions and 64 deletions

View File

@@ -62,12 +62,17 @@ export default {
state.notice = array;
};
const getNotice = () => {
noticeList(props.projectId)
let obj = {
pageNo: 1,
pageSize: 10,
projectId: props.projectId,
};
noticeList(obj)
.then((res) => {
console.log("获取公告列表成功");
let result = res.data.data;
if (result.length > 0) {
setNoticeData(result);
if (result.total > 0) {
setNoticeData(result.rows);
}
})
.catch((err) => {