safecheck-client 3.0.32-17 → 3.0.32-19
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/filiale/fugou/pc/AddToCheckBook.vue +160 -0
- package/src/filiale/fugou/pc/CheckBook.vue +301 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +194 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
- package/src/filiale/fugou/pc.js +48 -5
- package/src/filiale/wensu/pc/checkUserList.vue +3 -2
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
- package/src/main.js +1 -1
@@ -0,0 +1,101 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="auto select-overspread">
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div class="form-group col-sm-3" >
|
8
|
+
<label class="font_normal_body">客户编号</label>
|
9
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
|
10
|
+
condition="f_userinfo_code = '{}'" @keyup.enter="search()">
|
11
|
+
</div>
|
12
|
+
<div class="form-group col-sm-2 button-range" >
|
13
|
+
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
14
|
+
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</criteria>
|
19
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
|
20
|
+
<template partial='head' >
|
21
|
+
<tr>
|
22
|
+
<th><nobr>序号</nobr></th>
|
23
|
+
<th><nobr>用户编号</nobr></th>
|
24
|
+
<th><nobr>用户姓名</nobr></th>
|
25
|
+
<th><nobr>用户电话</nobr></th>
|
26
|
+
<th><nobr>用户地址</nobr></th>
|
27
|
+
|
28
|
+
</tr>
|
29
|
+
</template>
|
30
|
+
<template partial='body' >
|
31
|
+
<tr >
|
32
|
+
<td style="text-align:center;">{{$index+1}}</td>
|
33
|
+
<td style="text-align:center">{{row.f_userinfo_code}}</td>
|
34
|
+
<td style="text-align:center">{{row.f_user_name}}</td>
|
35
|
+
<td style="text-align:center">{{row.f_user_phone}}</td>
|
36
|
+
<td style="text-align:center">{{row.f_address}}</td>
|
37
|
+
</tr>
|
38
|
+
</template>
|
39
|
+
<template partial='foot'></template>
|
40
|
+
</data-grid>
|
41
|
+
</criteria-paged>
|
42
|
+
</div>
|
43
|
+
</template>
|
44
|
+
|
45
|
+
<script>
|
46
|
+
import {PagedList} from 'vue-client'
|
47
|
+
|
48
|
+
export default {
|
49
|
+
title: '安检记录列表',
|
50
|
+
props: ['row'],
|
51
|
+
data () {
|
52
|
+
return {
|
53
|
+
rowdata: this.row,
|
54
|
+
model: new PagedList('rs/sql/getUserByCheckBook', 50)
|
55
|
+
}
|
56
|
+
},
|
57
|
+
ready(){
|
58
|
+
if(this.row){
|
59
|
+
let condition=''
|
60
|
+
if(this.row.f_check_book_type1=='小区'){
|
61
|
+
this.model.url = 'rs/sql/getUserByCheckBook'
|
62
|
+
condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
|
63
|
+
}else{
|
64
|
+
this.model.url = 'rs/sql/getUserByCheckBookCompany'
|
65
|
+
condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
|
66
|
+
}
|
67
|
+
this.model.search(condition)
|
68
|
+
//只显示用户页面
|
69
|
+
this.row.f_check_book_type='用户'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
watch: {
|
73
|
+
'row' (val) {
|
74
|
+
if (val) {
|
75
|
+
this.rowdata = val
|
76
|
+
let condition=''
|
77
|
+
if(this.row.f_check_book_type1=='小区'){
|
78
|
+
condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
|
79
|
+
}else{
|
80
|
+
condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
|
81
|
+
}
|
82
|
+
this.model.search(condition)
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
methods: {
|
87
|
+
selfSearch (args) {
|
88
|
+
if (this.rowdata.id) {
|
89
|
+
if(this.rowdata.f_check_book_type1=='小区'){
|
90
|
+
args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
|
91
|
+
}else{
|
92
|
+
args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
|
93
|
+
}
|
94
|
+
this.model.search(args.condition)
|
95
|
+
} else {
|
96
|
+
this.$showMessage('请选择片区')
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
</script>
|
package/src/filiale/fugou/pc.js
CHANGED
@@ -4,11 +4,54 @@ import Vue from "vue";
|
|
4
4
|
//手机特殊目录注册到该文件中
|
5
5
|
let specialComp = {
|
6
6
|
// 安检汇总-列表
|
7
|
-
'paper-main': (resolve) => {
|
8
|
-
|
9
|
-
|
10
|
-
'
|
11
|
-
|
7
|
+
'paper-main': (resolve) => {
|
8
|
+
require(['./pc/PaperList'], resolve)
|
9
|
+
},
|
10
|
+
'check-user-list': (resolve) => {
|
11
|
+
require(['./pc/checkUserList'], resolve)
|
12
|
+
},
|
13
|
+
'safe-defect-paper-new': (resolve) => {
|
14
|
+
require(['./pc/DefectPaperNew'], resolve)
|
15
|
+
},
|
16
|
+
'defect-main-new2': (resolve) => {
|
17
|
+
require(['./pc/DefectMainNew'], resolve)
|
18
|
+
},
|
19
|
+
'paper-defect-main': (resolve) => {
|
20
|
+
require(['./pc/PaperDefectMain'], resolve)
|
21
|
+
},
|
22
|
+
'check-book-all': (resolve) => {
|
23
|
+
require(['./pc/CheckBookAll'], resolve)
|
24
|
+
},
|
25
|
+
'check-book': (resolve) => {
|
26
|
+
require(['./pc/CheckBook'], resolve)
|
27
|
+
},
|
28
|
+
'check-book-user': (resolve) => {
|
29
|
+
require(['./pc/CheckBookUser'], resolve)
|
30
|
+
},
|
31
|
+
'check-book-area': (resolve) => {
|
32
|
+
require(['./pc/CheckBookArea'], resolve)
|
33
|
+
},
|
34
|
+
'check-book-company': (resolve) => {
|
35
|
+
require(['./pc/CheckBookCompany'], resolve)
|
36
|
+
},
|
37
|
+
'check-book-entry': (resolve) => {
|
38
|
+
require(['./pc/CheckBookEntry'], resolve)
|
39
|
+
},
|
40
|
+
'add-to-check-book': (resolve) => {
|
41
|
+
require(['./pc/AddToCheckBook'], resolve)
|
42
|
+
},
|
43
|
+
'check-book-search-user': (resolve) => {
|
44
|
+
require(['./pc/CheckBookSearchUser'], resolve)
|
45
|
+
},
|
46
|
+
'check-book-search-area': (resolve) => {
|
47
|
+
require(['./pc/CheckBookSearchArea'], resolve)
|
48
|
+
},
|
49
|
+
'check-book-search-unit': (resolve) => {
|
50
|
+
require(['./pc/CheckBookSearchUnit'], resolve)
|
51
|
+
},
|
52
|
+
'check-book-search-user-list': (resolve) => {
|
53
|
+
require(['./pc/CheckBookSearchUserList'], resolve)
|
54
|
+
}
|
12
55
|
}
|
13
56
|
exports.specialComp = specialComp
|
14
57
|
|
@@ -408,9 +408,10 @@
|
|
408
408
|
args.condition +=` and ${this.uploadCodeCondition}`
|
409
409
|
}
|
410
410
|
if(args.model.f_last_check_state){
|
411
|
-
args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
|
412
411
|
if (args.model.f_last_check_state == '未检'){
|
413
|
-
args.condition += ` and (ua.f_last_check_date
|
412
|
+
args.condition += ` and (ua.f_last_check_date is null or ua.f_last_check_date is null) `
|
413
|
+
}else {
|
414
|
+
args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
|
414
415
|
}
|
415
416
|
}
|
416
417
|
if(args.model.f_start_time){
|
@@ -684,9 +684,9 @@ export default {
|
|
684
684
|
hasError = this.verifyDevices()
|
685
685
|
if (hasError)
|
686
686
|
return hasError
|
687
|
-
hasError = this.verifyFeedback()
|
688
|
-
if (hasError)
|
689
|
-
|
687
|
+
// hasError = this.verifyFeedback()
|
688
|
+
// if (hasError)
|
689
|
+
// return hasError
|
690
690
|
},
|
691
691
|
verifyState() {
|
692
692
|
if (Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
|