safecheck-client 3.0.32-42 → 3.0.32-44
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/App.vue +31 -31
- package/src/components/android/AndroidDefectDeal.vue +5 -5
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1142
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -155
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -302
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
- package/src/main.js +33 -33
@@ -1,155 +1,172 @@
|
|
1
|
-
<template>
|
2
|
-
<style id="style">
|
3
|
-
td{
|
4
|
-
height: 30px;
|
5
|
-
padding: 0px;
|
6
|
-
text-align: center;
|
7
|
-
}
|
8
|
-
table{
|
9
|
-
margin: auto;
|
10
|
-
width: 100%;
|
11
|
-
border-collapse:collapse;
|
12
|
-
border: 1px solid black;
|
13
|
-
}
|
14
|
-
h1,h2,h3,h4,h5,h6 {
|
15
|
-
text-align: center;
|
16
|
-
}
|
17
|
-
.top{
|
18
|
-
display: flex;
|
19
|
-
justify-content: space-around;
|
20
|
-
margin: 0px;
|
21
|
-
}
|
22
|
-
.bottom{
|
23
|
-
display: flex;
|
24
|
-
justify-content: space-around;
|
25
|
-
margin: 5px 0 0 0;
|
26
|
-
}
|
27
|
-
</style>
|
28
|
-
<div id="print">
|
29
|
-
<h4 style="margin: 0 0 5px 0"><b>安检员考核单</b></h4>
|
30
|
-
<table border="1">
|
31
|
-
<tr>
|
32
|
-
<td colspan="12"><b>公司:{{gongsi}}</b></td>
|
33
|
-
</tr>
|
34
|
-
<tr>
|
35
|
-
</tr>
|
36
|
-
<tr>
|
37
|
-
<td>安检员</td>
|
38
|
-
<td
|
39
|
-
<td
|
40
|
-
<td
|
41
|
-
<td
|
42
|
-
<td
|
43
|
-
<td
|
44
|
-
|
45
|
-
|
46
|
-
<td
|
47
|
-
<td
|
48
|
-
<td
|
49
|
-
<td
|
50
|
-
|
51
|
-
|
52
|
-
<td>{{
|
53
|
-
|
54
|
-
|
55
|
-
<td
|
56
|
-
<td
|
57
|
-
<td
|
58
|
-
<td
|
59
|
-
<td
|
60
|
-
<td
|
61
|
-
<td
|
62
|
-
<td
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
<
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
}
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
}
|
154
|
-
|
155
|
-
|
1
|
+
<template>
|
2
|
+
<style id="style">
|
3
|
+
td{
|
4
|
+
height: 30px;
|
5
|
+
padding: 0px;
|
6
|
+
text-align: center;
|
7
|
+
}
|
8
|
+
table{
|
9
|
+
margin: auto;
|
10
|
+
width: 100%;
|
11
|
+
border-collapse:collapse;
|
12
|
+
border: 1px solid black;
|
13
|
+
}
|
14
|
+
h1,h2,h3,h4,h5,h6 {
|
15
|
+
text-align: center;
|
16
|
+
}
|
17
|
+
.top{
|
18
|
+
display: flex;
|
19
|
+
justify-content: space-around;
|
20
|
+
margin: 0px;
|
21
|
+
}
|
22
|
+
.bottom{
|
23
|
+
display: flex;
|
24
|
+
justify-content: space-around;
|
25
|
+
margin: 5px 0 0 0;
|
26
|
+
}
|
27
|
+
</style>
|
28
|
+
<div id="print">
|
29
|
+
<h4 style="margin: 0 0 5px 0"><b>安检员考核单</b></h4>
|
30
|
+
<table border="1">
|
31
|
+
<tr>
|
32
|
+
<td colspan="12"><b>公司:{{gongsi}}</b></td>
|
33
|
+
</tr>
|
34
|
+
<tr>
|
35
|
+
</tr>
|
36
|
+
<tr>
|
37
|
+
<td>安检员</td>
|
38
|
+
<td>总入户量</td>
|
39
|
+
<td>总到访不遇量</td>
|
40
|
+
<td>总拒检量</td>
|
41
|
+
<td>安检总量</td>
|
42
|
+
<td>计划总数</td>
|
43
|
+
<td>入户</td>
|
44
|
+
<td>到访不遇</td>
|
45
|
+
<td>拒检</td>
|
46
|
+
<td>无计划总数</td>
|
47
|
+
<td>无计划入户</td>
|
48
|
+
<td>无计划到访不遇</td>
|
49
|
+
<td>无计划拒检</td>
|
50
|
+
</tr>
|
51
|
+
<tr v-for="item in data">
|
52
|
+
<td style="text-align: center">{{item.f_checker}}</td>
|
53
|
+
<td style="text-align: center">{{item.ruhu_total}}</td>
|
54
|
+
<td style="text-align: center">{{item.daofang_total}}</td>
|
55
|
+
<td style="text-align: center">{{item.jujian_total}}</td>
|
56
|
+
<td style="text-align: center">{{item.total_sum}}</td>
|
57
|
+
<td style="text-align: center">{{item.plannum}}</td>
|
58
|
+
<td style="text-align: center">{{item.ruhu}}</td>
|
59
|
+
<td style="text-align: center">{{item.daofang}}</td>
|
60
|
+
<td style="text-align: center">{{item.jujian}}</td>
|
61
|
+
<td style="text-align: center">{{item.no_plan_num}}</td>
|
62
|
+
<td style="text-align: center">{{item.noruhu}}</td>
|
63
|
+
<td style="text-align: center">{{item.nodaofang}}</td>
|
64
|
+
<td style="text-align: center">{{item.nojujian}}</td>
|
65
|
+
</tr>
|
66
|
+
<tr >
|
67
|
+
<td></td>
|
68
|
+
<td></td>
|
69
|
+
<td></td>
|
70
|
+
<td></td>
|
71
|
+
<td></td>
|
72
|
+
<td></td>
|
73
|
+
<td></td>
|
74
|
+
<td></td>
|
75
|
+
<td></td>
|
76
|
+
<td></td>
|
77
|
+
<td></td>
|
78
|
+
<td></td>
|
79
|
+
<td></td>
|
80
|
+
</tr>
|
81
|
+
<tr>
|
82
|
+
</tr>
|
83
|
+
</table>
|
84
|
+
<p class="bottom">
|
85
|
+
<span><b>打印人:{{ Printpeople}}</b></span>
|
86
|
+
<span><b>打印时间:{{ PrintTime}}</b></span><br>
|
87
|
+
<span><b>确定打印安检员考核单?</b></span>
|
88
|
+
</p>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<!-- <button type="button" class="btn btn-cancel" @click="cancel()">取消</button>-->
|
92
|
+
<!-- <print-element class="btn btn-primary" id="print1" styleid='style1' top='40' left='60' width='100%' height='100%' v-ref:printelement>打印</print-element>-->
|
93
|
+
|
94
|
+
</template>
|
95
|
+
<script>
|
96
|
+
|
97
|
+
import co from 'co'
|
98
|
+
import { PagedList } from 'vue-client'
|
99
|
+
import * as Util from '../../Util'
|
100
|
+
import {toStandardTimeString} from '../../Util'
|
101
|
+
|
102
|
+
export default {
|
103
|
+
title: '安检信息',
|
104
|
+
data () {
|
105
|
+
return {
|
106
|
+
deviceCollects:[],
|
107
|
+
isBack:false,
|
108
|
+
datareslut:'',
|
109
|
+
PrintTime:Util.toStandardTimeString(),
|
110
|
+
Printpeople:this.$login.f.name,
|
111
|
+
gongsi:this.$login.f.orgs
|
112
|
+
}
|
113
|
+
},
|
114
|
+
props: ['data','show'],
|
115
|
+
ready () {
|
116
|
+
console.log("公司"+this.gongsi)
|
117
|
+
},
|
118
|
+
methods: {
|
119
|
+
|
120
|
+
cancel(){
|
121
|
+
this.showcheckmsg = false
|
122
|
+
},
|
123
|
+
|
124
|
+
//获取当前时间
|
125
|
+
getNowFormatDate() {
|
126
|
+
var date = new Date(this.userinfo.f_check_date);
|
127
|
+
var month = date.getMonth() + 1;
|
128
|
+
var strDate = date.getDate();
|
129
|
+
if (month >= 1 && month <= 9) {
|
130
|
+
month = "0" + month;
|
131
|
+
}
|
132
|
+
if (strDate >= 0 && strDate <= 9) {
|
133
|
+
strDate = "0" + strDate;
|
134
|
+
}
|
135
|
+
var currentdate = date.getFullYear() +'年'+ month + '月' + strDate
|
136
|
+
+ "日" + date.getHours() + "时" + date.getMinutes()+'分'
|
137
|
+
return currentdate;
|
138
|
+
},
|
139
|
+
// getId(){
|
140
|
+
// //tag
|
141
|
+
// },
|
142
|
+
//获取隐患信息
|
143
|
+
getHidden(){
|
144
|
+
//清空所有数据
|
145
|
+
this.deviceCollects=[]
|
146
|
+
for (let datas of this.data) {
|
147
|
+
this.datareslut=datas
|
148
|
+
}
|
149
|
+
|
150
|
+
/*setTimeout(()=> {
|
151
|
+
//tag
|
152
|
+
this.$parent.showcheckmsg = false
|
153
|
+
}, 1000)*/
|
154
|
+
},
|
155
|
+
}
|
156
|
+
}
|
157
|
+
</script>
|
158
|
+
<style media="screen" scoped>
|
159
|
+
.divtext {
|
160
|
+
min-width: 50px;
|
161
|
+
max-width: 200px;
|
162
|
+
border: 1px solid green;
|
163
|
+
display: inline-block;
|
164
|
+
}
|
165
|
+
.bg-info{
|
166
|
+
border-left: 5px solid #5989be;
|
167
|
+
}
|
168
|
+
.bg-cus-body {
|
169
|
+
margin-left: 5px;
|
170
|
+
}
|
171
|
+
|
172
|
+
</style>
|