Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
T
tongmeng-app
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
林海冰
tongmeng-app
Commits
4054514d
提交
4054514d
authored
1月 16, 2019
作者:
Mangostiffy
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
92cdad7f
964e29cd
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
2 行增加
和
1514 行删除
+2
-1514
OneClassfyController.java
.../controller/tongmeng/oneclassfy/OneClassfyController.java
+1
-1
appuser_edit.jsp
...main/webapp/WEB-INF/jsp/tongmeng/appuser/appuser_edit.jsp
+0
-203
appuser_list.jsp
...main/webapp/WEB-INF/jsp/tongmeng/appuser/appuser_list.jsp
+0
-451
banner_edit_url.jsp
...in/webapp/WEB-INF/jsp/tongmeng/banner/banner_edit_url.jsp
+0
-309
information.jsp
src/main/webapp/WEB-INF/jsp/tongmeng/banner/information.jsp
+0
-259
vehicleinfo.jsp
src/main/webapp/WEB-INF/jsp/tongmeng/banner/vehicleinfo.jsp
+0
-281
oneclassfy_edit.jsp
...ebapp/WEB-INF/jsp/tongmeng/oneclassfy/oneclassfy_edit.jsp
+1
-10
没有找到文件。
src/main/java/com/mall/controller/tongmeng/oneclassfy/OneClassfyController.java
浏览文件 @
4054514d
...
...
@@ -104,7 +104,7 @@ public class OneClassfyController extends BaseController {
icomPath
=
OssUtil
.
upload
(
file
);
pd
.
put
(
"icom"
,
icomPath
);
}
else
{
pd
.
put
(
"icom"
,
request
.
getParameter
(
"
ICOM
"
));
pd
.
put
(
"icom"
,
request
.
getParameter
(
"
icom
"
));
}
pd
.
put
(
"classify_id"
,
request
.
getParameter
(
"classify_id"
));
pd
.
put
(
"name"
,
request
.
getParameter
(
"name"
));
...
...
src/main/webapp/WEB-INF/jsp/tongmeng/appuser/appuser_edit.jsp
deleted
100644 → 0
浏览文件 @
92cdad7f
<%@ page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%>
<%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%>
<%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<%@ taglib
prefix=
"fn"
uri=
"http://java.sun.com/jsp/jstl/functions"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()+
"://"
+
request
.
getServerName
()+
":"
+
request
.
getServerPort
()+
path
+
"/"
;
%>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<!-- 下拉框 -->
<link
rel=
"stylesheet"
href=
"static/ace/css/chosen.css"
/>
<!-- jsp文件头和头部 -->
<%@ include
file=
"../../system/index/top.jsp"
%>
<!-- 日期框 -->
<link
rel=
"stylesheet"
href=
"static/ace/css/datepicker.css"
/>
</head>
<body
class=
"no-skin"
>
<!-- /section:basics/navbar.layout -->
<div
class=
"main-container"
id=
"main-container"
>
<!-- /section:basics/sidebar -->
<div
class=
"main-content"
>
<div
class=
"main-content-inner"
>
<div
class=
"page-content"
>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<form
action=
"${msg }.do"
name=
"Form"
id=
"Form"
method=
"post"
>
<input
type=
"hidden"
name=
"OPENID"
id=
"OPENID"
value=
"${pd.openid}"
/>
<div
id=
"zhongxin"
style=
"padding-top: 13px;"
>
<table
id=
"table_report"
class=
"table table-striped table-bordered table-hover"
>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
头像:
</td>
<td><input
type=
"text"
name=
"HEADPORTRAIT"
id=
"HEADPORTRAIT"
value=
"${pd.headportrait}"
maxlength=
"255"
placeholder=
"这里输入头像"
title=
"头像"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
昵称:
</td>
<td><input
type=
"text"
name=
"NICKNAME"
id=
"NICKNAME"
value=
"${pd.nickname}"
maxlength=
"50"
placeholder=
"这里输入昵称"
title=
"昵称"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
性别:
</td>
<td><input
type=
"number"
name=
"GENDER"
id=
"GENDER"
value=
"${pd.gender}"
maxlength=
"32"
placeholder=
"这里输入性别"
title=
"性别"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
手机号:
</td>
<td><input
type=
"text"
name=
"MOBILE"
id=
"MOBILE"
value=
"${pd.mobile}"
maxlength=
"11"
placeholder=
"这里输入手机号"
title=
"手机号"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
真实名字:
</td>
<td><input
type=
"text"
name=
"NAME"
id=
"NAME"
value=
"${pd.name}"
maxlength=
"50"
placeholder=
"这里输入名称"
title=
"名称"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
身份证:
</td>
<td><input
type=
"text"
name=
"ID_CARD"
id=
"ID_CARD"
value=
"${pd.id_card}"
maxlength=
"50"
placeholder=
"这里输入身份证"
title=
"身份证"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
生日:
</td>
<td><input
type=
"text"
name=
"BIRTHDAY"
id=
"BIRTHDAY"
value=
"${pd.birthday}"
maxlength=
"30"
placeholder=
"这里输入生日"
title=
"生日"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
创建的时间:
</td>
<td><input
type=
"text"
name=
"CREATE_TIME"
id=
"CREATE_TIME"
value=
"${pd.create_time}"
maxlength=
"50"
placeholder=
"这里输入创建的时间"
title=
"创建的时间"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"text-align: center;"
colspan=
"10"
>
<a
class=
"btn btn-mini btn-primary"
onclick=
"save();"
>
保存
</a>
<a
class=
"btn btn-mini btn-danger"
onclick=
"top.Dialog.close();"
>
取消
</a>
</td>
</tr>
</table>
</div>
<div
id=
"zhongxin2"
class=
"center"
style=
"display:none"
><br/><br/><br/><br/><br/><img
src=
"static/images/jiazai.gif"
/><br/><h4
class=
"lighter block green"
>
提交中...
</h4></div>
</form>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.page-content -->
</div>
</div>
<!-- /.main-content -->
</div>
<!-- /.main-container -->
<!-- 页面底部js¨ -->
<%@ include
file=
"../../system/index/foot.jsp"
%>
<!-- 下拉框 -->
<script
src=
"static/ace/js/chosen.jquery.js"
></script>
<!-- 日期框 -->
<script
src=
"static/ace/js/date-time/bootstrap-datepicker.js"
></script>
<!--提示框-->
<script
type=
"text/javascript"
src=
"static/js/jquery.tips.js"
></script>
<script
type=
"text/javascript"
>
$
(
top
.
hangge
());
//保存
function
save
(){
if
(
$
(
"#GENDER"
).
val
()
==
""
){
$
(
"#GENDER"
).
tips
({
side
:
3
,
msg
:
'请输入性别'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#GENDER"
).
focus
();
return
false
;
}
if
(
$
(
"#MOBILE"
).
val
()
==
""
){
$
(
"#MOBILE"
).
tips
({
side
:
3
,
msg
:
'请输入手机号'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#MOBILE"
).
focus
();
return
false
;
}
if
(
$
(
"#OPENID"
).
val
()
==
""
){
$
(
"#OPENID"
).
tips
({
side
:
3
,
msg
:
'请输入用户openID'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#OPENID"
).
focus
();
return
false
;
}
if
(
$
(
"#NAME"
).
val
()
==
""
){
$
(
"#NAME"
).
tips
({
side
:
3
,
msg
:
'请输入名称'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#NAME"
).
focus
();
return
false
;
}
if
(
$
(
"#ID_CARD"
).
val
()
==
""
){
$
(
"#ID_CARD"
).
tips
({
side
:
3
,
msg
:
'请输入身份证'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#ID_CARD"
).
focus
();
return
false
;
}
if
(
$
(
"#BIRTHDAY"
).
val
()
==
""
){
$
(
"#BIRTHDAY"
).
tips
({
side
:
3
,
msg
:
'请输入生日'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#BIRTHDAY"
).
focus
();
return
false
;
}
if
(
$
(
"#HEADPORTRAIT"
).
val
()
==
""
){
$
(
"#HEADPORTRAIT"
).
tips
({
side
:
3
,
msg
:
'请输入头像'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#HEADPORTRAIT"
).
focus
();
return
false
;
}
if
(
$
(
"#NICKNAME"
).
val
()
==
""
){
$
(
"#NICKNAME"
).
tips
({
side
:
3
,
msg
:
'请输入昵称'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#NICKNAME"
).
focus
();
return
false
;
}
if
(
$
(
"#CREATE_TIME"
).
val
()
==
""
){
$
(
"#CREATE_TIME"
).
tips
({
side
:
3
,
msg
:
'请输入创建的时间'
,
bg
:
'#AE81FF'
,
time
:
2
});
$
(
"#CREATE_TIME"
).
focus
();
return
false
;
}
$
(
"#Form"
).
submit
();
$
(
"#zhongxin"
).
hide
();
$
(
"#zhongxin2"
).
show
();
}
$
(
function
()
{
//日期框
$
(
'.date-picker'
).
datepicker
({
autoclose
:
true
,
todayHighlight
:
true
});
});
</script>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/tongmeng/appuser/appuser_list.jsp
deleted
100644 → 0
浏览文件 @
92cdad7f
<%@ page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%>
<%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%>
<%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()
+
"://"
+
request
.
getServerName
()
+
":"
+
request
.
getServerPort
()
+
path
+
"/"
;
%>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<!-- 下拉框 -->
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/chosen.css"
/>
<!-- jsp文件头和头部 -->
<%@ include
file=
"../../system/index/top.jsp"
%>
<!-- 日期框 -->
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/datepicker.css"
/>
</head>
<body
class=
"no-skin"
>
<!-- /section:basics/navbar.layout -->
<div
class=
"main-container"
id=
"main-container"
>
<!-- /section:basics/sidebar -->
<div
class=
"main-content"
>
<div
class=
"main-content-inner"
>
<div
class=
"page-content"
>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<!-- 检索 -->
<form
action=
"list.do"
method=
"post"
name=
"Form"
id=
"Form"
>
<table
style=
"margin-top:5px;"
>
<tr>
<td>
<div
class=
"nav-search"
>
<span
class=
"input-icon"
>
<input
type=
"text"
placeholder=
"手机号/昵称"
class=
"nav-search-input"
id=
"nav-search-input"
autocomplete=
"off"
name=
"keywords"
value=
"${pd.keywords }"
/>
<i
class=
"ace-icon fa fa-search nav-search-icon"
></i>
</span>
</div>
</td>
<td
style=
"padding-left:2px;"
><input
class=
"span10 date-picker"
name=
"lastStart"
id=
"lastStart"
value=
"${pd.lastStart }"
type=
"text"
data-date-format=
"yyyy-mm-dd"
readonly=
"readonly"
style=
"width:88px;"
placeholder=
"开始日期"
title=
"开始日期"
/></td>
<td
style=
"padding-left:2px;"
><input
class=
"span10 date-picker"
name=
"lastEnd"
name=
"lastEnd"
value=
"${pd.lastStart }"
type=
"text"
data-date-format=
"yyyy-mm-dd"
readonly=
"readonly"
style=
"width:88px;"
placeholder=
"结束日期"
title=
"结束日期"
/></td>
<!--
<td style="vertical-align:top;padding-left:2px;">
<select class="chosen-select form-control" name="name" id="id" data-placeholder="请选择" style="vertical-align:top;width: 120px;">
<option value=""></option>
<option value="">全部</option>
<option value="">1</option>
<option value="">2</option>
</select>
</td>
-->
<c:if
test=
"
${
QX
.
cha
==
1
}
"
>
<td
style=
"vertical-align:top;padding-left:2px"
><a
class=
"btn btn-light btn-xs"
onclick=
"tosearch();"
title=
"检索"
><i
id=
"nav-search-icon"
class=
"ace-icon fa fa-search bigger-110 nav-search-icon blue"
></i></a></td>
</c:if>
<c:if
test=
"
${
QX
.
toExcel
==
1
}
"
><td
style=
"vertical-align:top;padding-left:2px;"
><a
class=
"btn btn-light btn-xs"
onclick=
"toExcel();"
title=
"导出到EXCEL"
><i
id=
"nav-search-icon"
class=
"ace-icon fa fa-download bigger-110 nav-search-icon blue"
></i>
导出数据
</a></td></c:if>
<td
style=
"padding-left: 20px"
>
统计时间:
</td>
<td>
<select
id =
"excelTime"
>
<option
value =
"1"
>
昨天
</option
>
<option
value =
"7"
>
最近7天
</option
>
<option
value =
"30"
>
最近30天
</option
>
</select
>
</td>
<td
style=
"padding-left: 20px"
>
用户统计:
</td>
<td>
<select
id =
"excelType"
>
<option
value =
"visit_uv_new"
>
新增用户数
</option
>
<option
value =
"visit_uv"
>
活跃用户数
</option
>
</select
>
</td>
<td><a
class=
"btn btn-light btn-xs"
onclick=
"provinceExcel();"
title=
"导出到EXCEL"
><i
id=
"nav-search-icon"
class=
"ace-icon fa fa-download bigger-110 nav-search-icon blue"
></i></a></td>
<td
style=
"padding-left: 20px"
>
地区统计:
</td>
<td
>
<select
id =
"excelCity"
>
<c:forEach
items=
"
${
provinceList
}
"
var=
"province"
>
<c:if
test=
"
${
province
.
id
==
0
}
"
>
<option
value =
"${province.id}"
>
全国
</option
>
</c:if>
<c:if
test=
"
${
province
.
id
!=
0
}
"
>
<option
value =
"${province.id}"
>
${province.name}
</option
>
</c:if>
</c:forEach>
</select>
</td>
<td><a
class=
"btn btn-light btn-xs"
onclick=
"cityExcel();"
title=
"导出到EXCEL"
><i
id=
"nav-search-icon"
class=
"ace-icon fa fa-download bigger-110 nav-search-icon blue"
></i></a></td>
</tr>
</table>
<!-- 检索 -->
<table
id=
"simple-table"
class=
"table table-striped table-bordered table-hover"
style=
"margin-top:5px;"
>
<thead>
<tr>
<th
class=
"center"
style=
"width:35px;"
>
<label
class=
"pos-rel"
><input
type=
"checkbox"
class=
"ace"
id=
"zcheckbox"
/><span
class=
"lbl"
></span></label>
</th>
<th
class=
"center"
style=
"width:50px;"
>
序号
</th>
<th
class=
"center"
>
头像
</th>
<th
class=
"center"
>
昵称
</th>
<th
class=
"center"
>
性别
</th>
<th
class=
"center"
>
手机号
</th>
<%--<th class="center">用户openID</th>--%>
<th
class=
"center"
>
名称
</th>
<th
class=
"center"
>
身份证
</th>
<%-- <th class="center">生日</th>--%>
<th
class=
"center"
>
最近登录地址
</th>
<th
class=
"center"
>
创建的时间
</th>
<th
class=
"center"
>
操作
</th>
</tr>
</thead>
<tbody>
<!-- 开始循环 -->
<c:choose>
<c:when
test=
"
${
not
empty
varList
}
"
>
<c:if
test=
"
${
QX
.
cha
==
1
}
"
>
<c:forEach
items=
"
${
varList
}
"
var=
"var"
varStatus=
"vs"
>
<tr>
<td
class=
'center'
>
<label
class=
"pos-rel"
><input
type=
'checkbox'
name=
'ids'
value=
"${var.openid}"
class=
"ace"
/><span
class=
"lbl"
></span></label>
</td>
<td
class=
'center'
style=
"width: 30px;"
>
${vs.index+1}
</td>
<td
class=
'center'
><img
src=
"${var.headportrait}"
style=
"height:50px"
></td>
<td
class=
'center'
>
${var.nickname}
</td>
<td
class=
'center'
>
<c:choose>
<c:when
test=
"
${
empty
var
.
gender
}
"
>
未知
</c:when>
<c:when
test=
"
${
var
.
gender
==
'1'
}
"
>
男
</c:when>
<c:when
test=
"
${
var
.
gender
==
'2'
}
"
>
女
</c:when>
<c:otherwise>
未知
</c:otherwise>
</c:choose>
</td>
<td
class=
'center'
>
${var.mobile}
</td>
<%-- <td class='center'>${var.openid}</td>--%>
<td
class=
'center'
>
${var.name}
</td>
<td
class=
'center'
>
${var.id_card}
</td>
<td
class=
'center'
>
${var.loginAddrss}
</td>
<%--<td class='center'>${var.birthday}</td>--%>
<td
class=
'center'
><fmt:formatDate
value=
"
${
var
.
create_time
}
"
pattern=
"yyyy-MM-dd"
/>
</td>
<td
class=
"center"
>
<!--
<c:if
test=
"
${
QX
.
edit
!=
1
&&
QX
.
del
!=
1
}
"
>
<span class="label label-large label-grey arrowed-in-right arrowed-in"><i class="ace-icon fa fa-lock" title="无权限"></i></span>
</c:if>
-->
<div
class=
"hidden-sm hidden-xs btn-group"
>
<%--
<c:if test="${QX.edit == 1 }">
<a class="btn btn-xs btn-success" title="编辑" onclick="edit('${var.openid}');">
<i class="ace-icon fa fa-pencil-square-o bigger-120" title="编辑"></i>
</a>
</c:if> --%>
<c:if
test=
"
${
QX
.
del
==
1
}
"
>
<a
class=
"btn btn-xs btn-danger"
onclick=
"del('${var.openid}');"
>
<i
class=
"ace-icon fa fa-trash-o bigger-120"
title=
"删除"
></i>
</a>
</c:if>
</div>
<div
class=
"hidden-md hidden-lg"
>
<div
class=
"inline pos-rel"
>
<button
class=
"btn btn-minier btn-primary dropdown-toggle"
data-toggle=
"dropdown"
data-position=
"auto"
>
<i
class=
"ace-icon fa fa-cog icon-only bigger-110"
></i>
</button>
<ul
class=
"dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close"
>
<c:if
test=
"
${
QX
.
edit
==
1
}
"
>
<li>
<a
style=
"cursor:pointer;"
onclick=
"edit('${var.openid}');"
class=
"tooltip-success"
data-rel=
"tooltip"
title=
"修改"
>
<span
class=
"green"
>
<i
class=
"ace-icon fa fa-pencil-square-o bigger-120"
></i>
</span>
</a>
</li>
</c:if>
<c:if
test=
"
${
QX
.
del
==
1
}
"
>
<li>
<a
style=
"cursor:pointer;"
onclick=
"del('${var.openid}');"
class=
"tooltip-error"
data-rel=
"tooltip"
title=
"删除"
>
<span
class=
"red"
>
<i
class=
"ace-icon fa fa-trash-o bigger-120"
></i>
</span>
</a>
</li>
</c:if>
</ul>
</div>
</div>
</td>
</tr>
</c:forEach>
</c:if>
<c:if
test=
"
${
QX
.
cha
==
0
}
"
>
<tr>
<td
colspan=
"100"
class=
"center"
>
您无权查看
</td>
</tr>
</c:if>
</c:when>
<c:otherwise>
<tr
class=
"main_info"
>
<td
colspan=
"100"
class=
"center"
>
没有相关数据
</td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
<div
class=
"page-header position-relative"
>
<table
style=
"width:100%;"
>
<tr>
<td
style=
"vertical-align:top;"
>
<%-- <c:if test="${QX.add == 1 }">
<a class="btn btn-mini btn-success" onclick="add();">新增</a>
</c:if>
<c:if test="${QX.del == 1 }">
<a class="btn btn-mini btn-danger" onclick="makeAll('确定要删除选中的数据吗?');" title="批量删除" ><i class='ace-icon fa fa-trash-o bigger-120'></i></a>
</c:if>--%>
</td>
<td
style=
"vertical-align:top;"
><div
class=
"pagination"
style=
"float: right;padding-top: 0px;margin-top: 0px;"
>
${page.pageStr}
</div></td>
</tr>
</table>
</div>
</form>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.page-content -->
</div>
</div>
<!-- /.main-content -->
<!-- 返回顶部 -->
<a
href=
"#"
id=
"btn-scroll-up"
class=
"btn-scroll-up btn btn-sm btn-inverse"
>
<i
class=
"ace-icon fa fa-angle-double-up icon-only bigger-110"
></i>
</a>
</div>
<!-- /.main-container -->
<!-- basic scripts -->
<!-- 页面底部js¨ -->
<%@ include
file=
"../../system/index/foot.jsp"
%>
<!-- 删除时确认窗口 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/bootbox.js"
></script>
<!-- ace scripts -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/ace/ace.js"
></script>
<!-- 下拉框 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/chosen.jquery.js"
></script>
<!-- 日期框 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/date-time/bootstrap-datepicker.js"
></script>
<!--提示框-->
<script
type=
"text/javascript"
src=
"${pageContext.request.contextPath}/static/js/jquery.tips.js"
></script>
<script
type=
"text/javascript"
>
$
(
top
.
hangge
());
//关闭加载状态
//检索
function
tosearch
(){
top
.
jzts
();
$
(
"#Form"
).
submit
();
}
$
(
function
()
{
//日期框
$
(
'.date-picker'
).
datepicker
({
autoclose
:
true
,
todayHighlight
:
true
,
clearBtn
:
true
});
//下拉框
if
(
!
ace
.
vars
[
'touch'
])
{
$
(
'.chosen-select'
).
chosen
({
allow_single_deselect
:
true
});
$
(
window
)
.
off
(
'resize.chosen'
)
.
on
(
'resize.chosen'
,
function
()
{
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()});
});
}).
trigger
(
'resize.chosen'
);
$
(
document
).
on
(
'settings.ace.chosen'
,
function
(
e
,
event_name
,
event_val
)
{
if
(
event_name
!=
'sidebar_collapsed'
)
return
;
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()});
});
});
$
(
'#chosen-multiple-style .btn'
).
on
(
'click'
,
function
(
e
){
var
target
=
$
(
this
).
find
(
'input[type=radio]'
);
var
which
=
parseInt
(
target
.
val
());
if
(
which
==
2
)
$
(
'#form-field-select-4'
).
addClass
(
'tag-input-style'
);
else
$
(
'#form-field-select-4'
).
removeClass
(
'tag-input-style'
);
});
}
//复选框全选控制
var
active_class
=
'active'
;
$
(
'#simple-table > thead > tr > th input[type=checkbox]'
).
eq
(
0
).
on
(
'click'
,
function
(){
var
th_checked
=
this
.
checked
;
//checkbox inside "TH" table header
$
(
this
).
closest
(
'table'
).
find
(
'tbody > tr'
).
each
(
function
(){
var
row
=
this
;
if
(
th_checked
)
$
(
row
).
addClass
(
active_class
).
find
(
'input[type=checkbox]'
).
eq
(
0
).
prop
(
'checked'
,
true
);
else
$
(
row
).
removeClass
(
active_class
).
find
(
'input[type=checkbox]'
).
eq
(
0
).
prop
(
'checked'
,
false
);
});
});
});
//新增
function
add
(){
top
.
jzts
();
var
diag
=
new
top
.
Dialog
();
diag
.
Drag
=
true
;
diag
.
Title
=
"新增"
;
diag
.
URL
=
'${pageContext.request.contextPath}/vehicleUser/goAdd.do'
;
diag
.
Width
=
900
;
diag
.
Height
=
710
;
diag
.
Modal
=
true
;
//有无遮罩窗口
diag
.
ShowMaxButton
=
true
;
//最大化按钮
diag
.
ShowMinButton
=
true
;
//最小化按钮
diag
.
CancelEvent
=
function
(){
//关闭事件
if
(
diag
.
innerFrame
.
contentWindow
.
document
.
getElementById
(
'zhongxin'
).
style
.
display
==
'none'
){
if
(
'${page.currentPage}'
==
'0'
){
tosearch
();
}
else
{
nextPage
(
$
{
page
.
totalPage
});
}
}
diag
.
close
();
};
diag
.
show
();
}
//删除
function
del
(
Id
){
bootbox
.
confirm
(
"确定要删除吗?"
,
function
(
result
)
{
if
(
result
)
{
top
.
jzts
();
var
url
=
"${pageContext.request.contextPath}/vehicleUser/delete.do?openid="
+
Id
+
"&tm="
+
new
Date
().
getTime
();
$
.
get
(
url
,
function
(
data
){
nextPage
(
$
{
page
.
currentPage
});
});
}
});
}
//修改
function
edit
(
Id
){
top
.
jzts
();
var
diag
=
new
top
.
Dialog
();
diag
.
Drag
=
true
;
diag
.
Title
=
"编辑"
;
diag
.
URL
=
'${pageContext.request.contextPath}/vehicleUser/goEdit.do?openid='
+
Id
;
diag
.
Width
=
900
;
diag
.
Height
=
710
;
diag
.
Modal
=
true
;
//有无遮罩窗口
diag
.
ShowMaxButton
=
true
;
//最大化按钮
diag
.
ShowMinButton
=
true
;
//最小化按钮
diag
.
CancelEvent
=
function
(){
//关闭事件
if
(
diag
.
innerFrame
.
contentWindow
.
document
.
getElementById
(
'zhongxin'
).
style
.
display
==
'none'
){
nextPage
(
$
{
page
.
currentPage
});
}
diag
.
close
();
};
diag
.
show
();
}
//批量操作
function
makeAll
(
msg
){
bootbox
.
confirm
(
msg
,
function
(
result
)
{
if
(
result
)
{
var
str
=
''
;
for
(
var
i
=
0
;
i
<
document
.
getElementsByName
(
'ids'
).
length
;
i
++
){
if
(
document
.
getElementsByName
(
'ids'
)[
i
].
checked
){
if
(
str
==
''
)
str
+=
document
.
getElementsByName
(
'ids'
)[
i
].
value
;
else
str
+=
','
+
document
.
getElementsByName
(
'ids'
)[
i
].
value
;
}
}
if
(
str
==
''
){
bootbox
.
dialog
({
message
:
"<span class='bigger-110'>您没有选择任何内容!</span>"
,
buttons
:
{
"button"
:{
"label"
:
"确定"
,
"className"
:
"btn-sm btn-success"
}}
});
$
(
"#zcheckbox"
).
tips
({
side
:
1
,
msg
:
'点这里全选'
,
bg
:
'#AE81FF'
,
time
:
8
});
return
;
}
else
{
if
(
msg
==
'确定要删除选中的数据吗?'
){
top
.
jzts
();
$
.
ajax
({
type
:
"POST"
,
url
:
'${pageContext.request.contextPath}/vehicleUser/deleteAll.do?tm='
+
new
Date
().
getTime
(),
data
:
{
DATA_IDS
:
str
},
dataType
:
'json'
,
//beforeSend: validateData,
cache
:
false
,
success
:
function
(
data
){
$
.
each
(
data
.
list
,
function
(
i
,
list
){
tosearch
();
});
}
});
}
}
}
});
};
//导出excel
function
toExcel
(){
window
.
location
.
href
=
'${pageContext.request.contextPath}/vehicleUser/excel.do'
;
};
//导出省
function
provinceExcel
(){
var
excelType
=
$
(
"#excelType option:selected"
).
val
();
var
excelTime
=
$
(
"#excelTime option:selected"
).
val
();
// alert(excelType+" " +excelTime);
window
.
location
.
href
=
'${pageContext.request.contextPath}/vehicleUser/visit_uv_new_excel.do?excelType='
+
excelType
+
'&excelTime='
+
excelTime
+
'&tm='
+
new
Date
().
getTime
();
};
//导出市
function
cityExcel
(){
var
excelType
=
$
(
"#excelType option:selected"
).
val
();
var
excelTime
=
$
(
"#excelTime option:selected"
).
val
();
var
excelCity
=
$
(
"#excelCity option:selected"
).
val
();
$
(
"#province"
)
window
.
location
.
href
=
'${pageContext.request.contextPath}/vehicleUser/visit_uv_excel.do?excelType='
+
excelType
+
'&excelCityID='
+
excelCity
+
'&tm='
+
new
Date
().
getTime
()
+
'&excelTime='
+
excelTime
;
};
</script>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/tongmeng/banner/banner_edit_url.jsp
deleted
100644 → 0
浏览文件 @
92cdad7f
<%@ page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%>
<%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%>
<%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<%@ taglib
prefix=
"fn"
uri=
"http://java.sun.com/jsp/jstl/functions"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()+
"://"
+
request
.
getServerName
()+
":"
+
request
.
getServerPort
()+
path
+
"/"
;
%>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<!-- 下拉框 -->
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/chosen.css"
/>
<!-- jsp文件头和头部 -->
<%@ include
file=
"../../system/index/top.jsp"
%>
<!-- 日期框 -->
<%-- <link rel="stylesheet" href="${pageContext.request.contextPath}/static/ace/css/datepicker.css" /> --%>
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/fun/bootstrap-datetimepicker.min.css"
/>
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/chosen.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${pageContext.request.contextPath}/static/fun/css/base.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${pageContext.request.contextPath}/static/fun/css/home.css"
>
<!-- jsp文件头和头部 -->
<%@ include
file=
"../../system/index/top.jsp"
%>
<%-- <script type="text/javascript" src="${pageContext.request.contextPath}/static/fun/js/jquery.min.js"></script> --%>
<script
type=
"text/javascript"
src=
"${pageContext.request.contextPath}/static/fun/js/up.js"
></script>
</head>
<body
class=
"no-skin"
>
<!-- /section:basics/navbar.layout -->
<div
class=
"main-container"
id=
"main-container"
>
<!-- /section:basics/sidebar -->
<div
class=
"main-content"
>
<div
class=
"main-content-inner"
>
<div
class=
"page-content"
>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<section
class=
"aui-content"
>
<div
id=
"zhongxin"
style=
"padding-top: 13px;"
>
<div
style=
"height:20px;"
></div>
<div
class=
"aui-content-up"
>
<form
action=
"${msg }.do"
name=
"Form"
id=
"Form"
method=
"post"
enctype=
"multipart/form-data"
>
<!-- <div class="aui-content-up-form">
<h2>开户资质</h2>
</div> -->
<input
type=
"hidden"
name=
"banner_id"
id=
"banner_id"
value=
"${pd.banner_id}"
/>
<!-- <input type="hidden" name="URLJSON" id="urljson" /> -->
<input
type=
"hidden"
name=
"type"
id=
"type"
value=
"${pd.type }"
/>
<div
class=
"aui-form-group clear"
>
<label
class=
"aui-label-control"
>
是否启用
<em>
*
</em>
</label>
<div
class=
"aui-form-input"
>
<select
class=
"chosen-select form-control"
name=
"is_satart_up"
id=
"is_satart_up"
data-placeholder=
"请选择"
style=
"vertical-align:top;width: 120px;"
>
<option
value=
"1"
${
pd
.
is_satart_up=
=1?'selected':''
}
>
启用
</option>
<option
value=
"0"
${
pd
.
is_satart_up=
=0?'selected':''
}
>
禁用
</option>
</select>
</div>
</div>
<div
class=
"aui-form-group clear"
>
<label
class=
"aui-label-control"
>
封面
<em>
*
</em>
<span>
小于2M
</span>
</label>
<div
class=
"aui-form-input"
>
<div
class=
"aui-content-img-box aui-content-full"
>
<div
class=
"aui-photo aui-up-img clear"
>
<input
type=
"hidden"
value=
"${pd.icom}"
id=
"icom"
name=
"icom"
>
<img
alt=
""
id=
"image111"
src=
"${pd.icom}"
style=
"width: 130px;height: 110px;"
>
<input
id=
"file"
type=
"file"
name=
"file"
onchange=
"uploadLogo();"
style=
"position: absolute; filter: alpha(opacity = 0); opacity: 0; width: 30px;"
accept=
"image/jpg,image/jpeg,image/png,image/bmp"
>
<a
class=
"btn btn-mini"
onclick=
"chooseImage()"
>
请选择
</a>
(图片比例100:48)
</div>
</div>
</div>
</div>
</form>
</div>
<div
class=
"aui-btn-default"
>
<button
class=
"aui-btn aui-btn-account"
style=
"margin-left:30%"
onclick=
"sumitForm()"
>
上架
</button>
<button
class=
"aui-btn aui-btn-account"
onclick=
"top.Dialog.close();"
>
取消
</button>
</div>
</section>
<!-- mask begin -->
<div
class=
"aui-mask aui-works-mask"
>
<div
class=
"aui-mask-content"
>
<p
class=
"aui-delete-text"
>
确定要删除你上传的资料?
</p>
<p
class=
"aui-check-text"
>
<span
class=
"aui-delete aui-accept-ok"
onclick=
"sumintOk()"
id=
"sumintOk"
>
确定
</span>
<span
class=
"aui-accept-no"
>
取消
</span>
</p>
</div>
</div>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.page-content -->
</div>
</div>
<!-- /.main-content -->
</div>
<!-- /.main-container -->
<%@ include
file=
"../../system/index/foot.jsp"
%>
<!-- 下拉框 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/chosen.jquery.js"
></script>
<!-- 日期框 -->
<%-- <script src="${pageContext.request.contextPath}/static/ace/js/date-time/bootstrap-datepicker.js"></script>
--%>
<script
src=
"${pageContext.request.contextPath}/static/fun/bootstrap-datetimepicker.js"
></script>
<script
src=
"${pageContext.request.contextPath}/static/fun/bootstrap-datetimepicker.zh-CN.js"
></script>
<!--提示框-->
<script
type=
"text/javascript"
src=
"${pageContext.request.contextPath}/static/js/jquery.tips.js"
></script>
<script
type=
"text/javascript"
>
$
(
top
.
hangge
());
var
urlCount
=
0
;
var
arr
=
{};
/* $(function(){
if(${msg=='edit'}){
var urlJsonStr = '${pd.URLJSON}';
var urlJson = JSON.parse(urlJsonStr);
for(var i = 1; i <= urlJson.length; i++){
addImgUrlDiv();
$("#img_"+i).attr("src", urlJson[i-1].key);
$("#filePath_"+i).val(urlJson[i-1].key);
$("#url_"+i).val(urlJson[i-1].val);
}
}
}); */
$
(
function
()
{
$
(
".date-picker"
).
datetimepicker
({
language
:
"zh-CN"
,
format
:
'yyyy-mm-dd hh:ii'
,
autoclose
:
true
,
clearBtn
:
true
//添加清除按钮,可选值:true/false
});
//日期框
/* $('.date-picker').datepicker({
autoclose: true,
todayHighlight: true,
clearBtn:true
}); */
//下拉框
if
(
!
ace
.
vars
[
'touch'
])
{
$
(
'.chosen-select'
).
chosen
({
allow_single_deselect
:
true
});
$
(
window
).
off
(
'resize.chosen'
).
on
(
'resize.chosen'
,
function
()
{
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()
});
});
}).
trigger
(
'resize.chosen'
);
$
(
document
).
on
(
'settings.ace.chosen'
,
function
(
e
,
event_name
,
event_val
)
{
if
(
event_name
!=
'sidebar_collapsed'
)
return
;
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()
});
});
});
$
(
'#chosen-multiple-style .btn'
).
on
(
'click'
,
function
(
e
)
{
var
target
=
$
(
this
).
find
(
'input[type=radio]'
);
var
which
=
parseInt
(
target
.
val
());
if
(
which
==
2
)
$
(
'#form-field-select-4'
).
addClass
(
'tag-input-style'
);
else
$
(
'#form-field-select-4'
).
removeClass
(
'tag-input-style'
);
});
}
//复选框全选控制
});
//保存
function
sumitForm
()
{
if
(
$
(
"#file"
).
val
()
==
""
&&
"${pd.icom}"
==
""
){
$
(
"#file"
).
tips
({
side
:
3
,
msg
:
"图标不能为空! "
,
bg
:
'#AE81FF'
,
time
:
3
});
return
false
;
}
$
(
"#Form"
).
submit
();
}
/***************************处理图片显示和逻辑************************************/
function
changImg
(
thiss
){
var
index
=
$
(
thiss
).
attr
(
"class"
);
var
subIndex
=
index
.
substring
(
index
.
lastIndexOf
(
'_'
)
+
1
,
index
.
length
);
var
objUrl
=
getObjectURL
(
thiss
.
files
[
0
]);
var
formData
=
new
FormData
();
formData
.
append
(
"file"
,
thiss
.
files
[
0
]);
//加入文件对象
$
.
ajax
({
type
:
'post'
,
url
:
"${pageContext.request.contextPath}/api/file/upload?uploadUrl=index"
,
data
:
formData
,
cache
:
false
,
processData
:
false
,
contentType
:
false
,
}).
success
(
function
(
data
)
{
$
(
"#filePath_"
+
subIndex
).
val
(
data
.
data
);
}).
error
(
function
()
{
alert
(
"上传失败"
);
});
console
.
log
(
"objUrl = "
+
objUrl
)
;
if
(
objUrl
)
{
$
(
thiss
).
parent
(
"div"
).
parent
(
"div"
).
find
(
"#img_"
+
subIndex
).
attr
(
"src"
,
objUrl
);
}
}
//建立一個可存取到該file的url
function
getObjectURL
(
file
)
{
var
url
=
null
;
if
(
window
.
createObjectURL
!=
undefined
)
{
// basic
url
=
window
.
createObjectURL
(
file
)
;
}
else
if
(
window
.
URL
!=
undefined
)
{
// mozilla(firefox)
url
=
window
.
URL
.
createObjectURL
(
file
)
;
}
else
if
(
window
.
webkitURL
!=
undefined
)
{
// webkit or chrome
url
=
window
.
webkitURL
.
createObjectURL
(
file
)
;
}
return
url
;
}
//图单图片 js start
function
chooseImage
()
{
$
(
"#file"
).
click
();
}
function
uploadLogo
()
{
var
file
=
document
.
getElementById
(
"file"
).
files
[
0
];
if
(
!
checkPic
(
file
)){
return
false
;
}
/* var logo_url = uploadFile(file); */
var
logo_url
=
getObjectURL
(
file
);
$
(
'#image111'
).
attr
(
'src'
,
logo_url
);
$
(
'#icom'
).
val
(
logo_url
);
}
function
checkPic
(
file
){
var
fileName
=
file
.
name
.
toLowerCase
().
split
(
'.'
).
splice
(
-
1
);
var
fileSize
=
file
.
size
;
if
(
"png-jpg-gif-jpeg"
.
indexOf
(
fileName
)
<
0
){
alert
(
"只能上传png-jpg-gif-jpeg格式的图片"
);
return
false
;
}
if
(
fileSize
>
2
*
1024
*
1024
){
alert
(
"图片不能超过2M"
);
return
false
;
}
return
true
;
}
//图js start
</script>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/tongmeng/banner/information.jsp
deleted
100644 → 0
浏览文件 @
92cdad7f
<%@ page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%>
<%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%>
<%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()
+
"://"
+
request
.
getServerName
()
+
":"
+
request
.
getServerPort
()
+
path
+
"/"
;
%>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/chosen.css"
/>
<!-- jsp文件头和头部 -->
<%@ include
file=
"../../system/index/top.jsp"
%>
<!-- 日期框 -->
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/datepicker.css"
/>
</head>
<style
type=
"text/css"
>
.csshidden
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
max-width
:
300px
}
;
</style>
<body
class=
"no-skin"
>
<!-- /section:basics/navbar.layout -->
<div
class=
"main-container"
id=
"main-container"
>
<!-- /section:basics/sidebar -->
<div
class=
"main-content"
>
<div
class=
"main-content-inner"
>
<div
class=
"page-content"
>
<div
class=
"col-xs-12"
>
<!-- 检索 -->
<form
action=
"${pageContext.request.contextPath}/banner/foruminfoList.do'"
method=
"post"
name=
"Form"
id=
"Form"
>
<table
style=
"margin-top:5px;"
id=
"zhongxin"
>
<input
type=
"hidden"
name=
"TYPE"
value=
"${pd.TYPE}"
/>
<table
style=
"margin-top:5px;"
>
<tr>
<td>
<div
class=
"nav-search"
>
<span
class=
"input-icon"
>
<input
type=
"text"
placeholder=
"编码号/资讯标题"
class=
"nav-search-input"
id=
"nav-search-input"
autocomplete=
"off"
name=
"keywords"
value=
"${pd.keywords }"
"
/>
<i
class=
"ace-icon fa fa-search nav-search-icon"
></i>
</span>
</div>
</td>
<td
style=
"padding-left:2px;"
><input
class=
"span10 date-picker"
name=
"lastStart"
id=
"lastStart"
value=
""
type=
"text"
data-date-format=
"yyyy-mm-dd"
readonly=
"readonly"
style=
"width:88px;"
placeholder=
"开始日期"
title=
"开始日期"
/></td>
<td
style=
"padding-left:2px;"
><input
class=
"span10 date-picker"
name=
"lastEnd"
name=
"lastEnd"
value=
""
type=
"text"
data-date-format=
"yyyy-mm-dd"
readonly=
"readonly"
style=
"width:88px;"
placeholder=
"结束日期"
title=
"结束日期"
/></td>
<!-- <td style="vertical-align:top;padding-left:2px;">
<select class="chosen-select form-control" name="name" id="id" data-placeholder="请选择" style="vertical-align:top;width: 120px;">
<option value=""></option>
<option value="">全部</option>
<option value="">1</option>
<option value="">2</option>
</select>
</td> -->
<c:if
test=
"
${
QX
.
cha
==
1
}
"
>
<td
style=
"vertical-align:top;padding-left:2px"
><a
class=
"btn btn-light btn-xs"
onclick=
"tosearch();"
title=
"检索"
><i
id=
"nav-search-icon"
class=
"ace-icon fa fa-search bigger-110 nav-search-icon blue"
></i></a></td>
</c:if>
<c:if
test=
"
${
QX
.
toExcel
==
1
}
"
><td
style=
"vertical-align:top;padding-left:2px;"
><a
class=
"btn btn-light btn-xs"
onclick=
"toExcel();"
title=
"导出到EXCEL"
><i
id=
"nav-search-icon"
class=
"ace-icon fa fa-download bigger-110 nav-search-icon blue"
></i></a></td></c:if>
</tr>
</table>
<!-- 检索 -->
<table
id=
"simple-table"
class=
"table table-striped table-bordered table-hover"
style=
"margin-top:5px;"
>
<thead>
<tr>
<th
class=
"center"
style=
"width:35px;"
>
<label
class=
"pos-rel"
><input
type=
"checkbox"
class=
"ace"
id=
"zcheckbox"
/><span
class=
"lbl"
></span></label>
</th>
<th
class=
"center"
style=
"width:50px;"
>
序号
</th>
<th
class=
"center"
>
编码号
</th>
<th
class=
"center"
>
资讯标题
</th>
<th
class=
"center"
>
资讯封图
</th>
<th
class=
"center"
>
创建时间
</th>
<th
class=
"center"
>
操作
</th>
</tr>
</thead>
<tbody>
<!-- 开始循环 -->
<c:choose>
<c:when
test=
"
${
not
empty
varList
}
"
>
<c:if
test=
"
${
QX
.
cha
==
1
}
"
>
<c:forEach
items=
"
${
varList
}
"
var=
"var"
varStatus=
"vs"
>
<tr>
<td
class=
'center'
>
<label
class=
"pos-rel"
><input
type=
'checkbox'
name=
'ids'
value=
"${var.information_id}"
class=
"ace"
/><span
class=
"lbl"
></span></label>
</td>
<td
class=
'center'
style=
"width: 30px;"
>
${vs.index+1}
</td>
<td
class=
'center'
>
${var.show_id}
</td>
<td
class=
'center'
>
${var.title}
</td>
<td
class=
'center'
><img
src=
"${var.icom}"
style=
"width: 50px"
/></td>
<td
class=
'center'
>
${var.create_time}
</td>
<td
class=
"center"
>
<div
class=
"hidden-sm hidden-xs btn-group"
>
<c:if
test=
"
${
QX
.
edit
==
1
}
"
>
<a
class=
"btn btn-xs btn-success"
title=
"编辑"
onclick=
"result('${var.show_id}','${pd.bannerId }');"
>
<i
class=
"ace-icon fa fa-exchange bigger-120"
title=
"编辑"
></i>
</a>
</c:if>
</div>
</td>
</tr>
</c:forEach>
</c:if>
<c:if
test=
"
${
QX
.
cha
==
0
}
"
>
<tr>
<td
colspan=
"100"
class=
"center"
>
您无权查看
</td>
</tr>
</c:if>
</c:when>
<c:otherwise>
<tr
class=
"main_info"
>
<td
colspan=
"100"
class=
"center"
>
没有相关数据
</td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
<div
class=
"page-header position-relative"
>
<table
style=
"width:100%;"
>
<tr>
<td
style=
"vertical-align:top;"
><div
class=
"pagination"
style=
"float: right;padding-top: 0px;margin-top: 0px;"
>
${page.pageStr}
</div></td>
</tr>
</table>
</div>
</form>
</div>
<!-- /.row -->
</div>
<!-- /.page-content -->
</div>
</div>
<!-- /.main-content -->
<input
type=
"text"
id=
"showId"
style=
"visibility: hidden"
/>
<!-- 返回顶部 -->
<a
href=
"#"
id=
"btn-scroll-up"
class=
"btn-scroll-up btn btn-sm btn-inverse"
>
<i
class=
"ace-icon fa fa-angle-double-up icon-only bigger-110"
></i>
</a>
</div>
<!-- /.main-container -->
<!-- basic scripts -->
<!-- 页面底部js¨ -->
<%@ include
file=
"../../system/index/foot.jsp"
%>
<!-- 删除时确认窗口 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/bootbox.js"
></script>
<!-- ace scripts -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/ace/ace.js"
></script>
<!-- 下拉框 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/chosen.jquery.js"
></script>
<!-- 日期框 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/date-time/bootstrap-datepicker.js"
></script>
<!--提示框-->
<script
type=
"text/javascript"
src=
"${pageContext.request.contextPath}/static/js/jquery.tips.js"
></script>
<script
type=
"text/javascript"
>
$
(
top
.
hangge
());
//关闭加载状态
//检索
function
tosearch
(){
top
.
jzts
();
$
(
"#Form"
).
submit
();
}
$
(
function
()
{
//日期框
$
(
'.date-picker'
).
datepicker
({
autoclose
:
true
,
todayHighlight
:
true
,
clearBtn
:
true
});
//下拉框
if
(
!
ace
.
vars
[
'touch'
])
{
$
(
'.chosen-select'
).
chosen
({
allow_single_deselect
:
true
});
$
(
window
)
.
off
(
'resize.chosen'
)
.
on
(
'resize.chosen'
,
function
()
{
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()});
});
}).
trigger
(
'resize.chosen'
);
$
(
document
).
on
(
'settings.ace.chosen'
,
function
(
e
,
event_name
,
event_val
)
{
if
(
event_name
!=
'sidebar_collapsed'
)
return
;
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()});
});
});
$
(
'#chosen-multiple-style .btn'
).
on
(
'click'
,
function
(
e
){
var
target
=
$
(
this
).
find
(
'input[type=radio]'
);
var
which
=
parseInt
(
target
.
val
());
if
(
which
==
2
)
$
(
'#form-field-select-4'
).
addClass
(
'tag-input-style'
);
else
$
(
'#form-field-select-4'
).
removeClass
(
'tag-input-style'
);
});
}
//复选框全选控制
var
active_class
=
'active'
;
$
(
'#simple-table > thead > tr > th input[type=checkbox]'
).
eq
(
0
).
on
(
'click'
,
function
(){
var
th_checked
=
this
.
checked
;
//checkbox inside "TH" table header
$
(
this
).
closest
(
'table'
).
find
(
'tbody > tr'
).
each
(
function
(){
var
row
=
this
;
if
(
th_checked
)
$
(
row
).
addClass
(
active_class
).
find
(
'input[type=checkbox]'
).
eq
(
0
).
prop
(
'checked'
,
true
);
else
$
(
row
).
removeClass
(
active_class
).
find
(
'input[type=checkbox]'
).
eq
(
0
).
prop
(
'checked'
,
false
);
});
});
});
//bannner 与 foruminfo 互交
function
result
(
showId
,
bannerId
)
{
$
.
ajax
({
type
:
"POST"
,
url
:
'${pageContext.request.contextPath}/banner/bindingId.do?tm='
+
new
Date
().
getTime
(),
data
:
{
'showId'
:
showId
,
'bannerId'
:
bannerId
},
dataType
:
'json'
,
//beforeSend: validateData,
cache
:
false
,
async
:
false
,
success
:
function
(
data
){
var
liElement
=
document
.
createElement
(
'input'
);
liElement
.
setAttribute
(
'id'
,
'showId'
);
liElement
.
setAttribute
(
'name'
,
'showId'
);
liElement
.
setAttribute
(
'type'
,
'hidden'
);
liElement
.
setAttribute
(
'value'
,
showId
);
document
.
getElementById
(
'zhongxin'
).
appendChild
(
liElement
);
top
.
Dialog
.
close
();
//关闭窗口
}
});
}
</script>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/tongmeng/banner/vehicleinfo.jsp
deleted
100644 → 0
浏览文件 @
92cdad7f
<%@ page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%>
<%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%>
<%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()
+
"://"
+
request
.
getServerName
()
+
":"
+
request
.
getServerPort
()
+
path
+
"/"
;
%>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/chosen.css"
/>
<!-- jsp文件头和头部 -->
<%@ include
file=
"../../system/index/top.jsp"
%>
<!-- 日期框 -->
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/ace/css/datepicker.css"
/>
<link
rel=
"stylesheet"
href=
"${pageContext.request.contextPath}/static/fun/ace/css/datepicker.css"
/>
</head>
<style
type=
"text/css"
>
.csshidden
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
max-width
:
300px
}
;
</style>
<body
class=
"no-skin"
>
<!-- /section:basics/navbar.layout -->
<div
class=
"main-container"
id=
"main-container"
>
<!-- /section:basics/sidebar -->
<div
class=
"main-content"
>
<div
class=
"main-content-inner"
>
<div
class=
"page-content"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<!-- 检索 -->
<form
action=
"${pageContext.request.contextPath}/banner/foruminfoList.do?bannerId=${pd.bannerId }&TYPE=${pd.TYPE}"
method=
"post"
name=
"Form"
id=
"Form"
>
<table
style=
"margin-top:5px;"
id=
"zhongxin"
>
<input
type=
"hidden"
name=
"TYPE"
value=
"${pd.TYPE}"
/>
<table
style=
"margin-top:5px;"
>
<tr>
<td>
<div
class=
"nav-search"
>
<span
class=
"input-icon"
>
<input
type=
"text"
placeholder=
"这里输入关键词"
class=
"nav-search-input"
id=
"nav-search-input"
autocomplete=
"off"
name=
"keywords"
value=
"${pd.keywords }"
placeholder=
"这里输入关键词"
/>
<i
class=
"ace-icon fa fa-search nav-search-icon"
></i>
</span>
</div>
</td>
<td
style=
"padding-left:2px;"
><input
class=
"span10 date-picker"
name=
"lastStart"
id=
"lastStart"
value=
""
type=
"text"
data-date-format=
"yyyy-mm-dd"
readonly=
"readonly"
style=
"width:88px;"
placeholder=
"开始日期"
title=
"开始日期"
/></td>
<td
style=
"padding-left:2px;"
><input
class=
"span10 date-picker"
name=
"lastEnd"
name=
"lastEnd"
value=
""
type=
"text"
data-date-format=
"yyyy-mm-dd"
readonly=
"readonly"
style=
"width:88px;"
placeholder=
"结束日期"
title=
"结束日期"
/></td>
<td
style=
"vertical-align:top;padding-left:2px;"
>
<select
class=
"chosen-select form-control"
name=
"type"
id=
"type"
data-placeholder=
"请选择"
style=
"vertical-align:top;width: 120px;"
>
<option
value=
""
>
全部
</option>
<c:forEach
items=
"
${
brandAll
}
"
var=
"brand"
>
<option
value=
"${brand.brand_id}"
${
brand
.
brand_id=
=pd.type?'selected':''}
>
${brand.name }
</option>
</c:forEach>
</select>
</td>
<c:if
test=
"
${
QX
.
cha
==
1
}
"
>
<td
style=
"vertical-align:top;padding-left:2px"
><a
class=
"btn btn-light btn-xs"
onclick=
"tosearch();"
title=
"检索"
><i
id=
"nav-search-icon"
class=
"ace-icon fa fa-search bigger-110 nav-search-icon blue"
></i></a></td>
</c:if>
<!--
<c:if
test=
"
${
QX
.
toExcel
==
1
}
"
>
<td style="vertical-align:top;padding-left:2px;"><a class="btn btn-light btn-xs" onclick="toExcel();" title="导出到EXCEL"><i id="nav-search-icon" class="ace-icon fa fa-download bigger-110 nav-search-icon blue"></i></a></td>
</c:if>
-->
</tr>
</table>
<!-- 检索 -->
<table
id=
"simple-table"
class=
"table table-striped table-bordered table-hover"
style=
"margin-top:5px;"
>
<thead>
<tr>
<th
class=
"center"
style=
"width:35px;"
>
<label
class=
"pos-rel"
><input
type=
"checkbox"
class=
"ace"
id=
"zcheckbox"
/><span
class=
"lbl"
></span></label>
</th>
<th
class=
"center"
style=
"width:50px;"
>
序号
</th>
<th
class=
"center"
>
编码号
</th>
<th
class=
"center"
>
车牌
</th>
<th
class=
"center"
>
图标
</th>
<th
class=
"center"
>
车标题
</th>
<th
class=
"center"
>
车价格
</th>
<th
class=
"center"
>
创建时间
</th>
<th
class=
"center"
>
操作
</th>
</tr>
</thead>
<tbody>
<!-- 开始循环 -->
<c:choose>
<c:when
test=
"
${
not
empty
varList
}
"
>
<c:if
test=
"
${
QX
.
cha
==
1
}
"
>
<c:forEach
items=
"
${
varList
}
"
var=
"var"
varStatus=
"vs"
>
<tr>
<td
class=
'center'
>
<label
class=
"pos-rel"
><input
type=
'checkbox'
name=
'ids'
value=
"${var.vehicle_id}"
class=
"ace"
/><span
class=
"lbl"
></span></label>
</td>
<td
class=
'center'
style=
"width: 30px;"
>
${vs.index+1}
</td>
<td
class=
'center'
>
${var.show_id}
</td>
<td
class=
'center'
>
${var.name}
</td>
<td
class=
'center'
><img
src=
"${var.icom}"
style=
"width: 50px"
/>
</td>
<td
class=
'center'
>
${var.title}
</td>
<td
class=
'center'
>
${var.price}
</td>
<td
class=
'center'
><fmt:formatDate
value=
"
${
var
.
create_time
}
"
pattern=
"yyyy-MM-dd"
/>
</td>
<td
class=
"center"
>
<div
class=
"hidden-sm hidden-xs btn-group"
>
<c:if
test=
"
${
QX
.
edit
==
1
}
"
>
<a
class=
"btn btn-xs btn-success"
title=
"编辑"
onclick=
"result('${var.show_id}','${pd.bannerId }');"
>
<i
class=
"ace-icon fa fa-exchange bigger-120"
title=
"编辑"
></i>
</a>
</c:if>
</div>
</td>
</tr>
</c:forEach>
</c:if>
<c:if
test=
"
${
QX
.
cha
==
0
}
"
>
<tr>
<td
colspan=
"100"
class=
"center"
>
您无权查看
</td>
</tr>
</c:if>
</c:when>
<c:otherwise>
<tr
class=
"main_info"
>
<td
colspan=
"100"
class=
"center"
>
没有相关数据
</td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
<div
class=
"page-header position-relative"
>
<table
style=
"width:100%;"
>
<tr>
<td
style=
"vertical-align:top;"
>
<c:if
test=
"
${
QX
.
add
==
1
}
"
>
<a
class=
"btn btn-mini btn-success"
onclick=
"add();"
>
新增
</a>
</c:if>
<c:if
test=
"
${
QX
.
del
==
1
}
"
>
<a
class=
"btn btn-mini btn-danger"
onclick=
"makeAll('确定要删除选中的数据吗?');"
title=
"批量删除"
><i
class=
'ace-icon fa fa-trash-o bigger-120'
></i></a>
</c:if>
</td>
<td
style=
"vertical-align:top;"
><div
class=
"pagination"
style=
"float: right;padding-top: 0px;margin-top: 0px;"
>
${page.pageStr}
</div></td>
</tr>
</table>
</div>
</form>
</div>
<!-- /.col -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.page-content -->
</div>
</div>
<!-- /.main-content -->
<input
type=
"text"
id=
"showId"
style=
"visibility: hidden"
/>
<!-- 返回顶部 -->
<a
href=
"#"
id=
"btn-scroll-up"
class=
"btn-scroll-up btn btn-sm btn-inverse"
>
<i
class=
"ace-icon fa fa-angle-double-up icon-only bigger-110"
></i>
</a>
</div>
<!-- /.main-container -->
<!-- basic scripts -->
<!-- 页面底部js¨ -->
<%@ include
file=
"../../system/index/foot.jsp"
%>
<!-- 删除时确认窗口 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/bootbox.js"
></script>
<!-- ace scripts -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/ace/ace.js"
></script>
<!-- 下拉框 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/chosen.jquery.js"
></script>
<!-- 日期框 -->
<script
src=
"${pageContext.request.contextPath}/static/ace/js/date-time/bootstrap-datepicker.js"
></script>
<!--提示框-->
<script
type=
"text/javascript"
src=
"${pageContext.request.contextPath}/static/js/jquery.tips.js"
></script>
<script
type=
"text/javascript"
>
$
(
top
.
hangge
());
//关闭加载状态
//检索
function
tosearch
(){
top
.
jzts
();
$
(
"#Form"
).
submit
();
}
$
(
function
()
{
//日期框
$
(
'.date-picker'
).
datepicker
({
autoclose
:
true
,
todayHighlight
:
true
,
clearBtn
:
true
});
//下拉框
if
(
!
ace
.
vars
[
'touch'
])
{
$
(
'.chosen-select'
).
chosen
({
allow_single_deselect
:
true
});
$
(
window
)
.
off
(
'resize.chosen'
)
.
on
(
'resize.chosen'
,
function
()
{
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()});
});
}).
trigger
(
'resize.chosen'
);
$
(
document
).
on
(
'settings.ace.chosen'
,
function
(
e
,
event_name
,
event_val
)
{
if
(
event_name
!=
'sidebar_collapsed'
)
return
;
$
(
'.chosen-select'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
next
().
css
({
'width'
:
$this
.
parent
().
width
()});
});
});
$
(
'#chosen-multiple-style .btn'
).
on
(
'click'
,
function
(
e
){
var
target
=
$
(
this
).
find
(
'input[type=radio]'
);
var
which
=
parseInt
(
target
.
val
());
if
(
which
==
2
)
$
(
'#form-field-select-4'
).
addClass
(
'tag-input-style'
);
else
$
(
'#form-field-select-4'
).
removeClass
(
'tag-input-style'
);
});
}
//复选框全选控制
var
active_class
=
'active'
;
$
(
'#simple-table > thead > tr > th input[type=checkbox]'
).
eq
(
0
).
on
(
'click'
,
function
(){
var
th_checked
=
this
.
checked
;
//checkbox inside "TH" table header
$
(
this
).
closest
(
'table'
).
find
(
'tbody > tr'
).
each
(
function
(){
var
row
=
this
;
if
(
th_checked
)
$
(
row
).
addClass
(
active_class
).
find
(
'input[type=checkbox]'
).
eq
(
0
).
prop
(
'checked'
,
true
);
else
$
(
row
).
removeClass
(
active_class
).
find
(
'input[type=checkbox]'
).
eq
(
0
).
prop
(
'checked'
,
false
);
});
});
});
//bannner 与 foruminfo 互交
function
result
(
showId
,
bannerId
)
{
$
.
ajax
({
type
:
"POST"
,
url
:
'${pageContext.request.contextPath}/banner/bindingId.do?tm='
+
new
Date
().
getTime
(),
data
:
{
'showId'
:
showId
,
'bannerId'
:
bannerId
},
dataType
:
'json'
,
//beforeSend: validateData,
cache
:
false
,
async
:
false
,
success
:
function
(
data
){
var
liElement
=
document
.
createElement
(
'input'
);
liElement
.
setAttribute
(
'id'
,
'showId'
);
liElement
.
setAttribute
(
'name'
,
'showId'
);
liElement
.
setAttribute
(
'type'
,
'hidden'
);
liElement
.
setAttribute
(
'value'
,
showId
);
document
.
getElementById
(
'zhongxin'
).
appendChild
(
liElement
);
top
.
Dialog
.
close
();
//关闭窗口
}
});
}
</script>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/tongmeng/oneclassfy/oneclassfy_edit.jsp
浏览文件 @
4054514d
...
...
@@ -35,16 +35,7 @@
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
名称:
</td>
<td><input
type=
"text"
name=
"name"
id=
"name"
value=
"${pd.name}"
maxlength=
"50"
placeholder=
"这里输入名称"
title=
"名称"
style=
"width:98%;"
/></td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
二级类型:
</td>
<td>
<select
id=
"ONE_CLASSFY_TAG"
name=
"ONE_CLASSFY_TAG"
${
msg=
='edit'?'disabled="disabled"
style=
"background-color: #F5F5F5"
'
:
''
}
>
<option
value=
"1"
${
pd
.
one_classfy_tag =
='1'?'selected':''}
>
没有二级
</option>
<option
value=
"2"
${
pd
.
one_classfy_tag =
='2'?'selected':''}
>
车牌
</option>
<option
value=
"3"
${
pd
.
one_classfy_tag =
='3'?'selected':''}
>
二级分类
</option>
</select>
</td>
</tr>
<tr>
<td
style=
"width:75px;text-align: right;padding-top: 13px;"
>
封图:
</td>
<td>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论