KKSU
2024-02-19 3882ab4f0e77d46cddb08a4c67bbda6ba44ce8d8
src/main/resources/templates/febs/views/modules/system/hlmAchieveSet.html
@@ -12,6 +12,9 @@
                        </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>
@@ -38,7 +41,8 @@
            febs = layui.febs,
            form = layui.form,
            hlmAchieveSet = [[${hlmAchieveSet}]],
            $view = $('#hlm-achieve-set');
            $view = $('#hlm-achieve-set'),
            $achieveButton = $view.find('#achieveButton');
        form.verify({
            integer: [
@@ -49,6 +53,19 @@
        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() {