|
@@ -1,5 +1,5 @@
|
|
|
-//const PATH = 'http://192.168.1.223:7777';
|
|
|
- const PATH = 'http://data.cqna.gov.cn';
|
|
|
+const PATH = 'http://192.168.1.253:7777';
|
|
|
+// const PATH = 'http://data.cqna.gov.cn';
|
|
|
const detailLimitDefault = 10;
|
|
|
|
|
|
|
|
@@ -215,7 +215,7 @@ function staticTitleData(data) {
|
|
|
*/
|
|
|
function drawHandleByBarChart() {
|
|
|
let barData;
|
|
|
- get('/mail/queryMonthStatus', false, {}, function (res) {
|
|
|
+ get('/mail/queryToType', false, {"type": 1}, function (res) {
|
|
|
let data = res.data;
|
|
|
if (!data) {
|
|
|
barData = {
|
|
@@ -342,7 +342,7 @@ function drawHandleByBarChart() {
|
|
|
function drawHandleTypeByPieChart() {
|
|
|
let pieData = [];
|
|
|
get('/mail/queryToType', false, {
|
|
|
- "type": 1
|
|
|
+ "type": 3
|
|
|
}, function (res) {
|
|
|
if (res.data) {
|
|
|
pieData = res.data;
|