Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
f7e6515a
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1195
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看板
提交
f7e6515a
编写于
3月 17, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
凭证管理整改
上级
50604e82
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
146 addition
and
214 deletion
+146
-214
ifs/src/main/resources/template/js/ifsVoucher/ifsVoucherList.js
...c/main/resources/template/js/ifsVoucher/ifsVoucherList.js
+75
-72
ifs/src/main/resources/template/js/ifsVoucher/ifsVoucherListChoose.js
.../resources/template/js/ifsVoucher/ifsVoucherListChoose.js
+53
-55
ifs/src/main/resources/template/tpl/ifsVoucher/ifsVoucherList.html
...ain/resources/template/tpl/ifsVoucher/ifsVoucherList.html
+10
-44
ifs/src/main/resources/template/tpl/ifsVoucher/ifsVoucherListChoose.html
...sources/template/tpl/ifsVoucher/ifsVoucherListChoose.html
+5
-40
shop/src/main/resources/template/js/meal/mealChoose.js
shop/src/main/resources/template/js/meal/mealChoose.js
+2
-2
web/src/main/resources/template/assets/lib/layui/customer/common/systemCommonUtil.js
...late/assets/lib/layui/customer/common/systemCommonUtil.js
+1
-1
未找到文件。
ifs/src/main/resources/template/js/ifsVoucher/ifsVoucherList.js
浏览文件 @
f7e6515a
...
...
@@ -8,76 +8,89 @@ layui.config({
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
upload
=
layui
.
upload
;
upload
=
layui
.
upload
,
table
=
layui
.
table
;
var
exts
=
imageType
.
concat
(
officeType
).
join
(
'
|
'
);
$
(
"
#showInfo
"
).
html
(
"
仅支持以下格式的凭证文件:【
"
+
imageType
.
concat
(
officeType
).
join
(
'
,
'
)
+
"
】
"
);
authBtn
(
'
1641208147247
'
);
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
ifsVoucher001
"
,
params
:
getTableParams
(),
pagination
:
true
,
pagesize
:
18
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{
hdb
.
registerHelper
(
"
compare1
"
,
function
(
v1
,
options
){
var
fileExt
=
sysFileUtil
.
getFileExt
(
v1
);
if
(
$
.
inArray
(
fileExt
[
0
],
imageType
)
>=
0
){
return
fileBasePath
+
v1
;
}
return
'
../../assets/images/doc.png
'
;
});
hdb
.
registerHelper
(
"
compare2
"
,
function
(
v1
,
options
){
if
(
v1
==
1
){
return
'
<a class="layui-btn layui-btn-danger layui-btn-xs del" auth="1641208155066"><language showName="com.skyeye.deleteBtn"></language></a>
'
;
}
return
''
;
});
hdb
.
registerHelper
(
"
compare3
"
,
function
(
v1
,
options
){
if
(
v1
==
1
){
return
"
<span class='state-down'>未整理</span>
"
;
}
return
"
<span class='state-up'>已整理</span>
"
;
});
},
options
:
{
'
click .del
'
:
function
(
index
,
row
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
ifsVoucher003
"
,
params
:
{
rowId
:
row
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
},
'
click .sel
'
:
function
(
index
,
row
){
var
fileExt
=
sysFileUtil
.
getFileExt
(
row
.
voucherPath
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
ifsBasePath
+
"
ifsVoucher001
"
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
name
'
,
title
:
'
名称
'
,
width
:
150
},
{
field
:
'
path
'
,
title
:
'
展示
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
var
fileExt
=
sysFileUtil
.
getFileExt
(
d
.
path
);
if
(
$
.
inArray
(
fileExt
[
0
],
imageType
)
>=
0
){
systemCommonUtil
.
showPicImg
(
fileBasePath
+
row
.
voucherPath
);
}
else
{
sysFileUtil
.
download
(
row
.
voucherPath
,
row
.
fileName
);
return
'
<img src="
'
+
fileBasePath
+
d
.
path
+
'
" class="photo-img" lay-event="logo">
'
;
}
}
},
ajaxSendAfter
:
function
(
json
)
{
authBtn
(
'
1641208155066
'
);
matchingLanguage
();
}
});
return
'
<img src="../../assets/images/doc.png" class="photo-img" lay-event="logo">
'
;
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
voucherState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
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
:
100
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入名称
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
var
exts
=
imageType
.
concat
(
officeType
).
join
(
'
|
'
);
$
(
"
#showInfo
"
).
html
(
"
仅支持以下格式的凭证文件:【
"
+
imageType
.
concat
(
officeType
).
join
(
'
,
'
)
+
"
】
"
);
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
logo
'
)
{
var
fileExt
=
sysFileUtil
.
getFileExt
(
data
.
path
);
if
(
$
.
inArray
(
fileExt
[
0
],
imageType
)
>=
0
){
systemCommonUtil
.
showPicImg
(
fileBasePath
+
data
.
path
);
}
else
{
sysFileUtil
.
download
(
data
.
path
,
data
.
name
);
}
}
});
// 删除
function
del
(
data
,
obj
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
ifsBasePath
+
"
ifsVoucher003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
upload
.
render
({
elem
:
'
#addBean
'
,
// 绑定元素
url
:
reqBasePath
+
'
common003
'
,
// 上传接口
elem
:
'
#addBean
'
,
url
:
reqBasePath
+
'
common003
'
,
data
:
{
type
:
21
},
exts
:
exts
,
done
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
var
param
=
{
type
:
1
,
// 凭证类型 1.原始凭证 2.手工录入凭证
voucherP
ath
:
json
.
bean
.
picUrl
,
fileN
ame
:
json
.
bean
.
fileName
p
ath
:
json
.
bean
.
picUrl
,
n
ame
:
json
.
bean
.
fileName
}
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
ifsVoucher002
"
,
params
:
param
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
ifs
BasePath
+
"
ifsVoucher002
"
,
params
:
param
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
上传成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -92,26 +105,16 @@ layui.config({
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshGrid
(
"
showForm
"
,
{
params
:
getTableParams
()});
}
return
false
;
});
// 刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
refreshGrid
(
"
showForm
"
,
{
params
:
getTableParams
()});
}
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
state
:
$
(
"
#state
"
).
val
(),
};
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
ifsVoucherList
'
,
{});
...
...
ifs/src/main/resources/template/js/ifsVoucher/ifsVoucherListChoose.js
浏览文件 @
f7e6515a
...
...
@@ -9,75 +9,73 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
$
(
"
#showInfo
"
).
html
(
"
凭证选择规则:双击指定行即可选中。
"
);
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
ifsVoucher001
"
,
params
:
getTableParams
(),
pagination
:
true
,
pagesize
:
18
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{
hdb
.
registerHelper
(
"
compare1
"
,
function
(
v1
,
options
){
var
fileExt
=
sysFileUtil
.
getFileExt
(
v1
);
if
(
$
.
inArray
(
fileExt
[
0
],
imageType
)
>=
0
){
return
fileBasePath
+
v1
;
}
return
'
../../assets/images/doc.png
'
;
});
hdb
.
registerHelper
(
"
compare2
"
,
function
(
v1
,
options
){
if
(
v1
==
1
){
return
'
<a class="layui-btn layui-btn-xs choose">选择</a>
'
;
}
return
''
;
});
hdb
.
registerHelper
(
"
compare3
"
,
function
(
v1
,
options
){
if
(
v1
==
1
){
return
"
<span class='state-down'>未整理</span>
"
;
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
ifsBasePath
+
'
ifsVoucher001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
type
:
'
radio
'
},
{
field
:
'
name
'
,
title
:
'
名称
'
,
width
:
150
},
{
field
:
'
path
'
,
title
:
'
展示
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
var
fileExt
=
sysFileUtil
.
getFileExt
(
d
.
path
);
if
(
$
.
inArray
(
fileExt
[
0
],
imageType
)
>=
0
){
return
'
<img src="
'
+
fileBasePath
+
d
.
path
+
'
" class="photo-img" lay-event="logo">
'
;
}
return
"
<span class='state-up'>已整理</span>
"
;
return
'
<img src="../../assets/images/doc.png" class="photo-img" lay-event="logo">
'
;
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
voucherState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
]],
done
:
function
(
res
,
curr
,
count
){
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
res
.
searchFilter
,
form
,
"
请输入名称
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
},
options
:
{
'
click .sel
'
:
function
(
index
,
row
){
var
fileExt
=
sysFileUtil
.
getFileExt
(
row
.
voucherPath
);
if
(
$
.
inArray
(
fileExt
[
0
],
imageType
)
>=
0
){
systemCommonUtil
.
showPicImg
(
fileBasePath
+
row
.
voucherPath
);
}
else
{
sysFileUtil
.
download
(
row
.
voucherPath
,
row
.
fileName
);
for
(
var
i
=
0
;
i
<
res
.
rows
.
length
;
i
++
)
{
// 已整理的不可选中
if
(
res
.
rows
[
i
].
state
!=
1
){
systemCommonUtil
.
disabledRow
(
res
.
rows
[
i
].
LAY_TABLE_INDEX
,
'
radio
'
);
}
},
'
click .choose
'
:
function
(
i
,
row
){
parent
.
sysIfsUtil
.
chooseVoucherMation
=
row
;
}
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
children
(
"
tr
"
).
on
(
'
dblclick
'
,
function
(){
var
dubClick
=
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
find
(
"
.layui-table-hover
"
);
dubClick
.
find
(
"
input[type='radio']
"
).
prop
(
"
checked
"
,
true
);
form
.
render
();
var
chooseIndex
=
JSON
.
stringify
(
dubClick
.
data
(
'
index
'
));
var
obj
=
res
.
rows
[
chooseIndex
];
parent
.
sysIfsUtil
.
chooseVoucherMation
=
obj
;
parent
.
refreshCode
=
'
0
'
;
parent
.
layer
.
close
(
index
);
}
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
}
});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshGrid
(
"
showForm
"
,
{
params
:
getTableParams
()});
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
children
(
"
tr
"
).
on
(
'
click
'
,
function
(){
var
click
=
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
find
(
"
.layui-table-hover
"
);
click
.
find
(
"
input[type='radio']
"
).
prop
(
"
checked
"
,
true
);
form
.
render
();
})
}
return
false
;
});
// 刷新数据
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
(
);
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()}
);
});
function
loadTable
()
{
refreshGrid
(
"
showForm
"
,
{
params
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
state
:
$
(
"
#state
"
).
val
(),
};
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
ifsVoucherListChoose
'
,
{});
...
...
ifs/src/main/resources/template/tpl/ifsVoucher/ifsVoucherList.html
浏览文件 @
f7e6515a
...
...
@@ -7,57 +7,23 @@
<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-tip alert-info"
id=
"showInfo"
></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"
>
<select
id=
"state"
name=
"state"
lay-filter=
"state"
lay-search=
""
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
未整理
</option>
<option
value=
"2"
>
已整理
</option>
</select>
</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-tip alert-info"
id=
"showInfo"
></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=
"1641208147247"
><i
class=
"fa fa-cloud-upload"
aria-hidden=
"true"
></i>
上传凭证
</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
search-table-btn-right
"
auth=
"1641208147247"
><i
class=
"fa fa-cloud-upload"
aria-hidden=
"true"
></i>
上传凭证
</button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<div
class=
"layui-col-xs12"
id=
"showForm"
>
</div>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1641208155066
'
)
&&
d
.
state
==
1
)
{
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
each
rows
}}
<
div
class
=
"
layui-col-xs2 pic-item
"
title
=
"
文件名: {{fileName}} 上传日期: {{createTime}}
"
>
<
div
class
=
"
layui-col-xs12 pic-item-div-top
"
>
<
img
class
=
"
win-bg-pic sel
"
src
=
"
{{#compare1 voucherPath}}{{/compare1}}
"
/>
<
/div
>
<
div
class
=
"
layui-col-xs12 pic-item-div
"
>
<
div
style
=
"
text-align: left
"
>
状态
:
{{
#
compare3
state
}}{{
/
compare3
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-col-xs12 pic-item-div
"
>
<
div
>
{{
#
compare2
state
}}{{
/
compare2
}}
<
/div
>
<
/div
>
<
/div
>
{{
/
each
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
...
...
ifs/src/main/resources/template/tpl/ifsVoucher/ifsVoucherListChoose.html
浏览文件 @
f7e6515a
...
...
@@ -7,54 +7,19 @@
<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"
>
<select
id=
"state"
name=
"state"
lay-filter=
"state"
lay-search=
""
>
<option
value=
"1"
>
未整理
</option>
<option
value=
"2"
>
已整理
</option>
</select>
</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
class=
"winui-tip alert-info"
id=
"showInfo"
>
</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=
"reloadTable"
class=
"winui-toolbtn
search-table-btn-right
"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<div
class=
"layui-col-xs12"
id=
"showForm"
>
</div>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
each
rows
}}
<
div
class
=
"
layui-col-xs2 pic-item
"
title
=
"
文件名: {{fileName}} 上传日期: {{createTime}}
"
>
<
div
class
=
"
layui-col-xs12 pic-item-div-top
"
>
<
img
class
=
"
win-bg-pic sel
"
src
=
"
{{#compare1 voucherPath}}{{/compare1}}
"
/>
<
/div
>
<
div
class
=
"
layui-col-xs12 pic-item-div
"
>
<
div
style
=
"
text-align: left
"
>
状态
:
{{
#
compare3
state
}}{{
/
compare3
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-col-xs12 pic-item-div
"
>
<
div
>
{{
#
compare2
state
}}{{
/
compare2
}}
<
/div
>
<
/div
>
<
/div
>
{{
/
each
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
...
...
shop/src/main/resources/template/js/meal/mealChoose.js
浏览文件 @
f7e6515a
...
...
@@ -36,8 +36,8 @@ layui.config({
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">
'
;
}},
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
){
...
...
web/src/main/resources/template/assets/lib/layui/customer/common/systemCommonUtil.js
浏览文件 @
f7e6515a
...
...
@@ -7,7 +7,7 @@ var systemCommonUtil = {
* @param callback 回执函数
*/
getSysAccountListByType
:
function
(
callback
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
account009
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
ifs
BasePath
+
"
account009
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
json
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录