mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
考试增加target字段
This commit is contained in:
@@ -391,6 +391,7 @@ export default {
|
||||
id: "",
|
||||
testName: "",
|
||||
TestName: "",
|
||||
|
||||
testObj: {
|
||||
name: "",
|
||||
paperId: "",
|
||||
@@ -511,6 +512,18 @@ export default {
|
||||
(state.test.examinationPaperId = state.paperId);
|
||||
//TODO缺少paperName字段
|
||||
state.test.examinationTestName = state.paperName;
|
||||
//考试推送
|
||||
|
||||
if(props.isLevel == 1){
|
||||
state.test.targetId = props.routerId;
|
||||
state.test.type = 1;
|
||||
|
||||
}else if(props.isLevel == 2){
|
||||
state.test.targetId = props.projectId;
|
||||
state.test.type = 2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
if (props.EditTestId > 0) {
|
||||
// 编辑任务
|
||||
|
||||
Reference in New Issue
Block a user