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
@@ -1,196 +1,196 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="auto select-overspread">
|
3
|
-
<validator name='v'>
|
4
|
-
<form class="form-horizontal" novalidate>
|
5
|
-
<ul class="nav nav-tabs" style="margin-bottom: 10px">
|
6
|
-
<li class="active"><a href="#">安检册信息</a></li>
|
7
|
-
</ul>
|
8
|
-
<div class="row" style="margin-top: 10px">
|
9
|
-
<div class="col-sm-12 form-group" style="margin: 0">
|
10
|
-
<role-selector-safe
|
11
|
-
@alluser="getUsers"
|
12
|
-
@re-res="getRes"
|
13
|
-
role-name="安检员"
|
14
|
-
role-lable="安 检 员 "
|
15
|
-
:value.sync="checkBook.f_checker_name"
|
16
|
-
v-model="checkBook.f_checker_name">
|
17
|
-
</role-selector-safe>
|
18
|
-
</div>
|
19
|
-
<!-- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_type.required ? 'has-error' : '']">-->
|
20
|
-
<!-- <label class="font_normal_body">表册类型</label>-->
|
21
|
-
<!-- <input type="text" v-show="false" v-model="checkBook.f_check_book_type"-->
|
22
|
-
<!-- :value.sync="checkBook.f_check_book_type"-->
|
23
|
-
<!-- v-validate:f_check_book_type='{required: true }'>-->
|
24
|
-
<!-- <v-select :value.sync="checkBook.f_check_book_type" v-model='checkBook.f_check_book_type'-->
|
25
|
-
<!-- :value-single="true" style="width: 60%"-->
|
26
|
-
<!-- class="select_list select"-->
|
27
|
-
<!-- :options='bookTypes' placeholder=''-->
|
28
|
-
<!-- close-on-select></v-select>-->
|
29
|
-
<!-- </div>-->
|
30
|
-
<div class="form-group col-sm-6" style="margin-top: 20px"
|
31
|
-
:class="[$v.f_user_type.required ? 'has-error' : '']">
|
32
|
-
<label class="font_normal_body">用户类型</label>
|
33
|
-
<input type="text" v-show="false" v-model="checkBook.f_user_type"
|
34
|
-
v-validate:f_user_type='{required: true }'>
|
35
|
-
<v-select :value.sync="checkBook.f_user_type" v-model='checkBook.f_user_type'
|
36
|
-
:value-single="true" style="width: 60%"
|
37
|
-
class="select_list select"
|
38
|
-
:options='userTypes' placeholder=''
|
39
|
-
close-on-select></v-select>
|
40
|
-
</div>
|
41
|
-
<div class="form-group col-sm-6" style="margin-top: 20px"
|
42
|
-
:class="[$v.f_check_book_name.required ? 'has-error' : '']">
|
43
|
-
<label class="font_normal_body">安检册名称</label>
|
44
|
-
<input type="text" class="input_search" v-model="checkBook.f_check_book_name"
|
45
|
-
style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
|
46
|
-
</div>
|
47
|
-
<div class="form-group col-sm-6" style="margin-top: 20px">
|
48
|
-
<label class="font_normal_body">执行日期</label>
|
49
|
-
<datepicker
|
50
|
-
:value.sync="checkBook.f_run_date"
|
51
|
-
style="width: 60%"
|
52
|
-
:format="'yyyy-MM-dd'"
|
53
|
-
v-model="checkBook.f_run_date"
|
54
|
-
>
|
55
|
-
</datepicker>
|
56
|
-
</div>
|
57
|
-
<div class="form-group col-sm-6" style="margin-top: 20px">
|
58
|
-
<label class="font_normal_body">执行周期</label>
|
59
|
-
<input type="number" class="input_search" v-model="checkBook.f_around_time"
|
60
|
-
style="width: 60%">
|
61
|
-
</div>
|
62
|
-
<div class="form-group col-sm-6" style="margin-top: 20px">
|
63
|
-
<label class="font_normal_body">周期单位</label>
|
64
|
-
<v-select :value.sync="checkBook.f_around_unit" v-model='checkBook.f_around_unit'
|
65
|
-
:value-single="true" style="width: 60%"
|
66
|
-
class="select_list select"
|
67
|
-
:options='aroundUnit' placeholder=''
|
68
|
-
close-on-select></v-select>
|
69
|
-
</div>
|
70
|
-
|
71
|
-
|
72
|
-
<!-- <div class="form-group col-sm-6" style="margin-top: 20px">-->
|
73
|
-
<!-- <label class="font_normal_body">自动下发</label>-->
|
74
|
-
<!-- <v-select :value.sync="checkBook.f_is_auto" v-model='checkBook.f_is_auto'-->
|
75
|
-
<!-- :value-single="true" style="width: 60%"-->
|
76
|
-
<!-- class="select_list select"-->
|
77
|
-
<!-- :options='autos' placeholder=''-->
|
78
|
-
<!-- close-on-select></v-select>-->
|
79
|
-
<!-- </div>-->
|
80
|
-
</div>
|
81
|
-
</form>
|
82
|
-
<div style="text-align:right;height:auto;margin-top:6px;margin-right: 10%">
|
83
|
-
<button @click="confirm()" class="button_search">确认</button>
|
84
|
-
<!-- <button @click="deleteBook()" class="button_delete">删除</button>-->
|
85
|
-
<button @click="close()" class="button_clear">取消</button>
|
86
|
-
</div>
|
87
|
-
</validator>
|
88
|
-
</div>
|
89
|
-
</template>
|
90
|
-
<script>
|
91
|
-
import * as Util from "../../../components/Util";
|
92
|
-
import bus from "../../../bus";
|
93
|
-
import {HttpResetClass} from 'vue-client'
|
94
|
-
|
95
|
-
export default {
|
96
|
-
data() {
|
97
|
-
return {
|
98
|
-
aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
|
99
|
-
bookTypes: [{label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
|
100
|
-
userTypes: [{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
101
|
-
autos: [{label: '是', value: '是'}, {label: '否', value: '否'}],
|
102
|
-
allUsers: [],
|
103
|
-
checkBook: {
|
104
|
-
f_check_book_name: '',
|
105
|
-
f_run_date: '',
|
106
|
-
f_around_time: '',
|
107
|
-
f_around_unit: '',
|
108
|
-
f_create_date: '',
|
109
|
-
f_create_person: '',
|
110
|
-
f_user_type: '',
|
111
|
-
f_orgid: '',
|
112
|
-
f_is_auto: '否',
|
113
|
-
f_check_book_type: "小区",
|
114
|
-
f_checker_name: '',
|
115
|
-
f_checker_id: '',
|
116
|
-
}
|
117
|
-
}
|
118
|
-
},
|
119
|
-
props: ['row', 'showtype'],
|
120
|
-
watch: {
|
121
|
-
'checkBook.f_checker_name'(val) {
|
122
|
-
const user = this.allUsers.filter(item => item.name == val);
|
123
|
-
if (user.length > 0) {
|
124
|
-
this.checkBook.f_checker_id = user[0]["id"]
|
125
|
-
}
|
126
|
-
console.log("777", this.checkBook)
|
127
|
-
},
|
128
|
-
row(row) {
|
129
|
-
this.changeCheckBook(row)
|
130
|
-
}
|
131
|
-
},
|
132
|
-
ready() {
|
133
|
-
// console.log(this.$login.f.orgid)
|
134
|
-
this.changeCheckBook(this.row)
|
135
|
-
this.checkBook.f_user_type = this.showtype
|
136
|
-
console.log('row', JSON.stringify(this.row))
|
137
|
-
},
|
138
|
-
methods: {
|
139
|
-
changeCheckBook(row) {
|
140
|
-
console.log('row改变了', row)
|
141
|
-
if (row && row.id) {
|
142
|
-
console.log('进入修改赋值')
|
143
|
-
this.checkBook = row
|
144
|
-
}
|
145
|
-
},
|
146
|
-
deleteBook() {
|
147
|
-
console.log('delete', this.row)
|
148
|
-
},
|
149
|
-
close() {
|
150
|
-
console.log('关闭')
|
151
|
-
this.$parent.showItem = false
|
152
|
-
},
|
153
|
-
confirm() {
|
154
|
-
if (!this.checkBook.f_check_book_name) {
|
155
|
-
this.$showMessage('请填写安检册名称')
|
156
|
-
return
|
157
|
-
}
|
158
|
-
// if(!this.checkBook.f_check_book_type){
|
159
|
-
// this.$showMessage('请选择表册类型')
|
160
|
-
// return
|
161
|
-
// }
|
162
|
-
if (!this.checkBook.f_user_type) {
|
163
|
-
this.$showMessage('请选择用户类型')
|
164
|
-
return
|
165
|
-
|
166
|
-
}
|
167
|
-
this.checkBook.f_orgid = this.$login.f.orgid
|
168
|
-
this.checkBook.f_create_person = this.$login.f.name
|
169
|
-
this.checkBook.f_create_date = Util.toStandardDateString()
|
170
|
-
console.log('checkbook', this.checkBook)
|
171
|
-
let http = new HttpResetClass()
|
172
|
-
http.load('POST', 'rs/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
|
173
|
-
{resolveMsg: '保存安检册信息成功', rejectMsg: '保存安检册信息失败'}).then(res => {
|
174
|
-
if (res.data.code === 200) {
|
175
|
-
this.$showMessage('保存安检册信息成功', ['confirm']).then(res => {
|
176
|
-
if (res === 'confirm') {
|
177
|
-
bus.$emit('fresh-main')
|
178
|
-
}
|
179
|
-
})
|
180
|
-
} else {
|
181
|
-
this.$showMessage('保存安检册信息失败')
|
182
|
-
}
|
183
|
-
})
|
184
|
-
},
|
185
|
-
getRes(obj) {
|
186
|
-
if (obj.resids) {
|
187
|
-
this.checkBook.f_orgid = obj.resids[0]
|
188
|
-
console.log('id', this.checkBook.f_orgid)
|
189
|
-
}
|
190
|
-
},
|
191
|
-
getUsers(obj) {
|
192
|
-
this.allUsers = obj
|
193
|
-
}
|
194
|
-
}
|
195
|
-
}
|
196
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="auto select-overspread">
|
3
|
+
<validator name='v'>
|
4
|
+
<form class="form-horizontal" novalidate>
|
5
|
+
<ul class="nav nav-tabs" style="margin-bottom: 10px">
|
6
|
+
<li class="active"><a href="#">安检册信息</a></li>
|
7
|
+
</ul>
|
8
|
+
<div class="row" style="margin-top: 10px">
|
9
|
+
<div class="col-sm-12 form-group" style="margin: 0">
|
10
|
+
<role-selector-safe
|
11
|
+
@alluser="getUsers"
|
12
|
+
@re-res="getRes"
|
13
|
+
role-name="安检员"
|
14
|
+
role-lable="安 检 员 "
|
15
|
+
:value.sync="checkBook.f_checker_name"
|
16
|
+
v-model="checkBook.f_checker_name">
|
17
|
+
</role-selector-safe>
|
18
|
+
</div>
|
19
|
+
<!-- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_type.required ? 'has-error' : '']">-->
|
20
|
+
<!-- <label class="font_normal_body">表册类型</label>-->
|
21
|
+
<!-- <input type="text" v-show="false" v-model="checkBook.f_check_book_type"-->
|
22
|
+
<!-- :value.sync="checkBook.f_check_book_type"-->
|
23
|
+
<!-- v-validate:f_check_book_type='{required: true }'>-->
|
24
|
+
<!-- <v-select :value.sync="checkBook.f_check_book_type" v-model='checkBook.f_check_book_type'-->
|
25
|
+
<!-- :value-single="true" style="width: 60%"-->
|
26
|
+
<!-- class="select_list select"-->
|
27
|
+
<!-- :options='bookTypes' placeholder=''-->
|
28
|
+
<!-- close-on-select></v-select>-->
|
29
|
+
<!-- </div>-->
|
30
|
+
<div class="form-group col-sm-6" style="margin-top: 20px"
|
31
|
+
:class="[$v.f_user_type.required ? 'has-error' : '']">
|
32
|
+
<label class="font_normal_body">用户类型</label>
|
33
|
+
<input type="text" v-show="false" v-model="checkBook.f_user_type"
|
34
|
+
v-validate:f_user_type='{required: true }'>
|
35
|
+
<v-select :value.sync="checkBook.f_user_type" v-model='checkBook.f_user_type'
|
36
|
+
:value-single="true" style="width: 60%"
|
37
|
+
class="select_list select"
|
38
|
+
:options='userTypes' placeholder=''
|
39
|
+
close-on-select></v-select>
|
40
|
+
</div>
|
41
|
+
<div class="form-group col-sm-6" style="margin-top: 20px"
|
42
|
+
:class="[$v.f_check_book_name.required ? 'has-error' : '']">
|
43
|
+
<label class="font_normal_body">安检册名称</label>
|
44
|
+
<input type="text" class="input_search" v-model="checkBook.f_check_book_name"
|
45
|
+
style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
|
46
|
+
</div>
|
47
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
48
|
+
<label class="font_normal_body">执行日期</label>
|
49
|
+
<datepicker
|
50
|
+
:value.sync="checkBook.f_run_date"
|
51
|
+
style="width: 60%"
|
52
|
+
:format="'yyyy-MM-dd'"
|
53
|
+
v-model="checkBook.f_run_date"
|
54
|
+
>
|
55
|
+
</datepicker>
|
56
|
+
</div>
|
57
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
58
|
+
<label class="font_normal_body">执行周期</label>
|
59
|
+
<input type="number" class="input_search" v-model="checkBook.f_around_time"
|
60
|
+
style="width: 60%">
|
61
|
+
</div>
|
62
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
63
|
+
<label class="font_normal_body">周期单位</label>
|
64
|
+
<v-select :value.sync="checkBook.f_around_unit" v-model='checkBook.f_around_unit'
|
65
|
+
:value-single="true" style="width: 60%"
|
66
|
+
class="select_list select"
|
67
|
+
:options='aroundUnit' placeholder=''
|
68
|
+
close-on-select></v-select>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
|
72
|
+
<!-- <div class="form-group col-sm-6" style="margin-top: 20px">-->
|
73
|
+
<!-- <label class="font_normal_body">自动下发</label>-->
|
74
|
+
<!-- <v-select :value.sync="checkBook.f_is_auto" v-model='checkBook.f_is_auto'-->
|
75
|
+
<!-- :value-single="true" style="width: 60%"-->
|
76
|
+
<!-- class="select_list select"-->
|
77
|
+
<!-- :options='autos' placeholder=''-->
|
78
|
+
<!-- close-on-select></v-select>-->
|
79
|
+
<!-- </div>-->
|
80
|
+
</div>
|
81
|
+
</form>
|
82
|
+
<div style="text-align:right;height:auto;margin-top:6px;margin-right: 10%">
|
83
|
+
<button @click="confirm()" class="button_search">确认</button>
|
84
|
+
<!-- <button @click="deleteBook()" class="button_delete">删除</button>-->
|
85
|
+
<button @click="close()" class="button_clear">取消</button>
|
86
|
+
</div>
|
87
|
+
</validator>
|
88
|
+
</div>
|
89
|
+
</template>
|
90
|
+
<script>
|
91
|
+
import * as Util from "../../../components/Util";
|
92
|
+
import bus from "../../../bus";
|
93
|
+
import {HttpResetClass} from 'vue-client'
|
94
|
+
|
95
|
+
export default {
|
96
|
+
data() {
|
97
|
+
return {
|
98
|
+
aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
|
99
|
+
bookTypes: [{label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
|
100
|
+
userTypes: [{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
101
|
+
autos: [{label: '是', value: '是'}, {label: '否', value: '否'}],
|
102
|
+
allUsers: [],
|
103
|
+
checkBook: {
|
104
|
+
f_check_book_name: '',
|
105
|
+
f_run_date: '',
|
106
|
+
f_around_time: '',
|
107
|
+
f_around_unit: '',
|
108
|
+
f_create_date: '',
|
109
|
+
f_create_person: '',
|
110
|
+
f_user_type: '',
|
111
|
+
f_orgid: '',
|
112
|
+
f_is_auto: '否',
|
113
|
+
f_check_book_type: "小区",
|
114
|
+
f_checker_name: '',
|
115
|
+
f_checker_id: '',
|
116
|
+
}
|
117
|
+
}
|
118
|
+
},
|
119
|
+
props: ['row', 'showtype'],
|
120
|
+
watch: {
|
121
|
+
'checkBook.f_checker_name'(val) {
|
122
|
+
const user = this.allUsers.filter(item => item.name == val);
|
123
|
+
if (user.length > 0) {
|
124
|
+
this.checkBook.f_checker_id = user[0]["id"]
|
125
|
+
}
|
126
|
+
console.log("777", this.checkBook)
|
127
|
+
},
|
128
|
+
row(row) {
|
129
|
+
this.changeCheckBook(row)
|
130
|
+
}
|
131
|
+
},
|
132
|
+
ready() {
|
133
|
+
// console.log(this.$login.f.orgid)
|
134
|
+
this.changeCheckBook(this.row)
|
135
|
+
this.checkBook.f_user_type = this.showtype
|
136
|
+
console.log('row', JSON.stringify(this.row))
|
137
|
+
},
|
138
|
+
methods: {
|
139
|
+
changeCheckBook(row) {
|
140
|
+
console.log('row改变了', row)
|
141
|
+
if (row && row.id) {
|
142
|
+
console.log('进入修改赋值')
|
143
|
+
this.checkBook = row
|
144
|
+
}
|
145
|
+
},
|
146
|
+
deleteBook() {
|
147
|
+
console.log('delete', this.row)
|
148
|
+
},
|
149
|
+
close() {
|
150
|
+
console.log('关闭')
|
151
|
+
this.$parent.showItem = false
|
152
|
+
},
|
153
|
+
confirm() {
|
154
|
+
if (!this.checkBook.f_check_book_name) {
|
155
|
+
this.$showMessage('请填写安检册名称')
|
156
|
+
return
|
157
|
+
}
|
158
|
+
// if(!this.checkBook.f_check_book_type){
|
159
|
+
// this.$showMessage('请选择表册类型')
|
160
|
+
// return
|
161
|
+
// }
|
162
|
+
if (!this.checkBook.f_user_type) {
|
163
|
+
this.$showMessage('请选择用户类型')
|
164
|
+
return
|
165
|
+
|
166
|
+
}
|
167
|
+
this.checkBook.f_orgid = this.$login.f.orgid
|
168
|
+
this.checkBook.f_create_person = this.$login.f.name
|
169
|
+
this.checkBook.f_create_date = Util.toStandardDateString()
|
170
|
+
console.log('checkbook', this.checkBook)
|
171
|
+
let http = new HttpResetClass()
|
172
|
+
http.load('POST', 'rs/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
|
173
|
+
{resolveMsg: '保存安检册信息成功', rejectMsg: '保存安检册信息失败'}).then(res => {
|
174
|
+
if (res.data.code === 200) {
|
175
|
+
this.$showMessage('保存安检册信息成功', ['confirm']).then(res => {
|
176
|
+
if (res === 'confirm') {
|
177
|
+
bus.$emit('fresh-main')
|
178
|
+
}
|
179
|
+
})
|
180
|
+
} else {
|
181
|
+
this.$showMessage('保存安检册信息失败')
|
182
|
+
}
|
183
|
+
})
|
184
|
+
},
|
185
|
+
getRes(obj) {
|
186
|
+
if (obj.resids) {
|
187
|
+
this.checkBook.f_orgid = obj.resids[0]
|
188
|
+
console.log('id', this.checkBook.f_orgid)
|
189
|
+
}
|
190
|
+
},
|
191
|
+
getUsers(obj) {
|
192
|
+
this.allUsers = obj
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
</script>
|
@@ -1,61 +1,61 @@
|
|
1
|
-
<template>
|
2
|
-
<div id='checkbookEntry' class="flex-row binary">
|
3
|
-
<div class="binary-left">
|
4
|
-
<tabset v-ref:tabs :close="false" class="nav-tabss">
|
5
|
-
<tab header="小区查询">
|
6
|
-
<check-book-search-area @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-area>
|
7
|
-
</tab>
|
8
|
-
<!-- <tab header="单位查询">-->
|
9
|
-
<!-- <check-book-search-unit @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-unit>-->
|
10
|
-
<!-- </tab>-->
|
11
|
-
<tab header="用户查询">
|
12
|
-
<check-book-search-user @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-user>
|
13
|
-
</tab>
|
14
|
-
</tabset>
|
15
|
-
</div>
|
16
|
-
<div class="binary-right">
|
17
|
-
<add-to-check-book @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></add-to-check-book>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
</template>
|
21
|
-
|
22
|
-
<script>
|
23
|
-
|
24
|
-
export default {
|
25
|
-
name: 'checkBookEntry',
|
26
|
-
title: '添加用户到安检册',
|
27
|
-
data () {
|
28
|
-
return {
|
29
|
-
bookList: [],
|
30
|
-
bookCondition:"",
|
31
|
-
bookAll: false
|
32
|
-
}
|
33
|
-
},
|
34
|
-
created () {
|
35
|
-
},
|
36
|
-
ready () {
|
37
|
-
},
|
38
|
-
methods: {
|
39
|
-
setBookList(val){
|
40
|
-
console.log("555555")
|
41
|
-
// console.log("66666",val)
|
42
|
-
this.bookList = val
|
43
|
-
},
|
44
|
-
setBookAll(val){
|
45
|
-
this.bookAll = val
|
46
|
-
},
|
47
|
-
setCondition(val){
|
48
|
-
this.bookCondition = val
|
49
|
-
},
|
50
|
-
},
|
51
|
-
events: {
|
52
|
-
|
53
|
-
}
|
54
|
-
}
|
55
|
-
</script>
|
56
|
-
|
57
|
-
<style lang="less">
|
58
|
-
#checkbookEntry {
|
59
|
-
height: 700px;
|
60
|
-
}
|
61
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div id='checkbookEntry' class="flex-row binary">
|
3
|
+
<div class="binary-left">
|
4
|
+
<tabset v-ref:tabs :close="false" class="nav-tabss">
|
5
|
+
<tab header="小区查询">
|
6
|
+
<check-book-search-area @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-area>
|
7
|
+
</tab>
|
8
|
+
<!-- <tab header="单位查询">-->
|
9
|
+
<!-- <check-book-search-unit @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-unit>-->
|
10
|
+
<!-- </tab>-->
|
11
|
+
<tab header="用户查询">
|
12
|
+
<check-book-search-user @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-user>
|
13
|
+
</tab>
|
14
|
+
</tabset>
|
15
|
+
</div>
|
16
|
+
<div class="binary-right">
|
17
|
+
<add-to-check-book @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></add-to-check-book>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</template>
|
21
|
+
|
22
|
+
<script>
|
23
|
+
|
24
|
+
export default {
|
25
|
+
name: 'checkBookEntry',
|
26
|
+
title: '添加用户到安检册',
|
27
|
+
data () {
|
28
|
+
return {
|
29
|
+
bookList: [],
|
30
|
+
bookCondition:"",
|
31
|
+
bookAll: false
|
32
|
+
}
|
33
|
+
},
|
34
|
+
created () {
|
35
|
+
},
|
36
|
+
ready () {
|
37
|
+
},
|
38
|
+
methods: {
|
39
|
+
setBookList(val){
|
40
|
+
console.log("555555")
|
41
|
+
// console.log("66666",val)
|
42
|
+
this.bookList = val
|
43
|
+
},
|
44
|
+
setBookAll(val){
|
45
|
+
this.bookAll = val
|
46
|
+
},
|
47
|
+
setCondition(val){
|
48
|
+
this.bookCondition = val
|
49
|
+
},
|
50
|
+
},
|
51
|
+
events: {
|
52
|
+
|
53
|
+
}
|
54
|
+
}
|
55
|
+
</script>
|
56
|
+
|
57
|
+
<style lang="less">
|
58
|
+
#checkbookEntry {
|
59
|
+
height: 700px;
|
60
|
+
}
|
61
|
+
</style>
|