manage-client 3.2.142 → 3.2.145

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.
Files changed (40) hide show
  1. package/build/dev-server.js +1 -1
  2. package/package.json +1 -1
  3. package/src/components/SellReport/UserFillmoney.vue +1 -1
  4. package/src/components/sale/businessquery/AccountQuery/AccountListManage.vue +2 -2
  5. package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +4 -4
  6. package/src/components/sale/businessquery/ArrearsQuery.vue +10 -10
  7. package/src/components/sale/businessquery/ChargeQuery.vue +2 -2
  8. package/src/components/sale/businessquery/GroupChargeQuery.vue +2 -2
  9. package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
  10. package/src/components/sale/businessquery/InspectListGas.vue +238 -246
  11. package/src/components/sale/businessquery/ProceedsOper.vue +4 -4
  12. package/src/components/sale/businessquery/SellOrgnameQuery.vue +2 -2
  13. package/src/components/sale/businessquery/SellPeopleQuery.vue +2 -2
  14. package/src/components/sale/businessquery/UserSellHeadDetail.vue +4 -4
  15. package/src/components/sale/config/exportConfig.js +12 -12
  16. package/src/components/sale/filesquery/UserQuery.vue +6 -0
  17. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +1 -1
  18. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +2 -1
  19. package/src/components/webmeter/DrillData/UserGasEform.vue +1 -1
  20. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +2 -1
  21. package/src/components/webmeter/recharge/RechargeList.vue +1 -1
  22. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +26 -26
  23. package/src/filiale/dongguan/components/SellReport/BankManager.vue +146 -0
  24. package/src/filiale/dongguan/components/SellReport/SiteManager.vue +147 -0
  25. package/src/filiale/dongguan/components/WebReport/BussinessType.vue +137 -0
  26. package/src/filiale/dongguan/components/WebReport/Paymentpie.vue +157 -0
  27. package/src/filiale/dongguan/reportManage.js +21 -0
  28. package/src/filiale/kelai/UserQuery.vue +963 -0
  29. package/src/filiale/kelai/exportConfig.js +1062 -0
  30. package/src/filiale/kelai/sale.js +8 -0
  31. package/src/filiale/qianneng/ArrearsQuery.vue +2 -2
  32. package/src/filiale/qianneng/ChargeQuery.vue +2 -2
  33. package/src/filiale/qianneng/HandplanQuery.vue +1 -1
  34. package/src/filiale/qianneng/exportConfig.js +3 -3
  35. package/src/filiale/rongcheng/exportConfig.js +2 -2
  36. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  37. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  38. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  39. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  40. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -90,7 +90,7 @@ export default{
90
90
  'f_gasproperties': '用气性质', 'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_times': '购气次数', 'f_price_name': '气价名称',
91
91
  'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_pregas': '气量', 'fee': '金额', 'f_preamount': '燃气费', 'f_collection': '收款', 'f_privilege_money': '优惠金额', 'f_balance': '上期结余',
92
92
  'f_curbalance': '本期结余', 'f_type': '收费类型', 'f_payment': '付款方式', 'f_bank_type': '支付渠道', 'f_state': '状态', 'f_operate_date': '收费日期', 'f_serial_id': '流水号',
93
- 'f_delaypay': '滞纳金', 'f_comments': '备注', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司',
93
+ 'f_delaypay': '违约金', 'f_comments': '备注', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司',
94
94
  'f_yucun': '预存金额', 'f_card_id': '卡号', 'f_stairamount1': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费',
95
95
  'f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费',
96
96
  'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_inputtor': '抄表员','f_residential_area':'小区','f_serial_number':'业务单号'
@@ -118,11 +118,11 @@ export default{
118
118
  },
119
119
  sellPeopleConfig: {
120
120
  'f_operator': '收费员', 'f_oughtfee': '燃气费', 'f_yucun': '预存款', 'f_other_fee': '其他费', 'f_number': '销售笔数', 'f_cal_collection': '冲正金额',
121
- 'f_collection': '实收金额', 'qifei_num': '气费笔数', 'qifei_fee': '气费金额', 'yucun_num': '预存笔数', 'yucun_fee': '预存金额', 'tuifei_num': '退费笔数', 'tuifei_fee': '退费金额', 'f_delaypay': '已交滞纳金', 'f_heji': '合计金额'
121
+ 'f_collection': '实收金额', 'qifei_num': '气费笔数', 'qifei_fee': '气费金额', 'yucun_num': '预存笔数', 'yucun_fee': '预存金额', 'tuifei_num': '退费笔数', 'tuifei_fee': '退费金额', 'f_delaypay': '已交违约金', 'f_heji': '合计金额'
122
122
  },
123
123
  sellOrgnameConfig: {
124
124
  'f_orgname': '分公司', 'f_oughtfee': '燃气费', 'f_yucun': '预存款', 'f_other_fee': '其他费', 'f_number': '销售笔数', 'f_cal_collection': '冲正金额',
125
- 'f_collection': '实收金额', 'qifei_num': '气费笔数', 'qifei_fee': '气费金额', 'yucun_num': '预存笔数', 'yucun_fee': '预存金额', 'tuifei_num': '退费笔数', 'tuifei_fee': '退费金额', 'f_delaypay': '已交滞纳金', 'f_heji': '合计金额'
125
+ 'f_collection': '实收金额', 'qifei_num': '气费笔数', 'qifei_fee': '气费金额', 'yucun_num': '预存笔数', 'yucun_fee': '预存金额', 'tuifei_num': '退费笔数', 'tuifei_fee': '退费金额', 'f_delaypay': '已交违约金', 'f_heji': '合计金额'
126
126
  },
127
127
  handPeopleConfig: {
128
128
  'f_inputtor': '抄表员', 'f_user_number': '应抄户数', 'f_no_hand': '未抄户数', 'f_out_hand': '已抄无用量',
@@ -147,8 +147,8 @@ export default{
147
147
 
148
148
  ProceedsOperConfig: {
149
149
  'f_operate_date': '日期', 'c': '售气笔数', 'f_pregas': '售气气量', 'f_preamount': '售气金额',
150
- 'f_balance': '上期结余', 'f_curbalance': '本期结余', 'f_delaypay': '气费滞纳金',
151
- 'f_returnfee': '退费', 'f_czpregas': '冲正气量', 'f_czpreamount': '冲正金额', 'f_czdelaypay': '冲正滞纳金',
150
+ 'f_balance': '上期结余', 'f_curbalance': '本期结余', 'f_delaypay': '气费违约金',
151
+ 'f_returnfee': '退费', 'f_czpregas': '冲正气量', 'f_czpreamount': '冲正金额', 'f_czdelaypay': '冲正违约金',
152
152
  'fkcardnum': '发卡数', 'f_fkcardfees': '发卡费', 'gc': '其他数', 'f_gmoney': '其他费', 'cardnum': '补卡数',
153
153
  'f_cardfees': '补卡费', 'f_collection': '实收金额'
154
154
  },
@@ -169,7 +169,7 @@ export default{
169
169
  'f_user_phone': '客户电话', 'f_rent_phone': '备用电话', 'f_inputtor': '抄表员', 'f_book_name': '抄表册', 'f_user_type': '客户类型',
170
170
  'f_gasproperties': '用气性质', 'f_comments': '备注', 'c': '欠费期数', 'f_hand_date': '欠费区间', 'f_oughtamount': '用气量',
171
171
  'f_oughtfee': '用气金额', 'f_operate_date': '缴费时间', 'f_debt_money': '已交金额', 'f_oughtfee_new': '应交气费',
172
- 'overdue': '滞纳金', 'f_garbage_fee': '附加费', 'f_last_tablebase': '上期抄表底数', 'f_tablebase': '本期抄表底数', 'f_balance': '上期余额',
172
+ 'overdue': '违约金', 'f_garbage_fee': '附加费', 'f_last_tablebase': '上期抄表底数', 'f_tablebase': '本期抄表底数', 'f_balance': '上期余额',
173
173
  'f_oughtfee_all': '合计欠费金额','f_oughtfee_col': '实际欠费金额', 'f_cost_type': '缴费方式', 'f_meter_type': '气表类型'
174
174
  },
175
175
  areaChargeQueryConfig: {
@@ -303,7 +303,7 @@ export default{
303
303
  },
304
304
  handplanConfig: {
305
305
  'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址', 'f_zones': '片区', 'phone': '客户手机', 'f_meternumber': '表号', 'ym_data': '数据年月',
306
- 'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_oughtamount': '用气量', 'overdue': '滞纳金', 'f_oughtfee': '用气金额', 'f_debt_money': '已交金额',
306
+ 'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_oughtamount': '用气量', 'overdue': '违约金', 'f_oughtfee': '用气金额', 'f_debt_money': '已交金额',
307
307
  'f_actual_arrears': '欠费金额', 'f_balance': '上期余额', 'f_curbalance': '本期余额',
308
308
  'f_accounts_state': '下账状态', 'f_operate_date': '收费时间', 'f_inputtor': '抄表员', 'f_book_slice_area': '表册片区',
309
309
  'f_hand_date': '下发日期', 'f_input_date': '录入日期', 'f_audit_date': '审核日期','f_meter_state': '抄表状态', 'f_hand_state': '记录状态',
@@ -335,8 +335,8 @@ export default{
335
335
  UserSellHeadDetailConfig: {
336
336
  'f_userinfo_code': '用户编号', 'f_user_name': '用户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '用户地址', 'f_balance': '期初余额',
337
337
  'f_collection': '实收金额', 'f_m_fee': '免交金额', 'f_t_fee': '退费', 'f_b_fee': '补费', 'f_k_fee': '扣费',
338
- 'f_oughtamount': '应收气费', 'f_debt_money': '已收气费', 'f_w_money': '未收气费', 'f_delaypay': '已收滞纳金',
339
- 'f_reduction_fee': '滞纳金减免', 'f_h_fee': '超用收费', 'f_curbalance': '期末余额', 'f_x_balance': '最新余额'
338
+ 'f_oughtamount': '应收气费', 'f_debt_money': '已收气费', 'f_w_money': '未收气费', 'f_delaypay': '已收违约金',
339
+ 'f_reduction_fee': '违约金减免', 'f_h_fee': '超用收费', 'f_curbalance': '期末余额', 'f_x_balance': '最新余额'
340
340
  },
341
341
  TransactionSummaryConfig: {
342
342
  'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_type': '类型', 'f_price': '气价',
@@ -360,7 +360,7 @@ export default{
360
360
  batchBankConfig: {
361
361
  'f_userinfo_code': '客户编号', 'f_userinfo_id': '用户编号', 'f_user_phone': '客户电话', 'f_user_name': '客户姓名', 'f_address': '客户地址',
362
362
  'f_bank_accopen': '银行户名', 'f_bank_pay_number': '缴费编号', 'f_bank_account': '银行开户账号', 'f_paper_account': '开户行及账号',
363
- 'f_bank_name': '银行名称', 'f_oughtfee': '欠费金额', 'overdue': '滞纳金'
363
+ 'f_bank_name': '银行名称', 'f_oughtfee': '欠费金额', 'overdue': '违约金'
364
364
  },
365
365
  batchBankConfig2: {
366
366
  'f_userinfo_code': '客户编号', 'f_userinfo_id': '用户编号', 'phone': '客户电话', 'f_user_name': '客户姓名', 'f_address': '客户地址',
@@ -678,7 +678,7 @@ export default{
678
678
  },
679
679
  overduelistConfig: {
680
680
  'f_month': '月份', 'f_last_balance': '期初余额', 'f_account': '本期发生额', 'f_wechat_pay': '微信', 'f_money_pay': '现金',
681
- 'f_reduction': '本期减免', 'f_bank_pay': '银行转账', 'f_sum_pay': '滞纳金合计', 'f_balance': '期末余额'
681
+ 'f_reduction': '本期减免', 'f_bank_pay': '银行转账', 'f_sum_pay': '违约金合计', 'f_balance': '期末余额'
682
682
  },
683
683
  sellinggaslistConfig: {
684
684
  'f_month': '月份', 'f_last_balance': '期初余额', 'f_account': '本期发生额', 'f_wechat_pay': '微信',
@@ -986,7 +986,7 @@ export default{
986
986
  'finaltotal': '一日'
987
987
  },
988
988
  GroupCharge: {
989
- 'id': '收费编号', 'f_user_name': '客户姓名', 'f_user_type': '客户类型', 'f_address': '客户地址','f_pregas': '气量','f_preamount': '气费','f_delay': '应交滞纳金','f_delaypay': '实交滞纳金',
989
+ 'id': '收费编号', 'f_user_name': '客户姓名', 'f_user_type': '客户类型', 'f_address': '客户地址','f_pregas': '气量','f_preamount': '气费','f_delay': '应交违约金','f_delaypay': '实交违约金',
990
990
  'f_balance': '上期余额','f_curbalance': '本期余额','f_collection': '收款','f_state': '收费状态','f_operate_date': '收费日期','f_payment': '付款方式','f_type': '收费类型','f_comments': '备注',
991
991
  'f_operator': '收费人','f_orgname': '部门','f_depname': '公司'
992
992
  },
@@ -320,6 +320,9 @@
320
320
  <data-order field="f_address" name="客户地址"
321
321
  :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
322
322
  </th>
323
+ <th>
324
+ <nobr>表号</nobr>
325
+ </th>
323
326
  <th>
324
327
  <nobr>小区</nobr>
325
328
  </th>
@@ -412,6 +415,9 @@
412
415
  <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
413
416
  <nobr>{{row.f_address}}</nobr>
414
417
  </td>
418
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
419
+ <nobr>{{row.f_meternumber}}</nobr>
420
+ </td>
415
421
  <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
416
422
  <nobr>{{row.f_residential_area}}</nobr>
417
423
  </td>
@@ -56,7 +56,7 @@
56
56
  <nobr>金额</nobr>
57
57
  </th>
58
58
  <th>
59
- <nobr>滞纳金</nobr>
59
+ <nobr>违约金</nobr>
60
60
  </th>
61
61
  <th>
62
62
  <nobr>收款</nobr>
@@ -116,7 +116,7 @@
116
116
  <label class="font_normal_body">用户状态</label>
117
117
  <v-select
118
118
  placeholder='用户状态'
119
- value-single="true"
119
+ value-single
120
120
  style="width:60%"
121
121
  :value.sync="model.f_user_state"
122
122
  v-model="model.f_user_state"
@@ -354,6 +354,7 @@
354
354
  self.$refs.paged.$refs.cri.model.startDate = year+'-01-01 00:00:00'
355
355
  // self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
356
356
  self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
357
+ self.$refs.paged.$refs.cri.model.f_user_state='正常'
357
358
  self.$refs.paged.$refs.cri.search()
358
359
  }
359
360
  export default {
@@ -153,7 +153,7 @@
153
153
  if (this.groupNameForSql&& this.groupNameForSql !== 'undefined') {
154
154
  let load = new HttpResetClass()
155
155
  let res = await load.load('POST', 'rs/sql/webmeter_getUserGasSum',
156
- {data: {condition: this.conditionForSql, groupname: this.groupNameForSql}},
156
+ {data: {condition: this.conditionForSql, groupname: this.groupNameForSql,startDate: this.startdate, endDate: this.enddate}},
157
157
  {resolveMsg: null, rejectMsg: null})
158
158
  console.log('res返回', res)
159
159
  this.model2 = res.data
@@ -116,7 +116,7 @@
116
116
  <label class="font_normal_body">用户状态</label>
117
117
  <v-select
118
118
  placeholder='用户状态'
119
- value-single="true"
119
+ value-single
120
120
  style="width:60%"
121
121
  :value.sync="model.f_user_state"
122
122
  v-model="model.f_user_state"
@@ -314,6 +314,7 @@
314
314
  self.initParams()
315
315
  self.$refs.paged.$refs.cri.model.notappear='不包含'
316
316
  self.$refs.paged.$refs.cri.model.SLday1=10
317
+ self.$refs.paged.$refs.cri.model.f_user_state='正常'
317
318
  self.$refs.paged.$refs.cri.search()
318
319
  }
319
320
  export default {
@@ -55,7 +55,7 @@
55
55
  <div class="col-sm-2">
56
56
  <label class="font_normal_body">客户地址</label>
57
57
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
58
- condition="u.f_address like '%{}%'" v-next-el='userid' v-el:username>
58
+ condition="s.f_address like '%{}%'" v-next-el='userid' v-el:username>
59
59
  </div>
60
60
  <div class="col-sm-2 form-group">
61
61
  <label class="font_normal_body">客户类型</label>
@@ -47,15 +47,15 @@
47
47
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
48
48
  <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
49
49
 
50
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
51
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
50
+ <export-excel :data="$parent.$parent.getCondition"
51
+ :field="$parent.$parent.getfield" :
52
52
  sqlurl="rs/logic/exportfile" sql-name="changeMeterQuery" template-name='换表查询导出'
53
53
  :choose-col="true">
54
54
  </export-excel>
55
55
  <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
56
56
  :defaultfield="$parent.$parent.defaultfield"
57
57
  titletable="换表记录"
58
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
58
+ ></print-data>
59
59
  <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>
60
60
  </div>
61
61
  </div>
@@ -383,7 +383,7 @@
383
383
  // self.$refs.paged.$refs.cri.search()
384
384
  await self.$MagLoadParams.loadParam()
385
385
  self.initParams()
386
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
386
+ // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
387
387
  }
388
388
  export default {
389
389
 
@@ -458,23 +458,23 @@
458
458
  this.rowdata=obj
459
459
  this.show=true
460
460
  },
461
- getotherfooter () {
461
+ // getotherfooter () {
462
462
  // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
463
463
  // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
464
- this.other = [];
465
- this.footer = [];
466
- let exportdata = this.getCondition;
467
- let otherInData = [];
468
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
469
- let footerData = [], exportfield = this.getfield;
470
- footerData.push("合计");
471
- let self = this;
472
- for (var field in self.sumsmodel) {
473
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
474
- }
475
- this.footer.push(footerData);
476
- this.other.push(otherInData);
477
- },
464
+ // this.other = [];
465
+ // this.footer = [];
466
+ // let exportdata = this.getCondition;
467
+ // let otherInData = [];
468
+ // otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
469
+ // let footerData = [], exportfield = this.getfield;
470
+ // footerData.push("合计");
471
+ // let self = this;
472
+ // for (var field in self.sumsmodel) {
473
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
474
+ // }
475
+ // this.footer.push(footerData);
476
+ // this.other.push(otherInData);
477
+ // },
478
478
  async initParams() {
479
479
  // 初始化气表品牌
480
480
  let brandArr = []
@@ -494,7 +494,7 @@
494
494
  }
495
495
  args.condition = `${args.condition}` + this.orgCondtionStr
496
496
  this.model.search(args.condition, args.model)
497
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
497
+ // this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
498
498
  },
499
499
  clear() {
500
500
  //清空部门和人员
@@ -571,12 +571,12 @@
571
571
  'modelval.length'() {
572
572
  this.put()
573
573
  },
574
- sumsmodel:{
575
- handler: function(val) {
576
- this.getotherfooter();
577
- },
578
- deep: true
579
- }
574
+ // sumsmodel:{
575
+ // handler: function(val) {
576
+ // this.getotherfooter();
577
+ // },
578
+ // deep: true
579
+ // }
580
580
  },
581
581
  computed: {
582
582
  // getstart(){
@@ -0,0 +1,146 @@
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="bm" :style="{width:'100%',height:'100%'}"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import * as Util from '../../../../Util'
9
+ import co from 'co'
10
+ import echarts from 'echarts'
11
+ import {HttpResetClass } from 'vue-client'
12
+
13
+ let getData = function * (self) {
14
+ let load = new HttpResetClass()
15
+ load.load('POST', 'rs/sql/userfilesvalues',
16
+ {data: {startDate: self.startdate, endDate: self.enddate, f_orgid: self.orgid}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ self.texttile = '用户类型'
20
+ // let arrparams = []
21
+ console.log('获取数据。。', res.data)
22
+ let org = []
23
+ //let name = []
24
+ let minyongvalue=[]
25
+ let feiminyongvalue=[]
26
+ for (var i = 0; i < res.data.length; i++) {
27
+ if (!org.includes(res.data[i].org)) {
28
+ org.push(res.data[i].org)
29
+ }
30
+ if (res.data[i].name === '民用') {
31
+ minyongvalue[org.indexOf(res.data[i].org)] = res.data[i].number
32
+ }else{
33
+ feiminyongvalue[org.indexOf(res.data[i].org)]= res.data[i].number
34
+ }
35
+ }
36
+ self.set(org,minyongvalue,feiminyongvalue)
37
+ })
38
+ }
39
+ export default {
40
+ props: {
41
+ startdate: {
42
+ type: String,
43
+ default: Util.toStandardDateString()
44
+ },
45
+ enddate: {
46
+ type: String,
47
+ default: Util.toStandardDateString()
48
+ },
49
+ orgid: {
50
+ type: String
51
+ }
52
+ },
53
+ data () {
54
+ title: '银行管理'
55
+ return {
56
+ texttile: '',
57
+ xc: '',
58
+
59
+ minyongvalue: [],
60
+ feiminyongvalue: []
61
+ }
62
+ },
63
+ methods: {
64
+ set (org,minyongvalue,feiminyongvalue) {
65
+ this.xc = echarts.init(document.getElementById('bm'))
66
+ this.xc.setOption({
67
+ title : {
68
+ text: '新增汇总',
69
+ subtext: '数据查询来源',
70
+ x: 'left'
71
+ },
72
+ tooltip : {
73
+ trigger: 'axis'
74
+ },
75
+ legend: {
76
+ x: 'left',
77
+ y: 'bottom',
78
+ data: ['民用','非民用']
79
+ },
80
+ toolbox: {
81
+ show : true,
82
+ feature : {
83
+ dataView : {show: true, readOnly: false},
84
+ magicType : {show: true, type: ['line', 'bar']},
85
+ restore : {show: true},
86
+ saveAsImage : {show: true}
87
+ }
88
+ },
89
+ calculable : true,
90
+ xAxis : [
91
+ {
92
+ type : 'category',
93
+ data : org
94
+ }
95
+ ],
96
+ yAxis : [
97
+ {
98
+ type : 'value'
99
+ }
100
+ ],
101
+ series : [
102
+ {
103
+ name:'民用',
104
+ type:'bar',
105
+ data:minyongvalue,
106
+ markLine : {
107
+ data : [
108
+ {type : 'average', name: '平均值'}
109
+ ]
110
+ }
111
+ },
112
+ {
113
+ name:'非民用',
114
+ type:'bar',
115
+ data:feiminyongvalue,
116
+ markLine : {
117
+ data : [
118
+ {type : 'average', name : '平均值'}
119
+ ]
120
+ }
121
+ }
122
+ ]
123
+ })
124
+ },
125
+ searchdata () {
126
+ let getGen =getData(this)
127
+ co(getGen)
128
+ }
129
+ },
130
+ ready () {
131
+ this.searchdata()
132
+ },
133
+ watch: {
134
+ 'startdate' (val) {
135
+ this.searchdata()
136
+ },
137
+ 'enddate' (val) {
138
+ this.searchdata()
139
+ },
140
+ 'orgid' (val) {
141
+ this.searchdata()
142
+ }
143
+ }
144
+
145
+ }
146
+ </script>
@@ -0,0 +1,147 @@
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="gph" :style="{width:'100%',height:'100%'}"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import * as Util from '../../../../Util'
9
+ import co from 'co'
10
+ import echarts from 'echarts'
11
+ import {HttpResetClass } from 'vue-client'
12
+
13
+ let getData = function * (self) {
14
+ let load = new HttpResetClass()
15
+ load.load('POST','rs/sql/sellinggasvalue',
16
+ {data: {startDate: self.startdate, endDate: self.enddate,key: 'f_depname',f_orgid: self.orgid}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ self.texttile = '用户类型'
20
+ let arrparams = []
21
+ let numdata = []
22
+ let gasdata = []
23
+ let pricedata = []
24
+ for (var i = 0; i < res.data.length; i++) {
25
+ arrparams[i] = res.data[i].name
26
+ numdata[i] = res.data[i].num_value
27
+ gasdata[i] = res.data[i].gas_value
28
+ pricedata[i] = res.data[i].money_value
29
+ }
30
+ self.set(arrparams,numdata,gasdata,pricedata)
31
+ })
32
+ }
33
+ export default {
34
+ props: {
35
+ startdate: {
36
+ type: String,
37
+ default: Util.toStandardDateString()
38
+ },
39
+ enddate: {
40
+ type: String,
41
+ default: Util.toStandardDateString()
42
+ },
43
+ orgid: {
44
+ type: String
45
+ }
46
+ },
47
+ data () {
48
+ title: '站点管理'
49
+ return {
50
+ texttile: '',
51
+ xc: ''
52
+ }
53
+ },
54
+ methods: {
55
+ set (arrparams,numdata,gasdata,pricedata) {
56
+ this.xc = echarts.init(document.getElementById('gph'))
57
+ this.xc.setOption({
58
+ title : {
59
+ text: '营收汇总',
60
+ subtext: '数据查询来源',
61
+ x: 'left'
62
+ },
63
+ tooltip : {
64
+ trigger: 'axis'
65
+ },
66
+ legend: {
67
+ x: 'left',
68
+ y: 'bottom',
69
+ data: ['数量','气量','金额']
70
+ },
71
+ toolbox: {
72
+ show : true,
73
+ feature : {
74
+ dataView : {show: true, readOnly: false},
75
+ magicType : {show: true, type: ['line', 'bar']},
76
+ restore : {show: true},
77
+ saveAsImage : {show: true}
78
+ }
79
+ },
80
+ calculable : true,
81
+ xAxis : [
82
+ {
83
+ type : 'category',
84
+ data : arrparams
85
+ }
86
+ ],
87
+ yAxis : [
88
+ {
89
+ type : 'value'
90
+ }
91
+ ],
92
+ series : [
93
+ {
94
+ name:'数量',
95
+ type:'bar',
96
+ data:numdata,
97
+ markLine : {
98
+ data : [
99
+ {type : 'average', name: '平均值'}
100
+ ]
101
+ }
102
+ },
103
+ {
104
+ name:'气量',
105
+ type:'bar',
106
+ data:gasdata,
107
+ markLine : {
108
+ data : [
109
+ {type : 'average', name: '平均值'}
110
+ ]
111
+ }
112
+ },
113
+ {
114
+ name:'金额',
115
+ type:'bar',
116
+ data:pricedata,
117
+ markLine : {
118
+ data : [
119
+ {type : 'average', name : '平均值'}
120
+ ]
121
+ }
122
+ }
123
+ ]
124
+ })
125
+ },
126
+ searchdata () {
127
+ let getGen =getData(this)
128
+ co(getGen)
129
+ }
130
+ },
131
+ ready () {
132
+ this.searchdata()
133
+ },
134
+ watch: {
135
+ 'startdate' (val) {
136
+ this.searchdata()
137
+ },
138
+ 'enddate' (val) {
139
+ this.searchdata()
140
+ },
141
+ 'orgid' (val) {
142
+ this.searchdata()
143
+ }
144
+ }
145
+
146
+ }
147
+ </script>