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,212 +1,212 @@
|
|
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-5">
|
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-7" >
|
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-5">
|
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-7">
|
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-5">
|
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-7" >
|
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-5">
|
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-7" >
|
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" style="padding: 5px;">
|
60
|
-
<p class="panel-title col-xs-5 text-left font">二维码编号</p>
|
61
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.id }}</p>
|
62
|
-
</div>
|
63
|
-
<div class="row" style="padding: 5px;">
|
64
|
-
<p class="panel-title col-xs-5 text-left font">负责人二维码编号</p>
|
65
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_head_code }}</p>
|
66
|
-
</div>
|
67
|
-
<div class="row" style="padding: 5px;">
|
68
|
-
<p class="panel-title col-xs-5 text-left font">安检情况二维码编号</p>
|
69
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_safecheck_code }}</p>
|
70
|
-
</div>
|
71
|
-
<div class="row" style="padding: 5px;">
|
72
|
-
<p class="panel-title col-xs-5 text-left font">负责人姓名</p>
|
73
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_head_name }}</p>
|
74
|
-
</div>
|
75
|
-
<div class="row" style="padding: 5px;" v-if="row.f_type == '用户'">
|
76
|
-
<p class="panel-title col-xs-5 text-left font">用户编号</p>
|
77
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_userinfo_id}}</p>
|
78
|
-
</div>
|
79
|
-
<div class="row" style="padding: 5px;">
|
80
|
-
<p class="panel-title col-xs-5 text-left font">小区/用户名称</p>
|
81
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_name}}</p>
|
82
|
-
</div>
|
83
|
-
<div class="row" style="padding: 5px;">
|
84
|
-
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.$parent.handle(row)">处理</button>
|
85
|
-
</div>
|
86
|
-
</div>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
</list>
|
91
|
-
</criteria-paged>
|
92
|
-
</div>
|
93
|
-
</template>
|
94
|
-
|
95
|
-
<script>
|
96
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
97
|
-
export default {
|
98
|
-
title: '二维码绑定',
|
99
|
-
data () {
|
100
|
-
return {
|
101
|
-
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, 50, {
|
102
|
-
items: '"id,f_head_code,f_safecheck_code,f_head_name,f_user_name,f_head_post,f_head_phone,f_type,f_head_pic,f_userinfo_id"',
|
103
|
-
tablename: '"t_qr_code"',
|
104
|
-
orderitem: '"1"'
|
105
|
-
}),
|
106
|
-
QRCode:{},
|
107
|
-
head_names:[{ label: '请选择', value: '' }]
|
108
|
-
}
|
109
|
-
},
|
110
|
-
ready () {
|
111
|
-
new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
|
112
|
-
items: 'f_head_name',
|
113
|
-
tablename: 't_qr_code',
|
114
|
-
condition: `1=1 and f_head_name is not null`,
|
115
|
-
orderitem: '1'
|
116
|
-
}}).then(res=>{
|
117
|
-
res.data.forEach(item=>{
|
118
|
-
this.head_names.push({label:item.f_head_name,value:item.f_head_name})
|
119
|
-
})
|
120
|
-
})
|
121
|
-
},
|
122
|
-
computed: {
|
123
|
-
reload(){
|
124
|
-
this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
|
125
|
-
},
|
126
|
-
selected () {
|
127
|
-
return this.$refs.paged.$refs.grid.selected
|
128
|
-
}
|
129
|
-
},
|
130
|
-
methods:{
|
131
|
-
scan(){
|
132
|
-
HostApp.__this__=this,
|
133
|
-
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
134
|
-
},
|
135
|
-
getCode(){
|
136
|
-
let datapa = HostApp.getCode().data;
|
137
|
-
this.this.$refs.paged.$refs.cri.model.id=datapa
|
138
|
-
},
|
139
|
-
handle(row){
|
140
|
-
var pardate = {
|
141
|
-
_this:this,
|
142
|
-
tittle:'二维码绑定',
|
143
|
-
safe:true
|
144
|
-
}
|
145
|
-
let _this = this
|
146
|
-
this.$dispatch('gotoson',pardate)
|
147
|
-
this.$goto('qr-code-binding', {row: row}, 'self',function () {
|
148
|
-
_this.search()
|
149
|
-
})
|
150
|
-
},
|
151
|
-
search(){
|
152
|
-
let condition = `1=1`
|
153
|
-
if (this.$refs.paged.$refs.cri.model.id) {
|
154
|
-
condition += ` and (f_head_code = '${this.$refs.paged.$refs.cri.model.id}' or f_safecheck_code= '${this.$refs.paged.$refs.cri.model.id}')`
|
155
|
-
}
|
156
|
-
if (this.$refs.paged.$refs.cri.model.f_head_name) {
|
157
|
-
condition += ` and f_head_name like '%${this.$refs.paged.$refs.cri.model.f_head_name}%'`
|
158
|
-
}
|
159
|
-
if (this.$refs.paged.$refs.cri.model.f_user_name) {
|
160
|
-
condition += ` and f_user_name like '%${this.$refs.paged.$refs.cri.model.f_user_name}%'`
|
161
|
-
}
|
162
|
-
this.model.search(condition)
|
163
|
-
}
|
164
|
-
|
165
|
-
}
|
166
|
-
}
|
167
|
-
</script>
|
168
|
-
<style scoped>
|
169
|
-
.app-row {
|
170
|
-
background-color: white;
|
171
|
-
padding: 10px 10px 0 10px;
|
172
|
-
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
173
|
-
}
|
174
|
-
.search_input {
|
175
|
-
border: 0;
|
176
|
-
outline: none;
|
177
|
-
}
|
178
|
-
.font{
|
179
|
-
font: 15px PingFang-SC-Medium;
|
180
|
-
color: #666666;
|
181
|
-
}
|
182
|
-
.input-font{
|
183
|
-
font: 15px PingFang-SC-Medium;
|
184
|
-
color: #333333;
|
185
|
-
}
|
186
|
-
.btn-font{
|
187
|
-
font:600 16px PingFang-SC-Bold;
|
188
|
-
color: #499EDF;
|
189
|
-
}
|
190
|
-
.btn-color{
|
191
|
-
background-color: #FFFFFF;
|
192
|
-
border-radius: 10px ;
|
193
|
-
border: 1px solid #499EDF;
|
194
|
-
}
|
195
|
-
.app-text {
|
196
|
-
font-size: 12px;
|
197
|
-
}
|
198
|
-
.panel-self{
|
199
|
-
border-radius: 10px;
|
200
|
-
border:1px solid #499EDF;
|
201
|
-
background-color: #F8F8F8;
|
202
|
-
}
|
203
|
-
.yybtn-color{
|
204
|
-
border-radius: 4px ;
|
205
|
-
border: 1px solid #499EDF;
|
206
|
-
}
|
207
|
-
.qxbtn-color{
|
208
|
-
background-color: #FFFFFF;
|
209
|
-
border-radius: 4px ;
|
210
|
-
border: 1px solid #499EDF;
|
211
|
-
}
|
212
|
-
</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-5">
|
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-7" >
|
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-5">
|
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-7">
|
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-5">
|
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-7" >
|
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-5">
|
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-7" >
|
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" style="padding: 5px;">
|
60
|
+
<p class="panel-title col-xs-5 text-left font">二维码编号</p>
|
61
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.id }}</p>
|
62
|
+
</div>
|
63
|
+
<div class="row" style="padding: 5px;">
|
64
|
+
<p class="panel-title col-xs-5 text-left font">负责人二维码编号</p>
|
65
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_head_code }}</p>
|
66
|
+
</div>
|
67
|
+
<div class="row" style="padding: 5px;">
|
68
|
+
<p class="panel-title col-xs-5 text-left font">安检情况二维码编号</p>
|
69
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_safecheck_code }}</p>
|
70
|
+
</div>
|
71
|
+
<div class="row" style="padding: 5px;">
|
72
|
+
<p class="panel-title col-xs-5 text-left font">负责人姓名</p>
|
73
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_head_name }}</p>
|
74
|
+
</div>
|
75
|
+
<div class="row" style="padding: 5px;" v-if="row.f_type == '用户'">
|
76
|
+
<p class="panel-title col-xs-5 text-left font">用户编号</p>
|
77
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_userinfo_id}}</p>
|
78
|
+
</div>
|
79
|
+
<div class="row" style="padding: 5px;">
|
80
|
+
<p class="panel-title col-xs-5 text-left font">小区/用户名称</p>
|
81
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_name}}</p>
|
82
|
+
</div>
|
83
|
+
<div class="row" style="padding: 5px;">
|
84
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.$parent.handle(row)">处理</button>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</list>
|
91
|
+
</criteria-paged>
|
92
|
+
</div>
|
93
|
+
</template>
|
94
|
+
|
95
|
+
<script>
|
96
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
97
|
+
export default {
|
98
|
+
title: '二维码绑定',
|
99
|
+
data () {
|
100
|
+
return {
|
101
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, 50, {
|
102
|
+
items: '"tqr.id,tqr.f_head_code,tqr.f_safecheck_code,tqr.f_head_name,tqr.f_user_name,tqr.f_head_post,tqr.f_head_phone,tqr.f_type,tqr.f_head_pic,tqr.f_userinfo_id,tf.f_downloadpath as url"',
|
103
|
+
tablename: '"t_qr_code tqr left join t_files tf on tf.f_businessid = tqr.id and f_table_name = \'t_qr_code\'"',
|
104
|
+
orderitem: '"1"'
|
105
|
+
}),
|
106
|
+
QRCode:{},
|
107
|
+
head_names:[{ label: '请选择', value: '' }]
|
108
|
+
}
|
109
|
+
},
|
110
|
+
ready () {
|
111
|
+
new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
|
112
|
+
items: 'f_head_name',
|
113
|
+
tablename: 't_qr_code',
|
114
|
+
condition: `1=1 and f_head_name is not null`,
|
115
|
+
orderitem: '1'
|
116
|
+
}}).then(res=>{
|
117
|
+
res.data.forEach(item=>{
|
118
|
+
this.head_names.push({label:item.f_head_name,value:item.f_head_name})
|
119
|
+
})
|
120
|
+
})
|
121
|
+
},
|
122
|
+
computed: {
|
123
|
+
reload(){
|
124
|
+
this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
|
125
|
+
},
|
126
|
+
selected () {
|
127
|
+
return this.$refs.paged.$refs.grid.selected
|
128
|
+
}
|
129
|
+
},
|
130
|
+
methods:{
|
131
|
+
scan(){
|
132
|
+
HostApp.__this__=this,
|
133
|
+
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
134
|
+
},
|
135
|
+
getCode(){
|
136
|
+
let datapa = HostApp.getCode().data;
|
137
|
+
this.this.$refs.paged.$refs.cri.model.id=datapa
|
138
|
+
},
|
139
|
+
handle(row){
|
140
|
+
var pardate = {
|
141
|
+
_this:this,
|
142
|
+
tittle:'二维码绑定',
|
143
|
+
safe:true
|
144
|
+
}
|
145
|
+
let _this = this
|
146
|
+
this.$dispatch('gotoson',pardate)
|
147
|
+
this.$goto('qr-code-binding', {row: row}, 'self',function () {
|
148
|
+
_this.search()
|
149
|
+
})
|
150
|
+
},
|
151
|
+
search(){
|
152
|
+
let condition = `1=1`
|
153
|
+
if (this.$refs.paged.$refs.cri.model.id) {
|
154
|
+
condition += ` and (f_head_code = '${this.$refs.paged.$refs.cri.model.id}' or f_safecheck_code= '${this.$refs.paged.$refs.cri.model.id}')`
|
155
|
+
}
|
156
|
+
if (this.$refs.paged.$refs.cri.model.f_head_name) {
|
157
|
+
condition += ` and f_head_name like '%${this.$refs.paged.$refs.cri.model.f_head_name}%'`
|
158
|
+
}
|
159
|
+
if (this.$refs.paged.$refs.cri.model.f_user_name) {
|
160
|
+
condition += ` and f_user_name like '%${this.$refs.paged.$refs.cri.model.f_user_name}%'`
|
161
|
+
}
|
162
|
+
this.model.search(condition)
|
163
|
+
}
|
164
|
+
|
165
|
+
}
|
166
|
+
}
|
167
|
+
</script>
|
168
|
+
<style scoped>
|
169
|
+
.app-row {
|
170
|
+
background-color: white;
|
171
|
+
padding: 10px 10px 0 10px;
|
172
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
173
|
+
}
|
174
|
+
.search_input {
|
175
|
+
border: 0;
|
176
|
+
outline: none;
|
177
|
+
}
|
178
|
+
.font{
|
179
|
+
font: 15px PingFang-SC-Medium;
|
180
|
+
color: #666666;
|
181
|
+
}
|
182
|
+
.input-font{
|
183
|
+
font: 15px PingFang-SC-Medium;
|
184
|
+
color: #333333;
|
185
|
+
}
|
186
|
+
.btn-font{
|
187
|
+
font:600 16px PingFang-SC-Bold;
|
188
|
+
color: #499EDF;
|
189
|
+
}
|
190
|
+
.btn-color{
|
191
|
+
background-color: #FFFFFF;
|
192
|
+
border-radius: 10px ;
|
193
|
+
border: 1px solid #499EDF;
|
194
|
+
}
|
195
|
+
.app-text {
|
196
|
+
font-size: 12px;
|
197
|
+
}
|
198
|
+
.panel-self{
|
199
|
+
border-radius: 10px;
|
200
|
+
border:1px solid #499EDF;
|
201
|
+
background-color: #F8F8F8;
|
202
|
+
}
|
203
|
+
.yybtn-color{
|
204
|
+
border-radius: 4px ;
|
205
|
+
border: 1px solid #499EDF;
|
206
|
+
}
|
207
|
+
.qxbtn-color{
|
208
|
+
background-color: #FFFFFF;
|
209
|
+
border-radius: 4px ;
|
210
|
+
border: 1px solid #499EDF;
|
211
|
+
}
|
212
|
+
</style>
|