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