manage-client 3.2.188 → 3.2.190

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.
@@ -0,0 +1,486 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <res-select-group :show-component="['company','department']" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
10
+ <div class="col-sm-2 form-group">
11
+ <label for="startDate" class="font_normal_body">开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ condition="f_operate_date >= '{}'">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body">结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ condition="f_operate_date <= '{}'">
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">团缴编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_customer"
33
+ condition="f_customer = '{}'" placeholder="团缴编号">
34
+ </div>
35
+ <div class="span" style="float:right;">
36
+ <button class="button_search button_spacing" @click="search()">查询</button>
37
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
38
+
39
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
40
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
41
+ :defaultselect="$parent.$parent.defaultexport"
42
+ sqlurl="rs/logic/exportfile" sql-name="manage_singleTable" template-name='团缴查询导出'
43
+ :choose-col="true">
44
+ </export-excel>
45
+
46
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
47
+ :defaultfield="$parent.$parent.config.defaultPrint"
48
+ titletable="团体缴费记录报表" :starthead="$parent.$parent.getstart"
49
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
50
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
51
+
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="col-sm-2 form-group">
56
+ <label class="font_normal_body">客户名称</label>
57
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
58
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">客户类型</label>
62
+ <v-select :value.sync="model.f_user_type"
63
+ :search="false"
64
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
65
+ condition="f_user_type = '{}'"
66
+ close-on-select></v-select>
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">客户地址</label>
70
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
71
+ condition="f_address like '%{}%'" placeholder='客户地址'>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
75
+ <v-select :value.sync="model.f_payment" multiple
76
+ v-model="model.f_payment"
77
+ :options='$parent.$parent.payment' placeholder='请选择'
78
+ condition="f_payment in {}"
79
+ close-on-select></v-select>
80
+ </div>
81
+ <div class="col-sm-2 form-group">
82
+ <label class="font_normal_body">收费类型</label>
83
+ <v-select :value.sync="model.f_type" multiple
84
+ :search="false"
85
+ :options='$parent.$parent.chargetype' placeholder='请选择'
86
+ close-on-select clear-button
87
+ condition="f_type in {}"
88
+ v-model="model.f_type"></v-select>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">收费状态</label>
92
+ <v-select :value.sync="model.f_state" multiple
93
+ :search="false"
94
+ v-model="model.f_state"
95
+ :options='$parent.$parent.charge_state' placeholder='请选择'
96
+ condition="f_state in {}"
97
+ close-on-select></v-select>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </criteria>
102
+
103
+ <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
104
+ <template partial='head'>
105
+ <tr>
106
+ <th>
107
+ <nobr>收费编号</nobr>
108
+ </th>
109
+ <th>
110
+ <nobr>客户姓名</nobr>
111
+ </th>
112
+ <th>
113
+ <nobr>客户类型</nobr>
114
+ </th>
115
+ <th>
116
+ <!--<nobr>客户地址</nobr>-->
117
+ <data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
118
+ </th>
119
+ <th>
120
+ <nobr>气量</nobr>
121
+ </th>
122
+ <th>
123
+ <nobr>气费</nobr>
124
+ </th>
125
+ <!-- <th>-->
126
+ <!-- <nobr>应交违约金</nobr>-->
127
+ <!-- </th>-->
128
+ <!-- <th>-->
129
+ <!-- <nobr>实交违约金</nobr>-->
130
+ <!-- </th>-->
131
+ <th>
132
+ <nobr>上期余额</nobr>
133
+ </th>
134
+ <th>
135
+ <nobr>本期余额</nobr>
136
+ </th>
137
+ <th>
138
+ <nobr>账户支出</nobr>
139
+ </th>
140
+ <th>
141
+ <nobr>账户存入</nobr>
142
+ </th>
143
+ <th>
144
+ <nobr>收款</nobr>
145
+ </th>
146
+ <th>
147
+ <nobr>收费状态</nobr>
148
+ </th>
149
+ <th>
150
+ <!--<nobr>收费日期</nobr>-->
151
+ <data-order field="f_operate_date" name="收费日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
152
+ </th>
153
+ <th>
154
+ <nobr>付款方式</nobr>
155
+ </th>
156
+ <th>
157
+ <nobr>收费类型</nobr>
158
+ </th>
159
+ <th>
160
+ <nobr>备注</nobr>
161
+ </th>
162
+ <th>
163
+ <nobr>收费人</nobr>
164
+ </th>
165
+ <th>
166
+ <nobr>部门</nobr>
167
+ </th>
168
+ <th>
169
+ <nobr>公司</nobr>
170
+ </th>
171
+ <th>
172
+ <nobr>操作</nobr>
173
+ </th>
174
+ </tr>
175
+ </template>
176
+ <template partial='body'>
177
+ <td style="text-align: center;">
178
+ <nobr>{{row.id}}</nobr>
179
+ </td>
180
+ <td style="text-align: center;">
181
+ <nobr>{{row.f_user_name}}</nobr>
182
+ </td>
183
+ <td style="text-align: center;">
184
+ <nobr>{{row.f_user_type}}</nobr>
185
+ </td>
186
+ <td style="text-align: center;">
187
+ <nobr>{{row.f_address}}</nobr>
188
+ </td>
189
+ <td style="text-align: center;">
190
+ <nobr>{{row.f_pregas}}</nobr>
191
+ </td>
192
+ <td style="text-align: center;">
193
+ <nobr>{{row.f_preamount}}</nobr>
194
+ </td>
195
+ <!-- <td style="text-align: center;">-->
196
+ <!-- <nobr>{{row.f_delay}}</nobr>-->
197
+ <!-- </td>-->
198
+ <!-- <td style="text-align: center;">-->
199
+ <!-- <nobr>{{row.f_delaypay}}</nobr>-->
200
+ <!-- </td>-->
201
+ <td style="text-align: center;">
202
+ <nobr>{{row.f_balance}}</nobr>
203
+ </td>
204
+ <td style="text-align: center;">
205
+ <nobr>{{row.f_curbalance}}</nobr>
206
+ </td>
207
+ <td style="text-align: center;">
208
+ <nobr>{{row.f_newbalance}}</nobr>
209
+ </td>
210
+ <td style="text-align: center;">
211
+ <nobr>{{row.f_newcurbalance}}</nobr>
212
+ </td>
213
+ <td style="text-align: center;">
214
+ <nobr>{{row.f_collection}}</nobr>
215
+ </td>
216
+ <td style="text-align: center;">
217
+ <nobr>{{row.f_state}}</nobr>
218
+ </td>
219
+ <td style="text-align: center;">
220
+ <nobr>{{row.f_operate_date}}</nobr>
221
+ </td>
222
+ <td style="text-align: center;">
223
+ <nobr>{{row.f_payment}}</nobr>
224
+ </td>
225
+ <td style="text-align: center;">
226
+ <nobr>{{row.f_type}}</nobr>
227
+ </td>
228
+ <td style="text-align: center;">
229
+ <nobr>{{row.f_comments}}</nobr>
230
+ </td>
231
+ <td style="text-align: center;">
232
+ <nobr>{{row.f_operator}}</nobr>
233
+ </td>
234
+ <td style="text-align: center;">
235
+ <nobr>{{row.f_orgname}}</nobr>
236
+ </td>
237
+ <td style="text-align: center;">
238
+ <nobr>{{row.f_depname}}</nobr>
239
+ </td>
240
+ <td style="text-align: center;">
241
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>
242
+ </td>
243
+ </template>
244
+ <template partial='foot'></template>
245
+ </data-grid>
246
+ </criteria-paged>
247
+ <table class="table-hover">
248
+ <tr style="position: relative" class="table-bordered">
249
+ <td
250
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
251
+ 汇总信息
252
+ </td>
253
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
254
+ 气量合计:&emsp;{{sumsmodel.f_pregas}}
255
+ </td>
256
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
257
+ 燃气费合计:&emsp;{{sumsmodel.f_preamount}}
258
+ </td>
259
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
260
+ 收款合计:&emsp;{{sumsmodel.f_collection}}
261
+ </td>
262
+ </tr>
263
+ </table>
264
+ </div>
265
+ </div>
266
+ </div>
267
+ <modal :show.sync="showdetail" width="80%" title="详细记录" v-ref:modal large backdrop="false">
268
+ <article slot="modal-body" class="modal-body" style="height: 700px">
269
+ <charge-query :batchid="f_batch_id" :data="data" v-if="showdetail"></charge-query>
270
+ </article>
271
+ <footer slot="modal-footer" class="modal-footer">
272
+ </footer>
273
+ </modal>
274
+ </template>
275
+
276
+ <script>
277
+ import {PagedList} from 'vue-client'
278
+ import exportConfig from './../../components/sale/config/exportConfig'
279
+ let readySomething = async function (self) {
280
+ //加载抄表册
281
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
282
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
283
+ self.$refs.paged.$refs.cri.search()
284
+ await self.$MagLoadParams.loadParam()
285
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
286
+ }
287
+ export default {
288
+ props:['data'],
289
+ title: '团缴查询',
290
+ data() {
291
+ return {
292
+ f_batch_id: null,
293
+ showdetail: false,
294
+ isSingleUser: null,
295
+ startDate1:'',
296
+ endDate1:'',
297
+ other:[],
298
+ footer:[],
299
+ config: {
300
+ defaultPrint: ['f_user_name', 'f_pregas', 'f_collection', 'f_operate_date']
301
+ },
302
+ //排序
303
+ orderitem:'f_operate_date desc',
304
+ orderFields: {
305
+ f_operate_date: 'no'
306
+ },
307
+ //f_price_name:[],
308
+ gasproperties:[],
309
+ showinfo: false,
310
+ data: {},
311
+ getstart:'',
312
+ show:false,
313
+ chargetype: [{label: '团体收费', value: '团体收费'}, {label: '团体退费', value: '团体退费'}],
314
+ rowdata:{},
315
+ initres: {
316
+ org:[this.$login.f.orgid],
317
+ dep:[],
318
+ user:[]
319
+ },
320
+ model: new PagedList('rs/sql/groupChargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
321
+ f_pregas: 0,
322
+ f_preamount: 0,
323
+ f_collection: 0,
324
+ }),
325
+ criteriaShow: false,
326
+ orgCondtionStr: '',
327
+ area: [],
328
+ sumsmodel: {},
329
+ f_filialeid: this.$login.f.orgid,
330
+ selected:{},
331
+ showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
332
+ }
333
+ },
334
+ ready() {
335
+ this.$refs.paged.$refs.cri.model.f_state=['有效']
336
+ readySomething(this).then(() => {
337
+ this.$emit('ready')
338
+ }).catch((error) => {
339
+ this.$emit('error', error)
340
+ })
341
+ },
342
+ methods: {
343
+ showchargedetail(row){
344
+ this.showdetail = true
345
+ this.f_batch_id = row.id
346
+ },
347
+ getotherfooter () {
348
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
349
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
350
+ this.other = [];
351
+ this.footer = [];
352
+ let exportdata = this.getCondition;
353
+ let otherInData = [];
354
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
355
+ let footerData = [], exportfield = this.getfield;
356
+ footerData.push("合计");
357
+ let self = this;
358
+ for (var field in self.sumsmodel) {
359
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
360
+ }
361
+ this.footer.push(footerData);
362
+ this.other.push(otherInData);
363
+ },
364
+ search(){
365
+ this.$refs.paged.$refs.cri.search()
366
+ },
367
+ selfSearch(args) {
368
+ if (this.data) {
369
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
370
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
371
+ }
372
+
373
+ let f_orgstr = this.orgCondtionStr
374
+ args.condition = `${args.condition} ` + f_orgstr
375
+ this.model.search(args.condition, args.model)
376
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
377
+ },
378
+ clear() {
379
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
380
+ this.$refs.paged.$refs.cri.model[key] = []
381
+ })
382
+ },
383
+ dealmsg(val,startDate,endDate) {
384
+ val.model = this.model.model
385
+ startDate=this.startDate1
386
+ endDate=this.endDate1
387
+ this.$dispatch('deal-msg', val,startDate,endDate)
388
+ },
389
+ show() {
390
+ this.criteriaShow = true
391
+ },
392
+ hidden() {
393
+ this.criteriaShow = !this.criteriaShow
394
+ },
395
+ async getRes(condition,obj) {
396
+ this.orgCondtionStr = condition
397
+ this.orgname = obj.orgnames[0]
398
+ this.depname = obj.depnames[0]
399
+ this.operatorname = this.userresid.filter(x => obj.operatornames.includes(x.value)).map(x=>x.label).toString()
400
+ },
401
+ sort (field, rule) {
402
+ // 将所有排序方式设为不排序,实现相互排斥
403
+ for (let key in this.orderFields) {
404
+ if (key === field) {
405
+ this.orderFields[key] = rule
406
+ } else {
407
+ this.orderFields[key] = 'no'
408
+ }
409
+ }
410
+ // 如果新规则不排序,还原为默认排序
411
+ if (rule === 'no') {
412
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
413
+ } else {
414
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
415
+ }
416
+
417
+ this.search()
418
+ }
419
+
420
+ },
421
+ watch: {
422
+ 'model.rows'(val) {
423
+ //如果有合计 这里为true, 其他为false ,反正相反
424
+ this.showbottomsum=true;
425
+ if(val.length === 0){
426
+ this.sumsmodel = {}
427
+ this.showbottomsum=false;
428
+ }
429
+ },
430
+ 'model.rows.length' () {
431
+ this.isSingleUser = this.model.rows
432
+ },
433
+ sumsmodel:{
434
+ handler: function(val) {
435
+ this.getotherfooter();
436
+ },
437
+ deep: true
438
+ }
439
+ },
440
+ computed: {
441
+ getstart(){
442
+ return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
443
+ },
444
+ chooserow(){
445
+ let aaa= true
446
+ if(this.$login.r && this.$login.r.includes('打印项选择')){
447
+ aaa = false
448
+ }
449
+ return aaa
450
+ },
451
+ getCondition() {
452
+ return {
453
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
454
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
455
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
456
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc",
457
+ items: "*",
458
+ tablename: "t_sellinggasbatch"
459
+ }
460
+ },
461
+ getfield() {
462
+ return exportConfig.GroupCharge
463
+ },
464
+ defaultexport() {
465
+ return exportConfig.GroupCharge
466
+ },
467
+ usertypes() {
468
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
469
+ },
470
+ payment() {
471
+ return [...this.$appdata.getParam('付款方式')]
472
+ },
473
+ banktype() {
474
+ return [...this.$appdata.getParam('支付渠道查询')]
475
+ },
476
+ charge_state() {
477
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
478
+ },
479
+ bank(){
480
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
481
+ }
482
+ }
483
+ }
484
+ </script>
485
+ <style scoped>
486
+ </style>
@@ -2,6 +2,8 @@
2
2
  let specialComp = {
3
3
  // 收费查询
4
4
  'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
5
+ // 团缴查询
6
+ 'group-charge-query': (resolve) => { require(['./GroupChargeQuery'], resolve) }
5
7
  }
6
8
  exports.specialComp = specialComp
7
9
 
@@ -0,0 +1,9 @@
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ 'use-gas-statistics': (resolve) => { require(['./GasStatistics'], resolve) },
4
+ }
5
+ exports.specialComp = specialComp
6
+
7
+
8
+
9
+
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("tongchuan")
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
-
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("zhongyi")
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
+