manage-client 1.8.23-33 → 1.8.23-34
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/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
- package/build/dev-server.js +155 -155
- package/dist.zip +0 -0
- package/package.json +1 -1
- package/src/components/sale/businessquery/UserCountMake.vue +273 -0
- package/src/components/webmeter/InstructCount.vue +685 -0
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +685 -668
- package/.gradle/4.4/fileChanges/last-build.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -1,155 +1,155 @@
|
|
|
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
|
-
var str = 'http://112.35.127.105:8300/', str2 = 'http://
|
|
12
|
-
var proxyTable = {
|
|
13
|
-
/*'/rs/logic/exportfile': {
|
|
14
|
-
target: str2
|
|
15
|
-
},*/
|
|
16
|
-
'/file': {
|
|
17
|
-
target: str
|
|
18
|
-
},
|
|
19
|
-
// 查找资源服务数据
|
|
20
|
-
'/rs/search': {
|
|
21
|
-
target: str
|
|
22
|
-
},
|
|
23
|
-
// 用户登录服务地址
|
|
24
|
-
'/rs/user': {
|
|
25
|
-
target: str
|
|
26
|
-
},
|
|
27
|
-
'/rs/path/getParams': {
|
|
28
|
-
target: str
|
|
29
|
-
},
|
|
30
|
-
'/rs/logic/getInitData': {
|
|
31
|
-
target: str
|
|
32
|
-
},
|
|
33
|
-
'/rs/data': {
|
|
34
|
-
target: str
|
|
35
|
-
},
|
|
36
|
-
'/rs/license': {
|
|
37
|
-
target: str
|
|
38
|
-
},
|
|
39
|
-
'/rs/db': {
|
|
40
|
-
target: str
|
|
41
|
-
},
|
|
42
|
-
'/excel': {
|
|
43
|
-
target: str
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
'/rs/logic/getSaleInitData': {
|
|
47
|
-
target: str
|
|
48
|
-
},
|
|
49
|
-
'/rs/logic/getLogin': {
|
|
50
|
-
target: str
|
|
51
|
-
},
|
|
52
|
-
'/rs/config': {
|
|
53
|
-
target: 'http://127.0.0.1:8080/manage'
|
|
54
|
-
},
|
|
55
|
-
'/rs/sql/getLicenseById': {
|
|
56
|
-
target: str
|
|
57
|
-
},
|
|
58
|
-
/*'/rs/Invoice': {
|
|
59
|
-
target: 'http://127.0.0.1:8090/Invoice/rs/aisino/invoice'
|
|
60
|
-
},*/
|
|
61
|
-
'/rs/report': {
|
|
62
|
-
//target: 'http://127.0.0.1:8080/manage'
|
|
63
|
-
target: 'http://127.0.0.1:8081'
|
|
64
|
-
},
|
|
65
|
-
'/rs/vue': {
|
|
66
|
-
// target: 'http://127.0.0.1:8089/manage'
|
|
67
|
-
target: str
|
|
68
|
-
},
|
|
69
|
-
'/rs': {
|
|
70
|
-
//target: 'http://127.0.0.1:8080'
|
|
71
|
-
// target: 'http://192.168.50.203:8082/manage'
|
|
72
|
-
target:
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
77
|
-
publicPath: config.output.publicPath,
|
|
78
|
-
stats: {
|
|
79
|
-
colors: true,
|
|
80
|
-
chunks: false
|
|
81
|
-
}
|
|
82
|
-
})
|
|
83
|
-
|
|
84
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
85
|
-
// force page reload when html-webpack-plugin template changes
|
|
86
|
-
compiler.plugin('compilation', function (compilation) {
|
|
87
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
88
|
-
hotMiddleware.publish({ action: 'reload' })
|
|
89
|
-
cb()
|
|
90
|
-
})
|
|
91
|
-
})
|
|
92
|
-
|
|
93
|
-
// proxy api requests
|
|
94
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
95
|
-
var options = proxyTable[context]
|
|
96
|
-
if (typeof options === 'string') {
|
|
97
|
-
options = { target: options }
|
|
98
|
-
}
|
|
99
|
-
app.use(proxyMiddleware(context, options))
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
// handle fallback for HTML5 history API
|
|
103
|
-
app.use(require('connect-history-api-fallback')())
|
|
104
|
-
|
|
105
|
-
// serve webpack bundle output
|
|
106
|
-
app.use(devMiddleware)
|
|
107
|
-
|
|
108
|
-
// enable hot-reload and state-preserving
|
|
109
|
-
// compilation error display
|
|
110
|
-
app.use(hotMiddleware)
|
|
111
|
-
|
|
112
|
-
// serve pure static assets
|
|
113
|
-
app.use('/static', express.static('./static'))
|
|
114
|
-
|
|
115
|
-
// app.all('/rs/*', function (req, res) {
|
|
116
|
-
// proxy.web(req, res, {
|
|
117
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
118
|
-
// })
|
|
119
|
-
// })
|
|
120
|
-
|
|
121
|
-
// app.all('/rs/*', function (req, res) {
|
|
122
|
-
// proxy.web(req, res, {
|
|
123
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
124
|
-
// })
|
|
125
|
-
// })
|
|
126
|
-
// app.all('/excel/*', function (req, res) {
|
|
127
|
-
// proxy.web(req, res, {
|
|
128
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
129
|
-
// })
|
|
130
|
-
// })
|
|
131
|
-
|
|
132
|
-
// app.all('/rs/*', function (req, res) {
|
|
133
|
-
// proxy.web(req, res, {
|
|
134
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
135
|
-
// })
|
|
136
|
-
// })
|
|
137
|
-
|
|
138
|
-
// app.all('/*', function (req, res) {
|
|
139
|
-
// proxy.web(req, res, {
|
|
140
|
-
// target: 'http://127.0.0.1:82'
|
|
141
|
-
// })
|
|
142
|
-
// })
|
|
143
|
-
// app.all('/rs/user', function (req, res) {
|
|
144
|
-
// proxy.web(req, res, {
|
|
145
|
-
// target: 'http://127.0.0.1:82'
|
|
146
|
-
// })
|
|
147
|
-
// })
|
|
148
|
-
|
|
149
|
-
module.exports = app.listen(8085, function (err) {
|
|
150
|
-
if (err) {
|
|
151
|
-
console.log(err)
|
|
152
|
-
return
|
|
153
|
-
}
|
|
154
|
-
console.log('Listening at http://localhost:8085')
|
|
155
|
-
})
|
|
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
|
+
var str = 'http://112.35.127.105:8300/', str2 = 'http://127.0.0.1:8086/'
|
|
12
|
+
var proxyTable = {
|
|
13
|
+
/*'/rs/logic/exportfile': {
|
|
14
|
+
target: str2
|
|
15
|
+
},*/
|
|
16
|
+
'/file': {
|
|
17
|
+
target: str
|
|
18
|
+
},
|
|
19
|
+
// 查找资源服务数据
|
|
20
|
+
'/rs/search': {
|
|
21
|
+
target: str
|
|
22
|
+
},
|
|
23
|
+
// 用户登录服务地址
|
|
24
|
+
'/rs/user': {
|
|
25
|
+
target: str
|
|
26
|
+
},
|
|
27
|
+
'/rs/path/getParams': {
|
|
28
|
+
target: str
|
|
29
|
+
},
|
|
30
|
+
'/rs/logic/getInitData': {
|
|
31
|
+
target: str
|
|
32
|
+
},
|
|
33
|
+
'/rs/data': {
|
|
34
|
+
target: str
|
|
35
|
+
},
|
|
36
|
+
'/rs/license': {
|
|
37
|
+
target: str
|
|
38
|
+
},
|
|
39
|
+
'/rs/db': {
|
|
40
|
+
target: str
|
|
41
|
+
},
|
|
42
|
+
'/excel': {
|
|
43
|
+
target: str
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
'/rs/logic/getSaleInitData': {
|
|
47
|
+
target: str
|
|
48
|
+
},
|
|
49
|
+
'/rs/logic/getLogin': {
|
|
50
|
+
target: str
|
|
51
|
+
},
|
|
52
|
+
'/rs/config': {
|
|
53
|
+
target: 'http://127.0.0.1:8080/manage'
|
|
54
|
+
},
|
|
55
|
+
'/rs/sql/getLicenseById': {
|
|
56
|
+
target: str
|
|
57
|
+
},
|
|
58
|
+
/*'/rs/Invoice': {
|
|
59
|
+
target: 'http://127.0.0.1:8090/Invoice/rs/aisino/invoice'
|
|
60
|
+
},*/
|
|
61
|
+
'/rs/report': {
|
|
62
|
+
//target: 'http://127.0.0.1:8080/manage'
|
|
63
|
+
target: 'http://127.0.0.1:8081'
|
|
64
|
+
},
|
|
65
|
+
'/rs/vue': {
|
|
66
|
+
// target: 'http://127.0.0.1:8089/manage'
|
|
67
|
+
target: str
|
|
68
|
+
},
|
|
69
|
+
'/rs': {
|
|
70
|
+
//target: 'http://127.0.0.1:8080'
|
|
71
|
+
// target: 'http://192.168.50.203:8082/manage'
|
|
72
|
+
target: str2
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
77
|
+
publicPath: config.output.publicPath,
|
|
78
|
+
stats: {
|
|
79
|
+
colors: true,
|
|
80
|
+
chunks: false
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
85
|
+
// force page reload when html-webpack-plugin template changes
|
|
86
|
+
compiler.plugin('compilation', function (compilation) {
|
|
87
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
88
|
+
hotMiddleware.publish({ action: 'reload' })
|
|
89
|
+
cb()
|
|
90
|
+
})
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
// proxy api requests
|
|
94
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
95
|
+
var options = proxyTable[context]
|
|
96
|
+
if (typeof options === 'string') {
|
|
97
|
+
options = { target: options }
|
|
98
|
+
}
|
|
99
|
+
app.use(proxyMiddleware(context, options))
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
// handle fallback for HTML5 history API
|
|
103
|
+
app.use(require('connect-history-api-fallback')())
|
|
104
|
+
|
|
105
|
+
// serve webpack bundle output
|
|
106
|
+
app.use(devMiddleware)
|
|
107
|
+
|
|
108
|
+
// enable hot-reload and state-preserving
|
|
109
|
+
// compilation error display
|
|
110
|
+
app.use(hotMiddleware)
|
|
111
|
+
|
|
112
|
+
// serve pure static assets
|
|
113
|
+
app.use('/static', express.static('./static'))
|
|
114
|
+
|
|
115
|
+
// app.all('/rs/*', function (req, res) {
|
|
116
|
+
// proxy.web(req, res, {
|
|
117
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
118
|
+
// })
|
|
119
|
+
// })
|
|
120
|
+
|
|
121
|
+
// app.all('/rs/*', function (req, res) {
|
|
122
|
+
// proxy.web(req, res, {
|
|
123
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
124
|
+
// })
|
|
125
|
+
// })
|
|
126
|
+
// app.all('/excel/*', function (req, res) {
|
|
127
|
+
// proxy.web(req, res, {
|
|
128
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
129
|
+
// })
|
|
130
|
+
// })
|
|
131
|
+
|
|
132
|
+
// app.all('/rs/*', function (req, res) {
|
|
133
|
+
// proxy.web(req, res, {
|
|
134
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
135
|
+
// })
|
|
136
|
+
// })
|
|
137
|
+
|
|
138
|
+
// app.all('/*', function (req, res) {
|
|
139
|
+
// proxy.web(req, res, {
|
|
140
|
+
// target: 'http://127.0.0.1:82'
|
|
141
|
+
// })
|
|
142
|
+
// })
|
|
143
|
+
// app.all('/rs/user', function (req, res) {
|
|
144
|
+
// proxy.web(req, res, {
|
|
145
|
+
// target: 'http://127.0.0.1:82'
|
|
146
|
+
// })
|
|
147
|
+
// })
|
|
148
|
+
|
|
149
|
+
module.exports = app.listen(8085, function (err) {
|
|
150
|
+
if (err) {
|
|
151
|
+
console.log(err)
|
|
152
|
+
return
|
|
153
|
+
}
|
|
154
|
+
console.log('Listening at http://localhost:8085')
|
|
155
|
+
})
|
package/dist.zip
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
<template >
|
|
2
|
+
<div id="stand-work-list" class="datapanel flex bg-white p-10">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged >
|
|
4
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
|
+
<div novalidate class="auto form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
8
|
+
<label class="font_normal_body _zoom4">卡 号</label>
|
|
9
|
+
<input type="text" class="input_search _zoom6"
|
|
10
|
+
v-model="model.f_card_id" placeholder='卡号'
|
|
11
|
+
condition="f_card_id like '%{}%'">
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
14
|
+
<label class="font_normal_body _zoom4">姓 名</label>
|
|
15
|
+
<input type="text" class="input_search _zoom6"
|
|
16
|
+
v-model="model.f_user_name" placeholder='姓名'
|
|
17
|
+
condition="f_user_name like '%{}%'">
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
20
|
+
<label class="font_normal_body _zoom4">小区名称</label>
|
|
21
|
+
<input type="text" class="input_search _zoom6"
|
|
22
|
+
v-model="model.f_residential_area" placeholder='小区名称'
|
|
23
|
+
condition="f_residential_area like '%{}%'">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
26
|
+
<label class="font_normal_body _zoom4">所属区域</label>
|
|
27
|
+
<v-select :value.sync="model.f_slice_area"
|
|
28
|
+
v-model="model.f_slice_area"
|
|
29
|
+
:options='$parent.$parent.sliceArea' placeholder='所属区域'
|
|
30
|
+
condition="f_slice_area = '{}'"
|
|
31
|
+
close-on-select></v-select>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="span" style="float:right;">
|
|
35
|
+
<button type="button" name="button" class="button_search" @click="search(),$dispatch('search')">查询</button>
|
|
36
|
+
<button type="button" name="button" class="button_clear" @click="$parent.$parent.clearmsg">清空</button>
|
|
37
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
38
|
+
:field="$parent.$parent.getfield"
|
|
39
|
+
:sumsmodel="$parent.$parent.sumsmodel"
|
|
40
|
+
sqlurl="rs/logic/exportfile" sql-name="userCount" template-name='居民小区统计' :choose-col="true"></export-excel>
|
|
41
|
+
<div
|
|
42
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
43
|
+
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
47
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
48
|
+
<label class="font_normal_body _zoom4">用户类型</label>
|
|
49
|
+
<v-select :value.sync="model.f_user_type"
|
|
50
|
+
:options='$parent.$parent.usertypes'
|
|
51
|
+
placeholder='用户类型' v-model="model.f_user_type"
|
|
52
|
+
condition="f_user_type = '{}'"
|
|
53
|
+
close-on-select></v-select>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
56
|
+
<label class="font_normal_body _zoom4">用气性质</label>
|
|
57
|
+
<v-select :value.sync="model.f_gasproperties"
|
|
58
|
+
v-model="model.f_gasproperties"
|
|
59
|
+
:options='$parent.$parent.gasproperties' placeholder='用气性质'
|
|
60
|
+
condition="f_gasproperties = '{}'"
|
|
61
|
+
close-on-select></v-select>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
64
|
+
<label class="font_normal_body _zoom4">用气设备</label>
|
|
65
|
+
<v-select :value.sync="model.f_devices_type"
|
|
66
|
+
v-model="model.f_devices_type"
|
|
67
|
+
:options='$parent.$parent.deviceTypes' placeholder='用气设备'
|
|
68
|
+
condition="f_devices_type like '%{}%'"
|
|
69
|
+
close-on-select></v-select>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
72
|
+
<label class="font_normal_body _zoom4">地 址</label>
|
|
73
|
+
<input type="text" class="input_search _zoom6"
|
|
74
|
+
v-model="model.f_address" placeholder='地址'
|
|
75
|
+
condition="f_address like '%{}%'"
|
|
76
|
+
>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
79
|
+
<label class="font_normal_body _zoom4">用 气 点</label>
|
|
80
|
+
<input type="text" class="input_search _zoom6"
|
|
81
|
+
v-model="model.f_usegas_point" placeholder='用气点'
|
|
82
|
+
condition="f_usegas_point like '%{}%'"
|
|
83
|
+
>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
86
|
+
<label class="font_normal_body _zoom4">购气量大于</label>
|
|
87
|
+
<input type="number" class="input_search _zoom6"
|
|
88
|
+
v-model="model.buggasmax"
|
|
89
|
+
condition="gas > {}" placeholder="购气量大于">
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
92
|
+
<label class="font_normal_body _zoom4">购气量小于</label>
|
|
93
|
+
<input type="number" class="input_search _zoom6"
|
|
94
|
+
v-model="model.buggasmin"
|
|
95
|
+
condition="gas < {}" placeholder="购气量小于">
|
|
96
|
+
</div>
|
|
97
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
98
|
+
<label class="font_normal_body _zoom4">气价名称</label>
|
|
99
|
+
<v-select :value.sync="model.f_price_name"
|
|
100
|
+
v-model="model.f_price_name"
|
|
101
|
+
:options='$parent.$parent.pricenames' placeholder='气价名称'
|
|
102
|
+
condition="f_price_name = '{}'"
|
|
103
|
+
close-on-select></v-select>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
106
|
+
<label class="font_normal_body _zoom4">开始时间</label>
|
|
107
|
+
<datepicker placeholder="售气开始时间" class="_zoom6"
|
|
108
|
+
:value.sync="model.selldate_start"
|
|
109
|
+
v-model="model.selldate_start"
|
|
110
|
+
:format="'yyyy-MM-dd'"
|
|
111
|
+
></datepicker>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
114
|
+
<label class="font_normal_body _zoom4">结束时间</label>
|
|
115
|
+
<datepicker placeholder="售气结束时间" class="_zoom6"
|
|
116
|
+
:value.sync="model.selldate_end"
|
|
117
|
+
v-model="model.selldate_end"
|
|
118
|
+
:format="'yyyy-MM-dd'"
|
|
119
|
+
></datepicker>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</criteria>
|
|
124
|
+
<data-grid partial='list' class="list_area table_sy" v-ref:grid :model="model">
|
|
125
|
+
<template partial='head'>
|
|
126
|
+
<th ><nobr>序号</nobr></th>
|
|
127
|
+
<th ><nobr>小区</nobr></th>
|
|
128
|
+
<th ><nobr>行政区域</nobr></th>
|
|
129
|
+
<th ><nobr>运营区域</nobr></th>
|
|
130
|
+
<th ><nobr>街道</nobr></th>
|
|
131
|
+
<th ><nobr>楼栋数量</nobr></th>
|
|
132
|
+
<th ><nobr>楼号起止</nobr></th>
|
|
133
|
+
<th><nobr>用户户数量</nobr></th>
|
|
134
|
+
<th><nobr>壁挂用户数量(锅炉阶梯)</nobr></th>
|
|
135
|
+
<th><nobr>非壁挂用户数量(民用阶梯)</nobr></th>
|
|
136
|
+
<th><nobr>用户正常数量</nobr></th>
|
|
137
|
+
<th><nobr>用户停用数量</nobr></th>
|
|
138
|
+
<th><nobr>用户拆除数量</nobr></th>
|
|
139
|
+
<th><nobr>气表种类</nobr></th>
|
|
140
|
+
</template>
|
|
141
|
+
<template partial='body'>
|
|
142
|
+
<th ><nobr>{{row.index+1}}</nobr></th>
|
|
143
|
+
<th ><nobr>{{row.f_residential_area}}</nobr></th>
|
|
144
|
+
<th ><nobr>{{row.f_distinct}}</nobr></th>
|
|
145
|
+
<th ><nobr>{{row.f_opera_area}}</nobr></th>
|
|
146
|
+
<th ><nobr>{{row.f_street}}</nobr></th>
|
|
147
|
+
<th><nobr>{{row.builunm}}</nobr></th>
|
|
148
|
+
<th><nobr></nobr></th>
|
|
149
|
+
<th><nobr>{{row.usernum}}</nobr></th>
|
|
150
|
+
<th ><nobr>{{row.bglnum}}</nobr></th>
|
|
151
|
+
<th><nobr>{{row.fbglnum}}</nobr></th>
|
|
152
|
+
<th><nobr>{{row.zcnum}}</nobr></th>
|
|
153
|
+
<th><nobr>{{row.tynum}}</nobr></th>
|
|
154
|
+
<th><nobr>{{row.ccnum}}</nobr></th>
|
|
155
|
+
</template>
|
|
156
|
+
</data-grid>
|
|
157
|
+
</criteria-paged>
|
|
158
|
+
<table class="table-hover" >
|
|
159
|
+
<tr class="table-bordered">
|
|
160
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
161
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">户数合计: {{}}</td>
|
|
162
|
+
</tr>
|
|
163
|
+
</table>
|
|
164
|
+
</div>
|
|
165
|
+
</template>
|
|
166
|
+
<style scoped>
|
|
167
|
+
.table {
|
|
168
|
+
width: 100%;
|
|
169
|
+
max-width: 100%;
|
|
170
|
+
margin-bottom: 0px;
|
|
171
|
+
}
|
|
172
|
+
/* >>> .pager{*/
|
|
173
|
+
/* position: relative;*/
|
|
174
|
+
/* bottom: 9px;*/
|
|
175
|
+
/*}*/
|
|
176
|
+
|
|
177
|
+
</style>
|
|
178
|
+
<script>
|
|
179
|
+
import { PagedList , HttpResetClass} from 'vue-client'
|
|
180
|
+
export default {
|
|
181
|
+
title: '小区统计',
|
|
182
|
+
data () {
|
|
183
|
+
return {
|
|
184
|
+
model: new PagedList('rs/sql/userCount', 20,
|
|
185
|
+
{
|
|
186
|
+
startDate: 'this.model.selldate_start',
|
|
187
|
+
endDate: 'this.model.selldate_end'
|
|
188
|
+
}),
|
|
189
|
+
usertypes: this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : [],
|
|
190
|
+
deviceTypes: this.$appdata.getParam('设备类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('设备类型')] : [],
|
|
191
|
+
row: null,
|
|
192
|
+
show: false,
|
|
193
|
+
sumsmodel: {},
|
|
194
|
+
pricenames:[],
|
|
195
|
+
criteriaShow:false
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
props: {
|
|
199
|
+
|
|
200
|
+
},
|
|
201
|
+
ready () {
|
|
202
|
+
this.$refs.paged.$refs.criteria.model.selldate_start = this.$login.toStandardDateString()
|
|
203
|
+
this.$refs.paged.$refs.criteria.model.selldate_end = this.$login.toStandardDateString()
|
|
204
|
+
let http = new HttpResetClass()
|
|
205
|
+
http.load('POST','rs/sql/querySingleTable',{
|
|
206
|
+
data:{
|
|
207
|
+
items: ' f_price_name ',
|
|
208
|
+
tablename: 't_stairprice',
|
|
209
|
+
condition: ' 1 = 1'
|
|
210
|
+
}},{resolveMsg:null,rejectMsg:'获取气价失败'}).then((res) => {
|
|
211
|
+
console.log('初始化气价。。')
|
|
212
|
+
let priceArr = []
|
|
213
|
+
res.data.forEach((item) => {
|
|
214
|
+
let temp = {}
|
|
215
|
+
temp.label = item.f_price_name
|
|
216
|
+
temp.value = item.f_price_name
|
|
217
|
+
priceArr.push(temp)
|
|
218
|
+
})
|
|
219
|
+
this.pricenames = [{label: '全部',value: ''},...priceArr]
|
|
220
|
+
console.log(JSON.stringify(this.pricenames))
|
|
221
|
+
})
|
|
222
|
+
},
|
|
223
|
+
watch: {
|
|
224
|
+
},
|
|
225
|
+
methods: {
|
|
226
|
+
hidden() {
|
|
227
|
+
this.criteriaShow = !this.criteriaShow
|
|
228
|
+
},
|
|
229
|
+
search(args) {
|
|
230
|
+
this.model.search(args.condition, args.model)
|
|
231
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
232
|
+
},
|
|
233
|
+
clearmsg(){
|
|
234
|
+
this.$refs.paged.$refs.criteria.model={}
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
computed: {
|
|
238
|
+
getCondition(){
|
|
239
|
+
return {
|
|
240
|
+
condition: `${this.$refs.paged.$refs.criteria.condition} `,
|
|
241
|
+
startDate: this.$refs.paged.$refs.criteria.model.selldate_start,
|
|
242
|
+
endDate: this.$refs.paged.$refs.criteria.model.selldate_end
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
getfield(){
|
|
246
|
+
let Config={
|
|
247
|
+
'f_card_id': '卡号',
|
|
248
|
+
'f_user_name': '姓名',
|
|
249
|
+
'f_use_company': '单位名称',
|
|
250
|
+
'f_residential_area': '小区名称',
|
|
251
|
+
'f_user_type': '用户类型',
|
|
252
|
+
'f_gasproperties': '用气性质',
|
|
253
|
+
'f_address': '地址',
|
|
254
|
+
'f_usegas_point':'用气点',
|
|
255
|
+
'gas': '气量',
|
|
256
|
+
'money': '金额',
|
|
257
|
+
'c': '笔数',
|
|
258
|
+
}
|
|
259
|
+
return Config
|
|
260
|
+
},
|
|
261
|
+
sliceArea () {
|
|
262
|
+
return this.$appdata.getParam('所属区域')
|
|
263
|
+
},
|
|
264
|
+
gasproperties () {
|
|
265
|
+
let rs = []
|
|
266
|
+
if (this.$refs.paged.$refs.criteria.model.f_user_type.length === 1) {
|
|
267
|
+
rs = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
268
|
+
}
|
|
269
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
270
|
+
},
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
</script>
|