safecheck-client 3.0.34-27 → 3.0.34-29
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-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -55
- package/src/App.vue +31 -31
- package/src/components/android/ImgSelfAndroid.vue +181 -181
- package/src/components/android/QRCode/QRCodeBinding.vue +247 -247
- package/src/components/android/QRCode/QRCodePage.vue +199 -199
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/examples/SafeListExamples.vue +95 -95
- package/src/components/android/examples/UserExamples.vue +125 -125
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
- package/src/filiale/baiyin/pc/PaperList.vue +790 -790
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1231 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -2811
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
- package/src/filiale/jiaxian/android.js +14 -13
- package/src/filiale/jiaxian/pc.js +12 -12
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +649 -649
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -24
- package/src/main.js +1 -1
@@ -1,95 +1,95 @@
|
|
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-if="model.length>0">
|
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-12 col-sm-12 col-md-12">
|
10
|
-
用户名称: {{ model[0].f_user_name }}
|
11
|
-
</div>
|
12
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
13
|
-
用户编号: {{ model[0].f_userinfo_code }}
|
14
|
-
</div>
|
15
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
16
|
-
用户电话: {{ model[0].f_user_phone }}
|
17
|
-
</div>
|
18
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
19
|
-
用户地址: {{ model[0].f_address }}
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<div class="panel panel-default well" v-for="row in model">
|
27
|
-
<div class="bg-info">
|
28
|
-
<div class="row form-group">
|
29
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
30
|
-
<div class="row">
|
31
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
32
|
-
安检时间: {{ row.f_offsite_time }}
|
33
|
-
</div>
|
34
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
35
|
-
安检员: {{ row.f_checker_name }}
|
36
|
-
</div>
|
37
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
38
|
-
安检状态: {{ row.f_entry_status }}
|
39
|
-
</div>
|
40
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
41
|
-
安检结果: {{ row.f_defect_content.include('正常') ? '正常' : '有隐患' }}
|
42
|
-
</div>
|
43
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
44
|
-
整改内容: {{ row.f_defect_text }}
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
</div>
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
</template>
|
54
|
-
|
55
|
-
<script>
|
56
|
-
import {HttpResetClass} from 'vue-client'
|
57
|
-
|
58
|
-
export default {
|
59
|
-
title: '查询用户',
|
60
|
-
data() {
|
61
|
-
return {
|
62
|
-
model: [],
|
63
|
-
f_safecheck_code: ''
|
64
|
-
}
|
65
|
-
},
|
66
|
-
methods: {
|
67
|
-
getmodel() {
|
68
|
-
let http = new HttpResetClass()
|
69
|
-
http.load('POST', `rs/sql/tel_singleTable_OrderBy`, {
|
70
|
-
data: {
|
71
|
-
items: "tcp.*,CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END as f_defect_text",
|
72
|
-
tablename: 't_check_paper tcp left join t_qr_code tqr on tcp.f_userinfoid = tqr.f_userinfo_id',
|
73
|
-
condition: `tqr.f_safecheck_code = '${this.f_safecheck_code}'`,
|
74
|
-
orderitem: 'tcp.f_offsite_time desc'
|
75
|
-
}
|
76
|
-
}).then((res) => {
|
77
|
-
this.model = res.data
|
78
|
-
})
|
79
|
-
},
|
80
|
-
},
|
81
|
-
ready() {
|
82
|
-
let url = window.location.href
|
83
|
-
if (url.includes('id')){
|
84
|
-
const urlObj = new URL(url);
|
85
|
-
this.f_safecheck_code = urlObj.searchParams.get('id')
|
86
|
-
this.getmodel()
|
87
|
-
}else {
|
88
|
-
console.log(window.location.href)
|
89
|
-
console.log('非法数据')
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
</script>
|
94
|
-
<style>
|
95
|
-
</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-if="model.length>0">
|
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-12 col-sm-12 col-md-12">
|
10
|
+
用户名称: {{ model[0].f_user_name }}
|
11
|
+
</div>
|
12
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
13
|
+
用户编号: {{ model[0].f_userinfo_code }}
|
14
|
+
</div>
|
15
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
16
|
+
用户电话: {{ model[0].f_user_phone }}
|
17
|
+
</div>
|
18
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
19
|
+
用户地址: {{ model[0].f_address }}
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="panel panel-default well" v-for="row in model">
|
27
|
+
<div class="bg-info">
|
28
|
+
<div class="row form-group">
|
29
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
30
|
+
<div class="row">
|
31
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
32
|
+
安检时间: {{ row.f_offsite_time }}
|
33
|
+
</div>
|
34
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
35
|
+
安检员: {{ row.f_checker_name }}
|
36
|
+
</div>
|
37
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
38
|
+
安检状态: {{ row.f_entry_status }}
|
39
|
+
</div>
|
40
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
41
|
+
安检结果: {{ row.f_defect_content.include('正常') ? '正常' : '有隐患' }}
|
42
|
+
</div>
|
43
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
44
|
+
整改内容: {{ row.f_defect_text }}
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</template>
|
54
|
+
|
55
|
+
<script>
|
56
|
+
import {HttpResetClass} from 'vue-client'
|
57
|
+
|
58
|
+
export default {
|
59
|
+
title: '查询用户',
|
60
|
+
data() {
|
61
|
+
return {
|
62
|
+
model: [],
|
63
|
+
f_safecheck_code: ''
|
64
|
+
}
|
65
|
+
},
|
66
|
+
methods: {
|
67
|
+
getmodel() {
|
68
|
+
let http = new HttpResetClass()
|
69
|
+
http.load('POST', `rs/sql/tel_singleTable_OrderBy`, {
|
70
|
+
data: {
|
71
|
+
items: "tcp.*,CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END as f_defect_text",
|
72
|
+
tablename: 't_check_paper tcp left join t_qr_code tqr on tcp.f_userinfoid = tqr.f_userinfo_id',
|
73
|
+
condition: `tqr.f_safecheck_code = '${this.f_safecheck_code}'`,
|
74
|
+
orderitem: 'tcp.f_offsite_time desc'
|
75
|
+
}
|
76
|
+
}).then((res) => {
|
77
|
+
this.model = res.data
|
78
|
+
})
|
79
|
+
},
|
80
|
+
},
|
81
|
+
ready() {
|
82
|
+
let url = window.location.href
|
83
|
+
if (url.includes('id')){
|
84
|
+
const urlObj = new URL(url);
|
85
|
+
this.f_safecheck_code = urlObj.searchParams.get('id')
|
86
|
+
this.getmodel()
|
87
|
+
}else {
|
88
|
+
console.log(window.location.href)
|
89
|
+
console.log('非法数据')
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
</script>
|
94
|
+
<style>
|
95
|
+
</style>
|
@@ -1,125 +1,125 @@
|
|
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
|
-
let id = ''
|
37
|
-
let url = window.location.href
|
38
|
-
if (url.includes('id')){
|
39
|
-
const urlObj = new URL(url);
|
40
|
-
id = urlObj.searchParams.get('id');
|
41
|
-
let QRCode = await new HttpResetClass().load('post',`rs/sql/tel_singleTable_OrderBy`,{data: {
|
42
|
-
items: '*',
|
43
|
-
tablename: 't_qr_code',
|
44
|
-
condition: `f_head_code = '${id}'`,
|
45
|
-
orderitem: '1'
|
46
|
-
}})
|
47
|
-
if (QRCode && QRCode.data){
|
48
|
-
this.f_head_pic = `/resource/af-revenue/images/${QRCode.data.f_head_pic}`
|
49
|
-
this.f_head_code = QRCode.data.f_head_code
|
50
|
-
this.f_head_name = QRCode.data.f_head_name
|
51
|
-
this.f_head_post = QRCode.data.f_head_post
|
52
|
-
this.f_head_phone = QRCode.data.f_head_phone
|
53
|
-
}else {
|
54
|
-
console.log(window.location.href)
|
55
|
-
console.log('获取二维码信息失败')
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
};
|
60
|
-
</script>
|
61
|
-
<style scoped>
|
62
|
-
.work-badge {
|
63
|
-
display: flex;
|
64
|
-
flex-direction: column;
|
65
|
-
background-image: url('../../../assets/f8632d3c8c4c1cb68e99da754cab1a7.png');
|
66
|
-
align-items: center;
|
67
|
-
background-color: #007BFF;
|
68
|
-
color: white;
|
69
|
-
padding: 20px;
|
70
|
-
border-radius: 10px;
|
71
|
-
}
|
72
|
-
|
73
|
-
.badge-top {
|
74
|
-
display: flex;
|
75
|
-
align-items: center;
|
76
|
-
justify-content: space-between;
|
77
|
-
width: 100%;
|
78
|
-
margin-bottom: 20px;
|
79
|
-
}
|
80
|
-
|
81
|
-
.badge-image {
|
82
|
-
width: 150px;
|
83
|
-
height: 150px;
|
84
|
-
margin-right: 20px;
|
85
|
-
}
|
86
|
-
|
87
|
-
.badge-number {
|
88
|
-
font-size: 24px;
|
89
|
-
float: left;
|
90
|
-
text-align: left;
|
91
|
-
font-weight: bold;
|
92
|
-
}
|
93
|
-
|
94
|
-
.badge-middle {
|
95
|
-
text-align: center;
|
96
|
-
margin-bottom: 20px;
|
97
|
-
}
|
98
|
-
|
99
|
-
.name {
|
100
|
-
font-size: 48px;
|
101
|
-
font-weight: bold;
|
102
|
-
margin-bottom: 10px;
|
103
|
-
}
|
104
|
-
|
105
|
-
.position {
|
106
|
-
font-size: 24px;
|
107
|
-
}
|
108
|
-
|
109
|
-
.badge-bottom {
|
110
|
-
display: flex;
|
111
|
-
align-items: center;
|
112
|
-
justify-content: center;
|
113
|
-
}
|
114
|
-
|
115
|
-
.contact {
|
116
|
-
display: flex;
|
117
|
-
align-items: center;
|
118
|
-
}
|
119
|
-
|
120
|
-
.phone-icon {
|
121
|
-
width: 30px;
|
122
|
-
height: 30px;
|
123
|
-
margin-right: 10px;
|
124
|
-
}
|
125
|
-
</style>
|
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
|
+
let id = ''
|
37
|
+
let url = window.location.href
|
38
|
+
if (url.includes('id')){
|
39
|
+
const urlObj = new URL(url);
|
40
|
+
id = urlObj.searchParams.get('id');
|
41
|
+
let QRCode = await new HttpResetClass().load('post',`rs/sql/tel_singleTable_OrderBy`,{data: {
|
42
|
+
items: '*',
|
43
|
+
tablename: 't_qr_code',
|
44
|
+
condition: `f_head_code = '${id}'`,
|
45
|
+
orderitem: '1'
|
46
|
+
}})
|
47
|
+
if (QRCode && QRCode.data){
|
48
|
+
this.f_head_pic = `/resource/af-revenue/images/${QRCode.data.f_head_pic}`
|
49
|
+
this.f_head_code = QRCode.data.f_head_code
|
50
|
+
this.f_head_name = QRCode.data.f_head_name
|
51
|
+
this.f_head_post = QRCode.data.f_head_post
|
52
|
+
this.f_head_phone = QRCode.data.f_head_phone
|
53
|
+
}else {
|
54
|
+
console.log(window.location.href)
|
55
|
+
console.log('获取二维码信息失败')
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
};
|
60
|
+
</script>
|
61
|
+
<style scoped>
|
62
|
+
.work-badge {
|
63
|
+
display: flex;
|
64
|
+
flex-direction: column;
|
65
|
+
background-image: url('../../../assets/f8632d3c8c4c1cb68e99da754cab1a7.png');
|
66
|
+
align-items: center;
|
67
|
+
background-color: #007BFF;
|
68
|
+
color: white;
|
69
|
+
padding: 20px;
|
70
|
+
border-radius: 10px;
|
71
|
+
}
|
72
|
+
|
73
|
+
.badge-top {
|
74
|
+
display: flex;
|
75
|
+
align-items: center;
|
76
|
+
justify-content: space-between;
|
77
|
+
width: 100%;
|
78
|
+
margin-bottom: 20px;
|
79
|
+
}
|
80
|
+
|
81
|
+
.badge-image {
|
82
|
+
width: 150px;
|
83
|
+
height: 150px;
|
84
|
+
margin-right: 20px;
|
85
|
+
}
|
86
|
+
|
87
|
+
.badge-number {
|
88
|
+
font-size: 24px;
|
89
|
+
float: left;
|
90
|
+
text-align: left;
|
91
|
+
font-weight: bold;
|
92
|
+
}
|
93
|
+
|
94
|
+
.badge-middle {
|
95
|
+
text-align: center;
|
96
|
+
margin-bottom: 20px;
|
97
|
+
}
|
98
|
+
|
99
|
+
.name {
|
100
|
+
font-size: 48px;
|
101
|
+
font-weight: bold;
|
102
|
+
margin-bottom: 10px;
|
103
|
+
}
|
104
|
+
|
105
|
+
.position {
|
106
|
+
font-size: 24px;
|
107
|
+
}
|
108
|
+
|
109
|
+
.badge-bottom {
|
110
|
+
display: flex;
|
111
|
+
align-items: center;
|
112
|
+
justify-content: center;
|
113
|
+
}
|
114
|
+
|
115
|
+
.contact {
|
116
|
+
display: flex;
|
117
|
+
align-items: center;
|
118
|
+
}
|
119
|
+
|
120
|
+
.phone-icon {
|
121
|
+
width: 30px;
|
122
|
+
height: 30px;
|
123
|
+
margin-right: 10px;
|
124
|
+
}
|
125
|
+
</style>
|