记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
174779b9
Commit
174779b9
authored
Apr 20, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui提交 差调用接口
parent
7516016c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
28 deletions
+71
-28
export.html
...c/main/resources/templates/zhengzai/financial/export.html
+71
-28
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/financial/export.html
View file @
174779b9
...
@@ -15,47 +15,90 @@
...
@@ -15,47 +15,90 @@
</style>
</style>
<body
class=
"white-bg"
>
<body
class=
"white-bg"
>
<div
class=
"wrapper wrapper-content animated fadeInRight ibox-content"
>
<div
class=
"wrapper wrapper-content animated fadeInRight ibox-content"
>
<form
class=
"form-horizontal m"
id=
"form-member-edit"
>
<div
class=
"col-sm-12 search-collapse"
>
<div
class=
"form-group"
>
<form
id=
"formId"
>
<label>
搜索类型:
</label>
<div
class=
"select-list"
>
<select
name=
"type"
>
<ul>
<option
value=
"0"
>
请选择
</option>
<li>
<option
value=
"1"
>
商品
</option>
<label>
搜索类型:
</label>
<option
value=
"2"
>
演出
</option>
<select
id=
"type"
name=
"type"
>
<option
value=
"3"
>
会员
</option>
<option
value=
"0"
>
请选择
</option>
</select>
<option
value=
"1"
>
商品
</option>
</div>
<option
value=
"2"
>
演出
</option>
<div
class=
"form-group"
>
<option
value=
"3"
>
会员
</option>
<label
class=
"col-sm-3 control-label is-required"
>
活动时间:
</label>
</select>
<input
type=
"text"
style=
"width: 200px;float: left"
</li>
class=
"form-control"
id=
"startTime"
placeholder=
"开始时间选择"
name=
"timeStart"
/>
<li>
<span
class=
"control-label"
style=
"float: left;margin-left: 10px;margin-right: 10px"
>
—
</span>
<label>
演出id:
</label>
<input
type=
"text"
style=
"width: 200px;float: left"
<input
id=
"performanceId"
type=
"text"
name=
"performanceId"
/>
class=
"form-control"
id=
"endTime"
placeholder=
"结束时间选择"
name=
"timeEnd"
/>
</li>
</div>
<li>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label is-required"
>
演出id:
</label>
<label>
时间范围:
</label>
<input
name=
"performanceId"
class=
"form-control"
type=
"text"
>
<input
type=
"text"
style=
"width: 200px;float: left"
</div>
class=
"form-control"
id=
"startTime"
placeholder=
"开始时间选择"
name=
"timeStart"
/>
</form>
<span
class=
"control-label"
style=
"float: left;margin-left: 10px;margin-right: 10px"
>
-
</span>
<input
type=
"text"
style=
"width: 200px;float: left"
class=
"form-control"
id=
"endTime"
placeholder=
"结束时间选择"
name=
"timeEnd"
/>
</div>
</li>
<li>
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"searchExport()"
><i
class=
"fa fa-search"
></i>
导出
</a>
</li>
</ul>
</div>
</form>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: datetimepicker-js"
/>
<th:block
th:include=
"include :: datetimepicker-js"
/>
<script
th:inline=
"javascript"
>
<script
th:inline=
"javascript"
>
var
prefix
=
ctx
+
"tools/"
;
var
prefix
=
ctx
+
"tools/
export
"
;
$
(
"input[name='timeStart']"
).
datetimepicker
({
$
(
"input[name='timeStart']"
).
datetimepicker
({
format
:
"yyyy-mm-dd"
,
format
:
"yyyy-mm-dd hh:ii:ss"
,
minView
:
"month"
,
autoclose
:
true
autoclose
:
true
});
});
$
(
"input[name='timeEnd']"
).
datetimepicker
({
$
(
"input[name='timeEnd']"
).
datetimepicker
({
format
:
"yyyy-mm-dd"
,
format
:
"yyyy-mm-dd hh:ii:ss"
,
minView
:
"month"
,
autoclose
:
true
autoclose
:
true
});
});
function
searchExport
()
{
var
type
=
document
.
getElementById
(
"type"
).
value
;
var
performanceId
=
document
.
getElementById
(
"performanceId"
).
value
;
var
st
=
document
.
getElementById
(
"startTime"
).
value
;
var
et
=
document
.
getElementById
(
"endTime"
).
value
;
if
(
type
==
0
)
{
alert
(
"请选择导出类型"
);
}
else
if
(
type
==
1
)
{
//商品导出逻辑
if
(
st
==
""
||
et
==
""
)
{
alert
(
"请选择时间范围"
);
}
}
else
if
(
type
==
2
)
{
//演出导出逻辑
if
(
performanceId
==
""
&&
(
st
==
""
||
et
==
""
))
{
alert
(
"演出id和时间范围不能同事为空"
);
}
}
else
if
(
type
==
3
)
{
//会员导出逻辑
if
(
st
==
""
||
et
==
""
)
{
alert
(
"请选择时间范围"
);
}
}
// $.ajax({
// url: prefix + "/platform/basicServices/alOss/upload",//路径是你控制器中上传图片的方法,下面controller里面我会写到
// data: formData,
// cache: false,
// contentType: false,
// processData: false,
// type: 'POST',
// success: function (res) {
// }
// });
}
</script>
</script>
</body>
</body>
</html>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment