safecheck-client 3.0.34-52 → 3.0.34-54
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -294
- package/src/components/android/QRCode/QRCodePage.vue +212 -212
- package/src/components/android/examples/UserExamples.vue +130 -126
- package/src/components/rongcheng/AddPlanItem.vue +319 -319
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1045 -1045
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1378 -1378
- package/src/components/rongcheng/AspiratedUserInfo.vue +399 -399
- package/src/components/rongcheng/CheckSearchUser.vue +932 -932
- package/src/components/rongcheng/PaperListNPSQ.vue +455 -455
- package/src/components/rongcheng/PaperListSQ.vue +444 -444
- package/src/components/rongcheng/PaperStatem.vue +419 -419
- package/src/components/rongcheng/PhoneDevicesInfo.vue +248 -248
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1328
- package/src/components/rongcheng/SafecheckOrderV.vue +2533 -2533
- package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +20 -5
- package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
- package/src/filiale/weinan/pc/checkUserList.vue +20 -5
- package/src/main.js +33 -33
- package/src/rongcheng.js +316 -316
@@ -1,126 +1,130 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="work-badge" style="height: 100%">
|
3
|
-
<div class="badge-top" style="height: 33%">
|
4
|
-
<div class="badge-number">NO.{{ f_head_code }}</div>
|
5
|
-
</div>
|
6
|
-
<div class="badge-middle" style="height: 33%">
|
7
|
-
<img class="badge-image" :src="f_head_pic" alt="Badge Image">
|
8
|
-
<h1 class="name">{{ f_head_name }}</h1>
|
9
|
-
<div class="position">{{ f_head_post }}</div>
|
10
|
-
</div>
|
11
|
-
<div class="badge-bottom" style="height: 33%">
|
12
|
-
<div class="contact">
|
13
|
-
<img class="phone-icon" src="../../../assets/123.png" style="height: 30px;width: 30px" alt="Phone Icon">
|
14
|
-
<span style="font-size: 30px">{{ f_head_phone }}</span>
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
</template>
|
19
|
-
<script>
|
20
|
-
import {HttpResetClass} from "vue-client";
|
21
|
-
|
22
|
-
export default {
|
23
|
-
name: 'WorkBadge',
|
24
|
-
title:'WorkBadge',
|
25
|
-
data () {
|
26
|
-
return {
|
27
|
-
// 默认值或初始状态
|
28
|
-
f_head_pic: '',
|
29
|
-
f_head_code: '',
|
30
|
-
f_head_name: '',
|
31
|
-
f_head_post: '',
|
32
|
-
f_head_phone: ''
|
33
|
-
};
|
34
|
-
},
|
35
|
-
async ready () {
|
36
|
-
console.log(window.location.href)
|
37
|
-
let id = ''
|
38
|
-
let url = window.location.href
|
39
|
-
if (url.includes('id')){
|
40
|
-
const urlObj = new URL(url);
|
41
|
-
id = urlObj.searchParams.get('id');
|
42
|
-
let QRCode = await new HttpResetClass().load('post',`rs/sql/tel_singleTable_OrderBy`,{data: {
|
43
|
-
items: '
|
44
|
-
tablename: 't_qr_code',
|
45
|
-
condition: `f_head_code = '${id}'`,
|
46
|
-
orderitem: '1'
|
47
|
-
}})
|
48
|
-
if (QRCode && QRCode.data && QRCode.data.length > 0){
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
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
|
-
|
1
|
+
<template>
|
2
|
+
<div class="work-badge" style="height: 100%">
|
3
|
+
<div class="badge-top" style="height: 33%">
|
4
|
+
<div class="badge-number">NO.{{ f_head_code }}</div>
|
5
|
+
</div>
|
6
|
+
<div class="badge-middle" style="height: 33%">
|
7
|
+
<img class="badge-image" :src="f_head_pic" alt="Badge Image">
|
8
|
+
<h1 class="name">{{ f_head_name }}</h1>
|
9
|
+
<div class="position">{{ f_head_post }}</div>
|
10
|
+
</div>
|
11
|
+
<div class="badge-bottom" style="height: 33%">
|
12
|
+
<div class="contact">
|
13
|
+
<img class="phone-icon" src="../../../assets/123.png" style="height: 30px;width: 30px" alt="Phone Icon">
|
14
|
+
<span style="font-size: 30px">{{ f_head_phone }}</span>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</template>
|
19
|
+
<script>
|
20
|
+
import {HttpResetClass} from "vue-client";
|
21
|
+
|
22
|
+
export default {
|
23
|
+
name: 'WorkBadge',
|
24
|
+
title:'WorkBadge',
|
25
|
+
data () {
|
26
|
+
return {
|
27
|
+
// 默认值或初始状态
|
28
|
+
f_head_pic: '',
|
29
|
+
f_head_code: '',
|
30
|
+
f_head_name: '',
|
31
|
+
f_head_post: '',
|
32
|
+
f_head_phone: ''
|
33
|
+
};
|
34
|
+
},
|
35
|
+
async ready () {
|
36
|
+
console.log(window.location.href)
|
37
|
+
let id = ''
|
38
|
+
let url = window.location.href
|
39
|
+
if (url.includes('id')){
|
40
|
+
const urlObj = new URL(url);
|
41
|
+
id = urlObj.searchParams.get('id');
|
42
|
+
let QRCode = await new HttpResetClass().load('post',`rs/sql/tel_singleTable_OrderBy`,{data: {
|
43
|
+
items: 'tqr.*,tf.f_downloadpath as url',
|
44
|
+
tablename: 't_qr_code tqr left join t_files tf on tf.f_businessid = tqr.id and f_table_name = \'t_qr_code\'',
|
45
|
+
condition: `f_head_code = '${id}'`,
|
46
|
+
orderitem: '1'
|
47
|
+
}})
|
48
|
+
if (QRCode && QRCode.data && QRCode.data.length > 0){
|
49
|
+
if (QRCode.data[0].url){
|
50
|
+
this.f_head_pic = QRCode.data[0].url
|
51
|
+
}else {
|
52
|
+
this.f_head_pic = `/rs/image/file/${QRCode.data[0].f_head_pic}`
|
53
|
+
}
|
54
|
+
this.f_head_code = QRCode.data[0].f_head_code
|
55
|
+
this.f_head_name = QRCode.data[0].f_head_name
|
56
|
+
this.f_head_post = QRCode.data[0].f_head_post
|
57
|
+
this.f_head_phone = QRCode.data[0].f_head_phone
|
58
|
+
}else {
|
59
|
+
console.log('获取二维码信息失败')
|
60
|
+
console.log(QRCode)
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
};
|
65
|
+
</script>
|
66
|
+
<style scoped>
|
67
|
+
.work-badge {
|
68
|
+
display: flex;
|
69
|
+
flex-direction: column;
|
70
|
+
background-image: url('../../../assets/f8632d3c8c4c1cb68e99da754cab1a7.png');
|
71
|
+
align-items: center;
|
72
|
+
background-color: #007BFF;
|
73
|
+
color: white;
|
74
|
+
padding: 20px;
|
75
|
+
border-radius: 10px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.badge-top {
|
79
|
+
display: flex;
|
80
|
+
align-items: center;
|
81
|
+
justify-content: space-between;
|
82
|
+
width: 100%;
|
83
|
+
margin-bottom: 20px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.badge-image {
|
87
|
+
width: 150px;
|
88
|
+
height: 150px;
|
89
|
+
margin-right: 20px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.badge-number {
|
93
|
+
font-size: 24px;
|
94
|
+
float: left;
|
95
|
+
text-align: left;
|
96
|
+
font-weight: bold;
|
97
|
+
}
|
98
|
+
|
99
|
+
.badge-middle {
|
100
|
+
text-align: center;
|
101
|
+
margin-bottom: 20px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.name {
|
105
|
+
font-size: 48px;
|
106
|
+
font-weight: bold;
|
107
|
+
margin-bottom: 10px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.position {
|
111
|
+
font-size: 24px;
|
112
|
+
}
|
113
|
+
|
114
|
+
.badge-bottom {
|
115
|
+
display: flex;
|
116
|
+
align-items: center;
|
117
|
+
justify-content: center;
|
118
|
+
}
|
119
|
+
|
120
|
+
.contact {
|
121
|
+
display: flex;
|
122
|
+
align-items: center;
|
123
|
+
}
|
124
|
+
|
125
|
+
.phone-icon {
|
126
|
+
width: 30px;
|
127
|
+
height: 30px;
|
128
|
+
margin-right: 10px;
|
129
|
+
}
|
130
|
+
</style>
|