safecheck-client 3.0.34-35 → 3.0.34-37
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/components/android/QRCode/QRCodePage.vue +208 -208
- package/src/components/android/examples/SafeListExamples.vue +96 -96
- package/src/components/android/examples/UserExamples.vue +126 -126
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
- package/src/filiale/huaran/android.js +12 -12
- package/src/filiale/huaran/pc/CheckBook.vue +313 -313
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -69
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -170
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -166
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -196
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -61
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -386
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -564
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -229
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -604
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -112
- package/src/filiale/huaran/pc/PaperList.vue +822 -822
- package/src/filiale/huaran/pc/PlanManage.vue +887 -887
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
- package/src/filiale/huaran/pc/checkUserList.vue +867 -867
- package/src/filiale/huaran/pc.js +27 -27
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android.js +15 -15
- 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/weinan/android/SafecheckDevices.vue +1295 -1295
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3335
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
- package/src/filiale/weinan/pc.js +47 -47
- package/src/main.js +1 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "safecheck-client",
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
-
"version": "3.0.34-
|
4
|
+
"version": "3.0.34-37",
|
5
5
|
"description": "安检模块 前端组件",
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
7
7
|
"license": "ISC",
|
@@ -1,208 +1,208 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="auto">
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
5
|
-
<div partial>
|
6
|
-
<form>
|
7
|
-
<div class="row app-row">
|
8
|
-
<div class="col-xs-4">
|
9
|
-
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
10
|
-
<label class="font text-left">二维码编号:</label>
|
11
|
-
</div>
|
12
|
-
<div class="col-xs-8" >
|
13
|
-
<input class="search_input input-font" style="width: 70%" placeholder="请输入或扫码" v-model="model.id"/>
|
14
|
-
<button type="button" name="button" class="btn btn-primary" style="width: 25%" @click="$parent.$parent.scan">扫码</button>
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
<div class="row app-row">
|
18
|
-
<div class="col-xs-4">
|
19
|
-
<img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
|
20
|
-
<label class="font text-left">负责人:</label>
|
21
|
-
</div>
|
22
|
-
<div class="col-xs-8">
|
23
|
-
<v-select :value.sync="model.f_head_name" class="input-font"
|
24
|
-
:options='$parent.$parent.head_names' placeholder='请选择负责人' :value-single="true"
|
25
|
-
v-model="model.f_head_name" close-on-select clear-button></v-select>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
<div class="row app-row">
|
29
|
-
<div class="col-xs-4">
|
30
|
-
<img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
31
|
-
<label class="font text-left">用户名称:</label>
|
32
|
-
</div>
|
33
|
-
<div class="col-xs-8" >
|
34
|
-
<input class="search_input input-font" v-model="model.f_user_name" placeholder="请输入用户名称(可模糊查询)">
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
<div class="row app-row">
|
38
|
-
<div class="col-xs-4">
|
39
|
-
<img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
40
|
-
<label class="font text-left">小区名称:</label>
|
41
|
-
</div>
|
42
|
-
<div class="col-xs-8" >
|
43
|
-
<input class="search_input input-font" v-model="model.f_user_name" placeholder="请输入小区名称(可模糊查询)">
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<div class="row text-center" style="margin-top: 20px;">
|
47
|
-
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.search">查询</button>
|
48
|
-
</div>
|
49
|
-
<div style="height:30px;"></div>
|
50
|
-
</form>
|
51
|
-
</div>
|
52
|
-
</criteria>
|
53
|
-
|
54
|
-
<list :model="model" partial='list'>
|
55
|
-
<div partial>
|
56
|
-
<div class="auto app-text" style="margin-top: 5px;">
|
57
|
-
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
58
|
-
<div class="panel-body panel-self">
|
59
|
-
<div class="row">
|
60
|
-
<p class="panel-title col-xs-4 text-left font">二维码编号</p>
|
61
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.id }}</p>
|
62
|
-
</div>
|
63
|
-
<div class="row">
|
64
|
-
<p class="panel-title col-xs-4 text-left font">负责人二维码编号</p>
|
65
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_code }}</p>
|
66
|
-
</div>
|
67
|
-
<div class="row">
|
68
|
-
<p class="panel-title col-xs-4 text-left font">安检情况二维码编号</p>
|
69
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_safecheck_code }}</p>
|
70
|
-
</div>
|
71
|
-
<div class="row">
|
72
|
-
<p class="panel-title col-xs-4 text-left font">负责人姓名</p>
|
73
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_name }}</p>
|
74
|
-
</div>
|
75
|
-
<div class="row">
|
76
|
-
<p class="panel-title col-xs-4 text-left font">小区/用户名称</p>
|
77
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_name}}</p>
|
78
|
-
</div>
|
79
|
-
<div class="row">
|
80
|
-
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.$parent.handle(row)">处理</button>
|
81
|
-
</div>
|
82
|
-
</div>
|
83
|
-
</div>
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
</list>
|
87
|
-
</criteria-paged>
|
88
|
-
</div>
|
89
|
-
</template>
|
90
|
-
|
91
|
-
<script>
|
92
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
93
|
-
export default {
|
94
|
-
title: '二维码绑定',
|
95
|
-
data () {
|
96
|
-
return {
|
97
|
-
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, 50, {
|
98
|
-
items: '"id,f_head_code,f_safecheck_code,f_head_name,f_user_name,f_head_post,f_head_phone,f_type"',
|
99
|
-
tablename: '"t_qr_code"',
|
100
|
-
orderitem: '"1"'
|
101
|
-
}),
|
102
|
-
QRCode:{},
|
103
|
-
head_names:[{ label: '请选择', value: '' }]
|
104
|
-
}
|
105
|
-
},
|
106
|
-
ready () {
|
107
|
-
new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
|
108
|
-
items: 'f_head_name',
|
109
|
-
tablename: 't_qr_code',
|
110
|
-
condition: `1=1 and f_head_name is not null`,
|
111
|
-
orderitem: '1'
|
112
|
-
}}).then(res=>{
|
113
|
-
res.data.forEach(item=>{
|
114
|
-
this.head_names.push({label:item.f_head_name,value:item.f_head_name})
|
115
|
-
})
|
116
|
-
})
|
117
|
-
},
|
118
|
-
computed: {
|
119
|
-
reload(){
|
120
|
-
this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
|
121
|
-
},
|
122
|
-
selected () {
|
123
|
-
return this.$refs.paged.$refs.grid.selected
|
124
|
-
}
|
125
|
-
},
|
126
|
-
methods:{
|
127
|
-
scan(){
|
128
|
-
HostApp.__this__=this,
|
129
|
-
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
130
|
-
},
|
131
|
-
getCode(){
|
132
|
-
let datapa = HostApp.getCode().data;
|
133
|
-
this.this.$refs.paged.$refs.cri.model.id=datapa
|
134
|
-
},
|
135
|
-
handle(row){
|
136
|
-
var pardate = {
|
137
|
-
_this:this,
|
138
|
-
tittle:'二维码绑定',
|
139
|
-
safe:true
|
140
|
-
}
|
141
|
-
this.$dispatch('gotoson',pardate)
|
142
|
-
this.$goto('qr-code-binding', {row: row}, 'self')
|
143
|
-
},
|
144
|
-
search(){
|
145
|
-
let condition = `1=1`
|
146
|
-
if (this.$refs.paged.$refs.cri.model.id) {
|
147
|
-
condition += ` and (qr.f_head_code = '${this.$refs.paged.$refs.cri.model.id}' or qr.f_safecheck_code= '${this.$refs.paged.$refs.cri.model.id}')`
|
148
|
-
}
|
149
|
-
if (this.$refs.paged.$refs.cri.model.f_head_name) {
|
150
|
-
condition += ` and qr.f_head_name = ${this.$refs.paged.$refs.cri.model.f_head_name}`
|
151
|
-
}
|
152
|
-
if (this.$refs.paged.$refs.cri.model.f_user_name) {
|
153
|
-
condition += ` and ui.f_user_name = ${this.$refs.paged.$refs.cri.model.f_user_name}`
|
154
|
-
}
|
155
|
-
if (this.$refs.paged.$refs.cri.model.f_residential_area) {
|
156
|
-
condition += ` and ua.f_residential_area = ${this.$refs.paged.$refs.cri.model.f_residential_area}`
|
157
|
-
}
|
158
|
-
this.model.search(condition)
|
159
|
-
}
|
160
|
-
|
161
|
-
}
|
162
|
-
}
|
163
|
-
</script>
|
164
|
-
<style scoped>
|
165
|
-
.app-row {
|
166
|
-
background-color: white;
|
167
|
-
padding: 10px 10px 0 10px;
|
168
|
-
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
169
|
-
}
|
170
|
-
.search_input {
|
171
|
-
border: 0;
|
172
|
-
outline: none;
|
173
|
-
}
|
174
|
-
.font{
|
175
|
-
font: 15px PingFang-SC-Medium;
|
176
|
-
color: #666666;
|
177
|
-
}
|
178
|
-
.input-font{
|
179
|
-
font: 15px PingFang-SC-Medium;
|
180
|
-
color: #333333;
|
181
|
-
}
|
182
|
-
.btn-font{
|
183
|
-
font:600 16px PingFang-SC-Bold;
|
184
|
-
color: #499EDF;
|
185
|
-
}
|
186
|
-
.btn-color{
|
187
|
-
background-color: #FFFFFF;
|
188
|
-
border-radius: 10px ;
|
189
|
-
border: 1px solid #499EDF;
|
190
|
-
}
|
191
|
-
.app-text {
|
192
|
-
font-size: 12px;
|
193
|
-
}
|
194
|
-
.panel-self{
|
195
|
-
border-radius: 10px;
|
196
|
-
border:1px solid #499EDF;
|
197
|
-
background-color: #F8F8F8;
|
198
|
-
}
|
199
|
-
.yybtn-color{
|
200
|
-
border-radius: 4px ;
|
201
|
-
border: 1px solid #499EDF;
|
202
|
-
}
|
203
|
-
.qxbtn-color{
|
204
|
-
background-color: #FFFFFF;
|
205
|
-
border-radius: 4px ;
|
206
|
-
border: 1px solid #499EDF;
|
207
|
-
}
|
208
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div class="auto">
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
5
|
+
<div partial>
|
6
|
+
<form>
|
7
|
+
<div class="row app-row">
|
8
|
+
<div class="col-xs-4">
|
9
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
10
|
+
<label class="font text-left">二维码编号:</label>
|
11
|
+
</div>
|
12
|
+
<div class="col-xs-8" >
|
13
|
+
<input class="search_input input-font" style="width: 70%" placeholder="请输入或扫码" v-model="model.id"/>
|
14
|
+
<button type="button" name="button" class="btn btn-primary" style="width: 25%" @click="$parent.$parent.scan">扫码</button>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
<div class="row app-row">
|
18
|
+
<div class="col-xs-4">
|
19
|
+
<img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
|
20
|
+
<label class="font text-left">负责人:</label>
|
21
|
+
</div>
|
22
|
+
<div class="col-xs-8">
|
23
|
+
<v-select :value.sync="model.f_head_name" class="input-font"
|
24
|
+
:options='$parent.$parent.head_names' placeholder='请选择负责人' :value-single="true"
|
25
|
+
v-model="model.f_head_name" close-on-select clear-button></v-select>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="row app-row">
|
29
|
+
<div class="col-xs-4">
|
30
|
+
<img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
31
|
+
<label class="font text-left">用户名称:</label>
|
32
|
+
</div>
|
33
|
+
<div class="col-xs-8" >
|
34
|
+
<input class="search_input input-font" v-model="model.f_user_name" placeholder="请输入用户名称(可模糊查询)">
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
<div class="row app-row">
|
38
|
+
<div class="col-xs-4">
|
39
|
+
<img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
40
|
+
<label class="font text-left">小区名称:</label>
|
41
|
+
</div>
|
42
|
+
<div class="col-xs-8" >
|
43
|
+
<input class="search_input input-font" v-model="model.f_user_name" placeholder="请输入小区名称(可模糊查询)">
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div class="row text-center" style="margin-top: 20px;">
|
47
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.search">查询</button>
|
48
|
+
</div>
|
49
|
+
<div style="height:30px;"></div>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
</criteria>
|
53
|
+
|
54
|
+
<list :model="model" partial='list'>
|
55
|
+
<div partial>
|
56
|
+
<div class="auto app-text" style="margin-top: 5px;">
|
57
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
58
|
+
<div class="panel-body panel-self">
|
59
|
+
<div class="row">
|
60
|
+
<p class="panel-title col-xs-4 text-left font">二维码编号</p>
|
61
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.id }}</p>
|
62
|
+
</div>
|
63
|
+
<div class="row">
|
64
|
+
<p class="panel-title col-xs-4 text-left font">负责人二维码编号</p>
|
65
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_code }}</p>
|
66
|
+
</div>
|
67
|
+
<div class="row">
|
68
|
+
<p class="panel-title col-xs-4 text-left font">安检情况二维码编号</p>
|
69
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_safecheck_code }}</p>
|
70
|
+
</div>
|
71
|
+
<div class="row">
|
72
|
+
<p class="panel-title col-xs-4 text-left font">负责人姓名</p>
|
73
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_name }}</p>
|
74
|
+
</div>
|
75
|
+
<div class="row">
|
76
|
+
<p class="panel-title col-xs-4 text-left font">小区/用户名称</p>
|
77
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_name}}</p>
|
78
|
+
</div>
|
79
|
+
<div class="row">
|
80
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.$parent.handle(row)">处理</button>
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
</list>
|
87
|
+
</criteria-paged>
|
88
|
+
</div>
|
89
|
+
</template>
|
90
|
+
|
91
|
+
<script>
|
92
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
93
|
+
export default {
|
94
|
+
title: '二维码绑定',
|
95
|
+
data () {
|
96
|
+
return {
|
97
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, 50, {
|
98
|
+
items: '"id,f_head_code,f_safecheck_code,f_head_name,f_user_name,f_head_post,f_head_phone,f_type"',
|
99
|
+
tablename: '"t_qr_code"',
|
100
|
+
orderitem: '"1"'
|
101
|
+
}),
|
102
|
+
QRCode:{},
|
103
|
+
head_names:[{ label: '请选择', value: '' }]
|
104
|
+
}
|
105
|
+
},
|
106
|
+
ready () {
|
107
|
+
new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
|
108
|
+
items: 'f_head_name',
|
109
|
+
tablename: 't_qr_code',
|
110
|
+
condition: `1=1 and f_head_name is not null`,
|
111
|
+
orderitem: '1'
|
112
|
+
}}).then(res=>{
|
113
|
+
res.data.forEach(item=>{
|
114
|
+
this.head_names.push({label:item.f_head_name,value:item.f_head_name})
|
115
|
+
})
|
116
|
+
})
|
117
|
+
},
|
118
|
+
computed: {
|
119
|
+
reload(){
|
120
|
+
this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
|
121
|
+
},
|
122
|
+
selected () {
|
123
|
+
return this.$refs.paged.$refs.grid.selected
|
124
|
+
}
|
125
|
+
},
|
126
|
+
methods:{
|
127
|
+
scan(){
|
128
|
+
HostApp.__this__=this,
|
129
|
+
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
130
|
+
},
|
131
|
+
getCode(){
|
132
|
+
let datapa = HostApp.getCode().data;
|
133
|
+
this.this.$refs.paged.$refs.cri.model.id=datapa
|
134
|
+
},
|
135
|
+
handle(row){
|
136
|
+
var pardate = {
|
137
|
+
_this:this,
|
138
|
+
tittle:'二维码绑定',
|
139
|
+
safe:true
|
140
|
+
}
|
141
|
+
this.$dispatch('gotoson',pardate)
|
142
|
+
this.$goto('qr-code-binding', {row: row}, 'self')
|
143
|
+
},
|
144
|
+
search(){
|
145
|
+
let condition = `1=1`
|
146
|
+
if (this.$refs.paged.$refs.cri.model.id) {
|
147
|
+
condition += ` and (qr.f_head_code = '${this.$refs.paged.$refs.cri.model.id}' or qr.f_safecheck_code= '${this.$refs.paged.$refs.cri.model.id}')`
|
148
|
+
}
|
149
|
+
if (this.$refs.paged.$refs.cri.model.f_head_name) {
|
150
|
+
condition += ` and qr.f_head_name = ${this.$refs.paged.$refs.cri.model.f_head_name}`
|
151
|
+
}
|
152
|
+
if (this.$refs.paged.$refs.cri.model.f_user_name) {
|
153
|
+
condition += ` and ui.f_user_name = ${this.$refs.paged.$refs.cri.model.f_user_name}`
|
154
|
+
}
|
155
|
+
if (this.$refs.paged.$refs.cri.model.f_residential_area) {
|
156
|
+
condition += ` and ua.f_residential_area = ${this.$refs.paged.$refs.cri.model.f_residential_area}`
|
157
|
+
}
|
158
|
+
this.model.search(condition)
|
159
|
+
}
|
160
|
+
|
161
|
+
}
|
162
|
+
}
|
163
|
+
</script>
|
164
|
+
<style scoped>
|
165
|
+
.app-row {
|
166
|
+
background-color: white;
|
167
|
+
padding: 10px 10px 0 10px;
|
168
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
169
|
+
}
|
170
|
+
.search_input {
|
171
|
+
border: 0;
|
172
|
+
outline: none;
|
173
|
+
}
|
174
|
+
.font{
|
175
|
+
font: 15px PingFang-SC-Medium;
|
176
|
+
color: #666666;
|
177
|
+
}
|
178
|
+
.input-font{
|
179
|
+
font: 15px PingFang-SC-Medium;
|
180
|
+
color: #333333;
|
181
|
+
}
|
182
|
+
.btn-font{
|
183
|
+
font:600 16px PingFang-SC-Bold;
|
184
|
+
color: #499EDF;
|
185
|
+
}
|
186
|
+
.btn-color{
|
187
|
+
background-color: #FFFFFF;
|
188
|
+
border-radius: 10px ;
|
189
|
+
border: 1px solid #499EDF;
|
190
|
+
}
|
191
|
+
.app-text {
|
192
|
+
font-size: 12px;
|
193
|
+
}
|
194
|
+
.panel-self{
|
195
|
+
border-radius: 10px;
|
196
|
+
border:1px solid #499EDF;
|
197
|
+
background-color: #F8F8F8;
|
198
|
+
}
|
199
|
+
.yybtn-color{
|
200
|
+
border-radius: 4px ;
|
201
|
+
border: 1px solid #499EDF;
|
202
|
+
}
|
203
|
+
.qxbtn-color{
|
204
|
+
background-color: #FFFFFF;
|
205
|
+
border-radius: 4px ;
|
206
|
+
border: 1px solid #499EDF;
|
207
|
+
}
|
208
|
+
</style>
|
@@ -1,96 +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_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
|
-
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>
|
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
|
+
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>
|