mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
'..'
This commit is contained in:
@@ -174,7 +174,7 @@ export default {
|
|||||||
closeBack: false,
|
closeBack: false,
|
||||||
valuepass: "1",
|
valuepass: "1",
|
||||||
valueSugg: null,
|
valueSugg: null,
|
||||||
chooseId: null,
|
createId: null,
|
||||||
chooseCreater: null,
|
chooseCreater: null,
|
||||||
chooseOffId: null,
|
chooseOffId: null,
|
||||||
lookCourseModal: false, //预览
|
lookCourseModal: false, //预览
|
||||||
@@ -252,9 +252,9 @@ export default {
|
|||||||
style="cursor:pointer;color:#387DF7"
|
style="cursor:pointer;color:#387DF7"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
showAudit(
|
showAudit(
|
||||||
value.record.createId,
|
value.record.createrId,
|
||||||
value.record.createName,
|
value.record.creater,
|
||||||
value.record.id
|
value.record.offId
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -580,8 +580,9 @@ export default {
|
|||||||
getFaceList();
|
getFaceList();
|
||||||
};
|
};
|
||||||
const showAudit = (createId, creater, offId) => {
|
const showAudit = (createId, creater, offId) => {
|
||||||
|
console.log("参数",createId, creater, offId)
|
||||||
state.courAuditModal = true;
|
state.courAuditModal = true;
|
||||||
state.chooseId = createId;
|
state.createId = createId;
|
||||||
state.chooseCreater = creater;
|
state.chooseCreater = creater;
|
||||||
state.chooseOffId = offId;
|
state.chooseOffId = offId;
|
||||||
getFaceList();
|
getFaceList();
|
||||||
@@ -590,7 +591,7 @@ export default {
|
|||||||
state.courAuditModal = false;
|
state.courAuditModal = false;
|
||||||
state.valueSugg = null;
|
state.valueSugg = null;
|
||||||
state.valuepass = "1";
|
state.valuepass = "1";
|
||||||
state.chooseId = null;
|
state.createId = null;
|
||||||
state.chooseCreater = null;
|
state.chooseCreater = null;
|
||||||
state.chooseOffId = null;
|
state.chooseOffId = null;
|
||||||
};
|
};
|
||||||
@@ -607,13 +608,12 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
courseAuditView({
|
courseAuditView({
|
||||||
createId: state.chooseId,
|
createId: state.createId,
|
||||||
createName: state.chooseCreater,
|
createName: state.chooseCreater,
|
||||||
description: state.valueSugg,
|
description: state.valueSugg,
|
||||||
offcourseId: state.chooseOffId,
|
offcourseId: state.chooseOffId,
|
||||||
pass: state.valuepass == "1" ? 1 : 0,
|
pass: state.valuepass == "1" ? 1 : 0,
|
||||||
})
|
}).then((res) => {
|
||||||
.then((res) => {
|
|
||||||
console.log(res);
|
console.log(res);
|
||||||
state.courAuditModal = false;
|
state.courAuditModal = false;
|
||||||
message.destroy();
|
message.destroy();
|
||||||
|
|||||||
Reference in New Issue
Block a user