safecheck-client 4.0.2-3 → 4.0.2-31
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 +2 -2
- package/src/components/android/week/CheckResultSimple.vue +222 -0
- package/src/components/android/week/FirstWeekCheck.vue +236 -0
- package/src/components/android/week/StepHeaderBar.vue +323 -0
- package/src/components/android/week/WeekCheck.vue +151 -0
- package/src/components/android/week/WeekCheckPaper.vue +151 -0
- package/src/components/checkplan/SelectCheckPlan.vue +39 -0
- package/src/components/paper/safetyledger.vue +194 -0
- package/src/components/pc/CheckBook.vue +1 -1
- package/src/components/planmanage/PlanManage.vue +902 -902
- package/src/components/planmanage/checkUserList.vue +1 -1
- package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
- package/src/components/report/CheckByPlan.vue +1 -1
- package/src/components/report/CheckPlanAreaList.vue +45 -2
- package/src/filiale/jinhong/android/CurrentCreate.vue +6 -3
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
- package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
- package/src/filiale/jinhong/pc/PaperList.vue +1 -1
- package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
- package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
- package/src/filiale/meihekou/android/SafecheckDevices.vue +6 -3
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +2445 -2446
- package/src/filiale/meihekou/pc/CheckDetail.vue +208 -0
- package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
- package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +504 -0
- package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
- package/src/filiale/meihekou/pc.js +3 -0
- package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
- package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
- package/src/filiale/xinliansihui/pc.js +13 -0
- package/src/main.js +33 -33
- package/src/safecheck-android.js +10 -0
- package/src/safecheck.js +3 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged >
|
|
5
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-2" >
|
|
9
|
+
<label class="font_normal_body">客户编号</label>
|
|
10
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
|
11
|
+
style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
|
|
12
|
+
</div>
|
|
13
|
+
<div class="form-group col-sm-2" >
|
|
14
|
+
<label class="font_normal_body">客户名称</label>
|
|
15
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
16
|
+
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-2" >
|
|
19
|
+
<label class="font_normal_body">客户电话</label>
|
|
20
|
+
<input type="text" class="input_search" v-model="model.f_user_phone"
|
|
21
|
+
style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-2" >
|
|
24
|
+
<label class="font_normal_body">详细地址</label>
|
|
25
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
|
26
|
+
style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-2" >
|
|
29
|
+
<label class="font_normal_body">整改措施</label>
|
|
30
|
+
<v-select class="select_list select"
|
|
31
|
+
placeholder='请选择' style="width: 60%"
|
|
32
|
+
:value.sync="model.f_is_repaired"
|
|
33
|
+
v-model="model.f_is_repaired"
|
|
34
|
+
:options='$parent.$parent.repaired'
|
|
35
|
+
filer-key="name"
|
|
36
|
+
close-on-select clear-button
|
|
37
|
+
condition="f_is_repaired in {}"
|
|
38
|
+
:multiple="true">
|
|
39
|
+
</v-select>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
|
42
|
+
<export-excel :data="$parent.$parent.searchData"
|
|
43
|
+
:field="$parent.$parent.excelHeaders"
|
|
44
|
+
:choose-col="true"
|
|
45
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="safetyledger" template-name='安检台账记录'></export-excel>
|
|
46
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
|
47
|
+
<div style="float: right" class="button_spacing"
|
|
48
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
49
|
+
@click="$parent.$parent.hidden()"></div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
|
52
|
+
<label class="font_normal_body">开始时间</label>
|
|
53
|
+
<datepicker
|
|
54
|
+
:value.sync="model.f_check_start"
|
|
55
|
+
placeholder='开始时间' style="width: 60%"
|
|
56
|
+
:disabled-days-of-week="[]"
|
|
57
|
+
:format="'yyyy-MM-dd'"
|
|
58
|
+
:show-rest-button="reset"
|
|
59
|
+
v-model="model.f_check_start"
|
|
60
|
+
condition="f_offsite_time > ='{} 00:00:00'">
|
|
61
|
+
</datepicker>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
|
64
|
+
<label class="font_normal_body">结束时间</label>
|
|
65
|
+
<datepicker
|
|
66
|
+
:value.sync="model.f_check_end"
|
|
67
|
+
placeholder='结束时间' style="width: 60%"
|
|
68
|
+
:disabled-days-of-week="[]"
|
|
69
|
+
:format="'yyyy-MM-dd'"
|
|
70
|
+
:show-rest-button="reset"
|
|
71
|
+
v-model="model.f_check_end"
|
|
72
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
|
73
|
+
</datepicker>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</criteria>
|
|
78
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
|
79
|
+
<template partial='head'>
|
|
80
|
+
<tr>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>企业名称</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th>
|
|
85
|
+
<nobr>检查时间</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th>
|
|
88
|
+
<nobr>镇(街道)</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>地址</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>用户名称</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<th>
|
|
97
|
+
<nobr>用户编号</nobr>
|
|
98
|
+
</th>
|
|
99
|
+
<th>
|
|
100
|
+
<nobr>用户类型</nobr>
|
|
101
|
+
</th>
|
|
102
|
+
<th>
|
|
103
|
+
<nobr>用气类型</nobr>
|
|
104
|
+
</th>
|
|
105
|
+
<th>
|
|
106
|
+
<nobr>隐患类别</nobr>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<nobr>隐患描述</nobr>
|
|
110
|
+
</th>
|
|
111
|
+
<th>
|
|
112
|
+
<nobr>整改措施</nobr>
|
|
113
|
+
</th>
|
|
114
|
+
</tr>
|
|
115
|
+
</template>
|
|
116
|
+
<template partial='body'>
|
|
117
|
+
<td style="text-align: center">{{row.f_filiale_name}}</td>
|
|
118
|
+
<td style="text-align: center">{{row.f_offsite_time}}</td>
|
|
119
|
+
<td style="text-align: center">{{row.f_street}}</td>
|
|
120
|
+
<td style="text-align: center">{{row.f_address}}</td>
|
|
121
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
|
122
|
+
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
|
123
|
+
<td style="text-align: center">{{row.f_user_type}}</td>
|
|
124
|
+
<td style="text-align: center">{{ row.f_gas_type }}</td>
|
|
125
|
+
<td style="text-align: center">{{ row.f_device_type }}</td>
|
|
126
|
+
<td style="text-align: center">{{ row.f_item_name }}</td>
|
|
127
|
+
<td style="text-align: center">{{ row.f_is_repaired }}</td>
|
|
128
|
+
</template>
|
|
129
|
+
</data-grid>
|
|
130
|
+
</criteria-paged>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
|
|
135
|
+
<script>
|
|
136
|
+
import {PagedList} from 'vue-client'
|
|
137
|
+
import co from 'co'
|
|
138
|
+
import * as Util from '../Util'
|
|
139
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
|
140
|
+
export default {
|
|
141
|
+
title: '隐患台账',
|
|
142
|
+
data() {
|
|
143
|
+
let model = new PagedList('api/af-safecheck/sql/safetyledger', 20)
|
|
144
|
+
return {
|
|
145
|
+
model: model,
|
|
146
|
+
criteriaShow:false,
|
|
147
|
+
repaired: [{label: '全部', value: ''}, {label: '用户自行整改', value: '用户自行整改'}, {label: '现场已处理', value: '现场已处理'}, {label: '维修已处理', value: '维修已处理'}, {label: '转维修', value: '转维修'}],
|
|
148
|
+
excelHeaders: {
|
|
149
|
+
'f_userinfo_code': '客户编号',
|
|
150
|
+
'f_user_name': '客户姓名',
|
|
151
|
+
'f_user_phone':'客户电话',
|
|
152
|
+
'f_user_type': '客户类型',
|
|
153
|
+
'f_residential_area': '小区',
|
|
154
|
+
'f_address': '客户地址',
|
|
155
|
+
'f_offsite_time': '安检时间',
|
|
156
|
+
'excel_export_p0':'隐患照片1',
|
|
157
|
+
'excel_export_p1':'隐患照片2',
|
|
158
|
+
'excel_export_p2':'隐患照片3',
|
|
159
|
+
'excel_export_p3':'隐患照片4',
|
|
160
|
+
'excel_export_repair':'处理照片1',
|
|
161
|
+
'excel_export_repair1':'处理照片2',
|
|
162
|
+
'excel_export_other_dealpath1':'处理照片3',
|
|
163
|
+
'excel_export_other_dealpath2':'处理照片4',
|
|
164
|
+
},
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
ready() {
|
|
168
|
+
this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
|
|
169
|
+
this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
|
|
170
|
+
this.search()
|
|
171
|
+
},
|
|
172
|
+
methods: {
|
|
173
|
+
hidden() {
|
|
174
|
+
this.criteriaShow = !this.criteriaShow
|
|
175
|
+
},
|
|
176
|
+
search() {
|
|
177
|
+
this.$refs.paged.$refs.criteria.search()
|
|
178
|
+
},
|
|
179
|
+
selfSearch(args) {
|
|
180
|
+
this.model.search(args.condition, args.model, args.condValue)
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
computed :{
|
|
184
|
+
searchData() {
|
|
185
|
+
return {condition: this.model.condition}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
watch: {
|
|
189
|
+
},
|
|
190
|
+
beforeDestroy() {
|
|
191
|
+
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
</script>
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
217
217
|
},
|
|
218
218
|
showdetails (row) {
|
|
219
219
|
console.log('showdetails',row)
|
|
220
|
-
this.rowData = row
|
|
220
|
+
this.rowData = JSON.parse(JSON.stringify(row))
|
|
221
221
|
this.rowData.f_check_book_type='用户'
|
|
222
222
|
this.rowData.f_user_type=''
|
|
223
223
|
this.showItem = false
|