1、更换系统Logo

2、前端右上角细节调整
3、翻译管理页面选择翻译平台下拉框默认选中
4、登录界面默认关闭验证码框
5、vue组件name名称修改为唯一
pull/254/head
xjs 4 years ago
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…
Cancel
Save