jyy
2021-04-07 6f9a0cdb6360ff80818ce9ac947fb686e3045f8a
zq-erp/src/main/resources/static/js/function/vip.js
@@ -73,7 +73,6 @@
            $("#levelName").html(loj.getString(0, "vipLevel.levelName"));
            vipId = loj.getString(0, "id");
            updateHistory();
            if (isActive) {
                $(".isActive").removeAttr("disabled");
                isActive = false;
@@ -83,25 +82,7 @@
    }
}
/**
 * 更新最近查询客户
 */
function updateHistory() {
    $
        .AjaxProxy()
        .invoke(
            basePath + "/admin/showHistoryUser",
            function (loj) {
                var html = "";
                for (var i = 0; i < loj.getRowCount(); i++) {
                    html += "<li class='list-group-item'onclick='selectHistory(\""
                        + loj.getString(i, "phone")
                        + "\")' >"
                        + loj.getString(i, "vipName") + "</li>";
                }
                $("#historyList").html(html);
            });
}
/*
 * 点击切换最近查询用户
@@ -222,13 +203,13 @@
}
function openAddService() {
function openAddService(id) {
    layer.full(layer.open({
        type: 2,
        title: "添加服务单",
        maxmin: true,
        area: [MUI.SIZE_L, '500px'],
        content: [basePath + '/admin/redirect/hive/beautySalon/servicceAddForm']
        content: [basePath + '/admin/redirect/hive/beautySalon/servicceAddForm?id='+id]
    }));
}