Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
05e49bba
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1175
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
05e49bba
编写于
4月 24, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
会员管理托管到表单布局
上级
a43587df
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
17 addition
and
1412 deletion
+17
-1412
member/src/main/resources/template/js/member/allMemberList.js
...er/src/main/resources/template/js/member/allMemberList.js
+0
-97
member/src/main/resources/template/js/member/memberAdd.js
member/src/main/resources/template/js/member/memberAdd.js
+0
-129
member/src/main/resources/template/js/member/memberEdit.js
member/src/main/resources/template/js/member/memberEdit.js
+0
-185
member/src/main/resources/template/js/member/memberInfo.js
member/src/main/resources/template/js/member/memberInfo.js
+0
-90
member/src/main/resources/template/js/member/memberList.js
member/src/main/resources/template/js/member/memberList.js
+0
-197
member/src/main/resources/template/js/member/myWriteMemberList.js
...rc/main/resources/template/js/member/myWriteMemberList.js
+7
-143
member/src/main/resources/template/js/memberCar/memberCarList.js
...src/main/resources/template/js/memberCar/memberCarList.js
+1
-1
member/src/main/resources/template/tpl/member/allMemberList.html
...src/main/resources/template/tpl/member/allMemberList.html
+0
-59
member/src/main/resources/template/tpl/member/memberAdd.html
member/src/main/resources/template/tpl/member/memberAdd.html
+0
-76
member/src/main/resources/template/tpl/member/memberEdit.html
...er/src/main/resources/template/tpl/member/memberEdit.html
+0
-68
member/src/main/resources/template/tpl/member/memberInfo.html
...er/src/main/resources/template/tpl/member/memberInfo.html
+0
-221
member/src/main/resources/template/tpl/member/memberList.html
...er/src/main/resources/template/tpl/member/memberList.html
+0
-73
member/src/main/resources/template/tpl/member/myWriteMemberList.html
...main/resources/template/tpl/member/myWriteMemberList.html
+1
-58
shop/src/main/resources/template/js/mealOrder/memberMealOrderList.js
...in/resources/template/js/mealOrder/memberMealOrderList.js
+3
-3
shop/src/main/resources/template/js/mealOrder/storeMealOrderAdd.js
...main/resources/template/js/mealOrder/storeMealOrderAdd.js
+5
-6
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderAdd.html
...n/resources/template/tpl/mealOrder/storeMealOrderAdd.html
+0
-6
未找到文件。
member/src/main/resources/template/js/member/allMemberList.js
已删除
100644 → 0
浏览文件 @
a43587df
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
shopBasePath
+
'
member001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
fixed
:
'
left
'
,
type
:
'
numbers
'
},
{
field
:
'
contacts
'
,
title
:
'
会员称呼
'
,
align
:
'
left
'
,
width
:
140
,
fixed
:
'
left
'
,
templet
:
function
(
d
)
{
return
'
<a lay-event="select" class="notice-title-click">
'
+
d
.
contacts
+
'
</a>
'
;
}},
{
field
:
'
phone
'
,
title
:
'
联系电话
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
email
'
,
title
:
'
电子邮箱
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
address
'
,
title
:
'
地址
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
enabled
'
,
title
:
'
状态
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
d
.
enabled
==
'
1
'
){
return
"
<span class='state-up'>启用</span>
"
;
}
else
if
(
d
.
enabled
==
'
2
'
){
return
"
<span class='state-down'>禁用</span>
"
;
}
else
{
return
"
<span class='state-error'>参数错误</span>
"
;
}
}},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
140
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
==
'
select
'
){
//详情
selectMember
(
data
)
}
});
// 详情
function
selectMember
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/member/memberInfo.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
memberinfo
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 刷新
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
contacts
:
$
(
"
#contacts
"
).
val
(),
phone
:
$
(
"
#phone
"
).
val
(),
email
:
$
(
"
#email
"
).
val
(),
enabled
:
$
(
"
#enabled
"
).
val
(),
vinCode
:
$
(
"
#vinCode
"
).
val
()
};
}
exports
(
'
allMemberList
'
,
{});
});
member/src/main/resources/template/js/member/memberAdd.js
已删除
100644 → 0
浏览文件 @
a43587df
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
textool
.
init
({
eleId
:
'
description
'
,
maxlength
:
200
});
// 加载我所在的门店
shopUtil
.
queryStaffBelongStoreList
(
function
(
json
){
$
(
"
#storeId
"
).
html
(
getDataUseHandlebars
(
$
(
"
#selectTemplate
"
).
html
(),
json
));
});
// 加载行政区划-省
loadChildProvinceArea
();
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
contacts
:
$
(
"
#contacts
"
).
val
(),
phone
:
$
(
"
#phone
"
).
val
(),
email
:
$
(
"
#email
"
).
val
(),
provinceId
:
$
(
"
#provinceId
"
).
val
(),
provinceName
:
$
(
"
#provinceId
"
).
find
(
"
option:selected
"
).
text
(),
cityId
:
$
(
"
#cityId
"
).
val
(),
cityName
:
$
(
"
#cityId
"
).
find
(
"
option:selected
"
).
text
(),
addressAreaId
:
$
(
"
#addressAreaId
"
).
val
(),
addressAreaName
:
$
(
"
#addressAreaId
"
).
find
(
"
option:selected
"
).
text
(),
townshipId
:
$
(
"
#townshipId
"
).
val
(),
townshipName
:
$
(
"
#townshipId
"
).
find
(
"
option:selected
"
).
text
(),
address
:
$
(
"
#address
"
).
val
(),
description
:
$
(
"
#description
"
).
val
(),
storeId
:
$
(
"
#storeId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
form
.
on
(
'
select(areaProvince)
'
,
function
(
data
)
{
layui
.
$
(
data
.
elem
).
parent
(
'
dd
'
).
nextAll
().
remove
();
if
(
isNull
(
data
.
value
)
||
data
.
value
==
'
请选择
'
){
}
else
{
loadChildCityArea
();
}
});
form
.
on
(
'
select(areaCity)
'
,
function
(
data
)
{
layui
.
$
(
data
.
elem
).
parent
(
'
dd
'
).
nextAll
().
remove
();
if
(
isNull
(
data
.
value
)
||
data
.
value
==
'
请选择
'
){
}
else
{
loadChildArea
();
}
});
form
.
on
(
'
select(area)
'
,
function
(
data
)
{
layui
.
$
(
data
.
elem
).
parent
(
'
dd
'
).
nextAll
().
remove
();
if
(
isNull
(
data
.
value
)
||
data
.
value
==
'
请选择
'
){
}
else
{
loadChildAreaTownShip
();
}
});
// 省级行政区划
function
loadChildProvinceArea
(){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
0
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="provinceId" win-verify="required" lay-filter="areaProvince" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
form
.
render
(
'
select
'
);
}});
}
// 市级行政区划
function
loadChildCityArea
(){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#provinceId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="cityId" win-verify="required" lay-filter="areaCity" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
form
.
render
(
'
select
'
);
}});
}
// 县级行政区划
function
loadChildArea
(){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#cityId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="addressAreaId" win-verify="required" lay-filter="area" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
form
.
render
(
'
select
'
);
}});
}
// 镇级行政区划
function
loadChildAreaTownShip
(){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#addressAreaId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="townshipId" lay-filter="areaTownShip" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
form
.
render
(
'
select
'
);
}});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
member/src/main/resources/template/js/member/memberEdit.js
已删除
100644 → 0
浏览文件 @
a43587df
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
showGrid
({
id
:
"
showForm
"
,
url
:
shopBasePath
+
"
member003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{},
ajaxSendAfter
:
function
(
json
)
{
textool
.
init
({
eleId
:
'
description
'
,
maxlength
:
200
});
// 家庭地址
initArea
(
json
.
bean
);
//加载省级行政区划
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
contacts
:
$
(
"
#contacts
"
).
val
(),
phone
:
$
(
"
#phone
"
).
val
(),
email
:
$
(
"
#email
"
).
val
(),
provinceId
:
$
(
"
#provinceId
"
).
val
(),
cityId
:
$
(
"
#cityId
"
).
val
(),
addressAreaId
:
$
(
"
#addressAreaId
"
).
val
(),
townshipId
:
$
(
"
#townshipId
"
).
val
(),
address
:
$
(
"
#address
"
).
val
(),
description
:
$
(
"
#description
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
//初始化行政区划-省
function
initArea
(
bean
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
0
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="provinceId" win-verify="required" lay-filter="areaProvince" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
if
(
!
isNull
(
bean
.
provinceId
)){
$
(
"
#provinceId
"
).
val
(
bean
.
provinceId
);
initAreaCity
(
bean
);
}
form
.
render
(
'
select
'
);
}});
}
//初始化行政区划-市
function
initAreaCity
(
bean
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#provinceId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="cityId" win-verify="required" lay-filter="areaCity" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
if
(
!
isNull
(
bean
.
cityId
)){
$
(
"
#cityId
"
).
val
(
bean
.
cityId
);
initAreaChildArea
(
bean
);
}
form
.
render
(
'
select
'
);
}});
}
//初始化行政区划-县
function
initAreaChildArea
(
bean
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#cityId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="addressAreaId" win-verify="required" lay-filter="area" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
if
(
!
isNull
(
bean
.
addressAreaId
)){
$
(
"
#addressAreaId
"
).
val
(
bean
.
addressAreaId
);
initAreaTownShip
(
bean
);
}
form
.
render
(
'
select
'
);
}});
}
//初始化行政区划-镇
function
initAreaTownShip
(
bean
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#addressAreaId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="townshipId" lay-filter="areaTownShip" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
if
(
!
isNull
(
bean
.
townshipId
)){
$
(
"
#townshipId
"
).
val
(
bean
.
townshipId
);
}
form
.
render
(
'
select
'
);
}});
}
form
.
on
(
'
select(areaProvince)
'
,
function
(
data
)
{
layui
.
$
(
data
.
elem
).
parent
(
'
dd
'
).
nextAll
().
remove
();
if
(
isNull
(
data
.
value
)
||
data
.
value
==
'
请选择
'
){
}
else
{
loadChildCityArea
();
}
});
form
.
on
(
'
select(areaCity)
'
,
function
(
data
)
{
layui
.
$
(
data
.
elem
).
parent
(
'
dd
'
).
nextAll
().
remove
();
if
(
isNull
(
data
.
value
)
||
data
.
value
==
'
请选择
'
){
}
else
{
loadChildArea
();
}
});
form
.
on
(
'
select(area)
'
,
function
(
data
)
{
layui
.
$
(
data
.
elem
).
parent
(
'
dd
'
).
nextAll
().
remove
();
if
(
isNull
(
data
.
value
)
||
data
.
value
==
'
请选择
'
){
}
else
{
loadChildAreaTownShip
();
}
});
//市级行政区划
function
loadChildCityArea
(){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#provinceId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="cityId" win-verify="required" lay-filter="areaCity" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
form
.
render
(
'
select
'
);
}});
}
//县级行政区划
function
loadChildArea
(){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#cityId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="addressAreaId" win-verify="required" lay-filter="area" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
form
.
render
(
'
select
'
);
}});
}
//镇级行政区划
function
loadChildAreaTownShip
(){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryAreaListByPId
"
,
params
:
{
pId
:
$
(
"
#addressAreaId
"
).
val
()},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
var
str
=
'
<dd class="layui-col-xs3"><select id="townshipId" lay-filter="areaTownShip" lay-search=""><option value="">请选择</option>
'
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
str
+=
'
<option value="
'
+
json
.
rows
[
i
].
id
+
'
">
'
+
json
.
rows
[
i
].
name
+
'
</option>
'
;
}
str
+=
'
</select></dd>
'
;
$
(
"
#lockParentSel
"
).
append
(
str
);
form
.
render
(
'
select
'
);
}});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
member/src/main/resources/template/js/member/memberInfo.js
已删除
100644 → 0
浏览文件 @
a43587df
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
,
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
simpleTemplate
=
$
(
"
#simpleTemplate
"
).
html
();
showGrid
({
id
:
"
showForm
"
,
url
:
shopBasePath
+
"
member008
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
simpleTemplate
,
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#enabled
"
).
html
(
json
.
bean
.
enabled
==
"
1
"
?
"
<span class='state-up'>启用</span>
"
:
"
<span class='state-down'>禁用</span>
"
);
// 加载车辆信息
loadCarMation
();
// 加载套餐信息
loadMealMation
();
// 加载套餐订单信息
loadMealOrderMation
();
// 加载保养订单信息
loadKeepFitOrderMation
();
matchingLanguage
();
form
.
render
();
}
});
function
loadCarMation
(){
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
memberCar001
"
,
params
:
{
memberId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
$
.
each
(
json
.
rows
,
function
(
i
,
item
)
{
if
(
item
.
insure
==
'
1
'
){
item
.
insure
=
"
已购买
"
;
}
else
if
(
item
.
insure
==
'
2
'
){
item
.
insure
=
"
未购买
"
;
}
item
.
stateName
=
shopUtil
.
getMemberCarEnableStateName
(
item
.
enabled
);
});
$
(
"
#showForm
"
).
append
(
getDataUseHandlebars
(
$
(
"
#memberCarTemplate
"
).
html
(),
json
));
},
async
:
false
});
}
function
loadMealMation
(){
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
queryMealMationByMemberId
"
,
params
:
{
memberId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
$
(
"
#showForm
"
).
append
(
getDataUseHandlebars
(
$
(
"
#memberMealTemplate
"
).
html
(),
json
));
},
async
:
false
});
}
function
loadMealOrderMation
(){
var
params
=
{
memberId
:
parent
.
rowId
,
limit
:
500
,
page
:
1
};
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
mealOrder001
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
$
.
each
(
json
.
rows
,
function
(
i
,
item
)
{
item
.
state
=
shopUtil
.
getMealOrderStateName
(
item
);
});
$
(
"
#showForm
"
).
append
(
getDataUseHandlebars
(
$
(
"
#memberMealOrderTemplate
"
).
html
(),
json
));
},
async
:
false
});
}
function
loadKeepFitOrderMation
(){
var
params
=
{
memberId
:
parent
.
rowId
,
limit
:
500
,
page
:
1
};
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
keepFitOrder001
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
$
.
each
(
json
.
rows
,
function
(
i
,
item
)
{
item
.
state
=
shopUtil
.
getKeepFitOrderStateName
(
item
);
});
$
(
"
#showForm
"
).
append
(
getDataUseHandlebars
(
$
(
"
#memberKeepFitOrderTemplate
"
).
html
(),
json
));
},
async
:
false
});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
member/src/main/resources/template/js/member/memberList.js
已删除
100644 → 0
浏览文件 @
a43587df
var
rowId
=
""
;
var
memberMation
=
{};
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1569133228443
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
shopBasePath
+
'
member001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
fixed
:
'
left
'
,
type
:
'
numbers
'
},
{
field
:
'
contacts
'
,
title
:
'
会员称呼
'
,
align
:
'
left
'
,
width
:
140
,
fixed
:
'
left
'
,
templet
:
function
(
d
)
{
return
'
<a lay-event="select" class="notice-title-click">
'
+
d
.
contacts
+
'
</a>
'
;
}},
{
field
:
'
phone
'
,
title
:
'
联系电话
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
email
'
,
title
:
'
电子邮箱
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
address
'
,
title
:
'
地址
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
enabled
'
,
title
:
'
状态
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
shopUtil
.
getEnableStateName
(
d
.
enabled
);
}},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
300
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
edit
'
)
{
//编辑
editmember
(
data
);
}
else
if
(
layEvent
===
'
delete
'
)
{
//删除
deletemember
(
data
);
}
else
if
(
layEvent
===
'
enabled
'
)
{
//启用
editEnabled
(
data
);
}
else
if
(
layEvent
==
'
unenabled
'
){
//禁用
editNotEnabled
(
data
)
}
else
if
(
layEvent
==
'
select
'
){
//详情
selectMember
(
data
)
}
else
if
(
layEvent
==
'
memberCar
'
){
//车辆信息
memberCar
(
data
)
}
else
if
(
layEvent
==
'
mealList
'
){
//套餐购买信息
mealList
(
data
)
}
});
// 编辑
function
editmember
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/member/memberEdit.html
"
,
title
:
"
编辑会员
"
,
pageId
:
"
memberEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 删除会员
function
deletemember
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 设置启用状态
function
editEnabled
(
data
)
{
layer
.
confirm
(
'
确认要更改该会员为启用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
设置成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 设置禁用状态
function
editNotEnabled
(
data
)
{
layer
.
confirm
(
'
确认要更改该会员为禁用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
设置成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 详情
function
selectMember
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/member/memberInfo.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
memberinfo
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
// 车辆信息
function
memberCar
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/memberCar/memberCarList.html
"
,
title
:
'
车辆信息
'
,
pageId
:
"
memberCarList
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
// 套餐购买信息
function
mealList
(
data
)
{
rowId
=
data
.
id
;
memberMation
=
data
;
_openNewWindows
({
url
:
"
../../tpl/mealOrder/memberMealOrderList.html
"
,
title
:
'
套餐购买信息
'
,
pageId
:
"
memberMealOrderList
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
//添加会员
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/member/memberAdd.html
"
,
title
:
"
新增会员
"
,
pageId
:
"
memberAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 刷新
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
var
contacts
=
$
(
"
#contacts
"
).
val
();
var
phone
=
$
(
"
#phone
"
).
val
();
var
email
=
$
(
"
#email
"
).
val
();
var
vinCode
=
$
(
"
#vinCode
"
).
val
()
if
(
isNull
(
contacts
)
&&
isNull
(
phone
)
&&
isNull
(
email
)
&&
isNull
(
vinCode
)){
contacts
=
"
!-!!@#$%^&*
"
;
}
return
{
contacts
:
contacts
,
phone
:
phone
,
email
:
email
,
vinCode
:
vinCode
};
}
exports
(
'
memberList
'
,
{});
});
member/src/main/resources/template/js/member/myWriteMemberList.js
浏览文件 @
05e49bba
var
rowId
=
""
;
var
memberMation
=
{}
;
var
rowId
=
""
;
layui
.
config
({
layui
.
config
({
base
:
basePath
,
base
:
basePath
,
...
@@ -12,7 +11,6 @@ layui.config({
...
@@ -12,7 +11,6 @@ layui.config({
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
form
=
layui
.
form
,
form
=
layui
.
form
,
table
=
layui
.
table
;
table
=
layui
.
table
;
authBtn
(
'
1645535320880
'
);
table
.
render
({
table
.
render
({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
...
@@ -26,165 +24,31 @@ layui.config({
...
@@ -26,165 +24,31 @@ layui.config({
limit
:
getLimit
(),
limit
:
getLimit
(),
cols
:
[[
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
fixed
:
'
left
'
,
type
:
'
numbers
'
},
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
fixed
:
'
left
'
,
type
:
'
numbers
'
},
{
field
:
'
contacts
'
,
title
:
'
会员称呼
'
,
align
:
'
left
'
,
width
:
140
,
fixed
:
'
left
'
,
templet
:
function
(
d
)
{
{
field
:
'
name
'
,
title
:
'
会员称呼
'
,
align
:
'
left
'
,
width
:
140
,
fixed
:
'
left
'
},
return
'
<a lay-event="select" class="notice-title-click">
'
+
d
.
contacts
+
'
</a>
'
;
}},
{
field
:
'
phone
'
,
title
:
'
联系电话
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
phone
'
,
title
:
'
联系电话
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
email
'
,
title
:
'
电子邮箱
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
email
'
,
title
:
'
电子邮箱
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
address
'
,
title
:
'
地址
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
enabled
'
,
title
:
'
状态
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
{
field
:
'
enabled
'
,
title
:
'
状态
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
shopUtil
.
getEnableStateName
(
d
.
enabled
);
return
shopUtil
.
getEnableStateName
(
d
.
enabled
);
}},
}}
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
300
,
toolbar
:
'
#tableBar
'
}
]],
]],
done
:
function
(
json
)
{
done
:
function
(
json
)
{
matchingLanguage
();
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入会员称呼,联系电话
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
}
});
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
edit
'
)
{
//编辑
editmember
(
data
);
}
else
if
(
layEvent
===
'
delete
'
)
{
//删除
deletemember
(
data
);
}
else
if
(
layEvent
===
'
enabled
'
)
{
//启用
editEnabled
(
data
);
}
else
if
(
layEvent
==
'
unenabled
'
){
//禁用
editNotEnabled
(
data
)
}
else
if
(
layEvent
==
'
select
'
){
//详情
selectMember
(
data
)
}
else
if
(
layEvent
==
'
memberCar
'
){
//车辆信息
memberCar
(
data
)
}
else
if
(
layEvent
==
'
mealList
'
){
//套餐购买信息
mealList
(
data
)
}
});
// 编辑
function
editmember
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/member/memberEdit.html
"
,
title
:
"
编辑会员
"
,
pageId
:
"
memberEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 删除会员
function
deletemember
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 设置启用状态
function
editEnabled
(
data
)
{
layer
.
confirm
(
'
确认要更改该会员为启用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
设置成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 设置禁用状态
function
editNotEnabled
(
data
)
{
layer
.
confirm
(
'
确认要更改该会员为禁用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
member007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
设置成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 详情
function
selectMember
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/member/memberInfo.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
memberinfo
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
// 车辆信息
function
memberCar
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/memberCar/memberCarList.html
"
,
title
:
'
车辆信息
'
,
pageId
:
"
memberCarList
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
// 套餐购买信息
function
mealList
(
data
)
{
rowId
=
data
.
id
;
memberMation
=
data
;
_openNewWindows
({
url
:
"
../../tpl/mealOrder/memberMealOrderList.html
"
,
title
:
'
套餐购买信息
'
,
pageId
:
"
memberMealOrderList
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
// 添加会员
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/member/memberAdd.html
"
,
title
:
"
新增会员
"
,
pageId
:
"
memberAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
form
.
render
();
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
loadTable
();
});
});
// 刷新
function
loadTable
()
{
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
}
function
getTableParams
()
{
function
getTableParams
()
{
return
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
contacts
:
$
(
"
#contacts
"
).
val
(),
phone
:
$
(
"
#phone
"
).
val
(),
email
:
$
(
"
#email
"
).
val
(),
enabled
:
$
(
"
#enabled
"
).
val
(),
vinCode
:
$
(
"
#vinCode
"
).
val
()
};
}
}
exports
(
'
myWriteMemberList
'
,
{});
exports
(
'
myWriteMemberList
'
,
{});
...
...
member/src/main/resources/template/js/memberCar/memberCarList.js
浏览文件 @
05e49bba
...
@@ -14,7 +14,7 @@ layui.config({
...
@@ -14,7 +14,7 @@ layui.config({
table
=
layui
.
table
;
table
=
layui
.
table
;
authBtn
(
'
1644234244354
'
);
authBtn
(
'
1644234244354
'
);
memberId
=
parent
.
rowId
;
memberId
=
GetUrlParam
(
"
id
"
)
;
table
.
render
({
table
.
render
({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
...
...
member/src/main/resources/template/tpl/member/allMemberList.html
已删除
100644 → 0
浏览文件 @
a43587df
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
会员称呼
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"contacts"
name=
"contacts"
placeholder=
"请输入会员称呼"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
手机号码
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"phone"
name=
"phone"
placeholder=
"请输入手机号码"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
电子邮箱
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"email"
name=
"email"
placeholder=
"请输入电子邮箱"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
><language
showName=
"com.skyeye.state"
></language></label>
<div
class=
"layui-input-inline"
>
<select
id=
"enabled"
name=
"enabled"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
启用
</option>
<option
value=
"2"
>
禁用
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
VIN码
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"vinCode"
name=
"vinCode"
placeholder=
"请输入VIN码"
class=
"layui-input"
/>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/member/
'
}).
use
(
'
allMemberList
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/member/memberAdd.html
已删除
100644 → 0
浏览文件 @
a43587df
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
来源门店
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"storeId"
name=
"storeId"
lay-filter=
"storeId"
lay-search=
""
win-verify=
"required"
>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
会员称呼
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"contacts"
name=
"contacts"
win-verify=
"required"
placeholder=
"请输入会员称呼"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
联系电话
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"phone"
name=
"phone"
win-verify=
"required|phone"
placeholder=
"请输入联系电话"
class=
"layui-input"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
电子邮箱
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"email"
name=
"email"
win-verify=
"email"
placeholder=
"请输入电子邮箱"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
家庭住址
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
id=
"lockParentSel"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
详细地址
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"address"
name=
"address"
placeholder=
"请输入地址"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
备注
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"description"
name=
"description"
placeholder=
"请输入备注信息"
maxlength=
"200"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"selectTemplate"
>
{{
#
each
rows
}}
<
option
value
=
"
{{id}}
"
>
{{
name
}}
<
/option
>
{{
/
each
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/member/
'
}).
use
(
'
memberAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/member/memberEdit.html
已删除
100644 → 0
浏览文件 @
a43587df
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
会员称呼
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
contacts
"
name
=
"
contacts
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入会员称呼
"
class
=
"
layui-input
"
value
=
"
{{contacts}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
联系电话
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
phone
"
name
=
"
phone
"
win
-
verify
=
"
required|phone
"
placeholder
=
"
请输入联系电话
"
class
=
"
layui-input
"
maxlength
=
"
20
"
value
=
"
{{phone}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
电子邮箱
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
email
"
name
=
"
email
"
value
=
"
{{email}}
"
win
-
verify
=
"
email
"
placeholder
=
"
请输入电子邮箱
"
class
=
"
layui-input
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
家庭住址
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
id
=
"
lockParentSel
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
详细地址
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
address
"
name
=
"
address
"
placeholder
=
"
请输入地址
"
class
=
"
layui-input
"
value
=
"
{{address}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
description
"
name
=
"
description
"
placeholder
=
"
请输入备注信息
"
maxlength
=
"
200
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
>
{{
description
}}
<
/textarea
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
div
class
=
"
layui-input-block
"
>
<
button
class
=
"
winui-btn
"
id
=
"
cancle
"
><
language
showName
=
"
com.skyeye.cancel
"
><
/language></
button
>
<
button
class
=
"
winui-btn
"
lay
-
submit
lay
-
filter
=
"
formEditBean
"
><
language
showName
=
"
com.skyeye.save
"
><
/language></
button
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/member/
'
}).
use
(
'
memberEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/member/memberInfo.html
已删除
100644 → 0
浏览文件 @
a43587df
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"simpleTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
会员信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
会员称呼
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
contacts
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
联系电话
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
phone
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
电子邮箱
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
email
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
状态
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
enabled
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
家庭住址
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
provinceName
}}
{{
cityName
}}
{{
addressAreaName
}}
{{
townshipName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
详细地址
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
address
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
description
}}
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
type=
"text/x-handlebars-template"
id=
"memberCarTemplate"
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
车辆信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
车辆信息
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
<
table
class
=
"
layui-table
"
>
<
thead
>
<
tr
>
<
th
>
车牌号
<
/th
>
<
th
>
VIN码
<
/th
>
<
th
>
车型
<
/th
>
<
th
>
是否购买保险
<
/th
>
<
th
>
状态
<
/th
>
<
th
>
录入人
<
/th
>
<
th
>
录入时间
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
class
=
"
insurance-table
"
>
{{
#
each
rows
}}
<
tr
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
plate
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 180px;
"
>
{{
vinCode
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 140px;
"
>
{{
modelType
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 140px;
"
>
{{
insure
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{{
stateName
}}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 120px;
"
>
{{
createName
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 140px;
"
>
{{
createTime
}}
<
/div></
td
>
<
/tr
>
{{
/
each
}}
<
/tbody
>
<
/table
>
<
/div
>
<
/div
>
</script>
<script
type=
"text/x-handlebars-template"
id=
"memberMealTemplate"
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
套餐信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
套餐信息
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
<
table
class
=
"
layui-table
"
>
<
thead
>
<
tr
>
<
th
>
套餐
<
/th
>
<
th
>
套餐说明
<
/th
>
<
th
>
耗材说明
<
/th
>
<
th
>
总次数
<
/th
>
<
th
>
可使用次数
<
/th
>
<
th
>
套餐价格
<
/th
>
<
th
>
可使用车辆
<
/th
>
<
th
>
购买日期
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
class
=
"
insurance-table
"
>
{{
#
each
rows
}}
<
tr
>
<
td
><
div
style
=
"
width: 180px;
"
>
{{
title
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 140px;
"
title
=
"
{{mealExplain}}
"
>
{{
mealExplain
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 140px;
"
title
=
"
{{mealConsume}}
"
>
{{
mealConsume
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
mealNum
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
remainMealNum
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
mealPrice
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 120px;
"
>
{{
plate
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
createTime
}}
<
/div></
td
>
<
/tr
>
{{
/
each
}}
<
/tbody
>
<
/table
>
<
/div
>
<
/div
>
</script>
<script
type=
"text/x-handlebars-template"
id=
"memberMealOrderTemplate"
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
套餐订单信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
套餐订单信息
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
<
table
class
=
"
layui-table
"
>
<
thead
>
<
tr
>
<
th
>
订单编号
<
/th
>
<
th
>
应付金额
<
/th
>
<
th
>
实付金额
<
/th
>
<
th
>
实付日期
<
/th
>
<
th
>
缴费门店
<
/th
>
<
th
>
订单状态
<
/th
>
<
th
>
操作时间
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
class
=
"
insurance-table
"
>
{{
#
each
rows
}}
<
tr
>
<
td
><
div
style
=
"
width: 180px;
"
>
{{
orderNum
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
payablePrice
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
payPrice
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 150px;
"
>
{{
payTime
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 150px;
"
>
{{
storeName
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 80px;
"
>
{{{
state
}}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 150px;
"
>
{{
createTime
}}
<
/div></
td
>
<
/tr
>
{{
/
each
}}
<
/tbody
>
<
/table
>
<
/div
>
<
/div
>
</script>
<script
type=
"text/x-handlebars-template"
id=
"memberKeepFitOrderTemplate"
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
保养订单信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
保养订单信息
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
<
table
class
=
"
layui-table
"
>
<
thead
>
<
tr
>
<
th
>
订单编号
<
/th
>
<
th
>
套餐名称
<
/th
>
<
th
>
套餐内消耗
<
/th
>
<
th
>
维修技师
<
/th
>
<
th
>
保养门店
<
/th
>
<
th
>
订单状态
<
/th
>
<
th
>
操作时间
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
class
=
"
insurance-table
"
>
{{
#
each
rows
}}
<
tr
>
<
td
><
div
style
=
"
width: 180px;
"
>
{{
orderNum
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
mealName
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
mealSinglePrice
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 100px;
"
>
{{
serviceTechnicianName
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 150px;
"
>
{{
storeName
}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 80px;
"
>
{{{
state
}}}
<
/div></
td
>
<
td
><
div
style
=
"
width: 150px;
"
>
{{
createTime
}}
<
/div></
td
>
<
/tr
>
{{
/
each
}}
<
/tbody
>
<
/table
>
<
/div
>
<
/div
>
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/member/
'
}).
use
(
'
memberInfo
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/member/memberList.html
已删除
100644 → 0
浏览文件 @
a43587df
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
会员称呼
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"contacts"
name=
"contacts"
placeholder=
"请输入会员称呼"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
手机号码
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"phone"
name=
"phone"
placeholder=
"请输入手机号码"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
电子邮箱
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"email"
name=
"email"
placeholder=
"请输入电子邮箱"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
VIN码
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"vinCode"
name=
"vinCode"
placeholder=
"请输入VIN码"
class=
"layui-input"
/>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1569133228443"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
enabled
==
2
&&
auth
(
'
1569133258254
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
2
&&
auth
(
'
1571154301068
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
1
&&
auth
(
'
1569133276824
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
unenabled
"
><
language
showName
=
"
com.skyeye.disableBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
2
&&
auth
(
'
1569133267244
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
enabled
"
><
language
showName
=
"
com.skyeye.enableBtn
"
><
/language></
a
>
{{
#
}
}}
<!--
只有启用中的会员才可以进行车辆信息和套餐购买的操作
-->
{{
#
if
(
d
.
enabled
==
1
&&
auth
(
'
1644234235243
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
memberCar
"
>
车辆信息
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
1
&&
auth
(
'
1644239451422
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
mealList
"
>
套餐购买
<
/a
>
{{
#
}
}}
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/member/
'
}).
use
(
'
memberList
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/member/myWriteMemberList.html
浏览文件 @
05e49bba
...
@@ -7,70 +7,13 @@
...
@@ -7,70 +7,13 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
</head>
<body>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
会员称呼
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"contacts"
name=
"contacts"
placeholder=
"请输入会员称呼"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
手机号码
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"phone"
name=
"phone"
placeholder=
"请输入手机号码"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
电子邮箱
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"email"
name=
"email"
placeholder=
"请输入电子邮箱"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
><language
showName=
"com.skyeye.state"
></language></label>
<div
class=
"layui-input-inline"
>
<select
id=
"enabled"
name=
"enabled"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
启用
</option>
<option
value=
"2"
>
禁用
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
VIN码
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"vinCode"
name=
"vinCode"
placeholder=
"请输入VIN码"
class=
"layui-input"
/>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1645535320880"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
enabled
==
2
&&
auth
(
'
1645535338174
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
2
&&
auth
(
'
1645535281417
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
1
&&
auth
(
'
1645535298928
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
unenabled
"
><
language
showName
=
"
com.skyeye.disableBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
2
&&
auth
(
'
1645535290395
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
enabled
"
><
language
showName
=
"
com.skyeye.enableBtn
"
><
/language></
a
>
{{
#
}
}}
<!--
只有启用中的会员才可以进行车辆信息和套餐购买的操作
-->
{{
#
if
(
d
.
enabled
==
1
&&
auth
(
'
1644234235243
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
memberCar
"
>
车辆信息
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
enabled
==
1
&&
auth
(
'
1644239451422
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
mealList
"
>
套餐购买
<
/a
>
{{
#
}
}}
</script>
</div>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
...
...
shop/src/main/resources/template/js/mealOrder/memberMealOrderList.js
浏览文件 @
05e49bba
var
rowId
=
""
;
var
rowId
=
""
;
var
member
Mation
=
{};
var
member
Id
=
{};
layui
.
config
({
layui
.
config
({
base
:
basePath
,
base
:
basePath
,
...
@@ -14,7 +14,7 @@ layui.config({
...
@@ -14,7 +14,7 @@ layui.config({
table
=
layui
.
table
;
table
=
layui
.
table
;
authBtn
(
'
1644239500255
'
);
authBtn
(
'
1644239500255
'
);
member
Mation
=
parent
.
memberMation
;
member
Id
=
GetUrlParam
(
"
id
"
)
;
table
.
render
({
table
.
render
({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
...
@@ -112,7 +112,7 @@ layui.config({
...
@@ -112,7 +112,7 @@ layui.config({
function
getTableParams
()
{
function
getTableParams
()
{
return
{
return
{
orderNum
:
$
(
"
#orderNum
"
).
val
(),
orderNum
:
$
(
"
#orderNum
"
).
val
(),
memberId
:
member
Mation
.
i
d
memberId
:
member
I
d
};
};
}
}
...
...
shop/src/main/resources/template/js/mealOrder/storeMealOrderAdd.js
浏览文件 @
05e49bba
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
// 表格的序号
// 表格的序号
var
rowNum
=
1
;
var
rowNum
=
1
;
// 会员
信息
// 会员
id
var
member
Mation
=
{}
;
var
member
Id
;
// 已选择的套餐信息
// 已选择的套餐信息
var
mealMation
=
{};
var
mealMation
=
{};
...
@@ -28,8 +28,7 @@ layui.config({
...
@@ -28,8 +28,7 @@ layui.config({
var
usetableTemplate
=
$
(
"
#usetableTemplate
"
).
html
();
var
usetableTemplate
=
$
(
"
#usetableTemplate
"
).
html
();
var
memberCarHtml
=
""
;
var
memberCarHtml
=
""
;
memberMation
=
parent
.
memberMation
;
memberId
=
parent
.
memberId
;
$
(
"
#memberName
"
).
html
(
memberMation
.
contacts
);
// 加载我所在的门店
// 加载我所在的门店
shopUtil
.
queryStaffBelongStoreList
(
function
(
json
){
shopUtil
.
queryStaffBelongStoreList
(
function
(
json
){
...
@@ -54,7 +53,7 @@ layui.config({
...
@@ -54,7 +53,7 @@ layui.config({
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
400
});
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
400
});
var
params
=
{
var
params
=
{
memberId
:
member
Mation
.
i
d
,
memberId
:
member
I
d
,
enabled
:
1
enabled
:
1
};
};
// 获取会员拥有的车辆信息(已启用)
// 获取会员拥有的车辆信息(已启用)
...
@@ -89,7 +88,7 @@ layui.config({
...
@@ -89,7 +88,7 @@ layui.config({
var
params
=
{
var
params
=
{
storeId
:
$
(
"
#storeId
"
).
val
(),
storeId
:
$
(
"
#storeId
"
).
val
(),
natureId
:
$
(
"
#natureId
"
).
val
(),
natureId
:
$
(
"
#natureId
"
).
val
(),
memberId
:
member
Mation
.
i
d
,
memberId
:
member
I
d
,
remark
:
$
(
"
#remark
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
type
:
2
,
type
:
2
,
mealList
:
JSON
.
stringify
(
tableData
)
mealList
:
JSON
.
stringify
(
tableData
)
...
...
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderAdd.html
浏览文件 @
05e49bba
...
@@ -17,12 +17,6 @@
...
@@ -17,12 +17,6 @@
</select>
</select>
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
会员
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block ver-center"
id=
"memberName"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
性质
<i
class=
"red"
>
*
</i></label>
<label
class=
"layui-form-label"
>
性质
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录