@ -0,0 +1,103 @@ |
||||
# Created by .ignore support plugin (hsz.mobi) |
||||
### JetBrains template |
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider |
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 |
||||
|
||||
# User-specific stuff |
||||
.idea/**/workspace.xml |
||||
.idea/**/tasks.xml |
||||
.idea/**/usage.statistics.xml |
||||
.idea/**/dictionaries |
||||
.idea/**/shelf |
||||
|
||||
# Generated files |
||||
.idea/**/contentModel.xml |
||||
|
||||
# Sensitive or high-churn files |
||||
.idea/**/dataSources/ |
||||
.idea/**/dataSources.ids |
||||
.idea/**/dataSources.local.xml |
||||
.idea/**/sqlDataSources.xml |
||||
.idea/**/dynamic.xml |
||||
.idea/**/uiDesigner.xml |
||||
.idea/**/dbnavigator.xml |
||||
|
||||
# Gradle |
||||
.idea/**/gradle.xml |
||||
.idea/**/libraries |
||||
|
||||
# Gradle and Maven with auto-import |
||||
# When using Gradle or Maven with auto-import, you should exclude module files, |
||||
# since they will be recreated, and may cause churn. Uncomment if using |
||||
# auto-import. |
||||
# .idea/artifacts |
||||
# .idea/compiler.xml |
||||
# .idea/jarRepositories.xml |
||||
# .idea/modules.xml |
||||
# .idea/*.iml |
||||
# .idea/modules |
||||
# *.iml |
||||
# *.ipr |
||||
|
||||
# CMake |
||||
cmake-build-*/ |
||||
|
||||
# Mongo Explorer plugin |
||||
.idea/**/mongoSettings.xml |
||||
|
||||
# File-based project format |
||||
*.iws |
||||
|
||||
# IntelliJ |
||||
out/ |
||||
|
||||
# mpeltonen/sbt-idea plugin |
||||
.idea_modules/ |
||||
|
||||
# JIRA plugin |
||||
atlassian-ide-plugin.xml |
||||
|
||||
# Cursive Clojure plugin |
||||
.idea/replstate.xml |
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ) |
||||
com_crashlytics_export_strings.xml |
||||
crashlytics.properties |
||||
crashlytics-build.properties |
||||
fabric.properties |
||||
|
||||
# Editor-based Rest Client |
||||
.idea/httpRequests |
||||
|
||||
# Android studio 3.1+ serialized cache file |
||||
.idea/caches/build_file_checksums.ser |
||||
|
||||
### Java template |
||||
# Compiled class file |
||||
*.class |
||||
|
||||
# Log file |
||||
*.log |
||||
|
||||
# BlueJ files |
||||
*.ctxt |
||||
|
||||
# Mobile Tools for Java (J2ME) |
||||
.mtj.tmp/ |
||||
|
||||
# Package Files # |
||||
*.jar |
||||
*.war |
||||
*.nar |
||||
*.ear |
||||
*.zip |
||||
*.tar.gz |
||||
*.rar |
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml |
||||
hs_err_pid* |
||||
|
||||
.idea |
||||
/WebRoot/uploadFile/ |
||||
/WebRoot/WEB-INF/classes/ |
||||
*.iml |
@ -0,0 +1,3 @@ |
||||
Manifest-Version: 1.0 |
||||
Class-Path: |
||||
|
@ -0,0 +1,64 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee |
||||
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> |
||||
|
||||
<!-- 指定spring的配置文件,默认从web根目录寻找配置文件,我们可以通过spring提供的classpath:前缀指定从类路径下寻找 --> |
||||
<context-param> |
||||
<param-name>contextConfigLocation</param-name> |
||||
<param-value>classpath:beans.xml</param-value> |
||||
</context-param> |
||||
<!-- 对Spring容器进行实例化 --> |
||||
<listener> |
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
||||
</listener> |
||||
|
||||
<!-- 日志参数--> |
||||
<context-param> |
||||
<param-name>log4jConfigLocation</param-name> |
||||
<param-value>classpath:log4j-config.properties</param-value> |
||||
</context-param> |
||||
<listener> |
||||
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> |
||||
</listener> |
||||
|
||||
|
||||
<servlet> |
||||
<description>This is the description of my J2EE component</description> |
||||
<display-name>This is the display name of my J2EE component</display-name> |
||||
<servlet-name>RegionServlet</servlet-name> |
||||
<servlet-class>com.app.servlet.RegionServlet</servlet-class> |
||||
</servlet> |
||||
|
||||
<servlet-mapping> |
||||
<servlet-name>RegionServlet</servlet-name> |
||||
<url-pattern>/rg.sl</url-pattern> |
||||
</servlet-mapping> |
||||
|
||||
<servlet> |
||||
<description>This is the description of my J2EE component</description> |
||||
<display-name>This is the display name of my J2EE component</display-name> |
||||
<servlet-name>FileUploadServlet</servlet-name> |
||||
<servlet-class>com.app.servlet.FileUploadServlet</servlet-class> |
||||
</servlet> |
||||
|
||||
|
||||
<servlet-mapping> |
||||
<servlet-name>FileUploadServlet</servlet-name> |
||||
<url-pattern>/upfile</url-pattern> |
||||
</servlet-mapping> |
||||
|
||||
<filter> |
||||
<filter-name>struts2</filter-name> |
||||
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> |
||||
</filter> |
||||
<filter-mapping> |
||||
<filter-name>struts2</filter-name> |
||||
<url-pattern>*.do</url-pattern> |
||||
</filter-mapping> |
||||
|
||||
<welcome-file-list> |
||||
<welcome-file>index.jsp</welcome-file> |
||||
</welcome-file-list> |
||||
</web-app> |
@ -0,0 +1,173 @@ |
||||
<%-- |
||||
Created by IntelliJ IDEA. |
||||
User: pan |
||||
Date: 2020/6/7 0007 |
||||
Time: 12:33 |
||||
To change this template use File | Settings | File Templates. |
||||
--%> |
||||
<%@ page language="java" pageEncoding="UTF-8"%> |
||||
<%@ taglib uri="/struts-tags" prefix="s"%> |
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
||||
<% |
||||
String path = request.getContextPath(); |
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; |
||||
%> |
||||
<html> |
||||
<c:import url="../head.jsp"/> |
||||
<script src="<%=basePath%>static/window.js"></script> |
||||
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=09f8b1d5821c8eeafb03b9bca378efd6 "></script> |
||||
<script src="<%=basePath %>static/kindeditor-4.1.10/kindeditor-min.js"></script> |
||||
<link href="<%=basePath %>static/toastr-master/toastr.min.css" rel="stylesheet" type="text/css" /> |
||||
<script src="<%=basePath %>static/toastr-master/toastr.min.js"></script> |
||||
<script> |
||||
$(function () { |
||||
|
||||
$(".uploadImg").click(function(){ |
||||
openWindow("http://localhost:8080/upload.jsp"); |
||||
}); |
||||
|
||||
// 百度地图API功能 |
||||
let map = new BMap.Map("allmap"); |
||||
map.centerAndZoom("重庆",12); |
||||
//单击获取点击的经纬度 |
||||
map.addEventListener("click",function(e){ |
||||
//alert(e.point.lng + "," + e.point.lat); |
||||
$("#lat").val(e.point.lat); |
||||
$("#lng").val(e.point.lng); |
||||
}); |
||||
|
||||
KindEditor.ready(function (K) { |
||||
editor = K.create('textarea[name="community.description"]', { |
||||
uploadJson: '<%=basePath %>resource/js/kindeditor-4.1.10/php/upload_json.php', |
||||
fileManagerJson: '<%=basePath %>resource/js/kindeditor-4.1.10/php/file_manager_json.php', |
||||
allowFileManager: true, |
||||
items : ['source', |
||||
'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', |
||||
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', |
||||
'insertunorderedlist', '|', 'emoticons', 'link','fullscreen'], |
||||
afterBlur: function () { |
||||
this.sync(); |
||||
} |
||||
}); |
||||
}); |
||||
}) |
||||
</script> |
||||
<body> |
||||
<div class="box round first" style="margin:15px;"> |
||||
<h2>录入数据</h2> |
||||
<div class="block"> |
||||
<form method="POST" action="<%=basePath%>admin/community/add.do" enctype="multipart/form-data"> |
||||
<input type="hidden" name="type" value="${param.type}"> |
||||
<table class="form"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col1"> |
||||
<label>社区名称</label> |
||||
</td> |
||||
<td class="col3"> |
||||
<input name="community.name" required value="" type="text" class="medium"> |
||||
</td> |
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
图片</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col2"> |
||||
|
||||
<input name="community.image" required value="" type="text" id="attachfile"> |
||||
<a href="javascript:;" class="uploadImg btn btn-default">点击上传</a> |
||||
</td> |
||||
</td> |
||||
|
||||
</tr> |
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
详细地址</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col3"> |
||||
|
||||
<input name="community.address" required value="" type="text" class="medium"> |
||||
</td> |
||||
|
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
地址经纬度</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col3"> |
||||
|
||||
<input style="display:inline-block;width:45%;" name="community.latitude" required value="" type="text" class="medium" id="lat"> |
||||
<input style="display:inline-block;width:45%;" name="community.longitude" required value="" type="text" class="medium" id="lng"> |
||||
<div style="position:absolute;right:0px;top:0px; width:44%;height:450px;" id="allmap"></div> |
||||
</td> |
||||
|
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
主要户型</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col3"> |
||||
<input name="community.houseType" required value="" type="text" class="medium"> |
||||
</td> |
||||
|
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td> |
||||
|
||||
<label> |
||||
|
||||
详细描述</label> |
||||
|
||||
</td> |
||||
|
||||
<td> |
||||
<textarea name="community.description" required style="width:550px;height:80px;"> |
||||
</textarea> |
||||
|
||||
</td> |
||||
|
||||
</tr> |
||||
<tr> |
||||
<td></td> |
||||
<td colspan=""> |
||||
<button type="submit" class="btn btn-blue">提交数据</button> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,174 @@ |
||||
<%-- |
||||
Created by IntelliJ IDEA. |
||||
User: pan |
||||
Date: 2020/6/7 0007 |
||||
Time: 12:33 |
||||
To change this template use File | Settings | File Templates. |
||||
--%> |
||||
<%@ page language="java" pageEncoding="UTF-8"%> |
||||
<%@ taglib uri="/struts-tags" prefix="s"%> |
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
||||
<% |
||||
String path = request.getContextPath(); |
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; |
||||
%> |
||||
<html> |
||||
<c:import url="../head.jsp"/> |
||||
<script src="<%=basePath%>static/window.js"></script> |
||||
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=09f8b1d5821c8eeafb03b9bca378efd6 "></script> |
||||
<script src="<%=basePath %>static/kindeditor-4.1.10/kindeditor-min.js"></script> |
||||
<link href="<%=basePath %>static/toastr-master/toastr.min.css" rel="stylesheet" type="text/css" /> |
||||
<script src="<%=basePath %>static/toastr-master/toastr.min.js"></script> |
||||
<script> |
||||
$(function () { |
||||
|
||||
$(".uploadImg").click(function(){ |
||||
openWindow("http://localhost:8080/upload.jsp"); |
||||
}); |
||||
|
||||
// 百度地图API功能 |
||||
let map = new BMap.Map("allmap"); |
||||
map.centerAndZoom("重庆",12); |
||||
//单击获取点击的经纬度 |
||||
map.addEventListener("click",function(e){ |
||||
//alert(e.point.lng + "," + e.point.lat); |
||||
$("#lat").val(e.point.lat); |
||||
$("#lng").val(e.point.lng); |
||||
}); |
||||
|
||||
KindEditor.ready(function (K) { |
||||
editor = K.create('textarea[name="community.description"]', { |
||||
uploadJson: '<%=basePath %>resource/js/kindeditor-4.1.10/php/upload_json.php', |
||||
fileManagerJson: '<%=basePath %>resource/js/kindeditor-4.1.10/php/file_manager_json.php', |
||||
allowFileManager: true, |
||||
items : ['source', |
||||
'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', |
||||
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', |
||||
'insertunorderedlist', '|', 'emoticons', 'link','fullscreen'], |
||||
afterBlur: function () { |
||||
this.sync(); |
||||
} |
||||
}); |
||||
}); |
||||
}) |
||||
</script> |
||||
<body> |
||||
<div class="box round first"> |
||||
<h2>更新数据</h2> |
||||
|
||||
<div class="block"> |
||||
<form method="POST" action="<%=basePath%>admin/community/update.do?type=${param.type}" enctype="multipart/form-data"> |
||||
<table class="form"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col1"> |
||||
<label>社区名称</label> |
||||
</td> |
||||
<td class="col3"> |
||||
<input name="community.name" required value="${model.name}" type="text" class="medium"> |
||||
</td> |
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
图片</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col2"> |
||||
|
||||
<input name="community.image" required value="${model.image}" type="text" id="attachfile"> |
||||
<a href="javascript:;" class="uploadImg btn btn-default">点击上传</a> |
||||
</td> |
||||
</td> |
||||
|
||||
</tr> |
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
详细地址</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col3"> |
||||
|
||||
<input name="community.address" required value="${model.address}" type="text" class="medium"> |
||||
</td> |
||||
|
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
地址经纬度</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col3"> |
||||
|
||||
<input style="display:inline-block;width:45%;" name="community.latitude" required value="${model.latitude}" type="text" class="medium" id="lat"> |
||||
<input style="display:inline-block;width:45%;" name="community.longitude" required value="${model.longitude}" type="text" class="medium" id="lng"> |
||||
<div style="position:absolute;right:0px;top:0px; width:44%;height:450px;" id="allmap"></div> |
||||
</td> |
||||
|
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td class="col1"> |
||||
|
||||
<label> |
||||
|
||||
主要户型</label> |
||||
|
||||
</td> |
||||
|
||||
<td class="col3"> |
||||
<input name="community.houseType" required value="${model.houseType}" type="text" class="medium"> |
||||
</td> |
||||
|
||||
</tr> |
||||
|
||||
<tr> |
||||
|
||||
<td> |
||||
|
||||
<label> |
||||
|
||||
详细描述</label> |
||||
|
||||
</td> |
||||
|
||||
<td> |
||||
<textarea name="community.description" required style="width:550px;height:80px;"> |
||||
${model.description} |
||||
</textarea> |
||||
|
||||
</td> |
||||
|
||||
</tr> |
||||
<tr> |
||||
<td></td> |
||||
<td colspan=""> |
||||
<button type="submit" class="btn btn-blue">提交数据</button> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,383 @@ |
||||
<%@ page language="java" import="com.app.utils.CommunityType" pageEncoding="UTF-8"%> |
||||
<%@ page language="java" %> |
||||
<%@ taglib uri="/struts-tags" prefix="s"%> |
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
||||
<% |
||||
String path = request.getContextPath(); |
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; |
||||
%> |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<title>公共租赁住房租赁管理系统</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
||||
|
||||
<!-- App favicon --> |
||||
<link rel="shortcut icon" href="<%=basePath %>static/assets/images/favicon.ico"> |
||||
|
||||
<!-- plugins --> |
||||
<link href="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.css" rel="stylesheet" type="text/css" /> |
||||
|
||||
<!-- App css --> |
||||
<link href="<%=basePath %>static/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> |
||||
<link href="<%=basePath %>static/assets/css/icons.min.css" rel="stylesheet" type="text/css" /> |
||||
<link href="<%=basePath %>static/assets/css/app.min.css" rel="stylesheet" type="text/css" /> |
||||
|
||||
</head> |
||||
|
||||
<body class="left-side-menu-dark"> |
||||
<!-- Begin page --> |
||||
<div id="wrapper"> |
||||
|
||||
<!-- Topbar Start --> |
||||
<div style="background-color: #80D0C7; |
||||
background-image: linear-gradient(160deg, #80D0C7 0%, #0093E9 100%); |
||||
" class="navbar navbar-expand flex-column flex-md-row navbar-custom"> |
||||
<div class="container-fluid"> |
||||
<!-- LOGO --> |
||||
<a href="<%=basePath %>" class="navbar-brand mr-0 mr-md-2 logo"> |
||||
<span class="logo-lg"> |
||||
<img src="<%=basePath %>static/assets/images/logo.png" alt="" height="24" /> |
||||
<span style="color:#fff" class="d-inline h5 ml-1 text-logo">公租房租赁管理系统</span> |
||||
</span> |
||||
<span class="logo-sm"> |
||||
<img src="<%=basePath %>static/assets/images/logo.png" alt="" height="24"> |
||||
</span> |
||||
</a> |
||||
|
||||
<ul class="navbar-nav bd-navbar-nav flex-row list-unstyled menu-left mb-0"> |
||||
<li class=""> |
||||
<button class="button-menu-mobile open-left disable-btn"> |
||||
<i data-feather="menu" class="menu-icon"></i> |
||||
<i data-feather="x" class="close-icon"></i> |
||||
</button> |
||||
</li> |
||||
</ul> |
||||
|
||||
<ul class="navbar-nav flex-row ml-auto d-flex list-unstyled topnav-menu float-right mb-0"> |
||||
<li class="dropdown notification-list" data-toggle="tooltip" data-placement="left" |
||||
title="刷新面板"> |
||||
<a class="nav-link dropdown-toggle" |
||||
href="<%=basePath %>admin/index.do" > |
||||
<i data-feather="home"></i> |
||||
<span class="noti-icon-badge"></span> |
||||
</a> |
||||
|
||||
</li> |
||||
|
||||
|
||||
|
||||
|
||||
<li class="dropdown " data-toggle="tooltip" data-placement="left" title="注销"> |
||||
<a href="<%=basePath%>logout.jsp?ret=system/login.do" class="nav-link right-bar-toggle"> |
||||
<i data-feather="log-out"></i> |
||||
</a> |
||||
</li> |
||||
|
||||
|
||||
</ul> |
||||
</div> |
||||
|
||||
</div> |
||||
<!-- end Topbar --> |
||||
|
||||
<!-- ========== Left Sidebar Start ========== --> |
||||
<div class="left-side-menu"> |
||||
<div class="media user-profile mt-2 mb-2"> |
||||
<img src="<%=basePath %>${thumb}" class="avatar-sm rounded-circle mr-2" alt="Shreyu" /> |
||||
|
||||
|
||||
<div class="media-body"> |
||||
<h6 class="pro-user-name mt-0 mb-0">${userName}</h6> |
||||
<span class="pro-user-desc"> |
||||
<c:if test="${userType eq 1}">普通用户</c:if> |
||||
<c:if test="${userType eq 2}">街道政府管理员</c:if> |
||||
<c:if test="${userType eq '3'}">市级政府管理员</c:if> |
||||
</span> |
||||
</div> |
||||
<div class="dropdown align-self-center profile-dropdown-menu"> |
||||
<a class="dropdown-toggle mr-0" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" |
||||
aria-expanded="false"> |
||||
<span data-feather="chevron-down"></span> |
||||
</a> |
||||
<div class="dropdown-menu profile-dropdown"> |
||||
<a href="<%=basePath%>admin/profile.do" target="rightFrame" href="pages-profile.html" class="dropdown-item notify-item"> |
||||
<i data-feather="user" class="icon-dual icon-xs mr-2"></i> |
||||
<span>资料更新</span> |
||||
</a> |
||||
|
||||
<a href="<%=basePath%>admin/password.do" target="rightFrame" class="dropdown-item notify-item"> |
||||
<i data-feather="settings" class="icon-dual icon-xs mr-2"></i> |
||||
<span>密码设置</span> |
||||
</a> |
||||
|
||||
|
||||
|
||||
<div class="dropdown-divider"></div> |
||||
|
||||
<a href="<%=basePath%>logout.jsp?ret=system/login.do" class="dropdown-item "> |
||||
<i data-feather="log-out" class="icon-dual icon-xs mr-2"></i> |
||||
<span>注销登录</span> |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="sidebar-content"> |
||||
<!--- Sidemenu --> |
||||
<div id="sidebar-menu" class="slimscroll-menu"> |
||||
<ul class="metismenu" id="menu-bar"> |
||||
<li class="menu-title">Navigation</li> |
||||
|
||||
<c:if test="${userType eq '1'}"> |
||||
|
||||
|
||||
|
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/apply/list.do" aria-expanded="false"> |
||||
<i data-feather="package"></i> |
||||
<span> 申请管理 </span> |
||||
</a> |
||||
</li> |
||||
|
||||
|
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/apply/report.do" aria-expanded="false"> |
||||
<i data-feather="pie-chart"></i> |
||||
<span> 数据统计 </span> |
||||
</a> |
||||
</li> |
||||
</c:if> |
||||
|
||||
<c:if test="${userType eq '2'}"> |
||||
<li> |
||||
<a href="javascript: void(0);"> |
||||
<i data-feather="briefcase"></i> |
||||
<span> 房源管理 </span> |
||||
<span class="menu-arrow"></span> |
||||
</a> |
||||
|
||||
<ul class="nav-second-level" aria-expanded="false"> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/house/mylist.do">房源管理</a> |
||||
</li> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/house/add.do">发布房源</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
|
||||
|
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/apply/list1.do" aria-expanded="false"> |
||||
<i data-feather="package"></i> |
||||
<span> 申请管理 </span> |
||||
</a> |
||||
</li> |
||||
|
||||
|
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/apply/report.do" aria-expanded="false"> |
||||
<i data-feather="pie-chart"></i> |
||||
<span> 数据统计 </span> |
||||
</a> |
||||
</li> |
||||
</c:if> |
||||
|
||||
<c:if test="${userType eq '3'}"> |
||||
<li> |
||||
<a href="javascript: void(0);"> |
||||
<i data-feather="users"></i> |
||||
<span> 用户管理 </span> |
||||
<span class="menu-arrow"></span> |
||||
</a> |
||||
|
||||
<ul class="nav-second-level" aria-expanded="false"> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/users/list.do">用户管理</a> |
||||
</li> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/users/add.do">新增用户</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
|
||||
|
||||
<li> |
||||
<a href="javascript: void(0);"> |
||||
<i data-feather="file-text"></i> |
||||
<span> 类目管理 </span> |
||||
<span class="menu-arrow"></span> |
||||
</a> |
||||
|
||||
<ul class="nav-second-level" aria-expanded="false"> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/cates/list.do">类目管理</a> |
||||
</li> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/cates/add.do">新增类目</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
|
||||
|
||||
<li> |
||||
<a href="javascript: void(0);"> |
||||
<i data-feather="bookmark"></i> |
||||
<span> 内容管理 </span> |
||||
<span class="menu-arrow"></span> |
||||
</a> |
||||
|
||||
<ul class="nav-second-level" aria-expanded="false"> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/news/list.do">内容管理</a> |
||||
</li> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/news/add.do">发布内容</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
|
||||
<li> |
||||
<a href="javascript: void(0);"> |
||||
<i data-feather="image"></i> |
||||
<span> 轮播管理 </span> |
||||
<span class="menu-arrow"></span> |
||||
</a> |
||||
|
||||
<ul class="nav-second-level" aria-expanded="false"> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/ads/list.do">轮播管理</a> |
||||
</li> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/ads/add.do">发布轮播</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
|
||||
<li> |
||||
<a href="javascript: void(0);"> |
||||
<i data-feather="briefcase"></i> |
||||
<span> 房源管理 </span> |
||||
<span class="menu-arrow"></span> |
||||
</a> |
||||
|
||||
<ul class="nav-second-level" aria-expanded="false"> |
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/house/list.do">房源管理</a> |
||||
</li> |
||||
|
||||
<c:forEach items="<%=CommunityType.values()%>" var="type"> |
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/community/list.do?type=${type.name()}">${type.desc}</a> |
||||
</li> |
||||
</c:forEach> |
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/house/add.do">发布房源</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
|
||||
|
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/apply/list2.do" aria-expanded="false"> |
||||
<i data-feather="package"></i> |
||||
<span> 申请管理 </span> |
||||
</a> |
||||
</li> |
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/apply/jblist.do" aria-expanded="false"> |
||||
<i data-feather="align-right"></i> |
||||
<span> 举报管理 </span> |
||||
</a> |
||||
</li> |
||||
|
||||
|
||||
<li> |
||||
<a target="rightFrame" href="<%=basePath%>admin/apply/report.do" aria-expanded="false"> |
||||
<i data-feather="pie-chart"></i> |
||||
<span> 数据统计 </span> |
||||
</a> |
||||
</li> |
||||
</c:if> |
||||
|
||||
</ul> |
||||
</div> |
||||
<!-- End Sidebar --> |
||||
|
||||
<div class="clearfix"></div> |
||||
</div> |
||||
<!-- Sidebar -left --> |
||||
|
||||
</div> |
||||
<!-- Left Sidebar End --> |
||||
|
||||
<!-- ============================================================== --> |
||||
<!-- Start Page Content here --> |
||||
<!-- ============================================================== --> |
||||
|
||||
<div class="content-page"> |
||||
<div class="content"> |
||||
<div class="container-fluid"> |
||||
<div style="padding:0px;" class="row page-title align-items-center"> |
||||
<div class="col-sm-4 col-xl-6"> |
||||
<h4 class="mb-1 mt-0">welcome</h4> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
<!-- content --> |
||||
<div style="padding:0px;" class="row"> |
||||
<iframe name="rightFrame" src="<%=basePath%>admin/apply/report.do" style="border:none;min-height:1800px;width:100%;height:100;"></iframe> |
||||
</div> |
||||
<!-- end row --> |
||||
|
||||
</div> |
||||
</div> <!-- content --> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div> |
||||
|
||||
<!-- ============================================================== --> |
||||
<!-- End Page content --> |
||||
<!-- ============================================================== --> |
||||
|
||||
|
||||
</div> |
||||
<!-- END wrapper --> |
||||
|
||||
|
||||
|
||||
<!-- Right bar overlay--> |
||||
<div class="rightbar-overlay"></div> |
||||
|
||||
<!-- Vendor js --> |
||||
<script src="<%=basePath %>static/assets/js/vendor.min.js"></script> |
||||
|
||||
<!-- optional plugins --> |
||||
<script src="<%=basePath %>static/assets/libs/moment/moment.min.js"></script> |
||||
<script src="<%=basePath %>static/assets/libs/apexcharts/apexcharts.min.js"></script> |
||||
<script src="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.js"></script> |
||||
|
||||
<!-- page js --> |
||||
<script src="<%=basePath %>static/assets/js/pages/dashboard.init.js"></script> |
||||
|
||||
<!-- App js --> |
||||
<script src="<%=basePath %>static/assets/js/app.min.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,48 @@ |
||||
<%-- |
||||
Created by IntelliJ IDEA. |
||||
User: pan |
||||
Date: 2020/6/7 0007 |
||||
Time: 12:30 |
||||
To change this template use File | Settings | File Templates. |
||||
--%> |
||||
<%@ page language="java" pageEncoding="UTF-8"%> |
||||
<%@ taglib uri="/struts-tags" prefix="s"%> |
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
||||
<% |
||||
String path = request.getContextPath(); |
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; |
||||
%> |
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<title>公共租赁住房租赁管理系统</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
||||
|
||||
<!-- App favicon --> |
||||
<link rel="shortcut icon" href="<%=basePath %>static/assets/images/favicon.ico"> |
||||
|
||||
<!-- plugins --> |
||||
<link href="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.css" rel="stylesheet" type="text/css" /> |
||||
|
||||
<!-- App css --> |
||||
<link href="<%=basePath %>static/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> |
||||
<link href="<%=basePath %>static/assets/css/icons.min.css" rel="stylesheet" type="text/css" /> |
||||
<link href="<%=basePath %>static/assets/css/app.min.css" rel="stylesheet" type="text/css" /> |
||||
|
||||
<script src="<%=basePath %>static/assets/js/vendor.min.js"></script> |
||||
|
||||
<!-- optional plugins --> |
||||
<script src="<%=basePath %>static/assets/libs/moment/moment.min.js"></script> |
||||
<script src="<%=basePath %>static/assets/libs/apexcharts/apexcharts.min.js"></script> |
||||
<script src="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.js"></script> |
||||
|
||||
<!-- page js --> |
||||
<script src="<%=basePath %>static/assets/js/pages/dashboard.init.js"></script> |
||||
|
||||
<!-- App js --> |
||||
<script src="<%=basePath %>static/assets/js/app.min.js"></script> |
||||
<script src="<%=basePath %>static/js.js"></script> |
||||
</head> |
||||
</html> |
@ -0,0 +1,8 @@ |
||||
<%@ page language="java" pageEncoding="ISO-8859-1"%> |
||||
<% |
||||
String path = request.getContextPath(); |
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; |
||||
|
||||
|
||||
response.sendRedirect(basePath+"app/index.do"); |
||||
%> |
@ -0,0 +1,13 @@ |
||||
<%@ page language="java" pageEncoding="UTF-8"%> |
||||
<% |
||||
String path = request.getContextPath(); |
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; |
||||
session.setAttribute("usertype", null); |
||||
session.setAttribute("users", null); |
||||
session.setAttribute("userId", null); |
||||
session.setAttribute("userName", null); |
||||
|
||||
session.invalidate(); |
||||
response.sendRedirect(basePath+request.getParameter("ret")); |
||||
|
||||
%> |
@ -0,0 +1,35 @@ |
||||
<%@ page language="java" pageEncoding="UTF-8"%> |
||||
<%@ taglib uri="/struts-tags" prefix="s"%> |
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
||||
<% |
||||
String path = request.getContextPath(); |
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; |
||||
%> |
||||
|
||||
|
||||
<!DOCTYPE html> |
||||
<html lang="en" class="bg-dark"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<title>MESSAGES</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> |
||||
<link rel="stylesheet" href="<%=basePath %>resource/css/app.v2.css" type="text/css" /> |
||||
<link rel="stylesheet" href="<%=basePath %>resource/css/font.css" type="text/css" cache="false" /> |
||||
<!--[if lt IE 9]> <script src="js/ie/html5shiv.js" cache="false"></script> <script src="js/ie/respond.min.js" cache="false"></script> <script src="js/ie/excanvas.js" cache="false"></script> <![endif]--> |
||||
</head> |
||||
<body> |
||||
<!-- This is what you need --> |
||||
<script src="<%=basePath %>dist/sweetalert-dev.js"></script> |
||||
<link rel="stylesheet" href="<%=basePath %>dist/sweetalert.css"> |
||||
<!--.......................--> |
||||
|
||||
<script> |
||||
//swal("操作提醒","${message}","${state}"); |
||||
alert("${state}:${message}"); |
||||
setTimeout(function(){ |
||||
window.location.href = "<%=basePath%>${url}"; |
||||
},1000); |
||||
|
||||
</script> |
||||
</body> |
||||
</html> |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 240 KiB |
After Width: | Height: | Size: 242 KiB |
After Width: | Height: | Size: 242 KiB |
After Width: | Height: | Size: 243 KiB |
After Width: | Height: | Size: 242 KiB |
After Width: | Height: | Size: 563 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 830 KiB |
After Width: | Height: | Size: 9.1 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 2.4 KiB |