
                });
            },
            function () { },
            {
                confirmText: "确定",
                cancelText: "取消"
            }
        );
    };

    function apply(that) {
        mdui.confirm('确认使用此流量控制规则么', '应用确认',
            function () {
                var uuid = $(that).data('id');
                $.ajax({
                    method: 'PUT',
                    url: "/user/server/azure/rule/" + uuid,
          