manage-client 3.2.238 → 3.2.240

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 (28) hide show
  1. package/package.json +1 -1
  2. package/src/components/sale/businessquery/ChangeMeterQuery.vue +28 -1
  3. package/src/components/sale/businessquery/FMYGasQuery.vue +1 -1
  4. package/src/components/sale/config/exportConfig.js +1 -1
  5. package/src/components/sale/filesquery/RecordInfoQuery.vue +3 -3
  6. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +0 -8
  7. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +4 -13
  8. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +0 -7
  9. package/src/filiale/WEINAN/NewAccountQuery.vue +4 -4
  10. package/src/filiale/huayin/ChangeMeterQuery.vue +2 -2
  11. package/src/filiale/qianneng/QnJgqGshzbb.vue +11 -10
  12. package/src/filiale/qianneng/QnJgqGsxsmx.vue +68 -16
  13. package/src/filiale/qianneng/QnJgqMgqbb.vue +1 -1
  14. package/src/filiale/qianneng/QnJgqMyhzbb.vue +3 -3
  15. package/src/filiale/qianneng/QnJgqMyxsmx.vue +61 -2
  16. package/src/filiale/qianneng/QnJgqXsjgbb.vue +1 -1
  17. package/src/filiale/qianneng/QnJgqZhdacx.vue +76 -20
  18. package/src/filiale/qianneng/exportConfig.js +4 -4
  19. package/src/filiale/shanxian/RecordInfoQuery.vue +3 -3
  20. package/src/filiale/shanxian/SiteManager.vue +210 -154
  21. package/src/filiale/wenxi/ChargeQuery.vue +1 -1
  22. package/src/filiale/wenxi/sale.js +1 -18
  23. package/src/filiale/xiangyun/ChargeQuery.vue +4 -0
  24. package/src/filiale/zhongyi/LostContactAnalysisList.vue +563 -537
  25. package/src/filiale/zhongyi/MeterExceptionList.vue +7 -0
  26. package/src/filiale/zhongyi/UserLostContactAnalysis.vue +592 -0
  27. package/src/filiale/zhongyi/sale.js +8 -10
  28. package/src/filiale/zhongyi/webmeterManage.js +5 -1
@@ -32,7 +32,7 @@
32
32
  <label class="font_normal_body">用气性质</label>
33
33
  <v-select :value.sync="model.f_gasproperties"
34
34
  :options='$parent.$parent.gasproperties' placeholder='请选择' v-model="model.f_gasproperties"
35
- condition="f_calculation in {}"
35
+ condition="f_gasproperties in {}"
36
36
  close-on-select></v-select>
37
37
  </div>
38
38
 
@@ -53,38 +53,49 @@
53
53
  </div>
54
54
  <div class="row" v-show="$parent.$parent.criteriaShow">
55
55
  <div class="col-sm-2 form-group">
56
- <label for="startDate" class="font_normal_body">通气日期起</label>
57
- <datepicker id="startDate" placeholder="通气日期起" style="width:60%"
56
+ <label for="startDate" class="font_normal_body">开户时间起</label>
57
+ <datepicker id="startDate" placeholder="开户日期起" style="width:60%"
58
58
  v-model="model.startDate"
59
59
  :value.sync="model.startDate"
60
60
  :format="'yyyy-MM-dd'"
61
61
  :show-reset-button="true"
62
- condition="f_gas_date >= '{} 00:00:00'">
62
+ condition="f_open_date >= '{} 00:00:00'">
63
63
  </datepicker>
64
64
  </div>
65
65
  <div class="col-sm-2 form-group">
66
- <label for="endDate" class="font_normal_body">通气日期止</label>
67
- <datepicker id="endDate" placeholder="通气日期止" style="width:60%"
66
+ <label for="endDate" class="font_normal_body">开户日期止</label>
67
+ <datepicker id="endDate" placeholder="开户日期止" style="width:60%"
68
68
  v-model="model.endDate"
69
69
  :value.sync="model.endDate"
70
70
  :format="'yyyy-MM-dd'"
71
71
  :show-reset-button="true"
72
- condition="f_gas_date <= '{} 23:59:59'">
72
+ condition="f_open_date <= '{} 23:59:59'">
73
73
  </datepicker>
74
74
  </div>
75
75
  <div class="col-sm-2 form-group">
76
76
  <label class="font_normal_body">气表类型</label>
77
77
  <v-select :value.sync="model.f_meter_type"
78
78
  :options='$parent.$parent.metertypes()' placeholder='请选择' v-model="model.f_meter_type"
79
- condition="f_meter_type = '{}'"
79
+ condition="f_meter_type in {}"
80
80
  close-on-select></v-select>
81
81
  </div>
82
82
  <div class="col-sm-2 form-group">
83
- <label class="font_normal_body">气表品牌</label>
84
- <v-select :value.sync="model.f_meter_brand"
85
- v-model="model.f_meter_brand" multiple
86
- :options='$parent.$parent.meterbrands' placeholder='请选择'
87
- condition="f_meter_brand in {}"
83
+ <label class="font_normal_body">客户状态</label>
84
+ <v-select :value.sync="model.f_user_state"
85
+ v-model="model.f_user_state" multiple
86
+ :options='$parent.$parent.yhztArray' placeholder='请选择'
87
+ condition="f_user_state in {}"
88
+ valueSingle="正常"
89
+ ></v-select>
90
+ </div>
91
+
92
+ <div class="col-sm-2 form-group">
93
+ <label class="font_normal_body">表状态</label>
94
+ <v-select :value.sync="model.f_table_state"
95
+ v-model="model.f_table_state" multiple
96
+ :options='$parent.$parent.bjztArray' placeholder='请选择'
97
+ condition="f_table_state in {}"
98
+ valueSingle="正常"
88
99
  ></v-select>
89
100
  </div>
90
101
  <div class="row">
@@ -95,6 +106,7 @@
95
106
  </div>
96
107
  </div>
97
108
  </div>
109
+
98
110
  </div>
99
111
  </criteria>
100
112
 
@@ -117,7 +129,7 @@
117
129
  <nobr>客户电话</nobr>
118
130
  </th>
119
131
  <th>
120
- <nobr>通气日期</nobr>
132
+ <nobr>开户日期</nobr>
121
133
  </th>
122
134
  <th>
123
135
  <nobr>气价名称</nobr>
@@ -152,6 +164,9 @@
152
164
  <th>
153
165
  <nobr>备注信息</nobr>
154
166
  </th>
167
+ <th>
168
+ <nobr>通气日期</nobr>
169
+ </th>
155
170
  </tr>
156
171
  </template>
157
172
  <template partial='body'>
@@ -171,7 +186,7 @@
171
186
  <nobr>{{row.f_user_phone}}</nobr>
172
187
  </td>
173
188
  <td style="text-align: center;">
174
- <nobr>{{row.f_gas_date}}</nobr>
189
+ <nobr>{{row.f_open_date}}</nobr>
175
190
  </td>
176
191
  <td style="text-align: center;">
177
192
  <nobr>{{row.f_price_name}}</nobr>
@@ -206,6 +221,9 @@
206
221
  <td style="text-align: center;">
207
222
  <nobr>{{row.f_comments}}</nobr>
208
223
  </td>
224
+ <td style="text-align: center;">
225
+ <nobr>{{row.f_gas_date}}</nobr>
226
+ </td>
209
227
  </template>
210
228
  <template partial='foot'>
211
229
  </template>
@@ -306,6 +324,8 @@
306
324
  deviceInfo:{},
307
325
  condition2:'',
308
326
 
327
+ yhztArray:[],
328
+ bjztArray:[],
309
329
 
310
330
  weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
311
331
  //小区
@@ -326,12 +346,48 @@
326
346
  }).catch((error) => {
327
347
  this.$emit('error', error)
328
348
  })
329
- this.initAreas(this.$login.f.orgid)
330
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
331
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
332
-
349
+ //this.initAreas(this.$login.f.orgid)
350
+ //self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
351
+ //self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
352
+ this.getJgqYhzt();
353
+ this.getJgqBjzt();
333
354
  },
334
355
  methods: {
356
+ //-------------------------------------------------------------
357
+ async getJgqYhzt(){
358
+ let HttpReset = new HttpResetClass()
359
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
360
+ data: {
361
+ condition: '1=1',
362
+ tablename: 'qn_jgq_zhdacx',
363
+ groupitem: 'f_user_state',
364
+ orderitem: 'f_user_state',
365
+ items: 'f_user_state'
366
+ }
367
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
368
+ let nameArr = [{label: '全部', value: ''}]
369
+ for (let row of data.data){
370
+ nameArr.push({label: row.f_user_state, value: row.f_user_state})
371
+ }
372
+ this.yhztArray = nameArr
373
+ },
374
+ async getJgqBjzt(){
375
+ let HttpReset = new HttpResetClass()
376
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
377
+ data: {
378
+ condition: '1=1',
379
+ tablename: 'qn_jgq_zhdacx',
380
+ groupitem: 'f_table_state',
381
+ orderitem: 'f_table_state',
382
+ items: 'f_table_state'
383
+ }
384
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
385
+ let nameArr = [{label: '全部', value: ''}]
386
+ for (let row of data.data){
387
+ nameArr.push({label: row.f_table_state, value: row.f_table_state})
388
+ }
389
+ this.bjztArray = nameArr
390
+ },
335
391
  async getinputtores () {
336
392
  // 获取抄表员
337
393
  let rs = []
@@ -655,7 +711,7 @@
655
711
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('结算方式')]
656
712
  },
657
713
  metertypes() {
658
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
714
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表分类')]
659
715
  },
660
716
  accountsState() {
661
717
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
@@ -124,9 +124,9 @@ export default{
124
124
  },
125
125
  qnJgqZhdacx:{
126
126
  'f_userinfo_code':'客户编号', 'f_user_name':'客户名称', 'f_user_state':'客户状态', 'f_address':'客户地址', 'f_user_phone':'客户电话',
127
- 'f_gas_date':'通气日期', 'f_price_name':'气价名称', 'f_meter_type':'气表类型', 'f_meter_brand':'气表品牌', 'f_meter_style':'气表型号',
127
+ 'f_open_date':'开户日期', 'f_price_name':'气价名称', 'f_meter_type':'气表类型', 'f_meter_brand':'气表品牌', 'f_meter_style':'气表型号',
128
128
  'f_meternumber':'表号', 'f_user_type':'客户类型', 'f_gasproperties':'用气性质', 'f_credentials':'证件类型',
129
- 'f_idnumber':'证件号码', 'f_table_state':'表状态', 'f_comments':'备注信息'
129
+ 'f_idnumber':'证件号码', 'f_table_state':'表状态', 'f_comments':'备注信息', 'f_gas_date':'通气日期'
130
130
  },
131
131
  qnJgqMgqbb:{
132
132
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'地址','e_spmc':'商品名称','g_cbqj':'抄表期间','h_csqf':'起方','i_cszf':'止方',
@@ -139,7 +139,7 @@ export default{
139
139
  qnJgqGsxsmx:{
140
140
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'用气地址','e_spmc':'商品名称','g_cbqj':'抄表期间','h_csqf':'起方','i_cszf':'止方',
141
141
  'j_ysql':'气量','k_dj':'单价','l_je':'金额','m_znj':'违约金','o_sjje':'金额合计','u_xyqxz':'用气性质','s_jfrq':'日期',
142
- 't_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员'
142
+ 't_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员','tqrq':'通气日期'
143
143
  },
144
144
  qnJgqMyhzbb:{
145
145
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'地址','khlx':'客户类型','r_yqxzcfl':'用气性质','nyql':'年用气量','nje':'年用气金额'
@@ -147,7 +147,7 @@ export default{
147
147
  qnJgqMyxsmx:{
148
148
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'地址','e_spmc':'商品名称','g_cbqj':'抄表期间','h_csqf':'起方','i_cszf':'止方',
149
149
  'j_ysql':'气量','k_dj':'单价','l_je':'金额','m_znj':'违约金',/**'n_jc':'价差',**/'o_sjje':'金额合计','r_yqxzcfl':'用气性质',
150
- 's_jfrq':'日期','t_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员'
150
+ 's_jfrq':'日期','t_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员','tqrq':'通气日期'
151
151
  },
152
152
  qnJgqXsjgbb:{
153
153
  'a_yf':'月份','b_hjql':'合计气量','c_hjhs':'合计户数','d_gyql':'工业气量','e_gyhs':'工业户数','f_syql':'商业气量','g_syhs':'商业户数',
@@ -125,7 +125,7 @@
125
125
  </div>
126
126
  <div class="col-sm-2 form-group">
127
127
  <label class="font_normal_body">燃气表号</label>
128
- <input type="text" style="width:60%" class="input_search" v-model.trim="model.f_meternumber"
128
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
129
129
  condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
130
130
  </div>
131
131
 
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
  <div class="col-sm-2 form-group">
150
150
  <label class="font_normal_body">表&emsp;&emsp;号</label>
151
- <input type="text" style="width:60%" class="input_search" v-model.trim="model.f_meter_number"
151
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
152
152
  condition="f_meternumber = '{}'" placeholder='表号'>
153
153
  </div>
154
154
  <div class="col-sm-2 form-group">
@@ -396,7 +396,7 @@
396
396
  </div>
397
397
  <div class="col-sm-2 form-group" >
398
398
  <label class="font_normal_body">气表表号</label>
399
- <input type="text" style="width:60%" class="input_search" v-model.trim="model.f_meternumber"
399
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
400
400
  condition="f_meternumber like '%{}%'" placeholder='气表表号'>
401
401
  </div>
402
402
  <div class="col-sm-2 form-group">
@@ -8,28 +8,36 @@
8
8
  import * as Util from '../../Util'
9
9
  import co from 'co'
10
10
  import echarts from 'echarts'
11
- import {HttpResetClass } from 'vue-client'
11
+ import {HttpResetClass} from 'vue-client'
12
12
 
13
- let getData = function * (self) {
13
+ let getData = function* (self) {
14
14
  let load = new HttpResetClass()
15
- load.load('POST','rs/sql/sellinggasvalue',
16
- {data: {startDate: self.startdate, endDate: self.enddate,key: 'f_user_type',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
- console.log("res.data",res.data)
25
- for (var i = 0; i < res.data.length; i++) {
26
- arrparams[i] = res.data[i].name
27
- numdata[i] = res.data[i].num_value
28
- gasdata[i] = res.data[i].gas_value
29
- pricedata[i] = res.data[i].money_value
30
- }
31
- self.set(arrparams,numdata,gasdata,pricedata)
32
- })
15
+ load.load('POST', 'rs/logic/sellinggasvalue',
16
+ {data: {startDate: self.startdate, endDate: self.enddate, key: 'f_user_type', f_orgid: self.orgid}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ console.log(res + 'aaaaaaaaaaaa')
20
+ self.texttile = '用户类型'
21
+ let arrparams1 = []
22
+ let numdata1 = []
23
+ let gasdata1 = []
24
+ let pricedata1 = []
25
+ let arrparams2 = []
26
+ let numdata2 = []
27
+ let gasdata2 = []
28
+ let pricedata2 = []
29
+ console.log('res.data', res.data)
30
+ console.log(res.data.name1)
31
+ arrparams1[0] = res.data.name1
32
+ numdata1[0] = res.data.num_value1
33
+ gasdata1[0] = res.data.gas_value1
34
+ pricedata1[0] = res.data.money_value1
35
+ arrparams2[0] = res.data.name2
36
+ numdata2[0] = res.data.num_value2
37
+ gasdata2[0] = res.data.gas_value2
38
+ pricedata2[0] = res.data.money_value2
39
+ self.set(arrparams1, numdata1, gasdata1, pricedata1, arrparams2, numdata2, gasdata2, pricedata2)
40
+ })
33
41
  }
34
42
  export default {
35
43
  props: {
@@ -44,150 +52,198 @@ export default {
44
52
  orgid: {
45
53
  type: String
46
54
  }
47
- },
48
- data () {
49
- title: '站点管理'
50
- return {
51
- texttile: '',
52
- xc: ''
53
- }
54
- },
55
- methods: {
56
- set (arrparams,numdata,gasdata,pricedata) {
57
- this.xc = echarts.init(document.getElementById('gph'))
58
- this.xc.setOption({
59
- title : {
60
- text: '民用及非民用缴费散列图',
61
- subtext: '数据查询来源',
62
- x: 'left'
63
- },
64
- tooltip : {
65
- trigger: 'axis',
66
- formatter: function (params) {
67
- var str = ''
68
- str += params[0].name + '</br>'
69
- for (var i = 0; i < params.length; i++) {
70
- if (i === 0) {
71
- str += params[i].marker + params[i].seriesName + ': ' + params[i].data + '笔' + '</br>'
72
- } else if (i === 1) {
73
- str += params[i].marker + params[i].seriesName + ': ' + params[i].data + 'm³' + '</br>'
74
- } else {
75
- str += params[i].marker + params[i].seriesName + ': ' + params[i].data + '元' + '</br>'
76
- }
77
- }
78
- return str
79
- }
80
- },
81
- legend: {
82
- x: 'left',
83
- y: 'bottom',
84
- data: ['数量','气量','金额']
85
- },
86
- toolbox: {
87
- show : true,
88
- feature : {
89
- dataView : {show: true, readOnly: false},
90
- magicType : {show: true, type: ['line', 'bar']},
91
- restore : {show: true},
92
- saveAsImage : {show: true}
93
- }
94
- },
95
- calculable : true,
96
- xAxis : [
97
- {
98
- type : 'category',
99
- data : arrparams
100
- }
101
- ],
102
- yAxis : [
103
- {
104
- type : 'value'
105
- }
106
- ],
107
- series : [
108
- {
109
- name:'数量',
110
- type:'bar',
111
- data:numdata,
112
- barMinHeight: 5,
113
- itemStyle: {
114
- normal: {
115
- color: function (params) {
116
- // 给出颜色组
117
- var colorList = ['#FE8463', '#9BCA63', '#FAD860', '#F3A43B',
118
- '#60C0DD', '#F4E001', '#F0805A']
119
- return colorList[params.dataIndex]
120
- }
55
+ },
56
+ data () {
57
+ title: '站点管理'
58
+ return {
59
+ texttile: '',
60
+ xc: ''
61
+ }
62
+ },
63
+ methods: {
64
+ set (arrparams1, numdata1, gasdata1, pricedata1, arrparams2, numdata2, gasdata2, pricedata2) {
65
+ this.xc = echarts.init(document.getElementById('gph'))
66
+ this.xc.setOption({
67
+ title: {
68
+ text: '民用及非民用缴费散列图',
69
+ subtext: '数据查询来源',
70
+ x: 'left'
71
+ },
72
+ tooltip: {
73
+ trigger: 'item',
74
+ formatter: function (params) {
75
+ let str = ''
76
+ console.log(JSON.stringify(params) + '-----------')
77
+ if (params.seriesName.includes('气量')) {
78
+ str += params.seriesName + ': ' + params.value + 'm³'
79
+ } else if (params.seriesName.includes('数量')) {
80
+ str += params.seriesName + ': ' + params.value + '笔'
81
+ } else {
82
+ str += params.seriesName + ': ' + params.value + '元'
121
83
  }
122
- },
123
- markLine : {
124
- data : [
125
- {type : 'average', name: '平均值'}
126
- ]
84
+ return str
85
+ }
86
+ },
87
+ legend: {
88
+ x: 'left',
89
+ y: 'bottom',
90
+ data: ['民用数量', '民用气量', '民用金额', '非民用数量', '非民用气量', '非民用金额']
91
+ },
92
+ toolbox: {
93
+ show: true,
94
+ feature: {
95
+ dataView: {show: true, readOnly: false},
96
+ magicType: {show: true, type: ['line', 'bar']},
97
+ restore: {show: true},
98
+ saveAsImage: {show: true}
127
99
  }
128
100
  },
129
- {
130
- name:'气量',
131
- type:'bar',
132
- data:gasdata,
133
- itemStyle: {
134
- normal: {
135
- color: function (params) {
136
- // 给出颜色组
137
- var colorList = ['#AF9E22', '#45AC89', '#C2DF99',
138
- '#183467', '#26C0C0']
139
- return colorList[params.dataIndex]
101
+ calculable: true,
102
+ xAxis: [
103
+ {
104
+ type: 'category',
105
+ data: ['数据']
106
+ }
107
+ ],
108
+ yAxis: [
109
+ {
110
+ type: 'value'
111
+ }
112
+ ],
113
+ series: [
114
+ {
115
+ name: '民用数量',
116
+ type: 'bar',
117
+ data: numdata1,
118
+ barMinHeight: 5,
119
+ itemStyle: {
120
+ normal: {
121
+ color: function (params) {
122
+ // 给出颜色组
123
+ var colorList = ['#FE8463']
124
+ return colorList[params.dataIndex]
125
+ }
140
126
  }
127
+ },
128
+ markLine: {
129
+ data: [
130
+ {type: 'average', name: '平均值'}
131
+ ]
141
132
  }
142
133
  },
143
- markLine : {
144
- data : [
145
- {type : 'average', name: '平均值'}
146
- ]
147
- }
148
- },
149
- {
150
- name:'金额',
151
- type:'bar',
152
- data:pricedata,
153
- itemStyle: {
154
- normal: {
155
- color: function (params) {
156
- // 给出颜色组
157
- var colorList = ['#C1232B', '#B5C334', '#FCCE10', '#E87C25',
158
- '#27727B', '#D7504B', '#C6E579']
159
- return colorList[params.dataIndex]
134
+ {
135
+ name: '民用气量',
136
+ type: 'bar',
137
+ data: gasdata1,
138
+ itemStyle: {
139
+ normal: {
140
+ color: function (params) {
141
+ // 给出颜色组
142
+ var colorList = ['#45AC89']
143
+ return colorList[params.dataIndex]
144
+ }
145
+ }
146
+ },
147
+ markLine: {
148
+ data: [
149
+ {type: 'average', name: '平均值'}
150
+ ]
151
+ }
152
+ },
153
+ {
154
+ name: '民用金额',
155
+ type: 'bar',
156
+ data: pricedata1,
157
+ itemStyle: {
158
+ normal: {
159
+ color: function (params) {
160
+ // 给出颜色组
161
+ var colorList = ['#183467']
162
+ return colorList[params.dataIndex]
163
+ }
164
+ }
165
+ }
166
+ },
167
+ {
168
+ name: '非民用数量',
169
+ type: 'bar',
170
+ data: numdata2,
171
+ barMinHeight: 5,
172
+ itemStyle: {
173
+ normal: {
174
+ color: function (params) {
175
+ // 给出颜色组
176
+ var colorList = ['#9BCA63']
177
+ return colorList[params.dataIndex]
178
+ }
179
+ }
180
+ },
181
+ markLine: {
182
+ data: [
183
+ {type: 'average', name: '平均值'}
184
+ ]
185
+ }
186
+ },
187
+ {
188
+ name: '非民用气量',
189
+ type: 'bar',
190
+ data: gasdata2,
191
+ itemStyle: {
192
+ normal: {
193
+ color: function (params) {
194
+ // 给出颜色组
195
+ var colorList = ['#26C0C0']
196
+ return colorList[params.dataIndex]
197
+ }
160
198
  }
199
+ },
200
+ markLine: {
201
+ data: [
202
+ {type: 'average', name: '平均值'}
203
+ ]
161
204
  }
162
205
  },
163
- markLine : {
164
- data : [
165
- {type : 'average', name : '平均值'}
166
- ]
206
+ {
207
+ name: '非民用金额',
208
+ type: 'bar',
209
+ data: pricedata2,
210
+ itemStyle: {
211
+ normal: {
212
+ color: function (params) {
213
+ // 给出颜色组
214
+ var colorList = ['#27727B']
215
+ return colorList[params.dataIndex]
216
+ }
217
+ }
218
+ },
219
+ markLine: {
220
+ data: [
221
+ {type: 'average', name: '平均值'}
222
+ ]
223
+ }
167
224
  }
168
- }
169
- ]
170
- })
171
- },
172
- searchdata () {
173
- let getGen =getData(this)
174
- co(getGen)
175
- }
176
- },
177
- ready () {
178
- this.searchdata()
179
- },
180
- watch: {
181
- 'startdate' (val) {
182
- this.searchdata()
183
- },
184
- 'enddate' (val) {
185
- this.searchdata()
186
- },
187
- 'orgid' (val) {
188
- this.searchdata()
189
- }
190
- }
225
+ ]
226
+ })
227
+ },
228
+ searchdata () {
229
+ let getGen = getData(this)
230
+ co(getGen)
231
+ }
232
+ },
233
+ ready () {
234
+ this.searchdata()
235
+ },
236
+ watch: {
237
+ 'startdate' (val) {
238
+ this.searchdata()
239
+ },
240
+ 'enddate' (val) {
241
+ this.searchdata()
242
+ },
243
+ 'orgid' (val) {
244
+ this.searchdata()
245
+ }
246
+ }
191
247
 
192
248
  }
193
249
  </script>
@@ -911,7 +911,7 @@
911
911
  f_stair2amount:0,
912
912
  f_stair2fee:0,
913
913
  f_stair3amount:0,
914
- f_stair3fee:0,
914
+ f_stair3fee:0
915
915
  }),
916
916
  criteriaShow: false,
917
917
  orgCondtionStr: '',