| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <script type="text/html" id="correctAnswerFormat"> |
| | | {{# if(d.correctAnswer == 1) { }} |
| | | <span>是</span> |
| | | {{# } else { }} |
| | | <span></span> |
| | | {{# } }} |
| | | </script> |
| | | <script data-th-inline="javascript" type="text/javascript"> |
| | | layui.use(['jquery', 'form', 'table', 'febs'], function () { |
| | | var $ = layui.jquery, |
| | |
| | | url: ctx + 'admin/productQuestion/jobChild?jobId=' + jobId, |
| | | cols: [[ |
| | | {field: 'id', title: 'ID', minWidth: 150, align: 'center'}, |
| | | {field: 'title', title: '题目', minWidth: 150, align: 'center'}, |
| | | {field: 'answer', title: '答案', minWidth: 150, align: 'center'}, |
| | | {templet:"#correctAnswerFormat", title: '是否正确', minWidth: 140,align:'center'}, |
| | | {field: 'answerAnalysis', title: '答案解析', edit:'text', width:500} |
| | | // 添加更多列定义... |
| | | ]] |
| | | }); |