readmeter-changan 1.0.34 → 1.0.36
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/workspace.xml +15 -17
- package/build/dev-server.js +132 -132
- package/build/webpack.base.conf.js +75 -75
- 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 +761 -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 +0 -2
- package/src/components/readingmeter/PhoneHandplanInfo.vue +673 -643
- package/src/components/readingmeter/PictureArea.vue +156 -156
- package/src/components/readingmeter/PlanDown.vue +233 -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 +0 -1
- 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/.idea/ReadMeterClient.iml +0 -9
- package/.npmignore +0 -7
- package/hs_err_pid13284.log +0 -207
- package/yarn.lock +0 -7818
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
<div class="app-row" style="overflow: auto;">
|
|
4
|
-
<header class="head">
|
|
5
|
-
<p>周检表记录</p>
|
|
6
|
-
</header>
|
|
7
|
-
<partial-view v-ref:pv>
|
|
8
|
-
<criteria-paged :model="model" v-ref:paged :pager="true">
|
|
9
|
-
<accordion :one-at-atime="true" type="info" partial="list">
|
|
10
|
-
<div class="col-sm-12 col-xs-12 col-md-12 accorhead" style="margin-bottom:10px;">
|
|
11
|
-
<div class="row" style="text-align:center">
|
|
12
|
-
<strong class="col-sm-4 col-xs-4 col-md-4">时间</strong>
|
|
13
|
-
<strong class="col-sm-4 col-xs-4 col-md-4">工作人员</strong>
|
|
14
|
-
<strong class="col-sm-4 col-xs-4 col-md-4">客服信息</strong>
|
|
15
|
-
<!-- <strong class="col-sm-4 col-xs-4 col-md-4">隐患情况</strong> -->
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
<div type="info" v-for="row in model.rows" :is-open="true" :is-click="false" style="padding:20px;">
|
|
19
|
-
<span class="panel-title" slot="header" @click="$parent.$parent.$parent.selected(row)" style="cursor: pointer;">
|
|
20
|
-
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
21
|
-
<div class="row accorbody" style="text-align:center">
|
|
22
|
-
<p class="col-sm-4 col-xs-4 col-md-4">{{row.f_operate_date}}</p>
|
|
23
|
-
<p class="col-sm-4 col-xs-4 col-md-4">{{row.f_operator}}</p>
|
|
24
|
-
<!-- <span class="col-sm-4 col-xs-4 col-md-4">{{row.f_screeners}}</span> -->
|
|
25
|
-
<p class="col-sm-4 col-xs-4 col-md-4">{{row.f_user_name}}</p>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</span>
|
|
29
|
-
<div class="panel-body list" v-if="$parent.$parent.$parent.isSelected(row)">
|
|
30
|
-
<hand-message :data ='row'></hand-message>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</accordion>
|
|
34
|
-
</criteria-paged>
|
|
35
|
-
</partial-view>
|
|
36
|
-
</div>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<script>
|
|
40
|
-
/**
|
|
41
|
-
*用户档案相关信息组件
|
|
42
|
-
*/
|
|
43
|
-
import * as Util from '../Util'
|
|
44
|
-
import { PagedList } from 'vue-client'
|
|
45
|
-
import Vue from 'vue'
|
|
46
|
-
export default {
|
|
47
|
-
title: '用户安检历史',
|
|
48
|
-
data () {
|
|
49
|
-
return {
|
|
50
|
-
model: new PagedList(Vue.handdataUrl+ 'rs/sql/singleTable_OrderBy',20, {items: '"*"', tablename: '"t_handhistory"', orderitem: '"planid desc"'}),
|
|
51
|
-
row: Object
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
props: {
|
|
55
|
-
user:{
|
|
56
|
-
type: Object
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
methods: {
|
|
60
|
-
selected(row){
|
|
61
|
-
console.log('hahha....');
|
|
62
|
-
if (this.row === row) {
|
|
63
|
-
this.row = null
|
|
64
|
-
} else {
|
|
65
|
-
this.row = row
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
isSelected (row) {
|
|
69
|
-
return this.row === row
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
watch: {
|
|
73
|
-
'user.id' (val) {
|
|
74
|
-
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
ready(){
|
|
78
|
-
if (this.user && this.user.card_id) {
|
|
79
|
-
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
</script>
|
|
84
|
-
<style scoped>
|
|
85
|
-
.head{
|
|
86
|
-
font-size: 1.25em;
|
|
87
|
-
font-weight: bolder;
|
|
88
|
-
padding: 0.5em;
|
|
89
|
-
}
|
|
90
|
-
.list{
|
|
91
|
-
padding: 0px;
|
|
92
|
-
}
|
|
93
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
|
|
3
|
+
<div class="app-row" style="overflow: auto;">
|
|
4
|
+
<header class="head">
|
|
5
|
+
<p>周检表记录</p>
|
|
6
|
+
</header>
|
|
7
|
+
<partial-view v-ref:pv>
|
|
8
|
+
<criteria-paged :model="model" v-ref:paged :pager="true">
|
|
9
|
+
<accordion :one-at-atime="true" type="info" partial="list">
|
|
10
|
+
<div class="col-sm-12 col-xs-12 col-md-12 accorhead" style="margin-bottom:10px;">
|
|
11
|
+
<div class="row" style="text-align:center">
|
|
12
|
+
<strong class="col-sm-4 col-xs-4 col-md-4">时间</strong>
|
|
13
|
+
<strong class="col-sm-4 col-xs-4 col-md-4">工作人员</strong>
|
|
14
|
+
<strong class="col-sm-4 col-xs-4 col-md-4">客服信息</strong>
|
|
15
|
+
<!-- <strong class="col-sm-4 col-xs-4 col-md-4">隐患情况</strong> -->
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<div type="info" v-for="row in model.rows" :is-open="true" :is-click="false" style="padding:20px;">
|
|
19
|
+
<span class="panel-title" slot="header" @click="$parent.$parent.$parent.selected(row)" style="cursor: pointer;">
|
|
20
|
+
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
21
|
+
<div class="row accorbody" style="text-align:center">
|
|
22
|
+
<p class="col-sm-4 col-xs-4 col-md-4">{{row.f_operate_date}}</p>
|
|
23
|
+
<p class="col-sm-4 col-xs-4 col-md-4">{{row.f_operator}}</p>
|
|
24
|
+
<!-- <span class="col-sm-4 col-xs-4 col-md-4">{{row.f_screeners}}</span> -->
|
|
25
|
+
<p class="col-sm-4 col-xs-4 col-md-4">{{row.f_user_name}}</p>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</span>
|
|
29
|
+
<div class="panel-body list" v-if="$parent.$parent.$parent.isSelected(row)">
|
|
30
|
+
<hand-message :data ='row'></hand-message>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</accordion>
|
|
34
|
+
</criteria-paged>
|
|
35
|
+
</partial-view>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script>
|
|
40
|
+
/**
|
|
41
|
+
*用户档案相关信息组件
|
|
42
|
+
*/
|
|
43
|
+
import * as Util from '../Util'
|
|
44
|
+
import { PagedList } from 'vue-client'
|
|
45
|
+
import Vue from 'vue'
|
|
46
|
+
export default {
|
|
47
|
+
title: '用户安检历史',
|
|
48
|
+
data () {
|
|
49
|
+
return {
|
|
50
|
+
model: new PagedList(Vue.handdataUrl+ 'rs/sql/singleTable_OrderBy',20, {items: '"*"', tablename: '"t_handhistory"', orderitem: '"planid desc"'}),
|
|
51
|
+
row: Object
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
props: {
|
|
55
|
+
user:{
|
|
56
|
+
type: Object
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
methods: {
|
|
60
|
+
selected(row){
|
|
61
|
+
console.log('hahha....');
|
|
62
|
+
if (this.row === row) {
|
|
63
|
+
this.row = null
|
|
64
|
+
} else {
|
|
65
|
+
this.row = row
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
isSelected (row) {
|
|
69
|
+
return this.row === row
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
watch: {
|
|
73
|
+
'user.id' (val) {
|
|
74
|
+
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
ready(){
|
|
78
|
+
if (this.user && this.user.card_id) {
|
|
79
|
+
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
</script>
|
|
84
|
+
<style scoped>
|
|
85
|
+
.head{
|
|
86
|
+
font-size: 1.25em;
|
|
87
|
+
font-weight: bolder;
|
|
88
|
+
padding: 0.5em;
|
|
89
|
+
}
|
|
90
|
+
.list{
|
|
91
|
+
padding: 0px;
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
@@ -74,7 +74,6 @@
|
|
|
74
74
|
this.$refs.phoneroute.init(name, this.tabs[this.componentName].props)
|
|
75
75
|
},
|
|
76
76
|
setProps () {
|
|
77
|
-
console.log('抄表用户信息'+JSON.stringify(this.param))
|
|
78
77
|
// 给各自组件添加参数
|
|
79
78
|
this.tabs['user-info'].props = {data: this.param,showmessage:this.show}
|
|
80
79
|
this.tabs['meter-info'].props = {data: this.param,showmessage:this.show}
|
|
@@ -112,7 +111,6 @@
|
|
|
112
111
|
}
|
|
113
112
|
},
|
|
114
113
|
ready () {
|
|
115
|
-
this.setProps()
|
|
116
114
|
},
|
|
117
115
|
components: {
|
|
118
116
|
'user-info': UserInfo,
|