safecheck-client 3.0.34-51 → 3.0.34-53
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.vue +31 -31
- package/src/components/android/AreaSelect.vue +208 -208
- package/src/components/android/BuildingSelect.vue +217 -217
- package/src/components/android/CheckPlanSelect.vue +248 -248
- package/src/components/android/PaperFeedback.vue +1514 -1514
- package/src/components/android/QRCode/QRCodeBinding.vue +294 -294
- package/src/components/rongcheng/AddPlanItem.vue +1 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
- package/src/filiale/bayan/pc/PaperList.vue +900 -899
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -512
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -367
- package/src/filiale/siyang/pc.js +21 -21
- 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/safecheck-android.js +303 -303
package/src/filiale/siyang/pc.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
// 分公司特殊组件页面注册
|
2
|
-
import Vue from "vue";
|
3
|
-
|
4
|
-
//手机特殊目录注册到该文件中
|
5
|
-
let specialComp = {
|
6
|
-
'plan-manage':(resolve) => { require(['./pc/PlanManage'], resolve) },
|
7
|
-
'check-search-user':(resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
8
|
-
'check-plan-list':(resolve) => { require(['./pc/checkPlanList'], resolve) },
|
9
|
-
'check-plan-area-list':(resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
|
10
|
-
'hiddensituation':(resolve) => { require(['./pc/HiddenSituation'], resolve) },
|
11
|
-
'check-book-search-area':(resolve) => { require(['./pc/CheckBookSearchArea'], resolve) },
|
12
|
-
'paper-main':(resolve) => { require(['./pc/PaperList'], resolve) },
|
13
|
-
'new-check-paper':(resolve) => {require(['./pc/NewCheckpaper'], resolve)},
|
14
|
-
'check-user-list':(resolve) => { require(['./pc/checkUserList'], resolve) },
|
15
|
-
'paper-defect-main':(resolve) => { require(['./pc/PaperDefectMain'], resolve) },
|
16
|
-
}
|
17
|
-
exports.specialComp = specialComp
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
// 分公司特殊组件页面注册
|
2
|
+
import Vue from "vue";
|
3
|
+
|
4
|
+
//手机特殊目录注册到该文件中
|
5
|
+
let specialComp = {
|
6
|
+
'plan-manage':(resolve) => { require(['./pc/PlanManage'], resolve) },
|
7
|
+
'check-search-user':(resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
8
|
+
'check-plan-list':(resolve) => { require(['./pc/checkPlanList'], resolve) },
|
9
|
+
'check-plan-area-list':(resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
|
10
|
+
'hiddensituation':(resolve) => { require(['./pc/HiddenSituation'], resolve) },
|
11
|
+
'check-book-search-area':(resolve) => { require(['./pc/CheckBookSearchArea'], resolve) },
|
12
|
+
'paper-main':(resolve) => { require(['./pc/PaperList'], resolve) },
|
13
|
+
'new-check-paper':(resolve) => {require(['./pc/NewCheckpaper'], resolve)},
|
14
|
+
'check-user-list':(resolve) => { require(['./pc/checkUserList'], resolve) },
|
15
|
+
'paper-defect-main':(resolve) => { require(['./pc/PaperDefectMain'], resolve) },
|
16
|
+
}
|
17
|
+
exports.specialComp = specialComp
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
@@ -133,6 +133,18 @@
|
|
133
133
|
v-model="model.f_check_end">
|
134
134
|
</datepicker>
|
135
135
|
</div>
|
136
|
+
<div class="form-group col-sm-4" >
|
137
|
+
<label class="font_normal_body">入户截止:</label>
|
138
|
+
<datepicker
|
139
|
+
placeholder='请选择'
|
140
|
+
:disabled-days-of-week="[]"
|
141
|
+
style="width:60%;text-align: center"
|
142
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
143
|
+
:show-rest-button="reset"
|
144
|
+
:value.sync="model.f_ruhu_end"
|
145
|
+
v-model="model.f_ruhu_end">
|
146
|
+
</datepicker>
|
147
|
+
</div>
|
136
148
|
|
137
149
|
</div>
|
138
150
|
</div>
|
@@ -419,12 +431,15 @@ export default {
|
|
419
431
|
this.excelUserCondtion=true
|
420
432
|
},
|
421
433
|
selfSearch (args) {
|
422
|
-
if(args.model.f_last_check_state.length
|
434
|
+
if(args.model.f_last_check_state.length == 1 && args.model.f_last_check_state[0] == '入户' && args.model.f_ruhu_end) {
|
435
|
+
args.condition += `and DATEADD(YEAR, 2, CAST(ruhuend.f_offsite_time AS datetime)) < '${args.model.f_ruhu_end}'`
|
436
|
+
}
|
437
|
+
if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end) && (Util.isEmpty(args.model.f_check_start) || Util.isEmpty(args.model.f_check_end))) {
|
438
|
+
this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
439
|
+
return
|
440
|
+
}
|
441
|
+
if(args.model.f_last_check_state.length > 0 && Util.isEmpty(args.model.f_ruhu_end)) {
|
423
442
|
let zzcon = ''
|
424
|
-
if (Util.isEmpty(args.model.f_check_start) || Util.isEmpty(args.model.f_check_end)) {
|
425
|
-
this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
426
|
-
return
|
427
|
-
}
|
428
443
|
this.model.SafeCheckSX = ` f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
|
429
444
|
for (let i = 0; i < args.model.f_last_check_state.length; i++) {
|
430
445
|
if (args.model.f_last_check_state[i] == '未检') {
|
@@ -220,42 +220,42 @@ methods:{
|
|
220
220
|
//
|
221
221
|
if( this.f_state){
|
222
222
|
if(this.f_state=='入户'){
|
223
|
-
args.condition=args.condition+" and i.f_state='已检' and f_last_check_state='入户'"
|
223
|
+
args.condition=args.condition+" and i.f_state='已检' and i.f_last_check_state='入户'"
|
224
224
|
}else if(this.f_state=='未入户'){
|
225
225
|
if(this.f_noruhu && this.f_noruhu.length==1){
|
226
226
|
if(this.f_noruhu[0]=='复访不遇'){
|
227
|
-
args.condition += "and i.f_state='已检' and f_last_check_state='到访不遇' and f_check_version > 1 "
|
227
|
+
args.condition += "and i.f_state='已检' and i.f_last_check_state='到访不遇' and i.f_check_version > 1 "
|
228
228
|
}else{
|
229
|
-
args.condition += this.f_noruhu[0]=='未检'?" and i.f_state='未检'":` and i.f_state='已检' and f_last_check_state='${this.f_noruhu[0]}'`
|
229
|
+
args.condition += this.f_noruhu[0]=='未检'?" and i.f_state='未检'":` and i.f_state='已检' and i.f_last_check_state='${this.f_noruhu[0]}'`
|
230
230
|
}
|
231
231
|
}else if(this.f_noruhu && this.f_noruhu.length==2){
|
232
232
|
if(this.f_noruhu.indexOf('未检')!=-1){
|
233
233
|
//
|
234
234
|
if(this.f_noruhu.indexOf('到访不遇')!=-1){
|
235
|
-
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and f_last_check_state='到访不遇'))"
|
235
|
+
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='到访不遇'))"
|
236
236
|
}else if(this.f_noruhu.indexOf('复访不遇')!=-1) {
|
237
|
-
args.condition=args.condition + " and (i.f_state='未检' or (i.f_state='已检' and f_last_check_state = '到访不遇' AND f_check_version >2))"
|
237
|
+
args.condition=args.condition + " and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state = '到访不遇' AND i.f_check_version >2))"
|
238
238
|
}else{
|
239
|
-
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and f_last_check_state='拒检'))"
|
239
|
+
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and i.f_last_check_state='拒检'))"
|
240
240
|
}
|
241
241
|
|
242
242
|
}else{
|
243
243
|
if(this.f_noruhu.indexOf('复访不遇')!=-1){
|
244
244
|
if(this.f_noruhu.indexOf('到访不遇')!=-1){
|
245
|
-
args.condition=args.condition + " and (i.f_state='已检' and (f_last_check_state='到访不遇'))"
|
245
|
+
args.condition=args.condition + " and (i.f_state='已检' and (i.f_last_check_state='到访不遇'))"
|
246
246
|
}else{
|
247
|
-
args.condition=args.condition + " and i.f_state='已检' and ((f_last_check_state='到访不遇' and f_check_version >2) or f_last_check_state='拒检' )"
|
247
|
+
args.condition=args.condition + " and i.f_state='已检' and ((i.f_last_check_state='到访不遇' and f_check_version >2) or i.f_last_check_state='拒检' )"
|
248
248
|
}
|
249
249
|
}else{
|
250
|
-
args.condition=args.condition+" and (i.f_state='已检' and (f_last_check_state='到访不遇' or f_last_check_state='拒检'))"
|
250
|
+
args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
|
251
251
|
}
|
252
252
|
}
|
253
253
|
}else{
|
254
254
|
if(this.f_noruhu.indexOf('未检')!=-1){
|
255
|
-
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and (f_last_check_state='到访不遇' or f_last_check_state='拒检')))"
|
255
|
+
args.condition=args.condition+" and (i.f_state='未检' or (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检')))"
|
256
256
|
}
|
257
257
|
else{
|
258
|
-
args.condition=args.condition+" and (i.f_state='已检' and (f_last_check_state='到访不遇' or f_last_check_state='拒检'))"
|
258
|
+
args.condition=args.condition+" and (i.f_state='已检' and (i.f_last_check_state='到访不遇' or i.f_last_check_state='拒检'))"
|
259
259
|
}
|
260
260
|
}
|
261
261
|
|
@@ -187,6 +187,18 @@
|
|
187
187
|
v-model="model.f_check_end">
|
188
188
|
</datepicker>
|
189
189
|
</div>
|
190
|
+
<div class="form-group col-sm-4" >
|
191
|
+
<label class="font_normal_body">入户截止:</label>
|
192
|
+
<datepicker
|
193
|
+
placeholder='请选择'
|
194
|
+
:disabled-days-of-week="[]"
|
195
|
+
style="width:60%;text-align: center"
|
196
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
197
|
+
:show-rest-button="reset"
|
198
|
+
:value.sync="model.f_ruhu_end"
|
199
|
+
v-model="model.f_ruhu_end">
|
200
|
+
</datepicker>
|
201
|
+
</div>
|
190
202
|
|
191
203
|
</div>
|
192
204
|
</div>
|
@@ -387,11 +399,14 @@
|
|
387
399
|
this.excelUserCondtion=true
|
388
400
|
},
|
389
401
|
selfSearch (args) {
|
390
|
-
if(args.model.f_last_check_state) {
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
402
|
+
if( args.model.f_last_check_state == '入户' && args.model.f_ruhu_end) {
|
403
|
+
args.condition += `and DATEADD(YEAR, 2, CAST(ruhuend.f_offsite_time AS datetime)) < '${args.model.f_ruhu_end}'`
|
404
|
+
}
|
405
|
+
if(args.model.f_last_check_state && Util.isEmpty(args.model.f_ruhu_end) && (Util.isEmpty(args.model.f_check_start) || Util.isEmpty(args.model.f_check_end))) {
|
406
|
+
this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
407
|
+
return
|
408
|
+
}
|
409
|
+
if(args.model.f_last_check_state && Util.isEmpty(args.model.f_ruhu_end)) {
|
395
410
|
this.model.SafeCheckSX = ` f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
|
396
411
|
if (args.model.f_last_check_state == '未检') {
|
397
412
|
args.condition += ' and tcp.ruhu is null '
|
package/src/main.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import App from './App'
|
3
|
-
import { all } from 'vue-client'
|
4
|
-
import { system } from 'system-clients'
|
5
|
-
import safecheck from './safecheck'
|
6
|
-
import echarts from 'echarts'
|
7
|
-
// import safecheck from './rongcheng'
|
8
|
-
|
9
|
-
all()
|
10
|
-
// 验证码开关赋值
|
11
|
-
var Verificationfalg = false
|
12
|
-
system(Verificationfalg)
|
13
|
-
// system()
|
14
|
-
safecheck('
|
15
|
-
// safecheck('rizhao')
|
16
|
-
require('./bootstrap/less/bootstrap.less')
|
17
|
-
require('./expandcss.less')
|
18
|
-
|
19
|
-
Vue.prototype.$echarts = echarts
|
20
|
-
Vue.android = false
|
21
|
-
|
22
|
-
Vue.url = '/SafeCheck/rs/'
|
23
|
-
if(Vue.android)
|
24
|
-
Vue.url = Vue.staticUrl
|
25
|
-
Vue.interval = 1*60*1000
|
26
|
-
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
-
Vue.mapSetup = false
|
28
|
-
|
29
|
-
/* eslint-disable no-new */
|
30
|
-
new Vue({
|
31
|
-
el: 'body',
|
32
|
-
components: { App }
|
33
|
-
})
|
1
|
+
import Vue from 'vue'
|
2
|
+
import App from './App'
|
3
|
+
import { all } from 'vue-client'
|
4
|
+
import { system } from 'system-clients'
|
5
|
+
import safecheck from './safecheck'
|
6
|
+
import echarts from 'echarts'
|
7
|
+
// import safecheck from './rongcheng'
|
8
|
+
|
9
|
+
all()
|
10
|
+
// 验证码开关赋值
|
11
|
+
var Verificationfalg = false
|
12
|
+
system(Verificationfalg)
|
13
|
+
// system()
|
14
|
+
safecheck('bayan')
|
15
|
+
// safecheck('rizhao')
|
16
|
+
require('./bootstrap/less/bootstrap.less')
|
17
|
+
require('./expandcss.less')
|
18
|
+
|
19
|
+
Vue.prototype.$echarts = echarts
|
20
|
+
Vue.android = false
|
21
|
+
|
22
|
+
Vue.url = '/SafeCheck/rs/'
|
23
|
+
if(Vue.android)
|
24
|
+
Vue.url = Vue.staticUrl
|
25
|
+
Vue.interval = 1*60*1000
|
26
|
+
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
+
Vue.mapSetup = false
|
28
|
+
|
29
|
+
/* eslint-disable no-new */
|
30
|
+
new Vue({
|
31
|
+
el: 'body',
|
32
|
+
components: { App }
|
33
|
+
})
|