mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
面授修改为列表先置空
This commit is contained in:
@@ -3557,6 +3557,7 @@ function onFocusEnd(){
|
||||
// };
|
||||
// 渲染开课操作
|
||||
const getTableDate3 = async (type) => {
|
||||
state.tableData6 = []
|
||||
state.tableLoading = true;
|
||||
state.tableCoursePlanLoading = true
|
||||
// let datas = state.tableData6;
|
||||
@@ -3586,7 +3587,21 @@ function onFocusEnd(){
|
||||
offcourseId: state.offcourseId,
|
||||
};
|
||||
console.log("获取开obj", obj, state.selectTime);
|
||||
let res = await planList(obj);
|
||||
let res = null
|
||||
await planList(obj).then(rs=>{
|
||||
res = rs
|
||||
}).catch(err=>{
|
||||
message.error(err.message=='timeout of 15000ms exceeded'?'系统超时,请稍后再试':err.data.msg)
|
||||
state.tableCoursePlanLoading = false
|
||||
res ={
|
||||
data:{data:{
|
||||
"pageNo": "1",
|
||||
"pageSize": "10",
|
||||
"total": "0",
|
||||
"pages": "0",
|
||||
"rows": []
|
||||
}}}
|
||||
})
|
||||
state.tableLoading = false;
|
||||
console.log("开课res", res);
|
||||
const { rows, total, pageNo } = res.data.data;
|
||||
|
||||
Reference in New Issue
Block a user