safecheck-client 3.0.34-7 → 3.0.34-71
Sign up to get free protection for your applications and to get access to all the features.
- 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 -0
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/NewDefectList/DefectListNew.vue +1 -0
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/PaperFeedback.vue +1514 -1481
- package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafePlanItem.vue +509 -509
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/SafecheckDevicesTemp.vue +1333 -1333
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/UserinfoSelect.vue +714 -0
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +130 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
- package/src/components/rongcheng/AddPlanItem.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +40 -14
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
- package/src/filiale/baiyin/pc/PaperList.vue +7 -7
- package/src/filiale/bayan/android/PaperFeedback.vue +1651 -1651
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -863
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -1305
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1269 -1269
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +4 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1269 -1269
- package/src/filiale/siyang/android/AddPlanItem.vue +446 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +790 -786
- package/src/filiale/siyang/pc.js +21 -16
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -1295
- package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
- package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +49 -113
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2240
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -592
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1294 -1294
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
- package/src/filiale/yuansheng/android.js +17 -17
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -1508
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -784
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/safecheck-android.js +9 -0
- package/src/safecheck-page.js +10 -0
@@ -0,0 +1,96 @@
|
|
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_userinfo_code = tqr.f_userinfo_id and tcp.f_user_name = tqr.f_user_name',
|
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
|
+
console.log(window.location.href)
|
83
|
+
let url = window.location.href
|
84
|
+
if (url.includes('id')){
|
85
|
+
const urlObj = new URL(url);
|
86
|
+
this.f_safecheck_code = urlObj.searchParams.get('id')
|
87
|
+
this.getmodel()
|
88
|
+
}else {
|
89
|
+
console.log(window.location.href)
|
90
|
+
console.log('非法数据')
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
</script>
|
95
|
+
<style>
|
96
|
+
</style>
|
@@ -0,0 +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: '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>
|