manage-client 3.2.145 → 3.2.148
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +179 -176
- package/build/webpack.base.conf.js +1 -1
- package/package.json +2 -1
- package/src/App.vue +1 -0
- package/src/components/SellReport/BankManager.vue +102 -102
- package/src/components/SellReport/Test.vue +862 -0
- package/src/components/WebReport/EchartsBox.vue +1 -0
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +10 -0
- package/src/filiale/macheng/config/exportConfig.js +1 -1
- package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
- package/src/filiale/qianneng/ChargeQuery.vue +1 -1
- package/src/filiale/xinkang/ChargeQuery.vue +1308 -0
- package/src/filiale/xinkang/sale.js +10 -0
- package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +116 -0
- package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +180 -0
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +322 -0
- package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +140 -0
- package/src/filiale/zhongyi/CallReport/RateBottom.vue +143 -0
- package/src/filiale/zhongyi/CallReport/RateTop.vue +144 -0
- package/src/filiale/zhongyi/CallReport/ScrollContent.vue +143 -0
- package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +385 -0
- package/src/filiale/zhongyi/CallReport/SwiperTools.vue +161 -0
- package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +143 -0
- package/src/filiale/zhongyi/CallReport/Time.vue +100 -0
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +97 -0
- package/src/filiale/zhongyi/CallReport/WeatherData.vue +44 -0
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +181 -0
- package/src/filiale/zhongyi/sale.js +34 -1
- package/src/main.js +66 -66
- package/src/reportManage.js +4 -0
- package/static/fonts/font.css +6 -0
- package/static/fonts//351/230/277/351/207/214/346/261/211/344/273/252/346/231/272/350/203/275/351/273/221/344/275/223.TTF +0 -0
- package/static/images/zhongyi/Pigeon.png +0 -0
- package/static/images/zhongyi/background.png +0 -0
- package/static/images/zhongyi/blueArrows.png +0 -0
- package/static/images/zhongyi/blueBall.png +0 -0
- package/static/images/zhongyi/blueLadder.png +0 -0
- package/static/images/zhongyi/blueLine.png +0 -0
- package/static/images/zhongyi/bluebg.png +0 -0
- package/static/images/zhongyi/bulebg2.png +0 -0
- package/static/images/zhongyi/chart-2@2x.png +0 -0
- package/static/images/zhongyi/cloudy.png +0 -0
- package/static/images/zhongyi/exclamationPoint.png +0 -0
- package/static/images/zhongyi/netHall.png +0 -0
- package/static/images/zhongyi/orangebg.png +0 -0
- package/static/images/zhongyi/phone1.png +0 -0
- package/static/images/zhongyi/phone2.png +0 -0
- package/static/images/zhongyi/phone3.png +0 -0
- package/static/images/zhongyi/phone4.png +0 -0
- package/static/images/zhongyi/phone5.png +0 -0
- package/static/images/zhongyi/refresh.png +0 -0
- package/static/images/zhongyi/ring.png +0 -0
- package/static/images/zhongyi/service1.png +0 -0
- package/static/images/zhongyi/service2.png +0 -0
- package/static/images/zhongyi/telephone1.png +0 -0
- package/static/images/zhongyi/telephone2.png +0 -0
- package/static/images/zhongyi/trumpet.png +0 -0
- package/static/images/zhongyi/weChat.png +0 -0
- package/static/images/zhongyi/workOrder.png +0 -0
- package/static/images/zhongyi/yellowArrows.png +0 -0
- package/static/images/zhongyi/yellowBall.png +0 -0
- package/static/images/zhongyi/yellowLadder.png +0 -0
- package/static/images/zhongyi/yellowbg.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235 2@2x.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235@2x.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1.png +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,176 +1,179 @@
|
|
|
1
|
-
var express = require('express')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var config = require('./webpack.dev.conf')
|
|
4
|
-
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
6
|
-
|
|
7
|
-
var app = express()
|
|
8
|
-
var compiler = webpack(config)
|
|
9
|
-
// var proxy = httpProxy.createProxyServer()
|
|
10
|
-
|
|
11
|
-
// Define HTTP proxies to your custom API backend
|
|
12
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
-
var shaoguan='http://119.146.1.106:8300/'
|
|
15
|
-
var qtx='http://36.103.222.144:6300/'
|
|
16
|
-
var bendi = 'http://
|
|
17
|
-
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu =
|
|
19
|
-
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
|
-
var system = 'http://192.168.50.4:8400'
|
|
21
|
-
//192.168.
|
|
22
|
-
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
23
|
-
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
24
|
-
var proxyTable = {
|
|
25
|
-
'/rs/logic/exportfile': {
|
|
26
|
-
target: fuwu
|
|
27
|
-
},
|
|
28
|
-
'/files': {
|
|
29
|
-
target: fuwu
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
'/rs/logic/
|
|
44
|
-
target: fuwu
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
'/rs/
|
|
51
|
-
target: fuwu
|
|
52
|
-
},
|
|
53
|
-
'/rs/
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
'/rs/
|
|
57
|
-
target: fuwu
|
|
58
|
-
},
|
|
59
|
-
'/rs/
|
|
60
|
-
target: fuwu
|
|
61
|
-
},
|
|
62
|
-
'/
|
|
63
|
-
target: fuwu
|
|
64
|
-
},
|
|
65
|
-
'/
|
|
66
|
-
target: fuwu
|
|
67
|
-
},
|
|
68
|
-
'/rs/
|
|
69
|
-
target: fuwu
|
|
70
|
-
},
|
|
71
|
-
'/rs/
|
|
72
|
-
target:
|
|
73
|
-
},
|
|
74
|
-
'/rs/
|
|
75
|
-
target:
|
|
76
|
-
},
|
|
77
|
-
'/rs/
|
|
78
|
-
target:
|
|
79
|
-
},
|
|
80
|
-
'/rs/
|
|
81
|
-
target:
|
|
82
|
-
},
|
|
83
|
-
'/rs': {
|
|
84
|
-
target:
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
//
|
|
118
|
-
|
|
119
|
-
//
|
|
120
|
-
// res.header('
|
|
121
|
-
// res.header('Access-Control-Allow-
|
|
122
|
-
// res.header('
|
|
123
|
-
//
|
|
124
|
-
//
|
|
125
|
-
|
|
126
|
-
//
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
//
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
//
|
|
134
|
-
app.use(
|
|
135
|
-
|
|
136
|
-
//
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
|
|
142
|
-
//
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
//
|
|
146
|
-
//
|
|
147
|
-
//
|
|
148
|
-
//
|
|
149
|
-
//
|
|
150
|
-
//
|
|
151
|
-
//
|
|
152
|
-
|
|
153
|
-
//
|
|
154
|
-
//
|
|
155
|
-
|
|
156
|
-
//
|
|
157
|
-
//
|
|
158
|
-
|
|
159
|
-
//
|
|
160
|
-
//
|
|
161
|
-
|
|
162
|
-
//
|
|
163
|
-
//
|
|
164
|
-
//
|
|
165
|
-
//
|
|
166
|
-
//
|
|
167
|
-
//
|
|
168
|
-
//
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
1
|
+
var express = require('express')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var config = require('./webpack.dev.conf')
|
|
4
|
+
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
// var httpProxy = require('http-proxy')
|
|
6
|
+
|
|
7
|
+
var app = express()
|
|
8
|
+
var compiler = webpack(config)
|
|
9
|
+
// var proxy = httpProxy.createProxyServer()
|
|
10
|
+
|
|
11
|
+
// Define HTTP proxies to your custom API backend
|
|
12
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
+
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
+
var shaoguan='http://119.146.1.106:8300/'
|
|
15
|
+
var qtx='http://36.103.222.144:6300/'
|
|
16
|
+
var bendi = 'http://192.168.50.4:8400'
|
|
17
|
+
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
+
var fuwu = 'http://192.168.50.4:8400'
|
|
19
|
+
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
|
+
var system = 'http://192.168.50.4:8400'
|
|
21
|
+
//192.168.
|
|
22
|
+
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
23
|
+
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
24
|
+
var proxyTable = {
|
|
25
|
+
'/rs/logic/exportfile': {
|
|
26
|
+
target: fuwu
|
|
27
|
+
},
|
|
28
|
+
'/files': {
|
|
29
|
+
target: fuwu
|
|
30
|
+
},
|
|
31
|
+
'/rs/sql/chargeQuery': {
|
|
32
|
+
target: 'http://127.0.0.1:8084/'
|
|
33
|
+
},
|
|
34
|
+
// 查找资源服务数据
|
|
35
|
+
'/rs/search': {
|
|
36
|
+
target: fuwu
|
|
37
|
+
},
|
|
38
|
+
// 查找资源服务数据
|
|
39
|
+
'/rs/logic/getLogin': {
|
|
40
|
+
target: fuwu
|
|
41
|
+
},
|
|
42
|
+
// 查找资源服务数据
|
|
43
|
+
'/rs/logic/getInitData': {
|
|
44
|
+
target: fuwu
|
|
45
|
+
},
|
|
46
|
+
'/rs/logic/getSaleInitData':{
|
|
47
|
+
target: fuwu
|
|
48
|
+
},
|
|
49
|
+
// 用户登录服务地址
|
|
50
|
+
'/rs/user': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/rs/path/getParams': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/rs/data': {
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
'/rs/license': {
|
|
60
|
+
target: fuwu
|
|
61
|
+
},
|
|
62
|
+
'/rs/db': {
|
|
63
|
+
target: fuwu
|
|
64
|
+
},
|
|
65
|
+
'/excel': {
|
|
66
|
+
target: fuwu
|
|
67
|
+
},
|
|
68
|
+
'/rs/config': {
|
|
69
|
+
target: fuwu
|
|
70
|
+
},
|
|
71
|
+
'/rs/sql/getLicenseById': {
|
|
72
|
+
target: fuwu
|
|
73
|
+
},
|
|
74
|
+
'/rs/report': {
|
|
75
|
+
target: bendi
|
|
76
|
+
},
|
|
77
|
+
'/rs/vue': {
|
|
78
|
+
target: fuwu
|
|
79
|
+
},
|
|
80
|
+
'/rs/file': {
|
|
81
|
+
target: bendi
|
|
82
|
+
},
|
|
83
|
+
'/rs/logic/SumSettleFileImport': {
|
|
84
|
+
target: 'http://127.0.0.1:8080'
|
|
85
|
+
},
|
|
86
|
+
'/rs': {
|
|
87
|
+
target: fuwu
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
92
|
+
publicPath: config.output.publicPath,
|
|
93
|
+
stats: {
|
|
94
|
+
colors: true,
|
|
95
|
+
chunks: false
|
|
96
|
+
}
|
|
97
|
+
})
|
|
98
|
+
|
|
99
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
100
|
+
// force page reload when html-webpack-plugin template changes
|
|
101
|
+
compiler.plugin('compilation', function (compilation) {
|
|
102
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
103
|
+
hotMiddleware.publish({action: 'reload'})
|
|
104
|
+
cb()
|
|
105
|
+
})
|
|
106
|
+
})
|
|
107
|
+
|
|
108
|
+
// proxy api requests
|
|
109
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
110
|
+
var options = proxyTable[context]
|
|
111
|
+
if (typeof options === 'string') {
|
|
112
|
+
options = {target: options}
|
|
113
|
+
}
|
|
114
|
+
app.use(proxyMiddleware(context, options))
|
|
115
|
+
})
|
|
116
|
+
|
|
117
|
+
// handle fallback for HTML5 history API
|
|
118
|
+
app.use(require('connect-history-api-fallback')())
|
|
119
|
+
// app.use(function (req, res, next) {
|
|
120
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
121
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
122
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
123
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
124
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
125
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
126
|
+
// next()
|
|
127
|
+
// })
|
|
128
|
+
|
|
129
|
+
// serve webpack bundle output
|
|
130
|
+
app.use(devMiddleware)
|
|
131
|
+
|
|
132
|
+
// enable hot-reload and state-preserving
|
|
133
|
+
// compilation error display
|
|
134
|
+
app.use(hotMiddleware)
|
|
135
|
+
|
|
136
|
+
// serve pure static assets
|
|
137
|
+
app.use('/static', express.static('./static'))
|
|
138
|
+
|
|
139
|
+
// app.all('/rs/*', function (req, res) {
|
|
140
|
+
// proxy.web(req, res, {
|
|
141
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
142
|
+
// })
|
|
143
|
+
// })
|
|
144
|
+
|
|
145
|
+
// app.all('/rs/*', function (req, res) {
|
|
146
|
+
// proxy.web(req, res, {
|
|
147
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
148
|
+
// })
|
|
149
|
+
// })
|
|
150
|
+
// app.all('/excel/*', function (req, res) {
|
|
151
|
+
// proxy.web(req, res, {
|
|
152
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
153
|
+
// })
|
|
154
|
+
// })
|
|
155
|
+
|
|
156
|
+
// app.all('/rs/*', function (req, res) {
|
|
157
|
+
// proxy.web(req, res, {
|
|
158
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
159
|
+
// })
|
|
160
|
+
// })
|
|
161
|
+
|
|
162
|
+
// app.all('/*', function (req, res) {
|
|
163
|
+
// proxy.web(req, res, {
|
|
164
|
+
// target: 'http://127.0.0.1:82'
|
|
165
|
+
// })
|
|
166
|
+
// })
|
|
167
|
+
// app.all('/rs/user', function (req, res) {
|
|
168
|
+
// proxy.web(req, res, {
|
|
169
|
+
// target: 'http://127.0.0.1:82'
|
|
170
|
+
// })
|
|
171
|
+
// })
|
|
172
|
+
|
|
173
|
+
module.exports = app.listen(8085, function (err) {
|
|
174
|
+
if (err) {
|
|
175
|
+
console.log(err)
|
|
176
|
+
return
|
|
177
|
+
}
|
|
178
|
+
console.log('Listening at http://localhost:8085')
|
|
179
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.148",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"sinon-chai": "^2.8.0",
|
|
65
65
|
"style": "0.0.3",
|
|
66
66
|
"style-loader": "^0.20.3",
|
|
67
|
+
"swiper": "^5.4.5",
|
|
67
68
|
"system-clients": "3.1.89-20",
|
|
68
69
|
"url-loader": "^0.5.7",
|
|
69
70
|
"vue-amap": "0.5.10",
|
package/src/App.vue
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
|
10
10
|
<!--<route :comp="{name: 'malfunction-home'}"></route>-->
|
|
11
11
|
<route :comp="{name: 'login'}"></route>
|
|
12
|
+
<!-- <route :comp="{name: 'call-report-main-page'}"></route>-->
|
|
12
13
|
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
|
13
14
|
<!--<route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route>-->
|
|
14
15
|
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
|
@@ -13,17 +13,17 @@ import {HttpResetClass } from 'vue-client'
|
|
|
13
13
|
let getData = function * (self) {
|
|
14
14
|
let load = new HttpResetClass()
|
|
15
15
|
load.load('POST', 'rs/sql/userfilesvalues',
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
{data: {startDate: self.startdate, endDate: self.enddate, f_orgid: self.orgid}},
|
|
17
|
+
{resolveMsg: null, rejectMsg: null})
|
|
18
|
+
.then((res) => {
|
|
19
|
+
self.texttile = '用户类型'
|
|
20
|
+
// let arrparams = []
|
|
21
|
+
console.log('获取数据。。', res.data)
|
|
22
|
+
let org = []
|
|
23
|
+
//let name = []
|
|
24
|
+
let minyongvalue=[]
|
|
25
|
+
let feiminyongvalue=[]
|
|
26
|
+
for (var i = 0; i < res.data.length; i++) {
|
|
27
27
|
if (!org.includes(res.data[i].org)) {
|
|
28
28
|
org.push(res.data[i].org)
|
|
29
29
|
}
|
|
@@ -32,9 +32,9 @@ let getData = function * (self) {
|
|
|
32
32
|
}else{
|
|
33
33
|
feiminyongvalue[org.indexOf(res.data[i].org)]= res.data[i].number
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
}
|
|
36
|
+
self.set(org,minyongvalue,feiminyongvalue)
|
|
37
|
+
})
|
|
38
38
|
}
|
|
39
39
|
export default {
|
|
40
40
|
props: {
|
|
@@ -49,98 +49,98 @@ export default {
|
|
|
49
49
|
orgid: {
|
|
50
50
|
type: String
|
|
51
51
|
}
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
},
|
|
53
|
+
data () {
|
|
54
|
+
title: '银行管理'
|
|
55
|
+
return {
|
|
56
|
+
texttile: '',
|
|
57
|
+
xc: '',
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
calculable : true,
|
|
90
|
-
xAxis : [
|
|
91
|
-
{
|
|
92
|
-
type : 'category',
|
|
93
|
-
data : org
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
yAxis : [
|
|
97
|
-
{
|
|
98
|
-
type : 'value'
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
series : [
|
|
102
|
-
{
|
|
103
|
-
name:'民用',
|
|
104
|
-
type:'bar',
|
|
105
|
-
data:minyongvalue,
|
|
106
|
-
markLine : {
|
|
107
|
-
data : [
|
|
108
|
-
{type : 'average', name: '平均值'}
|
|
109
|
-
]
|
|
59
|
+
minyongvalue: [],
|
|
60
|
+
feiminyongvalue: []
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
set (org,minyongvalue,feiminyongvalue) {
|
|
65
|
+
this.xc = echarts.init(document.getElementById('bm'))
|
|
66
|
+
this.xc.setOption({
|
|
67
|
+
title : {
|
|
68
|
+
text: '新增用户散列图',
|
|
69
|
+
subtext: '数据查询来源',
|
|
70
|
+
x: 'left'
|
|
71
|
+
},
|
|
72
|
+
tooltip : {
|
|
73
|
+
trigger: 'axis'
|
|
74
|
+
},
|
|
75
|
+
legend: {
|
|
76
|
+
x: 'left',
|
|
77
|
+
y: 'bottom',
|
|
78
|
+
data: ['民用','非民用']
|
|
79
|
+
},
|
|
80
|
+
toolbox: {
|
|
81
|
+
show : true,
|
|
82
|
+
feature : {
|
|
83
|
+
dataView : {show: true, readOnly: false},
|
|
84
|
+
magicType : {show: true, type: ['line', 'bar']},
|
|
85
|
+
restore : {show: true},
|
|
86
|
+
saveAsImage : {show: true}
|
|
110
87
|
}
|
|
111
88
|
},
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
data : [
|
|
118
|
-
{type : 'average', name : '平均值'}
|
|
119
|
-
]
|
|
89
|
+
calculable : true,
|
|
90
|
+
xAxis : [
|
|
91
|
+
{
|
|
92
|
+
type : 'category',
|
|
93
|
+
data : org
|
|
120
94
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
95
|
+
],
|
|
96
|
+
yAxis : [
|
|
97
|
+
{
|
|
98
|
+
type : 'value'
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
series : [
|
|
102
|
+
{
|
|
103
|
+
name:'民用',
|
|
104
|
+
type:'bar',
|
|
105
|
+
data:minyongvalue,
|
|
106
|
+
markLine : {
|
|
107
|
+
data : [
|
|
108
|
+
{type : 'average', name: '平均值'}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name:'非民用',
|
|
114
|
+
type:'bar',
|
|
115
|
+
data:feiminyongvalue,
|
|
116
|
+
markLine : {
|
|
117
|
+
data : [
|
|
118
|
+
{type : 'average', name : '平均值'}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
})
|
|
124
|
+
},
|
|
125
|
+
searchdata () {
|
|
126
|
+
let getGen =getData(this)
|
|
127
|
+
co(getGen)
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
ready () {
|
|
131
|
+
this.searchdata()
|
|
132
|
+
},
|
|
133
|
+
watch: {
|
|
134
|
+
'startdate' (val) {
|
|
135
|
+
this.searchdata()
|
|
136
|
+
},
|
|
137
|
+
'enddate' (val) {
|
|
138
|
+
this.searchdata()
|
|
139
|
+
},
|
|
140
|
+
'orgid' (val) {
|
|
141
|
+
this.searchdata()
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
144
|
|
|
145
145
|
}
|
|
146
146
|
</script>
|