mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 10:56:46 +08:00
---fix bug
This commit is contained in:
@@ -766,6 +766,8 @@ export default {
|
||||
let obj = {
|
||||
number: i + 1 + (state.currentPage - 1) * 10,
|
||||
name: item.name,
|
||||
id: item.id,
|
||||
courseId: item.courseId,
|
||||
type: item.type == 1 ? "线上" : "线下",
|
||||
content: sHX(item.sysTypeId),
|
||||
status:item.type == 2?
|
||||
@@ -835,7 +837,7 @@ export default {
|
||||
"teacherId": state.memberValue.value,
|
||||
"teacherName": state.memberValue.label
|
||||
})
|
||||
if(state.type==2){
|
||||
if(state.type=='线下'){
|
||||
inviteAudit({
|
||||
"inviteContent": state.valueSuggInvitation,
|
||||
"offcourseId": state.inviteReview.offcourseId,
|
||||
@@ -849,7 +851,7 @@ export default {
|
||||
console.log(err)
|
||||
state.courInvitationAuditModal = false;
|
||||
})
|
||||
}else if (state.type==1){
|
||||
}else if (state.type=='线上'){
|
||||
boeRequest(OTHER_AUDIT,{
|
||||
auditId:state.id,
|
||||
courseId:state.courseId,
|
||||
@@ -900,7 +902,7 @@ export default {
|
||||
message.error("请输入审核意见");
|
||||
return;
|
||||
}
|
||||
if(state.type==2){
|
||||
if(state.type=='线下'){
|
||||
courseAuditView({
|
||||
createId: state.createId,
|
||||
createName: state.chooseCreater,
|
||||
@@ -925,11 +927,11 @@ export default {
|
||||
state.valuepass = "1";
|
||||
state.openDetailVisibie = false;
|
||||
});
|
||||
}else if(state.type==1){
|
||||
}else if(state.type=='线上'){
|
||||
boeRequest(COURSE_AUDIT,{
|
||||
auditId:state.id,
|
||||
courseId:state.courseId,
|
||||
title:state.description,
|
||||
title:state.valueSugg,
|
||||
remark:state.valueSugg,
|
||||
pass:state.valuepass == "1" ? true : false,
|
||||
}).then(()=>{
|
||||
|
||||
Reference in New Issue
Block a user