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.loading = false;
|
||||
})
|
||||
this.getNowWeather()
|
||||
|
||||
},
|
||||
|
||||
|
|
@ -272,8 +273,8 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
.weather {
|
||||
width: 120px;
|
||||
margin-right: 10px;
|
||||
width: 125px;
|
||||
margin-right: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
@ -359,7 +360,7 @@ export default {
|
|||
|
||||
.right-menu-item {
|
||||
display: inline-block;
|
||||
padding: 0 8px;
|
||||
padding: 0 6px;
|
||||
height: 100%;
|
||||
font-size: 18px;
|
||||
color: #5a5e66;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
import {collectWord, getWordRPC} from "@/api/business/english/word";
|
||||
|
||||
export default {
|
||||
name: "Collect",
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
import {listLog, getLog, delLog} from "@/api/business/log/apilog";
|
||||
|
||||
export default {
|
||||
name: "Log",
|
||||
name: "Apilog",
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ import 'echarts/lib/chart/line'
|
|||
import 'echarts/lib/component/polar'
|
||||
import { getPerformance } from '@/api/business/monitor/performance/performancemonitor'
|
||||
export default {
|
||||
name: 'Index',
|
||||
name: 'Performance',
|
||||
components: {
|
||||
'v-chart': ECharts
|
||||
},
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ import { getRedisCache } from "@/api/business/monitor/redis/cache";
|
|||
import echarts from "echarts";
|
||||
|
||||
export default {
|
||||
name: "Index",
|
||||
name: "Redis",
|
||||
data() {
|
||||
return {
|
||||
// 统计命令信息
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@
|
|||
import {getServiceMonitor} from "@/api/business/monitor/service/monitorservice";
|
||||
|
||||
export default {
|
||||
name: "Online",
|
||||
name: "Service",
|
||||
data() {
|
||||
return {
|
||||
//遮罩层
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
import {getTopsearch} from "@/api/business/openapi/topsearch";
|
||||
|
||||
export default {
|
||||
name: "index",
|
||||
name: "Topsearch",
|
||||
data() {
|
||||
return {
|
||||
//遮罩层
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ import Aword from "@/views/business/openapi/aword";
|
|||
export default {
|
||||
components: {Aword},
|
||||
dicts: ['translation_type'],
|
||||
name: "Log",
|
||||
name: "Translation",
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
|
|
@ -162,11 +162,26 @@ export default {
|
|||
}
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getCopyWriting()
|
||||
this.getApiAWord()
|
||||
|
||||
|
||||
|
||||
//下拉框默认选中
|
||||
},
|
||||
|
||||
watch: {
|
||||
'dict.type.translation_type'(newVal) {
|
||||
if (newVal[0]) {
|
||||
this.translationData.translationType= newVal[0].value
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
//随机获取一条每日一句
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<script>
|
||||
export default {
|
||||
name: "index"
|
||||
name: "Apitools"
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export default {
|
|||
},
|
||||
loading: false,
|
||||
// 验证码开关
|
||||
captchaOnOff: true,
|
||||
captchaOnOff: false,
|
||||
// 注册开关
|
||||
register: true,
|
||||
redirect: undefined
|
||||
|
|
|
|||
|
|
@ -7,15 +7,15 @@ import org.springframework.context.annotation.Bean;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* mp配置类
|
||||
* @author xiejs
|
||||
* @desc
|
||||
* @create 2021-12-31
|
||||
* @since 2021-12-31
|
||||
*/
|
||||
@Configuration
|
||||
public class MybatisPlusConfig {
|
||||
|
||||
/**
|
||||
* mysql分页插件
|
||||
* mp分页插件
|
||||
* @return MybatisPlusInterceptor
|
||||
*/
|
||||
@Bean
|
||||
|
|
|
|||
|
|
@ -12,10 +12,33 @@ import javax.servlet.http.HttpServletResponse;
|
|||
* @since 2022-01-13
|
||||
*/
|
||||
public class MyHandlerInterceptor implements HandlerInterceptor {
|
||||
|
||||
/**
|
||||
* 会在handler方法业务逻辑执行之后尚未跳转页面之前执行
|
||||
* @param request 请求参数
|
||||
* @param response 响应参数
|
||||
* @param handler 处理方法
|
||||
* @param modelAndView 封装了视图数据
|
||||
* @throws Exception e
|
||||
*/
|
||||
@Override
|
||||
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception {
|
||||
|
||||
//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