diff --git a/config/prod.env.js b/config/prod.env.js index b2953b3..9836354 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,5 +1,5 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - BASE_API: '" http://124.42.118.61:8093"', + BASE_API: '"http://124.42.118.61:8093"', } diff --git a/config/prod.env.js b/config/prod.env.js index b2953b3..9836354 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,5 +1,5 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - BASE_API: '" http://124.42.118.61:8093"', + BASE_API: '"http://124.42.118.61:8093"', } diff --git a/src/views/deptAccess/deptAccessChart.vue b/src/views/deptAccess/deptAccessChart.vue index 85c2320..5a6810d 100644 --- a/src/views/deptAccess/deptAccessChart.vue +++ b/src/views/deptAccess/deptAccessChart.vue @@ -93,15 +93,15 @@ formatter: (params) => tooltip + '
' + params.name + ':' + params.data }, - toolbox: { - show: true, - right: '20', - feature: { - saveAsImage: { - show: true - } - } - }, + // toolbox: { + // show: true, + // right: '20', + // feature: { + // saveAsImage: { + // show: true + // } + // } + // }, color: '#5ab1ef', xAxis: { data: this.x, diff --git a/config/prod.env.js b/config/prod.env.js index b2953b3..9836354 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,5 +1,5 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - BASE_API: '" http://124.42.118.61:8093"', + BASE_API: '"http://124.42.118.61:8093"', } diff --git a/src/views/deptAccess/deptAccessChart.vue b/src/views/deptAccess/deptAccessChart.vue index 85c2320..5a6810d 100644 --- a/src/views/deptAccess/deptAccessChart.vue +++ b/src/views/deptAccess/deptAccessChart.vue @@ -93,15 +93,15 @@ formatter: (params) => tooltip + '
' + params.name + ':' + params.data }, - toolbox: { - show: true, - right: '20', - feature: { - saveAsImage: { - show: true - } - } - }, + // toolbox: { + // show: true, + // right: '20', + // feature: { + // saveAsImage: { + // show: true + // } + // } + // }, color: '#5ab1ef', xAxis: { data: this.x, diff --git a/src/views/otherComment/highFreq/highFreqChart.vue b/src/views/otherComment/highFreq/highFreqChart.vue index ad5281d..3c62d66 100644 --- a/src/views/otherComment/highFreq/highFreqChart.vue +++ b/src/views/otherComment/highFreq/highFreqChart.vue @@ -43,25 +43,25 @@ tooltip: { show: true }, - toolbox: { - show: true, - right: '20', - feature: { - saveAsImage: { - show: true - } - } - }, - color: [ - '#19d4ae', '#5ab1ef', '#fa6e86', - '#ffb980', '#0067a6', '#c4b4e4', - '#d87a80', '#9cbbff', '#d9d0c7', - '#87a997', '#d49ea2', '#5b4947', - '#7ba3a8' - ], + // toolbox: { + // show: true, + // right: '20', + // feature: { + // saveAsImage: { + // show: true + // } + // } + // }, + // color: [ + // '#19d4ae', '#5ab1ef', '#fa6e86', + // '#ffb980', '#0067a6', '#c4b4e4', + // '#d87a80', '#9cbbff', '#d9d0c7', + // '#87a997', '#d49ea2', '#5b4947', + // '#7ba3a8' + // ], legend: { orient: 'vertical', - left: 0, + right: 0, data: this.pieData.map(item => item.name) }, series: [{ diff --git a/config/prod.env.js b/config/prod.env.js index b2953b3..9836354 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,5 +1,5 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - BASE_API: '" http://124.42.118.61:8093"', + BASE_API: '"http://124.42.118.61:8093"', } diff --git a/src/views/deptAccess/deptAccessChart.vue b/src/views/deptAccess/deptAccessChart.vue index 85c2320..5a6810d 100644 --- a/src/views/deptAccess/deptAccessChart.vue +++ b/src/views/deptAccess/deptAccessChart.vue @@ -93,15 +93,15 @@ formatter: (params) => tooltip + '
' + params.name + ':' + params.data }, - toolbox: { - show: true, - right: '20', - feature: { - saveAsImage: { - show: true - } - } - }, + // toolbox: { + // show: true, + // right: '20', + // feature: { + // saveAsImage: { + // show: true + // } + // } + // }, color: '#5ab1ef', xAxis: { data: this.x, diff --git a/src/views/otherComment/highFreq/highFreqChart.vue b/src/views/otherComment/highFreq/highFreqChart.vue index ad5281d..3c62d66 100644 --- a/src/views/otherComment/highFreq/highFreqChart.vue +++ b/src/views/otherComment/highFreq/highFreqChart.vue @@ -43,25 +43,25 @@ tooltip: { show: true }, - toolbox: { - show: true, - right: '20', - feature: { - saveAsImage: { - show: true - } - } - }, - color: [ - '#19d4ae', '#5ab1ef', '#fa6e86', - '#ffb980', '#0067a6', '#c4b4e4', - '#d87a80', '#9cbbff', '#d9d0c7', - '#87a997', '#d49ea2', '#5b4947', - '#7ba3a8' - ], + // toolbox: { + // show: true, + // right: '20', + // feature: { + // saveAsImage: { + // show: true + // } + // } + // }, + // color: [ + // '#19d4ae', '#5ab1ef', '#fa6e86', + // '#ffb980', '#0067a6', '#c4b4e4', + // '#d87a80', '#9cbbff', '#d9d0c7', + // '#87a997', '#d49ea2', '#5b4947', + // '#7ba3a8' + // ], legend: { orient: 'vertical', - left: 0, + right: 0, data: this.pieData.map(item => item.name) }, series: [{ diff --git a/src/views/otherComment/sourceStatis/sourceStatisChart.vue b/src/views/otherComment/sourceStatis/sourceStatisChart.vue index 6868dbd..25a7332 100644 --- a/src/views/otherComment/sourceStatis/sourceStatisChart.vue +++ b/src/views/otherComment/sourceStatis/sourceStatisChart.vue @@ -20,10 +20,12 @@ pieData() { const tmp = [] this.list.forEach(item => { - const obj = {} - obj.name = item.caseSource - obj.value = item.caseNum - tmp.push(obj) + if (parseInt(item.caseNum) > 0) { + const obj = {} + obj.name = item.caseSource + obj.value = item.caseNum + tmp.push(obj) + } }) return tmp } @@ -43,25 +45,25 @@ tooltip: { show: true }, - toolbox: { - show: true, - right: '20', - feature: { - saveAsImage: { - show: true - } - } - }, - color: [ - '#19d4ae', '#5ab1ef', '#fa6e86', - '#ffb980', '#0067a6', '#c4b4e4', - '#d87a80', '#9cbbff', '#d9d0c7', - '#87a997', '#d49ea2', '#5b4947', - '#7ba3a8' - ], + // toolbox: { + // show: true, + // right: '20', + // feature: { + // saveAsImage: { + // show: true + // } + // } + // }, + // color: [ + // '#19d4ae', '#5ab1ef', '#fa6e86', + // '#ffb980', '#0067a6', '#c4b4e4', + // '#d87a80', '#9cbbff', '#d9d0c7', + // '#87a997', '#d49ea2', '#5b4947', + // '#7ba3a8' + // ], legend: { orient: 'vertical', - left: 0, + right: 0, data: this.pieData.map(item => item.name) }, series: [{