This commit is contained in:
fooperage
2023-02-14 00:10:33 +08:00
parent a70cddd87d
commit ff8533e607

View File

@@ -174,7 +174,7 @@ export default {
closeBack: false,
valuepass: "1",
valueSugg: null,
chooseId: null,
createId: null,
chooseCreater: null,
chooseOffId: null,
lookCourseModal: false, //预览
@@ -252,9 +252,9 @@ export default {
style="cursor:pointer;color:#387DF7"
onClick={() => {
showAudit(
value.record.createId,
value.record.createName,
value.record.id
value.record.createrId,
value.record.creater,
value.record.offId
);
}}
>
@@ -580,8 +580,9 @@ export default {
getFaceList();
};
const showAudit = (createId, creater, offId) => {
console.log("参数",createId, creater, offId)
state.courAuditModal = true;
state.chooseId = createId;
state.createId = createId;
state.chooseCreater = creater;
state.chooseOffId = offId;
getFaceList();
@@ -590,7 +591,7 @@ export default {
state.courAuditModal = false;
state.valueSugg = null;
state.valuepass = "1";
state.chooseId = null;
state.createId = null;
state.chooseCreater = null;
state.chooseOffId = null;
};
@@ -607,13 +608,12 @@ export default {
}
courseAuditView({
createId: state.chooseId,
createId: state.createId,
createName: state.chooseCreater,
description: state.valueSugg,
offcourseId: state.chooseOffId,
pass: state.valuepass == "1" ? 1 : 0,
})
.then((res) => {
}).then((res) => {
console.log(res);
state.courAuditModal = false;
message.destroy();