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,46 +1,46 @@
1
- <template>
2
- <div class="auto">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <data-grid :model="model" partial='list' v-ref:grid >
5
- <template partial='head'>
6
- <tr>
7
- <th><nobr>序号</nobr></th>
8
- <th><nobr>操作信息</nobr></th>
9
- <th><nobr>操作人</nobr></th>
10
- <th><nobr>操作状态</nobr></th>
11
- <th><nobr>操作时间</nobr></th>
12
- </tr>
13
- </template>
14
- <template partial='body'>
15
- <td ><nobr>{{$index + 1}}</nobr></td>
16
- <td ><nobr>{{row.f_operat_type}}</nobr></td>
17
- <td ><nobr>{{row.f_operator}}</nobr></td>
18
- <td ><nobr>{{row.f_state}}</nobr></td>
19
- <td ><nobr>{{row.f_operate_date}}</nobr></td>
20
- </template>
21
- <template partial='foot'>
22
- </template>
23
- </data-grid>
24
- </criteria-paged>
25
- </div>
26
- </template>
27
-
28
- <script>
29
- import { PagedList } from 'vue-client'
30
-
31
- export default {
32
- title: '操作信息',
33
- data () {
34
- return {
35
- model: new PagedList('rs/sql/newhandleRecord', 15,{})
36
- }
37
- },
38
- props: ['data'],
39
- ready () {
40
- //console.log('操作信息',this.data)
41
- //u.f_userinfo_code=${data.f_userinfo_code} and h.f_filialeids = ${data.f_filialeids}
42
- this.model.search(`f_userinfo_code='${this.data.f_userinfo_code}' and f_filialeids = '${this.data.f_filialeids}'`)
43
- }
44
- }
45
-
46
- </script>
1
+ <template>
2
+ <div class="auto">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <data-grid :model="model" partial='list' v-ref:grid >
5
+ <template partial='head'>
6
+ <tr>
7
+ <th><nobr>序号</nobr></th>
8
+ <th><nobr>操作信息</nobr></th>
9
+ <th><nobr>操作人</nobr></th>
10
+ <th><nobr>操作状态</nobr></th>
11
+ <th><nobr>操作时间</nobr></th>
12
+ </tr>
13
+ </template>
14
+ <template partial='body'>
15
+ <td ><nobr>{{$index + 1}}</nobr></td>
16
+ <td ><nobr>{{row.f_operat_type}}</nobr></td>
17
+ <td ><nobr>{{row.f_operator}}</nobr></td>
18
+ <td ><nobr>{{row.f_state}}</nobr></td>
19
+ <td ><nobr>{{row.f_operate_date}}</nobr></td>
20
+ </template>
21
+ <template partial='foot'>
22
+ </template>
23
+ </data-grid>
24
+ </criteria-paged>
25
+ </div>
26
+ </template>
27
+
28
+ <script>
29
+ import { PagedList } from 'vue-client'
30
+
31
+ export default {
32
+ title: '操作信息',
33
+ data () {
34
+ return {
35
+ model: new PagedList('rs/sql/newhandleRecord', 15,{})
36
+ }
37
+ },
38
+ props: ['data'],
39
+ ready () {
40
+ //console.log('操作信息',this.data)
41
+ //u.f_userinfo_code=${data.f_userinfo_code} and h.f_filialeids = ${data.f_filialeids}
42
+ this.model.search(`f_userinfo_code='${this.data.f_userinfo_code}' and f_filialeids = '${this.data.f_filialeids}'`)
43
+ }
44
+ }
45
+
46
+ </script>
@@ -1,144 +1,144 @@
1
- <template lang="html">
2
- <div id="charts">
3
- <div id="gasanalysis" :style="{width:'100%',height:'100%'}"></div>
4
- </div>
5
- </template>
6
-
7
- <script>
8
- import co from 'co'
9
- import echarts from 'echarts'
10
- import { HttpResetClass } from 'vue-client'
11
-
12
- let getData = function * (self, condition) {
13
- let load = new HttpResetClass()
14
- console.log('startDate', self.startdate)
15
- console.log('endDate', self.enddate)
16
- load.load('POST', 'rs/sql/gasAnalysisEcharts',
17
- {data: {condition: condition, groupname: self.groupname, startDate: self.startdate,
18
- endDate: self.enddate}},
19
- {resolveMsg: null, rejectMsg: null})
20
- .then((res) => {
21
- let arrparams = []
22
- let gasdata = []
23
- for (var i = 0; i < res.data.length; i++) {
24
- arrparams[i] = res.data[i].f_type
25
- gasdata[i] = res.data[i].f_oughtamount
26
- }
27
- self.set(arrparams,gasdata)
28
- })
29
- }
30
- export default {
31
- data () {
32
- title: '业务类型'
33
- return {
34
- xc: ''
35
- }
36
- },
37
- props: {
38
- startdate: {
39
- type: String,
40
- default: ''
41
- },
42
- enddate: {
43
- type: String,
44
- default: ''
45
- },
46
- condition: {
47
- type: String,
48
- default: '1=1'
49
- },
50
- groupname: {
51
- type: String,
52
- default: 'year'
53
- }
54
- },
55
- methods: {
56
- set (arrparams,gasdata) {
57
- let name = ''
58
- if(this.groupname === 'year')
59
- {
60
- name = '年'
61
- } else if (this.groupname === 'month'){
62
- name = '月'
63
- } else if (this.groupname === 'week'){
64
- name = '周'
65
- } else {
66
- name = '日'
67
- }
68
- this.xc = echarts.init(document.getElementById('gasanalysis'))
69
- this.xc.setOption({
70
- title: {
71
- text: '用气' + name + '分析柱状图',
72
- subtext: '',
73
- textStyle:{
74
- color: '#000',
75
- fontStyle: 'normal',
76
- fontWeight: 'normal',
77
- fontSize: 40
78
- },
79
- x: 'center',
80
- subtextStyle: {
81
- color: '#000',
82
- fontSize: 40
83
- }
84
- },
85
- color: ['#3398DB'],
86
- tooltip : {
87
- trigger: 'axis',
88
- axisPointer : { // 坐标轴指示器,坐标轴触发有效
89
- type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
90
- }
91
- },
92
- grid: {
93
- left: '3%',
94
- right: '4%',
95
- bottom: '3%',
96
- containLabel: true
97
- },
98
- xAxis : [
99
- {
100
- name: '日期',
101
- type : 'category',
102
- data : arrparams,
103
- axisTick: {
104
- alignWithLabel: true
105
- }
106
- }
107
- ],
108
- yAxis : [
109
- {
110
- name: '用气量(m³)',
111
- type : 'value'
112
- }
113
- ],
114
- series : [
115
- {
116
- name:'用气量(m³)',
117
- type:'bar',
118
- barWidth: '30%',
119
- data:gasdata
120
- }
121
- ]
122
- })
123
- },
124
- searchdata (condition) {
125
- let getGen = getData(this, condition)
126
- co(getGen)
127
- }
128
- },
129
- watch: {
130
- 'condition' (val) {
131
- this.searchdata(val)
132
- },
133
- 'groupname' (val) {
134
- this.searchdata(this.condition)
135
- },
136
- 'startdate' (val) {
137
- this.startdate = val
138
- },
139
- 'enddate' (val) {
140
- this.enddate = val
141
- }
142
- }
143
- }
144
- </script>
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="gasanalysis" :style="{width:'100%',height:'100%'}"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import co from 'co'
9
+ import echarts from 'echarts'
10
+ import { HttpResetClass } from 'vue-client'
11
+
12
+ let getData = function * (self, condition) {
13
+ let load = new HttpResetClass()
14
+ console.log('startDate', self.startdate)
15
+ console.log('endDate', self.enddate)
16
+ load.load('POST', 'rs/sql/gasAnalysisEcharts',
17
+ {data: {condition: condition, groupname: self.groupname, startDate: self.startdate,
18
+ endDate: self.enddate}},
19
+ {resolveMsg: null, rejectMsg: null})
20
+ .then((res) => {
21
+ let arrparams = []
22
+ let gasdata = []
23
+ for (var i = 0; i < res.data.length; i++) {
24
+ arrparams[i] = res.data[i].f_type
25
+ gasdata[i] = res.data[i].f_oughtamount
26
+ }
27
+ self.set(arrparams,gasdata)
28
+ })
29
+ }
30
+ export default {
31
+ data () {
32
+ title: '业务类型'
33
+ return {
34
+ xc: ''
35
+ }
36
+ },
37
+ props: {
38
+ startdate: {
39
+ type: String,
40
+ default: ''
41
+ },
42
+ enddate: {
43
+ type: String,
44
+ default: ''
45
+ },
46
+ condition: {
47
+ type: String,
48
+ default: '1=1'
49
+ },
50
+ groupname: {
51
+ type: String,
52
+ default: 'year'
53
+ }
54
+ },
55
+ methods: {
56
+ set (arrparams,gasdata) {
57
+ let name = ''
58
+ if(this.groupname === 'year')
59
+ {
60
+ name = '年'
61
+ } else if (this.groupname === 'month'){
62
+ name = '月'
63
+ } else if (this.groupname === 'week'){
64
+ name = '周'
65
+ } else {
66
+ name = '日'
67
+ }
68
+ this.xc = echarts.init(document.getElementById('gasanalysis'))
69
+ this.xc.setOption({
70
+ title: {
71
+ text: '用气' + name + '分析柱状图',
72
+ subtext: '',
73
+ textStyle:{
74
+ color: '#000',
75
+ fontStyle: 'normal',
76
+ fontWeight: 'normal',
77
+ fontSize: 40
78
+ },
79
+ x: 'center',
80
+ subtextStyle: {
81
+ color: '#000',
82
+ fontSize: 40
83
+ }
84
+ },
85
+ color: ['#3398DB'],
86
+ tooltip : {
87
+ trigger: 'axis',
88
+ axisPointer : { // 坐标轴指示器,坐标轴触发有效
89
+ type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
90
+ }
91
+ },
92
+ grid: {
93
+ left: '3%',
94
+ right: '4%',
95
+ bottom: '3%',
96
+ containLabel: true
97
+ },
98
+ xAxis : [
99
+ {
100
+ name: '日期',
101
+ type : 'category',
102
+ data : arrparams,
103
+ axisTick: {
104
+ alignWithLabel: true
105
+ }
106
+ }
107
+ ],
108
+ yAxis : [
109
+ {
110
+ name: '用气量(m³)',
111
+ type : 'value'
112
+ }
113
+ ],
114
+ series : [
115
+ {
116
+ name:'用气量(m³)',
117
+ type:'bar',
118
+ barWidth: '30%',
119
+ data:gasdata
120
+ }
121
+ ]
122
+ })
123
+ },
124
+ searchdata (condition) {
125
+ let getGen = getData(this, condition)
126
+ co(getGen)
127
+ }
128
+ },
129
+ watch: {
130
+ 'condition' (val) {
131
+ this.searchdata(val)
132
+ },
133
+ 'groupname' (val) {
134
+ this.searchdata(this.condition)
135
+ },
136
+ 'startdate' (val) {
137
+ this.startdate = val
138
+ },
139
+ 'enddate' (val) {
140
+ this.enddate = val
141
+ }
142
+ }
143
+ }
144
+ </script>