Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
9a9bb886
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看板
提交
9a9bb886
编写于
2月 07, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增会员车辆信息
上级
8a25ef79
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
784 addition
and
0 deletion
+784
-0
member/src/main/resources/template/js/member/memberList.js
member/src/main/resources/template/js/member/memberList.js
+15
-0
member/src/main/resources/template/js/memberCar/memberCarAdd.js
.../src/main/resources/template/js/memberCar/memberCarAdd.js
+47
-0
member/src/main/resources/template/js/memberCar/memberCarEdit.js
...src/main/resources/template/js/memberCar/memberCarEdit.js
+59
-0
member/src/main/resources/template/js/memberCar/memberCarInfo.js
...src/main/resources/template/js/memberCar/memberCarInfo.js
+37
-0
member/src/main/resources/template/js/memberCar/memberCarList.js
...src/main/resources/template/js/memberCar/memberCarList.js
+155
-0
member/src/main/resources/template/tpl/member/memberList.html
...er/src/main/resources/template/tpl/member/memberList.html
+3
-0
member/src/main/resources/template/tpl/memberCar/memberCarAdd.html
...c/main/resources/template/tpl/memberCar/memberCarAdd.html
+57
-0
member/src/main/resources/template/tpl/memberCar/memberCarEdit.html
.../main/resources/template/tpl/memberCar/memberCarEdit.html
+64
-0
member/src/main/resources/template/tpl/memberCar/memberCarInfo.html
.../main/resources/template/tpl/memberCar/memberCarInfo.html
+55
-0
member/src/main/resources/template/tpl/memberCar/memberCarList.html
.../main/resources/template/tpl/memberCar/memberCarList.html
+52
-0
shop/src/main/resources/template/js/mealOrder/storeMealOrderList.js
...ain/resources/template/js/mealOrder/storeMealOrderList.js
+168
-0
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderList.html
.../resources/template/tpl/mealOrder/storeMealOrderList.html
+72
-0
未找到文件。
member/src/main/resources/template/js/member/memberList.js
浏览文件 @
9a9bb886
...
...
@@ -60,6 +60,8 @@ layui.config({
editNotEnabled
(
data
)
}
else
if
(
layEvent
==
'
select
'
){
//详情
selectMember
(
data
)
}
else
if
(
layEvent
==
'
memberCar
'
){
//车辆信息
memberCar
(
data
)
}
});
...
...
@@ -137,6 +139,19 @@ layui.config({
});
}
// 车辆信息
function
memberCar
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/memberCar/memberCarList.html
"
,
title
:
'
车辆信息
'
,
pageId
:
"
memberCarList
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
}
});
}
//添加会员
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
(){
_openNewWindows
({
...
...
member/src/main/resources/template/js/memberCar/memberCarAdd.js
0 → 100644
浏览文件 @
9a9bb886
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
:
'
remark
'
,
maxlength
:
400
,
tools
:
[
'
count
'
,
'
copy
'
,
'
reset
'
,
'
clear
'
]
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
plate
:
$
(
"
#plate
"
).
val
(),
modelType
:
$
(
"
#modelType
"
).
val
(),
vinCode
:
$
(
"
#vinCode
"
).
val
(),
insure
:
$
(
"
input[name='insure']:checked
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
memberId
:
parent
.
memberId
};
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
memberCar002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
member/src/main/resources/template/js/memberCar/memberCarEdit.js
0 → 100644
浏览文件 @
9a9bb886
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
+
"
memberCar003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
){},
ajaxSendAfter
:
function
(
data
){
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
400
,
tools
:
[
'
count
'
,
'
copy
'
,
'
reset
'
,
'
clear
'
]
});
$
(
"
input:radio[name=insure][value=
"
+
data
.
bean
.
insure
+
"
]
"
).
attr
(
"
checked
"
,
true
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
plate
:
$
(
"
#plate
"
).
val
(),
modelType
:
$
(
"
#modelType
"
).
val
(),
vinCode
:
$
(
"
#vinCode
"
).
val
(),
insure
:
$
(
"
input[name='insure']:checked
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
memberCar005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
return
false
;
});
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
member/src/main/resources/template/js/memberCar/memberCarInfo.js
0 → 100644
浏览文件 @
9a9bb886
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
+
"
memberCar008
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
simpleTemplate
,
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
json
.
bean
.
remark
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
remark
);
},
ajaxSendAfter
:
function
(
json
){
if
(
json
.
bean
.
insure
==
1
){
$
(
"
#insure
"
).
html
(
"
已购买
"
);
}
else
{
$
(
"
#insure
"
).
html
(
"
未购买
"
);
}
matchingLanguage
();
form
.
render
();
}
});
});
});
\ No newline at end of file
member/src/main/resources/template/js/memberCar/memberCarList.js
0 → 100644
浏览文件 @
9a9bb886
var
rowId
=
""
;
var
memberId
=
""
;
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
(
'
1644234244354
'
);
memberId
=
parent
.
rowId
;
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
shopBasePath
+
'
memberCar001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
fixed
:
'
left
'
,
type
:
'
numbers
'
},
{
field
:
'
plate
'
,
title
:
'
车牌号
'
,
align
:
'
left
'
,
width
:
100
,
fixed
:
'
left
'
,
templet
:
function
(
d
){
return
'
<a lay-event="select" class="notice-title-click">
'
+
d
.
plate
+
'
</a>
'
;
}},
{
field
:
'
vinCode
'
,
title
:
'
VIN码
'
,
align
:
'
center
'
,
width
:
180
},
{
field
:
'
modelType
'
,
title
:
'
车型
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
insure
'
,
title
:
'
是否购买保险
'
,
align
:
'
center
'
,
width
:
140
,
templet
:
function
(
d
){
if
(
d
.
insure
==
'
1
'
){
return
"
已购买
"
;
}
else
if
(
d
.
insure
==
'
2
'
){
return
"
未购买
"
;
}
else
{
return
"
<span class='state-error'>参数错误</span>
"
;
}
}},
{
field
:
'
createName
'
,
title
:
'
录入人
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
140
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
150
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(){
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
==
'
select
'
){
//详情
selectMember
(
data
)
}
});
// 编辑
function
editmember
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/memberCar/memberCarEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
memberCarEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
}
// 删除
function
deletemember
(
data
){
layer
.
confirm
(
"
删除后关联套餐以及其他信息无法使用,确认删除吗?
"
,
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
memberCar004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
}
// 详情
function
selectMember
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/memberCar/memberCarInfo.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
memberCarInfo
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
}
});
}
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
(){
_openNewWindows
({
url
:
"
../../tpl/memberCar/memberCarAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
memberCarAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 刷新
function
loadTable
(){
table
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
(){
return
{
plate
:
$
(
"
#plate
"
).
val
(),
vinCode
:
$
(
"
#vinCode
"
).
val
(),
memberId
:
memberId
};
}
exports
(
'
memberList
'
,
{});
});
member/src/main/resources/template/tpl/member/memberList.html
浏览文件 @
9a9bb886
...
...
@@ -59,6 +59,9 @@
{{
#
if
(
d
.
enabled
==
2
&&
auth
(
'
1569133267244
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
enabled
"
><
language
showName
=
"
com.skyeye.enableBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1644234235243
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
memberCar
"
>
车辆信息
<
/a
>
{{
#
}
}}
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
...
...
member/src/main/resources/template/tpl/memberCar/memberCarAdd.html
0 → 100644
浏览文件 @
9a9bb886
<!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-xs6"
>
<label
class=
"layui-form-label"
>
车牌号
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"plate"
name=
"plate"
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=
"modelType"
name=
"modelType"
win-verify=
"required"
placeholder=
"请输入车型"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
VIN码
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"vinCode"
name=
"vinCode"
win-verify=
"required"
placeholder=
"请输入VIN码"
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 winui-radio"
>
<input
type=
"radio"
name=
"insure"
value=
"1"
title=
"已购买"
/>
<input
type=
"radio"
name=
"insure"
value=
"2"
title=
"未购买"
checked=
"checked"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
备注
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"remark"
name=
"remark"
placeholder=
"请输入备注信息"
maxlength=
"400"
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
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/memberCar/
'
}).
use
(
'
memberCarAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/memberCar/memberCarEdit.html
0 → 100644
浏览文件 @
9a9bb886
<!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
=
"
plate
"
name
=
"
plate
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入车牌号
"
class
=
"
layui-input
"
value
=
"
{{plate}}
"
/>
<
/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
=
"
modelType
"
name
=
"
modelType
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入车型
"
class
=
"
layui-input
"
value
=
"
{{modelType}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
VIN码
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
vinCode
"
name
=
"
vinCode
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入VIN码
"
class
=
"
layui-input
"
value
=
"
{{vinCode}}
"
/>
<
/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 winui-radio
"
>
<
input
type
=
"
radio
"
name
=
"
insure
"
value
=
"
1
"
title
=
"
已购买
"
/>
<
input
type
=
"
radio
"
name
=
"
insure
"
value
=
"
2
"
title
=
"
未购买
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
remark
"
name
=
"
remark
"
placeholder
=
"
请输入备注信息
"
maxlength
=
"
400
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
>
{{
remark
}}
<
/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/memberCar/
'
}).
use
(
'
memberCarEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/memberCar/memberCarInfo.html
0 → 100644
浏览文件 @
9a9bb886
<!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>
<script
type=
"text/x-handlebars-template"
id=
"simpleTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
车牌号
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
plate
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
车型
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
modelType
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
VIN码
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
vinCode
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
是否购买保险
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
insure
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
remark
}}}
<
/div
>
<
/div
>
{{
/
bean
}}
</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/memberCar/
'
}).
use
(
'
memberCarInfo
'
);
</script>
</body>
</html>
\ No newline at end of file
member/src/main/resources/template/tpl/memberCar/memberCarList.html
0 → 100644
浏览文件 @
9a9bb886
<!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=
"plate"
name=
"plate"
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=
"1644234244354"
><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
(
auth
(
'
1644234259629
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1644234273590
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
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/memberCar/
'
}).
use
(
'
memberCarList
'
);
</script>
</body>
</html>
\ No newline at end of file
shop/src/main/resources/template/js/mealOrder/storeMealOrderList.js
0 → 100644
浏览文件 @
9a9bb886
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
;
authBtn
(
'
1644054570044
'
);
// 加载我所在的门店
shopUtil
.
queryStaffBelongStoreList
(
function
(
json
){
$
(
"
#storeId
"
).
html
(
getDataUseHandlebars
(
$
(
"
#selectTemplate
"
).
html
(),
json
));
});
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
shopBasePath
+
'
meal001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
fixed
:
'
left
'
,
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
套餐名称
'
,
align
:
'
left
'
,
width
:
200
,
fixed
:
'
left
'
,
templet
:
function
(
d
){
return
'
<a lay-event="select" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
field
:
'
logo
'
,
title
:
'
LOGO
'
,
align
:
'
center
'
,
width
:
60
,
templet
:
function
(
d
){
return
'
<img src="
'
+
fileBasePath
+
d
.
logo
+
'
" class="photo-img" lay-event="logo">
'
;
}},
{
field
:
'
mealNum
'
,
title
:
'
可使用次数
'
,
width
:
120
},
{
field
:
'
type
'
,
title
:
'
套餐分类
'
,
width
:
100
,
align
:
"
center
"
,
templet
:
function
(
d
){
if
(
d
.
type
==
1
){
return
"
保养套餐
"
;
}
return
"
-
"
;
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
80
,
align
:
"
center
"
,
templet
:
function
(
d
){
if
(
d
.
state
==
1
){
return
"
下线
"
;
}
else
{
return
"
上线
"
;
}
}},
{
field
:
'
price
'
,
title
:
'
价格
'
,
width
:
100
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
150
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(){
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
edit
'
)
{
// 编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
delete
'
)
{
// 删除
delet
(
data
);
}
else
if
(
layEvent
==
'
select
'
){
// 详情
select
(
data
)
}
else
if
(
layEvent
===
'
logo
'
)
{
// logo预览
systemCommonUtil
.
showPicImg
(
fileBasePath
+
data
.
logo
);
}
});
// 编辑
function
edit
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/meal/mealEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
mealEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
}
// 删除
function
delet
(
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
+
"
meal004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
}
// 详情
function
select
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/meal/mealInfo.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
mealInfo
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
}
});
}
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
(){
_openNewWindows
({
url
:
"
../../tpl/meal/mealAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
mealAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 刷新
function
loadTable
(){
table
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
(){
return
{
orderNum
:
$
(
"
#orderNum
"
).
val
(),
memberName
:
$
(
"
#memberName
"
).
val
(),
memberPhone
:
$
(
"
#memberPhone
"
).
val
(),
memberPlate
:
$
(
"
#memberPlate
"
).
val
()
};
}
exports
(
'
storeMealOrderList
'
,
{});
});
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderList.html
0 → 100644
浏览文件 @
9a9bb886
<!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;"
>
<div
class=
"winui-toolbar layui-col-xs12"
>
<div
class=
"winui-tool layui-col-xs3"
>
<select
id=
"storeId"
name=
"storeId"
lay-filter=
"storeId"
lay-search=
""
>
</select>
</div>
</div>
<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=
"orderNum"
name=
"orderNum"
placeholder=
"请输入订单编号"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
会员名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"memberName"
name=
"memberName"
placeholder=
"请输入会员名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
会员手机号
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"memberPhone"
name=
"memberPhone"
placeholder=
"请输入会员手机号"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
车牌号
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"memberPlate"
name=
"memberPlate"
placeholder=
"请输入车牌号"
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=
"1644054570044"
><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
(
auth
(
'
1644054579565
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</div>
<script
type=
"text/x-handlebars-template"
id=
"selectTemplate"
>
<
option
value
=
"
-
"
>
请选择
<
/option
>
{{
#
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/mealOrder/
'
}).
use
(
'
storeMealOrderList
'
);
</script>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录