manage-client 3.2.275 → 3.2.276

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.
@@ -1,179 +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
- // Define HTTP proxies to your custom API backend
11
- // https://github.com/chimurai/http-proxy-middleware
12
- // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
13
- var shaoguan = 'http://119.146.1.106:8300/'
14
- var qtx= 'http://36.103.222.144:6300/'
15
- // var bendi = 'http://220.194.141.253:8600/'
16
- // var bendi = 'http://203.57.101.233:9001'
17
- // var bendi = 'http://172.168.1.11:9001/'
18
- // var bendi = 'http://203.57.101.233:8400/'
19
- // var bendi = 'http://121.36.106.17:8400/'
20
- // var fuwu = 'http://203.57.101.233:9001'
21
- var bendi = 'http://192.168.50.4:8400'
22
- // var bendi = 'http://119.187.112.234:8400/'
23
- var wode = 'http://127.0.0.1:8084'
24
- // 192.168.
25
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
26
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
27
- var proxyTable = {
28
- '/rs/logic/exportfile': {
29
- target: bendi
30
- },
31
- '/files': {
32
- target: bendi
33
- },
34
- // 查找资源服务数据
35
- '/rs/search': {
36
- target: bendi
37
- },
38
- // 查找资源服务数据
39
- '/rs/logic/getLogin': {
40
- target: bendi
41
- },
42
- // 查找资源服务数据
43
- '/rs/logic/getInitData': {
44
- target: bendi
45
- },
46
- '/rs/logic/getSaleInitData': {
47
- target: bendi
48
- },
49
- // 用户登录服务地址
50
- '/rs/user': {
51
- target: bendi
52
- },
53
- '/rs/path/getParams': {
54
- target: bendi
55
- },
56
- '/rs/data': {
57
- target: bendi
58
- },
59
- '/rs/license': {
60
- target: bendi
61
- },
62
- '/rs/db': {
63
- target: bendi
64
- },
65
- '/excel': {
66
- target: bendi
67
- },
68
- '/rs/config': {
69
- target: bendi
70
- },
71
- '/rs/sql/getLicenseById': {
72
- target: bendi
73
- },
74
- '/rs/report': {
75
- target: wode
76
- },
77
- '/rs/vue': {
78
- target: bendi
79
- },
80
- '/rs/file': {
81
- target: bendi
82
- },
83
- '/rs/sql/singleTable': {
84
- target: bendi
85
- },
86
- '/rs': {
87
- target: wode
88
- }
89
- }
90
-
91
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
92
- publicPath: config.output.publicPath,
93
- stats: {
94
- colors: true,
95
- chunks: false
96
- }
97
- })
98
-
99
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
100
- // force page reload when html-webpack-plugin template changes
101
- compiler.plugin('compilation', function (compilation) {
102
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
103
- hotMiddleware.publish({action: 'reload'})
104
- cb()
105
- })
106
- })
107
-
108
- // proxy api requests
109
- Object.keys(proxyTable).forEach(function (context) {
110
- var options = proxyTable[context]
111
- if (typeof options === 'string') {
112
- options = {target: options}
113
- }
114
- app.use(proxyMiddleware(context, options))
115
- })
116
-
117
- // handle fallback for HTML5 history API
118
- app.use(require('connect-history-api-fallback')())
119
- // app.use(function (req, res, next) {
120
- // res.header('Access-Control-Allow-Origin', '*')
121
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
122
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
123
- // res.header('X-Powered-By', '3,2,1')
124
- // res.header('Access-Control-Allow-Credentials', 'true')
125
- // res.header('Content-Type', 'application/json;charset=utf-8')
126
- // next()
127
- // })
128
-
129
- // serve webpack bundle output
130
- app.use(devMiddleware)
131
-
132
- // enable hot-reload and state-preserving
133
- // compilation error display
134
- app.use(hotMiddleware)
135
-
136
- // serve pure static assets
137
- app.use('/static', express.static('./static'))
138
-
139
- // app.all('/rs/*', function (req, res) {
140
- // proxy.web(req, res, {
141
- // target: 'http://127.0.0.1:8081/reports'
142
- // })
143
- // })
144
-
145
- // app.all('/rs/*', function (req, res) {
146
- // proxy.web(req, res, {
147
- // target: 'http://127.0.0.1:8081/ldap'
148
- // })
149
- // })
150
- // app.all('/excel/*', function (req, res) {
151
- // proxy.web(req, res, {
152
- // target: 'http://127.0.0.1:8081/charge'
153
- // })
154
- // })
155
-
156
- // app.all('/rs/*', function (req, res) {
157
- // proxy.web(req, res, {
158
- // target: 'http://127.0.0.1:82/charge'
159
- // })
160
- // })
161
-
162
- // app.all('/*', function (req, res) {
163
- // proxy.web(req, res, {
164
- // target: 'http://127.0.0.1:82'
165
- // })
166
- // })
167
- // app.all('/rs/user', function (req, res) {
168
- // proxy.web(req, res, {
169
- // target: 'http://127.0.0.1:82'
170
- // })
171
- // })
172
-
173
- module.exports = app.listen(8015, function (err) {
174
- if (err) {
175
- console.log(err)
176
- return
177
- }
178
- console.log('Listening at http://localhost:8015')
179
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
+ var shaoguan = 'http://119.146.1.106:8300/'
15
+ var qtx= 'http://36.103.222.144:6300/'
16
+ // var bendi = 'http://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://192.168.50.4:8400'
23
+ // var bendi = 'http://119.187.112.234:8400/'
24
+ var wode = 'http://127.0.0.1:8080'
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
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.275",
3
+ "version": "3.2.276",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -145,6 +145,9 @@
145
145
  <th style="text-align:center">
146
146
  <nobr>客户名称</nobr>
147
147
  </th>
148
+ <th style="text-align:center">
149
+ <nobr>客户电话</nobr>
150
+ </th>
148
151
  <th style="text-align:center">
149
152
  <nobr>客户地址</nobr>
150
153
  </th>
@@ -178,6 +181,7 @@
178
181
  <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
179
182
  </nobr> </td>
180
183
  <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
184
+ <td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
181
185
  <td><nobr>{{row.f_address}}</nobr></td>
182
186
  <td style="text-align:center">{{row.f_user_type}}</td>
183
187
  <td style="text-align:center">{{row.f_gasproperties}}</td>
@@ -1058,5 +1058,10 @@ export default{
1058
1058
  'f_collection': '收款', 'f_payment': '付款方式', 'f_operate_date': '收费日期', 'f_state': '状态',
1059
1059
  'f_orgname': '所属机构', 'f_depname': '部门', 'f_operator': '操作人'
1060
1060
  },
1061
+ feimin_style: {
1062
+ 'f_userinfo_code': '用户编号', 'f_olduserinfo_code': '档案编号',
1063
+ 'f_user_name': '用户名称', 'f_price': '单价', 'zgougas': '总购气量汇总', 'gougas': '本月购气量汇总',
1064
+ 'bugas': '补气汇总', 'yugas': '表余量汇总', 'yonggas': '用气量汇总'
1065
+ }
1061
1066
  }
1062
1067
 
@@ -81,9 +81,6 @@
81
81
  <th>
82
82
  <nobr>档案编号</nobr>
83
83
  </th>
84
- <th>
85
- <nobr>用户名称</nobr>
86
- </th>
87
84
  <th>
88
85
  <nobr>单价</nobr>
89
86
  </th>
@@ -297,12 +294,12 @@ export default {
297
294
  this.$refs.paged.$refs.cri.search()
298
295
  },
299
296
  selfSearch(args) {
300
- let orgcondition = ' uf.f_orgid in (' + this.f_orgid + ')'
297
+ let orgcondition = ' f_orgid in (' + this.f_orgid + ')'
301
298
  if (this.f_depid[0]) {
302
- orgcondition += " and uf.f_depid in("+this.f_depid.toString()+')'
299
+ orgcondition += " and f_depid in("+this.f_depid.toString()+')'
303
300
  }
304
301
  if(this.f_operatorid[0]) {
305
- orgcondition += ' and ts2.f_operatorid in (' + this.f_operatorid + ')'
302
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
306
303
  }
307
304
  this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
308
305
  this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
@@ -873,7 +873,7 @@
873
873
 
874
874
  footer:[],
875
875
  config: {
876
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount','f_operate_date']
876
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_address', 'f_user_type', 'f_pregas', 'f_orgname', 'f_operator', 'f_operate_date', 'f_gasproperties', 'fee']
877
877
  },
878
878
  //排序
879
879
  orderitem:'',
@@ -420,12 +420,12 @@
420
420
  <th>
421
421
  <nobr>开票时间</nobr>
422
422
  </th>
423
- <th>
424
- <nobr>累计写卡气量</nobr>
425
- </th>
426
- <th>
427
- <nobr>实际写卡金额</nobr>
428
- </th>
423
+ <!-- <th>-->
424
+ <!-- <nobr>累计写卡气量</nobr>-->
425
+ <!-- </th>-->
426
+ <!-- <th>-->
427
+ <!-- <nobr>实际写卡金额</nobr>-->
428
+ <!-- </th>-->
429
429
  <th>
430
430
  <nobr>冲正人</nobr>
431
431
  </th>
@@ -631,12 +631,12 @@
631
631
  <td style="text-align: center;">
632
632
  <nobr>{{row.f_invoice_date}}</nobr>
633
633
  </td>
634
- <td style="text-align: center;">
635
- <nobr>{{row.f_write_totalgas}}</nobr>
636
- </td>
637
- <td style="text-align: center;">
638
- <nobr>{{row.f_write_money}}</nobr>
639
- </td>
634
+ <!-- <td style="text-align: center;">-->
635
+ <!-- <nobr>{{row.f_write_totalgas}}</nobr>-->
636
+ <!-- </td>-->
637
+ <!-- <td style="text-align: center;">-->
638
+ <!-- <nobr>{{row.f_write_money}}</nobr>-->
639
+ <!-- </td>-->
640
640
  <td style="text-align: center;">
641
641
  <nobr>{{row.f_corr_operator}}</nobr>
642
642
  </td>
@@ -76,11 +76,11 @@
76
76
  <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
77
77
  condition="f_people_num = '{}'" placeholder="人数">
78
78
  </div>
79
- <div class="col-sm-2 form-group">
80
- <label class="font_normal_body">报警器编码</label>
81
- <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
82
- condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
83
- </div>
79
+ <!-- <div class="col-sm-2 form-group">-->
80
+ <!-- <label class="font_normal_body">报警器编码</label>-->
81
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"-->
82
+ <!-- condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>-->
83
+ <!-- </div>-->
84
84
  <div class="col-sm-2 form-group">
85
85
  <label class="font_normal_body">气表分类</label>
86
86
  <v-select :value.sync="model.f_meter_classify"
@@ -187,24 +187,24 @@
187
187
  condition="f_position = '{}'"
188
188
  close-on-select></v-select>
189
189
  </div>
190
- <div class="col-sm-2 form-group">
191
- <label class="font_normal_body">是否有自闭阀</label>
192
- <v-select :value.sync="model.s_devices_type" v-model="model.s_devices_type"
193
- :options='$parent.$parent.selfClosing' placeholder='请选择'
194
- close-on-select></v-select>
195
- </div>
196
- <div class="col-sm-2 form-group">
197
- <label class="font_normal_body">是否不锈钢波纹管</label>
198
- <v-select :value.sync="model.s_corrugated" v-model="model.s_corrugated"
199
- :options='$parent.$parent.corrugated' placeholder='请选择'
200
- close-on-select></v-select>
201
- </div>
202
- <div class="col-sm-2 form-group">
203
- <label class="font_normal_body">有无合同日期</label>
204
- <v-select :value.sync="model.s_contractdate" v-model="model.s_contractdate"
205
- :options='$parent.$parent.contractDate' placeholder='请选择'
206
- close-on-select></v-select>
207
- </div>
190
+ <!-- <div class="col-sm-2 form-group">-->
191
+ <!-- <label class="font_normal_body">是否有自闭阀</label>-->
192
+ <!-- <v-select :value.sync="model.s_devices_type" v-model="model.s_devices_type"-->
193
+ <!-- :options='$parent.$parent.selfClosing' placeholder='请选择'-->
194
+ <!-- close-on-select></v-select>-->
195
+ <!-- </div>-->
196
+ <!-- <div class="col-sm-2 form-group">-->
197
+ <!-- <label class="font_normal_body">是否不锈钢波纹管</label>-->
198
+ <!-- <v-select :value.sync="model.s_corrugated" v-model="model.s_corrugated"-->
199
+ <!-- :options='$parent.$parent.corrugated' placeholder='请选择'-->
200
+ <!-- close-on-select></v-select>-->
201
+ <!-- </div>-->
202
+ <!-- <div class="col-sm-2 form-group">-->
203
+ <!-- <label class="font_normal_body">有无合同日期</label>-->
204
+ <!-- <v-select :value.sync="model.s_contractdate" v-model="model.s_contractdate"-->
205
+ <!-- :options='$parent.$parent.contractDate' placeholder='请选择'-->
206
+ <!-- close-on-select></v-select>-->
207
+ <!-- </div>-->
208
208
 
209
209
 
210
210
 
@@ -372,7 +372,7 @@
372
372
  <data-order field="f_hand_date" name="最后抄表日期" :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
373
373
  </th>
374
374
  <th><nobr>自动阀控</nobr></th>
375
- <th><nobr>阀门状态</nobr></th>
375
+ <!-- <th><nobr>阀门状态</nobr></th>-->
376
376
 
377
377
  <th>
378
378
  <!--<nobr>开户时间</nobr>-->
@@ -390,7 +390,7 @@
390
390
  <th><nobr>备用电话</nobr></th>
391
391
  <th><nobr>租户姓名</nobr></th>
392
392
  <th><nobr>租户电话</nobr></th>
393
- <th><nobr>是否煤改气</nobr></th>
393
+ <!-- <th><nobr>是否煤改气</nobr></th>-->
394
394
 
395
395
  <th><nobr>使用类型</nobr></th>
396
396
 
@@ -512,7 +512,7 @@
512
512
  <!--自动阀控38-->
513
513
  <td style="text-align: center;"><nobr>{{row.f_network_valve}}</nobr></td>
514
514
  <!--阀门状态39-->
515
- <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
515
+ <!-- <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>-->
516
516
  <!--开户时间40-->
517
517
  <td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
518
518
  <!--证件类型41-->
@@ -530,7 +530,7 @@
530
530
  <!--租户电话47-->
531
531
  <td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
532
532
  <!--是否煤改气48-->
533
- <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
533
+ <!-- <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>-->
534
534
  <!--使用类型49-->
535
535
  <td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
536
536
  <!--表具状态50-->
package/src/main.js CHANGED
@@ -1,66 +1,66 @@
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 webmeterManage from './webmeterManage'
10
- import reportManage from './reportManage'
11
- import newmanage from './newmanage'
12
- import ManageHome from './ManageHome'
13
- import echarts from 'echarts'
14
- import AMap from 'vue-amap'
15
-
16
- Vue.config.silent = true
17
- // Vue.mmType = 'AES'
18
-
19
- Vue.use(AMap);
20
-
21
- // 初始化vue-amap
22
- AMap.initAMapApiLoader({
23
- // 高德key
24
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
- // 插件集合 (插件按需引入)
26
- plugin: [
27
- "AMap.Autocomplete", //输入提示插件
28
- "AMap.PlaceSearch", //POI搜索插件
29
- "AMap.Scale", //右下角缩略图插件 比例尺
30
- "AMap.OverView", //地图鹰眼插件
31
- "AMap.ToolBar", //地图工具条0
32
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
- "AMap.PolyEditor", //编辑 折线多,边形
34
- "AMap.CircleEditor", //圆形编辑器插件
35
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
- ],
37
- uiVersion: "1.0"
38
- });
39
- /** **************************通用组件******************************/
40
-
41
- Vue.prototype.$echarts = echarts
42
- all()
43
- // sale()
44
- ldap()
45
- system(false)
46
-
47
- saleManage()
48
- webmeterManage()
49
- ManageHome()
50
- newmanage()
51
- reportManage('kelai')
52
- require('system-clients/src/styles/less/bootstrap.less')
53
- require('./components/qinhua/Style/qinhuaStyle.less')
54
- // require('./bootstrap/less/manageStyle/manageChile.less')
55
- // require('./bootstrap/less/manageStyle/safeStyle.less')
56
-
57
- //大屏展示要放开的样式
58
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
-
62
- new Vue({
63
- el: 'body',
64
- components: { App }
65
- })
66
-
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 webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条0
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+
47
+ saleManage()
48
+ webmeterManage()
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
52
+ require('system-clients/src/styles/less/bootstrap.less')
53
+ require('./components/qinhua/Style/qinhuaStyle.less')
54
+ // require('./bootstrap/less/manageStyle/manageChile.less')
55
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
56
+
57
+ //大屏展示要放开的样式
58
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
+
62
+ new Vue({
63
+ el: 'body',
64
+ components: { App }
65
+ })
66
+