manage-client 3.2.72 → 3.2.75

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 (55) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  5. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  6. package/.project +18 -18
  7. package/README.md +38 -38
  8. package/build/dev-server.js +176 -176
  9. package/config/dev.env.js +6 -6
  10. package/config/prod.env.js +3 -3
  11. package/config/test.env.js +6 -6
  12. package/package.json +1 -1
  13. package/release.bat +5 -5
  14. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  15. package/src/components/MeterManage/HandQuery.vue +72 -72
  16. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  17. package/src/components/SellReport/GaspriceHas.vue +141 -141
  18. package/src/components/SellReport/ManageBusSummary.vue +224 -219
  19. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  20. package/src/components/WebReport/Communication.vue +131 -131
  21. package/src/components/WebReport/CompanyUser.vue +79 -79
  22. package/src/components/WebReport/GaspriceHas.vue +141 -141
  23. package/src/components/WebReport/ReportWorklist.vue +220 -220
  24. package/src/components/WebReport/SellType.vue +89 -89
  25. package/src/components/WebReport/Telemanlist.vue +221 -221
  26. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  27. package/src/components/WebReport/ValueEcharts.vue +99 -99
  28. package/src/components/sale/businessquery/HandplanQuery.vue +91 -61
  29. package/src/components/sale/config/DefaultPrint.js +6 -6
  30. package/src/components/sale/config/exportConfig.js +1 -1
  31. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  32. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  33. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  34. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  35. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  36. package/src/components/webmeter/instruction/NewQueryInstruct.vue +6 -0
  37. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  38. package/src/filiale/liaoyuan/sale.js +0 -2
  39. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  40. package/src/filiale/tongchuan/UserQuery.vue +26 -0
  41. package/src/main.js +66 -66
  42. package/src/plugins/LodopFuncs.js +124 -124
  43. package/src/stores/GetParames.js +15 -15
  44. package/src/stores/Util.js +132 -132
  45. package/test/unit/.eslintrc +5 -5
  46. package/test/unit/TestUtil.js +35 -35
  47. package/test/unit/context.html +20 -20
  48. package/test/unit/index.js +13 -13
  49. package/test/unit/init.js +11 -11
  50. package/test/unit/karma.conf.js +45 -45
  51. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  52. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  53. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  54. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  55. package/src/filiale/liaoyuan/GasInspection.vue +0 -572
@@ -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>