manage-client 3.1.18 → 3.1.19-zk
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 +170 -174
- package/package.json +1 -1
- package/src/components/BasisEcharts/RingChart.vue +1 -0
- package/src/components/daping/ManageMain.vue +1 -1
- package/src/components/statistical/StatisticalAnalysis.vue +86 -75
- package/src/filiale/zhoukou/CardHandplanQuery.vue +457 -457
- package/src/filiale/zhoukou/ChargeQuery.vue +1229 -0
- package/src/filiale/zhoukou/HandplanQuery.vue +1286 -0
- package/src/filiale/zhoukou/OtherChargeQuery.vue +614 -614
- package/src/filiale/zhoukou/SellReport/ChargeDayReport.vue +427 -0
- package/src/filiale/zhoukou/SellReport/ChargeDayTable.vue +258 -0
- package/src/filiale/zhoukou/TransferQuery.vue +404 -404
- package/src/filiale/zhoukou/reportManage.js +8 -0
- package/src/filiale/zhoukou/sale.js +18 -15
- package/src/main.js +66 -66
- package/src/newmanage.js +7 -2
- package/static/NewManageHome/title_wuhai.png +0 -0
- /package/static/NewManageHome/{title_wujie.png → title_wujie1.png} +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,174 +1,170 @@
|
|
|
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
|
-
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'/rs/
|
|
24
|
-
target: fuwu
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
'/rs/logic/
|
|
35
|
-
target: fuwu
|
|
36
|
-
},
|
|
37
|
-
//
|
|
38
|
-
'/rs/
|
|
39
|
-
target: fuwu
|
|
40
|
-
},
|
|
41
|
-
'/rs/
|
|
42
|
-
target: fuwu
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
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
|
-
// res.header('Access-Control-Allow-
|
|
116
|
-
// res.header('
|
|
117
|
-
//
|
|
118
|
-
//
|
|
119
|
-
|
|
120
|
-
//
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
//
|
|
125
|
-
app.use(
|
|
126
|
-
|
|
127
|
-
//
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
//
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
//
|
|
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
|
-
return
|
|
172
|
-
}
|
|
173
|
-
console.log('Listening at http://localhost:8085')
|
|
174
|
-
})
|
|
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:8081/'
|
|
14
|
+
var fuwu = 'http://192.168.20.27:8400/'
|
|
15
|
+
var proxyTable = {
|
|
16
|
+
'/rs/logic/exportfile': {
|
|
17
|
+
target: fuwu
|
|
18
|
+
},
|
|
19
|
+
'/files': {
|
|
20
|
+
target: fuwu
|
|
21
|
+
},
|
|
22
|
+
// 查找资源服务数据
|
|
23
|
+
'/rs/search': {
|
|
24
|
+
target: fuwu
|
|
25
|
+
},
|
|
26
|
+
// 查找资源服务数据
|
|
27
|
+
'/rs/logic/getLogin': {
|
|
28
|
+
target: fuwu
|
|
29
|
+
},
|
|
30
|
+
// 查找资源服务数据
|
|
31
|
+
'/rs/logic/getInitData': {
|
|
32
|
+
target: fuwu
|
|
33
|
+
},
|
|
34
|
+
'/rs/logic/getSaleInitData':{
|
|
35
|
+
target: fuwu
|
|
36
|
+
},
|
|
37
|
+
// 用户登录服务地址
|
|
38
|
+
'/rs/user': {
|
|
39
|
+
target: fuwu
|
|
40
|
+
},
|
|
41
|
+
'/rs/path/getParams': {
|
|
42
|
+
target: fuwu
|
|
43
|
+
},
|
|
44
|
+
'/rs/data': {
|
|
45
|
+
target: fuwu
|
|
46
|
+
},
|
|
47
|
+
'/rs/license': {
|
|
48
|
+
target: fuwu
|
|
49
|
+
},
|
|
50
|
+
'/rs/db': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/excel': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/rs/config': {
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
'/rs/sql/getLicenseById': {
|
|
60
|
+
target: fuwu
|
|
61
|
+
},
|
|
62
|
+
'/rs/report': {
|
|
63
|
+
target: fuwu
|
|
64
|
+
},
|
|
65
|
+
'/rs/sql': {
|
|
66
|
+
target: bendi
|
|
67
|
+
},
|
|
68
|
+
'/rs/vue': {
|
|
69
|
+
target: fuwu
|
|
70
|
+
},
|
|
71
|
+
'/rs/file': {
|
|
72
|
+
target: fuwu
|
|
73
|
+
},
|
|
74
|
+
'/rs/logic/SumSettleFileImport': {
|
|
75
|
+
target: 'http://127.0.0.1:8080'
|
|
76
|
+
},
|
|
77
|
+
'/rs': {
|
|
78
|
+
target: bendi
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
83
|
+
publicPath: config.output.publicPath,
|
|
84
|
+
stats: {
|
|
85
|
+
colors: true,
|
|
86
|
+
chunks: false
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
|
|
90
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
91
|
+
// force page reload when html-webpack-plugin template changes
|
|
92
|
+
compiler.plugin('compilation', function (compilation) {
|
|
93
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
94
|
+
hotMiddleware.publish({action: 'reload'})
|
|
95
|
+
cb()
|
|
96
|
+
})
|
|
97
|
+
})
|
|
98
|
+
|
|
99
|
+
// proxy api requests
|
|
100
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
101
|
+
var options = proxyTable[context]
|
|
102
|
+
if (typeof options === 'string') {
|
|
103
|
+
options = {target: options}
|
|
104
|
+
}
|
|
105
|
+
app.use(proxyMiddleware(context, options))
|
|
106
|
+
})
|
|
107
|
+
|
|
108
|
+
// handle fallback for HTML5 history API
|
|
109
|
+
app.use(require('connect-history-api-fallback')())
|
|
110
|
+
// app.use(function (req, res, next) {
|
|
111
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
112
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
113
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
114
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
115
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
116
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
117
|
+
// next()
|
|
118
|
+
// })
|
|
119
|
+
|
|
120
|
+
// serve webpack bundle output
|
|
121
|
+
app.use(devMiddleware)
|
|
122
|
+
|
|
123
|
+
// enable hot-reload and state-preserving
|
|
124
|
+
// compilation error display
|
|
125
|
+
app.use(hotMiddleware)
|
|
126
|
+
|
|
127
|
+
// serve pure static assets
|
|
128
|
+
app.use('/static', express.static('./static'))
|
|
129
|
+
|
|
130
|
+
// app.all('/rs/*', function (req, res) {
|
|
131
|
+
// proxy.web(req, res, {
|
|
132
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
133
|
+
// })
|
|
134
|
+
// })
|
|
135
|
+
|
|
136
|
+
// app.all('/rs/*', function (req, res) {
|
|
137
|
+
// proxy.web(req, res, {
|
|
138
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
139
|
+
// })
|
|
140
|
+
// })
|
|
141
|
+
// app.all('/excel/*', function (req, res) {
|
|
142
|
+
// proxy.web(req, res, {
|
|
143
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
144
|
+
// })
|
|
145
|
+
// })
|
|
146
|
+
|
|
147
|
+
// app.all('/rs/*', function (req, res) {
|
|
148
|
+
// proxy.web(req, res, {
|
|
149
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
150
|
+
// })
|
|
151
|
+
// })
|
|
152
|
+
|
|
153
|
+
// app.all('/*', function (req, res) {
|
|
154
|
+
// proxy.web(req, res, {
|
|
155
|
+
// target: 'http://127.0.0.1:82'
|
|
156
|
+
// })
|
|
157
|
+
// })
|
|
158
|
+
// app.all('/rs/user', function (req, res) {
|
|
159
|
+
// proxy.web(req, res, {
|
|
160
|
+
// target: 'http://127.0.0.1:82'
|
|
161
|
+
// })
|
|
162
|
+
// })
|
|
163
|
+
|
|
164
|
+
module.exports = app.listen(8085, function (err) {
|
|
165
|
+
if (err) {
|
|
166
|
+
console.log(err)
|
|
167
|
+
return
|
|
168
|
+
}
|
|
169
|
+
console.log('Listening at http://localhost:8085')
|
|
170
|
+
})
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
客服</span>
|
|
8
8
|
<img src="../../../static/NewManageHome/title_left.png" alt="" style="vertical-align:middle">
|
|
9
|
-
<img src="../../../static/NewManageHome/
|
|
9
|
+
<img src="../../../static/NewManageHome/title_wuhai.png" alt="" style="vertical-align:middle">
|
|
10
10
|
<img src="../../../static/NewManageHome/title_right.png" alt="" style="vertical-align:middle">
|
|
11
11
|
<span class="title_main" style="vertical-align:right;background: url('../../../static/NewManageHome/矩形1186拷贝.png')" @click="showCharts('数据化管理')" b>
|
|
12
12
|
|
|
@@ -1,50 +1,49 @@
|
|
|
1
1
|
<template lang="html">
|
|
2
2
|
<div :class="classname" :style="{width:width,height:height}">
|
|
3
|
-
<div
|
|
4
|
-
<div class="
|
|
5
|
-
<div class="
|
|
6
|
-
|
|
7
|
-
<res-select
|
|
8
|
-
|
|
9
|
-
:
|
|
3
|
+
<div style="height: 97%;">
|
|
4
|
+
<div class="col-sm-3" style="height: 97%">
|
|
5
|
+
<div class="row form-group" style="height: 5%">
|
|
6
|
+
<label class="font_normal_body" >使用公司:</label>
|
|
7
|
+
<res-select :initresid='model.orgid'
|
|
8
|
+
@res-select="getorg"
|
|
9
|
+
:is-mul="false"
|
|
10
|
+
class="select select_list"
|
|
11
|
+
restype='organization'
|
|
12
|
+
style="width: 60%">
|
|
10
13
|
</res-select>
|
|
11
14
|
</div>
|
|
12
|
-
<div style="text-align:center;"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<table border="1" style="text-align:center;">
|
|
20
|
-
<tr>
|
|
21
|
-
<th><nobr>现有户数</nobr></th>
|
|
22
|
-
<th><nobr>年度新增</nobr></th>
|
|
23
|
-
<th><nobr>本月新增</nobr></th>
|
|
15
|
+
<div class="row" style="margin-left: 5%;margin-right: 5%;height: 15%;text-align:center;" >
|
|
16
|
+
<h4 style="font-size: 18px;">用户数量</h4>
|
|
17
|
+
<table class="col-sm-12 table table-bordered table-striped" style="font-size: 16px;">
|
|
18
|
+
<tr class="text-center">
|
|
19
|
+
<th style="text-align:center;"><nobr>现有户数</nobr></th>
|
|
20
|
+
<th style="text-align:center;"><nobr>年度新增</nobr></th>
|
|
21
|
+
<th style="text-align:center;"><nobr>本月新增</nobr></th>
|
|
24
22
|
</tr>
|
|
25
23
|
<tr>
|
|
26
|
-
<td><nobr>{{num}}</nobr></td>
|
|
27
|
-
<td><nobr>{{year}}</nobr></td>
|
|
28
|
-
<td><nobr>{{month}}</nobr></td>
|
|
24
|
+
<td style="text-align:center;"><nobr>{{num}}</nobr></td>
|
|
25
|
+
<td style="text-align:center;"><nobr>{{year}}</nobr></td>
|
|
26
|
+
<td style="text-align:center;"><nobr>{{month}}</nobr></td>
|
|
29
27
|
</tr>
|
|
30
28
|
</table>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
</div>
|
|
30
|
+
<div style="width: 100%;height: 40%;margin-top: 10%;text-align:center;">
|
|
31
|
+
<h4 style="font-size: 18px;">民用分类实有户数</h4>
|
|
32
|
+
<ring-chart :sdata="sdata2" ></ring-chart>
|
|
33
|
+
</div>
|
|
34
|
+
<div style="width: 100%;height: 40%;text-align:center;">
|
|
35
|
+
<h4 style="font-size: 18px;">工商业分类实有户数</h4>
|
|
36
|
+
<ring-chart :sdata="sdata1" ></ring-chart>
|
|
39
37
|
</div>
|
|
40
38
|
</div>
|
|
41
|
-
<div class="col-sm-6" style="height: 97
|
|
39
|
+
<div class="col-sm-6" style="height: 97%;text-align:center;">
|
|
40
|
+
<h3>营收系统数据统计信息</h3>
|
|
42
41
|
<div style="width: 100%;height: 50%">
|
|
43
42
|
<div>
|
|
44
43
|
<bar-chart :xdata="xdata" :sdata="sdata" :legend="legendData" :xname="xname" :yname="yname"> </bar-chart>
|
|
45
44
|
</div>
|
|
46
45
|
</div>
|
|
47
|
-
<div style="width: 100%;height:
|
|
46
|
+
<div style="width: 100%;height: 50%">
|
|
48
47
|
<div>
|
|
49
48
|
<!-- <bussiness-type :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>-->
|
|
50
49
|
<bar-chart :xdata="xdata3" :sdata="sdata3" :legend="legendData1" :xname="xname" :yname="yname"> </bar-chart>
|
|
@@ -52,8 +51,8 @@
|
|
|
52
51
|
</div>
|
|
53
52
|
</div>
|
|
54
53
|
<div class="col-sm-3" style="height: 97%">
|
|
55
|
-
<div style="width: 100%;height:
|
|
56
|
-
<
|
|
54
|
+
<div style="width: 100%;height: 95%;margin-top: 10%;margin-right: 5%;" align="center">
|
|
55
|
+
<h4 style="font-size: 18px;">各类表具在用用户数量</h4>
|
|
57
56
|
<data-grid :model=mood class="table_sy" partial='list' >
|
|
58
57
|
<template partial='head' >
|
|
59
58
|
<tr>
|
|
@@ -98,22 +97,21 @@ export default {
|
|
|
98
97
|
}
|
|
99
98
|
},
|
|
100
99
|
watch:{
|
|
101
|
-
'
|
|
102
|
-
if (val) {
|
|
103
|
-
// console.log("77777777777777777",val)
|
|
100
|
+
'f_orgid'(val) {
|
|
101
|
+
// if (val) {
|
|
104
102
|
this.ks()
|
|
105
|
-
}
|
|
103
|
+
// }
|
|
106
104
|
}
|
|
107
105
|
},
|
|
108
106
|
data() {
|
|
109
107
|
return {
|
|
110
108
|
jurisdiction: this.$login.r,
|
|
111
109
|
model: {
|
|
112
|
-
id: [this.$login.f.orgid],
|
|
113
110
|
orgid: [this.$login.f.orgid],
|
|
114
111
|
startDate: Util.toStandardDateString(),
|
|
115
112
|
endDate: Util.toStandardDateString()
|
|
116
113
|
},
|
|
114
|
+
f_orgid: '',
|
|
117
115
|
xdata:[],
|
|
118
116
|
sdata: [],
|
|
119
117
|
legendData: ['民用'],
|
|
@@ -129,15 +127,28 @@ export default {
|
|
|
129
127
|
month:'',
|
|
130
128
|
arr:[],
|
|
131
129
|
arrs:[],
|
|
132
|
-
mood:''
|
|
130
|
+
mood:'',
|
|
131
|
+
resoptions: []
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
},
|
|
136
135
|
ready() {
|
|
137
|
-
|
|
136
|
+
|
|
138
137
|
},
|
|
139
138
|
methods: {
|
|
140
139
|
ks(){
|
|
140
|
+
this.xdata = []
|
|
141
|
+
this.sdata = []
|
|
142
|
+
this.sdata1 = []
|
|
143
|
+
this.sdata2 = []
|
|
144
|
+
this.xdata3 = []
|
|
145
|
+
this.sdata3 = []
|
|
146
|
+
this.num = ''
|
|
147
|
+
this.year = ''
|
|
148
|
+
this.month = ''
|
|
149
|
+
this.arr = []
|
|
150
|
+
this.arrs = []
|
|
151
|
+
this.mood = ''
|
|
141
152
|
this.getuser()
|
|
142
153
|
this.getType()
|
|
143
154
|
this.getType1()
|
|
@@ -146,39 +157,43 @@ export default {
|
|
|
146
157
|
this.getmeterbrand()
|
|
147
158
|
console.log("7777777777777",this.sdata)
|
|
148
159
|
},
|
|
149
|
-
|
|
160
|
+
getorg (val) {
|
|
161
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
162
|
+
// this.$parent.f_orgid = this.f_orgid
|
|
163
|
+
},
|
|
164
|
+
async getuser (){
|
|
150
165
|
let load = new HttpResetClass()
|
|
151
|
-
let id = this.model.orgid.toString()
|
|
152
|
-
|
|
166
|
+
// let id = this.model.orgid.toString()
|
|
167
|
+
await load.load('POST','rs/sql/getUser', {data: {f_orgid: this.f_orgid}}).then((res) => {
|
|
153
168
|
console.log("加载res",res)
|
|
154
169
|
for (var i = 0; i < res.data.length; i++) {
|
|
155
170
|
this.num = res.data[i].number
|
|
156
|
-
this.year= res.data[i].year
|
|
157
|
-
this.month= res.data[i].month
|
|
171
|
+
this.year = res.data[i].year
|
|
172
|
+
this.month = res.data[i].month
|
|
158
173
|
}
|
|
159
174
|
})
|
|
160
175
|
},
|
|
161
|
-
async
|
|
176
|
+
async getType (){
|
|
162
177
|
let load = new HttpResetClass()
|
|
163
|
-
let id = this.model.orgid.toString()
|
|
164
|
-
await load.load('POST','rs/sql/getTypess', {data: {f_orgid:
|
|
165
|
-
const rdata=res.data
|
|
178
|
+
// let id = this.model.orgid.toString()
|
|
179
|
+
await load.load('POST','rs/sql/getTypess', {data: {f_orgid: this.f_orgid}}).then((res) => {
|
|
180
|
+
const rdata = res.data
|
|
166
181
|
for (let i = 0; i < rdata.length; i++) {
|
|
167
|
-
const
|
|
168
|
-
value:rdata[i].f_type,
|
|
169
|
-
name:rdata[i].f_devices_type
|
|
182
|
+
const object={
|
|
183
|
+
value: rdata[i].f_type,
|
|
184
|
+
name: rdata[i].f_devices_type
|
|
170
185
|
}
|
|
171
186
|
this.sdata2.push(object)
|
|
172
187
|
}
|
|
173
188
|
})
|
|
174
189
|
},
|
|
175
|
-
async
|
|
190
|
+
async getType1 (){
|
|
176
191
|
let load = new HttpResetClass()
|
|
177
|
-
let id = this.model.orgid.toString()
|
|
178
|
-
await load.load('POST','rs/sql/getTypek', {data: {f_orgid:
|
|
179
|
-
const rdata=res.data
|
|
192
|
+
// let id = this.model.orgid.toString()
|
|
193
|
+
await load.load('POST','rs/sql/getTypek', {data: {f_orgid: this.f_orgid}}).then((res) => {
|
|
194
|
+
const rdata = res.data
|
|
180
195
|
for (let i = 0; i < rdata.length; i++) {
|
|
181
|
-
const
|
|
196
|
+
const object = {
|
|
182
197
|
value:rdata[i].f_type,
|
|
183
198
|
name:rdata[i].f_devices_type
|
|
184
199
|
}
|
|
@@ -186,10 +201,10 @@ export default {
|
|
|
186
201
|
}
|
|
187
202
|
})
|
|
188
203
|
},
|
|
189
|
-
async
|
|
204
|
+
async getnumber (){
|
|
190
205
|
let load = new HttpResetClass()
|
|
191
|
-
let id = this.model.orgid.toString()
|
|
192
|
-
await load.load('POST','rs/sql/getNumberss', {data: {f_orgid:
|
|
206
|
+
// let id = this.model.orgid.toString()
|
|
207
|
+
await load.load('POST','rs/sql/getNumberss', {data: {f_orgid: this.f_orgid}}).then((res) => {
|
|
193
208
|
const rdata=res.data
|
|
194
209
|
for (let i = 0; i < rdata.length; i++) {
|
|
195
210
|
this.arr.push(rdata[i].num)
|
|
@@ -199,10 +214,10 @@ export default {
|
|
|
199
214
|
this.sdata.push(this.arr)
|
|
200
215
|
})
|
|
201
216
|
},
|
|
202
|
-
async
|
|
217
|
+
async getnumber1 (){
|
|
203
218
|
let load = new HttpResetClass()
|
|
204
|
-
let id = this.model.orgid.toString()
|
|
205
|
-
await load.load('POST','rs/sql/getNumbers', {data: {f_orgid:
|
|
219
|
+
// let id = this.model.orgid.toString()
|
|
220
|
+
await load.load('POST','rs/sql/getNumbers', {data: {f_orgid: this.f_orgid}}).then((res) => {
|
|
206
221
|
console.log("加载res3",res)
|
|
207
222
|
const rdata=res.data
|
|
208
223
|
for (let i = 0; i < rdata.length; i++) {
|
|
@@ -216,20 +231,16 @@ export default {
|
|
|
216
231
|
this.sdata3.push(this.arrs)
|
|
217
232
|
})
|
|
218
233
|
},
|
|
219
|
-
async
|
|
234
|
+
async getmeterbrand (){
|
|
220
235
|
let load = new HttpResetClass()
|
|
221
|
-
let id = this.model.orgid.toString()
|
|
222
|
-
await load.load('POST','rs/sql/getMeterbrand', {data: {f_orgid:
|
|
236
|
+
// let id = this.model.orgid.toString()
|
|
237
|
+
await load.load('POST','rs/sql/getMeterbrand', {data: {f_orgid: this.f_orgid}}).then((res) => {
|
|
223
238
|
this.mood=res
|
|
224
239
|
})
|
|
225
|
-
}
|
|
226
|
-
searchdata () {
|
|
227
|
-
|
|
228
|
-
},
|
|
229
|
-
// getRes (obj) {
|
|
230
|
-
// this.model.orgid = obj
|
|
231
|
-
// // this.ks()
|
|
232
|
-
// }
|
|
240
|
+
}
|
|
241
|
+
// searchdata () {
|
|
242
|
+
// this.$refs.pay.searchdata()
|
|
243
|
+
// },
|
|
233
244
|
}
|
|
234
245
|
}
|
|
235
246
|
</script>
|