readmeter-changan 1.0.32 → 1.0.34
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.
- package/.idea/ReadMeterClient.iml +9 -0
- package/.idea/workspace.xml +62 -442
- package/.npmignore +7 -0
- package/build/dev-server.js +132 -132
- package/build/webpack.base.conf.js +75 -75
- package/hs_err_pid13284.log +207 -0
- package/package.json +1 -1
- package/package.json.bak +99 -99
- package/src/AndroidPlugin.js +28 -28
- package/src/App.vue +74 -74
- package/src/components/readingmeter/CheckInfo.vue +618 -618
- package/src/components/readingmeter/FinishHandInfo.vue +75 -75
- package/src/components/readingmeter/FinishHandInfocopy.vue +99 -99
- package/src/components/readingmeter/HandInfo.vue +87 -87
- package/src/components/readingmeter/HandMessage.vue +40 -40
- package/src/components/readingmeter/HistoryHandInfo.vue +114 -114
- package/src/components/readingmeter/MeterInfo.vue +183 -183
- package/src/components/readingmeter/PhoneHand.vue +93 -93
- package/src/components/readingmeter/PhoneHandHome.vue +2 -0
- package/src/components/readingmeter/PhoneHandplanInfo.vue +643 -643
- package/src/components/readingmeter/PictureArea.vue +156 -156
- package/src/components/readingmeter/PlanDown.vue +232 -232
- package/src/components/readingmeter/PlanUpdate.vue +186 -186
- package/src/components/readingmeter/ReadMeterCenter.vue +325 -325
- package/src/components/readingmeter/ReadMeterInfo.vue +349 -349
- package/src/components/readingmeter/ReadMeterInfoChangan.vue +1 -1
- package/src/components/readingmeter/SellHistory.vue +36 -36
- package/src/components/readingmeter/SellInfo.vue +88 -88
- package/src/components/readingmeter/UserInfo.vue +1 -0
- package/src/components/server/AppHeader.vue +65 -65
- package/src/components/server/ReadMeterHome.vue +192 -192
- package/src/components/server/ReadMeterLogin.vue +161 -161
- package/src/components/server/ReadMeterNavBottom.vue +119 -119
- package/src/components/server/ReadMeterRoute.vue +79 -79
- package/src/components/server/ReadMeterTop.vue +61 -61
- package/src/components/server/ReadMeterTopcopy.vue +53 -53
- package/src/expandcss.less +668 -668
- package/src/main.js +23 -23
- package/src/readmeter-android.js +34 -34
- package/src/readmeter.js +54 -54
- package/yarn.lock +7818 -0
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="bg-white "style="overflow: hidden;">
|
|
3
|
-
<div class="top" style="height: 0%">
|
|
4
|
-
<readmeter-top v-if='showTop' :toptext='pageName'></readmeter-top>
|
|
5
|
-
</div>
|
|
6
|
-
<div class="row "style="height: 100%;" >
|
|
7
|
-
<route v-ref:route :reuse="reuse" name="handplanlist"></route>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
<script>
|
|
12
|
-
import Vue from 'vue'
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
title: 'home',
|
|
16
|
-
data () {
|
|
17
|
-
return {
|
|
18
|
-
model: {
|
|
19
|
-
selectstreet:{
|
|
20
|
-
f_userinfo_code: '',
|
|
21
|
-
f_userinfo_id: '',
|
|
22
|
-
f_user_name: '',
|
|
23
|
-
f_address: '',
|
|
24
|
-
f_meternumber: '',
|
|
25
|
-
startDate: '',
|
|
26
|
-
endDate: '',
|
|
27
|
-
name:'',
|
|
28
|
-
returnData: [],
|
|
29
|
-
gasArr: [],
|
|
30
|
-
streetArr:[],
|
|
31
|
-
pointArr: [],
|
|
32
|
-
handinfo: [],
|
|
33
|
-
show: false,
|
|
34
|
-
f_street: '',
|
|
35
|
-
f_gas_area: '',
|
|
36
|
-
f_point_name: '',
|
|
37
|
-
gasArr: [],
|
|
38
|
-
pointArr: [],
|
|
39
|
-
handcount: 0,
|
|
40
|
-
f_point_name: ''
|
|
41
|
-
},
|
|
42
|
-
selectuser:{},
|
|
43
|
-
f_userinfo_code: '',
|
|
44
|
-
f_userinfo_id: '',
|
|
45
|
-
f_user_name: '',
|
|
46
|
-
f_address: '',
|
|
47
|
-
f_meternumber: '',
|
|
48
|
-
startDate: '',
|
|
49
|
-
endDate: ''
|
|
50
|
-
},
|
|
51
|
-
reuse:true,
|
|
52
|
-
pageName: '',
|
|
53
|
-
name:'',
|
|
54
|
-
showback: 'false',
|
|
55
|
-
nowPage: 'home-page',
|
|
56
|
-
showTop: false
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
events: {
|
|
60
|
-
'menu' (param) {
|
|
61
|
-
this.showTop = true
|
|
62
|
-
this.pageName = param
|
|
63
|
-
if (param === '计划下载') {
|
|
64
|
-
this.name = 'plan-down'
|
|
65
|
-
this.$refs.route.init(this.name)
|
|
66
|
-
} else if (param === '表单上传') {
|
|
67
|
-
this.name = 'plan-update'
|
|
68
|
-
this.$refs.route.init(this.name)
|
|
69
|
-
} else if (param === '抄表管理') {
|
|
70
|
-
this.name = 'read-meter'
|
|
71
|
-
this.$refs.route.init('read-meter',{data:this.model.selectstreet})
|
|
72
|
-
} else if (param === '抄表记录') {
|
|
73
|
-
this.name = 'read-meter-info'
|
|
74
|
-
this.$refs.route.init('read-meter-info')
|
|
75
|
-
} else {
|
|
76
|
-
this.showTop = false
|
|
77
|
-
this.name = 'home'
|
|
78
|
-
this.$refs.route.init('home')
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
'changepage' (val, param) {
|
|
82
|
-
if (param === 'save') {
|
|
83
|
-
window.currentPage = '抄表录入'
|
|
84
|
-
this.name = 'phone-hand-home'
|
|
85
|
-
this.$refs.route.init('phone-hand-home', {data: val, type: param})
|
|
86
|
-
} else if (param === 'selectpoint') {
|
|
87
|
-
//选择用气点
|
|
88
|
-
window.currentPage = '选择用气点'
|
|
89
|
-
this.name = 'read-meter-changan'
|
|
90
|
-
this.$refs.route.init('read-meter-changan', {param: val, type: param})
|
|
91
|
-
} else if (param === 'selectuser') {
|
|
92
|
-
//选择用户
|
|
93
|
-
// window.alert('选择用户')
|
|
94
|
-
window.currentPage = '选择用户'
|
|
95
|
-
|
|
96
|
-
console.log('传入的信息'+ JSON.stringify(val))
|
|
97
|
-
this.name = 'phone-hand-home'
|
|
98
|
-
this.$refs.route.init('phone-hand-home', {param: val, type: param,show:true})
|
|
99
|
-
}else if (param === 'hadupload') {
|
|
100
|
-
//选择用户
|
|
101
|
-
// console.log('查看用户')
|
|
102
|
-
window.currentPage = '已上传'
|
|
103
|
-
this.name = 'phone-hand-home'
|
|
104
|
-
this.$refs.route.init('phone-hand-home', {param: val, type: param,show:false})
|
|
105
|
-
}
|
|
106
|
-
else if (param === 'waitupload') {
|
|
107
|
-
//选择用户
|
|
108
|
-
// console.log('查看用户')
|
|
109
|
-
window.currentPage = '待上传'
|
|
110
|
-
this.name = 'phone-hand-home'
|
|
111
|
-
this.$refs.route.init('phone-hand-home', {param: val, type: param,show:false})
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
window.currentPage = undefined
|
|
115
|
-
this.name = 'phone-hand-home'
|
|
116
|
-
this.$refs.route.init('phone-hand-home', {param: val, type: param})
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
'returnPage' () {
|
|
120
|
-
console.log('当前页面' + window.currentPage)
|
|
121
|
-
if (window.currentPage && window.currentPage === '抄表录入') {
|
|
122
|
-
this.showTop = true
|
|
123
|
-
this.pageName = '抄表管理'
|
|
124
|
-
window.currentPage = undefined
|
|
125
|
-
this.$refs.route.init('read-meter')
|
|
126
|
-
return
|
|
127
|
-
}
|
|
128
|
-
if (window.currentPage && window.currentPage === '选择用气点') {
|
|
129
|
-
this.showTop = true
|
|
130
|
-
this.pageName = '选择用气点'
|
|
131
|
-
window.currentPage = undefined
|
|
132
|
-
this.$refs.route.init('read-meter',{data:this.model.selectstreet})
|
|
133
|
-
|
|
134
|
-
return
|
|
135
|
-
}
|
|
136
|
-
if (window.currentPage && window.currentPage === '选择用户') {
|
|
137
|
-
this.showTop = true
|
|
138
|
-
this.pageName = '选择用户'
|
|
139
|
-
window.currentPage = '选择用气点'
|
|
140
|
-
this.$refs.route.init('read-meter-changan',{param:this.model.selectstreet})
|
|
141
|
-
this.$refs.route.remove('phone-hand-home')
|
|
142
|
-
return
|
|
143
|
-
}
|
|
144
|
-
if (window.currentPage && window.currentPage === '已上传') {
|
|
145
|
-
this.showTop = true
|
|
146
|
-
this.pageName = '抄表记录查看'
|
|
147
|
-
window.currentPage = ''
|
|
148
|
-
this.$refs.route.init('read-meter-info',{f_meter_state:'已抄表'})
|
|
149
|
-
this.$refs.route.remove('phone-hand-home')
|
|
150
|
-
return
|
|
151
|
-
}
|
|
152
|
-
if (window.currentPage && window.currentPage === '待上传') {
|
|
153
|
-
this.showTop = true
|
|
154
|
-
this.pageName = '抄表记录查看'
|
|
155
|
-
window.currentPage = ''
|
|
156
|
-
this.name = 'read-meter-info'
|
|
157
|
-
this.$refs.route.init('read-meter-info',{f_meter_state:'待上传'})
|
|
158
|
-
this.$refs.route.remove('phone-hand-home')
|
|
159
|
-
return
|
|
160
|
-
}
|
|
161
|
-
// this.$dispatch('hideFullPage')
|
|
162
|
-
this.showTop = false
|
|
163
|
-
this.name = 'readmeter-homepage'
|
|
164
|
-
this.$refs.route.init('readmeter-homepage')
|
|
165
|
-
},
|
|
166
|
-
'hand-success' (type) {
|
|
167
|
-
// this.$dispatch('showFullPage')
|
|
168
|
-
HostApp.alert('抄表成功')
|
|
169
|
-
if (type === 'save') {
|
|
170
|
-
this.name = 'read-meter'
|
|
171
|
-
this.$refs.route.init('read-meter',null)
|
|
172
|
-
} else {
|
|
173
|
-
this.name = 'read-meter-info'
|
|
174
|
-
this.$refs.route.init('read-meter-info',null)
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
ready () {
|
|
179
|
-
this.name = 'readmeter-homepage'
|
|
180
|
-
this.$refs.route.init('readmeter-homepage',null)
|
|
181
|
-
this.showTop = false
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
</script>
|
|
185
|
-
<style>
|
|
186
|
-
.have_top {
|
|
187
|
-
padding-top: 60px;
|
|
188
|
-
}
|
|
189
|
-
/*.content{*/
|
|
190
|
-
|
|
191
|
-
/*}*/
|
|
192
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bg-white "style="overflow: hidden;">
|
|
3
|
+
<div class="top" style="height: 0%">
|
|
4
|
+
<readmeter-top v-if='showTop' :toptext='pageName'></readmeter-top>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="row "style="height: 100%;" >
|
|
7
|
+
<route v-ref:route :reuse="reuse" name="handplanlist"></route>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script>
|
|
12
|
+
import Vue from 'vue'
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
title: 'home',
|
|
16
|
+
data () {
|
|
17
|
+
return {
|
|
18
|
+
model: {
|
|
19
|
+
selectstreet:{
|
|
20
|
+
f_userinfo_code: '',
|
|
21
|
+
f_userinfo_id: '',
|
|
22
|
+
f_user_name: '',
|
|
23
|
+
f_address: '',
|
|
24
|
+
f_meternumber: '',
|
|
25
|
+
startDate: '',
|
|
26
|
+
endDate: '',
|
|
27
|
+
name:'',
|
|
28
|
+
returnData: [],
|
|
29
|
+
gasArr: [],
|
|
30
|
+
streetArr:[],
|
|
31
|
+
pointArr: [],
|
|
32
|
+
handinfo: [],
|
|
33
|
+
show: false,
|
|
34
|
+
f_street: '',
|
|
35
|
+
f_gas_area: '',
|
|
36
|
+
f_point_name: '',
|
|
37
|
+
gasArr: [],
|
|
38
|
+
pointArr: [],
|
|
39
|
+
handcount: 0,
|
|
40
|
+
f_point_name: ''
|
|
41
|
+
},
|
|
42
|
+
selectuser:{},
|
|
43
|
+
f_userinfo_code: '',
|
|
44
|
+
f_userinfo_id: '',
|
|
45
|
+
f_user_name: '',
|
|
46
|
+
f_address: '',
|
|
47
|
+
f_meternumber: '',
|
|
48
|
+
startDate: '',
|
|
49
|
+
endDate: ''
|
|
50
|
+
},
|
|
51
|
+
reuse:true,
|
|
52
|
+
pageName: '',
|
|
53
|
+
name:'',
|
|
54
|
+
showback: 'false',
|
|
55
|
+
nowPage: 'home-page',
|
|
56
|
+
showTop: false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
events: {
|
|
60
|
+
'menu' (param) {
|
|
61
|
+
this.showTop = true
|
|
62
|
+
this.pageName = param
|
|
63
|
+
if (param === '计划下载') {
|
|
64
|
+
this.name = 'plan-down'
|
|
65
|
+
this.$refs.route.init(this.name)
|
|
66
|
+
} else if (param === '表单上传') {
|
|
67
|
+
this.name = 'plan-update'
|
|
68
|
+
this.$refs.route.init(this.name)
|
|
69
|
+
} else if (param === '抄表管理') {
|
|
70
|
+
this.name = 'read-meter'
|
|
71
|
+
this.$refs.route.init('read-meter',{data:this.model.selectstreet})
|
|
72
|
+
} else if (param === '抄表记录') {
|
|
73
|
+
this.name = 'read-meter-info'
|
|
74
|
+
this.$refs.route.init('read-meter-info')
|
|
75
|
+
} else {
|
|
76
|
+
this.showTop = false
|
|
77
|
+
this.name = 'home'
|
|
78
|
+
this.$refs.route.init('home')
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
'changepage' (val, param) {
|
|
82
|
+
if (param === 'save') {
|
|
83
|
+
window.currentPage = '抄表录入'
|
|
84
|
+
this.name = 'phone-hand-home'
|
|
85
|
+
this.$refs.route.init('phone-hand-home', {data: val, type: param})
|
|
86
|
+
} else if (param === 'selectpoint') {
|
|
87
|
+
//选择用气点
|
|
88
|
+
window.currentPage = '选择用气点'
|
|
89
|
+
this.name = 'read-meter-changan'
|
|
90
|
+
this.$refs.route.init('read-meter-changan', {param: val, type: param})
|
|
91
|
+
} else if (param === 'selectuser') {
|
|
92
|
+
//选择用户
|
|
93
|
+
// window.alert('选择用户')
|
|
94
|
+
window.currentPage = '选择用户'
|
|
95
|
+
|
|
96
|
+
console.log('传入的信息'+ JSON.stringify(val))
|
|
97
|
+
this.name = 'phone-hand-home'
|
|
98
|
+
this.$refs.route.init('phone-hand-home', {param: val, type: param,show:true})
|
|
99
|
+
}else if (param === 'hadupload') {
|
|
100
|
+
//选择用户
|
|
101
|
+
// console.log('查看用户')
|
|
102
|
+
window.currentPage = '已上传'
|
|
103
|
+
this.name = 'phone-hand-home'
|
|
104
|
+
this.$refs.route.init('phone-hand-home', {param: val, type: param,show:false})
|
|
105
|
+
}
|
|
106
|
+
else if (param === 'waitupload') {
|
|
107
|
+
//选择用户
|
|
108
|
+
// console.log('查看用户')
|
|
109
|
+
window.currentPage = '待上传'
|
|
110
|
+
this.name = 'phone-hand-home'
|
|
111
|
+
this.$refs.route.init('phone-hand-home', {param: val, type: param,show:false})
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
window.currentPage = undefined
|
|
115
|
+
this.name = 'phone-hand-home'
|
|
116
|
+
this.$refs.route.init('phone-hand-home', {param: val, type: param})
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
'returnPage' () {
|
|
120
|
+
console.log('当前页面' + window.currentPage)
|
|
121
|
+
if (window.currentPage && window.currentPage === '抄表录入') {
|
|
122
|
+
this.showTop = true
|
|
123
|
+
this.pageName = '抄表管理'
|
|
124
|
+
window.currentPage = undefined
|
|
125
|
+
this.$refs.route.init('read-meter')
|
|
126
|
+
return
|
|
127
|
+
}
|
|
128
|
+
if (window.currentPage && window.currentPage === '选择用气点') {
|
|
129
|
+
this.showTop = true
|
|
130
|
+
this.pageName = '选择用气点'
|
|
131
|
+
window.currentPage = undefined
|
|
132
|
+
this.$refs.route.init('read-meter',{data:this.model.selectstreet})
|
|
133
|
+
|
|
134
|
+
return
|
|
135
|
+
}
|
|
136
|
+
if (window.currentPage && window.currentPage === '选择用户') {
|
|
137
|
+
this.showTop = true
|
|
138
|
+
this.pageName = '选择用户'
|
|
139
|
+
window.currentPage = '选择用气点'
|
|
140
|
+
this.$refs.route.init('read-meter-changan',{param:this.model.selectstreet})
|
|
141
|
+
this.$refs.route.remove('phone-hand-home')
|
|
142
|
+
return
|
|
143
|
+
}
|
|
144
|
+
if (window.currentPage && window.currentPage === '已上传') {
|
|
145
|
+
this.showTop = true
|
|
146
|
+
this.pageName = '抄表记录查看'
|
|
147
|
+
window.currentPage = ''
|
|
148
|
+
this.$refs.route.init('read-meter-info',{f_meter_state:'已抄表'})
|
|
149
|
+
this.$refs.route.remove('phone-hand-home')
|
|
150
|
+
return
|
|
151
|
+
}
|
|
152
|
+
if (window.currentPage && window.currentPage === '待上传') {
|
|
153
|
+
this.showTop = true
|
|
154
|
+
this.pageName = '抄表记录查看'
|
|
155
|
+
window.currentPage = ''
|
|
156
|
+
this.name = 'read-meter-info'
|
|
157
|
+
this.$refs.route.init('read-meter-info',{f_meter_state:'待上传'})
|
|
158
|
+
this.$refs.route.remove('phone-hand-home')
|
|
159
|
+
return
|
|
160
|
+
}
|
|
161
|
+
// this.$dispatch('hideFullPage')
|
|
162
|
+
this.showTop = false
|
|
163
|
+
this.name = 'readmeter-homepage'
|
|
164
|
+
this.$refs.route.init('readmeter-homepage')
|
|
165
|
+
},
|
|
166
|
+
'hand-success' (type) {
|
|
167
|
+
// this.$dispatch('showFullPage')
|
|
168
|
+
HostApp.alert('抄表成功')
|
|
169
|
+
if (type === 'save') {
|
|
170
|
+
this.name = 'read-meter'
|
|
171
|
+
this.$refs.route.init('read-meter',null)
|
|
172
|
+
} else {
|
|
173
|
+
this.name = 'read-meter-info'
|
|
174
|
+
this.$refs.route.init('read-meter-info',null)
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
ready () {
|
|
179
|
+
this.name = 'readmeter-homepage'
|
|
180
|
+
this.$refs.route.init('readmeter-homepage',null)
|
|
181
|
+
this.showTop = false
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
</script>
|
|
185
|
+
<style>
|
|
186
|
+
.have_top {
|
|
187
|
+
padding-top: 60px;
|
|
188
|
+
}
|
|
189
|
+
/*.content{*/
|
|
190
|
+
|
|
191
|
+
/*}*/
|
|
192
|
+
</style>
|