Jelajahi Sumber

增加系统参数设置

x1ongzhu 6 tahun lalu
induk
melakukan
668a7e80b2
84 mengubah file dengan 1782 tambahan dan 356 penghapusan
  1. 33 0
      src/main/java/com/izouma/awesomeadmin/dao/SystemVariableMapper.java
  2. 348 0
      src/main/java/com/izouma/awesomeadmin/dao/SystemVariableMapper.xml
  3. 116 0
      src/main/java/com/izouma/awesomeadmin/model/SystemVariable.java
  4. 31 0
      src/main/java/com/izouma/awesomeadmin/service/SystemVariableService.java
  5. 158 0
      src/main/java/com/izouma/awesomeadmin/service/impl/SystemVariableServiceImpl.java
  6. 19 3
      src/main/java/com/izouma/awesomeadmin/web/PlayerInfoController.java
  7. 174 0
      src/main/java/com/izouma/awesomeadmin/web/SystemVariableController.java
  8. 111 0
      src/main/vue/src/pages/SystemVariable.vue
  9. 439 0
      src/main/vue/src/pages/SystemVariables.vue
  10. 350 350
      src/main/vue/src/router/index.js
  11. 1 1
      src/main/webapp/WEB-INF/html/admin.html
  12. 0 0
      src/main/webapp/static/css/admin.253da05c71e6d9f8e0f461ce4b495a60.css
  13. TEMPAT SAMPAH
      src/main/webapp/static/favicon.ico
  14. 0 0
      src/main/webapp/static/js/10.d33e24f55d8ebf7332b6.js
  15. 0 0
      src/main/webapp/static/js/10.f6b8796286d0af150c9e.js
  16. 0 0
      src/main/webapp/static/js/11.f4f87660db5190d26114.js
  17. 0 0
      src/main/webapp/static/js/12.69aea40e38a6cc16fa37.js
  18. 0 0
      src/main/webapp/static/js/13.545b34f8f6bf443c2142.js
  19. 0 0
      src/main/webapp/static/js/14.58b6e0f57e77335a4abd.js
  20. 0 0
      src/main/webapp/static/js/15.8c50e3c498090c43aafd.js
  21. 0 0
      src/main/webapp/static/js/16.1f1ee121744de5862917.js
  22. 0 0
      src/main/webapp/static/js/17.021861f6f16ce63dfff1.js
  23. 0 0
      src/main/webapp/static/js/17.b6af288a4992cab0b962.js
  24. 0 0
      src/main/webapp/static/js/18.a975091c4bfa4bee8391.js
  25. 0 0
      src/main/webapp/static/js/19.9df416c6a29ae8970fcb.js
  26. 0 0
      src/main/webapp/static/js/20.3b9efabfe9b15f63f866.js
  27. 0 0
      src/main/webapp/static/js/20.e5fbf44150153c2982f7.js
  28. 0 0
      src/main/webapp/static/js/21.8b36352305ff62c2ca6b.js
  29. 0 0
      src/main/webapp/static/js/21.fffa39d78724bd89a299.js
  30. 0 0
      src/main/webapp/static/js/22.fefe1fc3dc7ec42459fd.js
  31. 0 0
      src/main/webapp/static/js/23.fc6d6adaaab28c751a75.js
  32. 0 0
      src/main/webapp/static/js/24.fb275acd4d97086cfb57.js
  33. 0 0
      src/main/webapp/static/js/25.4bd6a96c7b2cee3438b7.js
  34. 0 0
      src/main/webapp/static/js/26.96106cff0f625879d62e.js
  35. 0 0
      src/main/webapp/static/js/27.588829ccfe63291e2aee.js
  36. 0 0
      src/main/webapp/static/js/28.ffd408bd20a84c370a93.js
  37. 0 0
      src/main/webapp/static/js/29.432a811a888557c082a5.js
  38. 0 0
      src/main/webapp/static/js/30.f20e5e61c02037c974b5.js
  39. 0 0
      src/main/webapp/static/js/31.f04db97f440435b158da.js
  40. 0 0
      src/main/webapp/static/js/32.a03d7d27b462e1e033df.js
  41. 0 0
      src/main/webapp/static/js/33.c2e390525d6a9e4ecc5d.js
  42. 0 0
      src/main/webapp/static/js/34.56d9159121a14f9c09b7.js
  43. 0 0
      src/main/webapp/static/js/35.5da7135471f39c4d98fa.js
  44. 0 0
      src/main/webapp/static/js/36.b9761d066e9dcf265edc.js
  45. 0 0
      src/main/webapp/static/js/37.b282ec0f6889b733acaa.js
  46. 0 0
      src/main/webapp/static/js/38.98e35887404e6a2ea814.js
  47. 0 0
      src/main/webapp/static/js/38.f331c44d0159027bb488.js
  48. 0 0
      src/main/webapp/static/js/39.b2294725fc991c4eae27.js
  49. 1 1
      src/main/webapp/static/js/40.40edd8adc98817d108d5.js
  50. 0 0
      src/main/webapp/static/js/41.f48f4ad860581ad62e04.js
  51. 0 0
      src/main/webapp/static/js/42.678b91f8cca9d4f9f2c8.js
  52. 0 0
      src/main/webapp/static/js/42.f931a20f0fdc66e4ede8.js
  53. 0 0
      src/main/webapp/static/js/43.f3ace30282a81e5a8b85.js
  54. 0 0
      src/main/webapp/static/js/44.00435e82313f93d1ef2c.js
  55. 0 0
      src/main/webapp/static/js/45.05f43016b80afcd0e4ca.js
  56. 0 0
      src/main/webapp/static/js/45.595ada3eab34604746a7.js
  57. 0 0
      src/main/webapp/static/js/46.401185758c9919805ca7.js
  58. 0 0
      src/main/webapp/static/js/47.ed2f3a2aaae92457f6ea.js
  59. 0 0
      src/main/webapp/static/js/48.4f1bea4fb71ff05a0fa8.js
  60. 0 0
      src/main/webapp/static/js/49.44364c72a5c1da67377d.js
  61. 0 0
      src/main/webapp/static/js/50.7e2d025a0e5482129a12.js
  62. 1 1
      src/main/webapp/static/js/51.5465cdff098abda116a3.js
  63. 0 0
      src/main/webapp/static/js/52.7c647ec1f67c94b7549a.js
  64. 0 0
      src/main/webapp/static/js/53.4c27a74720114f658922.js
  65. 0 0
      src/main/webapp/static/js/54.78a32fcae5fe6ceddb77.js
  66. 0 0
      src/main/webapp/static/js/55.22466f746cde201fff02.js
  67. 0 0
      src/main/webapp/static/js/56.f32abcdf66ec68aa9456.js
  68. 0 0
      src/main/webapp/static/js/56.f6167289624af3964828.js
  69. 0 0
      src/main/webapp/static/js/57.6da90cffced1715a284b.js
  70. 0 0
      src/main/webapp/static/js/58.04dc2165441aaa60d7e5.js
  71. 0 0
      src/main/webapp/static/js/58.6115b77d73b42e736757.js
  72. 0 0
      src/main/webapp/static/js/59.740be8c3f19099fe649e.js
  73. 0 0
      src/main/webapp/static/js/60.5be916613335ce606dac.js
  74. 0 0
      src/main/webapp/static/js/61.289e2736fdf391fedd5b.js
  75. 0 0
      src/main/webapp/static/js/62.f0ce4ef29b8739807be1.js
  76. 0 0
      src/main/webapp/static/js/63.61fa07b657b84c3da741.js
  77. 0 0
      src/main/webapp/static/js/64.2f316dde9c7df80ddbad.js
  78. 0 0
      src/main/webapp/static/js/7.c2f4fd5ed384b4b08e6a.js
  79. 0 0
      src/main/webapp/static/js/9.ff545f70be522ea9a7bd.js
  80. 0 0
      src/main/webapp/static/js/admin.124a4b749c4674726feb.js
  81. 0 0
      src/main/webapp/static/js/admin.33c54d16a8dd34d688dc.js
  82. 0 0
      src/main/webapp/static/js/manifest.9355c14ffb88881102dc.js
  83. 0 0
      src/main/webapp/static/js/manifest.b705e5c33c974a563663.js
  84. 0 0
      src/main/webapp/static/js/vendor.e2a2b7cadd72ba896b4a.js

+ 33 - 0
src/main/java/com/izouma/awesomeadmin/dao/SystemVariableMapper.java

@@ -0,0 +1,33 @@
+package com.izouma.awesomeadmin.dao;
+
+import java.util.*;
+import com.izouma.awesomeadmin.datasource.DataSource;
+import org.springframework.stereotype.Repository;
+import com.izouma.awesomeadmin.model.SystemVariable;
+
+
+/**
+*  Dao接口
+*/
+@Repository("com.zoumaframe.dao.SystemVariableMapper")
+public interface SystemVariableMapper{
+
+    int deleteByPrimaryKey(Integer id);
+
+    int insertSelective(SystemVariable record);
+
+    SystemVariable selectByPrimaryKey(Integer id);
+
+    int updateByPrimaryKeySelective(SystemVariable record);
+
+    List<SystemVariable> queryAllSystemVariable(SystemVariable record);
+
+    List<SystemVariable> querySystemVariableByPage(Map<String, Object> parameter);
+
+    int delete(SystemVariable record);
+
+    SystemVariable querySystemVariable(SystemVariable record);
+
+    List<SystemVariable> query(SystemVariable record);
+}
+

+ 348 - 0
src/main/java/com/izouma/awesomeadmin/dao/SystemVariableMapper.xml

@@ -0,0 +1,348 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.izouma.awesomeadmin.dao.SystemVariableMapper" >
+    <resultMap id="BaseResultMap" type="com.izouma.awesomeadmin.model.SystemVariable" >
+                <id column="id" property="id" jdbcType="INTEGER" />
+                                        <result column="del_flag" property="delFlag" jdbcType="CHAR" />
+                                <result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
+                                <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
+                                <result column="variable_name" property="variableName" jdbcType="VARCHAR" />
+                                <result column="variable_value" property="variableValue" jdbcType="VARCHAR" />
+                                <result column="remark" property="remark" jdbcType="VARCHAR" />
+            </resultMap>
+    <sql id="Base_Column_List" >
+        <trim  suffixOverrides="," >
+            id,
+
+            del_flag,
+
+            update_time,
+
+            create_time,
+
+            variable_name,
+
+            variable_value,
+
+            remark,
+
+            </trim>
+    </sql>
+    <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+        select
+        <include refid="Base_Column_List" />
+        from system_variable
+        where id = #{id,jdbcType=INTEGER}
+    </select>
+    <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+        delete from system_variable
+        where id = #{id,jdbcType=INTEGER}
+    </delete>
+    <insert id="insertSelective" parameterType="com.izouma.awesomeadmin.model.SystemVariable" useGeneratedKeys="true" keyProperty="id">
+        insert into system_variable
+        <trim prefix="(" suffix=")" suffixOverrides="," >
+                <if test="id!= null" >
+                id,
+            </if>
+                <if test="delFlag!= null" >
+                del_flag,
+            </if>
+                <if test="updateTime!= null" >
+                update_time,
+            </if>
+                <if test="createTime!= null" >
+                create_time,
+            </if>
+                <if test="variableName!= null" >
+                variable_name,
+            </if>
+                <if test="variableValue!= null" >
+                variable_value,
+            </if>
+                <if test="remark!= null" >
+                remark,
+            </if>
+            </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides="," >
+                    <if test="id != null" >
+                #{id,jdbcType=INTEGER},
+            </if>
+                    <if test="delFlag != null" >
+                #{delFlag,jdbcType=CHAR},
+            </if>
+                    <if test="updateTime != null" >
+                #{updateTime,jdbcType=TIMESTAMP},
+            </if>
+                    <if test="createTime != null" >
+                #{createTime,jdbcType=TIMESTAMP},
+            </if>
+                    <if test="variableName != null" >
+                #{variableName,jdbcType=VARCHAR},
+            </if>
+                    <if test="variableValue != null" >
+                #{variableValue,jdbcType=VARCHAR},
+            </if>
+                    <if test="remark != null" >
+                #{remark,jdbcType=VARCHAR},
+            </if>
+                </trim>
+    </insert>
+    <update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.SystemVariable" >
+        update system_variable
+        <set >
+                    <if test="id != null" >
+               id= #{id,jdbcType=INTEGER},
+            </if>
+                     <if test="delFlag != null" >
+               del_flag= #{delFlag,jdbcType=CHAR},
+            </if>
+                     <if test="updateTime != null" >
+               update_time= #{updateTime,jdbcType=TIMESTAMP},
+            </if>
+                     <if test="createTime != null" >
+               create_time= #{createTime,jdbcType=TIMESTAMP},
+            </if>
+                     <if test="variableName != null" >
+               variable_name= #{variableName,jdbcType=VARCHAR},
+            </if>
+                     <if test="variableValue != null" >
+               variable_value= #{variableValue,jdbcType=VARCHAR},
+            </if>
+                     <if test="remark != null" >
+               remark= #{remark,jdbcType=VARCHAR},
+            </if>
+                 </set>
+        where
+        <if test="id != null and !&quot;&quot;.equals(id)">
+            id = #{id,jdbcType=INTEGER}
+        </if>
+
+        <if test="idStr != null and !&quot;&quot;.equals(idStr)">
+            id in (${idStr})
+        </if>
+
+    </update>
+    <select id="querySystemVariableByPage" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.SystemVariable">
+        select <include refid="Base_Column_List"/> from system_variable
+        <where>
+            and del_flag = 'N'
+            <if test="record.idStr != null and !&quot;&quot;.equals(record.idStr)">
+                and id in (${record.idStr})
+            </if>
+                    <if test="record.id != null and !&quot;&quot;.equals(record.id)">
+                and  id = #{record.id}
+            </if>
+                     <if test="record.delFlag != null and !&quot;&quot;.equals(record.delFlag)">
+                and  del_flag = #{record.delFlag}
+            </if>
+                     <if test="record.updateTime != null and !&quot;&quot;.equals(record.updateTime)">
+                and  update_time = #{record.updateTime}
+            </if>
+                     <if test="record.createTime != null and !&quot;&quot;.equals(record.createTime)">
+                and  create_time = #{record.createTime}
+            </if>
+                     <if test="record.variableName != null and !&quot;&quot;.equals(record.variableName)">
+                and  variable_name = #{record.variableName}
+            </if>
+                     <if test="record.variableValue != null and !&quot;&quot;.equals(record.variableValue)">
+                and  variable_value = #{record.variableValue}
+            </if>
+                     <if test="record.remark != null and !&quot;&quot;.equals(record.remark)">
+                and  remark = #{record.remark}
+            </if>
+                  <if test="record.searchKey != null and !&quot;&quot;.equals(record.searchKey)">
+             <trim prefix="and (" suffix=")" prefixOverrides="OR" >
+                                                                                                                                                                                                                                                                                                  OR  variable_name LIKE concat('%',#{record.searchKey},'%')
+                                                                                                    OR  variable_value LIKE concat('%',#{record.searchKey},'%')
+                                                                                                    OR  remark LIKE concat('%',#{record.searchKey},'%')
+                                                             </trim>
+         </if>
+
+            <if test="record.advancedQuery != null and !&quot;&quot;.equals(record.advancedQuery)">
+                <foreach item="item" index="index" collection="record.advancedQuery.split('_;')">
+                    <choose>
+                        <when test="item.indexOf('like') != -1">
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    concat('%',#{itemDetail},'%')
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </when>
+                        <otherwise>
+                            <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                                <if test="detailIndex == 3">
+                                    #{itemDetail}
+                                </if>
+
+                                <if test="detailIndex &lt; 3">
+                                    ${itemDetail}
+                                </if>
+
+                            </foreach>
+                        </otherwise>
+                    </choose>
+
+
+                </foreach>
+
+
+            </if>
+
+        </where>
+        order by
+
+        <if test="record.orderByStr != null and !&quot;&quot;.equals(record.orderByStr)">
+
+
+            <trim suffixOverrides=",">
+                <foreach item="item" index="index" separator="," collection="record.orderByStr.split('_;')">
+                    <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                        ${itemDetail}
+                    </foreach>
+                </foreach>
+            </trim>
+            ,
+        </if>
+        id desc
+    </select>
+    <select id="queryAllSystemVariable" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.SystemVariable">
+        select <include refid="Base_Column_List"/> from system_variable
+        <where>
+            and del_flag = 'N'
+            <if test="idStr != null and !&quot;&quot;.equals(idStr)">
+                and id in (${idStr})
+            </if>
+                    <if test="id != null and !&quot;&quot;.equals(id)">
+                and  id = #{id}
+            </if>
+                    <if test="delFlag != null and !&quot;&quot;.equals(delFlag)">
+                and  del_flag = #{delFlag}
+            </if>
+                    <if test="updateTime != null and !&quot;&quot;.equals(updateTime)">
+                and  update_time = #{updateTime}
+            </if>
+                    <if test="createTime != null and !&quot;&quot;.equals(createTime)">
+                and  create_time = #{createTime}
+            </if>
+                    <if test="variableName != null and !&quot;&quot;.equals(variableName)">
+                and  variable_name = #{variableName}
+            </if>
+                    <if test="variableValue != null and !&quot;&quot;.equals(variableValue)">
+                and  variable_value = #{variableValue}
+            </if>
+                    <if test="remark != null and !&quot;&quot;.equals(remark)">
+                and  remark = #{remark}
+            </if>
+                    <if test="searchKey != null and !&quot;&quot;.equals(searchKey)">
+                <trim prefix="and (" suffix=")" prefixOverrides="OR" >
+                                                                                                                                                                                                                                                                                                                                                                                                                                                OR  variable_name LIKE concat('%',#{searchKey},'%')
+                                                                                                                                                        OR  variable_value LIKE concat('%',#{searchKey},'%')
+                                                                                                                                                        OR  remark LIKE concat('%',#{searchKey},'%')
+                                                                                        </trim>
+            </if>
+<if test="advancedQuery != null and !&quot;&quot;.equals(advancedQuery)">
+    <foreach item="item" index="index" collection="advancedQuery.split('_;')">
+        <choose>
+            <when test="item.indexOf('like') != -1">
+                <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                    <if test="detailIndex == 3">
+                        concat('%',#{itemDetail},'%')
+                    </if>
+
+                    <if test="detailIndex &lt; 3">
+                        ${itemDetail}
+                    </if>
+
+                </foreach>
+            </when>
+            <otherwise>
+                <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                    <if test="detailIndex == 3">
+                        #{itemDetail}
+                    </if>
+
+                    <if test="detailIndex &lt; 3">
+                        ${itemDetail}
+                    </if>
+
+                </foreach>
+            </otherwise>
+        </choose>
+
+
+    </foreach>
+
+
+</if>
+        </where>
+        order by
+
+        <if test="orderByStr != null and !&quot;&quot;.equals(orderByStr)">
+
+
+            <trim suffixOverrides=",">
+                <foreach item="item" index="index" separator="," collection="orderByStr.split('_;')">
+                    <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
+                        ${itemDetail}
+                    </foreach>
+                </foreach>
+            </trim>
+            ,
+        </if>
+
+        id desc
+    </select>
+    <select id="querySystemVariable" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.SystemVariable">
+        select <include refid="Base_Column_List"/> from system_variable
+        <where>
+            and del_flag = 'N'
+                    <if test="id != null and !&quot;&quot;.equals(id)">
+                and id = #{id}
+            </if>
+                     <if test="delFlag != null and !&quot;&quot;.equals(delFlag)">
+                and del_flag = #{delFlag}
+            </if>
+                     <if test="updateTime != null and !&quot;&quot;.equals(updateTime)">
+                and update_time = #{updateTime}
+            </if>
+                     <if test="createTime != null and !&quot;&quot;.equals(createTime)">
+                and create_time = #{createTime}
+            </if>
+                     <if test="variableName != null and !&quot;&quot;.equals(variableName)">
+                and variable_name = #{variableName}
+            </if>
+                     <if test="variableValue != null and !&quot;&quot;.equals(variableValue)">
+                and variable_value = #{variableValue}
+            </if>
+                     <if test="remark != null and !&quot;&quot;.equals(remark)">
+                and remark = #{remark}
+            </if>
+         
+        </where>
+        LIMIT 1
+    </select>
+    <update id="delete">
+        UPDATE system_variable SET del_flag = 'Y'
+        where
+        <if test="id != null and !&quot;&quot;.equals(id)">
+            id = #{id,jdbcType=INTEGER}
+        </if>
+
+        <if test="idStr != null and !&quot;&quot;.equals(idStr)">
+            id in (${idStr})
+        </if>
+    </update>
+    <select id="query" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.SystemVariable">
+        select <include refid="Base_Column_List"/> from system_variable
+        <where>
+            and del_flag = 'N'
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </where>
+        order by id desc
+    </select>
+</mapper>
+

+ 116 - 0
src/main/java/com/izouma/awesomeadmin/model/SystemVariable.java

@@ -0,0 +1,116 @@
+package com.izouma.awesomeadmin.model;
+
+import java.util.*;
+import com.fasterxml.jackson.annotation.JsonAutoDetect;
+import com.fasterxml.jackson.annotation.JsonInclude;
+
+
+@JsonAutoDetect
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class SystemVariable{
+    private Integer id;
+    private String delFlag;
+    private Date updateTime;
+    private Date createTime;
+    private String variableName;
+    private String variableValue;
+    private String remark;
+
+private String idStr;
+
+private String searchKey;
+
+/**
+* and,test_name,like,value;or,remark,=,123
+*/
+private String advancedQuery;
+
+/**
+* column_name_,desc_;column_name_,asc
+*/
+private String orderByStr;
+
+    public Integer getId(){
+        return this.id;
+    }
+
+    public void setId(Integer id){
+        this.id = id;
+    }
+    public String getDelFlag(){
+        return this.delFlag;
+    }
+
+    public void setDelFlag(String delFlag){
+        this.delFlag = delFlag;
+    }
+    public Date getUpdateTime(){
+        return this.updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime){
+        this.updateTime = updateTime;
+    }
+    public Date getCreateTime(){
+        return this.createTime;
+    }
+
+    public void setCreateTime(Date createTime){
+        this.createTime = createTime;
+    }
+    public String getVariableName(){
+        return this.variableName;
+    }
+
+    public void setVariableName(String variableName){
+        this.variableName = variableName;
+    }
+    public String getVariableValue(){
+        return this.variableValue;
+    }
+
+    public void setVariableValue(String variableValue){
+        this.variableValue = variableValue;
+    }
+    public String getRemark(){
+        return this.remark;
+    }
+
+    public void setRemark(String remark){
+        this.remark = remark;
+    }
+
+public String getSearchKey() {
+    return searchKey;
+}
+
+public void setSearchKey(String searchKey) {
+    this.searchKey = searchKey;
+}
+
+public String getAdvancedQuery() {
+    return advancedQuery;
+}
+
+public void setAdvancedQuery(String advancedQuery) {
+    this.advancedQuery = advancedQuery;
+}
+
+public String getOrderByStr() {
+    return orderByStr;
+}
+
+public void setOrderByStr(String orderByStr) {
+    this.orderByStr = orderByStr;
+}
+
+public String getIdStr() {
+    return idStr;
+}
+
+public void setIdStr(String idStr) {
+    this.idStr = idStr;
+}
+
+}
+

+ 31 - 0
src/main/java/com/izouma/awesomeadmin/service/SystemVariableService.java

@@ -0,0 +1,31 @@
+package com.izouma.awesomeadmin.service;
+
+import java.util.*;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.model.SystemVariable;
+
+
+/**
+*  service接口类
+*/
+public interface SystemVariableService{
+
+    List<SystemVariable> getSystemVariableList(SystemVariable record);
+
+    List<SystemVariable> getSystemVariableByPage(Page page, SystemVariable record);
+
+    SystemVariable getSystemVariableById(String id);
+
+    SystemVariable getSystemVariable(SystemVariable record);
+
+    boolean createSystemVariable(SystemVariable record);
+
+    boolean deleteSystemVariable(SystemVariable record);
+
+    boolean updateSystemVariable(SystemVariable record);
+
+    String get(String name);
+
+    Map<String, String> all();
+}
+

+ 158 - 0
src/main/java/com/izouma/awesomeadmin/service/impl/SystemVariableServiceImpl.java

@@ -0,0 +1,158 @@
+package com.izouma.awesomeadmin.service.impl;
+
+import java.util.*;
+import java.util.function.Consumer;
+
+import org.apache.log4j.Logger;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.izouma.awesomeadmin.constant.AppConstant;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.model.SystemVariable;
+import com.izouma.awesomeadmin.service.SystemVariableService;
+import com.izouma.awesomeadmin.dao.SystemVariableMapper;
+
+/**
+*  service接口实现类
+*/
+@Service
+public class SystemVariableServiceImpl implements SystemVariableService{
+
+    private static Logger logger = Logger.getLogger(SystemVariableServiceImpl.class);
+
+    @Autowired
+    private SystemVariableMapper systemVariableMapper;
+
+    @Override
+    public List<SystemVariable> getSystemVariableList(SystemVariable record) {
+
+        logger.info("getSystemVariableList");
+        try {
+
+        return systemVariableMapper.queryAllSystemVariable(record);
+        } catch (Exception e) {
+        logger.error("getSystemVariableList", e);
+        }
+
+        return null;
+    }
+    @Override
+    public List<SystemVariable> getSystemVariableByPage(Page page, SystemVariable record) {
+
+        logger.info("getSystemVariableByPage");
+        try {
+
+        Map<String, Object> parameter = new HashMap<String, Object>();
+        parameter.put("record", record);
+        parameter.put(AppConstant.PAGE, page);
+
+        return systemVariableMapper.querySystemVariableByPage(parameter);
+        } catch (Exception e) {
+        logger.error("getSystemVariableByPage", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public SystemVariable getSystemVariableById(String id) {
+
+        logger.info("getSystemVariableyId");
+        try {
+
+            return systemVariableMapper.selectByPrimaryKey(Integer.valueOf(id));
+        } catch (Exception e) {
+        logger.error("getSystemVariableById", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public SystemVariable getSystemVariable(SystemVariable record) {
+
+        logger.info("getSystemVariable");
+        try {
+
+            return systemVariableMapper.querySystemVariable(record);
+        } catch (Exception e) {
+        logger.error("getSystemVariable", e);
+        }
+
+        return null;
+    }
+
+    @Override
+    public boolean createSystemVariable(SystemVariable record) {
+
+        logger.info("createSystemVariable");
+        try {
+
+            int updates = systemVariableMapper.insertSelective(record);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+            logger.error("createSystemVariable", e);
+        }
+
+        return false;
+    }
+
+    @Override
+    public boolean deleteSystemVariable(SystemVariable record) {
+
+        logger.info("deleteSystemVariable");
+        try {
+
+             int updates = systemVariableMapper.delete(record);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+             logger.error("deleteSystemVariable", e);
+        }
+
+        return false;
+    }
+
+    @Override
+    public boolean updateSystemVariable(SystemVariable record) {
+
+        logger.info("updateSystemVariable");
+        try {
+
+            int updates = systemVariableMapper.updateByPrimaryKeySelective(record);
+
+            if (updates > 0) {
+                 return true;
+            }
+        } catch (Exception e) {
+             logger.error("updateSystemVariable", e);
+        }
+
+        return false;
+    }
+
+    @Override
+    public String get(String name) {
+        SystemVariable systemVariable = new SystemVariable();
+        systemVariable.setVariableName(name);
+        systemVariable = getSystemVariable(systemVariable);
+        if (systemVariable != null) {
+            return systemVariable.getVariableValue();
+        }
+        return null;
+    }
+
+    @Override
+    public Map<String, String> all() {
+        Map<String, String> map = new HashMap<>();
+        List<SystemVariable> systemVariables = getSystemVariableList(new SystemVariable());
+        systemVariables.forEach(systemVariable -> map.put(systemVariable.getVariableName(), systemVariable.getVariableValue()));
+        return map;
+    }
+}
+

+ 19 - 3
src/main/java/com/izouma/awesomeadmin/web/PlayerInfoController.java

@@ -3,10 +3,9 @@ package com.izouma.awesomeadmin.web;
 import com.izouma.awesomeadmin.constant.AppConstant;
 import com.izouma.awesomeadmin.dto.Page;
 import com.izouma.awesomeadmin.dto.Result;
+import com.izouma.awesomeadmin.model.HouseInfo;
 import com.izouma.awesomeadmin.model.PlayerInfo;
-import com.izouma.awesomeadmin.service.OSSFileService;
-import com.izouma.awesomeadmin.service.PlayerInfoService;
-import com.izouma.awesomeadmin.service.VideoRecognitionService;
+import com.izouma.awesomeadmin.service.*;
 import com.izouma.awesomeadmin.util.ExportExcelUtil;
 import org.apache.shiro.authz.annotation.RequiresAuthentication;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -39,6 +38,10 @@ public class PlayerInfoController {
     private OSSFileService          OSSFileService;
     @Autowired
     private VideoRecognitionService videoRecognitionService;
+    @Autowired
+    private HouseInfoService        houseInfoService;
+    @Autowired
+    private SystemVariableService   systemVariableService;
 
     /**
      * <p>获取全部记录。</p>
@@ -331,6 +334,19 @@ public class PlayerInfoController {
     @RequestMapping(value = "/uploadVideo")
     @ResponseBody
     public Result uploadVideo(HttpServletRequest request, Integer id) {
+        if ("false".equals(systemVariableService.get("uploadShort"))) {
+            PlayerInfo record = playerInfoService.getPlayerInfoById(String.valueOf(id));
+            HouseInfo houseInfo = houseInfoService.getHouseInfoById(String.valueOf(record.getHouseId()));
+            Date date = new Date(System.currentTimeMillis() - 20 * 60 * 1000);
+            if (!houseInfo.getBeginTime().before(date)) {
+                PlayerInfo playerInfo = new PlayerInfo();
+                playerInfo.setId(id);
+                playerInfo.setStatusFlag(AppConstant.PlayerStatus.PROCESSED_FAIL);
+                return new Result(true, "");
+            }
+        }
+
+
         CommonsMultipartResolver multipartResolver = new CommonsMultipartResolver(request.getSession().getServletContext());
         if (multipartResolver.isMultipart(request)) {
             PlayerInfo playerInfo = new PlayerInfo();

+ 174 - 0
src/main/java/com/izouma/awesomeadmin/web/SystemVariableController.java

@@ -0,0 +1,174 @@
+package com.izouma.awesomeadmin.web;
+
+import java.util.*;
+
+import com.izouma.awesomeadmin.util.ExportExcelUtil;
+import org.apache.commons.lang.StringUtils;
+import org.apache.shiro.authz.annotation.RequiresAuthentication;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.*;
+import com.izouma.awesomeadmin.constant.AppConstant;
+import com.izouma.awesomeadmin.dto.Page;
+import com.izouma.awesomeadmin.dto.Result;
+import com.izouma.awesomeadmin.model.SystemVariable;
+import com.izouma.awesomeadmin.service.SystemVariableService;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * controller类
+ */
+@Controller
+@RequestMapping("/systemVariable")
+public class SystemVariableController {
+
+    @Autowired
+    private SystemVariableService systemVariableService;
+
+    /**
+     * <p>获取全部记录。</p>
+     */
+    @RequiresAuthentication
+    @RequestMapping(value = "/all", method = RequestMethod.GET)
+    @ResponseBody
+    public Result all(SystemVariable record) {
+        List<SystemVariable> pp = systemVariableService.getSystemVariableList(record);
+        return new Result(true, pp);
+    }
+
+    /**
+     * <p>根据Id。</p>
+     */
+    @RequestMapping(value = "/getSystemVariable", method = RequestMethod.GET)
+    @ResponseBody
+    public Result getSystemVariable(@RequestParam(required = false, value = "id") String id) {
+        SystemVariable data = systemVariableService.getSystemVariableById(id);
+        return new Result(true, data);
+    }
+
+    /**
+     * <p>根据条件获取。</p>
+     */
+    @RequestMapping(value = "/getOne", method = RequestMethod.GET)
+    @ResponseBody
+    public Result getOne(SystemVariable record) {
+        SystemVariable data = systemVariableService.getSystemVariable(record);
+        return new Result(true, data);
+    }
+
+
+    /**
+     * <p>分页查询。</p>
+     */
+    @RequestMapping(value = "/page", method = RequestMethod.GET)
+    @ResponseBody
+    public Result page(Page page, SystemVariable record) {
+        Map<String, Object> result = new HashMap<>();
+
+        List<SystemVariable> pp = systemVariableService.getSystemVariableByPage(page, record);
+
+        result.put(AppConstant.PAGE, page);
+        result.put("pp", pp);
+        return new Result(true, result);
+    }
+
+
+    /**
+     * <p>保存。</p>
+     */
+    @RequestMapping(value = "/save", method = RequestMethod.POST)
+    @ResponseBody
+    public Result save(SystemVariable record) {
+        boolean num = systemVariableService.createSystemVariable(record);
+        if (num) {
+            return new Result(true, record.getId());
+        }
+        return new Result(false, "保存异常");
+    }
+
+    /**
+     * <p>更新信息。</p>
+     */
+    @RequestMapping(value = "/update", method = RequestMethod.POST)
+    @ResponseBody
+    public Result updateSystemVariable(SystemVariable record) {
+        boolean num = systemVariableService.updateSystemVariable(record);
+        if (num) {
+            return new Result(true, "保存成功");
+        }
+        return new Result(false, "保存异常");
+    }
+
+    /**
+     * <p>删除。</p>
+     */
+    @RequestMapping(value = "/del", method = RequestMethod.POST)
+    @ResponseBody
+    public Result deleteSystemVariable(SystemVariable record) {
+
+        boolean num = systemVariableService.deleteSystemVariable(record);
+        if (num) {
+            return new Result(true, "删除成功");
+        }
+        return new Result(false, "删除异常");
+    }
+
+    /**
+     * 导出Excel
+     *
+     * @param request
+     * @param response
+     * @param record
+     * @throws Exception
+     */
+    @RequestMapping(value = "/exportExcel", method = RequestMethod.GET)
+    @ResponseBody
+    public void exportExcel(HttpServletRequest request, HttpServletResponse response, SystemVariable record) throws Exception {
+
+        List<SystemVariable> systemVariables = systemVariableService.getSystemVariableList(record);
+
+
+        String sheetName = "system_variable";
+        String titleName = "系统参数数据表";
+        String fileName = "系统参数表";
+        int columnNumber = 6;
+        int[] columnWidth = {20, 20, 20, 20, 20, 20};
+        String[] columnName = {"", "删除标识", "更新时间", "创建时间", "参数名", "参数值"};
+        String[][] dataList = new String[systemVariables.size()][6];
+
+        for (int i = 0; i < systemVariables.size(); i++) {
+
+            dataList[i][0] = String.valueOf(systemVariables.get(i).getId());
+            dataList[i][1] = String.valueOf(systemVariables.get(i).getDelFlag());
+            dataList[i][2] = String.valueOf(systemVariables.get(i).getUpdateTime());
+            dataList[i][3] = String.valueOf(systemVariables.get(i).getCreateTime());
+            dataList[i][4] = String.valueOf(systemVariables.get(i).getVariableName());
+            dataList[i][5] = String.valueOf(systemVariables.get(i).getVariableValue());
+        }
+
+
+        ExportExcelUtil.ExportWithResponse(sheetName, titleName, fileName,
+                columnNumber, columnWidth, columnName, dataList, response);
+
+
+    }
+
+    @RequestMapping(value = "/get", method = RequestMethod.GET)
+    @ResponseBody
+    public Result get(String name) {
+        String val = systemVariableService.get(name);
+        if (val != null) {
+            return new Result(true, val);
+        }
+        return new Result(false, "失败");
+    }
+
+    @RequestMapping(value = "/allVariables", method = RequestMethod.GET)
+    @ResponseBody
+    public Result allVariables() {
+        return new Result(true, systemVariableService.all());
+    }
+}
+

+ 111 - 0
src/main/vue/src/pages/SystemVariable.vue

@@ -0,0 +1,111 @@
+<template>
+    <div>
+        <el-form :model="formData" :rules="rules" ref="form" label-width="80px" label-position="right" size="small"
+                 style="max-width: 500px;">
+                                                                                                                                                                            <el-form-item prop="variableName" label="参数名">
+                <el-input v-model="formData.variableName" :disabled="'variableName'==subColumn"></el-input>
+            </el-form-item>
+                                                                                                                                                                                                                                                                                                                            <el-form-item prop="variableValue" label="参数值">
+                <el-input v-model="formData.variableValue" :disabled="'variableValue'==subColumn"></el-input>
+            </el-form-item>
+                                                                                                                                                                                                                                                                                                                            <el-form-item prop="remark" label="备注">
+                <el-input v-model="formData.remark" :disabled="'remark'==subColumn"></el-input>
+            </el-form-item>
+                                                                                                                                                                                                                                                                                        <el-form-item>
+                <el-button @click="onSave" :loading="$store.state.fetchingData" type="primary">保存</el-button>
+                <el-button @click="onDelete" v-if="formData.id" type="danger">删除</el-button>
+                <el-button @click="$router.go(-1)">取消</el-button>
+            </el-form-item>
+        </el-form>
+    </div>
+</template>
+<script>
+    import formValidator from '../formValidator'
+
+    export default {
+        created() {
+            if (this.$route.query.column) {
+                this.subColumn = this.$route.query.column.split(',')[1];
+                this.subValue = this.$route.query.column.split(',')[0];
+            }
+
+            if (this.$route.query.id) {
+                this.$http.get({
+                    url: '/systemVariable/getOne',
+                    data: {
+                        id: this.$route.query.id
+                    }
+                }).then(res => {
+                    if (res.success) {
+
+                                                                                                                                                                                                                                                                                                                                                                                                    
+                        this.formData = res.data;
+
+                    if (this.$route.query.column) {
+                        this.formData[this.subColumn] = this.subValue;
+                    }
+                    }
+                })
+            }else {
+                if (this.$route.query.column) {
+                    this.formData[this.subColumn] = this.subValue;
+                }
+            }
+
+                                                                                                                                                                                                                        },
+        data() {
+            return {
+                saving: false,
+                formData: {},
+                rules: {
+                                                                                                                                                                                                                        },
+                                                                    subColumn: '',
+            subValue: '',
+        }
+        },
+        methods: {
+            onSave() {
+                this.$refs.form.validate((valid) => {
+                    if (valid) {
+                        this.submit();
+                    } else {
+                        return false;
+                    }
+                });
+            },
+            submit() {
+                var data = JSON.parse(JSON.stringify(this.formData));
+                this.$http.post({
+                    url: this.formData.id ? '/systemVariable/update' : '/systemVariable/save',
+                    data: data
+                }).then(res => {
+                    if (res.success) {
+                        this.$message.success('成功');
+                        this.$router.go(-1);
+                    } else {
+                        this.$message.warning('失败')
+                    }
+                });
+            },
+            onDelete() {
+                this.$alert('删除将无法恢复,确认要删除么?', '警告', { type: 'error' }).then(() => {
+                    return this.$http.post({
+                    url: '/systemVariable/del',
+                    data: { id: this.formData.id }
+                    })
+                }).then(() => {
+                    this.$message.success('删除成功');
+                    this.$router.go(-1);
+                }).catch(action => {
+                    if (action === 'cancel') {
+                        this.$message.info('删除取消');
+                    } else {
+                        this.$message.error('删除失败');
+                    }
+                })
+            },
+        }
+    }
+</script>
+<style lang="less" scoped>
+</style>

+ 439 - 0
src/main/vue/src/pages/SystemVariables.vue

@@ -0,0 +1,439 @@
+<template>
+    <div>
+        <div class="filters-container">
+        
+            <el-input placeholder="关键字" size="small" v-model="filter1" clearable class="filter-item"></el-input>
+            <el-button @click="searchData" type="primary" size="small" icon="el-icon-search" class="filter-item">搜索
+            </el-button>
+            <el-button @click="showAdvancedQueryDialog = !showAdvancedQueryDialog" type="primary" size="small"
+                       icon="el-icon-search" class="filter-item">高级查询
+            </el-button>
+            <el-button @click="showTableSortDialog = !showTableSortDialog" type="primary" size="small"
+                       icon="el-icon-sort" class="filter-item">排序
+            </el-button>
+            <el-button @click="$router.push({path:'/systemVariable',query:{column:$route.query.column}})" type="primary"
+                       size="small" icon="el-icon-edit"
+                       class="filter-item">添加
+            </el-button>
+            <el-button @click="exportExcel" type="primary" size="small" icon="el-icon-share" class="filter-item">导出EXCEL
+            </el-button>
+            <el-dropdown trigger="click" size="medium" class="table-column-filter">
+                <span>
+                  筛选数据<i class="el-icon-arrow-down el-icon--right"></i>
+                </span>
+                <el-dropdown-menu slot="dropdown" class="table-column-filter-wrapper">
+                    <el-checkbox v-for="item in tableColumns" :key="item.value" v-model="item.show">{{item.label}}
+                    </el-checkbox>
+                </el-dropdown-menu>
+            </el-dropdown>
+        </div>
+        <el-table
+                :data="tableData"
+                :height="tableHeight"
+                row-key="id"
+                ref="table">
+            <el-table-column
+                    v-if="multipleMode"
+                    align="center"
+                    type="selection"
+                    width="50">
+            </el-table-column>
+            <el-table-column
+                    type="index"
+                    min-width="50"
+                    align="center">
+            </el-table-column>
+                                                                                                                                            
+                                            <el-table-column
+                                v-if="isColumnShow('variableName')"
+                                prop="variableName"
+                                label="参数名"
+                                min-width="100">
+                        </el-table-column>
+                                                                
+                                            <el-table-column
+                                v-if="isColumnShow('variableValue')"
+                                prop="variableValue"
+                                label="参数值"
+                                min-width="100">
+                        </el-table-column>
+                                                                
+                                            <el-table-column
+                                v-if="isColumnShow('remark')"
+                                prop="remark"
+                                label="备注"
+                                min-width="100">
+                        </el-table-column>
+                                                            <el-table-column
+                    label="操作"
+                    align="center"
+                    fixed="right"
+                    min-width="150"
+            >
+                <template slot-scope="scope">
+                            <el-button @click="editRow(scope.row)" type="primary" size="mini" plain>编辑</el-button>
+                    <el-button @click="deleteRow(scope.row)" type="danger" size="mini" plain>删除</el-button>
+                </template>
+            </el-table-column>
+        </el-table>
+        <div class="pagination-wrapper">
+            <div class="multiple-mode-wrapper" v-if="0">
+                <el-button size="small" v-if="!multipleMode" @click="toggleMultipleMode(true)">批量编辑</el-button>
+                <el-button-group v-else>
+                    <el-button size="small" @click="operation1">批量操作1</el-button>
+                    <el-button size="small" @click="operation2">批量操作2</el-button>
+                    <el-button size="small" @click="toggleMultipleMode(false)">取消</el-button>
+                </el-button-group>
+            </div>
+            <el-pagination
+                    background
+                    @size-change="pageSizeChange"
+                    @current-change="currentPageChange"
+                    :current-page="currentPage"
+                    :page-sizes="[10, 20, 30, 40, 50]"
+                    :page-size="pageSize"
+                    layout="total, sizes, prev, pager, next, jumper"
+                    :total="totalNumber">
+            </el-pagination>
+        </div>
+        <el-dialog title="高级查询" :visible.sync="showAdvancedQueryDialog">
+            <el-button @click="addField" type="text" icon="el-icon-plus">添加</el-button>
+            <el-table :data="advancedQueryFields">
+
+                <el-table-column prop="link" label="链接符" align="center">
+                    <template slot-scope="{row}">
+                        <el-select placeholder="链接" size="small" v-model="row.link" class="filter-item">
+                            <el-option label="AND" value="AND">
+                            </el-option>
+                            <el-option label="OR" value="OR">
+                            </el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="name" label="字段" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.name">
+
+                            <el-option v-for="item in advancedQueryColumns" :label="item.label" :value="item.value"
+                                       :key="item.value"></el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="searchMethod" label="搜索方式" width="150" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.searchMethod">
+                            <el-option v-for="item in searchMethods" :label="item" :value="item"
+                                       :key="item"></el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="value" label="参数" align="center">
+                    <template slot-scope="{row}">
+                        <el-input v-model="row.value"></el-input>
+                    </template>
+                </el-table-column>
+                <el-table-column width="60" align="center">
+                    <template slot-scope="{ row, column, $index }">
+                        <el-button @click="removeField($index)" size="small" type="text">删除</el-button>
+                    </template>
+                </el-table-column>
+            </el-table>
+
+            <span slot="footer" class="dialog-footer">
+
+                <el-button @click="advancedQuery" :loading="$store.state.fetchingData">确定</el-button>
+            </span>
+        </el-dialog>
+
+        <el-dialog title="排序" :visible.sync="showTableSortDialog">
+            <el-button @click="addSortField" type="text" icon="el-icon-plus">添加</el-button>
+            <el-table :data="tableSortFields">
+
+                <el-table-column prop="name" label="字段" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.name">
+
+                            <el-option v-for="item in advancedQueryColumns" :label="item.label" :value="item.value"
+                                       :key="item.value"></el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="order" label="排序" align="center">
+                    <template slot-scope="{row}">
+                        <el-select v-model="row.order">
+                            <el-option label="降序" value="desc">
+                            </el-option>
+                            <el-option label="升序" value="asc">
+                            </el-option>
+                        </el-select>
+                    </template>
+                </el-table-column>
+                <el-table-column width="60" align="center">
+                    <template slot-scope="{ row, column, $index }">
+                        <el-button @click="removeSortField($index)" size="small" type="text">删除</el-button>
+                    </template>
+                </el-table-column>
+            </el-table>
+
+            <span slot="footer" class="dialog-footer">
+
+                <el-button @click="tableSortQuery" :loading="$store.state.fetchingData">确定</el-button>
+            </span>
+        </el-dialog>
+
+        <el-dialog title="查看图片" :visible.sync="imageDialogVisible" size="small">
+            <img width="100%" :src="imgSrc" alt="">
+        </el-dialog>
+
+    </div>
+</template>
+<script>
+    import {mapState} from 'vuex'
+    import {format} from 'date-fns'
+    import zh from 'date-fns/locale/zh_cn'
+
+    export default {
+        created() {
+            this.getData();
+        },
+        data() {
+            return {
+                totalNumber: 0,
+                totalPage: 10,
+                currentPage: 1,
+                pageSize: 20,
+                tableData: [],
+                filter1: '',
+                filter2: '',
+                tableColumns: [
+                                                                                                                                                                                                                                                        {
+                                label: '参数名',
+                                value: 'variableName',
+                                show: true
+                            },
+                                                                                                {
+                                label: '参数值',
+                                value: 'variableValue',
+                                show: true
+                            },
+                                                                                                {
+                                label: '备注',
+                                value: 'remark',
+                                show: true
+                            },
+                                                            ],
+                multipleMode: false,
+                showAdvancedQueryDialog: false,
+                advancedQueryFields: [],
+                showTableSortDialog: false,
+                tableSortFields: [],
+                searchMethods: ['=', '!=', '>', '>=', '<', '<=', 'like'],
+                advancedQueryColumns: [
+                                                                                                                                                                                                                                                        {
+                                label: '参数名',
+                                value: 'variable_name'
+                            },
+                                                                                                {
+                                label: '参数值',
+                                value: 'variable_value'
+                            },
+                                                                                                {
+                                label: '备注',
+                                value: 'remark'
+                            },
+                                                            ],
+                advancedQuerySearchKey: '',
+                orderByStr: '',
+                imgSrc: '',
+                imageDialogVisible: false,
+            }
+        },
+        computed: {
+            ...mapState(['tableHeight']),
+            selection() {
+                return this.$refs.table.selection.map(i => i.id);
+            }
+        },
+        methods: {
+            pageSizeChange(size) {
+                this.currentPage = 1;
+                this.pageSize = size;
+                this.getData();
+            },
+            currentPageChange(page) {
+                this.currentPage = page;
+                this.getData();
+            },
+            getData() {
+
+                var data = {
+                    currentPage: this.currentPage,
+                    pageNumber: this.pageSize,
+                    searchKey: this.filter1,
+                    advancedQuery: this.advancedQuerySearchKey,
+                    orderByStr: this.orderByStr,
+                }
+
+                if (this.$route.query.column) {
+                    var tempColumn = this.$route.query.column;
+                    data[tempColumn.split(',')[1]] = tempColumn.split(',')[0];
+                }
+
+                this.$http.get({
+                    url: '/systemVariable/page',
+                    data: data
+                }).then(res => {
+                    if (res.success) {
+                        this.totalNumber = res.data.page.totalNumber;
+                        this.tableData = res.data.pp;
+                    }
+                })
+            },
+            isColumnShow(column) {
+                var row = this.tableColumns.find(i => i.value === column);
+                return row ? row.show : false;
+            },
+            toggleMultipleMode(multipleMode) {
+                this.multipleMode = multipleMode;
+                if (!multipleMode) {
+                    this.$refs.table.clearSelection();
+                }
+            },
+            editRow(row) {
+                this.$router.push({
+                    path: '/systemVariable',
+                    query: {
+                        id: row.id,
+                        column: this.$route.query.column,
+                    }
+                })
+            },
+            operation1() {
+                this.$notify({
+                    title: '提示',
+                    message: this.selection
+                });
+            },
+            operation2() {
+                this.$message('操作2');
+            },
+            addField() {
+                this.advancedQueryFields.push({
+                    link: 'AND',
+                    name: '',
+                    searchMethod: '=',
+                    value: '',
+                });
+            },
+            removeField(i) {
+                if (this.advancedQueryFields.length > 0) {
+                    this.advancedQueryFields.splice(i, 1);
+                }
+            },
+            advancedQuery() {
+
+                this.advancedQuerySearchKey = '';
+
+                if (this.advancedQueryFields.length > 0) {
+
+                    var templist = [];
+
+                    this.advancedQueryFields.forEach(item => {
+                        if (item.link && item.name && item.searchMethod && item.value) {
+                            var tempItem = item.link + '_,' + item.name + '_,' + item.searchMethod + '_,' + item.value;
+                            templist.push(tempItem);
+                        }
+                    })
+
+                    if (templist.length > 0) {
+
+                        this.advancedQuerySearchKey = templist.join('_;');
+                    }
+                }
+
+                this.getData();
+                this.showAdvancedQueryDialog = false;
+            },
+            addSortField() {
+                this.tableSortFields.push({
+                    name: '',
+                    order: 'asc',
+                });
+            },
+            removeSortField(i) {
+                if (this.tableSortFields.length > 0) {
+                    this.tableSortFields.splice(i, 1);
+                }
+            },
+            tableSortQuery() {
+
+                this.orderByStr = '';
+
+                if (this.tableSortFields.length > 0) {
+
+                    var templist = [];
+
+                    this.tableSortFields.forEach(item => {
+                        if (item.name && item.order) {
+                            var tempItem = item.name + '_,' + item.order;
+                            templist.push(tempItem);
+                        }
+                    })
+
+                    if (templist.length > 0) {
+
+                        this.orderByStr = templist.join('_;');
+                    }
+                }
+
+                this.getData();
+                this.showTableSortDialog = false;
+            },
+            exportExcel() {
+                window.location.href = this.$baseUrl + "/systemVariable/exportExcel?searchKey="
+                        + this.filter1 + "&advancedQuery=" + this.advancedQuerySearchKey+"&orderByStr=" + this.orderByStr;
+            },
+            searchData() {
+                this.currentPage = 1;
+                this.getData();
+            },
+            deleteRow(row) {
+                this.$alert('删除将无法恢复,确认要删除么?', '警告', {type: 'error'}).then(() => {
+                    return this.$http.post({
+                        url: '/systemVariable/del',
+                        data: {id: row.id}
+                    })
+                }).then(() => {
+                    this.$message.success('删除成功');
+                    this.getData();
+                }).catch(action => {
+                    if (action === 'cancel') {
+                        this.$message.info('删除取消');
+                    } else {
+                        this.$message.error('删除失败');
+                    }
+                })
+            },
+            DateTimeFormatter(row, column, cellValue) {
+                if (cellValue) {
+                    return format(cellValue, 'YYYY/MM/DD HH:mm', {locale: zh})
+                }
+
+            },
+            DateFormatter(row, column, cellValue) {
+                if (cellValue) {
+                    return format(cellValue, 'YYYY/MM/DD', {locale: zh})
+                }
+
+            },
+            showImg(img) {
+                this.imgSrc = img;
+                this.imageDialogVisible = true;
+            },
+
+        }
+    }
+</script>
+<style lang="less" scoped>
+
+</style>

+ 350 - 350
src/main/vue/src/router/index.js

@@ -14,363 +14,363 @@ const router = new Router({
             path: '/',
             redirect: 'dashboard'
         },
-        {
-            path: '/404',
-            name: '404',
-            component: () =>
-                import('../pages/404')
-        },
-        {
-            path: '/dashboard',
-            name: 'dashboard',
-            component: () =>
-                import('../pages/Dashboard')
-        },
-        {
-            path: '/users',
-            name: 'users',
-            component: () =>
-                import('../pages/Users')
-        },
-        {
-            path: '/user',
-            name: 'user',
-            component: () =>
-                import('../pages/User')
-        },
-        {
-            path: '/menus',
-            name: 'menus',
-            component: () =>
-                import('../pages/Menus')
-        },
-        {
-            path: '/roles',
-            name: 'roles',
-            component: () =>
-                import('../pages/Roles')
-        },
-        {
-            path: '/role',
-            name: 'role',
-            component: () =>
-                import('../pages/Role')
-        },
-        {
-            path: '/api',
-            name: 'api',
-            component: () =>
-                import('../pages/Api')
-        },
-        {
-            path: '/genCodes',
-            name: 'genCodes',
-            component: () =>
-                import('../pages/GenCodes')
-        },
-        {
-            path: '/genCode',
-            name: 'genCode',
-            component: () =>
-                import('../pages/GenCode')
-        },
-        {
-            path: '/permissions',
-            name: 'permissions',
-            component: () =>
-                import('../pages/Permissions')
-        },
-        {
-            path: '/permission',
-            name: 'permission',
-            component: () =>
-                import('../pages/Permission')
-        },
-        {
-            path: '/departs',
-            name: 'departs',
-            component: () =>
-                import('../pages/Departs')
-        },
-        {
-            path: '/lineChart',
-            name: 'lineChart',
-            component: () =>
-                import('../pages/LineChart')
-        },
-        {
-            path: '/barChart',
-            name: 'barChart',
-            component: () =>
-                import('../pages/BarChart')
-        },
-        {
-            path: '/polarAreaChart',
-            name: 'polarAreaChart',
-            component: () =>
-                import('../pages/PolarAreaChart')
-        },
-        {
-            path: '/pieChart',
-            name: 'pieChart',
-            component: () =>
-                import('../pages/PieChart')
-        },
-        {
-            path: '/radarChart',
-            name: 'radarChart',
-            component: () =>
-                import('../pages/RadarChart')
-        },
-        {
-            path: '/bubbleChart',
-            name: 'bubbleChart',
-            component: () =>
-                import('../pages/BubbleChart')
-        },
-        {
-            path: '/processModels',
-            name: 'processModels',
-            component: () =>
-                import('../pages/ProcessModels')
-        },
-        {
-            path: '/processDefinitions',
-            name: 'processDefinitions',
-            component: () =>
-                import('../pages/ProcessDefinitions')
-        },
-        {
-            path: '/myProcesses',
-            name: 'myProcesses',
-            component: () =>
-                import('../pages/MyProcesses')
-        },
-        {
-            path: '/myTasks',
-            name: 'myTasks',
-            component: () =>
-                import('../pages/MyTasks')
-        },
-        {
-            path: '/completeTaskDynamic',
-            name: 'CompleteTaskDynamic',
-            component: () =>
-                import('../pages/CompleteTaskDynamic')
-        },
-        {
-            path: '/commonQuerys',
-            name: 'commonQuerys',
-            component: () =>
-                import('../pages/CommonQuerys')
-        },
-        {
-            path: '/commonQuery',
-            name: 'commonQuery',
-            component: () =>
-                import('../pages/CommonQuery')
-        },
-        {
-            path: '/commonIframe',
-            name: 'commonIframe',
-            component: () =>
-                import('../pages/CommonIframe')
-        },
-        {
-            path: '/queryConfigs',
-            name: 'queryConfigs',
-            component: () =>
-                import('../pages/QueryConfigs')
-        },
-        {
-            path: '/queryConfig',
-            name: 'queryConfig',
-            component: () =>
-                import('../pages/QueryConfig')
-        },
-        {
-            path: '/dataSourceInfos',
-            name: 'dataSourceInfos',
-            component: () =>
-                import('../pages/DataSourceInfos')
-        },
-        {
-            path: '/dataSourceInfo',
-            name: 'dataSourceInfo',
-            component: () =>
-                import('../pages/DataSourceInfo')
-        },
-        {
-            path: '/deploySystem',
-            name: 'DeploySystem',
-            component: () =>
-                import('../pages/DeploySystem')
-        },
-        {
-            path: '/myCanvas',
-            name: 'MyCanvas',
-            component: () =>
-                import('../pages/MyCanvas')
-        },
-        {
-            path: '/houseInfo',
-            name: 'HouseInfo',
-            component: () => import('../pages/HouseInfo')
-        },
-        {
-            path: '/houseInfos',
-            name: 'HouseInfos',
-            component: () => import('../pages/HouseInfos')
-        },
-        {
-            path: '/houseLevel',
-            name: 'HouseLevel',
-            component: () => import('../pages/HouseLevel')
-        },
-        {
-            path: '/houseLevels',
-            name: 'HouseLevels',
-            component: () => import('../pages/HouseLevels')
-        },
-        {
-            path: '/bannerInfo',
-            name: 'BannerInfo',
-            component: () => import('../pages/BannerInfo')
-        },
-        {
-            path: '/bannerInfos',
-            name: 'BannerInfos',
-            component: () => import('../pages/BannerInfos')
-        },
-        {
-            path: '/gameInfo',
-            name: 'GameInfo',
-            component: () => import('../pages/GameInfo')
-        },
-        {
-            path: '/gameInfos',
-            name: 'GameInfos',
-            component: () => import('../pages/GameInfos')
-        },
-        {
-            path: '/playerInfo',
-            name: 'PlayerInfo',
-            component: () => import('../pages/PlayerInfo')
-        },
-        {
-            path: '/playerInfos',
-            name: 'PlayerInfos',
-            component: () => import('../pages/PlayerInfos')
-        },
-        {
-            path: '/memberCoin',
-            name: 'MemberCoin',
-            component: () => import('../pages/MemberCoin')
-        },
-        {
-            path: '/memberCoinSong',
-            name: 'MemberCoinSong',
-            component: () => import('../pages/MemberCoinSong')
-        },
-        {
-            path: '/memberCoins',
-            name: 'MemberCoins',
-            component: () => import('../pages/MemberCoins')
-        },
-        {
-            path: '/platformIncomeRecord',
-            name: 'PlatformIncomeRecord',
-            component: () => import('../pages/PlatformIncomeRecord')
-        },
-        {
-            path: '/platformIncomeRecords',
-            name: 'PlatformIncomeRecords',
-            component: () => import('../pages/PlatformIncomeRecords')
-        },
-        {
-            path: '/systemNotice',
-            name: 'SystemNotice',
-            component: () => import('../pages/SystemNotice')
-        },
-        {
-            path: '/systemNotices',
-            name: 'SystemNotices',
-            component: () => import('../pages/SystemNotices')
-        },
-        {
-            path: '/rechargeRecord',
-            name: 'RechargeRecord',
-            component: () => import('../pages/RechargeRecord')
-        },
-        {
-            path: '/rechargeRecords',
-            name: 'RechargeRecords',
-            component: () => import('../pages/RechargeRecords')
-        },
-        {
-            path: '/memberCoinTixian',
-            name: 'MemberCoinTixian',
-            component: () => import('../pages/MemberCoinTixian')
-        },
-        {
-            path: '/memberCoinTixians',
-            name: 'MemberCoinTixians',
-            component: () => import('../pages/MemberCoinTixians')
-        },
-        {
-            path: '/competitionSeason',
-            name: 'CompetitionSeason',
-            component: () => import('../pages/CompetitionSeason')
-        },
-        {
-            path: '/competitionSeasons',
-            name: 'CompetitionSeasons',
-            component: () => import('../pages/CompetitionSeasons')
-        },
-        {
-            path: '/bonusRecord',
-            name: 'BonusRecord',
-            component: () => import('../pages/BonusRecord')
-        },
-        {
-            path: '/bonusRecords',
-            name: 'BonusRecords',
-            component: () => import('../pages/BonusRecords')
-        },
-        {
-            path: '/videoTest',
-            name: 'VideoTest',
-            component: () => import('../pages/VideoTest')
-        },
-        {
-            path: '/bindGame',
-            name: 'BindGame',
-            component: () => import('../pages/BindGame')
-        },
-        {
-            path: '/bindGames',
-            name: 'BindGames',
-            component: () => import('../pages/BindGames')
-        },
             {
-                    path: '/productInfo',
-                    name: 'ProductInfo',
-                    component: () => import('../pages/ProductInfo')
+                path: '/404',
+                name: '404',
+                component: () =>
+                    import('../pages/404')
+            },
+            {
+                path: '/dashboard',
+                name: 'dashboard',
+                component: () =>
+                    import('../pages/Dashboard')
+            },
+            {
+                path: '/users',
+                name: 'users',
+                component: () =>
+                    import('../pages/Users')
+            },
+            {
+                path: '/user',
+                name: 'user',
+                component: () =>
+                    import('../pages/User')
+            },
+            {
+                path: '/menus',
+                name: 'menus',
+                component: () =>
+                    import('../pages/Menus')
+            },
+            {
+                path: '/roles',
+                name: 'roles',
+                component: () =>
+                    import('../pages/Roles')
+            },
+            {
+                path: '/role',
+                name: 'role',
+                component: () =>
+                    import('../pages/Role')
+            },
+            {
+                path: '/api',
+                name: 'api',
+                component: () =>
+                    import('../pages/Api')
+            },
+            {
+                path: '/genCodes',
+                name: 'genCodes',
+                component: () =>
+                    import('../pages/GenCodes')
+            },
+            {
+                path: '/genCode',
+                name: 'genCode',
+                component: () =>
+                    import('../pages/GenCode')
+            },
+            {
+                path: '/permissions',
+                name: 'permissions',
+                component: () =>
+                    import('../pages/Permissions')
+            },
+            {
+                path: '/permission',
+                name: 'permission',
+                component: () =>
+                    import('../pages/Permission')
+            },
+            {
+                path: '/departs',
+                name: 'departs',
+                component: () =>
+                    import('../pages/Departs')
+            },
+            {
+                path: '/lineChart',
+                name: 'lineChart',
+                component: () =>
+                    import('../pages/LineChart')
+            },
+            {
+                path: '/barChart',
+                name: 'barChart',
+                component: () =>
+                    import('../pages/BarChart')
+            },
+            {
+                path: '/polarAreaChart',
+                name: 'polarAreaChart',
+                component: () =>
+                    import('../pages/PolarAreaChart')
+            },
+            {
+                path: '/pieChart',
+                name: 'pieChart',
+                component: () =>
+                    import('../pages/PieChart')
+            },
+            {
+                path: '/radarChart',
+                name: 'radarChart',
+                component: () =>
+                    import('../pages/RadarChart')
+            },
+            {
+                path: '/bubbleChart',
+                name: 'bubbleChart',
+                component: () =>
+                    import('../pages/BubbleChart')
+            },
+            {
+                path: '/processModels',
+                name: 'processModels',
+                component: () =>
+                    import('../pages/ProcessModels')
+            },
+            {
+                path: '/processDefinitions',
+                name: 'processDefinitions',
+                component: () =>
+                    import('../pages/ProcessDefinitions')
+            },
+            {
+                path: '/myProcesses',
+                name: 'myProcesses',
+                component: () =>
+                    import('../pages/MyProcesses')
+            },
+            {
+                path: '/myTasks',
+                name: 'myTasks',
+                component: () =>
+                    import('../pages/MyTasks')
+            },
+            {
+                path: '/completeTaskDynamic',
+                name: 'CompleteTaskDynamic',
+                component: () =>
+                    import('../pages/CompleteTaskDynamic')
+            },
+            {
+                path: '/commonQuerys',
+                name: 'commonQuerys',
+                component: () =>
+                    import('../pages/CommonQuerys')
+            },
+            {
+                path: '/commonQuery',
+                name: 'commonQuery',
+                component: () =>
+                    import('../pages/CommonQuery')
+            },
+            {
+                path: '/commonIframe',
+                name: 'commonIframe',
+                component: () =>
+                    import('../pages/CommonIframe')
+            },
+            {
+                path: '/queryConfigs',
+                name: 'queryConfigs',
+                component: () =>
+                    import('../pages/QueryConfigs')
+            },
+            {
+                path: '/queryConfig',
+                name: 'queryConfig',
+                component: () =>
+                    import('../pages/QueryConfig')
+            },
+            {
+                path: '/dataSourceInfos',
+                name: 'dataSourceInfos',
+                component: () =>
+                    import('../pages/DataSourceInfos')
+            },
+            {
+                path: '/dataSourceInfo',
+                name: 'dataSourceInfo',
+                component: () =>
+                    import('../pages/DataSourceInfo')
+            },
+            {
+                path: '/deploySystem',
+                name: 'DeploySystem',
+                component: () =>
+                    import('../pages/DeploySystem')
+            },
+            {
+                path: '/myCanvas',
+                name: 'MyCanvas',
+                component: () =>
+                    import('../pages/MyCanvas')
+            },
+            {
+                path: '/houseInfo',
+                name: 'HouseInfo',
+                component: () => import('../pages/HouseInfo')
+            },
+            {
+                path: '/houseInfos',
+                name: 'HouseInfos',
+                component: () => import('../pages/HouseInfos')
+            },
+            {
+                path: '/houseLevel',
+                name: 'HouseLevel',
+                component: () => import('../pages/HouseLevel')
+            },
+            {
+                path: '/houseLevels',
+                name: 'HouseLevels',
+                component: () => import('../pages/HouseLevels')
+            },
+            {
+                path: '/bannerInfo',
+                name: 'BannerInfo',
+                component: () => import('../pages/BannerInfo')
+            },
+            {
+                path: '/bannerInfos',
+                name: 'BannerInfos',
+                component: () => import('../pages/BannerInfos')
+            },
+            {
+                path: '/gameInfo',
+                name: 'GameInfo',
+                component: () => import('../pages/GameInfo')
+            },
+            {
+                path: '/gameInfos',
+                name: 'GameInfos',
+                component: () => import('../pages/GameInfos')
+            },
+            {
+                path: '/playerInfo',
+                name: 'PlayerInfo',
+                component: () => import('../pages/PlayerInfo')
+            },
+            {
+                path: '/playerInfos',
+                name: 'PlayerInfos',
+                component: () => import('../pages/PlayerInfos')
+            },
+            {
+                path: '/memberCoin',
+                name: 'MemberCoin',
+                component: () => import('../pages/MemberCoin')
+            },
+            {
+                path: '/memberCoinSong',
+                name: 'MemberCoinSong',
+                component: () => import('../pages/MemberCoinSong')
+            },
+            {
+                path: '/memberCoins',
+                name: 'MemberCoins',
+                component: () => import('../pages/MemberCoins')
+            },
+            {
+                path: '/platformIncomeRecord',
+                name: 'PlatformIncomeRecord',
+                component: () => import('../pages/PlatformIncomeRecord')
+            },
+            {
+                path: '/platformIncomeRecords',
+                name: 'PlatformIncomeRecords',
+                component: () => import('../pages/PlatformIncomeRecords')
+            },
+            {
+                path: '/systemNotice',
+                name: 'SystemNotice',
+                component: () => import('../pages/SystemNotice')
+            },
+            {
+                path: '/systemNotices',
+                name: 'SystemNotices',
+                component: () => import('../pages/SystemNotices')
+            },
+            {
+                path: '/rechargeRecord',
+                name: 'RechargeRecord',
+                component: () => import('../pages/RechargeRecord')
+            },
+            {
+                path: '/rechargeRecords',
+                name: 'RechargeRecords',
+                component: () => import('../pages/RechargeRecords')
+            },
+            {
+                path: '/memberCoinTixian',
+                name: 'MemberCoinTixian',
+                component: () => import('../pages/MemberCoinTixian')
+            },
+            {
+                path: '/memberCoinTixians',
+                name: 'MemberCoinTixians',
+                component: () => import('../pages/MemberCoinTixians')
+            },
+            {
+                path: '/competitionSeason',
+                name: 'CompetitionSeason',
+                component: () => import('../pages/CompetitionSeason')
+            },
+            {
+                path: '/competitionSeasons',
+                name: 'CompetitionSeasons',
+                component: () => import('../pages/CompetitionSeasons')
+            },
+            {
+                path: '/bonusRecord',
+                name: 'BonusRecord',
+                component: () => import('../pages/BonusRecord')
+            },
+            {
+                path: '/bonusRecords',
+                name: 'BonusRecords',
+                component: () => import('../pages/BonusRecords')
+            },
+            {
+                path: '/videoTest',
+                name: 'VideoTest',
+                component: () => import('../pages/VideoTest')
+            },
+            {
+                path: '/bindGame',
+                name: 'BindGame',
+                component: () => import('../pages/BindGame')
+            },
+            {
+                path: '/bindGames',
+                name: 'BindGames',
+                component: () => import('../pages/BindGames')
+            },
+            {
+                    path: '/systemVariable',
+                    name: 'SystemVariable',
+                    component: () => import('../pages/SystemVariable')
                 },
                 {
-                    path: '/productInfos',
-                    name: 'ProductInfos',
-                    component: () => import('../pages/ProductInfos')
+                    path: '/systemVariables',
+                    name: 'SystemVariables',
+                    component: () => import('../pages/SystemVariables')
                 }
                 /**INSERT_LOCATION**/
         ]
     },
-    {
-        path: '/login',
-        name: 'login',
-        component: () =>
-            import('../pages/Login')
-    }
+        {
+            path: '/login',
+            name: 'login',
+            component: () =>
+                import('../pages/Login')
+        }
     ]
 });
 router.beforeEach((to, from, next) => {

+ 1 - 1
src/main/webapp/WEB-INF/html/admin.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=origin><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><script src=/static/fontawesome-v5.2.0.js></script><link href=/static/css/admin.2d4b72177c338ac8c02abbef47addbe4.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.9355c14ffb88881102dc.js></script><script type=text/javascript src=/static/js/vendor.c97b4bedfdfdb8dc9880.js></script><script type=text/javascript src=/static/js/admin.124a4b749c4674726feb.js></script></body></html>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=origin><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><script src=/static/fontawesome-v5.2.0.js></script><link href=/static/css/admin.253da05c71e6d9f8e0f461ce4b495a60.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.b705e5c33c974a563663.js></script><script type=text/javascript src=/static/js/vendor.e2a2b7cadd72ba896b4a.js></script><script type=text/javascript src=/static/js/admin.33c54d16a8dd34d688dc.js></script></body></html>

File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/css/admin.253da05c71e6d9f8e0f461ce4b495a60.css


TEMPAT SAMPAH
src/main/webapp/static/favicon.ico


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/10.d33e24f55d8ebf7332b6.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/10.f6b8796286d0af150c9e.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/11.f4f87660db5190d26114.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/12.69aea40e38a6cc16fa37.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/13.545b34f8f6bf443c2142.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/14.58b6e0f57e77335a4abd.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/15.8c50e3c498090c43aafd.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/16.1f1ee121744de5862917.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/17.021861f6f16ce63dfff1.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/17.b6af288a4992cab0b962.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/18.a975091c4bfa4bee8391.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/19.9df416c6a29ae8970fcb.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/20.3b9efabfe9b15f63f866.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/20.e5fbf44150153c2982f7.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/21.8b36352305ff62c2ca6b.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/21.fffa39d78724bd89a299.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/22.fefe1fc3dc7ec42459fd.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/23.fc6d6adaaab28c751a75.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/24.fb275acd4d97086cfb57.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/25.4bd6a96c7b2cee3438b7.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/26.96106cff0f625879d62e.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/27.588829ccfe63291e2aee.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/28.ffd408bd20a84c370a93.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/29.432a811a888557c082a5.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/30.f20e5e61c02037c974b5.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/31.f04db97f440435b158da.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/32.a03d7d27b462e1e033df.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/33.c2e390525d6a9e4ecc5d.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/34.56d9159121a14f9c09b7.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/35.5da7135471f39c4d98fa.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/36.b9761d066e9dcf265edc.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/37.b282ec0f6889b733acaa.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/38.98e35887404e6a2ea814.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/38.f331c44d0159027bb488.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/39.b2294725fc991c4eae27.js


+ 1 - 1
src/main/webapp/static/js/35.2a3cfc33ad7f8ee8d49e.js → src/main/webapp/static/js/40.40edd8adc98817d108d5.js

@@ -1 +1 @@
-webpackJsonp([35],{"du+0":function(t,e){},izdZ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});r("NYxO");var i={created:function(){this.getIframeSrc()},data:function(){return{iframeSrc:"/404"}},computed:{height:function(){return window.innerHeight-104+"px"}},methods:{getIframeSrc:function(){this.iframeSrc=this.$route.query.code}},watch:{$route:function(){this.getIframeSrc()}}},n={render:function(){var t=this.$createElement;return(this._self._c||t)("iframe",{staticClass:"iframe",attrs:{src:this.iframeSrc,height:this.height,width:"100%"}})},staticRenderFns:[]};var c=r("VU/8")(i,n,!1,function(t){r("du+0")},"data-v-7fa6d168",null);e.default=c.exports}});
+webpackJsonp([40],{"du+0":function(t,e){},izdZ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});r("NYxO");var i={created:function(){this.getIframeSrc()},data:function(){return{iframeSrc:"/404"}},computed:{height:function(){return window.innerHeight-104+"px"}},methods:{getIframeSrc:function(){this.iframeSrc=this.$route.query.code}},watch:{$route:function(){this.getIframeSrc()}}},n={render:function(){var t=this.$createElement;return(this._self._c||t)("iframe",{staticClass:"iframe",attrs:{src:this.iframeSrc,height:this.height,width:"100%"}})},staticRenderFns:[]};var c=r("VU/8")(i,n,!1,function(t){r("du+0")},"data-v-7fa6d168",null);e.default=c.exports}});

File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/41.f48f4ad860581ad62e04.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/42.678b91f8cca9d4f9f2c8.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/42.f931a20f0fdc66e4ede8.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/43.f3ace30282a81e5a8b85.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/44.00435e82313f93d1ef2c.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/45.05f43016b80afcd0e4ca.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/45.595ada3eab34604746a7.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/46.401185758c9919805ca7.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/47.ed2f3a2aaae92457f6ea.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/48.4f1bea4fb71ff05a0fa8.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/49.44364c72a5c1da67377d.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/50.7e2d025a0e5482129a12.js


+ 1 - 1
src/main/webapp/static/js/49.eae1ac5388482869282b.js → src/main/webapp/static/js/51.5465cdff098abda116a3.js

@@ -1 +1 @@
-webpackJsonp([49],{NRkp:function(e,t){},Wh3M:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"form",staticStyle:{"max-width":"500px"},attrs:{model:e.formData,rules:e.rules,"label-width":"80px","label-position":"right",size:"small"}},[a("el-form-item",{attrs:{prop:"dataruleName",label:"权限名称"}},[a("el-input",{model:{value:e.formData.dataruleName,callback:function(t){e.$set(e.formData,"dataruleName",t)},expression:"formData.dataruleName"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"permission",label:"权限标识"}},[a("el-input",{model:{value:e.formData.permission,callback:function(t){e.$set(e.formData,"permission",t)},expression:"formData.permission"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{loading:e.$store.state.fetchingData,type:"primary"},on:{click:e.onSave}},[e._v("保存")]),e._v(" "),a("el-button",{on:{click:function(t){e.$router.go(-1)}}},[e._v("取消")])],1)],1)],1)},staticRenderFns:[]};var s=a("VU/8")({created:function(){var e=this;this.$route.query.id&&this.$http.get({url:"/sysDatarule/getOne",data:{id:this.$route.query.id}}).then(function(t){t.success&&(e.formData=t.data)})},data:function(){return{saving:!1,formData:{},rules:{dataruleName:[{required:!0,message:"请填写权限名称",trigger:"blur"}],permission:[{required:!0,message:"请填写权限标识",trigger:"blur"}]},menus:[]}},methods:{onSave:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return!1;e.submit()})},submit:function(){var e=this;this.$http.post({url:this.formData.id?"/sysDatarule/update":"/sysDatarule/save",data:this.formData}).then(function(t){t.success?(e.$message.success("成功"),e.$router.go(-1)):e.$message.warning("失败")})}}},r,!1,function(e){a("NRkp")},"data-v-3d1f3150",null);t.default=s.exports}});
+webpackJsonp([51],{NRkp:function(e,t){},Wh3M:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"form",staticStyle:{"max-width":"500px"},attrs:{model:e.formData,rules:e.rules,"label-width":"80px","label-position":"right",size:"small"}},[a("el-form-item",{attrs:{prop:"dataruleName",label:"权限名称"}},[a("el-input",{model:{value:e.formData.dataruleName,callback:function(t){e.$set(e.formData,"dataruleName",t)},expression:"formData.dataruleName"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"permission",label:"权限标识"}},[a("el-input",{model:{value:e.formData.permission,callback:function(t){e.$set(e.formData,"permission",t)},expression:"formData.permission"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{loading:e.$store.state.fetchingData,type:"primary"},on:{click:e.onSave}},[e._v("保存")]),e._v(" "),a("el-button",{on:{click:function(t){e.$router.go(-1)}}},[e._v("取消")])],1)],1)],1)},staticRenderFns:[]};var s=a("VU/8")({created:function(){var e=this;this.$route.query.id&&this.$http.get({url:"/sysDatarule/getOne",data:{id:this.$route.query.id}}).then(function(t){t.success&&(e.formData=t.data)})},data:function(){return{saving:!1,formData:{},rules:{dataruleName:[{required:!0,message:"请填写权限名称",trigger:"blur"}],permission:[{required:!0,message:"请填写权限标识",trigger:"blur"}]},menus:[]}},methods:{onSave:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return!1;e.submit()})},submit:function(){var e=this;this.$http.post({url:this.formData.id?"/sysDatarule/update":"/sysDatarule/save",data:this.formData}).then(function(t){t.success?(e.$message.success("成功"),e.$router.go(-1)):e.$message.warning("失败")})}}},r,!1,function(e){a("NRkp")},"data-v-3d1f3150",null);t.default=s.exports}});

File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/52.7c647ec1f67c94b7549a.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/53.4c27a74720114f658922.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/54.78a32fcae5fe6ceddb77.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/55.22466f746cde201fff02.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/56.f32abcdf66ec68aa9456.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/56.f6167289624af3964828.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/57.6da90cffced1715a284b.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/58.04dc2165441aaa60d7e5.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/58.6115b77d73b42e736757.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/59.740be8c3f19099fe649e.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/60.5be916613335ce606dac.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/61.289e2736fdf391fedd5b.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/62.f0ce4ef29b8739807be1.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/63.61fa07b657b84c3da741.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/64.2f316dde9c7df80ddbad.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/7.c2f4fd5ed384b4b08e6a.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/9.ff545f70be522ea9a7bd.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/admin.124a4b749c4674726feb.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/admin.33c54d16a8dd34d688dc.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/manifest.9355c14ffb88881102dc.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/manifest.b705e5c33c974a563663.js


File diff ditekan karena terlalu besar
+ 0 - 0
src/main/webapp/static/js/vendor.e2a2b7cadd72ba896b4a.js


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini