|
|
|
@ -205,6 +205,7 @@ |
|
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
|
<el-button type="primary" @click="submitModel(1)">通过</el-button> |
|
|
|
<el-button type="primary" @click="submitModel(2)">退回</el-button> |
|
|
|
<el-button @click="submitModelFlag = false">取消</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
@ -1550,12 +1551,6 @@ |
|
|
|
}, |
|
|
|
// 确认审核 |
|
|
|
submitModel (param) { |
|
|
|
if (this.submitData.difficultyLevel === ''||this.submitData.difficultyLevel == null) { |
|
|
|
this.$alert('请选择难度等级!', '提示', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
return false |
|
|
|
} |
|
|
|
// submitDefect(this.submitData).then(({data}) => { |
|
|
|
// if (data && data.code === 0) { |
|
|
|
// this.getDataList() |
|
|
|
@ -1574,6 +1569,12 @@ |
|
|
|
// } |
|
|
|
// }) |
|
|
|
if (param === 1) { |
|
|
|
if (this.submitData.difficultyLevel === ''||this.submitData.difficultyLevel == null) { |
|
|
|
this.$alert('请选择难度等级!', '提示', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
return false |
|
|
|
} |
|
|
|
submitDefect(this.submitData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.getDataList() |
|
|
|
|