| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-card-footer"> |
| | | <div class="layui-btn layui-btn-warm table-action" id="achieveButton"> |
| | | 确认释放 |
| | | </div> |
| | | <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="hlm-achieve-set-submit" id="submit">保存</button> |
| | | </div> |
| | | </div> |
| | |
| | | febs = layui.febs, |
| | | form = layui.form, |
| | | hlmAchieveSet = [[${hlmAchieveSet}]], |
| | | $view = $('#hlm-achieve-set'); |
| | | $view = $('#hlm-achieve-set'), |
| | | $achieveButton = $view.find('#achieveButton'); |
| | | |
| | | form.verify({ |
| | | integer: [ |
| | |
| | | |
| | | initHlmAchieveSetValue(); |
| | | |
| | | $achieveButton.on('click', function () { |
| | | febs.modal.confirm('确认释放', '点击【确定】,释放?', function () { |
| | | achieveButtonRelease(); |
| | | }); |
| | | }); |
| | | |
| | | function achieveButtonRelease() { |
| | | febs.post(ctx + 'admin/system/hlmAchieveButton', null, function (res) { |
| | | febs.alert.success('操作成功'); |
| | | return ; |
| | | }); |
| | | } |
| | | |
| | | form.render(); |
| | | |
| | | function initHlmAchieveSetValue() { |