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,72 +1,72 @@
1
- <template >
2
- <div id="stand-work-list" class="flex bg-white p-10">
3
- <div class="height:auto">
4
- <criteria-paged :model="model" v-ref:paged >
5
- <data-grid :model="model" partial='list' v-ref:grid>
6
- <template partial='head'>
7
- <tr>
8
- <th>序号</th>
9
- <th><nobr>上次实际结余</nobr></th>
10
- <th><nobr>本次实际结余</nobr></th>
11
- <th><nobr>上次抄表底数 </nobr></th>
12
- <th><nobr>本次抄表底数 </nobr></th>
13
- <th><nobr>缴费日期</nobr></th>
14
- </tr>
15
- </template>
16
- <template partial='body' partial='list' v-ref:grid>
17
- <tr >
18
- <td style="text-align: center;">{{$index+1}}</td>
19
- <td style="text-align:center">{{row.f_balance}}</td>
20
- <td style="text-align:center">{{row.f_curbalance}}</td>
21
- <td style="text-align:center">{{row.f_last_tablebase}}</td>
22
- <td style="text-align:center">{{row.f_tablebase}}</td>
23
- <td style="text-align:center">{{row.f_hand_date}}</td>
24
- </tr>
25
- </template>
26
- <template partial='foot'></template>
27
- </data-grid>
28
- </criteria-paged>
29
- </div>
30
- </div>
31
- </template>
32
-
33
- <script>
34
- import {PagedList} from 'vue-client'
35
-
36
- export default {
37
- title: '抄表',
38
- data () {
39
- return {
40
- condition: '1=1',
41
- model: new PagedList('rs/sql/manage_singleTable', 20, {items: '`*`', tablename: '`t_handplan`', orderitem: '`f_hand_date DESC`'}),
42
- row: null,
43
- isdeal: true,
44
- show: false
45
- }
46
- },
47
- props:
48
- {
49
- f_userinfo_id: '',
50
- isdeal: {},
51
- args:{}
52
- },
53
- ready () {
54
- console.log('-------------ready handquery')
55
- this.search()
56
- },
57
- methods: {
58
- search(){
59
- this.condition = `f_userinfo_id = ${this.f_userinfo_id} `
60
- if(this.args.model.f_start_date) this.condition += `and f_hand_date >= '${this.args.model.f_start_date}' `
61
- if(this.args.model.f_end_date) this.condition += `and f_hand_date <= '${this.args.model.f_end_date}' `
62
- this.model.search(this.condition, this.args.model)
63
- }
64
- },
65
- watch: {
66
- args(val){
67
- this.search()
68
- }
69
- }
70
- }
71
- </script>
72
-
1
+ <template >
2
+ <div id="stand-work-list" class="flex bg-white p-10">
3
+ <div class="height:auto">
4
+ <criteria-paged :model="model" v-ref:paged >
5
+ <data-grid :model="model" partial='list' v-ref:grid>
6
+ <template partial='head'>
7
+ <tr>
8
+ <th>序号</th>
9
+ <th><nobr>上次实际结余</nobr></th>
10
+ <th><nobr>本次实际结余</nobr></th>
11
+ <th><nobr>上次抄表底数 </nobr></th>
12
+ <th><nobr>本次抄表底数 </nobr></th>
13
+ <th><nobr>缴费日期</nobr></th>
14
+ </tr>
15
+ </template>
16
+ <template partial='body' partial='list' v-ref:grid>
17
+ <tr >
18
+ <td style="text-align: center;">{{$index+1}}</td>
19
+ <td style="text-align:center">{{row.f_balance}}</td>
20
+ <td style="text-align:center">{{row.f_curbalance}}</td>
21
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
22
+ <td style="text-align:center">{{row.f_tablebase}}</td>
23
+ <td style="text-align:center">{{row.f_hand_date}}</td>
24
+ </tr>
25
+ </template>
26
+ <template partial='foot'></template>
27
+ </data-grid>
28
+ </criteria-paged>
29
+ </div>
30
+ </div>
31
+ </template>
32
+
33
+ <script>
34
+ import {PagedList} from 'vue-client'
35
+
36
+ export default {
37
+ title: '抄表',
38
+ data () {
39
+ return {
40
+ condition: '1=1',
41
+ model: new PagedList('rs/sql/manage_singleTable', 20, {items: '`*`', tablename: '`t_handplan`', orderitem: '`f_hand_date DESC`'}),
42
+ row: null,
43
+ isdeal: true,
44
+ show: false
45
+ }
46
+ },
47
+ props:
48
+ {
49
+ f_userinfo_id: '',
50
+ isdeal: {},
51
+ args:{}
52
+ },
53
+ ready () {
54
+ console.log('-------------ready handquery')
55
+ this.search()
56
+ },
57
+ methods: {
58
+ search(){
59
+ this.condition = `f_userinfo_id = ${this.f_userinfo_id} `
60
+ if(this.args.model.f_start_date) this.condition += `and f_hand_date >= '${this.args.model.f_start_date}' `
61
+ if(this.args.model.f_end_date) this.condition += `and f_hand_date <= '${this.args.model.f_end_date}' `
62
+ this.model.search(this.condition, this.args.model)
63
+ }
64
+ },
65
+ watch: {
66
+ args(val){
67
+ this.search()
68
+ }
69
+ }
70
+ }
71
+ </script>
72
+
@@ -1,77 +1,77 @@
1
- <template >
2
- <div id="stand-work-list" class="flex bg-white p-10">
3
- <div class="height:auto">
4
- <criteria-paged :model="model" v-ref:paged >
5
- <data-grid :model="model" partial='list' v-ref:grid>
6
- <template partial='head'>
7
- <tr>
8
- <th><nobr>序号</nobr></th>
9
- <th><nobr>表编号</nobr></th>
10
- <th><nobr>冲正金额</nobr></th>
11
- <th><nobr>冲正类型</nobr></th>
12
- <th><nobr>冲正日期</nobr></th>
13
- </tr>
14
- </template>
15
- <template partial='body' partial='list' v-ref:grid>
16
- <tr >
17
- <td style="text-align:center;">{{$index+1}}</td>
18
- <td style="text-align:center">{{row.f_user_id}}</td>
19
- <td style="text-align:center">{{row.f_correct_money}}</td>
20
- <td style="text-align:center">{{row.f_correct_type}}</td>
21
- <td style="text-align:center">{{row.f_correct_date}}</td>
22
- </tr>
23
- </template>
24
- <template partial='foot'></template>
25
- </data-grid>
26
- </criteria-paged>
27
- </div>
28
- </div>
29
- </template>
30
-
31
- <script>
32
- import {PagedList} from 'vue-client'
33
- import vue from 'vue'
34
- import co from 'co'
35
-
36
- export default {
37
- title: '冲正',
38
- data () {
39
- return {
40
- condition: '1=1',
41
- model: new PagedList('rs/sql/UserCorrect', 20),
42
- row: null,
43
- isdeal: true,
44
- obj: {
45
- userid: this.$login.f.id,
46
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
47
- res: this.$login.f.f_fengongsi,
48
- resids: this.$login.f.f_orgids
49
- },
50
- show: false
51
- }
52
- },
53
- props:
54
- {
55
- f_userinfo_id: '',
56
- isdeal: {},
57
- args:{}
58
- },
59
- ready () {
60
- this.search()
61
- },
62
- methods: {
63
- search(){
64
- this.condition = `f_userinfo_id = '${this.f_userinfo_id}' `
65
- if(this.args.model.f_start_date) this.condition += `and f_correct_date >= '${this.args.model.f_start_date}' `
66
- if(this.args.model.f_end_date) this.condition += `and f_correct_date <= '${this.args.model.f_end_date}' `
67
- this.model.search(this.condition, this.args.model)
68
- }
69
- },
70
- watch: {
71
- args(val){
72
- this.search()
73
- }
74
- }
75
- }
76
- </script>
77
-
1
+ <template >
2
+ <div id="stand-work-list" class="flex bg-white p-10">
3
+ <div class="height:auto">
4
+ <criteria-paged :model="model" v-ref:paged >
5
+ <data-grid :model="model" partial='list' v-ref:grid>
6
+ <template partial='head'>
7
+ <tr>
8
+ <th><nobr>序号</nobr></th>
9
+ <th><nobr>表编号</nobr></th>
10
+ <th><nobr>冲正金额</nobr></th>
11
+ <th><nobr>冲正类型</nobr></th>
12
+ <th><nobr>冲正日期</nobr></th>
13
+ </tr>
14
+ </template>
15
+ <template partial='body' partial='list' v-ref:grid>
16
+ <tr >
17
+ <td style="text-align:center;">{{$index+1}}</td>
18
+ <td style="text-align:center">{{row.f_user_id}}</td>
19
+ <td style="text-align:center">{{row.f_correct_money}}</td>
20
+ <td style="text-align:center">{{row.f_correct_type}}</td>
21
+ <td style="text-align:center">{{row.f_correct_date}}</td>
22
+ </tr>
23
+ </template>
24
+ <template partial='foot'></template>
25
+ </data-grid>
26
+ </criteria-paged>
27
+ </div>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+ import {PagedList} from 'vue-client'
33
+ import vue from 'vue'
34
+ import co from 'co'
35
+
36
+ export default {
37
+ title: '冲正',
38
+ data () {
39
+ return {
40
+ condition: '1=1',
41
+ model: new PagedList('rs/sql/UserCorrect', 20),
42
+ row: null,
43
+ isdeal: true,
44
+ obj: {
45
+ userid: this.$login.f.id,
46
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
47
+ res: this.$login.f.f_fengongsi,
48
+ resids: this.$login.f.f_orgids
49
+ },
50
+ show: false
51
+ }
52
+ },
53
+ props:
54
+ {
55
+ f_userinfo_id: '',
56
+ isdeal: {},
57
+ args:{}
58
+ },
59
+ ready () {
60
+ this.search()
61
+ },
62
+ methods: {
63
+ search(){
64
+ this.condition = `f_userinfo_id = '${this.f_userinfo_id}' `
65
+ if(this.args.model.f_start_date) this.condition += `and f_correct_date >= '${this.args.model.f_start_date}' `
66
+ if(this.args.model.f_end_date) this.condition += `and f_correct_date <= '${this.args.model.f_end_date}' `
67
+ this.model.search(this.condition, this.args.model)
68
+ }
69
+ },
70
+ watch: {
71
+ args(val){
72
+ this.search()
73
+ }
74
+ }
75
+ }
76
+ </script>
77
+
@@ -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>