manage-client 3.2.75 → 3.2.76-jb

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 (50) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.project +18 -18
  5. package/README.md +38 -38
  6. package/build/dev-server.js +8 -8
  7. package/config/dev.env.js +6 -6
  8. package/config/prod.env.js +3 -3
  9. package/config/test.env.js +6 -6
  10. package/package.json +14 -8
  11. package/release.bat +5 -5
  12. package/src/App.vue +71 -28
  13. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  14. package/src/components/MeterManage/HandQuery.vue +72 -72
  15. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  16. package/src/components/SellReport/GaspriceHas.vue +141 -141
  17. package/src/components/SellReport/ManageBusSummary.vue +224 -224
  18. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  19. package/src/components/WebReport/Communication.vue +131 -131
  20. package/src/components/WebReport/CompanyUser.vue +79 -79
  21. package/src/components/WebReport/GaspriceHas.vue +141 -141
  22. package/src/components/WebReport/ReportWorklist.vue +220 -220
  23. package/src/components/WebReport/SellType.vue +89 -89
  24. package/src/components/WebReport/Telemanlist.vue +221 -221
  25. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  26. package/src/components/WebReport/ValueEcharts.vue +99 -99
  27. package/src/components/sale/businessquery/overDueQuery.vue +12 -0
  28. package/src/components/sale/config/DefaultPrint.js +6 -6
  29. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  30. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  31. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  32. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  33. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  34. package/src/components/webmeter/gasStatistics/GasStatistics.vue +462 -467
  35. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  36. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  37. package/src/main.js +66 -66
  38. package/src/plugins/LodopFuncs.js +124 -124
  39. package/src/stores/GetParames.js +15 -15
  40. package/src/stores/Util.js +132 -132
  41. package/test/unit/.eslintrc +5 -5
  42. package/test/unit/TestUtil.js +35 -35
  43. package/test/unit/context.html +20 -20
  44. package/test/unit/index.js +13 -13
  45. package/test/unit/init.js +11 -11
  46. package/test/unit/karma.conf.js +45 -45
  47. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  48. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  49. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  50. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
@@ -1,141 +1,141 @@
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/GaspriceHas',
16
- {data: {startDate: self.startdate, endDate: self.enddate}},
17
- {resolveMsg: null, rejectMsg: null})
18
- .then((res) => {
19
- self.texttile = '用户类型'
20
- let arrparams = []
21
- let gasdata = []
22
- let pricedata = []
23
- for (var i = 0; i < res.data.length; i++) {
24
- arrparams[i] = res.data[i].name
25
- gasdata[i] = res.data[i].gas_value
26
- pricedata[i] = res.data[i].money_value
27
- }
28
- self.set(arrparams,gasdata,pricedata)
29
- })
30
- }
31
- export default {
32
- props: {
33
- startdate: {
34
- type: String,
35
- default: Util.toStandardDateString()
36
- },
37
- enddate: {
38
- type: String,
39
- default: Util.toStandardDateString()
40
- }
41
- },
42
- data () {
43
- return {
44
- texttile: '',
45
- xc: ''
46
- }
47
- },
48
- methods: {
49
- set (arrparams,gasdata,pricedata) {
50
- this.xc = echarts.init(document.getElementById('gph'))
51
- this.xc.setOption({
52
- title : {
53
- text: '气量金额散列图',
54
- subtext: '数据来源',
55
- x: 'center'
56
- },
57
- tooltip : {
58
- trigger: 'axis'
59
- },
60
- legend: {
61
- orient: 'vertical',
62
- x: 'left',
63
- y: 'bottom',
64
- data: ['气量','金额']
65
- },
66
- toolbox: {
67
- show : true,
68
- feature : {
69
- dataView : {show: true, readOnly: false},
70
- magicType : {show: true, type: ['line', 'bar']},
71
- restore : {show: true},
72
- saveAsImage : {show: true}
73
- }
74
- },
75
- calculable : true,
76
- xAxis : [
77
- {
78
- type : 'category',
79
- data : arrparams
80
- }
81
- ],
82
- yAxis : [
83
- {
84
- type : 'value'
85
- }
86
- ],
87
- series : [
88
- {
89
- name:'气量',
90
- type:'bar',
91
- data:gasdata,
92
- markPoint : {
93
- data : [
94
- {type : 'max', name: '最大值'},
95
- {type : 'min', name: '最小值'}
96
- ]
97
- },
98
- markLine : {
99
- data : [
100
- {type : 'average', name: '平均值'}
101
- ]
102
- }
103
- },
104
- {
105
- name:'金额',
106
- type:'bar',
107
- data:pricedata,
108
- markPoint : {
109
- data : [
110
- {type : 'max', name: '最大值'},
111
- {type : 'min', name: '最小值'}
112
- ]
113
- },
114
- markLine : {
115
- data : [
116
- {type : 'average', name : '平均值'}
117
- ]
118
- }
119
- }
120
- ]
121
- })
122
- },
123
- searchdata () {
124
- let getGen =getData(this)
125
- co(getGen)
126
- }
127
- },
128
- ready () {
129
- this.searchdata()
130
- },
131
- watch: {
132
- 'startdate' (val) {
133
- this.searchdata()
134
- },
135
- 'enddate' (val) {
136
- this.searchdata()
137
- }
138
- }
139
-
140
- }
141
- </script>
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/GaspriceHas',
16
+ {data: {startDate: self.startdate, endDate: self.enddate}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ self.texttile = '用户类型'
20
+ let arrparams = []
21
+ let gasdata = []
22
+ let pricedata = []
23
+ for (var i = 0; i < res.data.length; i++) {
24
+ arrparams[i] = res.data[i].name
25
+ gasdata[i] = res.data[i].gas_value
26
+ pricedata[i] = res.data[i].money_value
27
+ }
28
+ self.set(arrparams,gasdata,pricedata)
29
+ })
30
+ }
31
+ export default {
32
+ props: {
33
+ startdate: {
34
+ type: String,
35
+ default: Util.toStandardDateString()
36
+ },
37
+ enddate: {
38
+ type: String,
39
+ default: Util.toStandardDateString()
40
+ }
41
+ },
42
+ data () {
43
+ return {
44
+ texttile: '',
45
+ xc: ''
46
+ }
47
+ },
48
+ methods: {
49
+ set (arrparams,gasdata,pricedata) {
50
+ this.xc = echarts.init(document.getElementById('gph'))
51
+ this.xc.setOption({
52
+ title : {
53
+ text: '气量金额散列图',
54
+ subtext: '数据来源',
55
+ x: 'center'
56
+ },
57
+ tooltip : {
58
+ trigger: 'axis'
59
+ },
60
+ legend: {
61
+ orient: 'vertical',
62
+ x: 'left',
63
+ y: 'bottom',
64
+ data: ['气量','金额']
65
+ },
66
+ toolbox: {
67
+ show : true,
68
+ feature : {
69
+ dataView : {show: true, readOnly: false},
70
+ magicType : {show: true, type: ['line', 'bar']},
71
+ restore : {show: true},
72
+ saveAsImage : {show: true}
73
+ }
74
+ },
75
+ calculable : true,
76
+ xAxis : [
77
+ {
78
+ type : 'category',
79
+ data : arrparams
80
+ }
81
+ ],
82
+ yAxis : [
83
+ {
84
+ type : 'value'
85
+ }
86
+ ],
87
+ series : [
88
+ {
89
+ name:'气量',
90
+ type:'bar',
91
+ data:gasdata,
92
+ markPoint : {
93
+ data : [
94
+ {type : 'max', name: '最大值'},
95
+ {type : 'min', name: '最小值'}
96
+ ]
97
+ },
98
+ markLine : {
99
+ data : [
100
+ {type : 'average', name: '平均值'}
101
+ ]
102
+ }
103
+ },
104
+ {
105
+ name:'金额',
106
+ type:'bar',
107
+ data:pricedata,
108
+ markPoint : {
109
+ data : [
110
+ {type : 'max', name: '最大值'},
111
+ {type : 'min', name: '最小值'}
112
+ ]
113
+ },
114
+ markLine : {
115
+ data : [
116
+ {type : 'average', name : '平均值'}
117
+ ]
118
+ }
119
+ }
120
+ ]
121
+ })
122
+ },
123
+ searchdata () {
124
+ let getGen =getData(this)
125
+ co(getGen)
126
+ }
127
+ },
128
+ ready () {
129
+ this.searchdata()
130
+ },
131
+ watch: {
132
+ 'startdate' (val) {
133
+ this.searchdata()
134
+ },
135
+ 'enddate' (val) {
136
+ this.searchdata()
137
+ }
138
+ }
139
+
140
+ }
141
+ </script>