telephone-clients 4.0.0-1-77 → 4.0.0-1-79

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.
@@ -0,0 +1,116 @@
1
+ <template >
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true" classname="table table-bordered table-hover">
4
+ <!-- <criteria partial='criteria' v-ref:criteria >
5
+ </criteria> -->
6
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
7
+ <template partial='head'>
8
+ <tr>
9
+ <th><nobr>用户编号</nobr></th>
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
+ <th><nobr>用气金额</nobr></th>
19
+ <th><nobr>抄表状态</nobr></th>
20
+ <th><nobr>抄表员</nobr></th>
21
+ <th><nobr>是否缴费</nobr></th>
22
+ <th><nobr>抄表日期</nobr></th>
23
+ </tr>
24
+ </template>
25
+ <template partial='body'>
26
+ <td><nobr>{{row.f_userinfo_code}}</nobr></td>
27
+ <td><nobr>{{row.f_user_name}}</nobr></td>
28
+ <td><nobr>{{row.f_meternumber}}</nobr></td>
29
+ <td><nobr>{{row.f_meter_brand}}</nobr></td>
30
+ <td><nobr>{{row.f_last_tablebase}}</nobr></td>
31
+ <td><nobr>{{row.f_tablebase}}</nobr></td>
32
+ <td><nobr>{{row.f_oughtamount}}</nobr></td>
33
+ <td><nobr>{{$parent.$parent.$parent.getstairGas(row)}}</nobr></td>
34
+ <td><nobr>{{$parent.$parent.$parent.getstairPrice(row)}}</nobr></td>
35
+ <td><nobr>{{row.f_oughtfee}}</nobr></td>
36
+ <td><nobr>{{row.f_meter_state}}</nobr></td>
37
+ <td><nobr>{{row.f_inputtor}}</nobr></td>
38
+ <td><nobr>{{row.f_whether_pay}}</nobr></td>
39
+ <td><nobr>{{row.f_hand_date}}</nobr></td>
40
+ </template>
41
+ </data-grid>
42
+ </criteria-paged>
43
+ </div>
44
+ </template>
45
+
46
+ <script>
47
+ import { PagedList } from 'vue-client'
48
+ export default {
49
+ title: '抄表记录',
50
+ data () {
51
+ return {
52
+ model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'af-telephone/rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: 'this.tablename', orderitem: '"f_hand_date desc"'}),
53
+ show: false,
54
+ row: Object
55
+ }
56
+ },
57
+ props: {
58
+ user: {
59
+ type: Object
60
+ },
61
+ clearflg:0
62
+ },
63
+ methods: {
64
+ //气量
65
+ getstairGas(data) {
66
+
67
+ if (data.f_stair_gas1 > 0) {
68
+ return data.f_stair_gas1;
69
+ }
70
+ if (data.f_stair_gas2 > 0) {
71
+ return data.f_stair_gas2;
72
+ }
73
+ if (data.f_stair_gas3 > 0) {
74
+ return data.f_stair_gas3;
75
+ }
76
+ if (data.f_stair_gas4 > 0) {
77
+ return data.f_stair_gas4;
78
+ }
79
+ },
80
+ //单价
81
+ getstairPrice(data) {
82
+
83
+ if (data.f_stair_gas1 > 0) {
84
+ return data.f_stair_price1;
85
+ }
86
+ if (data.f_stair_gas2 > 0) {
87
+ return data.f_stair_price2;
88
+ }
89
+ if (data.f_stair_gas3 > 0) {
90
+ return data.f_stair_price3;
91
+ }
92
+ if (data.f_stair_gas4 > 0) {
93
+ return data.f_stair_price4;
94
+ }
95
+ },
96
+ },
97
+ watch: {
98
+ 'user' (val) {
99
+ if(this.user) {
100
+ this.model.rows = []
101
+ this.model.tablename = 't_handplan with (nolock)'
102
+ this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
103
+ }
104
+ },
105
+ 'clearflg'(){
106
+ this.model.rows = []
107
+ }
108
+ },
109
+ ready () {
110
+ if (this.user && this.user.f_userinfo_id) {
111
+ this.model.tablename = 't_handplan with (nolock)'
112
+ this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
113
+ }
114
+ }
115
+ }
116
+ </script>
@@ -1,16 +1,19 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- //pc和手机分别注册到两个文件中
5
- let specialComp = {
6
-
7
- // 工单详情子组件
8
- 'complain-work': (resolve) => {
9
- require(['./pc/ComplainWork'], resolve)
10
- }
11
- }
12
- exports.specialComp = specialComp
13
-
14
-
15
-
16
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //pc和手机分别注册到两个文件中
5
+ let specialComp = {
6
+
7
+ // 工单详情子组件
8
+ 'complain-work': (resolve) => {
9
+ require(['./pc/ComplainWork'], resolve)
10
+ },
11
+ 'handplan-info': (resolve) => {
12
+ require(['./pc/HandplanInfo'], resolve)
13
+ }
14
+ }
15
+ exports.specialComp = specialComp
16
+
17
+
18
+
19
+