This commit is contained in:
fooperage
2023-02-13 23:47:09 +08:00
3 changed files with 4 additions and 4 deletions

View File

@@ -710,8 +710,8 @@ export default {
offcoursePlanId: props.EditFaceId > 0 ? props.EditFaceId : 0,
testId: state.EditTestId,
duration: state.duration,
attach:state.attach,
id: props.taskIdDraft
attach:state.attach,
id: props.edit ? props.taskIdDraft : null
};
console.log("obj============", obj, "6" + "9");
console.log("222222222");

View File

@@ -271,6 +271,7 @@ export default {
workId: props.EditWorkId >0 ? props.EditWorkId:0 ,
workName: state.name,
workRequirement: state.workRequirement,
id: props.edit ? props.taskIdDraft : ""
};
if (props.EditWorkId > 0) {

View File

@@ -753,8 +753,7 @@ export default {
otherSettings: state.switchC2 ? "1" : "0", //1或0
signOutTime: state.inputV8,
standardSettings: state.radioV1, //1或2
isEvaluate: state.needEval ? "1" : "0",
id: props.edit? props.taskIdDraft : ""
isEvaluate: state.needEval ? "1" : "0"
};
console.log("我是要更新的数据", state.obj);