manage-client 1.22.19-ca → 1.22.20-ca

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 (50) hide show
  1. package/.npmignore +10 -0
  2. package/build/.npmignore +1 -0
  3. package/client.iml +14 -14
  4. package/package.json +1 -1
  5. package/src/components/MeterManage/ChangeMeterQuery.vue +121 -121
  6. package/src/components/MeterManage/FillGasQuery.vue +129 -129
  7. package/src/components/MeterManage/MeterInfoManage.vue +84 -84
  8. package/src/components/MeterManage/MeterMsg.vue +282 -282
  9. package/src/components/MeterManage/ReportDataQuery.vue +189 -189
  10. package/src/components/SellReport/BonSummary.vue +233 -233
  11. package/src/components/SellReport/BusSummary.vue +238 -238
  12. package/src/components/SellReport/ChanganDaySellGAs.vue +242 -242
  13. package/src/components/SellReport/ChanganSellMsg.vue +232 -232
  14. package/src/components/SellReport/ChanganSellMsg_Month.vue +240 -240
  15. package/src/components/SellReport/FenxiangSell.vue +182 -182
  16. package/src/components/SellReport/GasCollect.vue +174 -174
  17. package/src/components/SellReport/ManageBusSummary.vue +229 -229
  18. package/src/components/SellReport/ManageGasPrice.vue +221 -221
  19. package/src/components/SellReport/ManageSellType.vue +229 -229
  20. package/src/components/SellReport/UserStatistics.vue +162 -162
  21. package/src/components/sale/businessquery/BusinessManage.vue +108 -108
  22. package/src/components/sale/businessquery/ChangeUserQuery.vue +330 -330
  23. package/src/components/sale/businessquery/ChargeQuery.vue +591 -591
  24. package/src/components/sale/businessquery/DisableQuery.vue +286 -286
  25. package/src/components/sale/businessquery/EnableQuery.vue +258 -258
  26. package/src/components/sale/businessquery/FillCardQuery.vue +373 -373
  27. package/src/components/sale/businessquery/FillGasQuery.vue +311 -311
  28. package/src/components/sale/businessquery/HandplanQuery.vue +296 -296
  29. package/src/components/sale/businessquery/OtherChargeQuery.vue +308 -308
  30. package/src/components/sale/businessquery/ReverseQuery.vue +305 -305
  31. package/src/components/sale/businessquery/RfCardReadBack.vue +412 -412
  32. package/src/components/sale/businessquery/SellGasGroupPrice.vue +231 -231
  33. package/src/components/sale/businessquery/SellgasQuerybyDay.vue +185 -185
  34. package/src/components/sale/businessquery/SellgasQuerybyDep.vue +186 -186
  35. package/src/components/sale/businessquery/SellgasQuerybySpot.vue +191 -191
  36. package/src/components/sale/businessquery/SellingHand.vue +267 -267
  37. package/src/components/sale/businessquery/TransferQuery.vue +291 -291
  38. package/src/components/sale/businessquery/TreaDownQuery.vue +439 -439
  39. package/src/components/sale/businessquery/ValveQuery.vue +275 -275
  40. package/src/components/sale/filesquery/ArchivesManage.vue +60 -60
  41. package/src/components/sale/filesquery/DeviceCount.vue +333 -333
  42. package/src/components/sale/filesquery/DeviceQuery.vue +361 -361
  43. package/src/components/sale/filesquery/FilesRecord.vue +160 -160
  44. package/src/components/sale/filesquery/MeterQuery.vue +504 -504
  45. package/src/components/sale/filesquery/NoSaleQuery.vue +423 -423
  46. package/src/components/webmeter/DrillData/UserGasAll.vue +663 -585
  47. package/src/plugins/Table.js +194 -194
  48. package/src/reportManage.js +208 -208
  49. package/src/stores/MagLoadParams.js +71 -71
  50. package/yarn.lock +7516 -0
package/.npmignore ADDED
@@ -0,0 +1,10 @@
1
+ src/bootstrap
2
+ .idea/
3
+ .DS_Store
4
+ node_modules/
5
+ dist/static/*.map
6
+ npm-debug.log
7
+ selenium-debug.log
8
+ test/unit/coverage
9
+ test/e2e/reports
10
+ yarn.locknp
@@ -0,0 +1 @@
1
+
package/client.iml CHANGED
@@ -1,15 +1,15 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="JAVA_MODULE" version="4">
3
- <component name="EclipseModuleManager">
4
- <conelement value="org.springsource.ide.eclipse.gradle.classpathcontainer" />
5
- <src_description expected_position="0" />
6
- </component>
7
- <component name="NewModuleRootManager">
8
- <output url="file://$MODULE_DIR$/bin" />
9
- <exclude-output />
10
- <content url="file://$MODULE_DIR$" />
11
- <orderEntry type="sourceFolder" forTests="false" />
12
- <orderEntry type="inheritedJdk" />
13
- <orderEntry type="library" exported="" name="org.springsource.ide.eclipse.gradle.classpathcontainer" level="application" />
14
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="EclipseModuleManager">
4
+ <conelement value="org.springsource.ide.eclipse.gradle.classpathcontainer" />
5
+ <src_description expected_position="0" />
6
+ </component>
7
+ <component name="NewModuleRootManager">
8
+ <output url="file://$MODULE_DIR$/bin" />
9
+ <exclude-output />
10
+ <content url="file://$MODULE_DIR$" />
11
+ <orderEntry type="sourceFolder" forTests="false" />
12
+ <orderEntry type="inheritedJdk" />
13
+ <orderEntry type="library" exported="" name="org.springsource.ide.eclipse.gradle.classpathcontainer" level="application" />
14
+ </component>
15
15
  </module>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "1.22.19-ca",
3
+ "version": "1.22.20-ca",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,121 +1,121 @@
1
- <template >
2
- <div id="stand-work-list" class="flex bg-white p-10">
3
- <div 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" width="100%">
8
- <div class="col-sm-4" >
9
- <label class="font_normal_body" >&nbsp;开始时间</label>
10
- <datepicker placeholder="起始时间" style="width:60%"
11
- :value.sync="model.f_start_date"
12
- v-model="model.f_start_date"
13
- :format="'yyyy-MM-dd'"
14
- condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
15
- ></datepicker>
16
- </div>
17
- <div class="col-sm-4" >
18
- <label class="font_normal_body" >结束时间</label>
19
- <datepicker placeholder="结束时间" style="width:60%"
20
- :value.sync="model.f_end_date"
21
- v-model="model.f_end_date"
22
- :format="'yyyy-MM-dd'"
23
- condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
24
- ></datepicker>
25
- </div>
26
- <div class="col-sm-4" >
27
- <label class="font_normal_body" >状态</label>
28
- <v-select :value.sync="model.f_state"
29
- v-model="model.f_state"
30
- style="width:60%"
31
- :options='$parent.$parent.charge_state' placeholder='请选择'
32
- condition="f_state = '{}'"
33
- close-on-select></v-select>
34
- </div>
35
- <div class="span" style="float:right;">
36
- <button class="btn btn-success" @click="search()" v-el:cba>查询</button>
37
- </div>
38
- </div>
39
- </div>
40
- </criteria>
41
- <data-grid :model="model" partial='list' v-ref:grid>
42
- <template partial='head'>
43
- <tr>
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
- </tr>
53
- </template>
54
- <template partial='body' partial='list' v-ref:grid>
55
- <tr >
56
- <td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
57
- <td style="text-align: center;"><nobr>{{row.f_changemeter_fee}}</nobr></td>
58
- <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
59
- <td style="text-align: center;"><nobr>{{row.f_newmeter_base}}</nobr></td>
60
- <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
61
- <td style="text-align: center;"><nobr>{{row.f_newcard_id}}</nobr></td>
62
- <td style="text-align: center;"><nobr>{{row.f_changemeter_date}}</nobr></td>
63
- <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
64
- </tr>
65
- </template>
66
- <template partial='foot'></template>
67
- </data-grid>
68
- </criteria-paged>
69
- </div>
70
- </div>
71
- </template>
72
-
73
- <script>
74
- import {PagedList} from 'vue-client'
75
-
76
- export default {
77
- title: '收费',
78
- data () {
79
- return {
80
- condition: '1=1',
81
- model: new PagedList('rs/sql/changeMeterQuery', 15),
82
- charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
83
- row: null,
84
- isdeal: true,
85
- show: false
86
- }
87
- },
88
- props:
89
- {
90
- searchdata:{},
91
- isdeal: {},
92
- args:{}
93
- },
94
- ready () {
95
- this.$refs.paged.$refs.criteria.model.f_state = ['有效']
96
- this.$refs.paged.$refs.criteria.search()
97
- },
98
- methods: {
99
- search(args){
100
- if(this.args && this.args.model) {
101
- this.condition=this.condition+` and f_state='有效' `
102
- if(this.searchdata.f_user_id) {
103
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
104
- } else if(this.searchdata.f_card_id){
105
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
106
- }else if(this.searchdata.f_userinfo_id) {
107
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
108
- }else {
109
- return
110
- }
111
- this.model.search(this.condition, this.args.model)
112
- }
113
- }
114
- },
115
- watch:{
116
- args(val){
117
- this.search()
118
- }
119
- }
120
- }
121
- </script>
1
+ <template >
2
+ <div id="stand-work-list" class="flex bg-white p-10">
3
+ <div 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" width="100%">
8
+ <div class="col-sm-4" >
9
+ <label class="font_normal_body" >&nbsp;开始时间</label>
10
+ <datepicker placeholder="起始时间" style="width:60%"
11
+ :value.sync="model.f_start_date"
12
+ v-model="model.f_start_date"
13
+ :format="'yyyy-MM-dd'"
14
+ condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
15
+ ></datepicker>
16
+ </div>
17
+ <div class="col-sm-4" >
18
+ <label class="font_normal_body" >结束时间</label>
19
+ <datepicker placeholder="结束时间" style="width:60%"
20
+ :value.sync="model.f_end_date"
21
+ v-model="model.f_end_date"
22
+ :format="'yyyy-MM-dd'"
23
+ condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
24
+ ></datepicker>
25
+ </div>
26
+ <div class="col-sm-4" >
27
+ <label class="font_normal_body" >状态</label>
28
+ <v-select :value.sync="model.f_state"
29
+ v-model="model.f_state"
30
+ style="width:60%"
31
+ :options='$parent.$parent.charge_state' placeholder='请选择'
32
+ condition="f_state = '{}'"
33
+ close-on-select></v-select>
34
+ </div>
35
+ <div class="span" style="float:right;">
36
+ <button class="btn btn-success" @click="search()" v-el:cba>查询</button>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </criteria>
41
+ <data-grid :model="model" partial='list' v-ref:grid>
42
+ <template partial='head'>
43
+ <tr>
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
+ </tr>
53
+ </template>
54
+ <template partial='body' partial='list' v-ref:grid>
55
+ <tr >
56
+ <td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
57
+ <td style="text-align: center;"><nobr>{{row.f_changemeter_fee}}</nobr></td>
58
+ <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
59
+ <td style="text-align: center;"><nobr>{{row.f_newmeter_base}}</nobr></td>
60
+ <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
61
+ <td style="text-align: center;"><nobr>{{row.f_newcard_id}}</nobr></td>
62
+ <td style="text-align: center;"><nobr>{{row.f_changemeter_date}}</nobr></td>
63
+ <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
64
+ </tr>
65
+ </template>
66
+ <template partial='foot'></template>
67
+ </data-grid>
68
+ </criteria-paged>
69
+ </div>
70
+ </div>
71
+ </template>
72
+
73
+ <script>
74
+ import {PagedList} from 'vue-client'
75
+
76
+ export default {
77
+ title: '收费',
78
+ data () {
79
+ return {
80
+ condition: '1=1',
81
+ model: new PagedList('rs/sql/changeMeterQuery', 15),
82
+ charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
83
+ row: null,
84
+ isdeal: true,
85
+ show: false
86
+ }
87
+ },
88
+ props:
89
+ {
90
+ searchdata:{},
91
+ isdeal: {},
92
+ args:{}
93
+ },
94
+ ready () {
95
+ this.$refs.paged.$refs.criteria.model.f_state = ['有效']
96
+ this.$refs.paged.$refs.criteria.search()
97
+ },
98
+ methods: {
99
+ search(args){
100
+ if(this.args && this.args.model) {
101
+ this.condition=this.condition+` and f_state='有效' `
102
+ if(this.searchdata.f_user_id) {
103
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
104
+ } else if(this.searchdata.f_card_id){
105
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
106
+ }else if(this.searchdata.f_userinfo_id) {
107
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
108
+ }else {
109
+ return
110
+ }
111
+ this.model.search(this.condition, this.args.model)
112
+ }
113
+ }
114
+ },
115
+ watch:{
116
+ args(val){
117
+ this.search()
118
+ }
119
+ }
120
+ }
121
+ </script>
@@ -1,129 +1,129 @@
1
- <template >
2
- <div id="stand-work-list" class="flex bg-white p-10">
3
- <div 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" width="100%">
8
- <div class="col-sm-4" >
9
- <label class="font_normal_body" >&nbsp;开始时间</label>
10
- <datepicker placeholder="起始时间" style="width:60%"
11
- :value.sync="model.f_start_date"
12
- v-model="model.f_start_date"
13
- :format="'yyyy-MM-dd'"
14
- condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
15
- ></datepicker>
16
- </div>
17
- <div class="col-sm-4" >
18
- <label class="font_normal_body" >结束时间</label>
19
- <datepicker placeholder="结束时间" style="width:60%"
20
- :value.sync="model.f_end_date"
21
- v-model="model.f_end_date"
22
- :format="'yyyy-MM-dd'"
23
- condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
24
- ></datepicker>
25
- </div>
26
- <div class="col-sm-4" >
27
- <label class="font_normal_body" >状态</label>
28
- <v-select :value.sync="model.f_state"
29
- v-model="model.f_state"
30
- style="width:60%"
31
- :options='$parent.$parent.charge_state' placeholder='请选择'
32
- condition="f_state = '{}'"
33
- close-on-select></v-select>
34
- </div>
35
- <div class="span" style="float:right;">
36
- <button class="btn btn-success" @click="search()" v-el:cba>查询</button>
37
- </div>
38
- </div>
39
- </div>
40
- </criteria>
41
- <data-grid :model="model" partial='list' v-ref:grid>
42
- <template partial='head'>
43
- <tr>
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
- </tr>
54
- </template>
55
- <template partial='body' partial='list' v-ref:grid>
56
- <tr >
57
- <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
58
- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
59
- <td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
60
- <td style="text-align: center;"><nobr>{{row.f_othereason}}</nobr></td>
61
- <td style="text-align: center;"><nobr>{{row.f_fillgas}}</nobr></td>
62
- <td style="text-align: center;"><nobr>{{row.f_fillgas_fee}}</nobr></td>
63
- <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
64
- <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
65
- <td style="text-align: center;"><nobr>{{row.op_spot}}</nobr></td>
66
- </tr>
67
- </template>
68
- <template partial='foot'></template>
69
- </data-grid>
70
- </criteria-paged>
71
- </div>
72
- </div>
73
- </template>
74
-
75
- <script>
76
- import {PagedList} from 'vue-client'
77
-
78
- export default {
79
- title: '收费',
80
- data () {
81
- return {
82
- condition: '1=1',
83
- model: new PagedList('rs/sql/fillGasQuery', 15),
84
- charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
85
- row: null,
86
- isdeal: true,
87
- obj: {
88
- userid: this.$login.f.id,
89
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
90
- res: this.$login.f.f_fengongsi,
91
- resids: this.$login.f.f_orgids
92
- },
93
- show: false
94
- }
95
- },
96
- props:
97
- {
98
- searchdata: {},
99
- isdeal: {},
100
- args:{}
101
- },
102
- ready () {
103
- this.$refs.paged.$refs.criteria.model.f_state = ['有效']
104
- this.$refs.paged.$refs.criteria.search()
105
- },
106
- methods: {
107
- search(args){
108
- if(this.args && this.args.model) {
109
- this.condition=this.condition+` and f_state='有效' `
110
- if(this.searchdata.f_user_id) {
111
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
112
- } else if(this.searchdata.f_card_id){
113
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
114
- }else if(this.searchdata.f_userinfo_id) {
115
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
116
- }else {
117
- return
118
- }
119
- this.model.search(this.condition, this.args.model)
120
- }
121
- }
122
- },
123
- watch:{
124
- args(val){
125
- this.search()
126
- }
127
- }
128
- }
129
- </script>
1
+ <template >
2
+ <div id="stand-work-list" class="flex bg-white p-10">
3
+ <div 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" width="100%">
8
+ <div class="col-sm-4" >
9
+ <label class="font_normal_body" >&nbsp;开始时间</label>
10
+ <datepicker placeholder="起始时间" style="width:60%"
11
+ :value.sync="model.f_start_date"
12
+ v-model="model.f_start_date"
13
+ :format="'yyyy-MM-dd'"
14
+ condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
15
+ ></datepicker>
16
+ </div>
17
+ <div class="col-sm-4" >
18
+ <label class="font_normal_body" >结束时间</label>
19
+ <datepicker placeholder="结束时间" style="width:60%"
20
+ :value.sync="model.f_end_date"
21
+ v-model="model.f_end_date"
22
+ :format="'yyyy-MM-dd'"
23
+ condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
24
+ ></datepicker>
25
+ </div>
26
+ <div class="col-sm-4" >
27
+ <label class="font_normal_body" >状态</label>
28
+ <v-select :value.sync="model.f_state"
29
+ v-model="model.f_state"
30
+ style="width:60%"
31
+ :options='$parent.$parent.charge_state' placeholder='请选择'
32
+ condition="f_state = '{}'"
33
+ close-on-select></v-select>
34
+ </div>
35
+ <div class="span" style="float:right;">
36
+ <button class="btn btn-success" @click="search()" v-el:cba>查询</button>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </criteria>
41
+ <data-grid :model="model" partial='list' v-ref:grid>
42
+ <template partial='head'>
43
+ <tr>
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
+ </tr>
54
+ </template>
55
+ <template partial='body' partial='list' v-ref:grid>
56
+ <tr >
57
+ <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
58
+ <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
59
+ <td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
60
+ <td style="text-align: center;"><nobr>{{row.f_othereason}}</nobr></td>
61
+ <td style="text-align: center;"><nobr>{{row.f_fillgas}}</nobr></td>
62
+ <td style="text-align: center;"><nobr>{{row.f_fillgas_fee}}</nobr></td>
63
+ <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
64
+ <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
65
+ <td style="text-align: center;"><nobr>{{row.op_spot}}</nobr></td>
66
+ </tr>
67
+ </template>
68
+ <template partial='foot'></template>
69
+ </data-grid>
70
+ </criteria-paged>
71
+ </div>
72
+ </div>
73
+ </template>
74
+
75
+ <script>
76
+ import {PagedList} from 'vue-client'
77
+
78
+ export default {
79
+ title: '收费',
80
+ data () {
81
+ return {
82
+ condition: '1=1',
83
+ model: new PagedList('rs/sql/fillGasQuery', 15),
84
+ charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
85
+ row: null,
86
+ isdeal: true,
87
+ obj: {
88
+ userid: this.$login.f.id,
89
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
90
+ res: this.$login.f.f_fengongsi,
91
+ resids: this.$login.f.f_orgids
92
+ },
93
+ show: false
94
+ }
95
+ },
96
+ props:
97
+ {
98
+ searchdata: {},
99
+ isdeal: {},
100
+ args:{}
101
+ },
102
+ ready () {
103
+ this.$refs.paged.$refs.criteria.model.f_state = ['有效']
104
+ this.$refs.paged.$refs.criteria.search()
105
+ },
106
+ methods: {
107
+ search(args){
108
+ if(this.args && this.args.model) {
109
+ this.condition=this.condition+` and f_state='有效' `
110
+ if(this.searchdata.f_user_id) {
111
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
112
+ } else if(this.searchdata.f_card_id){
113
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
114
+ }else if(this.searchdata.f_userinfo_id) {
115
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
116
+ }else {
117
+ return
118
+ }
119
+ this.model.search(this.condition, this.args.model)
120
+ }
121
+ }
122
+ },
123
+ watch:{
124
+ args(val){
125
+ this.search()
126
+ }
127
+ }
128
+ }
129
+ </script>