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,99 +1,99 @@
1
- <template lang="html">
2
- <div id="charts">
3
- <div id="info" :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,condition) {
14
- let load = new HttpResetClass()
15
- load.load('POST','rs/sql/getValveCount',
16
- {data:{condition:condition}},
17
- {resolveMsg: null, rejectMsg: null})
18
- .then((res) => {
19
- let arrparams = []
20
- let gasdata = []
21
- for (var i = 0; i < res.data.length; i++) {
22
- let item = {}
23
- arrparams[i] = res.data[i].f_operate_status
24
- item.name = res.data[i].f_operate_status
25
- item.value = res.data[i].statuscount
26
- gasdata.push(item)
27
- }
28
- self.set(arrparams,gasdata)
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
- condition: {
42
- type: String,
43
- default: '1=1'
44
- }
45
- },
46
- data () {
47
- return {
48
- xc: ''
49
- }
50
- },
51
- methods: {
52
- set (arrparams,gasdata) {
53
- this.xc = echarts.init(document.getElementById('info'))
54
- this.xc.setOption({
55
- title: {
56
- text: '阀门信息统计',
57
- subtext: '数据截止',
58
- x: 'center'
59
- },
60
- tooltip: {
61
- trigger: 'item',
62
- formatter: ''
63
- },
64
- legend: {
65
- x: 'left',
66
- y: 'top',
67
- data:arrparams
68
- },
69
- series : [
70
- {
71
- name: '访问来源',
72
- type: 'pie',
73
- radius : '55%',
74
- center: ['50%', '60%'],
75
- data: gasdata,
76
- itemStyle: {
77
- emphasis: {
78
- shadowBlur: 10,
79
- shadowOffsetX: 0,
80
- shadowColor: 'rgba(0, 0, 0, 0.5)'
81
- }
82
- }
83
- }
84
- ]
85
- })
86
- },
87
- searchdata (condition) {
88
- let getGen =getData(this,condition)
89
- co(getGen)
90
- }
91
- },
92
- watch: {
93
- 'condition' (val) {
94
- console.log('ddddddd', val)
95
- this.searchdata(val)
96
- }
97
- }
98
- }
99
- </script>
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="info" :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,condition) {
14
+ let load = new HttpResetClass()
15
+ load.load('POST','rs/sql/getValveCount',
16
+ {data:{condition:condition}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ let arrparams = []
20
+ let gasdata = []
21
+ for (var i = 0; i < res.data.length; i++) {
22
+ let item = {}
23
+ arrparams[i] = res.data[i].f_operate_status
24
+ item.name = res.data[i].f_operate_status
25
+ item.value = res.data[i].statuscount
26
+ gasdata.push(item)
27
+ }
28
+ self.set(arrparams,gasdata)
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
+ condition: {
42
+ type: String,
43
+ default: '1=1'
44
+ }
45
+ },
46
+ data () {
47
+ return {
48
+ xc: ''
49
+ }
50
+ },
51
+ methods: {
52
+ set (arrparams,gasdata) {
53
+ this.xc = echarts.init(document.getElementById('info'))
54
+ this.xc.setOption({
55
+ title: {
56
+ text: '阀门信息统计',
57
+ subtext: '数据截止',
58
+ x: 'center'
59
+ },
60
+ tooltip: {
61
+ trigger: 'item',
62
+ formatter: ''
63
+ },
64
+ legend: {
65
+ x: 'left',
66
+ y: 'top',
67
+ data:arrparams
68
+ },
69
+ series : [
70
+ {
71
+ name: '访问来源',
72
+ type: 'pie',
73
+ radius : '55%',
74
+ center: ['50%', '60%'],
75
+ data: gasdata,
76
+ itemStyle: {
77
+ emphasis: {
78
+ shadowBlur: 10,
79
+ shadowOffsetX: 0,
80
+ shadowColor: 'rgba(0, 0, 0, 0.5)'
81
+ }
82
+ }
83
+ }
84
+ ]
85
+ })
86
+ },
87
+ searchdata (condition) {
88
+ let getGen =getData(this,condition)
89
+ co(getGen)
90
+ }
91
+ },
92
+ watch: {
93
+ 'condition' (val) {
94
+ console.log('ddddddd', val)
95
+ this.searchdata(val)
96
+ }
97
+ }
98
+ }
99
+ </script>
@@ -104,6 +104,12 @@
104
104
  <th>
105
105
  <nobr>减免金额</nobr>
106
106
  </th>
107
+ <th>
108
+ <nobr>优惠前金额</nobr>
109
+ </th>
110
+ <th>
111
+ <nobr>优惠后金额</nobr>
112
+ </th>
107
113
  <th>
108
114
  <nobr>备注</nobr>
109
115
  </th>
@@ -141,6 +147,12 @@
141
147
  <td style="text-align: center;">
142
148
  <nobr>{{0-row.f_latefee_ought}}</nobr>
143
149
  </td>
150
+ <td style="text-align: center;">
151
+ <nobr>{{row.f_overdue.toFixed(2)}}</nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr>{{(row.f_overdue.toFixed(2)-(0-row.f_latefee_ought.toFixed(2))).toFixed(2)}}</nobr>
155
+ </td>
144
156
  <td style="text-align: center;">
145
157
  <nobr>{{row.f_comments}}</nobr>
146
158
  </td>
@@ -1,6 +1,6 @@
1
- export default{
2
- //把打印需要默认选中的字段名放在config数组中
3
- config: [
4
- "f_userinfo_code","f_user_name","f_user_phone","f_pregas","f_preamount","f_collection","f_balance","f_curbalance","f_idnumber"
5
- ]
6
- }
1
+ export default{
2
+ //把打印需要默认选中的字段名放在config数组中
3
+ config: [
4
+ "f_userinfo_code","f_user_name","f_user_phone","f_pregas","f_preamount","f_collection","f_balance","f_curbalance","f_idnumber"
5
+ ]
6
+ }
@@ -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_hand_date}}</nobr></td>
17
- <td ><nobr>{{row.f_input_date}}</nobr></td>
18
- <td ><nobr>{{row.f_last_tablebase}}</nobr></td>
19
- <td ><nobr>{{row.f_tablebase}}</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/newhandplanQuery', 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_hand_date}}</nobr></td>
17
+ <td ><nobr>{{row.f_input_date}}</nobr></td>
18
+ <td ><nobr>{{row.f_last_tablebase}}</nobr></td>
19
+ <td ><nobr>{{row.f_tablebase}}</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/newhandplanQuery', 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,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_hand_date}}</nobr></td>
17
- <td ><nobr>{{row.f_input_date}}</nobr></td>
18
- <td ><nobr>{{row.f_last_tablebase}}</nobr></td>
19
- <td ><nobr>{{row.f_tablebase}}</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/newhandplanQuery', 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_hand_date}}</nobr></td>
17
+ <td ><nobr>{{row.f_input_date}}</nobr></td>
18
+ <td ><nobr>{{row.f_last_tablebase}}</nobr></td>
19
+ <td ><nobr>{{row.f_tablebase}}</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/newhandplanQuery', 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,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>