manage-client 3.3.70-s → 3.3.71
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 +180 -204
- package/package.json +1 -1
- package/src/filiale/WEINAN/ManageSummaryReport.vue +9 -5
- package/src/filiale/tongchuan/ManageBusSummary.vue +251 -240
- package/src/main.js +70 -72
package/build/dev-server.js
CHANGED
|
@@ -1,204 +1,180 @@
|
|
|
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://220.194.141.253:8600/'
|
|
17
|
-
// var bendi = 'http://203.57.101.233:9001'
|
|
18
|
-
// var bendi = 'http://172.168.1.11:9001/'
|
|
19
|
-
// var bendi = 'http://203.57.101.233:8400/'
|
|
20
|
-
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
|
-
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var bendi = 'http://
|
|
23
|
-
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
-
var wode = 'http://
|
|
25
|
-
// 192.168.
|
|
26
|
-
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
|
-
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
28
|
-
var proxyTable = {
|
|
29
|
-
'/rs/logic/exportfile': {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
'/rs/logic/
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
'/rs/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
target: bendi
|
|
59
|
-
},
|
|
60
|
-
'/rs/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
target: bendi
|
|
71
|
-
},
|
|
72
|
-
'/rs/
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
target: bendi
|
|
83
|
-
},
|
|
84
|
-
'/rs/sql/
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
//
|
|
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
|
-
//
|
|
172
|
-
//
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
// app.all('/rs/*', function (req, res) {
|
|
182
|
-
// proxy.web(req, res, {
|
|
183
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
184
|
-
// })
|
|
185
|
-
// })
|
|
186
|
-
|
|
187
|
-
// app.all('/*', function (req, res) {
|
|
188
|
-
// proxy.web(req, res, {
|
|
189
|
-
// target: 'http://127.0.0.1:82'
|
|
190
|
-
// })
|
|
191
|
-
// })
|
|
192
|
-
// app.all('/rs/user', function (req, res) {
|
|
193
|
-
// proxy.web(req, res, {
|
|
194
|
-
// target: 'http://127.0.0.1:82'
|
|
195
|
-
// })
|
|
196
|
-
// })
|
|
197
|
-
|
|
198
|
-
module.exports = app.listen(8015, function (err) {
|
|
199
|
-
if (err) {
|
|
200
|
-
console.log(err)
|
|
201
|
-
return
|
|
202
|
-
}
|
|
203
|
-
console.log('Listening at http://localhost:8015')
|
|
204
|
-
})
|
|
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://220.194.141.253:8600/'
|
|
17
|
+
// var bendi = 'http://203.57.101.233:9001'
|
|
18
|
+
// var bendi = 'http://172.168.1.11:9001/'
|
|
19
|
+
// var bendi = 'http://203.57.101.233:8400/'
|
|
20
|
+
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
|
+
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
+
var bendi = 'http://121.36.106.17:8400'
|
|
23
|
+
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
+
var wode = 'http://121.36.106.17:8400'
|
|
25
|
+
// 192.168.
|
|
26
|
+
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
|
+
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
28
|
+
var proxyTable = {
|
|
29
|
+
'/rs/logic/exportfile': {
|
|
30
|
+
target: bendi
|
|
31
|
+
},
|
|
32
|
+
'/files': {
|
|
33
|
+
target: bendi
|
|
34
|
+
},
|
|
35
|
+
// 查找资源服务数据
|
|
36
|
+
'/rs/search': {
|
|
37
|
+
target: bendi
|
|
38
|
+
},
|
|
39
|
+
// 查找资源服务数据
|
|
40
|
+
'/rs/logic/getLogin': {
|
|
41
|
+
target: bendi
|
|
42
|
+
},
|
|
43
|
+
// 查找资源服务数据
|
|
44
|
+
'/rs/logic/getInitData': {
|
|
45
|
+
target: bendi
|
|
46
|
+
},
|
|
47
|
+
'/rs/logic/getSaleInitData': {
|
|
48
|
+
target: bendi
|
|
49
|
+
},
|
|
50
|
+
// 用户登录服务地址
|
|
51
|
+
'/rs/user': {
|
|
52
|
+
target: bendi
|
|
53
|
+
},
|
|
54
|
+
'/rs/path/getParams': {
|
|
55
|
+
target: bendi
|
|
56
|
+
},
|
|
57
|
+
'/rs/data': {
|
|
58
|
+
target: bendi
|
|
59
|
+
},
|
|
60
|
+
'/rs/license': {
|
|
61
|
+
target: bendi
|
|
62
|
+
},
|
|
63
|
+
'/rs/db': {
|
|
64
|
+
target: bendi
|
|
65
|
+
},
|
|
66
|
+
'/excel': {
|
|
67
|
+
target: bendi
|
|
68
|
+
},
|
|
69
|
+
'/rs/config': {
|
|
70
|
+
target: bendi
|
|
71
|
+
},
|
|
72
|
+
'/rs/sql/getLicenseById': {
|
|
73
|
+
target: bendi
|
|
74
|
+
},
|
|
75
|
+
'/rs/report': {
|
|
76
|
+
target: bendi
|
|
77
|
+
},
|
|
78
|
+
'/rs/vue': {
|
|
79
|
+
target: bendi
|
|
80
|
+
},
|
|
81
|
+
'/rs/file': {
|
|
82
|
+
target: bendi
|
|
83
|
+
},
|
|
84
|
+
'/rs/sql/singleTable': {
|
|
85
|
+
target: bendi
|
|
86
|
+
},
|
|
87
|
+
'/rs': {
|
|
88
|
+
target: wode
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
93
|
+
publicPath: config.output.publicPath,
|
|
94
|
+
stats: {
|
|
95
|
+
colors: true,
|
|
96
|
+
chunks: false
|
|
97
|
+
}
|
|
98
|
+
})
|
|
99
|
+
|
|
100
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
101
|
+
// force page reload when html-webpack-plugin template changes
|
|
102
|
+
compiler.plugin('compilation', function (compilation) {
|
|
103
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
104
|
+
hotMiddleware.publish({action: 'reload'})
|
|
105
|
+
cb()
|
|
106
|
+
})
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
// proxy api requests
|
|
110
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
111
|
+
var options = proxyTable[context]
|
|
112
|
+
if (typeof options === 'string') {
|
|
113
|
+
options = {target: options}
|
|
114
|
+
}
|
|
115
|
+
app.use(proxyMiddleware(context, options))
|
|
116
|
+
})
|
|
117
|
+
|
|
118
|
+
// handle fallback for HTML5 history API
|
|
119
|
+
app.use(require('connect-history-api-fallback')())
|
|
120
|
+
// app.use(function (req, res, next) {
|
|
121
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
122
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
123
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
124
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
125
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
126
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
127
|
+
// next()
|
|
128
|
+
// })
|
|
129
|
+
|
|
130
|
+
// serve webpack bundle output
|
|
131
|
+
app.use(devMiddleware)
|
|
132
|
+
|
|
133
|
+
// enable hot-reload and state-preserving
|
|
134
|
+
// compilation error display
|
|
135
|
+
app.use(hotMiddleware)
|
|
136
|
+
|
|
137
|
+
// serve pure static assets
|
|
138
|
+
app.use('/static', express.static('./static'))
|
|
139
|
+
|
|
140
|
+
// app.all('/rs/*', function (req, res) {
|
|
141
|
+
// proxy.web(req, res, {
|
|
142
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
143
|
+
// })
|
|
144
|
+
// })
|
|
145
|
+
|
|
146
|
+
// app.all('/rs/*', function (req, res) {
|
|
147
|
+
// proxy.web(req, res, {
|
|
148
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
149
|
+
// })
|
|
150
|
+
// })
|
|
151
|
+
// app.all('/excel/*', function (req, res) {
|
|
152
|
+
// proxy.web(req, res, {
|
|
153
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
154
|
+
// })
|
|
155
|
+
// })
|
|
156
|
+
|
|
157
|
+
// app.all('/rs/*', function (req, res) {
|
|
158
|
+
// proxy.web(req, res, {
|
|
159
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
160
|
+
// })
|
|
161
|
+
// })
|
|
162
|
+
|
|
163
|
+
// app.all('/*', function (req, res) {
|
|
164
|
+
// proxy.web(req, res, {
|
|
165
|
+
// target: 'http://127.0.0.1:82'
|
|
166
|
+
// })
|
|
167
|
+
// })
|
|
168
|
+
// app.all('/rs/user', function (req, res) {
|
|
169
|
+
// proxy.web(req, res, {
|
|
170
|
+
// target: 'http://127.0.0.1:82'
|
|
171
|
+
// })
|
|
172
|
+
// })
|
|
173
|
+
|
|
174
|
+
module.exports = app.listen(8015, function (err) {
|
|
175
|
+
if (err) {
|
|
176
|
+
console.log(err)
|
|
177
|
+
return
|
|
178
|
+
}
|
|
179
|
+
console.log('Listening at http://localhost:8015')
|
|
180
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
<criteria-paged :model="model" v-ref:paged>
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
<label class="font_normal_body">用户类型</label>
|
|
79
79
|
<v-select :value.sync="model.f_user_type"
|
|
80
80
|
:options='$parent.$parent.usertypes'
|
|
81
|
+
@change="$parent.$parent.userTypeChange()"
|
|
81
82
|
placeholder='请选择' v-model="model.f_user_type"
|
|
82
83
|
condition="f_user_type = '{}'"
|
|
83
84
|
close-on-select></v-select>
|
|
@@ -120,7 +121,6 @@
|
|
|
120
121
|
class="select_list select"
|
|
121
122
|
enter-push :disabled="$parent.$parent.isCompanyShow"
|
|
122
123
|
v-model="model.f_company_id" multiple="true"
|
|
123
|
-
@select-search="$parent.$parent.getCompanyList"
|
|
124
124
|
:options='$parent.$parent.corporatename' placeholder='单位名称'
|
|
125
125
|
condition="f_company_id in {}">
|
|
126
126
|
</v-select>
|
|
@@ -431,6 +431,13 @@ export default {
|
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
},
|
|
434
|
+
userTypeChange () {
|
|
435
|
+
this.userusetypes = []
|
|
436
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type.length === 1) {
|
|
437
|
+
let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
|
|
438
|
+
this.userusetypes = this.$appdata.getParam(str)
|
|
439
|
+
}
|
|
440
|
+
},
|
|
434
441
|
userUseInstitutionChange () {
|
|
435
442
|
this.userusenatures = []
|
|
436
443
|
if (this.$refs.paged.$refs.cri.model.f_use_institution.length === 1) {
|
|
@@ -593,9 +600,6 @@ export default {
|
|
|
593
600
|
}
|
|
594
601
|
return field
|
|
595
602
|
},
|
|
596
|
-
userusetypes () {
|
|
597
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
598
|
-
},
|
|
599
603
|
useTypes () {
|
|
600
604
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
601
605
|
},
|
|
@@ -1,240 +1,251 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="basic-main" style="height: 100%">
|
|
3
|
-
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="col-sm-2 form-group" >
|
|
8
|
-
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
-
v-model="model.startDate"
|
|
11
|
-
:value.sync="model.startDate"
|
|
12
|
-
:disabled-days-of-Week="[]"
|
|
13
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
-
:show-reset-button="reset">
|
|
15
|
-
</datepicker>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-sm-2 form-group" >
|
|
18
|
-
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
-
v-model="model.endDate"
|
|
21
|
-
:value.sync="model.endDate"
|
|
22
|
-
:disabled-days-of-Week="[]"
|
|
23
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
-
:show-reset-button="reset">
|
|
25
|
-
</datepicker>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-sm-2 form-group">
|
|
28
|
-
<label class="font_normal_body"> 公司 </label>
|
|
29
|
-
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-3 form-group">
|
|
32
|
-
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
-
<v-select id="dep" style="width: 60%"
|
|
34
|
-
:multiple="true"
|
|
35
|
-
@change="$parent.$parent.getDep"
|
|
36
|
-
:value.sync="model.f_depid"
|
|
37
|
-
v-model="model.f_depid"
|
|
38
|
-
:options='$parent.$parent.depresid' placeholder='请选择'
|
|
39
|
-
condition="f_depid in {}">
|
|
40
|
-
</v-select>
|
|
41
|
-
|
|
42
|
-
</div>
|
|
43
|
-
<div class="col-sm-3 form-group">
|
|
44
|
-
<label class="font_normal_body" for="oper">人  员:</label>
|
|
45
|
-
<v-select id="oper" style="width: 60%"
|
|
46
|
-
:multiple="false"
|
|
47
|
-
@change="$parent.$parent.getOpe"
|
|
48
|
-
:value.sync="model.f_operatorid"
|
|
49
|
-
v-model="model.f_operatorid"
|
|
50
|
-
:options='$parent.$parent.userresid' placeholder='请选择'
|
|
51
|
-
condition="f_operatorid in {}">
|
|
52
|
-
</v-select>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
<div class="span" style = "float:right;">
|
|
56
|
-
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
57
|
-
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
58
|
-
<report-excel id='gasprice'></report-excel>
|
|
59
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
60
|
-
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
61
|
-
</div>
|
|
62
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
63
|
-
<div class="col-sm-2 form-group">
|
|
64
|
-
<label class="font_normal_body">收费状态</label>
|
|
65
|
-
<v-select :value.sync="$parent.$parent.f_state" multiple
|
|
66
|
-
v-model="$parent.$parent.f_state"
|
|
67
|
-
:options='$parent.$parent.charge_state' placeholder='请选择'
|
|
68
|
-
condition="f_state in {}"
|
|
69
|
-
close-on-select></v-select>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
</criteria>
|
|
74
|
-
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
75
|
-
<table class='tableprint' style="margin: 0px auto">
|
|
76
|
-
<thead>
|
|
77
|
-
<tr>
|
|
78
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
79
|
-
<h3 style="text-align: center">收费结账报表</h3>
|
|
80
|
-
</th>
|
|
81
|
-
</tr>
|
|
82
|
-
<tr>
|
|
83
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
84
|
-
开始时间:{{model.model.startDate}}
|
|
85
|
-
结束时间:{{ model.model.endDate }} <br/>
|
|
86
|
-
<!--打印时间:{{{$parent.printTime}}}-->
|
|
87
|
-
打印时间:{{$parent.printTime}}
|
|
88
|
-
<!--收费员:{{// $parent.operatorname}}-->
|
|
89
|
-
</th>
|
|
90
|
-
</tr>
|
|
91
|
-
<tr>
|
|
92
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
93
|
-
<div>
|
|
94
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
95
|
-
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
96
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
97
|
-
</div>
|
|
98
|
-
</th>
|
|
99
|
-
</tr>
|
|
100
|
-
</thead>
|
|
101
|
-
<tr>
|
|
102
|
-
<td :colspan='$parent.spans' class="noborder">
|
|
103
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
104
|
-
</td>
|
|
105
|
-
</tr>
|
|
106
|
-
<tfoot>
|
|
107
|
-
<tr style="text-align: left">
|
|
108
|
-
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
109
|
-
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
110
|
-
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
111
|
-
</tr>
|
|
112
|
-
</tfoot>
|
|
113
|
-
</table>
|
|
114
|
-
</div>
|
|
115
|
-
</criteria-paged>
|
|
116
|
-
</div>
|
|
117
|
-
</template>
|
|
118
|
-
|
|
119
|
-
<script>
|
|
120
|
-
import {DataModel, HttpResetClass} from 'vue-client'
|
|
121
|
-
import co from 'co'
|
|
122
|
-
let getorg = async function (self) {
|
|
123
|
-
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
124
|
-
{
|
|
125
|
-
data: {
|
|
126
|
-
items: 'name label,id value',
|
|
127
|
-
tablename: 't_department',
|
|
128
|
-
condition: `1=1`
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
{resolveMsg: null, rejectMsg: null})
|
|
132
|
-
.then((res) => {
|
|
133
|
-
self.depresid = res.data
|
|
134
|
-
})
|
|
135
|
-
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
136
|
-
{
|
|
137
|
-
data: {
|
|
138
|
-
items: 'name label,id value',
|
|
139
|
-
tablename: 't_user',
|
|
140
|
-
condition: `state = '在职' and f_department_name is not null`
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
{resolveMsg: null, rejectMsg: null})
|
|
144
|
-
.then((res) => {
|
|
145
|
-
self.userresid = res.data
|
|
146
|
-
})
|
|
147
|
-
}
|
|
148
|
-
export default {
|
|
149
|
-
title: '收费结账报表',
|
|
150
|
-
props: ['data'],
|
|
151
|
-
data () {
|
|
152
|
-
return {
|
|
153
|
-
printTime: this.$login.toStandardTimeString(),
|
|
154
|
-
depresid: [],
|
|
155
|
-
userresid: [],
|
|
156
|
-
f_orgid: this.$login.f.orgid,
|
|
157
|
-
f_depid: this.$login.f.depids,
|
|
158
|
-
f_operatorid: this.$login.f.id,
|
|
159
|
-
operatorid: [],
|
|
160
|
-
depid: [],
|
|
161
|
-
orgname: '',
|
|
162
|
-
depname: '',
|
|
163
|
-
criteriaShow: false,
|
|
164
|
-
operatorname: '',
|
|
165
|
-
orgCondtionStr: '1=1',
|
|
166
|
-
f_state:'',
|
|
167
|
-
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
168
|
-
f_orgid: 'this.model.f_orgid'}),
|
|
169
|
-
reportStr: null,
|
|
170
|
-
spans: 0,
|
|
171
|
-
initres: {
|
|
172
|
-
org: [this.$login.f.orgid],
|
|
173
|
-
dep: [],
|
|
174
|
-
user: []
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
ready () {
|
|
179
|
-
getorg(this)
|
|
180
|
-
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
181
|
-
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
182
|
-
console.log(this.$login.f)
|
|
183
|
-
},
|
|
184
|
-
methods: {
|
|
185
|
-
searchData () {
|
|
186
|
-
this.$refs.paged.$refs.criteria.search()
|
|
187
|
-
},
|
|
188
|
-
selfSearch (args) {
|
|
189
|
-
this.printTime = this.$login.toStandardTimeString()
|
|
190
|
-
let orgcondition = ''
|
|
191
|
-
if (this.f_orgid[0]) {
|
|
192
|
-
orgcondition += ` and f_orgid in (
|
|
193
|
-
}
|
|
194
|
-
if(this.f_state && this.f_state[0]) {
|
|
195
|
-
orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
|
|
196
|
-
}
|
|
197
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = args.condition + orgcondition
|
|
198
|
-
this.$refs.paged.search(args)
|
|
199
|
-
},
|
|
200
|
-
|
|
201
|
-
hidden() {
|
|
202
|
-
this.criteriaShow = !this.criteriaShow
|
|
203
|
-
},
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
.
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body"> 公司 </label>
|
|
29
|
+
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-3 form-group">
|
|
32
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
+
<v-select id="dep" style="width: 60%"
|
|
34
|
+
:multiple="true"
|
|
35
|
+
@change="$parent.$parent.getDep"
|
|
36
|
+
:value.sync="model.f_depid"
|
|
37
|
+
v-model="model.f_depid"
|
|
38
|
+
:options='$parent.$parent.depresid' placeholder='请选择'
|
|
39
|
+
condition="f_depid in {}">
|
|
40
|
+
</v-select>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-sm-3 form-group">
|
|
44
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
45
|
+
<v-select id="oper" style="width: 60%"
|
|
46
|
+
:multiple="false"
|
|
47
|
+
@change="$parent.$parent.getOpe"
|
|
48
|
+
:value.sync="model.f_operatorid"
|
|
49
|
+
v-model="model.f_operatorid"
|
|
50
|
+
:options='$parent.$parent.userresid' placeholder='请选择'
|
|
51
|
+
condition="f_operatorid in {}">
|
|
52
|
+
</v-select>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="span" style = "float:right;">
|
|
56
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
57
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
58
|
+
<report-excel id='gasprice'></report-excel>
|
|
59
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
60
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
63
|
+
<div class="col-sm-2 form-group">
|
|
64
|
+
<label class="font_normal_body">收费状态</label>
|
|
65
|
+
<v-select :value.sync="$parent.$parent.f_state" multiple
|
|
66
|
+
v-model="$parent.$parent.f_state"
|
|
67
|
+
:options='$parent.$parent.charge_state' placeholder='请选择'
|
|
68
|
+
condition="f_state in {}"
|
|
69
|
+
close-on-select></v-select>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</criteria>
|
|
74
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
75
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
76
|
+
<thead>
|
|
77
|
+
<tr>
|
|
78
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
79
|
+
<h3 style="text-align: center">收费结账报表</h3>
|
|
80
|
+
</th>
|
|
81
|
+
</tr>
|
|
82
|
+
<tr>
|
|
83
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
84
|
+
开始时间:{{model.model.startDate}}
|
|
85
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
86
|
+
<!--打印时间:{{{$parent.printTime}}}-->
|
|
87
|
+
打印时间:{{$parent.printTime}}
|
|
88
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
89
|
+
</th>
|
|
90
|
+
</tr>
|
|
91
|
+
<tr>
|
|
92
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
93
|
+
<div>
|
|
94
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
95
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
96
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
97
|
+
</div>
|
|
98
|
+
</th>
|
|
99
|
+
</tr>
|
|
100
|
+
</thead>
|
|
101
|
+
<tr>
|
|
102
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
103
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
104
|
+
</td>
|
|
105
|
+
</tr>
|
|
106
|
+
<tfoot>
|
|
107
|
+
<tr style="text-align: left">
|
|
108
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
109
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
110
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
111
|
+
</tr>
|
|
112
|
+
</tfoot>
|
|
113
|
+
</table>
|
|
114
|
+
</div>
|
|
115
|
+
</criteria-paged>
|
|
116
|
+
</div>
|
|
117
|
+
</template>
|
|
118
|
+
|
|
119
|
+
<script>
|
|
120
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
121
|
+
import co from 'co'
|
|
122
|
+
let getorg = async function (self) {
|
|
123
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
124
|
+
{
|
|
125
|
+
data: {
|
|
126
|
+
items: 'name label,id value',
|
|
127
|
+
tablename: 't_department',
|
|
128
|
+
condition: `1=1`
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{resolveMsg: null, rejectMsg: null})
|
|
132
|
+
.then((res) => {
|
|
133
|
+
self.depresid = res.data
|
|
134
|
+
})
|
|
135
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
136
|
+
{
|
|
137
|
+
data: {
|
|
138
|
+
items: 'name label,id value',
|
|
139
|
+
tablename: 't_user',
|
|
140
|
+
condition: `state = '在职' and f_department_name is not null`
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{resolveMsg: null, rejectMsg: null})
|
|
144
|
+
.then((res) => {
|
|
145
|
+
self.userresid = res.data
|
|
146
|
+
})
|
|
147
|
+
}
|
|
148
|
+
export default {
|
|
149
|
+
title: '收费结账报表',
|
|
150
|
+
props: ['data'],
|
|
151
|
+
data () {
|
|
152
|
+
return {
|
|
153
|
+
printTime: this.$login.toStandardTimeString(),
|
|
154
|
+
depresid: [],
|
|
155
|
+
userresid: [],
|
|
156
|
+
f_orgid: this.$login.f.orgid,
|
|
157
|
+
f_depid: this.$login.f.depids,
|
|
158
|
+
f_operatorid: this.$login.f.id,
|
|
159
|
+
operatorid: [],
|
|
160
|
+
depid: [],
|
|
161
|
+
orgname: '',
|
|
162
|
+
depname: '',
|
|
163
|
+
criteriaShow: false,
|
|
164
|
+
operatorname: '',
|
|
165
|
+
orgCondtionStr: '1=1',
|
|
166
|
+
f_state:'',
|
|
167
|
+
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
168
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
169
|
+
reportStr: null,
|
|
170
|
+
spans: 0,
|
|
171
|
+
initres: {
|
|
172
|
+
org: [this.$login.f.orgid],
|
|
173
|
+
dep: [],
|
|
174
|
+
user: []
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
ready () {
|
|
179
|
+
getorg(this)
|
|
180
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
181
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
182
|
+
console.log(this.$login.f)
|
|
183
|
+
},
|
|
184
|
+
methods: {
|
|
185
|
+
searchData () {
|
|
186
|
+
this.$refs.paged.$refs.criteria.search()
|
|
187
|
+
},
|
|
188
|
+
selfSearch (args) {
|
|
189
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
190
|
+
let orgcondition = ''
|
|
191
|
+
if (this.f_orgid[0]) {
|
|
192
|
+
orgcondition += ` and f_orgid in (${this.getParamStr(this.f_orgid)})`
|
|
193
|
+
}
|
|
194
|
+
if(this.f_state && this.f_state[0]) {
|
|
195
|
+
orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
|
|
196
|
+
}
|
|
197
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = args.condition + orgcondition
|
|
198
|
+
this.$refs.paged.search(args)
|
|
199
|
+
},
|
|
200
|
+
|
|
201
|
+
hidden() {
|
|
202
|
+
this.criteriaShow = !this.criteriaShow
|
|
203
|
+
},
|
|
204
|
+
getParamStr (array) {
|
|
205
|
+
let stringValue = ''
|
|
206
|
+
for (let i = 0; i < array.length; i++) {
|
|
207
|
+
if (i === array.length - 1) {
|
|
208
|
+
stringValue = stringValue + "'" + array[i] + "'"
|
|
209
|
+
} else {
|
|
210
|
+
stringValue = stringValue + "'" + array[i] + "',"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return stringValue
|
|
214
|
+
},
|
|
215
|
+
getRes (obj) {
|
|
216
|
+
this.orgname = obj.res[0]
|
|
217
|
+
this.f_orgid = obj.resids
|
|
218
|
+
},
|
|
219
|
+
getDep(val){
|
|
220
|
+
this.depname = this.depresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
|
|
221
|
+
console.log('dep',this.depname )
|
|
222
|
+
},
|
|
223
|
+
getOpe(val){
|
|
224
|
+
this.operatorname = this.userresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
|
|
225
|
+
console.log('operatorname',this.operatorname )
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
watch: {
|
|
229
|
+
'model.data' (val) {
|
|
230
|
+
let len=0
|
|
231
|
+
let a=val.split('</tr>')
|
|
232
|
+
for(let i=0;i<a.length;i++){
|
|
233
|
+
if(a[i].split('</td>').length-1>len){
|
|
234
|
+
len=a[i].split('</td>').length-1
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
this.spans = len
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
computed: {
|
|
241
|
+
charge_state() {
|
|
242
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
</script>
|
|
247
|
+
<style scoped>
|
|
248
|
+
.noborder{
|
|
249
|
+
border: none;
|
|
250
|
+
}
|
|
251
|
+
</style>
|
package/src/main.js
CHANGED
|
@@ -1,72 +1,70 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
|
|
5
|
-
// import { sale } from 'sale-client'
|
|
6
|
-
import { system } from 'system-clients'
|
|
7
|
-
import { ldap } from 'ldap-clients'
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import reportManage from './reportManage'
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Vue.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"AMap.
|
|
31
|
-
"AMap.
|
|
32
|
-
"AMap.
|
|
33
|
-
"AMap.
|
|
34
|
-
"AMap.
|
|
35
|
-
"AMap.
|
|
36
|
-
"AMap.
|
|
37
|
-
"AMap.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
require('
|
|
59
|
-
require('./
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
// require('system-clients/src/styles/less/manageStyle/
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
})
|
|
72
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
|
|
5
|
+
// import { sale } from 'sale-client'
|
|
6
|
+
import { system } from 'system-clients'
|
|
7
|
+
import { ldap } from 'ldap-clients'
|
|
8
|
+
import saleManage from './saleManage'
|
|
9
|
+
import ShanXianSaleManage from './filiale/shanxian/sale'
|
|
10
|
+
import ShanXianWebmeterManage from './filiale/shanxian/webmeterManage'
|
|
11
|
+
import webmeterManage from './webmeterManage'
|
|
12
|
+
import reportManage from './reportManage'
|
|
13
|
+
import newmanage from './newmanage'
|
|
14
|
+
import ManageHome from './ManageHome'
|
|
15
|
+
import echarts from 'echarts'
|
|
16
|
+
import AMap from 'vue-amap'
|
|
17
|
+
|
|
18
|
+
Vue.config.silent = true
|
|
19
|
+
// Vue.mmType = 'AES'
|
|
20
|
+
|
|
21
|
+
Vue.use(AMap);
|
|
22
|
+
|
|
23
|
+
// 初始化vue-amap
|
|
24
|
+
AMap.initAMapApiLoader({
|
|
25
|
+
// 高德key
|
|
26
|
+
key: '3cec9ae8e2349207f7ac29279e3f4abe',
|
|
27
|
+
// 插件集合 (插件按需引入)
|
|
28
|
+
plugin: [
|
|
29
|
+
"AMap.Autocomplete", //输入提示插件
|
|
30
|
+
"AMap.PlaceSearch", //POI搜索插件
|
|
31
|
+
"AMap.Scale", //右下角缩略图插件 比例尺
|
|
32
|
+
"AMap.OverView", //地图鹰眼插件
|
|
33
|
+
"AMap.ToolBar", //地图工具条0
|
|
34
|
+
"AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
|
|
35
|
+
"AMap.PolyEditor", //编辑 折线多,边形
|
|
36
|
+
"AMap.CircleEditor", //圆形编辑器插件
|
|
37
|
+
"AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
|
|
38
|
+
],
|
|
39
|
+
uiVersion: "1.0"
|
|
40
|
+
});
|
|
41
|
+
/** **************************通用组件******************************/
|
|
42
|
+
|
|
43
|
+
Vue.prototype.$echarts = echarts
|
|
44
|
+
all()
|
|
45
|
+
// sale()
|
|
46
|
+
ldap()
|
|
47
|
+
system(false)
|
|
48
|
+
|
|
49
|
+
saleManage()
|
|
50
|
+
ShanXianSaleManage()
|
|
51
|
+
webmeterManage()
|
|
52
|
+
ShanXianWebmeterManage()
|
|
53
|
+
ManageHome()
|
|
54
|
+
newmanage()
|
|
55
|
+
reportManage()
|
|
56
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
57
|
+
require('./components/qinhua/Style/qinhuaStyle.less')
|
|
58
|
+
// require('./bootstrap/less/manageStyle/manageChile.less')
|
|
59
|
+
// require('./bootstrap/less/manageStyle/safeStyle.less')
|
|
60
|
+
|
|
61
|
+
//大屏展示要放开的样式
|
|
62
|
+
// require('system-clients/src/styles/less/manageStyle/manageChile.less')
|
|
63
|
+
// require('system-clients/src/styles/less/manageStyle/safeStyle.less')
|
|
64
|
+
// require('system-clients/src/styles/less/manageStyle/manageStyle.less')
|
|
65
|
+
|
|
66
|
+
new Vue({
|
|
67
|
+
el: 'body',
|
|
68
|
+
components: { App }
|
|
69
|
+
})
|
|
70
|
+
|