manage-client 3.3.2 → 3.3.5

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 (63) hide show
  1. package/build/dev-server.js +180 -180
  2. package/package.json +1 -1
  3. package/src/components/sale/businessquery/GroupChargeQuery.vue +481 -481
  4. package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +633 -633
  5. package/src/components/webmeter/recharge/RechargeList.vue +346 -346
  6. package/src/filiale/gehua/GroupChargeQuery.vue +486 -486
  7. package/src/filiale/huayin/ChargeQuery.vue +1305 -1305
  8. package/src/filiale/macheng/config/exportConfig.js +1 -1
  9. package/src/filiale/rongcheng/AreaBuildingDetailInfo.vue +281 -281
  10. package/src/filiale/rongcheng/AreaBuildingInfoSummary.vue +301 -301
  11. package/src/filiale/rongcheng/exportConfig.js +536 -536
  12. package/src/filiale/rongcheng/sale.js +22 -22
  13. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  14. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  15. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  16. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  17. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  18. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  19. package/src/filiale/shanxian/FillCardQuery.vue +569 -569
  20. package/src/filiale/shanxian/FillGasQuery.vue +588 -588
  21. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  22. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  23. package/src/filiale/shanxian/LostContactAnalysisList.vue +633 -632
  24. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  25. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  26. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  27. package/src/filiale/shanxian/OtherChargeQuery.vue +684 -684
  28. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  29. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  30. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  31. package/src/filiale/shanxian/UserLostContactAnalysis.vue +584 -583
  32. package/src/filiale/shanxian/UserQuery.vue +960 -959
  33. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  34. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  35. package/src/filiale/shanxian/sale.js +46 -26
  36. package/src/filiale/shanxian/webmeterManage.js +4 -0
  37. package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -704
  38. package/src/filiale/wenxi/ChangeUserQuery.vue +371 -371
  39. package/src/filiale/wenxi/ChargeQuery.vue +1260 -1260
  40. package/src/filiale/wenxi/FmyGasDeviceQuery.vue +944 -944
  41. package/src/filiale/wenxi/GasDeviceQuery.vue +1041 -1041
  42. package/src/filiale/wenxi/GasStatistics.vue +515 -515
  43. package/src/filiale/wenxi/GetNoMetereadData.vue +374 -374
  44. package/src/filiale/wenxi/HandplanQuery.vue +1370 -1370
  45. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  46. package/src/filiale/wenxi/MeterQuery.vue +937 -964
  47. package/src/filiale/wenxi/NewGasStatistics.vue +522 -522
  48. package/src/filiale/wenxi/RecordInfoQuery.vue +1213 -1213
  49. package/src/filiale/wenxi/WebHandQuery.vue +475 -475
  50. package/src/filiale/wenxi/config/exportConfig.js +916 -916
  51. package/src/filiale/wenxi/sale.js +24 -24
  52. package/src/filiale/wenxi/webmeterManage.js +13 -13
  53. package/src/filiale/xinkang/EchartsBox.vue +139 -139
  54. package/src/filiale/xinkang/ManageBrandHouseCount.vue +347 -347
  55. package/src/filiale/xinkang/NewGasStatistics.vue +526 -526
  56. package/src/filiale/xinkang/exportConfig.js +1998 -1998
  57. package/src/filiale/xinkang/meterFaultChangeSummary.vue +196 -196
  58. package/src/filiale/xinkang/reportManage.js +15 -15
  59. package/src/filiale/xinkang/sale.js +13 -13
  60. package/src/filiale/xinkang/webmeterManage.js +9 -9
  61. package/src/filiale/zhongyi/GasStatistics.vue +521 -521
  62. package/src/main.js +66 -72
  63. package/lib/package_2022-12-01-14-30-50.json +0 -109
@@ -1,173 +1,173 @@
1
- <template>
2
- <div class="basic-main" style="height: 100%">
3
- <div class="form-group" >
4
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
5
- <div class="row">
6
- <div class="col-sm-3 form-group" >
7
- <label class="font_normal_body" for="startDate">开始日期:</label>
8
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
9
- v-model="model.startDate"
10
- :value.sync="model.startDate"
11
- :disabled-days-of-Week="[]"
12
- :format="'yyyy-MM-dd HH:mm:ss'"
13
- :show-reset-button="reset">
14
- </datepicker>
15
- </div>
16
- <div class="col-sm-3 form-group" >
17
- <label class="font_normal_body" for="endDate">结束日期:</label>
18
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
19
- v-model="model.endDate"
20
- :value.sync="model.endDate"
21
- :disabled-days-of-Week="[]"
22
- :format="'yyyy-MM-dd HH:mm:ss'"
23
- :show-reset-button="reset">
24
- </datepicker>
25
- </div>
26
- <div class="col-sm-3 form-group" >
27
- <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
28
- <right-tree id="org" @re-res="getRes"></right-tree>
29
- </div>
30
- <div class="col-sm-3 form-group">
31
- <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
32
- <res-select id="dep" restype='department'
33
- @res-select="getdep"
34
- :parentresid="depresid"
35
- :initresid='queryData.depid' >
36
- </res-select>
37
-
38
- </div>
39
- <div class="col-sm-3 form-group">
40
- <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
41
- <res-select id="oper" restype='user'
42
- is-mul="false"
43
- @res-select="getuser"
44
- :parentresid="userresid"
45
- :initresid='queryData.operatorid'>
46
- </res-select>
47
- </div>
48
- <div class="col-sm-3 form-group">
49
- <label class="font_normal_body" for="oper">pos收费:&nbsp;</label>
50
- <v-select :value.sync="queryData.f_payment"
51
- v-model="queryData.f_payment"
52
- :options='f_payents' placeholder='请选择'
53
- condition="f_bank_name = '{}'"
54
- close-on-select></v-select>
55
- </div>
56
- <div class="col-sm-2 form-group" style="float:right;">
57
- <button class="button_search" @click="searchData()">查询</button>
58
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,
59
- 'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
60
- </div>
61
- </div>
62
- </div>
63
- <div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
64
- <iframe class="iframe_style" style="width:100%;height:100% ;border: medium none;" :src="url" v-if="isShow"></iframe>
65
- </div>
66
- </div>
67
- </div>
68
- </template>
69
-
70
- <script>
71
- export default {
72
- title: '客户类型分项汇总表',
73
- data () {
74
- return {
75
- orgCondtionStr: '1=1',
76
- model: {
77
- startDate: '',
78
- endDate: ''
79
- },
80
- isShow: false,
81
- url: '',
82
- urlPrefix: 'http://59.48.150.94:8488/report/jmreport/shareView/815841832143192064',
83
- queryData: {
84
- f_orgid: [],
85
- f_depid: [],
86
- f_operatorid: [],
87
- f_payment: []
88
- },
89
- orgname: '',
90
- depresid: [],
91
- userresid: [],
92
- depname: '',
93
- operatorname: '',
94
- operatorid: [],
95
- depid: [],
96
- f_payents: [{label: 'pos收费', value: '在线支付'}],
97
- criteriaShow: false
98
- }
99
- },
100
- ready () {
101
- this.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
102
- this.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
103
- this.searchData()
104
- },
105
- methods: {
106
- searchData () {
107
- let queryData = ''
108
- queryData = this.orgCondtionStr
109
- for (let key in this.queryData) {
110
- if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
111
- if (Array.isArray(this.queryData[key])) {
112
- let stringValue = ''
113
- for (var i = 0; i < this.queryData[key].length; i++) {
114
- if (i === this.queryData[key].length - 1) {
115
- stringValue = stringValue + "'" + this.queryData[key][i] + "'"
116
- } else {
117
- stringValue = stringValue + "'" + this.queryData[key][i] + "',"
118
- }
119
- }
120
- queryData = queryData + ' and t.' + key + ' in (' + stringValue + ')'
121
- } else {
122
- queryData = queryData + ' and t.' + key + ' = ' + "'" + this.queryData[key] + "'"
123
- }
124
- }
125
- }
126
- console.log(queryData)
127
- // 重置url
128
- this.url = ''
129
- // encodeURIComponent是将该参数中的特殊符号进行编码,后端会进行解码
130
- this.url = this.urlPrefix + '?condition=' + encodeURIComponent(queryData) +
131
- '&startDate=' + encodeURIComponent(this.model.startDate) +
132
- '&endDate=' + encodeURIComponent(this.model.endDate)
133
- console.log('报表===' + queryData)
134
- console.log('报表===>' + this.url)
135
- this.isShow = true
136
- },
137
- load () {
138
- this.isShow = true
139
- },
140
- getRes (obj) {
141
- this.orgname = obj.res[0]
142
- this.depresid = obj.resids
143
- this.userresid = obj.resids
144
- this.queryData.f_orgid = obj.resids
145
- },
146
- getdep (obj, val) {
147
- this.depname = val[0]
148
- this.userresid = obj
149
- this.queryData.f_depid = obj
150
- },
151
- getuser (obj, val) {
152
- this.operatorname = val[0]
153
- this.queryData.f_operatorid = obj
154
- },
155
- hidden () {
156
- this.criteriaShow = !this.criteriaShow
157
- }
158
- },
159
- computed: {
160
- }
161
- }
162
- </script>
163
- <style scoped>
164
- .noborder{
165
- border: none;
166
- }
167
- .span{
168
- height: 0;
169
- }
170
- .iframe_style{
171
- border: medium none;
172
- }
173
- </style>
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <div class="form-group" >
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
5
+ <div class="row">
6
+ <div class="col-sm-3 form-group" >
7
+ <label class="font_normal_body" for="startDate">开始日期:</label>
8
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
9
+ v-model="model.startDate"
10
+ :value.sync="model.startDate"
11
+ :disabled-days-of-Week="[]"
12
+ :format="'yyyy-MM-dd HH:mm:ss'"
13
+ :show-reset-button="reset">
14
+ </datepicker>
15
+ </div>
16
+ <div class="col-sm-3 form-group" >
17
+ <label class="font_normal_body" for="endDate">结束日期:</label>
18
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
19
+ v-model="model.endDate"
20
+ :value.sync="model.endDate"
21
+ :disabled-days-of-Week="[]"
22
+ :format="'yyyy-MM-dd HH:mm:ss'"
23
+ :show-reset-button="reset">
24
+ </datepicker>
25
+ </div>
26
+ <div class="col-sm-3 form-group" >
27
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
28
+ <right-tree id="org" @re-res="getRes"></right-tree>
29
+ </div>
30
+ <div class="col-sm-3 form-group">
31
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
32
+ <res-select id="dep" restype='department'
33
+ @res-select="getdep"
34
+ :parentresid="depresid"
35
+ :initresid='queryData.depid' >
36
+ </res-select>
37
+
38
+ </div>
39
+ <div class="col-sm-3 form-group">
40
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
41
+ <res-select id="oper" restype='user'
42
+ is-mul="false"
43
+ @res-select="getuser"
44
+ :parentresid="userresid"
45
+ :initresid='queryData.operatorid'>
46
+ </res-select>
47
+ </div>
48
+ <div class="col-sm-3 form-group">
49
+ <label class="font_normal_body" for="oper">pos收费:&nbsp;</label>
50
+ <v-select :value.sync="queryData.f_payment"
51
+ v-model="queryData.f_payment"
52
+ :options='f_payents' placeholder='请选择'
53
+ condition="f_bank_name = '{}'"
54
+ close-on-select></v-select>
55
+ </div>
56
+ <div class="col-sm-2 form-group" style="float:right;">
57
+ <button class="button_search" @click="searchData()">查询</button>
58
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,
59
+ 'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ <div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
64
+ <iframe class="iframe_style" style="width:100%;height:100% ;border: medium none;" :src="url" v-if="isShow"></iframe>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </template>
69
+
70
+ <script>
71
+ export default {
72
+ title: '客户类型分项汇总表',
73
+ data () {
74
+ return {
75
+ orgCondtionStr: '1=1',
76
+ model: {
77
+ startDate: '',
78
+ endDate: ''
79
+ },
80
+ isShow: false,
81
+ url: '',
82
+ urlPrefix: 'http://59.48.150.94:8488/report/jmreport/shareView/815841832143192064',
83
+ queryData: {
84
+ f_orgid: [],
85
+ f_depid: [],
86
+ f_operatorid: [],
87
+ f_payment: []
88
+ },
89
+ orgname: '',
90
+ depresid: [],
91
+ userresid: [],
92
+ depname: '',
93
+ operatorname: '',
94
+ operatorid: [],
95
+ depid: [],
96
+ f_payents: [{label: 'pos收费', value: '在线支付'}],
97
+ criteriaShow: false
98
+ }
99
+ },
100
+ ready () {
101
+ this.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
102
+ this.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
103
+ this.searchData()
104
+ },
105
+ methods: {
106
+ searchData () {
107
+ let queryData = ''
108
+ queryData = this.orgCondtionStr
109
+ for (let key in this.queryData) {
110
+ if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
111
+ if (Array.isArray(this.queryData[key])) {
112
+ let stringValue = ''
113
+ for (var i = 0; i < this.queryData[key].length; i++) {
114
+ if (i === this.queryData[key].length - 1) {
115
+ stringValue = stringValue + "'" + this.queryData[key][i] + "'"
116
+ } else {
117
+ stringValue = stringValue + "'" + this.queryData[key][i] + "',"
118
+ }
119
+ }
120
+ queryData = queryData + ' and t.' + key + ' in (' + stringValue + ')'
121
+ } else {
122
+ queryData = queryData + ' and t.' + key + ' = ' + "'" + this.queryData[key] + "'"
123
+ }
124
+ }
125
+ }
126
+ console.log(queryData)
127
+ // 重置url
128
+ this.url = ''
129
+ // encodeURIComponent是将该参数中的特殊符号进行编码,后端会进行解码
130
+ this.url = this.urlPrefix + '?condition=' + encodeURIComponent(queryData) +
131
+ '&startDate=' + encodeURIComponent(this.model.startDate) +
132
+ '&endDate=' + encodeURIComponent(this.model.endDate)
133
+ console.log('报表===' + queryData)
134
+ console.log('报表===>' + this.url)
135
+ this.isShow = true
136
+ },
137
+ load () {
138
+ this.isShow = true
139
+ },
140
+ getRes (obj) {
141
+ this.orgname = obj.res[0]
142
+ this.depresid = obj.resids
143
+ this.userresid = obj.resids
144
+ this.queryData.f_orgid = obj.resids
145
+ },
146
+ getdep (obj, val) {
147
+ this.depname = val[0]
148
+ this.userresid = obj
149
+ this.queryData.f_depid = obj
150
+ },
151
+ getuser (obj, val) {
152
+ this.operatorname = val[0]
153
+ this.queryData.f_operatorid = obj
154
+ },
155
+ hidden () {
156
+ this.criteriaShow = !this.criteriaShow
157
+ }
158
+ },
159
+ computed: {
160
+ }
161
+ }
162
+ </script>
163
+ <style scoped>
164
+ .noborder{
165
+ border: none;
166
+ }
167
+ .span{
168
+ height: 0;
169
+ }
170
+ .iframe_style{
171
+ border: medium none;
172
+ }
173
+ </style>