readmeter-changan 1.0.33 → 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,79 +1,79 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="container">
|
|
3
|
-
<route v-ref:route ></route>
|
|
4
|
-
<readmeter-top v-if='showTop' :toptext='pageName'></readmeter-top>
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
<script>
|
|
8
|
-
import Vue from 'vue'
|
|
9
|
-
export default {
|
|
10
|
-
title: 'home',
|
|
11
|
-
data () {
|
|
12
|
-
return {
|
|
13
|
-
pageName: '',
|
|
14
|
-
showback: 'false',
|
|
15
|
-
nowPage: 'home-page',
|
|
16
|
-
showTop: false
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
events: {
|
|
20
|
-
// 'menu' (param) {
|
|
21
|
-
// this.$dispatch('showFullPage')
|
|
22
|
-
// this.showTop = true
|
|
23
|
-
// this.pageName = param
|
|
24
|
-
// if (param === '计划下载') {
|
|
25
|
-
// this.$refs.route.init('plan-down')
|
|
26
|
-
// } else if (param === '表单上传') {
|
|
27
|
-
// this.$refs.route.init('plan-update')
|
|
28
|
-
// } else if (param === '抄表管理') {
|
|
29
|
-
// this.$refs.route.init('read-meter')
|
|
30
|
-
// } else if (param === '抄表记录') {
|
|
31
|
-
// this.$refs.route.init('read-meter-info')
|
|
32
|
-
// } else {
|
|
33
|
-
// this.showTop = false
|
|
34
|
-
// this.$refs.route.init('home')
|
|
35
|
-
// }
|
|
36
|
-
// },
|
|
37
|
-
'changemeterpage' (val, param) {
|
|
38
|
-
console.log(val)
|
|
39
|
-
// this.$dispatch('showFullPage')
|
|
40
|
-
// if (param === 'save') {
|
|
41
|
-
// window.currentPage = '抄表录入'
|
|
42
|
-
// } else {
|
|
43
|
-
// window.currentPage = undefined
|
|
44
|
-
// }
|
|
45
|
-
this.$refs.route.init('read-meter-changan', {param: val, type: param})
|
|
46
|
-
}
|
|
47
|
-
// 'returnPage' () {
|
|
48
|
-
// if (window.currentPage && window.currentPage === '抄表录入') {
|
|
49
|
-
// this.showTop = true
|
|
50
|
-
// this.pageName = '抄表管理'
|
|
51
|
-
// window.currentPage = undefined
|
|
52
|
-
// this.$refs.route.init('read-meter')
|
|
53
|
-
// return
|
|
54
|
-
// }
|
|
55
|
-
// this.$dispatch('hideFullPage')
|
|
56
|
-
// this.showTop = false
|
|
57
|
-
// this.$refs.route.init('readmeter-home')
|
|
58
|
-
// },
|
|
59
|
-
// 'hand-success' (type) {
|
|
60
|
-
// this.$dispatch('showFullPage')
|
|
61
|
-
// HostApp.alert('抄表成功')
|
|
62
|
-
// if (type === 'save') {
|
|
63
|
-
// this.$refs.route.init('read-meter')
|
|
64
|
-
// } else {
|
|
65
|
-
// this.$refs.route.init('read-meter-info')
|
|
66
|
-
// }
|
|
67
|
-
// }
|
|
68
|
-
},
|
|
69
|
-
ready () {
|
|
70
|
-
this.$refs.route.init('read-meter')
|
|
71
|
-
this.showTop = false
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
</script>
|
|
75
|
-
<style>
|
|
76
|
-
.have_top {
|
|
77
|
-
padding-top: 60px;
|
|
78
|
-
}
|
|
79
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="container">
|
|
3
|
+
<route v-ref:route ></route>
|
|
4
|
+
<readmeter-top v-if='showTop' :toptext='pageName'></readmeter-top>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
<script>
|
|
8
|
+
import Vue from 'vue'
|
|
9
|
+
export default {
|
|
10
|
+
title: 'home',
|
|
11
|
+
data () {
|
|
12
|
+
return {
|
|
13
|
+
pageName: '',
|
|
14
|
+
showback: 'false',
|
|
15
|
+
nowPage: 'home-page',
|
|
16
|
+
showTop: false
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
events: {
|
|
20
|
+
// 'menu' (param) {
|
|
21
|
+
// this.$dispatch('showFullPage')
|
|
22
|
+
// this.showTop = true
|
|
23
|
+
// this.pageName = param
|
|
24
|
+
// if (param === '计划下载') {
|
|
25
|
+
// this.$refs.route.init('plan-down')
|
|
26
|
+
// } else if (param === '表单上传') {
|
|
27
|
+
// this.$refs.route.init('plan-update')
|
|
28
|
+
// } else if (param === '抄表管理') {
|
|
29
|
+
// this.$refs.route.init('read-meter')
|
|
30
|
+
// } else if (param === '抄表记录') {
|
|
31
|
+
// this.$refs.route.init('read-meter-info')
|
|
32
|
+
// } else {
|
|
33
|
+
// this.showTop = false
|
|
34
|
+
// this.$refs.route.init('home')
|
|
35
|
+
// }
|
|
36
|
+
// },
|
|
37
|
+
'changemeterpage' (val, param) {
|
|
38
|
+
console.log(val)
|
|
39
|
+
// this.$dispatch('showFullPage')
|
|
40
|
+
// if (param === 'save') {
|
|
41
|
+
// window.currentPage = '抄表录入'
|
|
42
|
+
// } else {
|
|
43
|
+
// window.currentPage = undefined
|
|
44
|
+
// }
|
|
45
|
+
this.$refs.route.init('read-meter-changan', {param: val, type: param})
|
|
46
|
+
}
|
|
47
|
+
// 'returnPage' () {
|
|
48
|
+
// if (window.currentPage && window.currentPage === '抄表录入') {
|
|
49
|
+
// this.showTop = true
|
|
50
|
+
// this.pageName = '抄表管理'
|
|
51
|
+
// window.currentPage = undefined
|
|
52
|
+
// this.$refs.route.init('read-meter')
|
|
53
|
+
// return
|
|
54
|
+
// }
|
|
55
|
+
// this.$dispatch('hideFullPage')
|
|
56
|
+
// this.showTop = false
|
|
57
|
+
// this.$refs.route.init('readmeter-home')
|
|
58
|
+
// },
|
|
59
|
+
// 'hand-success' (type) {
|
|
60
|
+
// this.$dispatch('showFullPage')
|
|
61
|
+
// HostApp.alert('抄表成功')
|
|
62
|
+
// if (type === 'save') {
|
|
63
|
+
// this.$refs.route.init('read-meter')
|
|
64
|
+
// } else {
|
|
65
|
+
// this.$refs.route.init('read-meter-info')
|
|
66
|
+
// }
|
|
67
|
+
// }
|
|
68
|
+
},
|
|
69
|
+
ready () {
|
|
70
|
+
this.$refs.route.init('read-meter')
|
|
71
|
+
this.showTop = false
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
</script>
|
|
75
|
+
<style>
|
|
76
|
+
.have_top {
|
|
77
|
+
padding-top: 60px;
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!--<div class="pp_top text-center important-height" @click="goback()" v-if="showback">-->
|
|
3
|
-
<!--<span class="glyphicon back text-center">返回</span>-->
|
|
4
|
-
<!--<!–<span class="pp_title">{{toptitle}}<span v-if="showback"> </span></span>–>-->
|
|
5
|
-
<!--</div>-->
|
|
6
|
-
<div class="page-header app-header auto" >
|
|
7
|
-
<div @click="goback()" v-if="showback">
|
|
8
|
-
<img src="../../assets/返回.png" width="30px"/>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
<script>
|
|
13
|
-
export default {
|
|
14
|
-
title: 'TOP',
|
|
15
|
-
data () {
|
|
16
|
-
return {
|
|
17
|
-
// toptitle: this.toptext
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
props: {
|
|
21
|
-
// toptext: {
|
|
22
|
-
// type: String,
|
|
23
|
-
// default: '用户操作'
|
|
24
|
-
// },
|
|
25
|
-
showback: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: true
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
methods: {
|
|
31
|
-
goback () {
|
|
32
|
-
if(window.currentPage==='选择用户'){
|
|
33
|
-
this.$showMessage('退出后,所有填写内容将不可恢复,确认退出!', ['confirm', 'cancel']).then((res) => {
|
|
34
|
-
if (res === 'confirm') {
|
|
35
|
-
this.$dispatch('returnPage')
|
|
36
|
-
}
|
|
37
|
-
})
|
|
38
|
-
}else{
|
|
39
|
-
this.$dispatch('returnPage')
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
</script>
|
|
46
|
-
<style scoped>
|
|
47
|
-
.app-header {
|
|
48
|
-
border-radius: 50%;
|
|
49
|
-
position:fixed;
|
|
50
|
-
background: rgba(73, 158, 223, 0.12);
|
|
51
|
-
color: #FFF;
|
|
52
|
-
padding: 8px;
|
|
53
|
-
text-align: center;
|
|
54
|
-
font-size: 1.2em;
|
|
55
|
-
z-index: 10;
|
|
56
|
-
opacity:0.5;
|
|
57
|
-
bottom: 50px;
|
|
58
|
-
margin-top: -20px;
|
|
59
|
-
}
|
|
60
|
-
</style>
|
|
61
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<!--<div class="pp_top text-center important-height" @click="goback()" v-if="showback">-->
|
|
3
|
+
<!--<span class="glyphicon back text-center">返回</span>-->
|
|
4
|
+
<!--<!–<span class="pp_title">{{toptitle}}<span v-if="showback"> </span></span>–>-->
|
|
5
|
+
<!--</div>-->
|
|
6
|
+
<div class="page-header app-header auto" >
|
|
7
|
+
<div @click="goback()" v-if="showback">
|
|
8
|
+
<img src="../../assets/返回.png" width="30px"/>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<script>
|
|
13
|
+
export default {
|
|
14
|
+
title: 'TOP',
|
|
15
|
+
data () {
|
|
16
|
+
return {
|
|
17
|
+
// toptitle: this.toptext
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
props: {
|
|
21
|
+
// toptext: {
|
|
22
|
+
// type: String,
|
|
23
|
+
// default: '用户操作'
|
|
24
|
+
// },
|
|
25
|
+
showback: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
goback () {
|
|
32
|
+
if(window.currentPage==='选择用户'){
|
|
33
|
+
this.$showMessage('退出后,所有填写内容将不可恢复,确认退出!', ['confirm', 'cancel']).then((res) => {
|
|
34
|
+
if (res === 'confirm') {
|
|
35
|
+
this.$dispatch('returnPage')
|
|
36
|
+
}
|
|
37
|
+
})
|
|
38
|
+
}else{
|
|
39
|
+
this.$dispatch('returnPage')
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
</script>
|
|
46
|
+
<style scoped>
|
|
47
|
+
.app-header {
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
position:fixed;
|
|
50
|
+
background: rgba(73, 158, 223, 0.12);
|
|
51
|
+
color: #FFF;
|
|
52
|
+
padding: 8px;
|
|
53
|
+
text-align: center;
|
|
54
|
+
font-size: 1.2em;
|
|
55
|
+
z-index: 10;
|
|
56
|
+
opacity:0.5;
|
|
57
|
+
bottom: 50px;
|
|
58
|
+
margin-top: -20px;
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
61
|
+
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pp_top text-left " @click="goback()" v-if="showback">
|
|
3
|
-
<span class="glyphicon glyphicon-chevron-left muted" style="font-size: 1.5em">返回</span>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script>
|
|
7
|
-
export default {
|
|
8
|
-
title: 'TOP',
|
|
9
|
-
data () {
|
|
10
|
-
return {
|
|
11
|
-
toptitle: this.toptext
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
props: {
|
|
15
|
-
toptext: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: '用户操作'
|
|
18
|
-
},
|
|
19
|
-
showback: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: true
|
|
22
|
-
},
|
|
23
|
-
val:{
|
|
24
|
-
type: String,
|
|
25
|
-
default: 'returnPage'
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
methods: {
|
|
29
|
-
goback () {
|
|
30
|
-
console.log('33333')
|
|
31
|
-
this.$dispatch('returnPage')
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
</script>
|
|
36
|
-
<style>
|
|
37
|
-
.important-height{
|
|
38
|
-
}
|
|
39
|
-
.pp_top {
|
|
40
|
-
background: #4094e3;
|
|
41
|
-
color: white;
|
|
42
|
-
top:0px;
|
|
43
|
-
|
|
44
|
-
padding-bottom: 0.5em;
|
|
45
|
-
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
46
|
-
}
|
|
47
|
-
.back {
|
|
48
|
-
position: relative;
|
|
49
|
-
top: 10px;
|
|
50
|
-
color: white;
|
|
51
|
-
font-size: 20px;
|
|
52
|
-
}
|
|
53
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="pp_top text-left " @click="goback()" v-if="showback">
|
|
3
|
+
<span class="glyphicon glyphicon-chevron-left muted" style="font-size: 1.5em">返回</span>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
export default {
|
|
8
|
+
title: 'TOP',
|
|
9
|
+
data () {
|
|
10
|
+
return {
|
|
11
|
+
toptitle: this.toptext
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
toptext: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: '用户操作'
|
|
18
|
+
},
|
|
19
|
+
showback: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: true
|
|
22
|
+
},
|
|
23
|
+
val:{
|
|
24
|
+
type: String,
|
|
25
|
+
default: 'returnPage'
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
methods: {
|
|
29
|
+
goback () {
|
|
30
|
+
console.log('33333')
|
|
31
|
+
this.$dispatch('returnPage')
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
<style>
|
|
37
|
+
.important-height{
|
|
38
|
+
}
|
|
39
|
+
.pp_top {
|
|
40
|
+
background: #4094e3;
|
|
41
|
+
color: white;
|
|
42
|
+
top:0px;
|
|
43
|
+
|
|
44
|
+
padding-bottom: 0.5em;
|
|
45
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
46
|
+
}
|
|
47
|
+
.back {
|
|
48
|
+
position: relative;
|
|
49
|
+
top: 10px;
|
|
50
|
+
color: white;
|
|
51
|
+
font-size: 20px;
|
|
52
|
+
}
|
|
53
|
+
</style>
|