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,36 +1,36 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="app-bg" id="work-history">
|
|
3
|
-
|
|
4
|
-
<div class="head" style="height:5%">
|
|
5
|
-
<app-header title='售气记录' @back="backpage()"></app-header>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="head" style="height:95%;margin-top:20px;" >
|
|
8
|
-
<hand-sell-info :user="model"></hand-sell-info>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
<script>
|
|
13
|
-
export default {
|
|
14
|
-
title: '工单历史记录',
|
|
15
|
-
data () {
|
|
16
|
-
return {
|
|
17
|
-
system:true,
|
|
18
|
-
sum:0
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
props: {
|
|
22
|
-
model: { // 传入一条保修单信息
|
|
23
|
-
type: Object
|
|
24
|
-
},
|
|
25
|
-
showmessage:true,
|
|
26
|
-
temp:{
|
|
27
|
-
type:String
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
methods:{
|
|
31
|
-
backpage(){
|
|
32
|
-
this.$goto(this.temp,{data: this.model,showmessage:this.showmessage},'list')
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="app-bg" id="work-history">
|
|
3
|
+
|
|
4
|
+
<div class="head" style="height:5%">
|
|
5
|
+
<app-header title='售气记录' @back="backpage()"></app-header>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="head" style="height:95%;margin-top:20px;" >
|
|
8
|
+
<hand-sell-info :user="model"></hand-sell-info>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<script>
|
|
13
|
+
export default {
|
|
14
|
+
title: '工单历史记录',
|
|
15
|
+
data () {
|
|
16
|
+
return {
|
|
17
|
+
system:true,
|
|
18
|
+
sum:0
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
props: {
|
|
22
|
+
model: { // 传入一条保修单信息
|
|
23
|
+
type: Object
|
|
24
|
+
},
|
|
25
|
+
showmessage:true,
|
|
26
|
+
temp:{
|
|
27
|
+
type:String
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
methods:{
|
|
31
|
+
backpage(){
|
|
32
|
+
this.$goto(this.temp,{data: this.model,showmessage:this.showmessage},'list')
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
</script>
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="app-row" style="overflow: auto;padding-bottom: 1em">
|
|
3
|
-
<partial-view v-ref:pv>
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged :pager="true" :simple="true">
|
|
5
|
-
<accordion :one-at-atime="true" type="info" partial="list" >
|
|
6
|
-
<div class="col-sm-12 col-xs-12 col-md-12 accorhead" style="margin-bottom:10px;">
|
|
7
|
-
<div class="row " style="text-align:center">
|
|
8
|
-
<strong class="col-sm-4 col-xs-4 col-md-4">
|
|
9
|
-
<span>累购气量</span></br><span>({{model.count}}次)</span>
|
|
10
|
-
</strong>
|
|
11
|
-
<strong class="col-sm-4 col-xs-4 col-md-4">
|
|
12
|
-
<span>累购金额</span></br><span>({{model.sums.money}}元)</span>
|
|
13
|
-
</strong>
|
|
14
|
-
<strong class="col-sm-4 col-xs-4 col-md-4">
|
|
15
|
-
<span>累购气量:</span></br><span>{{model.sums.sellgas_gas}}m³</span>
|
|
16
|
-
</strong>
|
|
17
|
-
<!--<strong class="col-sm-2 col-xs-2 col-md-2">-->
|
|
18
|
-
<!--<span >转移气量</span>{{model.sums.returngas}}</br></span>-->
|
|
19
|
-
<!--</strong>-->
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-12 col-xs-12 col-md-12 accorhead" style="margin-bottom:10px;">
|
|
23
|
-
<div class="row " style="text-align:center">
|
|
24
|
-
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>卡号</nobr></strong>
|
|
25
|
-
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>购气时间</nobr></strong>
|
|
26
|
-
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>气量</nobr></strong>
|
|
27
|
-
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>金额</nobr></strong>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div type="info" v-for="row in model.rows" :is-open="true" :is-click="false" style="padding:20px;">
|
|
31
|
-
<span class="panel-title" slot="header" @click="$parent.$parent.$parent.selected(row)" style="cursor: pointer;">
|
|
32
|
-
<div class="col-sm-12">
|
|
33
|
-
<div class="row accorbody" style="text-align:center">
|
|
34
|
-
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.card_id}}</nobr></p>
|
|
35
|
-
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.operate_time}}</nobr></p>
|
|
36
|
-
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.sellgas_gas}}</nobr></p>
|
|
37
|
-
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.money}}</nobr></p>
|
|
38
|
-
<!-- <span class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.weixiurenyuan}}</nobr></span> -->
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</span>
|
|
42
|
-
</div>
|
|
43
|
-
</accordion>
|
|
44
|
-
</criteria-paged>
|
|
45
|
-
</partial-view>
|
|
46
|
-
</div>
|
|
47
|
-
</template>
|
|
48
|
-
|
|
49
|
-
<script>
|
|
50
|
-
/**
|
|
51
|
-
*用户档案相关信息组件
|
|
52
|
-
*/
|
|
53
|
-
import * as Util from '../Util'
|
|
54
|
-
import Vue from 'vue'
|
|
55
|
-
import { PagedList } from 'vue-client'
|
|
56
|
-
export default {
|
|
57
|
-
title: '用户报修信息',
|
|
58
|
-
data () {
|
|
59
|
-
return {
|
|
60
|
-
model: new PagedList(Vue.handdataUrl + 'NewSaleRest/rs/sql/singleTable_OrderBy', 10, {
|
|
61
|
-
items: '"f_card_id card_id, f_pregas sellgas_gas, f_preamount money, f_operate_date operate_time"',
|
|
62
|
-
tablename: '"t_sellinggas"',
|
|
63
|
-
orderitem: '"operate_time desc"'
|
|
64
|
-
}, {sellgas_gas: '',money:''}),
|
|
65
|
-
show: false,
|
|
66
|
-
row: Object
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
props: {
|
|
70
|
-
user:{
|
|
71
|
-
type: Object
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
methods: {
|
|
75
|
-
},
|
|
76
|
-
watch: {
|
|
77
|
-
'user.f_card_id' (val) {
|
|
78
|
-
this.model.search(`f_card_id = '${this.user.f_card_id}' and f_state = '有效'`)
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
ready(){
|
|
82
|
-
console.log('请求地址' + Vue.handdataUrl)
|
|
83
|
-
if (this.user && this.user.f_card_id) {
|
|
84
|
-
this.model.search(`f_card_id = '${this.user.f_card_id}' and f_state = '有效'`)
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="app-row" style="overflow: auto;padding-bottom: 1em">
|
|
3
|
+
<partial-view v-ref:pv>
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged :pager="true" :simple="true">
|
|
5
|
+
<accordion :one-at-atime="true" type="info" partial="list" >
|
|
6
|
+
<div class="col-sm-12 col-xs-12 col-md-12 accorhead" style="margin-bottom:10px;">
|
|
7
|
+
<div class="row " style="text-align:center">
|
|
8
|
+
<strong class="col-sm-4 col-xs-4 col-md-4">
|
|
9
|
+
<span>累购气量</span></br><span>({{model.count}}次)</span>
|
|
10
|
+
</strong>
|
|
11
|
+
<strong class="col-sm-4 col-xs-4 col-md-4">
|
|
12
|
+
<span>累购金额</span></br><span>({{model.sums.money}}元)</span>
|
|
13
|
+
</strong>
|
|
14
|
+
<strong class="col-sm-4 col-xs-4 col-md-4">
|
|
15
|
+
<span>累购气量:</span></br><span>{{model.sums.sellgas_gas}}m³</span>
|
|
16
|
+
</strong>
|
|
17
|
+
<!--<strong class="col-sm-2 col-xs-2 col-md-2">-->
|
|
18
|
+
<!--<span >转移气量</span>{{model.sums.returngas}}</br></span>-->
|
|
19
|
+
<!--</strong>-->
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-12 col-xs-12 col-md-12 accorhead" style="margin-bottom:10px;">
|
|
23
|
+
<div class="row " style="text-align:center">
|
|
24
|
+
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>卡号</nobr></strong>
|
|
25
|
+
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>购气时间</nobr></strong>
|
|
26
|
+
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>气量</nobr></strong>
|
|
27
|
+
<strong class="col-sm-3 col-xs-3 col-md-3"><nobr>金额</nobr></strong>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
<div type="info" v-for="row in model.rows" :is-open="true" :is-click="false" style="padding:20px;">
|
|
31
|
+
<span class="panel-title" slot="header" @click="$parent.$parent.$parent.selected(row)" style="cursor: pointer;">
|
|
32
|
+
<div class="col-sm-12">
|
|
33
|
+
<div class="row accorbody" style="text-align:center">
|
|
34
|
+
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.card_id}}</nobr></p>
|
|
35
|
+
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.operate_time}}</nobr></p>
|
|
36
|
+
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.sellgas_gas}}</nobr></p>
|
|
37
|
+
<p class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.money}}</nobr></p>
|
|
38
|
+
<!-- <span class="col-sm-3 col-xs-3 col-md-3"><nobr>{{row.weixiurenyuan}}</nobr></span> -->
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</span>
|
|
42
|
+
</div>
|
|
43
|
+
</accordion>
|
|
44
|
+
</criteria-paged>
|
|
45
|
+
</partial-view>
|
|
46
|
+
</div>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
<script>
|
|
50
|
+
/**
|
|
51
|
+
*用户档案相关信息组件
|
|
52
|
+
*/
|
|
53
|
+
import * as Util from '../Util'
|
|
54
|
+
import Vue from 'vue'
|
|
55
|
+
import { PagedList } from 'vue-client'
|
|
56
|
+
export default {
|
|
57
|
+
title: '用户报修信息',
|
|
58
|
+
data () {
|
|
59
|
+
return {
|
|
60
|
+
model: new PagedList(Vue.handdataUrl + 'NewSaleRest/rs/sql/singleTable_OrderBy', 10, {
|
|
61
|
+
items: '"f_card_id card_id, f_pregas sellgas_gas, f_preamount money, f_operate_date operate_time"',
|
|
62
|
+
tablename: '"t_sellinggas"',
|
|
63
|
+
orderitem: '"operate_time desc"'
|
|
64
|
+
}, {sellgas_gas: '',money:''}),
|
|
65
|
+
show: false,
|
|
66
|
+
row: Object
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
props: {
|
|
70
|
+
user:{
|
|
71
|
+
type: Object
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
},
|
|
76
|
+
watch: {
|
|
77
|
+
'user.f_card_id' (val) {
|
|
78
|
+
this.model.search(`f_card_id = '${this.user.f_card_id}' and f_state = '有效'`)
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
ready(){
|
|
82
|
+
console.log('请求地址' + Vue.handdataUrl)
|
|
83
|
+
if (this.user && this.user.f_card_id) {
|
|
84
|
+
this.model.search(`f_card_id = '${this.user.f_card_id}' and f_state = '有效'`)
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
</script>
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="page-header app-header auto">
|
|
3
|
-
<span>{{title}}</span>
|
|
4
|
-
<div class="app-header-back" @click='back()' v-show="needBack">
|
|
5
|
-
<span class="glyphicon glyphicon-menu-left"></span>
|
|
6
|
-
<span>返回</span>
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<script>
|
|
12
|
-
export default {
|
|
13
|
-
title: '通用头部组件',
|
|
14
|
-
data () {
|
|
15
|
-
return {}
|
|
16
|
-
},
|
|
17
|
-
props: {
|
|
18
|
-
title: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: '燃气应用'
|
|
21
|
-
},
|
|
22
|
-
needBack: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: true
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
methods: {
|
|
28
|
-
back () {
|
|
29
|
-
// console.log('发送返回事件')
|
|
30
|
-
this.$emit('back')
|
|
31
|
-
},
|
|
32
|
-
// 关闭新消息响铃(静音)
|
|
33
|
-
mute () {
|
|
34
|
-
HostApp.mute()
|
|
35
|
-
},
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
</script>
|
|
39
|
-
<style scoped>
|
|
40
|
-
.app-header {
|
|
41
|
-
position: relative;
|
|
42
|
-
margin: 0px;
|
|
43
|
-
background: #009AFC;
|
|
44
|
-
color: #FFF;
|
|
45
|
-
padding: 8px;
|
|
46
|
-
text-align: center;
|
|
47
|
-
font-size: 1.2em;
|
|
48
|
-
/*margin-bottom: 20px;*/
|
|
49
|
-
}
|
|
50
|
-
.app-header-back {
|
|
51
|
-
position: absolute;
|
|
52
|
-
top: 8px;
|
|
53
|
-
color: #D8DCE5;
|
|
54
|
-
}
|
|
55
|
-
.app-header-volume {
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: 0;
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
right: 20px;
|
|
62
|
-
color: #D8DCE5;
|
|
63
|
-
font-size: 1.5em;
|
|
64
|
-
}
|
|
65
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="page-header app-header auto">
|
|
3
|
+
<span>{{title}}</span>
|
|
4
|
+
<div class="app-header-back" @click='back()' v-show="needBack">
|
|
5
|
+
<span class="glyphicon glyphicon-menu-left"></span>
|
|
6
|
+
<span>返回</span>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
export default {
|
|
13
|
+
title: '通用头部组件',
|
|
14
|
+
data () {
|
|
15
|
+
return {}
|
|
16
|
+
},
|
|
17
|
+
props: {
|
|
18
|
+
title: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: '燃气应用'
|
|
21
|
+
},
|
|
22
|
+
needBack: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
methods: {
|
|
28
|
+
back () {
|
|
29
|
+
// console.log('发送返回事件')
|
|
30
|
+
this.$emit('back')
|
|
31
|
+
},
|
|
32
|
+
// 关闭新消息响铃(静音)
|
|
33
|
+
mute () {
|
|
34
|
+
HostApp.mute()
|
|
35
|
+
},
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
</script>
|
|
39
|
+
<style scoped>
|
|
40
|
+
.app-header {
|
|
41
|
+
position: relative;
|
|
42
|
+
margin: 0px;
|
|
43
|
+
background: #009AFC;
|
|
44
|
+
color: #FFF;
|
|
45
|
+
padding: 8px;
|
|
46
|
+
text-align: center;
|
|
47
|
+
font-size: 1.2em;
|
|
48
|
+
/*margin-bottom: 20px;*/
|
|
49
|
+
}
|
|
50
|
+
.app-header-back {
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 8px;
|
|
53
|
+
color: #D8DCE5;
|
|
54
|
+
}
|
|
55
|
+
.app-header-volume {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 0;
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
right: 20px;
|
|
62
|
+
color: #D8DCE5;
|
|
63
|
+
font-size: 1.5em;
|
|
64
|
+
}
|
|
65
|
+
</style>
|