sale-client 4.2.83 → 4.2.84

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 (49) hide show
  1. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  2. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  3. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  4. package/package.json +1 -1
  5. package/src/components/FilesManage/addressts/FileUserFilests.vue +671 -0
  6. package/src/components/FilesManage/ncUserinfoList.vue +315 -0
  7. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +107 -0
  8. package/src/components/SendCard/SendCardData.vue +208 -0
  9. package/src/components/accounts/accountAdd.vue +276 -0
  10. package/src/components/accounts/accountsList.vue +183 -0
  11. package/src/components/accounts/accountsManage.vue +87 -0
  12. package/src/components/common/chargeinfo/chargeinfo.vue +55 -0
  13. package/src/components/common/userinfo_detail/config/exportConfig.js +85 -0
  14. package/src/components/ncarchives/ncArchivesAdd.vue +468 -0
  15. package/src/components/ncarchives/ncArchivesList.vue +159 -0
  16. package/src/components/ncarchives/ncUserfilesList.vue +373 -0
  17. package/src/components/ncarchives/ncarchivesmanage.vue +80 -0
  18. package/src/components/revenue/IOTArrears/arrears.vue +323 -0
  19. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +369 -0
  20. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +59 -0
  21. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +59 -0
  22. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +73 -0
  23. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +73 -0
  24. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +199 -0
  25. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +24 -0
  26. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +24 -0
  27. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +185 -0
  28. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +185 -0
  29. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +356 -0
  30. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +148 -0
  31. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +136 -0
  32. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +65 -0
  33. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +483 -0
  34. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +279 -0
  35. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +265 -0
  36. package/src/components/thirdapply/thirdAdd.vue +289 -0
  37. package/src/components/thirdapply/thirdList.vue +162 -0
  38. package/src/components/thirdapply/thirdManage.vue +74 -0
  39. package/src/components/webMeter/InstructQuery.vue +414 -0
  40. package/src/components/webMeter/ParamSet/ParamSet.vue +556 -0
  41. package/src/components/webMeter/ParamSet/ParamSetForm.vue +296 -0
  42. package/src/components/webMeter/WebUserHand.vue +483 -0
  43. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +509 -0
  44. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +48 -0
  45. package/src/components/webMeter/webManage/NewMeterList.vue +461 -0
  46. package/src/filiale/yuncheng/ChangeMeter.vue +1 -0
  47. package/src/filiale/yuncheng/FileManageService.js +469 -469
  48. package/src/plugins/FileManageServicets.js +214 -0
  49. package/src/plugins/GetImg.js +53 -0
@@ -0,0 +1,461 @@
1
+ <template>
2
+ <div class="flex">
3
+ <div @keyup.enter="search" class="height:auto">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row" >
8
+ <div class="col-sm-2">
9
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
10
+ <right-tree @re-res="$parent.$parent.getorg"
11
+ :initresid='$parent.$parent.org'></right-tree>
12
+ </div>
13
+ <div class="col-sm-2">
14
+ <label class="font_normal_body">客户编号</label>
15
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
16
+ v-model="model.f_userinfo_code"
17
+ placeholder='客户编号'
18
+ condition="t1.f_userinfo_code like '{}%'"
19
+ >
20
+ </div>
21
+ <div class="col-sm-2">
22
+ <label class="font_normal_body">客户名称</label>
23
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
24
+ v-model="model.f_user_name"
25
+ placeholder='客户名称'
26
+ condition="t1.f_user_name like '%{}%'"
27
+ >
28
+ </div>
29
+ <div class="col-sm-2">
30
+ <label class="font_normal_body">客户地址</label>
31
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
32
+ v-model="model.f_address"
33
+ placeholder='客户地址'
34
+ :size="model.f_address ? model.f_address.length : 6"
35
+ condition="t2.f_address like '%{}%'"
36
+ >
37
+ </div>
38
+
39
+
40
+ <div style="float:right">
41
+ <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
43
+ <export-excel
44
+ :data="{condition: $parent.$parent.condition}"
45
+ :field="$parent.$parent.getfield"
46
+ sqlurl="rs/logic/saleExport" sql-name="iot_getNewMeterBrandAndModel1" template-name='表具查询'
47
+ :choose-col="true"></export-excel>
48
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
49
+ </div>
50
+ </div>
51
+
52
+ <div class="row" v-show="$parent.$parent.criteriaShow">
53
+ <div class="col-sm-2">
54
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
55
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
56
+ v-model="model.f_meternumber"
57
+ placeholder='表号'
58
+ condition="t1.f_meternumber like '%{}%'">
59
+ </div>
60
+ <div class="col-sm-2">
61
+ <label class="font_normal_body">客户类型</label>
62
+ <v-select
63
+ placeholder='客户类型'
64
+ value-single="true"
65
+ style="width:60%"
66
+ :value.sync="model.f_user_type"
67
+ v-model="model.f_user_type"
68
+ :options='$parent.$parent.Gasusertype'
69
+ close-on-select condition="t1.f_user_type ='{}'">
70
+ </v-select>
71
+ </div>
72
+
73
+ <div class="col-sm-2">
74
+ <label class="font_normal_body">用气性质</label>
75
+ <v-select
76
+ placeholder='用气性质'
77
+ value-single="true"
78
+ :value.sync="model.f_gasproperties"
79
+ style="width:60%"
80
+ v-model="model.f_gasproperties"
81
+ :options='$parent.$parent.Gasproperties'
82
+ close-on-select condition="t1.f_gasproperties ='{}'">
83
+ </v-select>
84
+ </div>
85
+ <div class="col-sm-2">
86
+ <label class="font_normal_body">气表状态</label>
87
+ <v-select
88
+ placeholder='气表状态'
89
+ :value.sync="model.f_table_state"
90
+ style="width:60%"
91
+ v-model="model.f_table_state"
92
+ :options='$parent.$parent.TableStates'
93
+ close-on-select
94
+ condition="t1.f_table_state='{}'">
95
+ </v-select>
96
+ </div>
97
+ <div class="col-sm-2">
98
+ <label class="font_normal_body">阀门状态</label>
99
+ <v-select
100
+ placeholder='阀门状态'
101
+ value-single="true"
102
+ style="width:60%"
103
+ :value.sync="model.f_valvestate"
104
+ v-model="model.f_valvestate"
105
+ :options='$parent.$parent.ValveState'
106
+ close-on-select condition="t1.f_valvestate ='{}'">
107
+ </v-select>
108
+ </div>
109
+ <div class="col-sm-2">
110
+ <label class="font_normal_body">气表品牌</label>
111
+ <v-select
112
+ placeholder='气表品牌'
113
+
114
+ :value.sync="model.f_gasbrand"
115
+ style="width:60%"
116
+ v-model="model.f_gasbrand"
117
+ :options='$parent.$parent.meterbrand'
118
+ close-on-select
119
+ condition="t1.f_meter_brand='{}'">
120
+ </v-select>
121
+ </div>
122
+ <div class="col-sm-2" >
123
+ <label class="font_normal_body" >开始时间</label>
124
+ <datepicker style="width:60%" placeholder="通气起始时间"
125
+ :value.sync="model.startDate"
126
+ v-model="model.startDate"
127
+ :format="'yyyy-MM-dd 00:00:00'"
128
+ condition="t1.f_gas_date >= '{}'"
129
+ ></datepicker>
130
+ </div>
131
+ <div class="col-sm-2" >
132
+ <label class="font_normal_body" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
133
+ <datepicker style="width:60%" placeholder="通气结束时间"
134
+ :value.sync="model.endDate"
135
+ v-model="model.endDate"
136
+ :format="'yyyy-MM-dd 23:59:59'"
137
+ condition="t1.f_gas_date <= '{}'"
138
+ ></datepicker>
139
+ </div>
140
+
141
+ </div>
142
+
143
+ </div>
144
+ </criteria>
145
+
146
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
147
+ <template partial='head'>
148
+ <tr>
149
+ <th style="text-align:center">
150
+ <nobr>序号</nobr>
151
+ </th>
152
+ <th style="text-align:center">
153
+ <nobr>客户编号</nobr>
154
+ </th>
155
+ <th style="text-align:center">
156
+ <nobr>客户名称</nobr>
157
+ </th>
158
+ <th style="text-align:center">
159
+ <nobr>客户地址</nobr>
160
+ </th>
161
+ <th style="text-align:center;color:#3c763d">
162
+ <nobr>表号</nobr>
163
+ </th>
164
+ <th style="text-align:center;color:#3c763d">
165
+ <nobr>通气时间</nobr>
166
+ </th>
167
+ <th style="text-align:center">
168
+ <nobr>气表品牌</nobr>
169
+ </th>
170
+ <th style="text-align:center">
171
+ <nobr>壁挂炉</nobr>
172
+ </th>
173
+ <th style="text-align:center">
174
+ <nobr>热水器</nobr>
175
+ <th style="text-align:center">
176
+ <nobr>气表读数</nobr>
177
+ </th>
178
+ <th style="text-align:center">
179
+ <nobr>累购金额</nobr>
180
+ </th>
181
+ <th style="text-align:center">
182
+ <nobr>表上余额</nobr>
183
+ </th>
184
+ <th style="text-align:center">
185
+ <nobr>阀门状态</nobr>
186
+ </th>
187
+ <th style="text-align:center">
188
+ <nobr>信号强度</nobr>
189
+ </th>
190
+ <th style="text-align:center">
191
+ <nobr>电压</nobr>
192
+ </th>
193
+ <th style="text-align:center">
194
+ <nobr>磁干扰</nobr>
195
+ </th>
196
+ <th style="text-align:center">
197
+ <nobr>组织机构</nobr>
198
+ </th>
199
+ </tr>
200
+ </template>
201
+ <template partial='body'>
202
+ <tr>
203
+ <td style="text-align:center">
204
+ <nobr>{{$index+1}}</nobr>
205
+ </td>
206
+ <td style="text-align:center">
207
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
208
+ </td>
209
+ <td style="text-align:center">
210
+ <nobr>{{row.f_user_name}}</nobr>
211
+ </td>
212
+ <td>
213
+ <nobr>{{row.f_address}}</nobr>
214
+ </td>
215
+ <td style="text-align:center;color:#3c763d" >
216
+ <nobr>
217
+ {{row.f_meternumber}}
218
+ </nobr>
219
+ </td>
220
+ <td style="text-align:center;color:#3c763d" >
221
+ <nobr>
222
+ {{row.f_gas_date}}
223
+ </nobr>
224
+ </td>
225
+ <td style="text-align:center">
226
+ <nobr>{{row.f_meter_brand}}</nobr>
227
+ </td>
228
+ <td style="text-align:center">{{row.f_has_stove}}</td>
229
+ <td style="text-align:center">{{row.f_has_heater}}</td>
230
+ <td style="text-align:center">
231
+ <nobr>{{row.f_meter_base}}</nobr>
232
+ </td>
233
+ <td style="text-align:center">
234
+ <nobr>{{row.f_total_fee}}</nobr>
235
+ </td>
236
+ <td style="text-align:center">
237
+ <nobr>{{row.f_balance_amount}}</nobr>
238
+ </td>
239
+ <td style="text-align:center">
240
+ <nobr>{{row.f_valvestate}}</nobr>
241
+ </td>
242
+ <td style="text-align:center">
243
+ <nobr>{{row.f_signal}}</nobr>
244
+ </td>
245
+ <td style="text-align:center">
246
+ <nobr>{{isNaN(parseFloat(row.f_batterylevel))?'':parseFloat(row.f_batterylevel)}}</nobr>
247
+ </td>
248
+ <td style="text-align:center">
249
+ <nobr>{{row.f_magneticInterference}}</nobr>
250
+ </td>
251
+ <td style="text-align:center">
252
+ <nobr>{{row.f_orgname}}</nobr>
253
+ </td>
254
+ </tr>
255
+ </template>
256
+ </data-grid>
257
+ </criteria-paged>
258
+ </div>
259
+ </div>
260
+ </template>
261
+ <script>
262
+ import {PagedList} from 'vue-client'
263
+ let readyGen = async function (self) {
264
+ await self.$LoadParams.loadParam(self.$login.f.orgid)
265
+ self.initQueryParam()
266
+ await self.$getConfig(self, 'HandManager')
267
+ console.log('表具管理config', self.config)
268
+ self.getfield = self.config.excelHeaders
269
+ // self.reflash()
270
+ }
271
+ export default {
272
+ title: '表具查询',
273
+ data() {
274
+ return {
275
+ model: new PagedList('rs/sql/iot_getNewMeterBrandAndModel1', 50),
276
+ row: null,
277
+ meterbrand: [],
278
+ searchshow: false,
279
+ orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
280
+ getfield: {},
281
+ org:[this.$login.f.orgid],
282
+ criteriaShow:false,
283
+ config: {
284
+ excelHeaders: {
285
+ 'f_userinfo_code': '客户编号','f_user_name': '客户名称','f_address': '客户地址','f_gas_date': '通气时间',
286
+ 'f_meternumber': '表号','f_meter_brand': '气表品牌','f_has_stove': '壁挂炉','f_has_heater': '热水器','f_meter_base': '气表底数',
287
+ 'f_total_fee': '累购金额','f_balance_amount': '表上余额', 'f_valvestate': '阀门状态',
288
+ 'f_signal': '信号强度','f_batteryLevel': '电压','f_magneticInterference': '磁干扰',
289
+ 'f_orgname': '组织机构'
290
+ }
291
+ },
292
+ condition:'f_filialeid = ' + this.$login.f.orgid,
293
+ WarningType: [
294
+ {label: '全部', value: ''}
295
+ ],
296
+ Warningstyle: [
297
+ {label: '全部', value: ''}
298
+ ],
299
+
300
+ Warningstyles: [
301
+ {label: '全部', value: ''}
302
+ ],
303
+ styles: false,
304
+ softVwareersion: [],
305
+ Gasusertype: [],
306
+ Gasproperties:[],
307
+ // Gasproperties: this.$refs.paged.$refs.criteria.model.f_user_type.length === 1 ? this.$appdata.getParam(this.model.f_user_type[0]) : [],
308
+ Gasproperties2: [],
309
+ f_signal_1: '',
310
+ f_signal_2: '',
311
+ str: '',
312
+ isBusy: false,
313
+ f_batterylevel_1: 0,
314
+ f_batterylevel_2: 0,
315
+ f_orgid_new: this.$login.f.orgid
316
+ }
317
+ },
318
+ props: ['searchobj', 'isdeal'],
319
+ ready() {
320
+ //初始化气表品牌下拉框
321
+ //初始化客户类型,用气性质,用气属性,软件版本号下拉框
322
+ readyGen(this)
323
+ this.$refs.paged.$refs.criteria.model.f_table_state=['正常']
324
+ // this.$refs.paged.$refs.criteria.search()
325
+ },
326
+ watch: {
327
+ 'searchobj'(val) {
328
+ if (this.searchobj != null) {
329
+ this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
330
+ this.$refs.paged.$refs.criteria.search()
331
+ }
332
+ },
333
+
334
+ },
335
+ methods: {
336
+ hidden(){
337
+ this.criteriaShow = !this.criteriaShow
338
+ },
339
+ clearmsg() {
340
+ this.$refs.paged.$refs.criteria.model = {}
341
+ },
342
+ clickshow() {
343
+ this.searchshow = !this.searchshow
344
+ },
345
+ dealmsg(val) {
346
+ val.model = this.model.model
347
+ this.$emit('deal-msg', val)
348
+ },
349
+ async search(args) {
350
+ this.isBusy = true
351
+ if(args.condition == null){
352
+ return;
353
+ }
354
+ args.condition = `${args.condition} `+this.orgcondition
355
+ this.condition=args.condition
356
+ this.model.search(args.condition, args.model)
357
+ if(this.f_orgid_new == '' || this.f_orgid_new == null){
358
+ await this.$LoadParams.loadParam(this.$login.f.orgid)
359
+ }else{
360
+ await this.$LoadParams.loadParam(this.f_orgid_new)
361
+ }
362
+ this.initQueryParam();
363
+ },
364
+ getorg(obj) {
365
+ if (obj.resids.length>0) {
366
+ this.orgcondition = " and t1.f_filialeid in " + this.$login.convertToIn(obj.resids)
367
+ if(obj.resids instanceof Array){
368
+ this.f_orgid_new = obj.resids[0]
369
+ }else{
370
+ this.f_orgid_new = obj.resids
371
+ }
372
+ }else
373
+ {
374
+ this.orgcondition = " and t1.f_filialeid = " + this.$login.f.orgid
375
+ }
376
+ },
377
+
378
+ userTypeChange () {
379
+ this.gasproperties = []
380
+ if (this.model.f_user_type.length === 1) {
381
+ if (this.model.f_user_type[0]) {
382
+ this.gasproperties = this.$appdata.getParam(this.model.f_user_type[0])
383
+ } else {
384
+ this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
385
+ }
386
+ }
387
+ },
388
+ initQueryParam () {
389
+ let arr = []
390
+ this.$GetSaleParam.getGasbrand().forEach((item) => {
391
+ let temp = {}
392
+ if(item.value.f_meter_type==='物联网表'){
393
+ temp.label = item.label
394
+ temp.value = item.value.f_meter_brand
395
+ arr.push(temp )
396
+ }
397
+
398
+ })
399
+ this.meterbrand = [{label: '全部', value: ''}, ...arr]
400
+ }
401
+ },
402
+ computed: {
403
+ /* Warningstyle () {
404
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('燃气表型号')]
405
+ },*/
406
+ MeterTypes() {
407
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
408
+ },
409
+ TableStates() {
410
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
411
+ },
412
+ Gasproperties() {
413
+ let rs = []
414
+ if (this.model.model.f_user_type) {
415
+ rs = this.$appdata.getParam(this.model.model.f_user_type[0])
416
+ }
417
+ return rs
418
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
419
+ },
420
+ ValveState() {
421
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
422
+ },
423
+ Gasusertype() {
424
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
425
+ },
426
+ signtype1() {
427
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
428
+ },
429
+ parameterState() {
430
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
431
+ },
432
+ userfilesState() {
433
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报状态')]
434
+ },
435
+ /*softVwareersion() {
436
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('软件版本号')]
437
+ },*/
438
+ valvestate() {
439
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
440
+ },
441
+ meterbrands() {
442
+ return this.$GetSaleParam.getGasbrand()
443
+ }
444
+ }
445
+ }
446
+ </script>
447
+ <style>
448
+ /*.form-input-group label {*/
449
+ /* text-align: right;*/
450
+ /* width: auto;*/
451
+ /*}*/
452
+
453
+ .datapanel {
454
+ color: #333;
455
+ background-color: white;
456
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
457
+ padding: 10px 30px 10px 30px;
458
+ border-radius: 15px;
459
+ }
460
+ </style>
461
+
@@ -246,6 +246,7 @@
246
246
  </div>
247
247
  <div v-if="config.aroundmeter" class="col-sm-4 form-group" :class="[$v.f_newaroundmeter.required ? 'has-error' : '']">
248
248
  <label class="font_normal_body">新表表向</label>
249
+ <input type="text" v-show="false" v-model="model.f_newaroundmeter" v-validate:f_newaroundmeter='{required: true }'>
249
250
  <v-select :value.sync="model.f_newaroundmeter" :options='aroundmeters' placeholder='新表表向'
250
251
  :value-single="true"
251
252
  close-on-select