....
This commit is contained in:
parent
134a3c0583
commit
380a61cb4a
46
pom.xml
46
pom.xml
@ -54,16 +54,36 @@
|
|||||||
-->
|
-->
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- 引入log4j2依赖 -->
|
<!-- 引入log4j2依赖 -->
|
||||||
|
<!--<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
||||||
|
</dependency>-->
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<artifactId>spring-boot-starter-log4j2</artifactId>
|
<artifactId>log4j-core</artifactId>
|
||||||
|
<version>2.15.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j-impl -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
|
<artifactId>log4j-slf4j-impl</artifactId>
|
||||||
|
<version>2.15.0</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
|
<artifactId>log4j-api</artifactId>
|
||||||
|
<version>2.15.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||||
@ -86,14 +106,14 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Druid Spring Boot Starter -->
|
<!-- Druid Spring Boot Starter -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>druid-spring-boot-starter</artifactId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||||||
<version>${druid.springboot.version}</version>
|
<version>${druid.springboot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--mapper-->
|
<!--mapper-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>tk.mybatis</groupId>
|
<groupId>tk.mybatis</groupId>
|
||||||
@ -107,7 +127,7 @@
|
|||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--pagehelper-->
|
<!--pagehelper-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.pagehelper</groupId>
|
<groupId>com.github.pagehelper</groupId>
|
||||||
@ -139,19 +159,19 @@
|
|||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<artifactId>commons-lang3</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>fastjson</artifactId>
|
<artifactId>fastjson</artifactId>
|
||||||
<version>${fastjson.version}</version>
|
<version>${fastjson.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ognl</groupId>
|
<groupId>ognl</groupId>
|
||||||
<artifactId>ognl</artifactId>
|
<artifactId>ognl</artifactId>
|
||||||
<version>${ognl.version}</version>
|
<version>${ognl.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Aliyun SDK -->
|
<!-- Aliyun SDK -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.aliyun</groupId>
|
<groupId>com.aliyun</groupId>
|
||||||
@ -164,7 +184,7 @@
|
|||||||
<version>${aliyun-sdk-oss.version}</version>
|
<version>${aliyun-sdk-oss.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Aliyun SDK -->
|
<!-- Aliyun SDK -->
|
||||||
|
|
||||||
<!-- 整合 Elasticsearch -->
|
<!-- 整合 Elasticsearch -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
@ -172,7 +192,7 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- kindeditor start -->
|
<!-- kindeditor start -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-fileupload</groupId>
|
<groupId>commons-fileupload</groupId>
|
||||||
@ -207,9 +227,9 @@
|
|||||||
<artifactId>spring-boot-starter-test</artifactId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 测试用, 配置devtools实现热部署 -->
|
<!-- 测试用, 配置devtools实现热部署 -->
|
||||||
<!--
|
<!--
|
||||||
会导致ClassCastException异常
|
会导致ClassCastException异常
|
||||||
-->
|
-->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import com.nbclass.exception.ParameterException;
|
|||||||
import com.nbclass.util.HttpUtils;
|
import com.nbclass.util.HttpUtils;
|
||||||
import com.nbclass.util.JWTUtils;
|
import com.nbclass.util.JWTUtils;
|
||||||
import com.nbclass.vo.base.Result;
|
import com.nbclass.vo.base.Result;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
@ -18,6 +19,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -31,12 +33,13 @@ import java.util.UUID;
|
|||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("/wx")
|
@RequestMapping("/wx")
|
||||||
|
@Slf4j
|
||||||
public class WxController {
|
public class WxController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wx的AppID
|
* wx的AppID
|
||||||
*/
|
*/
|
||||||
private static final String appId = "wx013ea7738ce6991f";
|
private static final String appId = "wx35766a64d73d08a9";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wx的AppSecret
|
* wx的AppSecret
|
||||||
@ -78,8 +81,10 @@ public class WxController {
|
|||||||
*/
|
*/
|
||||||
@GetMapping("/getWxUser")
|
@GetMapping("/getWxUser")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public Result getWxUser(HttpServletRequest request){
|
public void getWxUser(HttpServletRequest request, HttpServletResponse response){
|
||||||
|
|
||||||
if(request.getParameter("code")==null){
|
if(request.getParameter("code")==null){
|
||||||
|
log.error("code:"+request.getParameter("code"));
|
||||||
throw new ParameterException("code参数异常!");
|
throw new ParameterException("code参数异常!");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,11 +96,24 @@ public class WxController {
|
|||||||
url = String.format(url,appId,AppSecret,code);
|
url = String.format(url,appId,AppSecret,code);
|
||||||
JSONObject jsonObject = HttpUtils.httpGet(url);
|
JSONObject jsonObject = HttpUtils.httpGet(url);
|
||||||
|
|
||||||
|
try {
|
||||||
|
if(jsonObject ==null || jsonObject.getIntValue("errcode") == 40029 || jsonObject.getIntValue("errcode") == 40163) { // invalid code 重新发起授权\
|
||||||
|
log.info("errcode == 40029|40163, 重新跳转授权 ......");
|
||||||
|
response.sendRedirect("http://test.szxgl.cn/cases/login/");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}catch (Exception e) {
|
||||||
|
log.error("授权失败:", e);
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
|
|
||||||
if(jsonObject.getString("access_token")==null){
|
if(jsonObject.getString("access_token")==null){
|
||||||
|
log.error("access_token:"+jsonObject.getString("access_token"));
|
||||||
throw new ParameterException("access_token参数异常!");
|
throw new ParameterException("access_token参数异常!");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(jsonObject.getString("openid")==null){
|
if(jsonObject.getString("openid")==null){
|
||||||
|
log.error("openid:"+jsonObject.getString("openid"));
|
||||||
throw new ParameterException("openid参数异常!");
|
throw new ParameterException("openid参数异常!");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,14 +144,14 @@ public class WxController {
|
|||||||
String subject = JSON.toJSONString(user);
|
String subject = JSON.toJSONString(user);
|
||||||
try {
|
try {
|
||||||
token = JWTUtils.createJWT(UUID.randomUUID().toString(), "admin", subject, 7200 * 1000, null);
|
token = JWTUtils.createJWT(UUID.randomUUID().toString(), "admin", subject, 7200 * 1000, null);
|
||||||
|
/*Map<String,Object> map = new HashMap<>();
|
||||||
|
map.put("token",token);
|
||||||
|
map.put("nickname",weiXiUser.getNickname());
|
||||||
|
map.put("headimgurl",weiXiUser.getHeadimgurl());*/
|
||||||
|
response.sendRedirect("http://test.szxgl.cn/cases/?token="+token+"&nickname="+weiXiUser.getNickname()+"&headimgurl"+weiXiUser.getHeadimgurl());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
Map<String,Object> map = new HashMap<>();
|
|
||||||
map.put("token",token);
|
|
||||||
map.put("nickname",weiXiUser.getNickname());
|
|
||||||
map.put("headimgurl",weiXiUser.getHeadimgurl());
|
|
||||||
|
|
||||||
|
|
||||||
//获取企业微信的access_token
|
//获取企业微信的access_token
|
||||||
/* String qyWxUrl = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=%s&corpsecret=%s";
|
/* String qyWxUrl = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=%s&corpsecret=%s";
|
||||||
@ -180,9 +198,6 @@ public class WxController {
|
|||||||
|
|
||||||
System.out.println(memberList.getUnionid());
|
System.out.println(memberList.getUnionid());
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
|
||||||
return Result.success(map);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -67,5 +67,3 @@ pagehelper:
|
|||||||
supportMethodsArguments: true
|
supportMethodsArguments: true
|
||||||
params: count=countSql
|
params: count=countSql
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -275,14 +275,15 @@ body .demo-class .layui-layer-btn .layui-layer-btn1{background:#f1f1f1;}
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table-btn{
|
.table-btn{
|
||||||
margin: 0 2px;
|
margin: 0px 2px;
|
||||||
border-radius: 10px;
|
border-radius: 4px;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.table-btn.table-btn-info{
|
.table-btn.table-btn-info{
|
||||||
color: #00c0ef;
|
color: white;
|
||||||
border: 1px solid #00c0ef;
|
border: 1px solid #00c0ef;
|
||||||
|
background-color: #00c0ef;
|
||||||
}
|
}
|
||||||
.table-btn.table-btn-info:hover{
|
.table-btn.table-btn-info:hover{
|
||||||
color: #00acd6;
|
color: #00acd6;
|
||||||
@ -305,8 +306,9 @@ body .demo-class .layui-layer-btn .layui-layer-btn1{background:#f1f1f1;}
|
|||||||
border: 1px solid #dc8d1e;
|
border: 1px solid #dc8d1e;
|
||||||
}
|
}
|
||||||
.table-btn.table-btn-danger{
|
.table-btn.table-btn-danger{
|
||||||
color: #dd4b39;
|
color: white;
|
||||||
border: 1px solid #dd4b39;
|
border: 1px solid #00c0ef;
|
||||||
|
background-color: #00c0ef;
|
||||||
}
|
}
|
||||||
.table-btn.table-btn-danger:hover{
|
.table-btn.table-btn-danger:hover{
|
||||||
color: #d73925;
|
color: #d73925;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -868,8 +868,8 @@
|
|||||||
|
|
||||||
// part of this is duplicated in i18n/defaults-en_US.js. Make sure to update both.
|
// part of this is duplicated in i18n/defaults-en_US.js. Make sure to update both.
|
||||||
Selectpicker.DEFAULTS = {
|
Selectpicker.DEFAULTS = {
|
||||||
noneSelectedText: 'Nothing selected',
|
noneSelectedText: '未选择任何内容',
|
||||||
noneResultsText: 'No results matched {0}',
|
noneResultsText: '没有匹配的结果 {0}',
|
||||||
countSelectedText: function (numSelected, numTotal) {
|
countSelectedText: function (numSelected, numTotal) {
|
||||||
return (numSelected == 1) ? '{0} item selected' : '{0} items selected';
|
return (numSelected == 1) ? '{0} item selected' : '{0} items selected';
|
||||||
},
|
},
|
||||||
@ -3177,4 +3177,4 @@
|
|||||||
|
|
||||||
|
|
||||||
}));
|
}));
|
||||||
//# sourceMappingURL=bootstrap-select.js.map
|
//# sourceMappingURL=bootstrap-select.js.map
|
||||||
File diff suppressed because one or more lines are too long
@ -11,15 +11,15 @@
|
|||||||
<label>案例编号: </label>
|
<label>案例编号: </label>
|
||||||
<input type="text" id="contentId" class="form-control" oninput = "value=value.replace(/[^\d]/g,'')">
|
<input type="text" id="contentId" class="form-control" oninput = "value=value.replace(/[^\d]/g,'')">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
<div class="btn-group">
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查 询</button>
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
</div>
|
<span aria-hidden="true"></span> 查 询
|
||||||
</div>
|
</button>
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
<button id="reset_query" type="button" class="btn table-btn-info">
|
||||||
<button type="button" id="reset_query" class="btn btn-info">重置</button>
|
<span aria-hidden="true"></span> 重置
|
||||||
</div>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,17 +6,93 @@
|
|||||||
</section>
|
</section>
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
|
<input class="hidden" id="name" name="username" th:value="${session.username}">
|
||||||
<div class="jax-box">
|
<div class="jax-box">
|
||||||
<form id="formSearch" class="form-inline form-search">
|
<form id="formSearch" class="form-inline form-search">
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>案例编号: </label>
|
<label>案例编号: </label>
|
||||||
<input type="text" id="case_number" class="form-control" oninput = "value=value.replace(/[^\d]/g,'')">
|
<input type="text" id="case_number" class="form-control" style="width: 100px" oninput = "value=value.replace(/[^\d]/g,'')">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>标题: </label>
|
<label>标题: </label>
|
||||||
<input type="text" id="title" class="form-control">
|
<input type="text" id="title" class="form-control" style="width: 100px">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>状态: </label>
|
||||||
|
<select id="status" class="form-control" style="width: 100px">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
<option value="1">待审核</option>
|
||||||
|
<option value="2">通过</option>
|
||||||
|
<option value="3">未通过</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>反馈次数: </label>
|
||||||
|
<select id="count" class="form-control" style="width: 100px">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
<option value="0">0</option>
|
||||||
|
<option value="1">非0</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>标签: </label>
|
||||||
|
<select id="tags" name="tagLists" class="js-example-basic-single" style="line-height: 23px !important;">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>品牌公司: </label>
|
||||||
|
<select id="brandCompany" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>广告公司: </label>
|
||||||
|
<select id="advertisingAgency" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>案例用途: </label>
|
||||||
|
<select id="purposeCase" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>创意形式: </label>
|
||||||
|
<select id="formCreative" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>案例类型: </label>
|
||||||
|
<select id="typeCase" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>节日事件: </label>
|
||||||
|
<select id="eventsFestival" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br/>
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>创建时间:</label>
|
<label>创建时间:</label>
|
||||||
<!--指定 date标记-->
|
<!--指定 date标记-->
|
||||||
@ -39,83 +115,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>品牌公司: </label>
|
|
||||||
<select id="brandCompany" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>状态: </label>
|
|
||||||
<select id="status" class="form-control">
|
|
||||||
<option value="">未提交</option>
|
|
||||||
<option value="1">待审核</option>
|
|
||||||
<option value="2">通过</option>
|
|
||||||
<option value="3">未通过</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>反馈次数: </label>
|
|
||||||
<select id="count" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
<option value="0">0</option>
|
|
||||||
<option value="1">非0</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>标签: </label>
|
|
||||||
<select id="tags" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>广告公司: </label>
|
|
||||||
<select id="advertisingAgency" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>案例用途: </label>
|
|
||||||
<select id="purposeCase" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>创意形式: </label>
|
|
||||||
<select id="formCreative" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>案例类型: </label>
|
|
||||||
<select id="typeCase" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>节日事件: </label>
|
|
||||||
<select id="eventsFestival" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>修改时间:</label>
|
<label>修改时间:</label>
|
||||||
<!--指定 date标记-->
|
<!--指定 date标记-->
|
||||||
@ -161,23 +161,41 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查 询</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
<div class="btn-group" style="margin-bottom: 10px">
|
||||||
<button type="button" id="reset_query" class="btn btn-info">重置</button>
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
</div>
|
<span aria-hidden="true"></span> 查 询
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button id="reset_query" type="button" class="btn table-btn-info">
|
||||||
|
<span aria-hidden="true"></span> 重置
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="jax-box jax-box-table">
|
<div class="jax-box jax-box-table">
|
||||||
|
<div id="toolbar" class="btn-group">
|
||||||
|
<shiro:hasPermission name="indexPage">
|
||||||
|
<button id="btn_add" type="button" class="btn btn-primary">
|
||||||
|
<span aria-hidden="true"></span> 新增
|
||||||
|
</button>
|
||||||
|
</shiro:hasPermission>
|
||||||
|
|
||||||
|
<shiro:hasPermission name="indexPage">
|
||||||
|
<button id="btn_batch_delete" type="button" class="btn btn-danger">
|
||||||
|
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span> 批量删除
|
||||||
|
</button>
|
||||||
|
</shiro:hasPermission>
|
||||||
|
|
||||||
|
<!--<shiro:hasPermission name="indexPage">
|
||||||
|
<button id="btn_synces" type="button" class="btn btn-info">
|
||||||
|
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> 同步数据到搜索引擎
|
||||||
|
</button>
|
||||||
|
</shiro:hasPermission>-->
|
||||||
|
</div>
|
||||||
<table id="table" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap"></table>
|
<table id="table" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap"></table>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -448,6 +466,7 @@
|
|||||||
$("#case_number").val("");
|
$("#case_number").val("");
|
||||||
$("#title").val("");
|
$("#title").val("");
|
||||||
$(".form-control").find("option:selected").attr("selected",false);
|
$(".form-control").find("option:selected").attr("selected",false);
|
||||||
|
$(".js-example-basic-single").val(null).trigger("change");
|
||||||
$("#createTime").find("input").val("");
|
$("#createTime").find("input").val("");
|
||||||
$("#createTimeSection").find("input").val("");
|
$("#createTimeSection").find("input").val("");
|
||||||
$("#updateTime").find("input").val("");
|
$("#updateTime").find("input").val("");
|
||||||
@ -557,6 +576,18 @@
|
|||||||
todayBtn: true//显示今日按钮
|
todayBtn: true//显示今日按钮
|
||||||
})
|
})
|
||||||
|
|
||||||
|
$('.js-example-basic-single').select2({
|
||||||
|
language: 'zh-CN',
|
||||||
|
width:100,
|
||||||
|
closeOnSelect:true
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<style type="text/css">
|
||||||
|
.table-btn.table-btn-danger {
|
||||||
|
color: white;
|
||||||
|
border: #00c0ef;
|
||||||
|
background-color: #00c0ef;!important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@ -7,10 +7,10 @@
|
|||||||
<body>
|
<body>
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
<!-- 为ECharts准备一个具备大小(宽高)的Dom -->
|
<!-- 为ECharts准备一个具备大小(宽高)的Dom -->
|
||||||
<div id="main" style="width: 1500px;height:800px;"></div><br/><br/><br/>
|
<div id="main" class="jax-box jax-box-table" style="width: 1500px;height:800px;background-color: white"></div><br/><br/><br/>
|
||||||
<div id="main2" style="width: 1500px;height:800px;"></div><br/><br/><br/>
|
<div id="main2" class="jax-box jax-box-table" style="width: 1500px;height:800px;background-color: white"></div><br/><br/><br/>
|
||||||
<div id="main3" style="width: 1500px;height:800px;"></div><br/><br/><br/>
|
<div id="main3" class="jax-box jax-box-table" style="width: 1500px;height:800px;background-color: white"></div><br/><br/><br/>
|
||||||
<div id="main4" style="width: 1500px;height:800px;"></div>
|
<div id="main4" class="jax-box jax-box-table" style="width: 1500px;height:800px;background-color: white"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function getCensus(){
|
function getCensus(){
|
||||||
var count = [];
|
var count = [];
|
||||||
@ -202,7 +202,20 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
<style type="text/css">
|
||||||
|
.jax-box{
|
||||||
|
border-radius: 3px;
|
||||||
|
background: #ffffff;
|
||||||
|
border: 1px solid #e6e7e7;
|
||||||
|
border-bottom: none;
|
||||||
|
margin-bottom: 50px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 25px;
|
||||||
|
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||||||
|
margin-left: 90px;
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<label class="col-sm-2 control-label">关联部门:</label>
|
<label class="col-sm-2 control-label">关联部门:</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select id="contentType26" name="tagLists" class="selectpicker" multiple>
|
<select id="contentType26" name="tagLists" class="selectpicker" multiple data-live-search="true">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -35,13 +35,13 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label">案例类型:</label>
|
<label class="col-sm-2 control-label">案例类型:</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select id="contentType18" name="tagLists" class="selectpicker">
|
<select id="contentType18" name="tagLists" class="selectpicker" data-live-search="true">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label class="col-sm-2 control-label">案例用途:</label>
|
<label class="col-sm-2 control-label">案例用途:</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select id="contentType19" name="tagLists" class="selectpicker" multiple>
|
<select id="contentType19" name="tagLists" class="selectpicker" multiple data-live-search="true">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -49,12 +49,12 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label">创意形式:</label>
|
<label class="col-sm-2 control-label">创意形式:</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select id="contentType20" name="tagLists" class="selectpicker" multiple>
|
<select id="contentType20" name="tagLists" class="selectpicker" multiple data-live-search="true">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label class="col-sm-2 control-label">节日事件:</label>
|
<label class="col-sm-2 control-label">节日事件:</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select id="contentType21" name="tagLists" class="selectpicker" multiple>
|
<select id="contentType21" name="tagLists" class="selectpicker" multiple data-live-search="true">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -62,12 +62,12 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label">品牌公司:</label>
|
<label class="col-sm-2 control-label">品牌公司:</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select id="contentType23" name="tagLists" class="selectpicker" multiple>
|
<select id="contentType23" name="tagLists" class="selectpicker" multiple data-live-search="true">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label class="col-sm-2 control-label">广告公司:</label>
|
<label class="col-sm-2 control-label">广告公司:</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select id="contentType24" name="tagLists" class="selectpicker" multiple>
|
<select id="contentType24" name="tagLists" class="selectpicker" multiple data-live-search="true">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -189,9 +189,9 @@ var caseType = [[${caseType}]];
|
|||||||
// });
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
$(".selectpicker").selectpicker({
|
/* $(".selectpicker").selectpicker({
|
||||||
noneSelectedText : '请选择'
|
noneSelectedText : '请选择',
|
||||||
});
|
});*/
|
||||||
|
|
||||||
function getDropDownBox(){
|
function getDropDownBox(){
|
||||||
//初始化下拉框
|
//初始化下拉框
|
||||||
@ -287,6 +287,7 @@ var caseType = [[${caseType}]];
|
|||||||
|
|
||||||
// 上传附件
|
// 上传附件
|
||||||
function uploadAttrFile() {
|
function uploadAttrFile() {
|
||||||
|
alert(111)
|
||||||
$('#newsForm').ajaxSubmit({
|
$('#newsForm').ajaxSubmit({
|
||||||
url: '[[@{/console/tool/oss/uploadFile}]]?category=attachment&caseType=[[${caseType}]]',
|
url: '[[@{/console/tool/oss/uploadFile}]]?category=attachment&caseType=[[${caseType}]]',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
|
|||||||
@ -13,81 +13,81 @@
|
|||||||
<label>案例编号: </label>
|
<label>案例编号: </label>
|
||||||
<input type="text" id="case_number" class="form-control" style="width: 100px" oninput = "value=value.replace(/[^\d]/g,'')">
|
<input type="text" id="case_number" class="form-control" style="width: 100px" oninput = "value=value.replace(/[^\d]/g,'')">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>标题: </label>
|
<label>标题: </label>
|
||||||
<input type="text" id="title" class="form-control" style="width: 100px">
|
<input type="text" id="title" class="form-control" style="width: 100px">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>品牌公司: </label>
|
<label>状态: </label>
|
||||||
<select id="brandCompany" name="tagLists" class="form-control">
|
<select id="status" class="form-control" style="width: 100px">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
|
<option value="1">待审核</option>
|
||||||
|
<option value="2">通过</option>
|
||||||
|
<option value="3">未通过</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>广告公司: </label>
|
|
||||||
<select id="advertisingAgency" name="tagLists" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<label>状态: </label>
|
|
||||||
<select id="status" class="form-control">
|
|
||||||
<option value="">请选择</option>
|
|
||||||
<option value="1">待审核</option>
|
|
||||||
<option value="2">通过</option>
|
|
||||||
<option value="3">未通过</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>反馈次数: </label>
|
<label>反馈次数: </label>
|
||||||
<select id="count" class="form-control">
|
<select id="count" class="form-control" style="width: 100px">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
<option value="0">0</option>
|
<option value="0">0</option>
|
||||||
<option value="1">非0</option>
|
<option value="1">非0</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>标签: </label>
|
<label>标签: </label>
|
||||||
<select id="tags" name="tagLists" class="form-control">
|
<select id="tags" name="tagLists" class="js-example-basic-single" style="line-height: 23px !important;">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>品牌公司: </label>
|
||||||
|
<select id="brandCompany" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
|
<label>广告公司: </label>
|
||||||
|
<select id="advertisingAgency" name="tagLists" class="js-example-basic-single">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>案例用途: </label>
|
<label>案例用途: </label>
|
||||||
<select id="purposeCase" name="tagLists" class="form-control">
|
<select id="purposeCase" name="tagLists" class="js-example-basic-single">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>创意形式: </label>
|
<label>创意形式: </label>
|
||||||
<select id="formCreative" name="tagLists" class="form-control">
|
<select id="formCreative" name="tagLists" class="js-example-basic-single">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>案例类型: </label>
|
<label>案例类型: </label>
|
||||||
<select id="typeCase" name="tagLists" class="form-control">
|
<select id="typeCase" name="tagLists" class="js-example-basic-single">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<div class="form-group" style="margin-bottom: 10px">
|
||||||
<label>节日事件: </label>
|
<label>节日事件: </label>
|
||||||
<select id="eventsFestival" name="tagLists" class="form-control">
|
<select id="eventsFestival" name="tagLists" class="js-example-basic-single">
|
||||||
<option value="">请选择</option>
|
<option value="">请选择</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
@ -161,19 +161,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="btn-group" style="margin-bottom: 10px">
|
||||||
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
|
<span aria-hidden="true"></span> 查 询
|
||||||
|
</button>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
<button id="reset_query" type="button" class="btn table-btn-info">
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
<span aria-hidden="true"></span> 重置
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查 询</button>
|
</button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" style="margin-bottom: 10px">
|
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
|
||||||
<button type="button" id="reset_query" class="btn btn-info">重置</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -497,6 +495,7 @@
|
|||||||
$("#case_number").val("");
|
$("#case_number").val("");
|
||||||
$("#title").val("");
|
$("#title").val("");
|
||||||
$(".form-control").find("option:selected").attr("selected",false);
|
$(".form-control").find("option:selected").attr("selected",false);
|
||||||
|
$(".js-example-basic-single").val(null).trigger("change");
|
||||||
$("#createTime").find("input").val("");
|
$("#createTime").find("input").val("");
|
||||||
$("#createTimeSection").find("input").val("");
|
$("#createTimeSection").find("input").val("");
|
||||||
$("#updateTime").find("input").val("");
|
$("#updateTime").find("input").val("");
|
||||||
@ -622,5 +621,22 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
});*/
|
});*/
|
||||||
|
// In your Javascript (external .js resource or <script> tag)
|
||||||
|
|
||||||
|
$('.js-example-basic-single').select2({
|
||||||
|
language: 'zh-CN',
|
||||||
|
width:100,
|
||||||
|
closeOnSelect:true
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.table-btn.table-btn-danger {
|
||||||
|
color: white;
|
||||||
|
border: #00c0ef;
|
||||||
|
background-color: #00c0ef;!important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-3 control-label">字典Key <span style="color: red">*</span>:</label>
|
<label class="col-sm-3 control-label">字典Key <span style="color: red">*</span>:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
@ -29,14 +29,14 @@
|
|||||||
<input name="description" class="form-control" placeholder="" th:value="${description}">
|
<input name="description" class="form-control" placeholder="" th:value="${description}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-3 control-label"></label>
|
<label class="col-sm-3 control-label"></label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<table id="table_dictitem"></table>
|
<table id="table_dictitem"></table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
<!-- /.box-body -->
|
||||||
<div class="box-footer">
|
<div class="box-footer">
|
||||||
@ -123,8 +123,8 @@
|
|||||||
}else{
|
}else{
|
||||||
$('#toolbar_dictitem').hide();
|
$('#toolbar_dictitem').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function editDataItem(id) {
|
function editDataItem(id) {
|
||||||
$('#data_dict_item_form')[0].reset();
|
$('#data_dict_item_form')[0].reset();
|
||||||
if(id > 0){
|
if(id > 0){
|
||||||
@ -140,7 +140,7 @@
|
|||||||
$("#data_dict_item_modal").modal("show");
|
$("#data_dict_item_modal").modal("show");
|
||||||
$('#data_dict_item_form input[name="value"]').focus();
|
$('#data_dict_item_form input[name="value"]').focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function deleteDataItem(id){
|
function deleteDataItem(id){
|
||||||
Core.confirm("确定删除该记录?", function () {
|
Core.confirm("确定删除该记录?", function () {
|
||||||
Core.postAjax("[[@{/console/datadict/deleteDataDictItem}]]",{"id":id},function (data) {
|
Core.postAjax("[[@{/console/datadict/deleteDataDictItem}]]",{"id":id},function (data) {
|
||||||
@ -153,16 +153,16 @@
|
|||||||
},"POST");
|
},"POST");
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
$("#btn_add_dictitem").click(function(){
|
$("#btn_add_dictitem").click(function(){
|
||||||
editDataItem(-1);
|
editDataItem(-1);
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".btn_close_data_dict_item_modal").click(function(){
|
$(".btn_close_data_dict_item_modal").click(function(){
|
||||||
$("#data_dict_item_modal").modal("hide");
|
$("#data_dict_item_modal").modal("hide");
|
||||||
});
|
});
|
||||||
|
|
||||||
// 保存字典子项
|
// 保存字典子项
|
||||||
$("#btn_save_data_dict_item").click(function(){
|
$("#btn_save_data_dict_item").click(function(){
|
||||||
if (doValidForm(data_dict_item_form)) {
|
if (doValidForm(data_dict_item_form)) {
|
||||||
@ -179,8 +179,8 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//
|
//
|
||||||
$("#btn_save").on('click', function () {
|
$("#btn_save").on('click', function () {
|
||||||
if (doValidForm(dataDictForm)) {
|
if (doValidForm(dataDictForm)) {
|
||||||
Core.mask("#btn_save");
|
Core.mask("#btn_save");
|
||||||
@ -198,4 +198,4 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
<label>字典名: </label>
|
<label>字典名: </label>
|
||||||
<input type="text" id="s_name" class="form-control" placeholder="这里输入关键字">
|
<input type="text" id="s_name" class="form-control" placeholder="这里输入关键字">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>状态: </label>
|
<label>状态: </label>
|
||||||
<select id="s_isvalid" class="form-control">
|
<select id="s_isvalid" class="form-control">
|
||||||
@ -20,14 +21,15 @@
|
|||||||
<option value="0">无效</option>
|
<option value="0">无效</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
<div class="btn-group">
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查 询</button>
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
</div>
|
<span aria-hidden="true"></span> 查 询
|
||||||
</div>
|
</button>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="jax-box jax-box-table">
|
<div class="jax-box jax-box-table">
|
||||||
<div id="toolbar" class="btn-group">
|
<div id="toolbar" class="btn-group">
|
||||||
<shiro:hasPermission name="datadict">
|
<shiro:hasPermission name="datadict">
|
||||||
@ -88,7 +90,7 @@
|
|||||||
queryParams : queryParams
|
queryParams : queryParams
|
||||||
}
|
}
|
||||||
Core.initTable(options);
|
Core.initTable(options);
|
||||||
|
|
||||||
//查询参数
|
//查询参数
|
||||||
function queryParams(params) {
|
function queryParams(params) {
|
||||||
let temp = {
|
let temp = {
|
||||||
@ -99,12 +101,12 @@
|
|||||||
};
|
};
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 预览
|
// 预览
|
||||||
function previewNews(url) {
|
function previewNews(url) {
|
||||||
window.open(url, "_blank");
|
window.open(url, "_blank");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改
|
// 修改
|
||||||
function editPage(id) {
|
function editPage(id) {
|
||||||
Core.load("#news-edit-window","[[@{/console/datadict/edit}]]?id="+id,function(){
|
Core.load("#news-edit-window","[[@{/console/datadict/edit}]]?id="+id,function(){
|
||||||
@ -132,7 +134,7 @@
|
|||||||
$("#btn_query").click(function(){
|
$("#btn_query").click(function(){
|
||||||
Core.refreshTable("#table");
|
Core.refreshTable("#table");
|
||||||
});
|
});
|
||||||
|
|
||||||
// 新增
|
// 新增
|
||||||
$("#btn_add").click(function(){
|
$("#btn_add").click(function(){
|
||||||
editPage(-1);
|
editPage(-1);
|
||||||
@ -152,4 +154,4 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
<title>案例管理系统</title>
|
<title>案例管理系统</title>
|
||||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||||
<link rel="stylesheet" th:href="@{/libs/bootstrap/bootstrap.min.css}"/>
|
<link rel="stylesheet" th:href="@{/libs/bootstrap/bootstrap.min.css}"/>
|
||||||
<link rel="stylesheet" th:href="@{/libs/bootstrap/bootstrap-select.min.css}"/>
|
<link rel="stylesheet" th:href="@{/libs/bootstrap-select/bootstrap-select.min.css}"/>
|
||||||
<link rel="stylesheet" th:href="@{/libs/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css}"/>
|
<link rel="stylesheet" th:href="@{/libs/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css}"/>
|
||||||
<link rel="stylesheet" th:href="@{/libs/font-awesome/font-awesome.min.css}"/>
|
<link rel="stylesheet" th:href="@{/libs/font-awesome/font-awesome.min.css}"/>
|
||||||
<link rel="stylesheet" th:href="@{/libs/adminlte/css/AdminLTE.min.css}"/>
|
<link rel="stylesheet" th:href="@{/libs/adminlte/css/AdminLTE.min.css}"/>
|
||||||
@ -19,13 +19,20 @@
|
|||||||
<!-- tagsinput引用css -->
|
<!-- tagsinput引用css -->
|
||||||
<link rel="stylesheet" th:href="@{https://s0.pstatp.com/cdn/expire-1-M/jqueryui/1.12.1/jquery-ui.min.css}"/>
|
<link rel="stylesheet" th:href="@{https://s0.pstatp.com/cdn/expire-1-M/jqueryui/1.12.1/jquery-ui.min.css}"/>
|
||||||
<link rel="stylesheet" th:href="@{https://s0.pstatp.com/cdn/expire-1-M/jquery-tagsinput/1.3.6/jquery.tagsinput.min.css}"/>
|
<link rel="stylesheet" th:href="@{https://s0.pstatp.com/cdn/expire-1-M/jquery-tagsinput/1.3.6/jquery.tagsinput.min.css}"/>
|
||||||
|
<!-- <link rel="stylesheet" th:href="@{https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css}"/>-->
|
||||||
|
<link rel="stylesheet" th:href="@{/libs/select2/select2.min.css}"/>
|
||||||
|
|
||||||
<link rel="stylesheet" th:href="@{/css/common.css}"/>
|
<link rel="stylesheet" th:href="@{/css/common.css}"/>
|
||||||
<script th:src="@{/libs/jquery/jquery.min.js}"></script>
|
<script th:src="@{/libs/jquery/jquery.min.js}"></script>
|
||||||
<script th:src="@{/libs/bootstrap/bootstrap.min.js}"></script>
|
<script th:src="@{/libs/bootstrap/bootstrap.min.js}"></script>
|
||||||
<script th:src="@{/libs/bootstrap/bootstrap-select.js}"></script>
|
<script th:src="@{/libs/bootstrap-select/bootstrap-select.js}"></script>
|
||||||
|
<script th:src="@{/libs/bootstrap-select/defaults-zh_CN.min.js}"></script>
|
||||||
<script th:src="@{/libs/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js}"></script>
|
<script th:src="@{/libs/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js}"></script>
|
||||||
<script th:src="@{/libs/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js}"></script>
|
<script th:src="@{/libs/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js}"></script>
|
||||||
|
<!-- <script th:src="@{https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js}"></script>-->
|
||||||
|
<!-- <script th:src="@{https://cdn.bootcdn.net/ajax/libs/select2/4.1.0-rc.0/js/i18n/zh-CN.min.js}"></script>-->
|
||||||
|
<script th:src="@{/libs/select2/select2.min.js}"></script>
|
||||||
|
<script th:src="@{/libs/select2/zh-CN.js}"></script>
|
||||||
<!-- <script th:src="@{/libs/pace/pace.js}"></script> 进度插件 -->
|
<!-- <script th:src="@{/libs/pace/pace.js}"></script> 进度插件 -->
|
||||||
<script th:src="@{/libs/jquery/jquery.slimscroll.min.js}"></script>
|
<script th:src="@{/libs/jquery/jquery.slimscroll.min.js}"></script>
|
||||||
<script th:src="@{/libs/jquery/fastclick.min.js}"></script>
|
<script th:src="@{/libs/jquery/fastclick.min.js}"></script>
|
||||||
@ -33,7 +40,6 @@
|
|||||||
<script th:src="@{/libs/layer/layer.js}"></script>
|
<script th:src="@{/libs/layer/layer.js}"></script>
|
||||||
<script th:src="@{/libs/bootstrap-table/js/bootstrap-table.min.js}"></script>
|
<script th:src="@{/libs/bootstrap-table/js/bootstrap-table.min.js}"></script>
|
||||||
<script th:src="@{/libs/bootstrap-table/js/bootstrap-table-zh-CN.min.js}"></script>
|
<script th:src="@{/libs/bootstrap-table/js/bootstrap-table-zh-CN.min.js}"></script>
|
||||||
<script th:src="@{/libs/bootstrap-table/js/bootstrap-table-zh-CN.min.js}"></script>
|
|
||||||
<script th:src="@{/libs/treegrid/jquery.treegrid.min.js}"></script>
|
<script th:src="@{/libs/treegrid/jquery.treegrid.min.js}"></script>
|
||||||
<script th:src="@{/libs/treegrid/jquery.treegrid.extension.js}"></script>
|
<script th:src="@{/libs/treegrid/jquery.treegrid.extension.js}"></script>
|
||||||
<script th:src="@{/libs/treegrid/tree.table.js}"></script>
|
<script th:src="@{/libs/treegrid/tree.table.js}"></script>
|
||||||
@ -51,7 +57,7 @@
|
|||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div th:replace="fragments/navbar :: navbar"></div>
|
<div th:replace="fragments/navbar :: navbar"></div>
|
||||||
<div th:replace="fragments/sidebar :: sidebar"></div>
|
<div th:replace="fragments/sidebar :: sidebar"></div>
|
||||||
<div id="content" class="content-wrapper" >
|
<div id="content" class="content-wrapper">
|
||||||
</div>
|
</div>
|
||||||
<aside class="control-sidebar control-sidebar-dark">
|
<aside class="control-sidebar control-sidebar-dark">
|
||||||
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
|
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
|
||||||
|
|||||||
@ -8,20 +8,20 @@
|
|||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="jax-box">
|
<div class="jax-box">
|
||||||
<form id="formSearch" class="form-horizontal">
|
<form id="formSearch" class="form-inline form-search">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-md-3 col-sm-6 col-xs-9">
|
<label for="username">用户名:</label>
|
||||||
<label class="control-label col-xs-4" for="username">用户名:</label>
|
<input type="text" class="form-control" id="username">
|
||||||
<div class="col-xs-8">
|
|
||||||
<input type="text" class="form-control" id="username">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<shiro:hasPermission name="onlineUser:list">
|
|
||||||
<div class="col-md-1 col-sm-6 col-xs-2" style="text-align:left;">
|
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查询</button>
|
|
||||||
</div>
|
|
||||||
</shiro:hasPermission>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<shiro:hasPermission name="onlineUser:list">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
|
<span aria-hidden="true"></span> 查 询
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</shiro:hasPermission>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="jax-box jax-box-table">
|
<div class="jax-box jax-box-table">
|
||||||
@ -128,4 +128,4 @@
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -8,22 +8,20 @@
|
|||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="jax-box">
|
<div class="jax-box">
|
||||||
<form id="formSearch" class="form-horizontal">
|
<form id="formSearch" class="form-inline form-search">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-md-5 col-xs-8">
|
<label for="roleName">角色名称:</label>
|
||||||
<label class="control-label col-xs-4" for="roleName">角色名称:</label>
|
<input type="text" class="form-control" id="roleName">
|
||||||
<div class="col-xs-8">
|
|
||||||
<input type="text" class="form-control" id="roleName">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<shiro:hasPermission name="role:list">
|
|
||||||
<div class="col-md-5 col-xs-4 " style="text-align:left;">
|
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查询</button>
|
|
||||||
</div>
|
|
||||||
</shiro:hasPermission>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<shiro:hasPermission name="role:list">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
|
<span aria-hidden="true"></span> 查 询
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</shiro:hasPermission>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="jax-box jax-box-table">
|
<div class="jax-box jax-box-table">
|
||||||
@ -282,4 +280,4 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
<label>关键字: </label>
|
<label>关键字: </label>
|
||||||
<input type="text" id="s_description" class="form-control" placeholder="这里输入关键字">
|
<input type="text" id="s_description" class="form-control" placeholder="这里输入关键字">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>日志类型: </label>
|
<label>日志类型: </label>
|
||||||
<select id="s_type" class="form-control">
|
<select id="s_type" class="form-control">
|
||||||
@ -22,14 +23,15 @@
|
|||||||
<option value="4">案例管理</option>
|
<option value="4">案例管理</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-1 col-sm-3" style="text-align:left;">
|
<div class="btn-group" >
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查 询</button>
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
</div>
|
<span aria-hidden="true"></span> 查 询
|
||||||
</div>
|
</button>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="jax-box jax-box-table">
|
<div class="jax-box jax-box-table">
|
||||||
<div id="toolbar" class="btn-group">
|
<div id="toolbar" class="btn-group">
|
||||||
<shiro:hasPermission name="syslog">
|
<shiro:hasPermission name="syslog">
|
||||||
@ -51,7 +53,7 @@
|
|||||||
{field: 'operator', title: '操作者', align : "left"},
|
{field: 'operator', title: '操作者', align : "left"},
|
||||||
{field: 'ipaddr', title: 'IP地址', align : "left"},
|
{field: 'ipaddr', title: 'IP地址', align : "left"},
|
||||||
{field: 'description', title: '描述', align : "center"},
|
{field: 'description', title: '描述', align : "center"},
|
||||||
{field : 'operation', title : '操作', align : "left", width: '102px', formatter: function(value, row, index) {
|
{field : 'operation', title : '操作', align : "center", width: '102px', formatter: function(value, row, index) {
|
||||||
let delHtml = delFlag=="true" ? ' <a class="table-btn table-btn-danger" href="javascript:void(0)" onclick="deleteAction('+row.id+',1)">删除</a>' : '';
|
let delHtml = delFlag=="true" ? ' <a class="table-btn table-btn-danger" href="javascript:void(0)" onclick="deleteAction('+row.id+',1)">删除</a>' : '';
|
||||||
return delHtml;
|
return delHtml;
|
||||||
}}
|
}}
|
||||||
@ -65,7 +67,7 @@
|
|||||||
queryParams : queryParams
|
queryParams : queryParams
|
||||||
}
|
}
|
||||||
Core.initTable(options);
|
Core.initTable(options);
|
||||||
|
|
||||||
//查询参数
|
//查询参数
|
||||||
function queryParams(params) {
|
function queryParams(params) {
|
||||||
let temp = {
|
let temp = {
|
||||||
@ -112,4 +114,4 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -8,32 +8,32 @@
|
|||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="jax-box">
|
<div class="jax-box">
|
||||||
<form id="formSearch" class="form-horizontal form-search">
|
<form id="formSearch" class="form-inline form-search">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-md-4 col-sm-6">
|
<label for="username">用户名:</label>
|
||||||
<label class="control-label col-xs-4" for="username">用户名:</label>
|
<input type="text" class="form-control" id="username">
|
||||||
<div class="col-xs-8">
|
|
||||||
<input type="text" class="form-control" id="username">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4 col-sm-6">
|
|
||||||
<label class="control-label col-xs-4" for="email">邮箱:</label>
|
|
||||||
<div class="col-xs-8">
|
|
||||||
<input type="text" class="form-control" id="email">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-3 col-sm-6">
|
|
||||||
<label class="control-label col-xs-4" for="phone">电话:</label>
|
|
||||||
<div class="col-xs-8">
|
|
||||||
<input type="text" class="form-control" id="phone">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<shiro:hasPermission name="user:list">
|
|
||||||
<div class="col-md-1 col-sm-6 " style="text-align:left;">
|
|
||||||
<button type="button" id="btn_query" class="btn btn-info">查询</button>
|
|
||||||
</div>
|
|
||||||
</shiro:hasPermission>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="email">邮箱:</label>
|
||||||
|
<input type="text" class="form-control" id="email">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="phone">电话:</label>
|
||||||
|
<input type="text" class="form-control" id="phone">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<shiro:hasPermission name="user:list">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button id="btn_query" type="button" class="btn table-btn-info">
|
||||||
|
<span aria-hidden="true"></span> 查 询
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</shiro:hasPermission>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="jax-box jax-box-table">
|
<div class="jax-box jax-box-table">
|
||||||
@ -185,7 +185,7 @@
|
|||||||
field: 'rolename',
|
field: 'rolename',
|
||||||
title: '角色',
|
title: '角色',
|
||||||
align : "center"
|
align : "center"
|
||||||
/*
|
/*
|
||||||
,formatter:function(value,row, index){
|
,formatter:function(value,row, index){
|
||||||
var roles="";
|
var roles="";
|
||||||
$.each(value,function (i,item) {
|
$.each(value,function (i,item) {
|
||||||
@ -265,7 +265,7 @@
|
|||||||
},"get")
|
},"get")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 重置密码
|
// 重置密码
|
||||||
function resetUser(userid) {
|
function resetUser(userid) {
|
||||||
layer.prompt({
|
layer.prompt({
|
||||||
@ -288,8 +288,8 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*分配角色-列表查询*/
|
/*分配角色-列表查询*/
|
||||||
function assignRoleList(userId) {
|
function assignRoleList(userId) {
|
||||||
userIdChecked=userId;
|
userIdChecked=userId;
|
||||||
@ -459,4 +459,4 @@
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
id:"login_container",
|
id:"login_container",
|
||||||
appid: "wx013ea7738ce6991f",
|
appid: "wx013ea7738ce6991f",
|
||||||
scope: "snsapi_login", // 固定参数,微信官方提供的解析参数
|
scope: "snsapi_login", // 固定参数,微信官方提供的解析参数
|
||||||
redirect_uri: "http://demo.xfhd.net/cases/wx/getWxUser", // 回调url,就是你扫码后,微信官方返回一些参数(code,state),然后调用你这里指定的方法
|
redirect_uri: "http://test.szxgl.cn/cases/wx/getWxUser", // 回调url,就是你扫码后,微信官方返回一些参数(code,state),然后调用你这里指定的方法
|
||||||
state: "", // 该参数可以不写
|
state: "", // 该参数可以不写
|
||||||
style: "black", //二维码黑白风格,该参数可以不写
|
style: "black", //二维码黑白风格,该参数可以不写
|
||||||
href: "" // 该参数可以不写
|
href: "" // 该参数可以不写
|
||||||
@ -28,4 +28,4 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="login_container"></div>
|
<div id="login_container"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user