telephone-clients 3.0.103-97 → 3.0.103-99

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.
@@ -1,82 +1,82 @@
1
- <template >
2
- <div id="pc-finduser-page">
3
- <criteria-paged :model="model" v-ref:paged :simple="true">
4
- <!-- <criteria partial='criteria'>
5
- </criteria> -->
6
- <data-grid :model="model" partial='list' v-ref:grid
7
- class="list_area table_sy">
8
- <template partial='head'>
9
- <tr>
10
- <th><nobr>表号</nobr></th>
11
- <!--<th><nobr>气表厂家</nobr></th>-->
12
- <th><nobr>上报日期</nobr></th>
13
- <th><nobr>本次抄表底数</nobr></th>
14
- <th><nobr>表内剩余金额</nobr></th>
15
- <th><nobr>阀门状态</nobr></th>
16
- </tr>
17
- </template>
18
- <template partial='body'>
19
- <td style="text-align: center">{{row.f_meternumber}}</td>
20
- <!--<td>{{row.f_manufacturers}}</td>-->
21
- <td style="text-align: center">{{row.f_hand_date}}</td>
22
- <td style="text-align: center">{{row.f_tablebase}}</td>
23
- <td style="text-align: center">{{row.f_jval}}</td>
24
- <td style="text-align: center">{{row.f_valvestate == '0' ? '开阀' : '关阀'}}</td>
25
- </template>
26
- </data-grid>
27
- </criteria-paged>
28
- </div>
29
- </template>
30
-
31
- <script>
32
- import { PagedList } from 'vue-client'
33
- import co from 'co'
34
- let getmodelGen = function * (self, val) {
35
- yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}'`))
36
- .then(() => {
37
- // self.getdata()
38
- })
39
- }
40
- export default {
41
- title: '上报查询',
42
- data () {
43
- return {
44
- model: new PagedList('rs/sql/tel_singleTable_OrderBy', 8, {items: '"f_valveState,f_jval,f_tablebase,f_meternumber,f_manufacturers,f_hand_date"', tablename: '"t_meteread with (nolock)"', orderitem: '"f_hand_date desc"'}),
45
- show: false,
46
- row: Object
47
- }
48
- },
49
- props: {
50
- user: {
51
- type: Object
52
- },
53
- clearflg:0
54
- },
55
- methods: {
56
- getmodel () {
57
- let gen = getmodelGen(this)
58
- co(gen)
59
- }
60
- },
61
- watch: {
62
- 'user' (val) {
63
- // this.model.search(`card_id = ${this.user.card_id}`)
64
- if(this.user){
65
- if (!(this.user.isNuN)) {
66
- this.model.rows = []
67
- this.getmodel()
68
- }
69
- }
70
- },
71
- 'clearflg'(){
72
- this.model.rows = []
73
- }
74
- },
75
- ready () {
76
- if (this.user && this.user.f_userinfo_id) {
77
- // this.model.search(`card_id = ${this.user.card_id}`)
78
- this.getmodel()
79
- }
80
- }
81
- }
82
- </script>
1
+ <template >
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <!-- <criteria partial='criteria'>
5
+ </criteria> -->
6
+ <data-grid :model="model" partial='list' v-ref:grid
7
+ class="list_area table_sy">
8
+ <template partial='head'>
9
+ <tr>
10
+ <th><nobr>表号</nobr></th>
11
+ <!--<th><nobr>气表厂家</nobr></th>-->
12
+ <th><nobr>上报日期</nobr></th>
13
+ <th><nobr>本次抄表底数</nobr></th>
14
+ <th><nobr>表内剩余金额</nobr></th>
15
+ <th><nobr>阀门状态</nobr></th>
16
+ </tr>
17
+ </template>
18
+ <template partial='body'>
19
+ <td style="text-align: center">{{row.f_meternumber}}</td>
20
+ <!--<td>{{row.f_manufacturers}}</td>-->
21
+ <td style="text-align: center">{{row.f_hand_date}}</td>
22
+ <td style="text-align: center">{{row.f_tablebase}}</td>
23
+ <td style="text-align: center">{{row.f_jval}}</td>
24
+ <td style="text-align: center">{{row.f_valvestate == '0' ? '开阀' : '关阀'}}</td>
25
+ </template>
26
+ </data-grid>
27
+ </criteria-paged>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+ import { PagedList } from 'vue-client'
33
+ import co from 'co'
34
+ let getmodelGen = function * (self, val) {
35
+ yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}'`))
36
+ .then(() => {
37
+ // self.getdata()
38
+ })
39
+ }
40
+ export default {
41
+ title: '上报查询',
42
+ data () {
43
+ return {
44
+ model: new PagedList('rs/sql/tel_singleTable_OrderBy', 8, {items: '"f_valveState,f_jval,f_tablebase,f_meternumber,f_manufacturers,f_hand_date"', tablename: '"t_meteread with (nolock)"', orderitem: '"f_hand_date desc"'}),
45
+ show: false,
46
+ row: Object
47
+ }
48
+ },
49
+ props: {
50
+ user: {
51
+ type: Object
52
+ },
53
+ clearflg:0
54
+ },
55
+ methods: {
56
+ getmodel () {
57
+ let gen = getmodelGen(this)
58
+ co(gen)
59
+ }
60
+ },
61
+ watch: {
62
+ 'user' (val) {
63
+ // this.model.search(`card_id = ${this.user.card_id}`)
64
+ if(this.user){
65
+ if (!(this.user.isNuN)) {
66
+ this.model.rows = []
67
+ this.getmodel()
68
+ }
69
+ }
70
+ },
71
+ 'clearflg'(){
72
+ this.model.rows = []
73
+ }
74
+ },
75
+ ready () {
76
+ if (this.user && this.user.f_userinfo_id) {
77
+ // this.model.search(`card_id = ${this.user.card_id}`)
78
+ this.getmodel()
79
+ }
80
+ }
81
+ }
82
+ </script>