safecheck-client 3.0.34-33 → 3.0.34-35
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/App.vue +2 -2
- package/src/components/android/ImgSelfAndroid.vue +181 -181
- package/src/components/android/QRCode/QRCodePage.vue +208 -199
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/examples/SafeListExamples.vue +96 -95
- package/src/components/android/examples/UserExamples.vue +126 -125
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
- package/src/filiale/baiyin/pc/PaperList.vue +790 -790
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
- 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/jiaxian/android/AddPlanItem.vue +447 -447
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -1229
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -2811
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
- package/src/filiale/jiaxian/android.js +14 -14
- package/src/filiale/jiaxian/pc.js +12 -12
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
- 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/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- 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>
|