修复站内消息推送的一些小问题
This commit is contained in:
parent
22deeab866
commit
098ddef534
@ -79,7 +79,7 @@ const getDetail = async(id? : number) => {
|
||||
// 打开弹窗
|
||||
const openDialog = (id?: any) => {
|
||||
console.log(id)
|
||||
state.dialog.isShowDialog = true;
|
||||
state.dialog.isShowDialog = true;
|
||||
state.dialog.title = '人才信息';
|
||||
getDetail(id);
|
||||
};
|
||||
|
@ -77,7 +77,7 @@ const mspApi = messagePushApi();
|
||||
const getTableData = async () => {
|
||||
try {
|
||||
state.tableData.loading = true;
|
||||
let res = await mspApi.getAttachmentList(state.tableData.param);
|
||||
let res = await mspApi.getMessagePushList(state.tableData.param);
|
||||
if (res?.success) {
|
||||
state.tableData.data = res.data.records;
|
||||
state.tableData.total = res.data.total;
|
||||
@ -85,6 +85,7 @@ const getTableData = async () => {
|
||||
ElMessage.error('消息列表获取失败!');
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
ElMessage.error('数据加载失败!');
|
||||
} finally {
|
||||
state.tableData.loading = false;
|
||||
|
Loading…
Reference in New Issue
Block a user