通知公告并修改富文本为v-html

This commit is contained in:
熊丽君
2021-08-10 17:15:42 +08:00
parent b00f6bba18
commit 18ccebcd39
6 changed files with 354 additions and 52 deletions

View File

@ -7,3 +7,30 @@ export function getDictListByStatus(params) {
params
});
}
// 通知公告标签
export function getLabel(params) {
return request({
url: '/mPolicy/getLabel',
params
});
}
// 获取通知公告列表
export function getPolicyList(data) {
const params = {
pageNum: data.pageNum,
pageSize: data.pageSize
};
return request({
url: '/mPolicy/getPolicyList',
method: 'post',
data,
params
});
}
// 初始化获取政策匹配
export function getPolicyMatch(params) {
return request({
url: '/mobile/getPolicyMatch',
params
});
}