manage-client 3.2.103-2 → 3.2.103-5
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 +176 -176
- package/package.json +1 -1
- package/src/components/daping/CallCenter.vue +26 -14
- package/src/components/daping/DataManagement.vue +13 -6
- package/src/components/daping/SafeCheckRing.vue +2 -1
- package/src/components/daping/SafecheckBarChart.vue +17 -8
- package/src/components/daping/json/dataManage.json +26 -0
- package/src/components/sale/businessquery/FillCardQuery.vue +1 -5
- package/src/components/sale/config/exportConfig.js +1009 -1008
- package/src/components/sale/config/tableConfig.js +1 -1
- package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +2 -2
- package/src/components/webmeter/meterinfo/NewMeterList.vue +10 -3
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +1 -1
- package/src/filiale/jingwei/RecordInfoQuery.vue +40 -1
- package/src/filiale/qianneng/GasLossQuery.vue +632 -0
- package/src/filiale/qianneng/sale.js +1 -1
- package/src/main.js +66 -66
- package/src/webmeterManage.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,176 +1,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='
|
|
15
|
-
var qtx='
|
|
16
|
-
var bendi = '
|
|
17
|
-
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu = '
|
|
19
|
-
// var fuwu = 'http://
|
|
20
|
-
var system = '
|
|
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
|
-
'/rs/search': {
|
|
33
|
-
target: fuwu
|
|
34
|
-
},
|
|
35
|
-
// 查找资源服务数据
|
|
36
|
-
'/rs/logic/getLogin': {
|
|
37
|
-
target: fuwu
|
|
38
|
-
},
|
|
39
|
-
// 查找资源服务数据
|
|
40
|
-
'/rs/logic/getInitData': {
|
|
41
|
-
target: fuwu
|
|
42
|
-
},
|
|
43
|
-
'/rs/logic/getSaleInitData':{
|
|
44
|
-
target: fuwu
|
|
45
|
-
},
|
|
46
|
-
// 用户登录服务地址
|
|
47
|
-
'/rs/user': {
|
|
48
|
-
target: fuwu
|
|
49
|
-
},
|
|
50
|
-
'/rs/path/getParams': {
|
|
51
|
-
target: fuwu
|
|
52
|
-
},
|
|
53
|
-
'/rs/data': {
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
'/rs/license': {
|
|
57
|
-
target: fuwu
|
|
58
|
-
},
|
|
59
|
-
'/rs/db': {
|
|
60
|
-
target: fuwu
|
|
61
|
-
},
|
|
62
|
-
'/excel': {
|
|
63
|
-
target: fuwu
|
|
64
|
-
},
|
|
65
|
-
'/rs/config': {
|
|
66
|
-
target: fuwu
|
|
67
|
-
},
|
|
68
|
-
'/rs/sql/getLicenseById': {
|
|
69
|
-
target: fuwu
|
|
70
|
-
},
|
|
71
|
-
'/rs/report': {
|
|
72
|
-
target: bendi
|
|
73
|
-
},
|
|
74
|
-
'/rs/vue': {
|
|
75
|
-
target: fuwu
|
|
76
|
-
},
|
|
77
|
-
'/rs/file': {
|
|
78
|
-
target: bendi
|
|
79
|
-
},
|
|
80
|
-
'/rs/logic/SumSettleFileImport': {
|
|
81
|
-
target: '
|
|
82
|
-
},
|
|
83
|
-
'/rs': {
|
|
84
|
-
target: bendi
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
89
|
-
publicPath: config.output.publicPath,
|
|
90
|
-
stats: {
|
|
91
|
-
colors: true,
|
|
92
|
-
chunks: false
|
|
93
|
-
}
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
97
|
-
// force page reload when html-webpack-plugin template changes
|
|
98
|
-
compiler.plugin('compilation', function (compilation) {
|
|
99
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
100
|
-
hotMiddleware.publish({action: 'reload'})
|
|
101
|
-
cb()
|
|
102
|
-
})
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
// proxy api requests
|
|
106
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
107
|
-
var options = proxyTable[context]
|
|
108
|
-
if (typeof options === 'string') {
|
|
109
|
-
options = {target: options}
|
|
110
|
-
}
|
|
111
|
-
app.use(proxyMiddleware(context, options))
|
|
112
|
-
})
|
|
113
|
-
|
|
114
|
-
// handle fallback for HTML5 history API
|
|
115
|
-
app.use(require('connect-history-api-fallback')())
|
|
116
|
-
// app.use(function (req, res, next) {
|
|
117
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
118
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
119
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
120
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
121
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
122
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
123
|
-
// next()
|
|
124
|
-
// })
|
|
125
|
-
|
|
126
|
-
// serve webpack bundle output
|
|
127
|
-
app.use(devMiddleware)
|
|
128
|
-
|
|
129
|
-
// enable hot-reload and state-preserving
|
|
130
|
-
// compilation error display
|
|
131
|
-
app.use(hotMiddleware)
|
|
132
|
-
|
|
133
|
-
// serve pure static assets
|
|
134
|
-
app.use('/static', express.static('./static'))
|
|
135
|
-
|
|
136
|
-
// app.all('/rs/*', function (req, res) {
|
|
137
|
-
// proxy.web(req, res, {
|
|
138
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
139
|
-
// })
|
|
140
|
-
// })
|
|
141
|
-
|
|
142
|
-
// app.all('/rs/*', function (req, res) {
|
|
143
|
-
// proxy.web(req, res, {
|
|
144
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
145
|
-
// })
|
|
146
|
-
// })
|
|
147
|
-
// app.all('/excel/*', function (req, res) {
|
|
148
|
-
// proxy.web(req, res, {
|
|
149
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
150
|
-
// })
|
|
151
|
-
// })
|
|
152
|
-
|
|
153
|
-
// app.all('/rs/*', function (req, res) {
|
|
154
|
-
// proxy.web(req, res, {
|
|
155
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
156
|
-
// })
|
|
157
|
-
// })
|
|
158
|
-
|
|
159
|
-
// app.all('/*', function (req, res) {
|
|
160
|
-
// proxy.web(req, res, {
|
|
161
|
-
// target: 'http://127.0.0.1:82'
|
|
162
|
-
// })
|
|
163
|
-
// })
|
|
164
|
-
// app.all('/rs/user', function (req, res) {
|
|
165
|
-
// proxy.web(req, res, {
|
|
166
|
-
// target: 'http://127.0.0.1:82'
|
|
167
|
-
// })
|
|
168
|
-
// })
|
|
169
|
-
|
|
170
|
-
module.exports = app.listen(8085, function (err) {
|
|
171
|
-
if (err) {
|
|
172
|
-
console.log(err)
|
|
173
|
-
return
|
|
174
|
-
}
|
|
175
|
-
console.log('Listening at http://localhost:8085')
|
|
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://203.57.101.233:9001'
|
|
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
|
+
// 查找资源服务数据
|
|
32
|
+
'/rs/search': {
|
|
33
|
+
target: fuwu
|
|
34
|
+
},
|
|
35
|
+
// 查找资源服务数据
|
|
36
|
+
'/rs/logic/getLogin': {
|
|
37
|
+
target: fuwu
|
|
38
|
+
},
|
|
39
|
+
// 查找资源服务数据
|
|
40
|
+
'/rs/logic/getInitData': {
|
|
41
|
+
target: fuwu
|
|
42
|
+
},
|
|
43
|
+
'/rs/logic/getSaleInitData':{
|
|
44
|
+
target: fuwu
|
|
45
|
+
},
|
|
46
|
+
// 用户登录服务地址
|
|
47
|
+
'/rs/user': {
|
|
48
|
+
target: fuwu
|
|
49
|
+
},
|
|
50
|
+
'/rs/path/getParams': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/rs/data': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/rs/license': {
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
'/rs/db': {
|
|
60
|
+
target: fuwu
|
|
61
|
+
},
|
|
62
|
+
'/excel': {
|
|
63
|
+
target: fuwu
|
|
64
|
+
},
|
|
65
|
+
'/rs/config': {
|
|
66
|
+
target: fuwu
|
|
67
|
+
},
|
|
68
|
+
'/rs/sql/getLicenseById': {
|
|
69
|
+
target: fuwu
|
|
70
|
+
},
|
|
71
|
+
'/rs/report': {
|
|
72
|
+
target: bendi
|
|
73
|
+
},
|
|
74
|
+
'/rs/vue': {
|
|
75
|
+
target: fuwu
|
|
76
|
+
},
|
|
77
|
+
'/rs/file': {
|
|
78
|
+
target: bendi
|
|
79
|
+
},
|
|
80
|
+
'/rs/logic/SumSettleFileImport': {
|
|
81
|
+
target: 'http://127.0.0.1:8080'
|
|
82
|
+
},
|
|
83
|
+
'/rs': {
|
|
84
|
+
target: bendi
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
89
|
+
publicPath: config.output.publicPath,
|
|
90
|
+
stats: {
|
|
91
|
+
colors: true,
|
|
92
|
+
chunks: false
|
|
93
|
+
}
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
97
|
+
// force page reload when html-webpack-plugin template changes
|
|
98
|
+
compiler.plugin('compilation', function (compilation) {
|
|
99
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
100
|
+
hotMiddleware.publish({action: 'reload'})
|
|
101
|
+
cb()
|
|
102
|
+
})
|
|
103
|
+
})
|
|
104
|
+
|
|
105
|
+
// proxy api requests
|
|
106
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
107
|
+
var options = proxyTable[context]
|
|
108
|
+
if (typeof options === 'string') {
|
|
109
|
+
options = {target: options}
|
|
110
|
+
}
|
|
111
|
+
app.use(proxyMiddleware(context, options))
|
|
112
|
+
})
|
|
113
|
+
|
|
114
|
+
// handle fallback for HTML5 history API
|
|
115
|
+
app.use(require('connect-history-api-fallback')())
|
|
116
|
+
// app.use(function (req, res, next) {
|
|
117
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
118
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
119
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
120
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
121
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
122
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
123
|
+
// next()
|
|
124
|
+
// })
|
|
125
|
+
|
|
126
|
+
// serve webpack bundle output
|
|
127
|
+
app.use(devMiddleware)
|
|
128
|
+
|
|
129
|
+
// enable hot-reload and state-preserving
|
|
130
|
+
// compilation error display
|
|
131
|
+
app.use(hotMiddleware)
|
|
132
|
+
|
|
133
|
+
// serve pure static assets
|
|
134
|
+
app.use('/static', express.static('./static'))
|
|
135
|
+
|
|
136
|
+
// app.all('/rs/*', function (req, res) {
|
|
137
|
+
// proxy.web(req, res, {
|
|
138
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
139
|
+
// })
|
|
140
|
+
// })
|
|
141
|
+
|
|
142
|
+
// app.all('/rs/*', function (req, res) {
|
|
143
|
+
// proxy.web(req, res, {
|
|
144
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
145
|
+
// })
|
|
146
|
+
// })
|
|
147
|
+
// app.all('/excel/*', function (req, res) {
|
|
148
|
+
// proxy.web(req, res, {
|
|
149
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
150
|
+
// })
|
|
151
|
+
// })
|
|
152
|
+
|
|
153
|
+
// app.all('/rs/*', function (req, res) {
|
|
154
|
+
// proxy.web(req, res, {
|
|
155
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
156
|
+
// })
|
|
157
|
+
// })
|
|
158
|
+
|
|
159
|
+
// app.all('/*', function (req, res) {
|
|
160
|
+
// proxy.web(req, res, {
|
|
161
|
+
// target: 'http://127.0.0.1:82'
|
|
162
|
+
// })
|
|
163
|
+
// })
|
|
164
|
+
// app.all('/rs/user', function (req, res) {
|
|
165
|
+
// proxy.web(req, res, {
|
|
166
|
+
// target: 'http://127.0.0.1:82'
|
|
167
|
+
// })
|
|
168
|
+
// })
|
|
169
|
+
|
|
170
|
+
module.exports = app.listen(8085, function (err) {
|
|
171
|
+
if (err) {
|
|
172
|
+
console.log(err)
|
|
173
|
+
return
|
|
174
|
+
}
|
|
175
|
+
console.log('Listening at http://localhost:8085')
|
|
176
|
+
})
|
package/package.json
CHANGED
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
<script>
|
|
86
86
|
import {HttpResetClass} from "vue-client";
|
|
87
|
-
|
|
87
|
+
import dataManage from './json/dataManage.json'
|
|
88
88
|
export default {
|
|
89
89
|
title: '收费',
|
|
90
90
|
data() {
|
|
@@ -114,19 +114,31 @@
|
|
|
114
114
|
let load1 = new HttpResetClass()
|
|
115
115
|
let load2 = new HttpResetClass()
|
|
116
116
|
let load3 = new HttpResetClass()
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
117
|
+
if(!dataManage.callData){
|
|
118
|
+
load1.load('POST', 'rs/sql/getCallSum', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((res) => {
|
|
119
|
+
this.callData = res.data[0]
|
|
120
|
+
})
|
|
121
|
+
} else {
|
|
122
|
+
this.callData = dataManage.callData
|
|
123
|
+
}
|
|
124
|
+
if (!dataManage.callSum) {
|
|
125
|
+
load2.load('POST', 'rs/sql/getCallSumCompare', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((rea) => {
|
|
126
|
+
this.arrs = rea.data
|
|
127
|
+
})
|
|
128
|
+
} else {
|
|
129
|
+
this.arrs = dataManage.callSum
|
|
130
|
+
}
|
|
131
|
+
if (!dataManage.callSumByUnit) {
|
|
132
|
+
load3.load('POST', 'rs/sql/getCallSumByUnit', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((ret) => {
|
|
133
|
+
ret.data
|
|
134
|
+
// this.items =ret.data
|
|
135
|
+
// this.items.push(ret.data.filter((item) => item.name === "滨河")[0])
|
|
136
|
+
// this.items.push(ret.data.filter((item) => item.name === "乌达")[0])
|
|
137
|
+
// this.items.push(ret.data.filter((item) => item.name === "海勃湾")[0])
|
|
138
|
+
})
|
|
139
|
+
} else {
|
|
140
|
+
this.items = dataManage.callSumByUnit
|
|
141
|
+
}
|
|
130
142
|
|
|
131
143
|
},
|
|
132
144
|
props: {}
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
<span class="font-title">安检</span>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="flex-inline col-sm-6 auto" >
|
|
14
|
-
<span id="weiruhu">{{checkData.wrhsum >
|
|
14
|
+
<span id="weiruhu">{{checkData.wrhsum > 1000000 ? (checkData.wrhsum/10000).toFixed(2) + '万' : checkData.wrhsum}}</span>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="flex-inline col-sm-6 auto" >
|
|
17
|
-
<span id="anjian">{{checkData.jhsum >
|
|
17
|
+
<span id="anjian">{{checkData.jhsum > 1000000 ? (checkData.jhsum/10000).toFixed(2) + '万' : checkData.jhsum}}</span>
|
|
18
18
|
</div>
|
|
19
19
|
<div class="flex-inline col-sm-6 auto" >
|
|
20
20
|
<span class="normal-font" >三年未入户总数</span>
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
<script>
|
|
86
86
|
import {HttpResetClass} from 'vue-client'
|
|
87
|
+
import dataManage from './json/dataManage.json'
|
|
87
88
|
export default {
|
|
88
89
|
title: '数据展示',
|
|
89
90
|
data() {
|
|
@@ -115,10 +116,16 @@ export default {
|
|
|
115
116
|
console.log('穿过来的值')
|
|
116
117
|
this.changeshow = !this.changeshow
|
|
117
118
|
console.log(this.changeshow)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
if(!dataManage.checkData){
|
|
120
|
+
let http = new HttpResetClass()
|
|
121
|
+
await http.load('post', '/rs/sql/getCheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
122
|
+
this.checkData = res.data[0]
|
|
123
|
+
})
|
|
124
|
+
} else {
|
|
125
|
+
this.checkData = dataManage.checkData
|
|
126
|
+
|
|
127
|
+
}
|
|
128
|
+
|
|
122
129
|
// await http.load('post', '/rs/sql/getHeatStationTable', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
123
130
|
// console.log('热源厂---------------')
|
|
124
131
|
// console.log(res)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<script>
|
|
7
7
|
import {HttpResetClass} from "vue-client";
|
|
8
|
-
|
|
8
|
+
// import dataManage from 'src/components/daping/json/dataManage.json'
|
|
9
9
|
export default {
|
|
10
10
|
title: '收费',
|
|
11
11
|
data () {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
methods: {
|
|
18
18
|
async resize(){
|
|
19
|
+
// if(dataManage.safeCheckRing)
|
|
19
20
|
let http = new HttpResetClass()
|
|
20
21
|
// 收费
|
|
21
22
|
await http.load('post', '/rs/sql/getSafecheckSumByType', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<script>
|
|
7
7
|
import {HttpResetClass} from "vue-client";
|
|
8
|
-
|
|
8
|
+
import dataManage from './json/dataManage.json'
|
|
9
9
|
export default {
|
|
10
10
|
title: '收费',
|
|
11
11
|
data() {
|
|
@@ -17,14 +17,23 @@
|
|
|
17
17
|
},
|
|
18
18
|
methods: {
|
|
19
19
|
async resize(){
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
if(!dataManage.checkByMonth){
|
|
21
|
+
let http = new HttpResetClass()
|
|
22
|
+
// 收费
|
|
23
|
+
await http.load('post', '/rs/sql/getSafecheckSumByMonth', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
24
|
+
this.xData = res.data.map(item => item.time)
|
|
25
|
+
this.yData1 = res.data.map(item => item.allnum)
|
|
26
|
+
this.yData2 = res.data.map(item => item.sucnum)
|
|
27
|
+
this.init()
|
|
28
|
+
})
|
|
29
|
+
}else{
|
|
30
|
+
let res = dataManage.checkByMonth
|
|
31
|
+
this.xData = res.map(item => item.time)
|
|
32
|
+
this.yData1 = res.map(item => item.allnum)
|
|
33
|
+
this.yData2 = res.map(item => item.sucnum)
|
|
26
34
|
this.init()
|
|
27
|
-
}
|
|
35
|
+
}
|
|
36
|
+
|
|
28
37
|
},
|
|
29
38
|
init() {
|
|
30
39
|
var xData = this.xData,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"checkData":{
|
|
3
|
+
"wrhsum":2458,
|
|
4
|
+
"jhsum":81300
|
|
5
|
+
},
|
|
6
|
+
"checkByMonth":[{"sucnum":8359,"time":"2021-11","allnum":8359},
|
|
7
|
+
{"sucnum":2114,"time":"2021-12","allnum":2114},
|
|
8
|
+
{"sucnum":5528,"time":"2022-01","allnum":5528},
|
|
9
|
+
{"sucnum":6921,"time":"2022-02","allnum":6921},
|
|
10
|
+
{"sucnum":3820,"time":"2022-03","allnum":3820}
|
|
11
|
+
],
|
|
12
|
+
"callData":{
|
|
13
|
+
"yearamount":12101,
|
|
14
|
+
"sumsend":2453,
|
|
15
|
+
"dayamount":12101,
|
|
16
|
+
"sumwmm":2397
|
|
17
|
+
},
|
|
18
|
+
"callSum":[
|
|
19
|
+
{"lastyear":100,"addvalue":10,"year":118,"name":"昨日呼入量"},
|
|
20
|
+
{"lastyear":56,"addvalue":3,"year":70,"name":"昨日派单量"}
|
|
21
|
+
],
|
|
22
|
+
"callSumByUnit":[
|
|
23
|
+
{"value":100,"addvalue":99,"name":"昨日呼入量"},
|
|
24
|
+
{"value":56,"addvalue":98,"name":"昨日派单量"}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -266,9 +266,6 @@
|
|
|
266
266
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
267
267
|
卡费合计: {{sumsmodel.f_cardfees}}
|
|
268
268
|
</td>
|
|
269
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
270
|
-
户数合计: {{sumsmodel.hushu}}
|
|
271
|
-
</td>
|
|
272
269
|
</tr>
|
|
273
270
|
</table>
|
|
274
271
|
</div>
|
|
@@ -312,7 +309,7 @@
|
|
|
312
309
|
data: {},
|
|
313
310
|
other:[],
|
|
314
311
|
footer:[],
|
|
315
|
-
model: new PagedList('rs/sql/fillCardQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_cardfees: 0
|
|
312
|
+
model: new PagedList('rs/sql/fillCardQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_cardfees: 0}),
|
|
316
313
|
criteriaShow: false,
|
|
317
314
|
headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补卡类型", "表编号", "卡号", "气表品牌", "气表状态", "卡费", "补卡日期", "人员", "部门", "公司"],
|
|
318
315
|
bodyData: ["f_userinfo_code", "f_user_name", "f_user_phone", "f_idnumber", "address", " f_type", "f_user_id", "f_card_id", "f_meter_brand", "f_table_state", "f_cardfees", "f_operate_date", "f_operator", "f_depname", "f_orgname"],
|
|
@@ -396,7 +393,6 @@
|
|
|
396
393
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
397
394
|
await this.model.search(args.condition, args.model)
|
|
398
395
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
399
|
-
this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
|
|
400
396
|
},
|
|
401
397
|
|
|
402
398
|
initParams() {
|