| | |
| | | }, |
| | | { |
| | | field: 'hazardSource', |
| | | title: '风险分析对象编码' |
| | | title: '风险分析对象' |
| | | }, |
| | | { |
| | | field: 'checkType', |
| | |
| | | align: 'center', |
| | | formatter: function (value, row, index) { |
| | | var actions = []; |
| | | actions.push("<a class='btn btn-default btn-xs' href='#' onclick='jobLog(" + row.indexId + ")'><i class='fa fa-list'></i>获取indexId</a>"); |
| | | actions.push('<a class="btn btn-success btn-xs" href="#" onclick="$.operate.edit(\'' + row.indexId + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
| | | actions.push("<a class='btn btn-warning btn-xs' href='#' onclick='$.operate.detail(" + row.indexId + ")'><i class='fa fa-search'></i>查看</a> "); |
| | | return actions.join(''); |
| | |
| | | // 所属风险单元 |
| | | search.id = $("#riskId").val(); |
| | | return search; |
| | | } |
| | | function jobLog(indexId) { |
| | | console.log(indexId,'indexId') |
| | | } |
| | | </script> |
| | | </body> |