mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 16:26:45 +08:00
面授管理列表也做异常处理
This commit is contained in:
@@ -3201,7 +3201,7 @@ function onFocusEnd(){
|
||||
"Y-M-D"
|
||||
);
|
||||
}
|
||||
let res = await list({
|
||||
await list({
|
||||
pageNo: state.currentPage1,
|
||||
pageSize: state.pageSize1,
|
||||
auditStatus: state.auditStatus,
|
||||
@@ -3212,11 +3212,17 @@ function onFocusEnd(){
|
||||
createName: state.createName,
|
||||
endTime: endTime,
|
||||
beginTime: startTime,
|
||||
});
|
||||
const { rows, total } = res.data.data;
|
||||
state.tableData1 = rows;
|
||||
state.tableDataTotal1 = total;
|
||||
state.tableLoading = false;
|
||||
}).then(res=>{
|
||||
const { rows, total } = res.data.data;
|
||||
state.tableData1 = rows;
|
||||
state.tableDataTotal1 = total;
|
||||
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.contentTxt = findClassFullName(sysTypeOptions.value, itm.sysTypeId) || "-";
|
||||
console.log("state.tableData1", state.tableData1);
|
||||
|
||||
Reference in New Issue
Block a user