From 578e37543a5f552a3a8b071aa637cd27e68fad33 Mon Sep 17 00:00:00 2001
From: jyy <jyy>
Date: Mon, 02 Aug 2021 10:54:01 +0800
Subject: [PATCH] Merge branch 'score_shop' into api_score_meger
---
zq-erp/src/main/resources/static/js/function/vip.js | 27 ++++-----------------------
1 files changed, 4 insertions(+), 23 deletions(-)
diff --git a/zq-erp/src/main/resources/static/js/function/vip.js b/zq-erp/src/main/resources/static/js/function/vip.js
index 06e6fd5..c0fa8b9 100644
--- a/zq-erp/src/main/resources/static/js/function/vip.js
+++ b/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);
- });
-}
+
/*
* 点击切换最近查询用户
@@ -125,7 +106,7 @@
title: "修改预约排班",
maxmin: true,
area: [MUI.SIZE_L, '500px'],
- content: [basePath + '/admin/projService/yypb?pageFlae=1&id=' + id]
+ content: [basePath + '/admin/projService/yypb?pageFlae=2&id=' + id]
}));
}
@@ -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]
}));
}
--
Gitblit v1.9.1