1、更换系统Logo
2、前端右上角细节调整 3、翻译管理页面选择翻译平台下拉框默认选中 4、登录界面默认关闭验证码框 5、vue组件name名称修改为唯一
This commit is contained in:
parent
b69164753c
commit
f6e3528fea
Binary file not shown.
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 674 KiB |
|
|
@ -193,6 +193,7 @@ export default {
|
||||||
this.forecastWeatherData = res.data
|
this.forecastWeatherData = res.data
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
})
|
})
|
||||||
|
this.getNowWeather()
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -272,8 +273,8 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.weather {
|
.weather {
|
||||||
width: 120px;
|
width: 125px;
|
||||||
margin-right: 10px;
|
margin-right: 2px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -359,7 +360,7 @@ export default {
|
||||||
|
|
||||||
.right-menu-item {
|
.right-menu-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0 8px;
|
padding: 0 6px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #5a5e66;
|
color: #5a5e66;
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@
|
||||||
import {collectWord, getWordRPC} from "@/api/business/english/word";
|
import {collectWord, getWordRPC} from "@/api/business/english/word";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "Collect",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@
|
||||||
import {listLog, getLog, delLog} from "@/api/business/log/apilog";
|
import {listLog, getLog, delLog} from "@/api/business/log/apilog";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Log",
|
name: "Apilog",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ import 'echarts/lib/chart/line'
|
||||||
import 'echarts/lib/component/polar'
|
import 'echarts/lib/component/polar'
|
||||||
import { getPerformance } from '@/api/business/monitor/performance/performancemonitor'
|
import { getPerformance } from '@/api/business/monitor/performance/performancemonitor'
|
||||||
export default {
|
export default {
|
||||||
name: 'Index',
|
name: 'Performance',
|
||||||
components: {
|
components: {
|
||||||
'v-chart': ECharts
|
'v-chart': ECharts
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ import { getRedisCache } from "@/api/business/monitor/redis/cache";
|
||||||
import echarts from "echarts";
|
import echarts from "echarts";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Index",
|
name: "Redis",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 统计命令信息
|
// 统计命令信息
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
import {getServiceMonitor} from "@/api/business/monitor/service/monitorservice";
|
import {getServiceMonitor} from "@/api/business/monitor/service/monitorservice";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Online",
|
name: "Service",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
//遮罩层
|
//遮罩层
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
import {getTopsearch} from "@/api/business/openapi/topsearch";
|
import {getTopsearch} from "@/api/business/openapi/topsearch";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "index",
|
name: "Topsearch",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
//遮罩层
|
//遮罩层
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ import Aword from "@/views/business/openapi/aword";
|
||||||
export default {
|
export default {
|
||||||
components: {Aword},
|
components: {Aword},
|
||||||
dicts: ['translation_type'],
|
dicts: ['translation_type'],
|
||||||
name: "Log",
|
name: "Translation",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
|
|
@ -162,11 +162,26 @@ export default {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getCopyWriting()
|
this.getCopyWriting()
|
||||||
this.getApiAWord()
|
this.getApiAWord()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//下拉框默认选中
|
||||||
|
},
|
||||||
|
|
||||||
|
watch: {
|
||||||
|
'dict.type.translation_type'(newVal) {
|
||||||
|
if (newVal[0]) {
|
||||||
|
this.translationData.translationType= newVal[0].value
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//随机获取一条每日一句
|
//随机获取一条每日一句
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "index"
|
name: "Apitools"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ export default {
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
// 验证码开关
|
// 验证码开关
|
||||||
captchaOnOff: true,
|
captchaOnOff: false,
|
||||||
// 注册开关
|
// 注册开关
|
||||||
register: true,
|
register: true,
|
||||||
redirect: undefined
|
redirect: undefined
|
||||||
|
|
|
||||||
|
|
@ -7,15 +7,15 @@ import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* mp配置类
|
||||||
* @author xiejs
|
* @author xiejs
|
||||||
* @desc
|
* @since 2021-12-31
|
||||||
* @create 2021-12-31
|
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
public class MybatisPlusConfig {
|
public class MybatisPlusConfig {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* mysql分页插件
|
* mp分页插件
|
||||||
* @return MybatisPlusInterceptor
|
* @return MybatisPlusInterceptor
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,33 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
* @since 2022-01-13
|
* @since 2022-01-13
|
||||||
*/
|
*/
|
||||||
public class MyHandlerInterceptor implements HandlerInterceptor {
|
public class MyHandlerInterceptor implements HandlerInterceptor {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 会在handler方法业务逻辑执行之后尚未跳转页面之前执行
|
||||||
|
* @param request 请求参数
|
||||||
|
* @param response 响应参数
|
||||||
|
* @param handler 处理方法
|
||||||
|
* @param modelAndView 封装了视图数据
|
||||||
|
* @throws Exception e
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception {
|
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception {
|
||||||
|
|
||||||
//System.out.println("handler1"+handler);
|
//System.out.println("handler1"+handler);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 会在handler方法业务逻辑执行之前执行
|
||||||
|
* @param request 请求参数
|
||||||
|
* @param response 响应参数
|
||||||
|
* @param handler 处理方法
|
||||||
|
* @return boolean true放行 false阻止
|
||||||
|
* @throws Exception e
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
|
||||||
|
return HandlerInterceptor.super.preHandle(request, response, handler);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue