diff --git a/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserXJ.java b/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserXJ.java index 46c526f0..88196634 100644 --- a/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserXJ.java +++ b/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserXJ.java @@ -38,7 +38,7 @@ public class CxxmUserXJ extends BaseEntity { /** * 部门名称 */ - @Excel(name = "角色类型", type = Excel.Type.IMPORT, combo = {"县级管理员", "县级管理员", "外业调查员"}) + @Excel(name = "角色类型", type = Excel.Type.IMPORT, combo = {"县级管理员", "外业调查员"}) private String roleName; /** diff --git a/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserZJ.java b/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserZJ.java index 72399b71..67860b73 100644 --- a/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserZJ.java +++ b/cxxm/src/main/java/com/ruoyi/cxxm/domain/dto/CxxmUserZJ.java @@ -32,7 +32,7 @@ public class CxxmUserZJ extends BaseEntity { /** * 部门名称 */ - @Excel(name = "归属市县", type = Excel.Type.IMPORT, combo = {"楚雄市", "禄丰市", "大姚县", "姚安县", "武定县", "双柏县", "牟定县", "南华县", "永仁县", "元谋县"}) + @Excel(name = "归属市县", type = Excel.Type.IMPORT, combo = {"楚雄彝族自治州","楚雄市", "禄丰市", "大姚县", "姚安县", "武定县", "双柏县", "牟定县", "南华县", "永仁县", "元谋县"}) private String deptName; /** diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 0c89f084..bfcaee44 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -8,7 +8,7 @@ spring: master: url: jdbc:mysql://ruoyi-mysql:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: 123456 + password: 7ZH2jxM1 # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 62ca8ec6..12f8938e 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -79,7 +79,7 @@ spring: # 数据库索引 database: 0 # 密码 - password: 123456 + password: 7ZH2jxM1 # 连接超时时间 timeout: 10s lettuce: @@ -98,7 +98,7 @@ token: # 令牌自定义标识 header: Authorization # 令牌密钥 - secret: abcdefghijklmnopqrstuvwxyz + secret: c7uqYnmmmTxmoxUDd7tPYvpum2 # 令牌有效期(默认30分钟) expireTime: 4320 @@ -117,7 +117,7 @@ pagehelper: supportMethodsArguments: true params: count=countSql -# Swagger配置 +# Swagger配置cd swagger: # 是否开启swagger enabled: true diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index e5752826..ae4e63e6 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -114,7 +114,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter .antMatchers("/login", "/register", "/captchaImage").permitAll() // 静态资源,可匿名访问 .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() - .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll() + .antMatchers("/swagger-ui.htagml\", \"/swger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll() .antMatchers("/cxxm/api/version/**","/cxxm/api/type/**","/cxxm/api/user/**").permitAll() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated() diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 327fb00c..a2fcbfb5 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -48,9 +48,11 @@ "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", + "jszip": "^3.10.1", "nprogress": "0.2.0", "quill": "1.3.7", "screenfull": "5.0.2", + "shapefile": "^0.6.6", "sortablejs": "1.10.2", "v-charts": "^1.19.0", "v-echarts": "^1.0.2", diff --git a/ruoyi-ui/src/components/Map2/index.vue b/ruoyi-ui/src/components/Map2/index.vue new file mode 100644 index 00000000..697f3ad7 --- /dev/null +++ b/ruoyi-ui/src/components/Map2/index.vue @@ -0,0 +1,239 @@ + + + + +