sale-client 4.2.40 → 4.2.41

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 (58) hide show
  1. package/build/dev-server.js +40 -26
  2. package/index.html +7 -2
  3. package/package.json +3 -2
  4. package/src/App.vue +1 -1
  5. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  6. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  7. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  8. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  9. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  10. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  11. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  12. package/src/filiale/bayan/StockListmain.vue +543 -543
  13. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  14. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  15. package/src/filiale/bazhong/sale.js +8 -8
  16. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  17. package/src/filiale/jinhong/machineHand.vue +2099 -2099
  18. package/src/filiale/jinhong/plugins/GetSaleParams.js +302 -302
  19. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  20. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  21. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  22. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  23. package/src/filiale/qingjian/SafeCheck.vue +3 -3
  24. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  25. package/src/filiale/ronghao/CardService.js +2144 -2144
  26. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  27. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  28. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  29. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  30. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  31. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  32. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  33. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  34. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  35. package/src/filiale/ronghao/Upload.vue +654 -654
  36. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  37. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  38. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  39. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  40. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  41. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  42. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  43. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  44. package/src/filiale/ronghao/specificInformation.vue +537 -537
  45. package/src/filiale/yangchun/ChargeList.vue +954 -954
  46. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  47. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  48. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  49. package/src/main.js +1 -1
  50. package/src/plugins/CardService.js +2217 -2217
  51. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  52. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  53. package/.gradle/5.2.1/gc.properties +0 -0
  54. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  55. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  56. package/.gradle/vcs-1/gc.properties +0 -0
  57. package/hs_err_pid32452.log +0 -625
  58. package/hs_err_pid36896.log +0 -249
@@ -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
+