safecheck-client 3.0.34-34 → 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 +11 -2
- package/src/components/android/examples/SafeListExamples.vue +1 -0
- package/src/components/android/examples/UserExamples.vue +8 -7
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- 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/yuansheng/android/SafecheckDevices.vue +1258 -1258
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
- package/src/main.js +1 -1
@@ -0,0 +1,112 @@
|
|
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"
|
10
|
+
placeholder='客户编号'
|
11
|
+
condition="f_userinfo_code = '{}'" @keyup.enter="search()">
|
12
|
+
</div>
|
13
|
+
<div class="form-group col-sm-2 button-range">
|
14
|
+
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</criteria>
|
20
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid>
|
21
|
+
<template partial='head'>
|
22
|
+
<tr>
|
23
|
+
<th>
|
24
|
+
<nobr>序号</nobr>
|
25
|
+
</th>
|
26
|
+
<th>
|
27
|
+
<nobr>用户编号</nobr>
|
28
|
+
</th>
|
29
|
+
<th>
|
30
|
+
<nobr>用户姓名</nobr>
|
31
|
+
</th>
|
32
|
+
<th>
|
33
|
+
<nobr>用户电话</nobr>
|
34
|
+
</th>
|
35
|
+
<th>
|
36
|
+
<nobr>用户地址</nobr>
|
37
|
+
</th>
|
38
|
+
|
39
|
+
</tr>
|
40
|
+
</template>
|
41
|
+
<template partial='body'>
|
42
|
+
<tr>
|
43
|
+
<td style="text-align:center;">{{ $index + 1 }}</td>
|
44
|
+
<td style="text-align:center">{{ row.f_userinfo_code }}</td>
|
45
|
+
<td style="text-align:center">{{ row.f_user_name }}</td>
|
46
|
+
<td style="text-align:center">{{ row.f_user_phone }}</td>
|
47
|
+
<td style="text-align:center">{{ row.f_address }}</td>
|
48
|
+
</tr>
|
49
|
+
</template>
|
50
|
+
<template partial='foot'></template>
|
51
|
+
</data-grid>
|
52
|
+
</criteria-paged>
|
53
|
+
</div>
|
54
|
+
</template>
|
55
|
+
|
56
|
+
<script>
|
57
|
+
import {PagedList} from 'vue-client'
|
58
|
+
|
59
|
+
export default {
|
60
|
+
title: '安检记录列表',
|
61
|
+
props: ['row'],
|
62
|
+
data() {
|
63
|
+
return {
|
64
|
+
rowdata: this.row,
|
65
|
+
model: new PagedList('rs/sql/getUserByCheckBook', 50)
|
66
|
+
}
|
67
|
+
},
|
68
|
+
ready() {
|
69
|
+
if (this.row) {
|
70
|
+
let condition = ''
|
71
|
+
if (this.row.f_check_book_type1 == '小区') {
|
72
|
+
this.model.url = 'rs/sql/getUserByCheckBook'
|
73
|
+
condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
|
74
|
+
} else {
|
75
|
+
this.model.url = 'rs/sql/getUserByCheckBookCompany'
|
76
|
+
condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
|
77
|
+
}
|
78
|
+
this.model.search(condition)
|
79
|
+
//只显示用户页面
|
80
|
+
this.row.f_check_book_type = '用户'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
watch: {
|
84
|
+
'row'(val) {
|
85
|
+
if (val) {
|
86
|
+
this.rowdata = val
|
87
|
+
let condition = ''
|
88
|
+
if (this.row.f_check_book_type1 == '小区') {
|
89
|
+
condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
|
90
|
+
} else {
|
91
|
+
condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
|
92
|
+
}
|
93
|
+
this.model.search(condition)
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
methods: {
|
98
|
+
selfSearch(args) {
|
99
|
+
if (this.rowdata.id) {
|
100
|
+
if (this.rowdata.f_check_book_type1 == '小区') {
|
101
|
+
args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
|
102
|
+
} else {
|
103
|
+
args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
|
104
|
+
}
|
105
|
+
this.model.search(args.condition)
|
106
|
+
} else {
|
107
|
+
this.$showMessage('请选择安检册')
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
</script>
|