system-phone 3.0.24 → 3.0.26
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/package.json +1 -1
- package/src/assets/yinliang.png +0 -0
- package/src/components/AttendManage.vue +470 -470
- package/src/components/OnlineManage.vue +362 -362
- package/src/components/PhoneAllInfo.vue +68 -68
- package/src/components/PhoneMeterInfo.vue +132 -132
- package/src/components/RightTree.vue +217 -217
- package/src/components/ToolsPage.vue +176 -175
- package/src/systemphonegrid.js +194 -194
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="panel panel-default auto repair-info-content" >
|
|
3
|
-
<tabset v-ref:tabs :active="0" :close="false" >
|
|
4
|
-
<tab header="购气记录" id="clickMe" v-ref:tab>
|
|
5
|
-
<phone-sell-info style="height:auto" :user.sync="user" :f_userinfo_id.sync="f_userinfo_id" @deal-msg="dealMsg"></phone-sell-info>
|
|
6
|
-
</tab>
|
|
7
|
-
<tab header="换表记录">
|
|
8
|
-
<phone-meter-info :user.sync="user" :f_userinfo_id.sync="f_userinfo_id"
|
|
9
|
-
></phone-meter-info>
|
|
10
|
-
</tab>
|
|
11
|
-
</tabset>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
title: '查询用户',
|
|
19
|
-
data () {
|
|
20
|
-
return {
|
|
21
|
-
|
|
22
|
-
model: [],
|
|
23
|
-
show: false,
|
|
24
|
-
row: Object,
|
|
25
|
-
//测试数据
|
|
26
|
-
// user: {
|
|
27
|
-
// type: Object
|
|
28
|
-
// },
|
|
29
|
-
// f_userinfo_id:''
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
props: {
|
|
33
|
-
user: {
|
|
34
|
-
type: Object
|
|
35
|
-
},
|
|
36
|
-
f_userinfo_id: ''
|
|
37
|
-
},
|
|
38
|
-
methods: {
|
|
39
|
-
dealMsg (obj) {
|
|
40
|
-
//tag
|
|
41
|
-
this.listpage = false
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
watch: {
|
|
45
|
-
},
|
|
46
|
-
ready () {
|
|
47
|
-
//tag
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
</script>
|
|
51
|
-
<style>
|
|
52
|
-
.active {
|
|
53
|
-
background-color: #9de0f5;
|
|
54
|
-
}
|
|
55
|
-
.app-botton {
|
|
56
|
-
position:fixed;
|
|
57
|
-
background: #87b2dd;
|
|
58
|
-
color: #FFF;
|
|
59
|
-
padding: 8px;
|
|
60
|
-
text-align: center;
|
|
61
|
-
font-size: 1.2em;
|
|
62
|
-
z-index: 10;
|
|
63
|
-
opacity:0.5;
|
|
64
|
-
bottom: 50px;
|
|
65
|
-
margin-top: -10px;
|
|
66
|
-
height: 40px;
|
|
67
|
-
}
|
|
68
|
-
</style>
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content" >
|
|
3
|
+
<tabset v-ref:tabs :active="0" :close="false" >
|
|
4
|
+
<tab header="购气记录" id="clickMe" v-ref:tab>
|
|
5
|
+
<phone-sell-info style="height:auto" :user.sync="user" :f_userinfo_id.sync="f_userinfo_id" @deal-msg="dealMsg"></phone-sell-info>
|
|
6
|
+
</tab>
|
|
7
|
+
<tab header="换表记录">
|
|
8
|
+
<phone-meter-info :user.sync="user" :f_userinfo_id.sync="f_userinfo_id"
|
|
9
|
+
></phone-meter-info>
|
|
10
|
+
</tab>
|
|
11
|
+
</tabset>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
title: '查询用户',
|
|
19
|
+
data () {
|
|
20
|
+
return {
|
|
21
|
+
|
|
22
|
+
model: [],
|
|
23
|
+
show: false,
|
|
24
|
+
row: Object,
|
|
25
|
+
//测试数据
|
|
26
|
+
// user: {
|
|
27
|
+
// type: Object
|
|
28
|
+
// },
|
|
29
|
+
// f_userinfo_id:''
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
props: {
|
|
33
|
+
user: {
|
|
34
|
+
type: Object
|
|
35
|
+
},
|
|
36
|
+
f_userinfo_id: ''
|
|
37
|
+
},
|
|
38
|
+
methods: {
|
|
39
|
+
dealMsg (obj) {
|
|
40
|
+
//tag
|
|
41
|
+
this.listpage = false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
watch: {
|
|
45
|
+
},
|
|
46
|
+
ready () {
|
|
47
|
+
//tag
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
51
|
+
<style>
|
|
52
|
+
.active {
|
|
53
|
+
background-color: #9de0f5;
|
|
54
|
+
}
|
|
55
|
+
.app-botton {
|
|
56
|
+
position:fixed;
|
|
57
|
+
background: #87b2dd;
|
|
58
|
+
color: #FFF;
|
|
59
|
+
padding: 8px;
|
|
60
|
+
text-align: center;
|
|
61
|
+
font-size: 1.2em;
|
|
62
|
+
z-index: 10;
|
|
63
|
+
opacity:0.5;
|
|
64
|
+
bottom: 50px;
|
|
65
|
+
margin-top: -10px;
|
|
66
|
+
height: 40px;
|
|
67
|
+
}
|
|
68
|
+
</style>
|
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="panel panel-default auto repair-info-content">
|
|
3
|
-
<div class="panel-body">
|
|
4
|
-
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
-
<div class="bg-info">
|
|
6
|
-
<div class="row form-group">
|
|
7
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
10
|
-
旧表号: {{row.f_old_meternumber}}
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
-
新表号: {{row.f_new_meternumber}}
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
16
|
-
旧表底数: {{row.f_new_meter_base}}
|
|
17
|
-
</div>
|
|
18
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
19
|
-
新表底数: {{row.f_old_meter_base}}
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
22
|
-
旧表品牌: {{row.f_old_meter_brand}}
|
|
23
|
-
</div>
|
|
24
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
-
新表品牌: {{row.f_new_meter_brand}}
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
-
换表补气金额: {{row.f_newtable_fillfee}}
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
31
|
-
换表补气气量: {{row.f_newtable_fillgas}}
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<p v-show="model.length == 0 ">此用户暂无换表记录</p>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script>
|
|
45
|
-
import { PagedList } from 'vue-client'
|
|
46
|
-
import { HttpResetClass } from 'vue-client'
|
|
47
|
-
import co from 'co'
|
|
48
|
-
export default {
|
|
49
|
-
title: '换表记录',
|
|
50
|
-
data () {
|
|
51
|
-
return {
|
|
52
|
-
model: [],
|
|
53
|
-
show: false,
|
|
54
|
-
row: Object
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
props: {
|
|
58
|
-
user: {
|
|
59
|
-
type: Object
|
|
60
|
-
},
|
|
61
|
-
f_userinfo_id:''
|
|
62
|
-
},
|
|
63
|
-
methods: {
|
|
64
|
-
getmodel () {
|
|
65
|
-
let userinfoid
|
|
66
|
-
if(this.f_userinfo_id){
|
|
67
|
-
userinfoid = this.f_userinfo_id
|
|
68
|
-
}else{
|
|
69
|
-
userinfoid = this.user.f_userinfo_id
|
|
70
|
-
console.log(this.user.f_userinfo_id)
|
|
71
|
-
}
|
|
72
|
-
console.log(userinfoid)
|
|
73
|
-
let http = new HttpResetClass()
|
|
74
|
-
http.load('POST', '/rs/sql/getChangeTable', {
|
|
75
|
-
data: {
|
|
76
|
-
items: "*",
|
|
77
|
-
tablename: "t_userfiles",
|
|
78
|
-
condition: `f_userinfo_id = '${userinfoid}'`
|
|
79
|
-
}
|
|
80
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
81
|
-
debugger
|
|
82
|
-
this.model=res.data
|
|
83
|
-
this.show1=true
|
|
84
|
-
})
|
|
85
|
-
},
|
|
86
|
-
back(){
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
watch: {
|
|
91
|
-
'user' (val) {
|
|
92
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
93
|
-
if(this.user){
|
|
94
|
-
if (!(this.user.isNuN)) {
|
|
95
|
-
this.model= []
|
|
96
|
-
this.getmodel()
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
'f_userinfo_id'(){
|
|
101
|
-
if(this.f_userinfo_id){
|
|
102
|
-
this.model= []
|
|
103
|
-
this.getmodel()
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
ready () {
|
|
108
|
-
if (this.user && this.user.f_userinfo_id) {
|
|
109
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
110
|
-
this.getmodel()
|
|
111
|
-
}
|
|
112
|
-
if(this.f_userinfo_id){
|
|
113
|
-
this.getmodel()
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
</script>
|
|
118
|
-
<style>
|
|
119
|
-
.app-botton {
|
|
120
|
-
position:fixed;
|
|
121
|
-
background: #87b2dd;
|
|
122
|
-
color: #FFF;
|
|
123
|
-
padding: 8px;
|
|
124
|
-
text-align: center;
|
|
125
|
-
font-size: 1.2em;
|
|
126
|
-
z-index: 10;
|
|
127
|
-
opacity:0.5;
|
|
128
|
-
bottom: 50px;
|
|
129
|
-
margin-top: -10px;
|
|
130
|
-
height: 40px;
|
|
131
|
-
}
|
|
132
|
-
</style>
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
|
3
|
+
<div class="panel-body">
|
|
4
|
+
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
+
<div class="bg-info">
|
|
6
|
+
<div class="row form-group">
|
|
7
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
10
|
+
旧表号: {{row.f_old_meternumber}}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
+
新表号: {{row.f_new_meternumber}}
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
16
|
+
旧表底数: {{row.f_new_meter_base}}
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
19
|
+
新表底数: {{row.f_old_meter_base}}
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
22
|
+
旧表品牌: {{row.f_old_meter_brand}}
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
+
新表品牌: {{row.f_new_meter_brand}}
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
+
换表补气金额: {{row.f_newtable_fillfee}}
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
31
|
+
换表补气气量: {{row.f_newtable_fillgas}}
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<p v-show="model.length == 0 ">此用户暂无换表记录</p>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script>
|
|
45
|
+
import { PagedList } from 'vue-client'
|
|
46
|
+
import { HttpResetClass } from 'vue-client'
|
|
47
|
+
import co from 'co'
|
|
48
|
+
export default {
|
|
49
|
+
title: '换表记录',
|
|
50
|
+
data () {
|
|
51
|
+
return {
|
|
52
|
+
model: [],
|
|
53
|
+
show: false,
|
|
54
|
+
row: Object
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
props: {
|
|
58
|
+
user: {
|
|
59
|
+
type: Object
|
|
60
|
+
},
|
|
61
|
+
f_userinfo_id:''
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
getmodel () {
|
|
65
|
+
let userinfoid
|
|
66
|
+
if(this.f_userinfo_id){
|
|
67
|
+
userinfoid = this.f_userinfo_id
|
|
68
|
+
}else{
|
|
69
|
+
userinfoid = this.user.f_userinfo_id
|
|
70
|
+
console.log(this.user.f_userinfo_id)
|
|
71
|
+
}
|
|
72
|
+
console.log(userinfoid)
|
|
73
|
+
let http = new HttpResetClass()
|
|
74
|
+
http.load('POST', '/rs/sql/getChangeTable', {
|
|
75
|
+
data: {
|
|
76
|
+
items: "*",
|
|
77
|
+
tablename: "t_userfiles",
|
|
78
|
+
condition: `f_userinfo_id = '${userinfoid}'`
|
|
79
|
+
}
|
|
80
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
81
|
+
debugger
|
|
82
|
+
this.model=res.data
|
|
83
|
+
this.show1=true
|
|
84
|
+
})
|
|
85
|
+
},
|
|
86
|
+
back(){
|
|
87
|
+
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
watch: {
|
|
91
|
+
'user' (val) {
|
|
92
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
93
|
+
if(this.user){
|
|
94
|
+
if (!(this.user.isNuN)) {
|
|
95
|
+
this.model= []
|
|
96
|
+
this.getmodel()
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
'f_userinfo_id'(){
|
|
101
|
+
if(this.f_userinfo_id){
|
|
102
|
+
this.model= []
|
|
103
|
+
this.getmodel()
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
ready () {
|
|
108
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
109
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
110
|
+
this.getmodel()
|
|
111
|
+
}
|
|
112
|
+
if(this.f_userinfo_id){
|
|
113
|
+
this.getmodel()
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
</script>
|
|
118
|
+
<style>
|
|
119
|
+
.app-botton {
|
|
120
|
+
position:fixed;
|
|
121
|
+
background: #87b2dd;
|
|
122
|
+
color: #FFF;
|
|
123
|
+
padding: 8px;
|
|
124
|
+
text-align: center;
|
|
125
|
+
font-size: 1.2em;
|
|
126
|
+
z-index: 10;
|
|
127
|
+
opacity:0.5;
|
|
128
|
+
bottom: 50px;
|
|
129
|
+
margin-top: -10px;
|
|
130
|
+
height: 40px;
|
|
131
|
+
}
|
|
132
|
+
</style>
|