| | |
| | | return [ |
| | | {field: 'selectItem', radio: true}, |
| | | {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '课包id', field: 'courseId', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '所在省', field: 'pname', visible: true, align: 'center', valign: 'middle' |
| | | }, |
| | | {title: '所在市', field: 'cname', visible: true, align: 'center', valign: 'middle'}, |
| | |
| | | layer.closeAll(); |
| | | }, |
| | | btn2:function () { |
| | | var state = TCompetition.seItem.status; |
| | | if (state == 3){ |
| | | Feng.error("当前状态不能再次审核!") |
| | | return false; |
| | | } |
| | | let audit = document.querySelector('input[name="r1"]:checked').value; |
| | | let text = $("#text").val() |
| | | if(audit==3){ |
| | | if(text==''){ |
| | | console.log("让我看看!") |
| | | console.log(TCompetition.seItem.courseId) |
| | | Feng.info("请输入拒绝理由") |
| | | return false; |
| | | } |
| | |
| | | window.parent.layer.closeAll(); |
| | | return Feng.error("操作失败!"); |
| | | }); |
| | | ajax.set("id", TCompetition.seItem.id); |
| | | |
| | | ajax.set("id", TCompetition.seItem.courseId); |
| | | ajax.set("audit", audit); |
| | | ajax.set("text", text); |
| | | ajax.start(); |
| | |
| | | area: ['100%', '100%'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tDiscount/infoOne?id=' + this.seItem.id |
| | | content: Feng.ctxPath + '/tDiscount/infoOne?id=' + this.seItem.courseId |
| | | }); |
| | | this.layerIndex = index; |
| | | } |
| | |
| | | queryData['cityCode'] = $("#cCode").val(); |
| | | queryData['name'] = $("#name").val(); |
| | | queryData['shopName'] = $("#shopName").val(); |
| | | queryData['type'] = $("type").val(); |
| | | queryData['type'] = $("#type").val(); |
| | | TCompetition.table.refresh({query: queryData}); |
| | | }; |
| | | |