manage-client 3.2.4 → 3.2.8

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 (91) hide show
  1. package/build/dev-server.js +5 -3
  2. package/package.json +1 -1
  3. package/src/components/BasisEcharts/BarChart.vue +247 -247
  4. package/src/components/SellReport/AmountGas.vue +3 -3
  5. package/src/components/SellReport/BonSummary.vue +3 -3
  6. package/src/components/SellReport/BusinessMoneyReport.vue +1 -1
  7. package/src/components/SellReport/BusinessReport.vue +3 -3
  8. package/src/components/SellReport/ChSellReport.vue +3 -3
  9. package/src/components/SellReport/ChargeBill.vue +3 -3
  10. package/src/components/SellReport/ChargeDayTable.vue +3 -3
  11. package/src/components/SellReport/ChargeMonthTable.vue +3 -3
  12. package/src/components/SellReport/ChargeYearTable.vue +3 -3
  13. package/src/components/SellReport/DeptHomePage.vue +2 -2
  14. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  15. package/src/components/SellReport/GasMeterBrand.vue +1 -1
  16. package/src/components/SellReport/GasPriceGroup.vue +1 -1
  17. package/src/components/SellReport/GasSummary.vue +3 -3
  18. package/src/components/SellReport/Gasc.vue +3 -3
  19. package/src/components/SellReport/GetUserNum.vue +3 -3
  20. package/src/components/SellReport/HandplanBili.vue +3 -3
  21. package/src/components/SellReport/HandplanUserCount.vue +1 -1
  22. package/src/components/SellReport/ManageGasPrice.vue +3 -3
  23. package/src/components/SellReport/ManageGasSumChange.vue +3 -3
  24. package/src/components/SellReport/ManageGasSumChangeTwo.vue +2 -2
  25. package/src/components/SellReport/ManageGasSumOtherCharge.vue +3 -3
  26. package/src/components/SellReport/MeterPrice.vue +3 -3
  27. package/src/components/SellReport/MeterReader.vue +2 -2
  28. package/src/components/SellReport/NonResidentGas.vue +3 -3
  29. package/src/components/SellReport/OperatorSellReport.vue +1 -1
  30. package/src/components/SellReport/OutletTable.vue +3 -3
  31. package/src/components/SellReport/PaymentDistribute.vue +1 -1
  32. package/src/components/SellReport/PaymentMethod.vue +1 -1
  33. package/src/components/SellReport/QTXManageBusSummary.vue +3 -3
  34. package/src/components/SellReport/SellDepReport.vue +3 -3
  35. package/src/components/SellReport/SellingTable.vue +220 -220
  36. package/src/components/SellReport/UserGasFillCard.vue +2 -2
  37. package/src/components/SellReport/UserSellingGas.vue +3 -3
  38. package/src/components/SellReport/WeiNanYuShou.vue +4 -4
  39. package/src/components/SellReport/YuShouTable.vue +1 -1
  40. package/src/components/SellReport/chargeSchedule.vue +2 -2
  41. package/src/components/SellReport/pengan/ManageBusPeng.vue +3 -3
  42. package/src/components/SellReport/userholds.vue +3 -3
  43. package/src/components/daping/GMap.vue +636 -636
  44. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  45. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  46. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  47. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  48. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  49. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  50. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  51. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  52. package/src/components/sale/config/exportConfig.js +885 -885
  53. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  54. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  55. package/src/components/webmeter/DrillData/UserGasAll.vue +6 -7
  56. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  57. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  58. package/src/components/webmeter/instruction/NewQueryInstruct.vue +9 -11
  59. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  60. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -283
  61. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  62. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  63. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  64. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  65. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  66. package/src/components/webmeter/report/ReportList.vue +14 -13
  67. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  68. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  69. package/src/filiale/WEINAN/config/tableConfig.js +2 -0
  70. package/src/filiale/WEINAN/reportManage.js +12 -12
  71. package/src/filiale/alashan/reportManage.js +10 -10
  72. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  73. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  74. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  75. package/src/filiale/meihekou/sale.js +26 -26
  76. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  77. package/src/filiale/rongchuang/reportManage.js +11 -11
  78. package/src/filiale/shaoguan/RecordInfoQuery.vue +87 -79
  79. package/src/filiale/tongchuan/CriteriaPaged.vue +49 -0
  80. package/src/filiale/tongchuan/ReportList.vue +472 -472
  81. package/src/filiale/tongchuan/config/exportConfig.js +1 -1
  82. package/src/filiale/tongchuan/sale.js +4 -1
  83. package/src/main.js +66 -66
  84. package/static/wuhai.json +1610 -1610
  85. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  86. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  87. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  88. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  89. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  90. package/.gradle/5.2.1/gc.properties +0 -0
  91. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -1,266 +1,266 @@
1
- <template lang="html">
2
- <div class="basic-main" style="height: 98%;">
3
- <div class="row" style="height: 40px;width: 100%;" v-show="echarts">
4
- <div class="col-sm-2" style="display: inline-block;">
5
- <button @click="$parent.notShowEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
- </div>
7
- <!--图显示模板-->
8
- <div class="row col-sm-3 mystyle" style="display: inline-block;">
9
- <label class="font_normal_body">图表统计项</label>
10
- <v-select :options='$parent.getgroupname' :value.sync="groupname"
11
- close-on-select
12
- id="groupname"
13
- placeholder='分组项'
14
- v-model="groupname"
15
- value-single="true"></v-select>
16
- </div>
17
- </div>
18
- <div id="charts" style=" height: 98%;width: 98%;padding: 1% 1%;">
19
- <div id="signInfo"></div>
20
- </div>
21
- </div>
22
- </template>
23
-
24
- <script>
25
- import * as Util from '../../../Util'
26
- import co from 'co'
27
- import echarts from 'echarts'
28
- import {HttpResetClass} from 'vue-client'
29
-
30
- let getData = function* (self, condition) {
31
- let load = new HttpResetClass()
32
- console.log("con:" + self.groupname)
33
- load.load('POST', 'rs/sql/selectSignAnalysis',
34
- {
35
- data: {
36
- condition: condition, groupname: self.groupname[0], startDate: self.startdate,
37
- endDate: self.enddate
38
- }
39
- },
40
- {resolveMsg: null, rejectMsg: null})
41
- .then((res) => {
42
- let arrparams = []
43
- // let gasdata = []
44
- let gettip = []
45
- for (var i = 0; i < res.data.length; i++) {
46
- arrparams[i] = res.data[i].f_parameter_date
47
- gettip[i] = res.data[i].f_parameter_name
48
- }
49
- console.log("res" + res.data)
50
- gettip = uniqueArray(gettip);
51
- arrparams = uniqueArray(arrparams);
52
- self.set(arrparams, res.data, gettip)
53
- console.log("tip", gettip)
54
- })
55
- }
56
-
57
- function selectArray(res, str) {
58
- let j = 0;
59
- let sum = 0;
60
- let data = []
61
- //上一轮是否在data中添加成功
62
- let mark = false
63
- for (let i = 0; i < res.length; i++) {
64
- if (i != 0) {
65
- if (res[i].f_parameter_date == res[i - 1].f_parameter_date) {
66
- if (res[i].f_parameter_name == str) {
67
- data[j] = res[i].s
68
- mark = true;
69
- j++;
70
- }
71
- } else {
72
- if (!mark) {
73
- data[j] = 0;
74
- j++;
75
- mark = true
76
- }
77
- if (res[i].f_parameter_name == str) {
78
- data[j] = res[i].s
79
- mark = true;
80
- j++;
81
- } else {
82
- mark = false;
83
- }
84
- }
85
- } else {
86
- if (res[i].f_parameter_name == str) {
87
- data[j] = res[i].s
88
- mark = true;
89
- j++;
90
- } else {
91
- mark = false;
92
- }
93
- }
94
- if (i == res.length - 1 && !mark) {
95
- data[j] = 0;
96
- }
97
- }
98
- console.log("我" + data)
99
- return data;
100
- }
101
-
102
- function uniqueArray(data) {
103
- data = data || [];
104
- var a = {};
105
- for (var i = 0; i < data.length; i++) {
106
- var v = data[i];
107
- if (typeof (a[v]) == 'undefined') {
108
- a[v] = 1;
109
- }
110
- }
111
- data.length = 0;
112
- for (var i in a) {
113
- data[data.length] = i;
114
- }
115
- console.log("data" + data)
116
- return data;
117
- }
118
-
119
- export default {
120
- props: {
121
- echarts: {
122
- type: Boolean,
123
- default:false
124
- },
125
- startdate: {
126
- type: String,
127
- default: Util.toStandardDateString()
128
- },
129
- enddate: {
130
- type: String,
131
- default: Util.toStandardDateString()
132
- },
133
- condition: {
134
- type: String,
135
- default: '1=1'
136
- }
137
- },
138
- data() {
139
- title: '业务类型'
140
- return {
141
- groupname: ['year'],
142
- getgroupname: [
143
- {label: '年份', value: 'year'},
144
- {label: '月份', value: 'month'},
145
- {label: '周', value: 'week'},
146
- {label: '日', value: 'day'}
147
- ],
148
- condition: '',
149
- xc: '',
150
- timer: 0,//定时器
151
- height: 0,
152
- width: 0
153
- }
154
- },
155
- ready(){
156
- console.log(this.groupname[0]+"==="+this.echarts)
157
- },
158
- methods: {
159
- set(arrparams, res, gettip) {
160
- let name = ''
161
- if (this.groupname[0] === 'year') {
162
- name = '年'
163
- } else if (this.groupname[0] === 'month') {
164
- name = '月'
165
- } else if (this.groupname[0] === 'week') {
166
- name = '周'
167
- } else {
168
- name = '日'
169
- }
170
- let series = [];
171
- for (let i = 0; i < gettip.length; i++) {
172
- series.push({
173
- name: gettip[i],
174
- type: 'bar',
175
- data: selectArray(res, gettip[i])
176
- });
177
- }
178
- this.xc = echarts.init(document.getElementById('signInfo'))
179
- this.xc.setOption({
180
- title: {
181
- text: '标记' + name + '分析图',
182
- 'left': 'center',
183
- 'y': '10',
184
- textStyle: {
185
- color: '#000',
186
- fontSize: 20
187
- }
188
- },
189
- 'tooltip': {
190
- 'trigger': 'axis',
191
- 'extraCssText': 'width: auto;height: auto;'
192
- },
193
- toolbox: {
194
- show: true,
195
- feature: {
196
- dataView: {show: true, readOnly: false},
197
- magicType: {show: true, type: ['line', 'bar']},
198
- restore: {show: true},
199
- saveAsImage: {show: true}
200
- }
201
- },
202
- calculable: true,
203
- legend: {
204
- x: 'left', //靠左
205
- data: gettip //这里要与下面的name对应
206
- },
207
- xAxis: [
208
- {
209
- name: '日期',
210
- nameTextStyle: {
211
- fontSize: 15
212
- },
213
- type: 'category',
214
- data: arrparams,
215
- axisLabel: {
216
- show: true,
217
- textStyle: {
218
- fontSize: 15
219
- }
220
- }
221
- }
222
- ],
223
- yAxis: [
224
- {
225
- 'type': 'value',
226
- name: '标记个数',
227
- nameTextStyle: {
228
- fontSize: 15
229
- },
230
- 'show': true,
231
- axisLabel: {
232
- show: true,
233
- textStyle: {
234
- fontSize: 15,
235
- 'color': '#7d8000'
236
- }
237
- }
238
- }
239
- ],
240
- series: series
241
- })
242
- },
243
- searchdata(condition) {
244
- console.log(this.groupname[0])
245
- let getGen = getData(this, condition)
246
- co(getGen)
247
- }
248
- },
249
- watch: {
250
- 'echarts'(val){
251
- this.searchdata(this.condition)
252
- },
253
- 'groupname'(val) {
254
- this.searchdata(this.condition)
255
- }
256
- }
257
- }
258
- </script>
259
-
260
- <style scoped>
261
- #signInfo {
262
- height: 98%;
263
- width: 98%;
264
- padding: 1% 1%;
265
- }
266
- </style>
1
+ <template lang="html">
2
+ <div class="basic-main" style="height: 98%;">
3
+ <div class="row" style="height: 40px;width: 100%;" v-show="echarts">
4
+ <div class="col-sm-2" style="display: inline-block;">
5
+ <button @click="$parent.notShowEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
+ </div>
7
+ <!--图显示模板-->
8
+ <div class="row col-sm-3 mystyle" style="display: inline-block;">
9
+ <label class="font_normal_body">图表统计项</label>
10
+ <v-select :options='$parent.getgroupname' :value.sync="groupname"
11
+ close-on-select
12
+ id="groupname"
13
+ placeholder='分组项'
14
+ v-model="groupname"
15
+ value-single="true"></v-select>
16
+ </div>
17
+ </div>
18
+ <div id="charts" style=" height: 98%;width: 98%;padding: 1% 1%;">
19
+ <div id="signInfo"></div>
20
+ </div>
21
+ </div>
22
+ </template>
23
+
24
+ <script>
25
+ import * as Util from '../../../Util'
26
+ import co from 'co'
27
+ import echarts from 'echarts'
28
+ import {HttpResetClass} from 'vue-client'
29
+
30
+ let getData = function* (self, condition) {
31
+ let load = new HttpResetClass()
32
+ console.log("con:" + self.groupname)
33
+ load.load('POST', 'rs/sql/selectSignAnalysis',
34
+ {
35
+ data: {
36
+ condition: condition, groupname: self.groupname[0], startDate: self.startdate,
37
+ endDate: self.enddate
38
+ }
39
+ },
40
+ {resolveMsg: null, rejectMsg: null})
41
+ .then((res) => {
42
+ let arrparams = []
43
+ // let gasdata = []
44
+ let gettip = []
45
+ for (var i = 0; i < res.data.length; i++) {
46
+ arrparams[i] = res.data[i].f_parameter_date
47
+ gettip[i] = res.data[i].f_parameter_name
48
+ }
49
+ console.log("res" + res.data)
50
+ gettip = uniqueArray(gettip);
51
+ arrparams = uniqueArray(arrparams);
52
+ self.set(arrparams, res.data, gettip)
53
+ console.log("tip", gettip)
54
+ })
55
+ }
56
+
57
+ function selectArray(res, str) {
58
+ let j = 0;
59
+ let sum = 0;
60
+ let data = []
61
+ //上一轮是否在data中添加成功
62
+ let mark = false
63
+ for (let i = 0; i < res.length; i++) {
64
+ if (i != 0) {
65
+ if (res[i].f_parameter_date == res[i - 1].f_parameter_date) {
66
+ if (res[i].f_parameter_name == str) {
67
+ data[j] = res[i].s
68
+ mark = true;
69
+ j++;
70
+ }
71
+ } else {
72
+ if (!mark) {
73
+ data[j] = 0;
74
+ j++;
75
+ mark = true
76
+ }
77
+ if (res[i].f_parameter_name == str) {
78
+ data[j] = res[i].s
79
+ mark = true;
80
+ j++;
81
+ } else {
82
+ mark = false;
83
+ }
84
+ }
85
+ } else {
86
+ if (res[i].f_parameter_name == str) {
87
+ data[j] = res[i].s
88
+ mark = true;
89
+ j++;
90
+ } else {
91
+ mark = false;
92
+ }
93
+ }
94
+ if (i == res.length - 1 && !mark) {
95
+ data[j] = 0;
96
+ }
97
+ }
98
+ console.log("我" + data)
99
+ return data;
100
+ }
101
+
102
+ function uniqueArray(data) {
103
+ data = data || [];
104
+ var a = {};
105
+ for (var i = 0; i < data.length; i++) {
106
+ var v = data[i];
107
+ if (typeof (a[v]) == 'undefined') {
108
+ a[v] = 1;
109
+ }
110
+ }
111
+ data.length = 0;
112
+ for (var i in a) {
113
+ data[data.length] = i;
114
+ }
115
+ console.log("data" + data)
116
+ return data;
117
+ }
118
+
119
+ export default {
120
+ props: {
121
+ echarts: {
122
+ type: Boolean,
123
+ default:false
124
+ },
125
+ startdate: {
126
+ type: String,
127
+ default: Util.toStandardDateString()
128
+ },
129
+ enddate: {
130
+ type: String,
131
+ default: Util.toStandardDateString()
132
+ },
133
+ condition: {
134
+ type: String,
135
+ default: '1=1'
136
+ }
137
+ },
138
+ data() {
139
+ title: '业务类型'
140
+ return {
141
+ groupname: ['year'],
142
+ getgroupname: [
143
+ {label: '年份', value: 'year'},
144
+ {label: '月份', value: 'month'},
145
+ {label: '周', value: 'week'},
146
+ {label: '日', value: 'day'}
147
+ ],
148
+ condition: '',
149
+ xc: '',
150
+ timer: 0,//定时器
151
+ height: 0,
152
+ width: 0
153
+ }
154
+ },
155
+ ready(){
156
+ console.log(this.groupname[0]+"==="+this.echarts)
157
+ },
158
+ methods: {
159
+ set(arrparams, res, gettip) {
160
+ let name = ''
161
+ if (this.groupname[0] === 'year') {
162
+ name = '年'
163
+ } else if (this.groupname[0] === 'month') {
164
+ name = '月'
165
+ } else if (this.groupname[0] === 'week') {
166
+ name = '周'
167
+ } else {
168
+ name = '日'
169
+ }
170
+ let series = [];
171
+ for (let i = 0; i < gettip.length; i++) {
172
+ series.push({
173
+ name: gettip[i],
174
+ type: 'bar',
175
+ data: selectArray(res, gettip[i])
176
+ });
177
+ }
178
+ this.xc = echarts.init(document.getElementById('signInfo'))
179
+ this.xc.setOption({
180
+ title: {
181
+ text: '标记' + name + '分析图',
182
+ 'left': 'center',
183
+ 'y': '10',
184
+ textStyle: {
185
+ color: '#000',
186
+ fontSize: 20
187
+ }
188
+ },
189
+ 'tooltip': {
190
+ 'trigger': 'axis',
191
+ 'extraCssText': 'width: auto;height: auto;'
192
+ },
193
+ toolbox: {
194
+ show: true,
195
+ feature: {
196
+ dataView: {show: true, readOnly: false},
197
+ magicType: {show: true, type: ['line', 'bar']},
198
+ restore: {show: true},
199
+ saveAsImage: {show: true}
200
+ }
201
+ },
202
+ calculable: true,
203
+ legend: {
204
+ x: 'left', //靠左
205
+ data: gettip //这里要与下面的name对应
206
+ },
207
+ xAxis: [
208
+ {
209
+ name: '日期',
210
+ nameTextStyle: {
211
+ fontSize: 15
212
+ },
213
+ type: 'category',
214
+ data: arrparams,
215
+ axisLabel: {
216
+ show: true,
217
+ textStyle: {
218
+ fontSize: 15
219
+ }
220
+ }
221
+ }
222
+ ],
223
+ yAxis: [
224
+ {
225
+ 'type': 'value',
226
+ name: '标记个数',
227
+ nameTextStyle: {
228
+ fontSize: 15
229
+ },
230
+ 'show': true,
231
+ axisLabel: {
232
+ show: true,
233
+ textStyle: {
234
+ fontSize: 15,
235
+ 'color': '#7d8000'
236
+ }
237
+ }
238
+ }
239
+ ],
240
+ series: series
241
+ })
242
+ },
243
+ searchdata(condition) {
244
+ console.log(this.groupname[0])
245
+ let getGen = getData(this, condition)
246
+ co(getGen)
247
+ }
248
+ },
249
+ watch: {
250
+ 'echarts'(val){
251
+ this.searchdata(this.condition)
252
+ },
253
+ 'groupname'(val) {
254
+ this.searchdata(this.condition)
255
+ }
256
+ }
257
+ }
258
+ </script>
259
+
260
+ <style scoped>
261
+ #signInfo {
262
+ height: 98%;
263
+ width: 98%;
264
+ padding: 1% 1%;
265
+ }
266
+ </style>