提交 a0e5690e 编写于 作者: chengxiang.li's avatar chengxiang.li

项目组件页面里的判断全部考试或需审核考试的字段变更

上级 8a2e9733
...@@ -726,7 +726,7 @@ export default { ...@@ -726,7 +726,7 @@ export default {
if( res.code == '000000') { if( res.code == '000000') {
vm.testIdSelect = res.data.onlineExamList; vm.testIdSelect = res.data.onlineExamList;
for(let i=0; i<vm.testIdSelect.length; i++) { for(let i=0; i<vm.testIdSelect.length; i++) {
let type = vm.testIdSelect[i].examType; // examType: 0 全部考试 1 需审核考试 let type = vm.testIdSelect[i].isNeedApproval; // isNeedApproval: 0 全部考试 1 需审核考试
if( type && type == 1 ) { if( type && type == 1 ) {
vm.examSelectList.push( vm.testIdSelect[i] ) vm.examSelectList.push( vm.testIdSelect[i] )
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册