sale-client 4.2.81 → 4.2.82

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 (95) hide show
  1. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/5.2.1/gc.properties +0 -0
  4. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  6. package/.gradle/vcs-1/gc.properties +0 -0
  7. package/build/dev-server.js +30 -52
  8. package/index.html +2 -7
  9. package/package.json +1 -1
  10. package/src/App.vue +1 -1
  11. package/src/components/FilesManage/addressts/FileUserFilests.vue +671 -0
  12. package/src/components/FilesManage/ncUserinfoList.vue +315 -0
  13. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +107 -0
  14. package/src/components/SendCard/SendCardData.vue +208 -0
  15. package/src/components/accounts/accountAdd.vue +276 -0
  16. package/src/components/accounts/accountsList.vue +183 -0
  17. package/src/components/accounts/accountsManage.vue +87 -0
  18. package/src/components/common/chargeinfo/chargeinfo.vue +55 -0
  19. package/src/components/common/userinfo_detail/config/exportConfig.js +85 -0
  20. package/src/components/ncarchives/ncArchivesAdd.vue +468 -0
  21. package/src/components/ncarchives/ncArchivesList.vue +159 -0
  22. package/src/components/ncarchives/ncUserfilesList.vue +373 -0
  23. package/src/components/ncarchives/ncarchivesmanage.vue +80 -0
  24. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  25. package/src/components/revenue/IOTArrears/arrears.vue +323 -0
  26. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +369 -0
  27. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +59 -0
  28. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +59 -0
  29. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +73 -0
  30. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +73 -0
  31. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +199 -0
  32. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +24 -0
  33. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +24 -0
  34. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +185 -0
  35. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +185 -0
  36. package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +2 -0
  37. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  38. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +356 -0
  39. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +148 -0
  40. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  41. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +136 -0
  42. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  43. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +65 -0
  44. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +483 -0
  45. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +279 -0
  46. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +265 -0
  47. package/src/components/thirdapply/thirdAdd.vue +289 -0
  48. package/src/components/thirdapply/thirdList.vue +162 -0
  49. package/src/components/thirdapply/thirdManage.vue +74 -0
  50. package/src/components/webMeter/InstructQuery.vue +414 -0
  51. package/src/components/webMeter/ParamSet/ParamSet.vue +556 -0
  52. package/src/components/webMeter/ParamSet/ParamSetForm.vue +296 -0
  53. package/src/components/webMeter/WebUserHand.vue +483 -0
  54. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +509 -0
  55. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +48 -0
  56. package/src/components/webMeter/webManage/NewMeterList.vue +461 -0
  57. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  58. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  59. package/src/filiale/bayan/StockListmain.vue +543 -543
  60. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  61. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  62. package/src/filiale/bazhong/sale.js +8 -8
  63. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  64. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  65. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  66. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  67. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  68. package/src/filiale/ronghao/CardService.js +2144 -2144
  69. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  70. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  71. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  72. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  73. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  74. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  75. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  76. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  77. package/src/filiale/ronghao/Upload.vue +654 -654
  78. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  79. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  80. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  81. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  82. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  83. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  84. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  85. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  86. package/src/filiale/ronghao/specificInformation.vue +537 -537
  87. package/src/filiale/yangchun/ChargeList.vue +954 -954
  88. package/src/filiale/yuncheng/ChangeMeter.vue +9 -0
  89. package/src/filiale/yuncheng/FileManageService.js +469 -469
  90. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  91. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  92. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  93. package/src/main.js +3 -3
  94. package/src/plugins/FileManageServicets.js +214 -0
  95. package/src/plugins/GetImg.js +53 -0
@@ -1,106 +1,106 @@
1
- <template>
2
- <div style="height:100%">
3
- <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
4
- <template partial='head' >
5
- <tr>
6
- <th><nobr>序号</nobr></th>
7
- <th><nobr>气量</nobr></th>
8
- <th><nobr>应交</nobr></th>
9
- <th><nobr>付款方式</nobr></th>
10
- <th v-if="!$parent.$parent.f_calculation.includes('表端结算')"><nobr>上期结余</nobr></th>
11
- <th v-if="$parent.$parent.searchdata.f_meter_type === '机表'"><nobr>上期底数</nobr></th>
12
- <th><nobr>收款</nobr></th>
13
- <th v-if="!$parent.$parent.f_calculation.includes('表端结算')"><nobr>本期结余</nobr></th>
14
- <th v-if="$parent.$parent.searchdata.f_meter_type === '机表'"><nobr>本期底数</nobr></th>
15
- <th><nobr>操作类型</nobr></th>
16
- <th><nobr>操作时间 </nobr></th>
17
- <th><nobr>操作员 </nobr></th>
18
- <th><nobr>备注</nobr></th>
19
- <th><nobr>写卡状态</nobr></th>
20
- </tr>
21
- </template>
22
- <template partial='body' >
23
- <tr >
24
- <td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
25
- <td style="text-align:center;white-space:nowrap;">{{row.gas}}</td>
26
- <td style="text-align:center;white-space:nowrap;">{{row.fee}}</td>
27
- <td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
28
- <td style="text-align:center;white-space:nowrap;" v-if="!$parent.$parent.f_calculation.includes('表端结算')">{{row.f_balance}}</td>
29
- <td style="text-align:center;white-space:nowrap;" v-if="$parent.$parent.searchdata.f_meter_type === '机表'">{{row.f_last_tablebase}}</td>
30
- <td style="text-align:center;white-space:nowrap;">{{row.f_collection}}</td>
31
- <td style="text-align:center;white-space:nowrap;" v-if="!$parent.$parent.f_calculation.includes('表端结算')">{{row.f_curbalance}}</td>
32
- <td style="text-align:center;white-space:nowrap;" v-if="$parent.$parent.searchdata.f_meter_type === '机表'">{{row.f_tablebase}}</td>
33
- <td style="text-align:center;white-space:nowrap;">{{row.type}}</td>
34
- <td style="text-align:center;white-space:nowrap;">{{row.operate_date}}</td>
35
- <td style="text-align:center;white-space:nowrap;">{{row.f_operator}}</td>
36
- <td style="text-align:left;white-space:nowrap;">{{row.note}}{{row.f_write_card}}</td>
37
- <td style="text-align:center;white-space:nowrap;">{{row.f_write_card}}</td>
38
- </tr>
39
- </template>
40
- </data-grid>
41
- <modal :show.sync="cardCental" v-ref:modal backdrop="false">
42
- <header slot="modal-header" class="modal-header">
43
- <h4 class="modal-title">温馨提示</h4>
44
- </header>
45
- <article slot="modal-body" class="modal-body">
46
- <div class="form-group">
47
- <p> 当日此用户已经进行过一次购气,若卡上无气,请先进行补卡(未过表),之后掉气补气即可</p>
48
- </div>
49
- </article>
50
- <footer slot="modal-footer" class="modal-footer">
51
- <button type="button" class="btn btn-success" @click='cancel()'>确认
52
- </button>
53
- </footer>
54
- </modal>
55
- </div>
56
- </template>
57
-
58
- <script>
59
- import {HttpResetClass} from 'vue-client'
60
-
61
- export default {
62
- title: '操作查询',
63
- data () {
64
- return {
65
- model: {rows: []},
66
- f_calculation: '',
67
- cardCental: false,
68
- hasCardCental: false
69
- }
70
- },
71
- props: ['searchdata'],
72
- ready () {
73
- this.getsalerecord()
74
- },
75
- methods: {
76
- cancel () {
77
- this.cardCental = false
78
- },
79
- async getsalerecord () {
80
- let http = new HttpResetClass()
81
- // this.condition = `1=1 and f_user_id = '${this.searchdata.f_user_id}'`
82
- this.condition = `1=1 and f_userfiles_id = '${this.searchdata.f_userfiles_id}'`
83
- let record = await http.load('POST', 'api/af-revenue/sql/sale_RecordQuery', {data: {condition: this.condition}}, {
84
- rejectMsg: '流水查询出错!!',
85
- resolveMsg: null
86
- })
87
- this.f_calculation = this.searchdata.f_calculation
88
- this.model.rows = record.data
89
- this.hasCardCental = this.$appdata.getSingleValue('多收提示') ? this.$appdata.getSingleValue('多收提示') : false
90
- if (this.hasCardCental && this.model.rows.length > 0 && (this.model.rows[0].type == '发卡售气' || this.model.rows[0].type == '卡表收费')) {
91
- let checkdata = this.model.rows[0].operate_date.substr(0, 10)
92
- let nowdate = new Date()
93
- let pdate = nowdate.getFullYear() + '-' + (nowdate.getMonth() < 10 ? '0' + nowdate.getMonth() + 1 : nowdate.getMonth() + 1) + '-' + (nowdate.getDate() < 10 ? '0' + nowdate.getDate() : nowdate.getDate())
94
- if (new Date(checkdata).getTime() == new Date(pdate).getTime()) {
95
- this.cardCental = true
96
- }
97
- }
98
- }
99
- },
100
- watch: {
101
- 'searchdata' () {
102
- this.getsalerecord()
103
- }
104
- }
105
- }
106
- </script>
1
+ <template>
2
+ <div style="height:100%">
3
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
4
+ <template partial='head' >
5
+ <tr>
6
+ <th><nobr>序号</nobr></th>
7
+ <th><nobr>气量</nobr></th>
8
+ <th><nobr>应交</nobr></th>
9
+ <th><nobr>付款方式</nobr></th>
10
+ <th v-if="!$parent.$parent.f_calculation.includes('表端结算')"><nobr>上期结余</nobr></th>
11
+ <th v-if="$parent.$parent.searchdata.f_meter_type === '机表'"><nobr>上期底数</nobr></th>
12
+ <th><nobr>收款</nobr></th>
13
+ <th v-if="!$parent.$parent.f_calculation.includes('表端结算')"><nobr>本期结余</nobr></th>
14
+ <th v-if="$parent.$parent.searchdata.f_meter_type === '机表'"><nobr>本期底数</nobr></th>
15
+ <th><nobr>操作类型</nobr></th>
16
+ <th><nobr>操作时间 </nobr></th>
17
+ <th><nobr>操作员 </nobr></th>
18
+ <th><nobr>备注</nobr></th>
19
+ <th><nobr>写卡状态</nobr></th>
20
+ </tr>
21
+ </template>
22
+ <template partial='body' >
23
+ <tr >
24
+ <td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
25
+ <td style="text-align:center;white-space:nowrap;">{{row.gas}}</td>
26
+ <td style="text-align:center;white-space:nowrap;">{{row.fee}}</td>
27
+ <td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
28
+ <td style="text-align:center;white-space:nowrap;" v-if="!$parent.$parent.f_calculation.includes('表端结算')">{{row.f_balance}}</td>
29
+ <td style="text-align:center;white-space:nowrap;" v-if="$parent.$parent.searchdata.f_meter_type === '机表'">{{row.f_last_tablebase}}</td>
30
+ <td style="text-align:center;white-space:nowrap;">{{row.f_collection}}</td>
31
+ <td style="text-align:center;white-space:nowrap;" v-if="!$parent.$parent.f_calculation.includes('表端结算')">{{row.f_curbalance}}</td>
32
+ <td style="text-align:center;white-space:nowrap;" v-if="$parent.$parent.searchdata.f_meter_type === '机表'">{{row.f_tablebase}}</td>
33
+ <td style="text-align:center;white-space:nowrap;">{{row.type}}</td>
34
+ <td style="text-align:center;white-space:nowrap;">{{row.operate_date}}</td>
35
+ <td style="text-align:center;white-space:nowrap;">{{row.f_operator}}</td>
36
+ <td style="text-align:left;white-space:nowrap;">{{row.note}}{{row.f_write_card}}</td>
37
+ <td style="text-align:center;white-space:nowrap;">{{row.f_write_card}}</td>
38
+ </tr>
39
+ </template>
40
+ </data-grid>
41
+ <modal :show.sync="cardCental" v-ref:modal backdrop="false">
42
+ <header slot="modal-header" class="modal-header">
43
+ <h4 class="modal-title">温馨提示</h4>
44
+ </header>
45
+ <article slot="modal-body" class="modal-body">
46
+ <div class="form-group">
47
+ <p> 当日此用户已经进行过一次购气,若卡上无气,请先进行补卡(未过表),之后掉气补气即可</p>
48
+ </div>
49
+ </article>
50
+ <footer slot="modal-footer" class="modal-footer">
51
+ <button type="button" class="btn btn-success" @click='cancel()'>确认
52
+ </button>
53
+ </footer>
54
+ </modal>
55
+ </div>
56
+ </template>
57
+
58
+ <script>
59
+ import {HttpResetClass} from 'vue-client'
60
+
61
+ export default {
62
+ title: '操作查询',
63
+ data () {
64
+ return {
65
+ model: {rows: []},
66
+ f_calculation: '',
67
+ cardCental: false,
68
+ hasCardCental: false
69
+ }
70
+ },
71
+ props: ['searchdata'],
72
+ ready () {
73
+ this.getsalerecord()
74
+ },
75
+ methods: {
76
+ cancel () {
77
+ this.cardCental = false
78
+ },
79
+ async getsalerecord () {
80
+ let http = new HttpResetClass()
81
+ // this.condition = `1=1 and f_user_id = '${this.searchdata.f_user_id}'`
82
+ this.condition = `1=1 and f_userfiles_id = '${this.searchdata.f_userfiles_id}'`
83
+ let record = await http.load('POST', 'api/af-revenue/sql/sale_RecordQuery', {data: {condition: this.condition}}, {
84
+ rejectMsg: '流水查询出错!!',
85
+ resolveMsg: null
86
+ })
87
+ this.f_calculation = this.searchdata.f_calculation
88
+ this.model.rows = record.data
89
+ this.hasCardCental = this.$appdata.getSingleValue('多收提示') ? this.$appdata.getSingleValue('多收提示') : false
90
+ if (this.hasCardCental && this.model.rows.length > 0 && (this.model.rows[0].type == '发卡售气' || this.model.rows[0].type == '卡表收费')) {
91
+ let checkdata = this.model.rows[0].operate_date.substr(0, 10)
92
+ let nowdate = new Date()
93
+ let pdate = nowdate.getFullYear() + '-' + (nowdate.getMonth() < 10 ? '0' + nowdate.getMonth() + 1 : nowdate.getMonth() + 1) + '-' + (nowdate.getDate() < 10 ? '0' + nowdate.getDate() : nowdate.getDate())
94
+ if (new Date(checkdata).getTime() == new Date(pdate).getTime()) {
95
+ this.cardCental = true
96
+ }
97
+ }
98
+ }
99
+ },
100
+ watch: {
101
+ 'searchdata' () {
102
+ this.getsalerecord()
103
+ }
104
+ }
105
+ }
106
+ </script>
@@ -1,115 +1,115 @@
1
- <template >
2
- <div id="stand-work-list" >
3
- <div @keyup.enter="search" class="span">
4
- <criteria-paged :model="model" v-ref:paged>
5
- <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
- <div class="row">
8
-
9
- <div class="col-sm-2 form-group ">
10
- <label class="font_normal_body">上报时间</label>
11
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
12
- class="datepicker"
13
- condition="m.f_hand_date >= '{}'"
14
- placeholder="大于等于"
15
- style="width: 60%"
16
- v-model="model.f_start_date"
17
- ></datepicker>
18
- </div>
19
- <div class="col-sm-2 form-group " >
20
- <label class="font_normal_body">&nbsp;至</label>
21
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
22
- class="datepicker"
23
- condition="m.f_hand_date <= '{}'"
24
- placeholder="小于等于"
25
- style="width: 60%"
26
- v-model="model.f_end_date"
27
- ></datepicker>
28
- </div>
29
- <div style="float: right">
30
- <button @click="search()" class="button_search" v-el:cba>查询</button>
31
- </div>
32
- </div>
33
-
34
- </div>
35
- </criteria>
36
- <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
37
- <template partial='head'>
38
- <tr>
39
- <th><nobr>上报日期</nobr></th>
40
- <th><nobr>{{$parent.$parent.$parent.row.f_collection_type == '按气量' ? '表上余量' :'表上余额' }}</nobr></th>
41
- <th><nobr>本次抄表底数</nobr></th>
42
- <th><nobr>阀门状态</nobr></th>
43
- <th><nobr>上报类型</nobr></th>
44
- <th><nobr>系统接收时间</nobr></th>
45
- <th><nobr>表内累计充值金额</nobr></th>
46
- <th><nobr>噪音强度</nobr></th>
47
- <th><nobr>信噪比</nobr></th>
48
- <th><nobr>电压</nobr></th>
49
- <th><nobr>电压状态</nobr></th>
50
- <th><nobr>阀门强制状态</nobr></th>
51
- <th><nobr>计量类型</nobr></th>
52
- <th><nobr>金额状态</nobr></th>
53
-
54
- <th><nobr>磁干扰异常</nobr></th>
55
- <th><nobr>补偿状态</nobr></th>
56
- </tr>
57
- </template>
58
- <template partial='body' partial='list'>
59
- <tr >
60
- <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
61
- <th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
62
- <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
63
- <th style="text-align:center"><nobr>{{row.f_valvestate == 0 ? '开阀' : row.f_valvestate === '1' ? '关阀' : '未上报'}}</nobr>
64
- <th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
65
- <th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
66
- <th style="text-align:center"><nobr>{{row.f_meterdebitamt}}</nobr></th>
67
- <th style="text-align:center"><nobr>{{row.f_signal}}</nobr></th>
68
- <th style="text-align:center"><nobr>{{row.f_snr}}</nobr></th>
69
- <th style="text-align:center"><nobr>{{row.f_batterylevel}}</nobr></th>
70
- <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery ? ((row.f_lowlithiumbattery - 0) == 0 ? '正常' : '异常') : '未知'}}</nobr></th>
71
- <th style="text-align:center"><nobr>{{row.f_networkshutvalve}}</nobr></th>
72
- <th style="text-align:center"><nobr>{{row.f_wmprepaytype}}</nobr></th>
73
- <th style="text-align:center"><nobr>{{row.f_moneystate}}</nobr></th>
74
- <th style="text-align:center"><nobr>{{row.f_magneticInterference}}</nobr></th>
75
- <th style="text-align:center"><nobr>{{row.f_compensateState}}</nobr></th>
76
- </tr>
77
- </template>
78
- <template partial='foot'></template>
79
- </data-grid>
80
- </criteria-paged>
81
- </div>
82
- </div>
83
- </template>
84
-
85
- <script>
86
- import {PagedList} from 'vue-client'
87
-
88
- export default {
89
- title: 'WatchCollection',
90
- data () {
91
- return {
92
- model: new PagedList('api/af-revenue/sql/iot_getNewLoseUserQuery', 50)
93
- }
94
- },
95
- props: ['row'],
96
- ready () {
97
- this.$refs.paged.$refs.criteria.search()
98
- },
99
- methods: {
100
- search (args) {
101
- args.condition = `${args.condition} and f_userfiles_id='${this.row.f_userfiles_id}'`
102
- this.model.search(args.condition, args.model)
103
- }
104
- },
105
- watch: {
106
- // 监听查询对象
107
- 'row' (val) {
108
- if (this.row != null) {
109
- this.$refs.paged.$refs.criteria.search()
110
- }
111
- }
112
- }
113
- }
114
- </script>
115
-
1
+ <template >
2
+ <div id="stand-work-list" >
3
+ <div @keyup.enter="search" class="span">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+
9
+ <div class="col-sm-2 form-group ">
10
+ <label class="font_normal_body">上报时间</label>
11
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
12
+ class="datepicker"
13
+ condition="m.f_hand_date >= '{}'"
14
+ placeholder="大于等于"
15
+ style="width: 60%"
16
+ v-model="model.f_start_date"
17
+ ></datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group " >
20
+ <label class="font_normal_body">&nbsp;至</label>
21
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
22
+ class="datepicker"
23
+ condition="m.f_hand_date <= '{}'"
24
+ placeholder="小于等于"
25
+ style="width: 60%"
26
+ v-model="model.f_end_date"
27
+ ></datepicker>
28
+ </div>
29
+ <div style="float: right">
30
+ <button @click="search()" class="button_search" v-el:cba>查询</button>
31
+ </div>
32
+ </div>
33
+
34
+ </div>
35
+ </criteria>
36
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
37
+ <template partial='head'>
38
+ <tr>
39
+ <th><nobr>上报日期</nobr></th>
40
+ <th><nobr>{{$parent.$parent.$parent.row.f_collection_type == '按气量' ? '表上余量' :'表上余额' }}</nobr></th>
41
+ <th><nobr>本次抄表底数</nobr></th>
42
+ <th><nobr>阀门状态</nobr></th>
43
+ <th><nobr>上报类型</nobr></th>
44
+ <th><nobr>系统接收时间</nobr></th>
45
+ <th><nobr>表内累计充值金额</nobr></th>
46
+ <th><nobr>噪音强度</nobr></th>
47
+ <th><nobr>信噪比</nobr></th>
48
+ <th><nobr>电压</nobr></th>
49
+ <th><nobr>电压状态</nobr></th>
50
+ <th><nobr>阀门强制状态</nobr></th>
51
+ <th><nobr>计量类型</nobr></th>
52
+ <th><nobr>金额状态</nobr></th>
53
+
54
+ <th><nobr>磁干扰异常</nobr></th>
55
+ <th><nobr>补偿状态</nobr></th>
56
+ </tr>
57
+ </template>
58
+ <template partial='body' partial='list'>
59
+ <tr >
60
+ <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
61
+ <th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
62
+ <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
63
+ <th style="text-align:center"><nobr>{{row.f_valvestate == 0 ? '开阀' : row.f_valvestate === '1' ? '关阀' : '未上报'}}</nobr>
64
+ <th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
65
+ <th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
66
+ <th style="text-align:center"><nobr>{{row.f_meterdebitamt}}</nobr></th>
67
+ <th style="text-align:center"><nobr>{{row.f_signal}}</nobr></th>
68
+ <th style="text-align:center"><nobr>{{row.f_snr}}</nobr></th>
69
+ <th style="text-align:center"><nobr>{{row.f_batterylevel}}</nobr></th>
70
+ <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery ? ((row.f_lowlithiumbattery - 0) == 0 ? '正常' : '异常') : '未知'}}</nobr></th>
71
+ <th style="text-align:center"><nobr>{{row.f_networkshutvalve}}</nobr></th>
72
+ <th style="text-align:center"><nobr>{{row.f_wmprepaytype}}</nobr></th>
73
+ <th style="text-align:center"><nobr>{{row.f_moneystate}}</nobr></th>
74
+ <th style="text-align:center"><nobr>{{row.f_magneticInterference}}</nobr></th>
75
+ <th style="text-align:center"><nobr>{{row.f_compensateState}}</nobr></th>
76
+ </tr>
77
+ </template>
78
+ <template partial='foot'></template>
79
+ </data-grid>
80
+ </criteria-paged>
81
+ </div>
82
+ </div>
83
+ </template>
84
+
85
+ <script>
86
+ import {PagedList} from 'vue-client'
87
+
88
+ export default {
89
+ title: 'WatchCollection',
90
+ data () {
91
+ return {
92
+ model: new PagedList('api/af-revenue/sql/iot_getNewLoseUserQuery', 50)
93
+ }
94
+ },
95
+ props: ['row'],
96
+ ready () {
97
+ this.$refs.paged.$refs.criteria.search()
98
+ },
99
+ methods: {
100
+ search (args) {
101
+ args.condition = `${args.condition} and f_userfiles_id='${this.row.f_userfiles_id}'`
102
+ this.model.search(args.condition, args.model)
103
+ }
104
+ },
105
+ watch: {
106
+ // 监听查询对象
107
+ 'row' (val) {
108
+ if (this.row != null) {
109
+ this.$refs.paged.$refs.criteria.search()
110
+ }
111
+ }
112
+ }
113
+ }
114
+ </script>
115
+