mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
fix:修改在线接口地址;删除无用consolelog
This commit is contained in:
@@ -647,8 +647,7 @@ export default {
|
||||
updateTest();
|
||||
};
|
||||
|
||||
const handleFinishFailed = (err) => {
|
||||
console.log(err,'a');
|
||||
const handleFinishFailed = () => {
|
||||
message.error("handleFinishFailed");
|
||||
};
|
||||
|
||||
@@ -692,7 +691,6 @@ export default {
|
||||
// state.addLoading = true;
|
||||
queryExaminationDetailById({ examinationId: props.EditTestId })
|
||||
.then((res) => {
|
||||
console.log('----------------------',res);
|
||||
formState.examinationName = res.data.data.examinationName;
|
||||
formState.workRequirement = res.data.data.workRequirement;
|
||||
formState.examinationDuration = res.data.data.examinationDuration;
|
||||
@@ -719,8 +717,6 @@ export default {
|
||||
} else {
|
||||
formState.choosedTime = [];
|
||||
}
|
||||
console.log('formState.testName',formState.testName);
|
||||
console.log('state.testName',state.testName);
|
||||
})
|
||||
.catch(() => {
|
||||
message.error(`查询失败`);
|
||||
@@ -750,8 +746,6 @@ export default {
|
||||
examinationTestId:state.id,
|
||||
examinationTestName:state.testName,
|
||||
};
|
||||
console.log('obj___________________________',obj);
|
||||
console.log('props.edit',props.edit);
|
||||
if (props.edit) {
|
||||
// 编辑任务
|
||||
updateExamination(obj)
|
||||
@@ -777,10 +771,8 @@ export default {
|
||||
|
||||
const updateTask = (res) => {
|
||||
state.EditTestId = res.data.data.examinationId;
|
||||
console.log("state.EditTestId=====0",state.EditTestId,props.faceLevel);
|
||||
if(props.faceLevel){
|
||||
state.EditTestId = res.data.data.examinationId;
|
||||
console.log("state.EditTestId=====",state.EditTestId);
|
||||
}else{
|
||||
if (props.isLevel == 1) {
|
||||
let editObj1 = {
|
||||
@@ -823,7 +815,6 @@ export default {
|
||||
message.error(`${props.EditTestId ? "编辑" : "新增"}阶段任务失败`);
|
||||
});
|
||||
} else if (props.isLevel == 3) {
|
||||
console.log("");
|
||||
addTempTask({
|
||||
courseId: res.data.data.examinationId,
|
||||
duration: res.data.data.examinationDuration,
|
||||
|
||||
Reference in New Issue
Block a user