Commit dfdad3f2 authored by “yiyousong”'s avatar “yiyousong”

Merge branch 'reg' of http://gitlab.scsmile.cn/zxf/smart_gov_platform into reg

parents c98c5cb0 b6e5a5fe
...@@ -19,6 +19,19 @@ export default { ...@@ -19,6 +19,19 @@ export default {
type: Object, type: Object,
default: () => {}, default: () => {},
}, },
data() {
return {
info: this.info || {},
};
},
},
watch: {
info: {
deep: true,
handler(val) {
this._initEcharts();
},
},
}, },
mounted() { mounted() {
this._initEcharts(); this._initEcharts();
...@@ -29,7 +42,11 @@ export default { ...@@ -29,7 +42,11 @@ export default {
const echarts = this.$echarts; const echarts = this.$echarts;
let option = { let option = {
title: { title: {
text: `{c|${this.info.starttime}~${this.info.endtime}} \n{a|` + (this.info.success_rate * 100).toFixed(2) + "%" + "}", text:
`{c|${this.info.starttime}~${this.info.endtime}} \n{a|` +
(this.info.success_rate * 100).toFixed(2) +
"%" +
"}",
x: "center", x: "center",
y: "center", y: "center",
textStyle: { textStyle: {
...@@ -107,4 +124,4 @@ export default { ...@@ -107,4 +124,4 @@ export default {
}, },
}, },
}; };
</script> </script>
\ No newline at end of file
...@@ -133,6 +133,15 @@ spring: ...@@ -133,6 +133,15 @@ spring:
metadata: metadata:
response-timeout: 200000 response-timeout: 200000
connect-timeout: 200000 connect-timeout: 200000
# 考勤绩效
- id: attendance-performance-manager
#uri: http://192.168.0.98:21080
uri: lb://attendance-performance-manager
predicates:
- Path=/attendance/**
metadata:
response-timeout: 200000
connect-timeout: 200000
nacos: nacos:
# Nacos 作为注册中心的配置项,对应 NacosDiscoveryProperties 配置类 # Nacos 作为注册中心的配置项,对应 NacosDiscoveryProperties 配置类
discovery: discovery:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment