manage-client 3.3.1 → 3.3.2

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 (51) hide show
  1. package/build/dev-server.js +180 -180
  2. package/lib/package_2022-12-01-14-30-50.json +109 -0
  3. package/package.json +1 -1
  4. package/src/components/sale/businessquery/GroupChargeQuery.vue +481 -481
  5. package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +633 -633
  6. package/src/components/webmeter/recharge/RechargeList.vue +346 -346
  7. package/src/filiale/gehua/GroupChargeQuery.vue +486 -486
  8. package/src/filiale/huayin/ChargeQuery.vue +1305 -1305
  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/FillCardQuery.vue +569 -569
  14. package/src/filiale/shanxian/FillGasQuery.vue +588 -588
  15. package/src/filiale/shanxian/LostContactAnalysisList.vue +632 -632
  16. package/src/filiale/shanxian/OtherChargeQuery.vue +684 -684
  17. package/src/filiale/shanxian/UserLostContactAnalysis.vue +583 -583
  18. package/src/filiale/shanxian/UserQuery.vue +959 -959
  19. package/src/filiale/shanxian/sale.js +26 -26
  20. package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -704
  21. package/src/filiale/wenxi/ChangeUserQuery.vue +371 -371
  22. package/src/filiale/wenxi/ChargeQuery.vue +1260 -1260
  23. package/src/filiale/wenxi/FmyGasDeviceQuery.vue +944 -944
  24. package/src/filiale/wenxi/GasDeviceQuery.vue +1041 -1041
  25. package/src/filiale/wenxi/GasStatistics.vue +515 -515
  26. package/src/filiale/wenxi/GetNoMetereadData.vue +374 -374
  27. package/src/filiale/wenxi/HandplanQuery.vue +1370 -1370
  28. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  29. package/src/filiale/wenxi/MeterQuery.vue +964 -964
  30. package/src/filiale/wenxi/NewGasStatistics.vue +522 -522
  31. package/src/filiale/wenxi/RecordInfoQuery.vue +1213 -1213
  32. package/src/filiale/wenxi/WebHandQuery.vue +475 -475
  33. package/src/filiale/wenxi/config/exportConfig.js +916 -916
  34. package/src/filiale/wenxi/sale.js +24 -24
  35. package/src/filiale/wenxi/webmeterManage.js +13 -13
  36. package/src/filiale/xinkang/EchartsBox.vue +139 -139
  37. package/src/filiale/xinkang/ManageBrandHouseCount.vue +347 -347
  38. package/src/filiale/xinkang/NewGasStatistics.vue +526 -526
  39. package/src/filiale/xinkang/exportConfig.js +1998 -1998
  40. package/src/filiale/xinkang/meterFaultChangeSummary.vue +196 -196
  41. package/src/filiale/xinkang/reportManage.js +15 -15
  42. package/src/filiale/xinkang/sale.js +13 -13
  43. package/src/filiale/xinkang/webmeterManage.js +9 -9
  44. package/src/filiale/zhongyi/GasStatistics.vue +521 -521
  45. package/src/main.js +72 -66
  46. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  47. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  48. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  49. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  50. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  51. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
@@ -1,281 +1,281 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div novalidate class="form-horizontal select-overspread container-fluid auto">
5
- <div class="row">
6
- <div class="col-sm-5 form-group">
7
- <label class="font_normal_body">客户状态</label>
8
- <v-select :options='userstates' :value.sync="userState"
9
- close-on-select condition="ui.f_user_state='{}'" value-single
10
- placeholder='客户状态' v-model="userState"></v-select>
11
- </div>
12
- <div class="col-sm-7 form-group button-range">
13
- <button class="button_search button_spacing" @click="search()">查询</button>
14
- <export-excel :data="getCondition"
15
- :field="[]"
16
- :header="other"
17
- :footer="footer"
18
- sqlurl="rs/rcEasyExcel/rcAreaSummaryExport" sql-name="areaBuildingDetailInfo"
19
- template-name='小区楼栋信息汇总表'
20
- :choose-col="true"></export-excel>
21
- <button class="button_search button_spacing" @click="cancel()">返回</button>
22
- </div>
23
- </div>
24
- </div>
25
- <div class="my-table">
26
- <table class="table table-striped table-bordered" style="width: 100%;">
27
- <thead>
28
- <tr>
29
- <th style="white-space: nowrap;text-align:center">
30
- <nobr>小区名称</nobr>
31
- </th>
32
- <th style="white-space: nowrap;text-align:center">
33
- <nobr>楼栋数</nobr>
34
- </th>
35
- <th style="white-space: nowrap;text-align:center">
36
- <nobr>楼栋</nobr>
37
- </th>
38
- <th style="white-space: nowrap;text-align:center">
39
- <nobr>楼栋用户数</nobr>
40
- </th>
41
- <th style="white-space: nowrap;text-align:center">
42
- <nobr>地址状态</nobr>
43
- </th>
44
- <th style="white-space: nowrap;text-align:center">
45
- <nobr>分项用户数</nobr>
46
- </th>
47
- </tr>
48
- </thead>
49
- <tbody>
50
- <tr v-for="row in dataArray">
51
- <td style="white-space: nowrap;text-align:center"
52
- :rowspan="row.f_residential_areaspan" :class="{hidden: row.f_residential_areadis}">
53
- <nobr>{{ row.f_residential_area }}</nobr>
54
- </td>
55
- <td style="white-space: nowrap;text-align:center"
56
- :rowspan=" row.f_building_numspan" :class="{hidden: row.f_building_numdis}">
57
- <nobr>{{ row.f_building_num }}</nobr>
58
- </td>
59
- <td style="white-space: nowrap;text-align:center"
60
- :rowspan="row.f_buildingspan" :class="{hidden: row.f_buildingdis}">
61
- <nobr>{{ row.f_building }}</nobr>
62
- </td>
63
- <td style="white-space: nowrap;text-align:center"
64
- :rowspan=" row.f_user_numspan" :class="{hidden: row.f_user_numdis}">
65
- <nobr>{{ row.f_user_num }}</nobr>
66
- </td>
67
- <td style="white-space: nowrap;text-align:center">
68
- <nobr>{{ row.f_address_state }}</nobr>
69
- </td>
70
- <td style="white-space: nowrap;text-align:center">
71
- <nobr>{{ row.f_num }}</nobr>
72
- </td>
73
- </tr>
74
- </tbody>
75
- </table>
76
- </div>
77
-
78
-
79
- <table class="table-hover">
80
- <tr style="position: relative" class="table-bordered">
81
- <td
82
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
83
- {{ sumsmodel.f_residential_area }}汇总信息
84
- </td>
85
- <td
86
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
87
- 小区总用户数:&emsp;{{ (sumsmodel.f_user_num) }}
88
- </td>
89
- <td
90
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
91
- 已开户用户数:&emsp;{{ (sumsmodel.f_open_num) }}
92
- </td>
93
- <td
94
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
95
- 已通气用户数:&emsp;{{ (sumsmodel.f_gas_num) }}
96
- </td>
97
- <td
98
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
99
- 未通气用户数:&emsp;{{ (sumsmodel.f_nogas_num) }}
100
- </td>
101
- <td
102
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
103
- 空户用户数:&emsp;{{ (sumsmodel.f_empty_num) }}
104
- </td>
105
- </tr>
106
- </table>
107
- </div>
108
- </div>
109
- </template>
110
-
111
- <script>
112
- import defaultPrint from '../../components/sale/config/DefaultPrint'
113
- import exportConfig from './exportConfig'
114
-
115
- export default {
116
- title: '小区信息详情',
117
- data () {
118
- return {
119
- other: [],
120
- footer: [],
121
- conditionStr: '1=1',
122
- defaultfield: [],
123
- config: {
124
- defaultPrint: []
125
- },
126
- // 合计数据
127
- sumsmodel: {},
128
- criteriaShow: false,
129
- dataArray: [],
130
- len: 0
131
- }
132
- },
133
- props: {
134
- row: {
135
- type: Object
136
- },
137
- userState: {
138
- type: String
139
- }
140
- },
141
- ready () {
142
- this.search()
143
- },
144
- methods: {
145
- getotherfooter () {
146
- this.other = []
147
- this.footer = []
148
- let otherInData = []
149
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
150
- let footerData = [], exportfield = this.getExportField
151
- footerData.push('合计')
152
- let self = this
153
- for (var field in self.sumsmodel) {
154
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
155
- }
156
- this.footer.push(footerData)
157
- this.other.push(otherInData)
158
- },
159
- search () {
160
- if (this.conditionStr === '1=1') {
161
- if (this.userState) {
162
- this.conditionStr = '1=1 and ui.f_user_state=' + '\'' + this.userState + '\''
163
- }
164
- }
165
- this.getData()
166
- },
167
- combineCell (list) {
168
- for (let field in list[0]) {
169
- let k = 0
170
- while (k < list.length) {
171
- list[k][field + 'span'] = 1
172
- list[k][field + 'dis'] = false
173
- let i
174
- for (i = k + 1; i <= list.length - 1; i++) {
175
- if (list[k][field] === list[i][field] && list[k][field] !== '') {
176
- list[k][field + 'span']++
177
- list[k][field + 'dis'] = false
178
- list[i][field + 'span'] = 1
179
- list[i][field + 'dis'] = true
180
- } else {
181
- break
182
- }
183
- }
184
- k = i
185
- }
186
- }
187
- return list
188
- },
189
- selfSearch (args) {
190
- this.conditionStr = args.condition
191
- args.model.parentRow = this.row
192
- this.getData()
193
- },
194
- getData () {
195
- let data = {
196
- parentRow: this.row,
197
- condition: this.conditionStr
198
- }
199
- this.$resetpost('rs/logic/areaBuildingDetailInfo', {data: data}, {resolveMsg: null, rejectMsg: '获取小区详细信息出错!!'})
200
- .then(res => {
201
- this.dataArray = this.combineCell(res.data.data)
202
- this.sumsValues()
203
- })
204
- },
205
- sumsValues () {
206
- let data = {
207
- f_user_num: 0,
208
- f_open_num: 0,
209
- f_gas_num: 0,
210
- f_nogas_num: 0,
211
- f_empty_num: 0
212
- }
213
- data.f_user_num = this.row.f_user_num
214
- data.f_open_num = this.row.f_open_num
215
- data.f_gas_num = this.row.f_gas_num
216
- data.f_nogas_num = this.row.f_nogas_num
217
- data.f_empty_num = this.row.f_empty_num
218
- this.sumsmodel = data
219
- },
220
- cancel () {
221
- this.$dispatch('clean')
222
- },
223
- showmsg (obj) {
224
- this.rowdata = obj
225
- this.show = true
226
- },
227
- print () {
228
- this.$refs.print.PrintAsFile()
229
- this.printshow = false
230
- }
231
- },
232
- watch: {
233
- 'row' (val) {
234
- console.log('看看传进来的值:' + val)
235
- this.row = val
236
- if (val) {
237
- this.search()
238
- }
239
- },
240
- sumsmodel: {
241
- handler: function (val) {
242
- this.getotherfooter()
243
- },
244
- deep: true
245
- },
246
- 'modelval.length' () {
247
- this.put()
248
- }
249
- },
250
- computed: {
251
- getCondition () {
252
- return {condition: this.conditionStr, parentRow: this.row}
253
- },
254
- getfield () {
255
- let data = {}
256
- this.bodyData.forEach((value, index) => {
257
- data[this.bodyData[index]] = this.headData[index]
258
- })
259
- },
260
-
261
- userstates () {
262
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
263
- },
264
- getExportField () {
265
- return exportConfig.areaBuildingInfoSum
266
- }
267
- }
268
- }
269
- </script>
270
- <style>
271
- .my-table {
272
- width: 100%;
273
- max-height: 90%; /* 设置最大高度 */
274
- overflow-y: auto; /* 添加垂直滚动条 */
275
- }
276
-
277
- .my-table thead th {
278
- position: sticky;
279
- top: 0;
280
- }
281
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto">
5
+ <div class="row">
6
+ <div class="col-sm-5 form-group">
7
+ <label class="font_normal_body">客户状态</label>
8
+ <v-select :options='userstates' :value.sync="userState"
9
+ close-on-select condition="ui.f_user_state='{}'" value-single
10
+ placeholder='客户状态' v-model="userState"></v-select>
11
+ </div>
12
+ <div class="col-sm-7 form-group button-range">
13
+ <button class="button_search button_spacing" @click="search()">查询</button>
14
+ <export-excel :data="getCondition"
15
+ :field="[]"
16
+ :header="other"
17
+ :footer="footer"
18
+ sqlurl="rs/rcEasyExcel/rcAreaSummaryExport" sql-name="areaBuildingDetailInfo"
19
+ template-name='小区楼栋信息汇总表'
20
+ :choose-col="true"></export-excel>
21
+ <button class="button_search button_spacing" @click="cancel()">返回</button>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ <div class="my-table">
26
+ <table class="table table-striped table-bordered" style="width: 100%;">
27
+ <thead>
28
+ <tr>
29
+ <th style="white-space: nowrap;text-align:center">
30
+ <nobr>小区名称</nobr>
31
+ </th>
32
+ <th style="white-space: nowrap;text-align:center">
33
+ <nobr>楼栋数</nobr>
34
+ </th>
35
+ <th style="white-space: nowrap;text-align:center">
36
+ <nobr>楼栋</nobr>
37
+ </th>
38
+ <th style="white-space: nowrap;text-align:center">
39
+ <nobr>楼栋用户数</nobr>
40
+ </th>
41
+ <th style="white-space: nowrap;text-align:center">
42
+ <nobr>地址状态</nobr>
43
+ </th>
44
+ <th style="white-space: nowrap;text-align:center">
45
+ <nobr>分项用户数</nobr>
46
+ </th>
47
+ </tr>
48
+ </thead>
49
+ <tbody>
50
+ <tr v-for="row in dataArray">
51
+ <td style="white-space: nowrap;text-align:center"
52
+ :rowspan="row.f_residential_areaspan" :class="{hidden: row.f_residential_areadis}">
53
+ <nobr>{{ row.f_residential_area }}</nobr>
54
+ </td>
55
+ <td style="white-space: nowrap;text-align:center"
56
+ :rowspan=" row.f_building_numspan" :class="{hidden: row.f_building_numdis}">
57
+ <nobr>{{ row.f_building_num }}</nobr>
58
+ </td>
59
+ <td style="white-space: nowrap;text-align:center"
60
+ :rowspan="row.f_buildingspan" :class="{hidden: row.f_buildingdis}">
61
+ <nobr>{{ row.f_building }}</nobr>
62
+ </td>
63
+ <td style="white-space: nowrap;text-align:center"
64
+ :rowspan=" row.f_user_numspan" :class="{hidden: row.f_user_numdis}">
65
+ <nobr>{{ row.f_user_num }}</nobr>
66
+ </td>
67
+ <td style="white-space: nowrap;text-align:center">
68
+ <nobr>{{ row.f_address_state }}</nobr>
69
+ </td>
70
+ <td style="white-space: nowrap;text-align:center">
71
+ <nobr>{{ row.f_num }}</nobr>
72
+ </td>
73
+ </tr>
74
+ </tbody>
75
+ </table>
76
+ </div>
77
+
78
+
79
+ <table class="table-hover">
80
+ <tr style="position: relative" class="table-bordered">
81
+ <td
82
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
83
+ {{ sumsmodel.f_residential_area }}汇总信息
84
+ </td>
85
+ <td
86
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
87
+ 小区总用户数:&emsp;{{ (sumsmodel.f_user_num) }}
88
+ </td>
89
+ <td
90
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
91
+ 已开户用户数:&emsp;{{ (sumsmodel.f_open_num) }}
92
+ </td>
93
+ <td
94
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
95
+ 已通气用户数:&emsp;{{ (sumsmodel.f_gas_num) }}
96
+ </td>
97
+ <td
98
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
99
+ 未通气用户数:&emsp;{{ (sumsmodel.f_nogas_num) }}
100
+ </td>
101
+ <td
102
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
103
+ 空户用户数:&emsp;{{ (sumsmodel.f_empty_num) }}
104
+ </td>
105
+ </tr>
106
+ </table>
107
+ </div>
108
+ </div>
109
+ </template>
110
+
111
+ <script>
112
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
113
+ import exportConfig from './exportConfig'
114
+
115
+ export default {
116
+ title: '小区信息详情',
117
+ data () {
118
+ return {
119
+ other: [],
120
+ footer: [],
121
+ conditionStr: '1=1',
122
+ defaultfield: [],
123
+ config: {
124
+ defaultPrint: []
125
+ },
126
+ // 合计数据
127
+ sumsmodel: {},
128
+ criteriaShow: false,
129
+ dataArray: [],
130
+ len: 0
131
+ }
132
+ },
133
+ props: {
134
+ row: {
135
+ type: Object
136
+ },
137
+ userState: {
138
+ type: String
139
+ }
140
+ },
141
+ ready () {
142
+ this.search()
143
+ },
144
+ methods: {
145
+ getotherfooter () {
146
+ this.other = []
147
+ this.footer = []
148
+ let otherInData = []
149
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
150
+ let footerData = [], exportfield = this.getExportField
151
+ footerData.push('合计')
152
+ let self = this
153
+ for (var field in self.sumsmodel) {
154
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
155
+ }
156
+ this.footer.push(footerData)
157
+ this.other.push(otherInData)
158
+ },
159
+ search () {
160
+ if (this.conditionStr === '1=1') {
161
+ if (this.userState) {
162
+ this.conditionStr = '1=1 and ui.f_user_state=' + '\'' + this.userState + '\''
163
+ }
164
+ }
165
+ this.getData()
166
+ },
167
+ combineCell (list) {
168
+ for (let field in list[0]) {
169
+ let k = 0
170
+ while (k < list.length) {
171
+ list[k][field + 'span'] = 1
172
+ list[k][field + 'dis'] = false
173
+ let i
174
+ for (i = k + 1; i <= list.length - 1; i++) {
175
+ if (list[k][field] === list[i][field] && list[k][field] !== '') {
176
+ list[k][field + 'span']++
177
+ list[k][field + 'dis'] = false
178
+ list[i][field + 'span'] = 1
179
+ list[i][field + 'dis'] = true
180
+ } else {
181
+ break
182
+ }
183
+ }
184
+ k = i
185
+ }
186
+ }
187
+ return list
188
+ },
189
+ selfSearch (args) {
190
+ this.conditionStr = args.condition
191
+ args.model.parentRow = this.row
192
+ this.getData()
193
+ },
194
+ getData () {
195
+ let data = {
196
+ parentRow: this.row,
197
+ condition: this.conditionStr
198
+ }
199
+ this.$resetpost('rs/logic/areaBuildingDetailInfo', {data: data}, {resolveMsg: null, rejectMsg: '获取小区详细信息出错!!'})
200
+ .then(res => {
201
+ this.dataArray = this.combineCell(res.data.data)
202
+ this.sumsValues()
203
+ })
204
+ },
205
+ sumsValues () {
206
+ let data = {
207
+ f_user_num: 0,
208
+ f_open_num: 0,
209
+ f_gas_num: 0,
210
+ f_nogas_num: 0,
211
+ f_empty_num: 0
212
+ }
213
+ data.f_user_num = this.row.f_user_num
214
+ data.f_open_num = this.row.f_open_num
215
+ data.f_gas_num = this.row.f_gas_num
216
+ data.f_nogas_num = this.row.f_nogas_num
217
+ data.f_empty_num = this.row.f_empty_num
218
+ this.sumsmodel = data
219
+ },
220
+ cancel () {
221
+ this.$dispatch('clean')
222
+ },
223
+ showmsg (obj) {
224
+ this.rowdata = obj
225
+ this.show = true
226
+ },
227
+ print () {
228
+ this.$refs.print.PrintAsFile()
229
+ this.printshow = false
230
+ }
231
+ },
232
+ watch: {
233
+ 'row' (val) {
234
+ console.log('看看传进来的值:' + val)
235
+ this.row = val
236
+ if (val) {
237
+ this.search()
238
+ }
239
+ },
240
+ sumsmodel: {
241
+ handler: function (val) {
242
+ this.getotherfooter()
243
+ },
244
+ deep: true
245
+ },
246
+ 'modelval.length' () {
247
+ this.put()
248
+ }
249
+ },
250
+ computed: {
251
+ getCondition () {
252
+ return {condition: this.conditionStr, parentRow: this.row}
253
+ },
254
+ getfield () {
255
+ let data = {}
256
+ this.bodyData.forEach((value, index) => {
257
+ data[this.bodyData[index]] = this.headData[index]
258
+ })
259
+ },
260
+
261
+ userstates () {
262
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
263
+ },
264
+ getExportField () {
265
+ return exportConfig.areaBuildingInfoSum
266
+ }
267
+ }
268
+ }
269
+ </script>
270
+ <style>
271
+ .my-table {
272
+ width: 100%;
273
+ max-height: 90%; /* 设置最大高度 */
274
+ overflow-y: auto; /* 添加垂直滚动条 */
275
+ }
276
+
277
+ .my-table thead th {
278
+ position: sticky;
279
+ top: 0;
280
+ }
281
+ </style>