manage-client 3.3.120 → 3.3.121-cs

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 (27) hide show
  1. package/build/dev-server.js +189 -189
  2. package/package.json +111 -111
  3. package/src/components/SellReport/OpenEticketSummary.vue +245 -0
  4. package/src/components/SellReport/PublicGasPriceReport.vue +257 -0
  5. package/src/components/handReport/WebGastypeReport.vue +5 -5
  6. package/src/components/sale/businessquery/ChargeQuery.vue +7 -3
  7. package/src/components/sale/businessquery/FMYGasQuery.vue +32 -25
  8. package/src/components/sale/filesquery/RecordInfoQuery.vue +4 -4
  9. package/src/filiale/WEINAN/ResSelectGroupNew.vue +8 -1
  10. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +1 -0
  11. package/src/filiale/lixianV3/ChangeMeterQuery.vue +735 -729
  12. package/src/filiale/lixianV3/GasAnalysisQuery.vue +12 -6
  13. package/src/filiale/lixianV3/RecordInfoQuery.vue +1448 -0
  14. package/src/filiale/lixianV3/config/exportConfig.js +2276 -2275
  15. package/src/filiale/lixianV3/sale.js +21 -19
  16. package/src/filiale/lixianV3/useGasYearRatioQuery.vue +39 -6
  17. package/src/filiale/ningjin/GasStatistics.vue +1 -1
  18. package/src/filiale/shanxian/Paymentpie.vue +16 -34
  19. package/src/filiale/shanxian/SiteManager.vue +29 -47
  20. package/src/filiale/taizhoukesi/NewGasStatistics.vue +536 -0
  21. package/src/filiale/taizhoukesi/config/DefaultPrint.js +6 -0
  22. package/src/filiale/taizhoukesi/config/exportConfig.js +2377 -0
  23. package/src/filiale/taizhoukesi/config/tableConfig.js +54 -0
  24. package/src/filiale/taizhoukesi/sale.js +6 -0
  25. package/src/filiale/taizhoukesi/webmeterManage.js +6 -0
  26. package/src/main.js +68 -68
  27. package/src/reportManage.js +8 -0
@@ -1,19 +1,21 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from 'vue'
3
-
4
- export default function () {
5
- // 气量年比
6
- Vue.component('use-gas-year-ratio', (resolve) => { require(['./useGasYearRatioQuery'], resolve) })
7
- // 发票查询
8
- Vue.component('invoice-details-query', (resolve) => { require(['./InvoiceDetailsQuery.vue'], resolve) })
9
- // 业务查询
10
- Vue.component('business-manage', (resolve) => {require(['./BusinessManage'], resolve)})
11
- // 换表查询
12
- Vue.component('change-meter-query', (resolve) => {
13
- require(['./ChangeMeterQuery'], resolve)
14
- })
15
- // 用气分析
16
- Vue.component('gas-analysis-query', (resolve) => { require(['./GasAnalysisQuery'], resolve) })
17
- // 用户缴费抄表查询
18
- Vue.component('manage-payment-query', (resolve) => { require(['./paymentQuery'], resolve) })
19
- }
1
+ // 分公司特殊组件页面注册
2
+ import Vue from 'vue'
3
+
4
+ export default function () {
5
+ // 气量年比
6
+ Vue.component('use-gas-year-ratio', (resolve) => { require(['./useGasYearRatioQuery'], resolve) })
7
+ // 发票查询
8
+ Vue.component('invoice-details-query', (resolve) => { require(['./InvoiceDetailsQuery.vue'], resolve) })
9
+ // 业务查询
10
+ Vue.component('business-manage', (resolve) => { require(['./BusinessManage'], resolve)})
11
+ // 换表查询
12
+ Vue.component('change-meter-query', (resolve) => {
13
+ require(['./ChangeMeterQuery'], resolve)
14
+ })
15
+ // 用气分析
16
+ Vue.component('gas-analysis-query', (resolve) => { require(['./GasAnalysisQuery'], resolve) })
17
+ // 用户缴费抄表查询
18
+ Vue.component('manage-payment-query', (resolve) => { require(['./paymentQuery'], resolve) })
19
+ // 综合档案信息查询
20
+ Vue.component('record-info-query', (resolve) => { require(['./RecordInfoQuery'], resolve) })
21
+ }
@@ -137,7 +137,7 @@
137
137
  :value.sync="model.startDate"
138
138
  :format="'yyyy-MM-dd'"
139
139
  :show-reset-button="true"
140
- condition="f_createfile_date >= '{} 00:00:00'">
140
+ condition="f_gas_date >= '{} 00:00:00'">
141
141
  </datepicker>
142
142
  </div>
143
143
  <div class="col-sm-2 form-group" >
@@ -147,9 +147,27 @@
147
147
  :value.sync="model.endDate"
148
148
  :format="'yyyy-MM-dd'"
149
149
  :show-reset-button="true"
150
- condition="f_createfile_date <= '{} 23:59:59'">
150
+ condition="f_gas_date <= '{} 23:59:59'">
151
151
  </datepicker>
152
152
  </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body">气量百分比</label>
155
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
156
+ v-model="model.f_gasprec_small"
157
+ condition="f_gasprec >= '{}' " placeholder="大于等于">
158
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
159
+ v-model="model.f_gasprec_big"
160
+ condition="f_gasprec <= '{}' " placeholder="小于等于">
161
+ </div>
162
+ <div class="col-sm-2 form-group">
163
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;增量&nbsp;&nbsp;&nbsp;&nbsp;</label>
164
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
165
+ v-model="model.f_gasdiff_small"
166
+ condition="f_gasdiff >= '{}' " placeholder="大于等于">
167
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
168
+ v-model="model.f_gasdiff_big"
169
+ condition="f_gasdiff <= '{}' " placeholder="小于等于">
170
+ </div>
153
171
  </div>
154
172
  </div>
155
173
  </criteria>
@@ -157,7 +175,7 @@
157
175
  <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
158
176
  <template partial='head'>
159
177
  <tr>
160
- <th colspan="11" style="text-align: center;"><nobr>用户信息</nobr></th>
178
+ <th colspan="13" style="text-align: center;"><nobr>用户信息</nobr></th>
161
179
  <th colspan="13" style="text-align: center;"><nobr>查询年份</nobr></th>
162
180
  <th colspan="13" style="text-align: center;"><nobr>对比年份</nobr></th>
163
181
  </tr>
@@ -195,6 +213,12 @@
195
213
  <th style="text-align: center;">
196
214
  <nobr>抄表册</nobr>
197
215
  </th>
216
+ <th style="text-align: center;">
217
+ <nobr>增量</nobr>
218
+ </th>
219
+ <th style="text-align: center;">
220
+ <nobr>百分比</nobr>
221
+ </th>
198
222
  <th style="text-align: center;">
199
223
  <nobr>一月</nobr>
200
224
  </th>
@@ -289,6 +313,8 @@
289
313
  <td style="text-align: center;">{{ row.f_meternumber }}</td>
290
314
  <td style="text-align: center;">{{ row.f_inputtor }}</td>
291
315
  <td style="text-align: center;">{{ row.f_book_name }}</td>
316
+ <td style="text-align: center;">{{ row.f_gasdiff }}</td>
317
+ <td style="text-align: center;">{{ row.f_gasprec }}%</td>
292
318
  <td style="text-align: center;">{{ row.jan }}</td>
293
319
  <td style="text-align: center;">{{ row.feb }}</td>
294
320
  <td style="text-align: center;">{{ row.mar }}</td>
@@ -332,6 +358,11 @@ import exportConfig from './config/exportConfig'
332
358
  let readySomething = async function (self) {
333
359
  await self.$MagLoadParams.loadParam()
334
360
  self.initParams()
361
+ //获取新的抄表册,先去清理所有的抄表册
362
+ self.$GetSaleParam.meterbooks = [];
363
+ //开始加载新的抄表册
364
+ await self.$LoadParams.loadMeterBook(self.f_filialeid)
365
+ self.initmeterbook()
335
366
  }
336
367
  export default {
337
368
  props: ['data'],
@@ -350,6 +381,7 @@ export default {
350
381
  org: [this.$login.f.orgid]
351
382
  },
352
383
  meterbrands: [],
384
+ meterbooks:[],
353
385
  gasproperties:[],
354
386
  inputtores: [{label: '全部',value: ''}],
355
387
  criteriaShow: false,
@@ -381,6 +413,9 @@ export default {
381
413
  })
382
414
  },
383
415
  methods: {
416
+ async initmeterbook(){
417
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
418
+ },
384
419
  async downloadFiles() {
385
420
  if (this.getCondition) {
386
421
  let data = {
@@ -504,9 +539,7 @@ export default {
504
539
  meterStyle () {
505
540
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('燃气表型号')]
506
541
  },
507
- meterbooks(){
508
- return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
509
- },
542
+
510
543
 
511
544
 
512
545
  }
@@ -24,7 +24,7 @@
24
24
  <div class="col-sm-2">
25
25
  <label class="font_normal_body">客户名称</label>
26
26
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
27
- condition="ss.f_user_name = '{}'" v-next-el='userid' v-el:username>
27
+ condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
28
28
  </div>
29
29
  <div class="col-sm-2">
30
30
  <label class="font_normal_body">客户地址</label>
@@ -14,35 +14,20 @@ import {HttpResetClass} from 'vue-client'
14
14
  let getData = function* (self) {
15
15
  let load = new HttpResetClass()
16
16
  load.load('POST', 'rs/sql/sellinggasvalue',
17
- {data: {startDate: self.startdate, endDate: self.enddate, key: 'f_user_nature', f_orgid: self.orgid}},
17
+ {data: {startDate: self.startdate, endDate: self.enddate, key: 'f_gasproperties', f_orgid: self.orgid}},
18
18
  {resolveMsg: null, rejectMsg: null})
19
19
  .then((res) => {
20
- let arrparams1 = ''
21
- let moneydata1 = ''
22
- let arrparams2 = ''
23
- let moneydata2 = null
24
- let arrparams3 = null
25
- let moneydata3 = null
26
- let color1 = null
27
- let color2 = null
28
- let color3 = null
20
+ let arrparams = []
21
+ let gasdata = []
29
22
  for (var i = 0; i < res.data.length; i++) {
30
- if (res.data[i].name == '民用') {
31
- arrparams1 = res.data[i].name
32
- moneydata1 = res.data[i].money_value
33
- color1 = res.data[i].color
34
- } else if (res.data[i].name == '工业') {
35
- arrparams2 = res.data[i].name
36
- moneydata2 = res.data[i].money_value
37
- color2 = res.data[i].color
38
- } else if (res.data[i].name == '商业') {
39
- arrparams3 = res.data[i].name
40
- moneydata3 = res.data[i].money_value
41
- color3 = res.data[i].color
42
- }
23
+ let item = {}
24
+ arrparams[i] = res.data[i].name
25
+ item.name = res.data[i].name
26
+ item.value = res.data[i].money_value
27
+ gasdata.push(item)
43
28
  }
44
29
  console.log('加载echars组件')
45
- self.setGas(arrparams1, moneydata1, arrparams2, moneydata2, arrparams3, moneydata3, color1, color2, color3)
30
+ self.setGas(arrparams, gasdata)
46
31
  })
47
32
  let load1 = new HttpResetClass()
48
33
  load1.load('POST', 'rs/sql/sellinggasvalueroute',
@@ -56,9 +41,6 @@ let getData = function* (self) {
56
41
  arrparams[i] = res.data[i].name
57
42
  item1.name = res.data[i].name
58
43
  item1.value = res.data[i].money_value
59
- item1.itemStyle = {
60
- color: res.data[i].color
61
- }
62
44
  moneydata.push(item1)
63
45
  }
64
46
  console.log('加载echars组件')
@@ -87,9 +69,13 @@ export default {
87
69
  },
88
70
  methods: {
89
71
 
90
- setGas (arrparams1, moneydata1, arrparams2, moneydata2, arrparams3, moneydata3, color1, color2, color3) {
72
+ setGas (arrparams, gasdata) {
91
73
  console.log('进入组件')
92
74
  let option1 = {
75
+ color: ['#ed7d31', '#FFE400',
76
+ '#ff0000', '#00b050',
77
+ '#5b9bd5', '#7030a0',
78
+ '#165DFF'],
93
79
  title: [
94
80
  {
95
81
  text: '售气金额饼状图',
@@ -122,7 +108,7 @@ export default {
122
108
  padding: [0, 0, 0, 4],
123
109
  color: '#010606'
124
110
  },
125
- data: [arrparams1, arrparams2, arrparams3]
111
+ data: arrparams
126
112
  },
127
113
  series: [
128
114
  {
@@ -135,11 +121,7 @@ export default {
135
121
  startAngle: 60, // 起始角度
136
122
  label: {normal: {show: true}},
137
123
  labelLine: {normal: {show: true}},
138
- data: [
139
- {value: moneydata1, name: arrparams1, itemStyle: {color: color1}},
140
- {value: moneydata2, name: arrparams2, itemStyle: {color: color2}},
141
- {value: moneydata3, name: arrparams3, itemStyle: {color: color3}}
142
- ]
124
+ data: gasdata
143
125
  }
144
126
  ]
145
127
 
@@ -14,42 +14,26 @@ import {HttpResetClass} from 'vue-client'
14
14
  let getData = function* (self) {
15
15
  let load = new HttpResetClass()
16
16
  load.load('POST', 'rs/sql/sellinggasvalue',
17
- {data: {startDate: self.startdate, endDate: self.enddate, key: 'f_user_nature', f_orgid: self.orgid}},
17
+ {data: {startDate: self.startdate, endDate: self.enddate, key: 'f_gasproperties', f_orgid: self.orgid}},
18
18
  {resolveMsg: null, rejectMsg: null})
19
19
  .then((res) => {
20
- let arrparams1 = ''
21
- let gasdata1 = null
22
- let numdata1 = null
23
- let arrparams2 = ''
24
- let gasdata2 = null
25
- let numdata2 = null
26
- let arrparams3 = ''
27
- let gasdata3 = null
28
- let numdata3 = null
29
- let color1 = null
30
- let color2 = null
31
- let color3 = null
20
+ let arrparams = []
21
+ let gasdata = []
22
+ let numdata = []
32
23
  for (var i = 0; i < res.data.length; i++) {
33
- if (res.data[i].name == '民用') {
34
- arrparams1 = res.data[i].name
35
- numdata1 = res.data[i].num_value
36
- gasdata1 = res.data[i].gas_value
37
- color1 = res.data[i].color
38
- } else if (res.data[i].name == '工业') {
39
- arrparams2 = res.data[i].name
40
- numdata2 = res.data[i].num_value
41
- gasdata2 = res.data[i].gas_value
42
- color2 = res.data[i].color
43
- } else if (res.data[i].name == '商业') {
44
- arrparams3 = res.data[i].name
45
- numdata3 = res.data[i].num_value
46
- gasdata3 = res.data[i].gas_value
47
- color3 = res.data[i].color
48
- }
24
+ let item = {}
25
+ let item2 = {}
26
+ arrparams[i] = res.data[i].name
27
+ item.name = res.data[i].name
28
+ item.value = res.data[i].gas_value
29
+ item2.name = res.data[i].name
30
+ item2.value = res.data[i].num_value
31
+ gasdata.push(item)
32
+ numdata.push(item2)
49
33
  }
50
34
  console.log('加载echars组件')
51
- self.setGas(arrparams1, gasdata1, arrparams2, gasdata2, arrparams3, gasdata3, color1, color2, color3)
52
- self.setNum(arrparams1, numdata1, arrparams2, numdata2, arrparams3, numdata3, color1, color2, color3)
35
+ self.setNum(arrparams, numdata)
36
+ self.setGas(arrparams, gasdata)
53
37
  })
54
38
  }
55
39
  export default {
@@ -74,10 +58,13 @@ export default {
74
58
  },
75
59
  methods: {
76
60
 
77
- setNum (arrparams1, numdata1, arrparams2, numdata2, arrparams3, numdata3, color1, color2, color3) {
61
+ setNum (arrparams, gasdata) {
78
62
  console.log('进入组件')
79
63
  let option1 = {
80
- color: ['#00b050', '#ed7d31', '#5b9bd5'],
64
+ color: ['#ed7d31', '#FFE400',
65
+ '#ff0000', '#00b050',
66
+ '#5b9bd5', '#7030a0',
67
+ '#165DFF'],
81
68
  title: [
82
69
  {
83
70
  text: '销售气量饼状图',
@@ -110,7 +97,7 @@ export default {
110
97
  padding: [0, 0, 0, 4],
111
98
  color: '#010606'
112
99
  },
113
- data: [arrparams1, arrparams2, arrparams3]
100
+ data: arrparams
114
101
  },
115
102
  series: [
116
103
  {
@@ -123,11 +110,7 @@ export default {
123
110
  startAngle: 60, // 起始角度
124
111
  label: {normal: {show: true}},
125
112
  labelLine: {normal: {show: true}},
126
- data: [
127
- {value: numdata1, name: arrparams1, itemStyle: {color: color1}},
128
- {value: numdata2, name: arrparams2, itemStyle: {color: color2}},
129
- {value: numdata3, name: arrparams3, itemStyle: {color: color3}}
130
- ],
113
+ data: gasdata,
131
114
  percentPrecision: 4
132
115
  }
133
116
  ]
@@ -136,10 +119,13 @@ export default {
136
119
  this.xd = echarts.init(document.getElementById('num'))
137
120
  this.xd.setOption(option1, true)
138
121
  },
139
- setGas (arrparams1, gasdata1, arrparams2, gasdata2, arrparams3, gasdata3, color1, color2, color3) {
122
+ setGas (arrparams, moneydata) {
140
123
  console.log('进入组件')
141
124
  let option = {
142
- color: ['#7dabbf', '#9ac57d', '#cfcbbf'],
125
+ color: ['#ed7d31', '#FFE400',
126
+ '#ff0000', '#00b050',
127
+ '#5b9bd5', '#7030a0',
128
+ '#165DFF'],
143
129
  title: [
144
130
  {
145
131
  text: '',
@@ -172,7 +158,7 @@ export default {
172
158
  padding: [0, 0, 0, 4],
173
159
  color: '#010606'
174
160
  },
175
- data: [arrparams1, arrparams2, arrparams3]
161
+ data: arrparams
176
162
  },
177
163
  series: [
178
164
  {
@@ -185,11 +171,7 @@ export default {
185
171
  startAngle: 60, // 起始角度
186
172
  label: {normal: {show: true}},
187
173
  labelLine: {normal: {show: true}},
188
- data: [
189
- {value: gasdata1, name: arrparams1, itemStyle: {color: color1}},
190
- {value: gasdata2, name: arrparams2, itemStyle: {color: color2}},
191
- {value: gasdata3, name: arrparams3, itemStyle: {color: color3}}
192
- ],
174
+ data: moneydata,
193
175
  percentPrecision: 4
194
176
  }
195
177
  ]