manage-client 3.2.7 → 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 (40) hide show
  1. package/build/dev-server.js +176 -174
  2. package/package.json +1 -1
  3. package/src/components/BasisEcharts/BarChart.vue +247 -247
  4. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  5. package/src/components/SellReport/SellingTable.vue +220 -220
  6. package/src/components/daping/GMap.vue +636 -636
  7. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  8. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  9. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  10. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  11. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  12. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  13. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  14. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  15. package/src/components/sale/config/exportConfig.js +885 -885
  16. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  17. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  18. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  19. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  20. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  21. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -283
  22. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  23. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  24. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  25. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  26. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  27. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  28. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  29. package/src/filiale/WEINAN/reportManage.js +12 -12
  30. package/src/filiale/alashan/reportManage.js +10 -10
  31. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  32. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  33. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  34. package/src/filiale/meihekou/sale.js +26 -26
  35. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  36. package/src/filiale/rongchuang/reportManage.js +11 -11
  37. package/src/filiale/tongchuan/CriteriaPaged.vue +49 -0
  38. package/src/filiale/tongchuan/sale.js +19 -16
  39. package/src/main.js +66 -66
  40. package/static/wuhai.json +1610 -1610
@@ -1,177 +1,177 @@
1
- <template lang="html">
2
- <div class="basic-main">
3
- <div style="height: 40px;width: 100%;" v-show="echarts">
4
- <div style="display: inline-block;">
5
- <button @click="$parent.notShowEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
- </div>
7
- <!--图显示模板-->
8
- <div class="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="infoss" style=" height: 600px;width: 800px;padding: 1% 1%;min-width:98%;min-height: 98%"></div>
20
- </div>
21
- </div>
22
- </template>
23
-
24
- <script>
25
- import * as Util from '../../../Util'
26
- import co from 'co'
27
- import { HttpResetClass } from 'vue-client'
28
-
29
- let getData = function * (self, condition) {
30
- let load = new HttpResetClass()
31
- load.load('POST', 'rs/sql/webmeter_getNewLoseGroupList',
32
- {data:{condition: condition, groupname: self.groupname[0], startDate: self.startdate ? self.startdate:Util.toStandardDateString(),
33
- endDate: self.enddate ? self.enddate:Util.toStandardDateString()}},
34
- {resolveMsg: null, rejectMsg: null})
35
- .then((res) => {
36
- let name = []
37
- let value = []
38
- for (let i = 0; i < res.data.length; i++) {
39
- name[i] = res.data[i].res
40
- value[i] = res.data[i].value
41
- }
42
- console.log(name)
43
- console.log(value)
44
- self.set(name,value)
45
- })
46
- }
47
- export default {
48
- props: {
49
- echarts:{
50
- type:Boolean,
51
- default:false
52
- },
53
- startdate: {
54
- type: String,
55
- default: Util.toStandardDateString()
56
- },
57
- enddate: {
58
- type: String,
59
- default: Util.toStandardDateString()
60
- },
61
- condition: {
62
- type: String,
63
- default: '1=1'
64
- },
65
- groupname: {
66
- type: String,
67
- default: 'max_days_type'
68
- }
69
- },
70
- data () {
71
- return {
72
- xc: ''
73
- }
74
- },
75
- methods: {
76
- set (key, value) {
77
- let Name = ''
78
- if (this.groupname[0] === 'f_user_type')
79
- {
80
- Name = '用户类型'
81
- } else if (this.groupname[0] === 'f_gasproperties') {
82
- Name = '用气性质'
83
- } else if (this.groupname[0] === 'f_orgname') {
84
- Name = '分公司'
85
- } else if (this.groupname[0] === 'max_days_type') {
86
- Name = '最长失联天数'
87
- } else if (this.groupname[0] === 'all_days_type') {
88
- Name = '合计失联天数'
89
- } else {
90
- Name = '合计'
91
- }
92
- this.xc = this.$echarts.init(document.getElementById('infoss'))
93
- console.log('-----55555------', this.xc)
94
- let option = {
95
- title: {
96
- text: '表具失联(' + Name + ')分析',
97
- left: 'center',
98
- textStyle: {
99
- color: '#000',
100
- fontSize: 15
101
- }
102
- },
103
- tooltip: {
104
- trigger: 'axis'
105
- },
106
- toolbox: {
107
- show: true,
108
- feature: {
109
- dataView: {show: true, readOnly: false},
110
- magicType: {show: true, type: ['line', 'bar']},
111
- restore: {show: true},
112
- saveAsImage: {show: true}
113
- }
114
- },
115
- calculable: true,
116
- xAxis: [
117
- {
118
- name: '分组项',
119
- nameTextStyle: {
120
- fontSize: 15
121
- },
122
- type: 'category',
123
- data: key,
124
- axisLabel: {
125
- show: true,
126
- textStyle: {
127
- fontSize: 15
128
- }
129
- }
130
- }
131
- ],
132
- yAxis: [
133
- {
134
- name: '用户数(户)',
135
- nameTextStyle: {
136
- fontSize: 15
137
- },
138
- type: 'value'
139
- }
140
- ],
141
- series: [
142
- {
143
- name: '用户数',
144
- type: 'bar',
145
- data: value,
146
- markPoint: {
147
- data: [
148
- {type: 'max', name: '最大值'},
149
- {type: 'min', name: '最小值'}
150
- ]
151
- },
152
- markLine: {
153
- data: [
154
- {type: 'average', name: '平均值'}
155
- ]
156
- }
157
- }
158
- ]
159
- }
160
- this.xc.setOption(option)
161
- console.log("------------->>>>>>>>",document.getElementById('infoss'))
162
- },
163
- searchdata (condition) {
164
- let getGen = getData(this, condition)
165
- co(getGen)
166
- }
167
- },
168
- watch: {
169
- 'echarts' (val) {
170
- this.searchdata(this.condition)
171
- },
172
- 'groupname' (val) {
173
- this.searchdata(this.condition)
174
- }
175
- }
176
- }
177
- </script>
1
+ <template lang="html">
2
+ <div class="basic-main">
3
+ <div style="height: 40px;width: 100%;" v-show="echarts">
4
+ <div style="display: inline-block;">
5
+ <button @click="$parent.notShowEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
+ </div>
7
+ <!--图显示模板-->
8
+ <div class="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="infoss" style=" height: 600px;width: 800px;padding: 1% 1%;min-width:98%;min-height: 98%"></div>
20
+ </div>
21
+ </div>
22
+ </template>
23
+
24
+ <script>
25
+ import * as Util from '../../../Util'
26
+ import co from 'co'
27
+ import { HttpResetClass } from 'vue-client'
28
+
29
+ let getData = function * (self, condition) {
30
+ let load = new HttpResetClass()
31
+ load.load('POST', 'rs/sql/webmeter_getNewLoseGroupList',
32
+ {data:{condition: condition, groupname: self.groupname[0], startDate: self.startdate ? self.startdate:Util.toStandardDateString(),
33
+ endDate: self.enddate ? self.enddate:Util.toStandardDateString()}},
34
+ {resolveMsg: null, rejectMsg: null})
35
+ .then((res) => {
36
+ let name = []
37
+ let value = []
38
+ for (let i = 0; i < res.data.length; i++) {
39
+ name[i] = res.data[i].res
40
+ value[i] = res.data[i].value
41
+ }
42
+ console.log(name)
43
+ console.log(value)
44
+ self.set(name,value)
45
+ })
46
+ }
47
+ export default {
48
+ props: {
49
+ echarts:{
50
+ type:Boolean,
51
+ default:false
52
+ },
53
+ startdate: {
54
+ type: String,
55
+ default: Util.toStandardDateString()
56
+ },
57
+ enddate: {
58
+ type: String,
59
+ default: Util.toStandardDateString()
60
+ },
61
+ condition: {
62
+ type: String,
63
+ default: '1=1'
64
+ },
65
+ groupname: {
66
+ type: String,
67
+ default: 'max_days_type'
68
+ }
69
+ },
70
+ data () {
71
+ return {
72
+ xc: ''
73
+ }
74
+ },
75
+ methods: {
76
+ set (key, value) {
77
+ let Name = ''
78
+ if (this.groupname[0] === 'f_user_type')
79
+ {
80
+ Name = '用户类型'
81
+ } else if (this.groupname[0] === 'f_gasproperties') {
82
+ Name = '用气性质'
83
+ } else if (this.groupname[0] === 'f_orgname') {
84
+ Name = '分公司'
85
+ } else if (this.groupname[0] === 'max_days_type') {
86
+ Name = '最长失联天数'
87
+ } else if (this.groupname[0] === 'all_days_type') {
88
+ Name = '合计失联天数'
89
+ } else {
90
+ Name = '合计'
91
+ }
92
+ this.xc = this.$echarts.init(document.getElementById('infoss'))
93
+ console.log('-----55555------', this.xc)
94
+ let option = {
95
+ title: {
96
+ text: '表具失联(' + Name + ')分析',
97
+ left: 'center',
98
+ textStyle: {
99
+ color: '#000',
100
+ fontSize: 15
101
+ }
102
+ },
103
+ tooltip: {
104
+ trigger: 'axis'
105
+ },
106
+ toolbox: {
107
+ show: true,
108
+ feature: {
109
+ dataView: {show: true, readOnly: false},
110
+ magicType: {show: true, type: ['line', 'bar']},
111
+ restore: {show: true},
112
+ saveAsImage: {show: true}
113
+ }
114
+ },
115
+ calculable: true,
116
+ xAxis: [
117
+ {
118
+ name: '分组项',
119
+ nameTextStyle: {
120
+ fontSize: 15
121
+ },
122
+ type: 'category',
123
+ data: key,
124
+ axisLabel: {
125
+ show: true,
126
+ textStyle: {
127
+ fontSize: 15
128
+ }
129
+ }
130
+ }
131
+ ],
132
+ yAxis: [
133
+ {
134
+ name: '用户数(户)',
135
+ nameTextStyle: {
136
+ fontSize: 15
137
+ },
138
+ type: 'value'
139
+ }
140
+ ],
141
+ series: [
142
+ {
143
+ name: '用户数',
144
+ type: 'bar',
145
+ data: value,
146
+ markPoint: {
147
+ data: [
148
+ {type: 'max', name: '最大值'},
149
+ {type: 'min', name: '最小值'}
150
+ ]
151
+ },
152
+ markLine: {
153
+ data: [
154
+ {type: 'average', name: '平均值'}
155
+ ]
156
+ }
157
+ }
158
+ ]
159
+ }
160
+ this.xc.setOption(option)
161
+ console.log("------------->>>>>>>>",document.getElementById('infoss'))
162
+ },
163
+ searchdata (condition) {
164
+ let getGen = getData(this, condition)
165
+ co(getGen)
166
+ }
167
+ },
168
+ watch: {
169
+ 'echarts' (val) {
170
+ this.searchdata(this.condition)
171
+ },
172
+ 'groupname' (val) {
173
+ this.searchdata(this.condition)
174
+ }
175
+ }
176
+ }
177
+ </script>