Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
anji-plus-report
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
e27e17945d43429814f342c32d83eff8e08f3922
1 parent
4a40cec5
柱线图返回数据处理,queryform.js
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
report-ui/config/dev.env.js
report-ui/src/mixins/queryform.js
report-ui/src/views/report/bigscreen/designer/designerComponents/dynamicComponents.vue
report-ui/src/views/report/bigscreen/designer/widget/monitor/customBarLineChart.vue
report-ui/config/dev.env.js
View file @
e27e179
...
...
@@ -4,12 +4,12 @@ const prodEnv = require('./prod.env')
module
.
exports
=
merge
(
prodEnv
,
{
NODE_ENV
:
'"development"'
,
/*BASE_API: '"http://192.168.0.59:9095"',
MONITOR_GATEWAY: '"http://192.168.0.59:8080"'*/
BASE_API
:
'"http://192.168.0.59:9095"'
,
MONITOR_GATEWAY
:
'"http://192.168.0.59:8080"'
/*BASE_API: '"http://192.168.0.75:9095"',
MONITOR_GATEWAY: '"http://192.168.0.75:8080"'*/
BASE_API
:
'"https://192.168.0.248:8089"'
,
MONITOR_GATEWAY
:
'"https://192.168.0.248:8080"'
/* BASE_API: '"https://192.168.0.248:8089"',
MONITOR_GATEWAY: '"https://192.168.0.248:8080"'*/
/*BASE_API: '"http://192.168.1.52:8089"',
MONITOR_GATEWAY: '"http://192.168.1.52:8080"'*/
...
...
report-ui/src/mixins/queryform.js
View file @
e27e179
...
...
@@ -152,7 +152,7 @@ export default {
let
xAxisList
=
[];
let
series
=
[];
let
kpiUnit
=
''
;
if
(
data
&&
data
[
0
]
&&
data
[
0
].
code
==
0
){
if
(
data
&&
data
[
0
]){
if
(
data
[
0
].
data
&&
data
[
0
].
series
){
if
(
data
[
0
].
data
.
names
&&
data
[
0
].
data
.
names
.
length
>
0
){
xAxisList
=
data
[
0
].
data
.
names
;
...
...
report-ui/src/views/report/bigscreen/designer/designerComponents/dynamicComponents.vue
View file @
e27e179
...
...
@@ -154,9 +154,9 @@ export default {
echoDynamicData(val) {
const chartProperties = this.deepClone(val.chartProperties);
this.chartProperties = chartProperties;
if (this.userNameList.length > 0) {
if (this.
setParamList && this.
userNameList.length > 0) {
}
if (this.setParamList.length > 0) {
if (this.setParamList
&& this.setParamList
.length > 0) {
for (let i = 0; i < this.setParamList.length; i++) {
const item = this.setParamList[i];
if (chartProperties.hasOwnProperty(item)) {
...
...
report-ui/src/views/report/bigscreen/designer/widget/monitor/customBarLineChart.vue
View file @
e27e179
...
...
@@ -317,6 +317,8 @@ export default {
color: optionsSetup.lineColorY
}
},
min:0,
max:100,
splitLine: {
show: false,
}
...
...
Please
register
or
login
to post a comment