telephone-clients 3.0.104-20 → 3.0.104-21

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,86 +1,86 @@
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
- <th><nobr>指令生成时间</nobr></th>
17
- <th><nobr>上表时间</nobr></th>
18
- </tr>
19
- </template>
20
- <template partial='body'>
21
- <td>{{row.f_meternumber}}</td>
22
- <!--<td>{{row.f_manufacturers}}</td>-->
23
- <td>{{row.f_instruct_type}}</td>
24
- <td>{{row.f_instruct_title}}</td>
25
- <td>{{row.f_instruct_state}}</td>
26
- <td>{{row.f_receive_state}}</td>
27
- <td>{{row.f_instruct_date}}</td>
28
- <td>{{row.f_callback_date}}</td>
29
- </template>
30
- </data-grid>
31
- </criteria-paged>
32
- </div>
33
- </template>
34
-
35
- <script>
36
- import { PagedList } from 'vue-client'
37
- import co from 'co'
38
- let getmodelGen = function * (self, val) {
39
- yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}' and f_instruct_type!='结束下发'`))
40
- .then(() => {
41
- // self.getdata()
42
- })
43
- }
44
- export default {
45
- title: '指令查看',
46
- data () {
47
- return {
48
- model: new PagedList('rs/sql/tel_singleTable_OrderBy', 8, {items: '"f_callback_date,f_instruct_date,f_receive_state,f_instruct_state,f_instruct_title,f_meternumber,f_instruct_type,f_manufacturers"', tablename: '"t_instruct with (nolock)"', orderitem: '"f_instruct_date desc"'}),
49
- show: false,
50
- row: Object
51
- }
52
- },
53
- props: {
54
- user: {
55
- type: Object
56
- },
57
- clearflg:0
58
- },
59
- methods: {
60
- getmodel () {
61
- let gen = getmodelGen(this)
62
- co(gen)
63
- }
64
- },
65
- watch: {
66
- 'user' (val) {
67
- // this.model.search(`card_id = ${this.user.card_id}`)
68
- if(this.user){
69
- if (!(this.user.isNuN)) {
70
- this.model.rows = []
71
- this.getmodel()
72
- }
73
- }
74
- },
75
- 'clearflg'(){
76
- this.model.rows = []
77
- }
78
- },
79
- ready () {
80
- if (this.user && this.user.f_userinfo_id) {
81
- // this.model.search(`card_id = ${this.user.card_id}`)
82
- this.getmodel()
83
- }
84
- }
85
- }
86
- </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
+ <th><nobr>指令生成时间</nobr></th>
17
+ <th><nobr>上表时间</nobr></th>
18
+ </tr>
19
+ </template>
20
+ <template partial='body'>
21
+ <td>{{row.f_meternumber}}</td>
22
+ <!--<td>{{row.f_manufacturers}}</td>-->
23
+ <td>{{row.f_instruct_type}}</td>
24
+ <td>{{row.f_instruct_title}}</td>
25
+ <td>{{row.f_instruct_state}}</td>
26
+ <td>{{row.f_receive_state}}</td>
27
+ <td>{{row.f_instruct_date}}</td>
28
+ <td>{{row.f_callback_date}}</td>
29
+ </template>
30
+ </data-grid>
31
+ </criteria-paged>
32
+ </div>
33
+ </template>
34
+
35
+ <script>
36
+ import { PagedList } from 'vue-client'
37
+ import co from 'co'
38
+ let getmodelGen = function * (self, val) {
39
+ yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}' and f_instruct_type!='结束下发'`))
40
+ .then(() => {
41
+ // self.getdata()
42
+ })
43
+ }
44
+ export default {
45
+ title: '指令查看',
46
+ data () {
47
+ return {
48
+ model: new PagedList('rs/sql/tel_singleTable_OrderBy', 8, {items: '"f_callback_date,f_instruct_date,f_receive_state,f_instruct_state,f_instruct_title,f_meternumber,f_instruct_type,f_manufacturers"', tablename: '"t_instruct with (nolock)"', orderitem: '"f_instruct_date desc"'}),
49
+ show: false,
50
+ row: Object
51
+ }
52
+ },
53
+ props: {
54
+ user: {
55
+ type: Object
56
+ },
57
+ clearflg:0
58
+ },
59
+ methods: {
60
+ getmodel () {
61
+ let gen = getmodelGen(this)
62
+ co(gen)
63
+ }
64
+ },
65
+ watch: {
66
+ 'user' (val) {
67
+ // this.model.search(`card_id = ${this.user.card_id}`)
68
+ if(this.user){
69
+ if (!(this.user.isNuN)) {
70
+ this.model.rows = []
71
+ this.getmodel()
72
+ }
73
+ }
74
+ },
75
+ 'clearflg'(){
76
+ this.model.rows = []
77
+ }
78
+ },
79
+ ready () {
80
+ if (this.user && this.user.f_userinfo_id) {
81
+ // this.model.search(`card_id = ${this.user.card_id}`)
82
+ this.getmodel()
83
+ }
84
+ }
85
+ }
86
+ </script>