mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 00:36:46 +08:00
面授管理列表也做异常处理
This commit is contained in:
@@ -3201,7 +3201,7 @@ function onFocusEnd(){
|
|||||||
"Y-M-D"
|
"Y-M-D"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
let res = await list({
|
await list({
|
||||||
pageNo: state.currentPage1,
|
pageNo: state.currentPage1,
|
||||||
pageSize: state.pageSize1,
|
pageSize: state.pageSize1,
|
||||||
auditStatus: state.auditStatus,
|
auditStatus: state.auditStatus,
|
||||||
@@ -3212,11 +3212,17 @@ function onFocusEnd(){
|
|||||||
createName: state.createName,
|
createName: state.createName,
|
||||||
endTime: endTime,
|
endTime: endTime,
|
||||||
beginTime: startTime,
|
beginTime: startTime,
|
||||||
});
|
}).then(res=>{
|
||||||
const { rows, total } = res.data.data;
|
const { rows, total } = res.data.data;
|
||||||
state.tableData1 = rows;
|
state.tableData1 = rows;
|
||||||
state.tableDataTotal1 = total;
|
state.tableDataTotal1 = total;
|
||||||
state.tableLoading = false;
|
state.tableLoading = false;
|
||||||
|
}).catch(err=>{
|
||||||
|
state.tableData1 = [];
|
||||||
|
state.tableLoading = false;
|
||||||
|
state.tableDataTotal1 = 0;
|
||||||
|
message.error(err.message=='timeout of 15000ms exceeded'?'系统超时,请稍后再试':err.data.msg)
|
||||||
|
})
|
||||||
// itm.pageNo = pageNo;
|
// itm.pageNo = pageNo;
|
||||||
// itm.contentTxt = findClassFullName(sysTypeOptions.value, itm.sysTypeId) || "-";
|
// itm.contentTxt = findClassFullName(sysTypeOptions.value, itm.sysTypeId) || "-";
|
||||||
console.log("state.tableData1", state.tableData1);
|
console.log("state.tableData1", state.tableData1);
|
||||||
|
|||||||
Reference in New Issue
Block a user