safecheck-client 3.0.30-7 → 3.0.30-71
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/examples/SafePlan-liaoyuan/App.vue +3 -1
- package/package.json +4 -3
- package/src/components/Util.js +15 -0
- package/src/components/android/AddPlanItem.vue +5 -2
- package/src/components/android/AreaPlan.vue +2 -2
- package/src/components/android/CurrentCreate.vue +3 -2
- package/src/components/android/CurrentCreate_new.vue +563 -559
- package/src/components/android/PhoneotherInfo.vue +132 -132
- package/src/components/android/SafecheckOrderV.vue +2 -2
- package/src/components/android/UploadPage.vue +13 -123
- package/src/components/paper/PlanChooser.vue +8 -6
- package/src/components/pc/Edit.vue +126 -0
- package/src/components/pc/LodopFuncs.js +159 -0
- package/src/components/pc/NewCheckpaper.vue +9 -5
- package/src/components/pc/PaperEdit.vue +151 -0
- package/src/components/pc/PrintData.vue +243 -0
- package/src/components/pc/PrintTable.vue +241 -0
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -278
- package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
- package/src/components/report/NoCheckplanSafecheck.vue +0 -2
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2850 -2850
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +806 -806
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
- package/src/filiale/fugou/android.js +10 -0
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1294
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
- package/src/filiale/hanzhong/android.js +16 -16
- package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
- package/src/filiale/hanzhong/pc.js +4 -1
- package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
- package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
- package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
- package/src/filiale/jingyang/pc/PaperList.vue +1 -2
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
- package/src/filiale/kelai/android.js +1 -0
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
- package/src/filiale/tianke/pc/checkScreen.vue +781 -781
- package/src/filiale/tianke/pc/cq.jpg +0 -0
- package/src/filiale/tianke/pc/qy.jpg +0 -0
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1095 -1090
- package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
- package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
- package/src/filiale/wensu/android.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
- package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
- package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
- package/src/filiale/wensu/pc/checkUserList.vue +50 -0
- package/src/filiale/wensu/pc.js +2 -1
- package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
- package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
- package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
- package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
- package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
- package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
- package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
- package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
- package/src/filiale/yongzhou/pc.js +17 -12
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
- package/src/safecheck-android.js +290 -290
- package/src/safecheck.js +12 -0
@@ -1,1090 +1,1095 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="flex-row">
|
3
|
-
<div class="basic-main">
|
4
|
-
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
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_residential_area"
|
26
|
-
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
27
|
-
</div>
|
28
|
-
<div class="form-group col-sm-2" >
|
29
|
-
<label class="font_normal_body">详细地址</label>
|
30
|
-
<input type="text" class="input_search" v-model="model.f_address"
|
31
|
-
style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
|
32
|
-
</div>
|
33
|
-
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
34
|
-
|
35
|
-
<export-excel-safe :data="$parent.$parent.searchData"
|
36
|
-
:field="$parent.$parent.excelHeaders"
|
37
|
-
progress="safeGetExportProgress"
|
38
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细' :choose-col="true"></export-excel-safe>
|
39
|
-
<!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
|
40
|
-
<button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
41
|
-
<button class="button_search" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
|
42
|
-
|
43
|
-
<button class="button_spacing button_search" @click="search()">查询</button>
|
44
|
-
<div style="float: right" class="button_spacing"
|
45
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
46
|
-
@click="$parent.$parent.hidden()"></div>
|
47
|
-
</div>
|
48
|
-
|
49
|
-
</div>
|
50
|
-
<div class="row">
|
51
|
-
<div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
|
52
|
-
<role-selector-safe
|
53
|
-
role-name="安检员"
|
54
|
-
role-lable="安 检 员 "
|
55
|
-
@re-res="$parent.$parent.getRes"
|
56
|
-
:value.sync="model.f_checker_id"
|
57
|
-
v-model="model.f_checker_id"
|
58
|
-
condition="f_checker_name in {}"
|
59
|
-
:value-multiple="true">
|
60
|
-
</role-selector-safe>
|
61
|
-
</div>
|
62
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
63
|
-
<label class="font_normal_body">检 查 项</label>
|
64
|
-
<v-select :value.sync="model.f_device_type" v-model='model.f_device_type'
|
65
|
-
:value-single="true" style="width: 60%"
|
66
|
-
class="select_list select"
|
67
|
-
:options='$parent.$parent.device_types' placeholder='检查项'
|
68
|
-
close-on-select
|
69
|
-
@change="$parent.$parent.changeDefect"
|
70
|
-
condition="f_device_type like '%{}%'"></v-select>
|
71
|
-
<!--<input type="text" class="input_search" v-model="model.f_device_type"-->
|
72
|
-
<!--style="width: 60%" placeholder="检 查 项" condition="f_device_type like '%{}%'">-->
|
73
|
-
</div>
|
74
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
75
|
-
<label class="font_normal_body">隐患名称</label>
|
76
|
-
<v-select :value.sync="model.f_item_name" v-model='model.f_item_name'
|
77
|
-
:value-single="true" style="width: 60%"
|
78
|
-
class="select_list select"
|
79
|
-
:options='$parent.$parent.DefectConfigs' placeholder='隐患名称'
|
80
|
-
close-on-select
|
81
|
-
condition="f_item_name like '%{}%'"></v-select>
|
82
|
-
</div>
|
83
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
84
|
-
<label class="font_normal_body">安检起始</label>
|
85
|
-
<datepicker
|
86
|
-
:value.sync="model.f_check_start"
|
87
|
-
placeholder='安检起始时间' style="width: 60%"
|
88
|
-
:disabled-days-of-week="[]"
|
89
|
-
:format="'yyyy-MM-dd'"
|
90
|
-
:show-rest-button="reset"
|
91
|
-
v-model="model.f_check_start"
|
92
|
-
condition="f_offsite_time >='{} 00:00:00'">
|
93
|
-
</datepicker>
|
94
|
-
</div>
|
95
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
96
|
-
<label class="font_normal_body">安检结束</label>
|
97
|
-
<datepicker
|
98
|
-
:value.sync="model.f_check_end"
|
99
|
-
placeholder='安检结束时间' style="width: 60%"
|
100
|
-
:disabled-days-of-week="[]"
|
101
|
-
:format="'yyyy-MM-dd'"
|
102
|
-
:show-rest-button="reset"
|
103
|
-
v-model="model.f_check_end"
|
104
|
-
condition="f_offsite_time <='{} 23:59:59'">
|
105
|
-
</datepicker>
|
106
|
-
</div>
|
107
|
-
|
108
|
-
</div>
|
109
|
-
<div class="row">
|
110
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
111
|
-
<label class="font_normal_body">维修结果</label>
|
112
|
-
<v-select class="select_list select"
|
113
|
-
placeholder='维修结果' style="width: 60%"
|
114
|
-
:value.sync="model.f_repaired" v-model="model.f_repaired"
|
115
|
-
:options='$parent.$parent.repaireds'
|
116
|
-
filer-key="name"
|
117
|
-
close-on-select clear-button
|
118
|
-
condition="f_repaired='{}'"
|
119
|
-
:value-single="true">
|
120
|
-
</v-select>
|
121
|
-
<!--<input type="text" class="input_search" v-model="model.f_device_type"-->
|
122
|
-
<!--style="width: 60%" placeholder="检 查 项" condition="f_device_type like '%{}%'">-->
|
123
|
-
</div>
|
124
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
125
|
-
<label class="font_normal_body">用户类型</label>
|
126
|
-
<v-select class="select_list select"
|
127
|
-
placeholder='用户类型' style="width: 60%"
|
128
|
-
:value.sync="model.f_check_type" v-model="model.f_check_type"
|
129
|
-
:options='$parent.$parent.checktype'
|
130
|
-
filer-key="name"
|
131
|
-
close-on-select clear-button
|
132
|
-
condition="f_check_type='{}'"
|
133
|
-
:value-single="true">
|
134
|
-
</v-select>
|
135
|
-
</div>
|
136
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
137
|
-
<label class="font_normal_body">片  区</label>
|
138
|
-
<v-select class="select_list select"
|
139
|
-
placeholder='片区' style="width: 60%"
|
140
|
-
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
141
|
-
:options='$parent.$parent.sliceArea'
|
142
|
-
filer-key="name"
|
143
|
-
close-on-select clear-button
|
144
|
-
condition="f_slice_area='{}'"
|
145
|
-
:value-single="true">
|
146
|
-
</v-select>
|
147
|
-
</div>
|
148
|
-
|
149
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
150
|
-
<label class="font_normal_body">区  域</label>
|
151
|
-
<v-select class="select_list select"
|
152
|
-
placeholder='请选择' style="width: 60%"
|
153
|
-
:value.sync="model.f_pcd" v-model="model.f_pcd"
|
154
|
-
:options='$parent.$parent.pcds'
|
155
|
-
filer-key="name"
|
156
|
-
clear-button
|
157
|
-
condition="f_pcd in {}"
|
158
|
-
:multiple="true">
|
159
|
-
</v-select>
|
160
|
-
</div>
|
161
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
162
|
-
<label class="font_normal_body">处理人</label>
|
163
|
-
<input type="text" class="input_search" v-model="model.f_repairman"
|
164
|
-
style="width: 60%" placeholder="处理人" condition="f_repairman like '%{}%'">
|
165
|
-
</div>
|
166
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
167
|
-
<label class="font_normal_body">处理起始</label>
|
168
|
-
<datepicker
|
169
|
-
:value.sync="model.f_repair_start"
|
170
|
-
placeholder='处理起始时间' style="width: 60%"
|
171
|
-
:disabled-days-of-week="[]"
|
172
|
-
:format="'yyyy-MM-dd'"
|
173
|
-
:show-rest-button="reset"
|
174
|
-
v-model="model.f_repair_start"
|
175
|
-
condition="f_repair_date >='{} 00:00:00'">
|
176
|
-
</datepicker>
|
177
|
-
</div>
|
178
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
179
|
-
<label class="font_normal_body">处理结束</label>
|
180
|
-
<datepicker
|
181
|
-
:value.sync="model.f_repair_end"
|
182
|
-
placeholder='处理结束时间' style="width: 60%"
|
183
|
-
:disabled-days-of-week="[]"
|
184
|
-
:format="'yyyy-MM-dd'"
|
185
|
-
:show-rest-button="reset"
|
186
|
-
v-model="model.f_repair_end"
|
187
|
-
condition="f_repair_date <='{} 23:59:59'">
|
188
|
-
</datepicker>
|
189
|
-
</div>
|
190
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
191
|
-
<label class="font_normal_body">处理结果</label>
|
192
|
-
<v-select class="select_list select"
|
193
|
-
placeholder='处理结果' style="width: 60%"
|
194
|
-
:value.sync="model.f_repair_result" v-model="model.f_repair_result"
|
195
|
-
:options='$parent.$parent.repairresults'
|
196
|
-
filer-key="name"
|
197
|
-
close-on-select clear-button
|
198
|
-
:value-single="true">
|
199
|
-
</v-select>
|
200
|
-
</div>
|
201
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
202
|
-
<label class="font_normal_body">逾期起始</label>
|
203
|
-
<datepicker
|
204
|
-
:value.sync="model.f_handle_start"
|
205
|
-
placeholder='逾期起始时间' style="width: 60%"
|
206
|
-
:disabled-days-of-week="[]"
|
207
|
-
:format="'yyyy-MM-dd'"
|
208
|
-
:show-rest-button="reset"
|
209
|
-
v-model="model.f_handle_start"
|
210
|
-
condition="f_handle_date >='{} 00:00:00'">
|
211
|
-
</datepicker>
|
212
|
-
</div>
|
213
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
214
|
-
<label class="font_normal_body">逾期结束</label>
|
215
|
-
<datepicker
|
216
|
-
:value.sync="model.f_handle_end"
|
217
|
-
placeholder='逾期结束时间' style="width: 60%"
|
218
|
-
:disabled-days-of-week="[]"
|
219
|
-
:format="'yyyy-MM-dd'"
|
220
|
-
:show-rest-button="reset"
|
221
|
-
v-model="model.f_handle_end"
|
222
|
-
condition="f_handle_date <='{} 23:59:59'">
|
223
|
-
</datepicker>
|
224
|
-
</div>
|
225
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
226
|
-
<label class="font_normal_body">逾期状态</label>
|
227
|
-
<v-select class="select_list select"
|
228
|
-
placeholder='逾期状态' style="width: 60%"
|
229
|
-
:value.sync="model.f_is_handle" v-model="model.f_is_handle"
|
230
|
-
:options='$parent.$parent.ishandles'
|
231
|
-
filer-key="name"
|
232
|
-
close-on-select clear-button
|
233
|
-
condition="f_is_handle='{}'"
|
234
|
-
:value-single="true">
|
235
|
-
</v-select>
|
236
|
-
</div>
|
237
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
238
|
-
<label class="font_normal_body">处理方式</label>
|
239
|
-
<v-select class="select_list select"
|
240
|
-
placeholder='处理方式' style="width: 60%"
|
241
|
-
:value.sync="model.f_is_repaired" v-model="model.f_is_repaired"
|
242
|
-
:options='$parent.$parent.is_repaired'
|
243
|
-
filer-key="name"
|
244
|
-
close-on-select clear-button
|
245
|
-
condition="f_is_repaired='{}'"
|
246
|
-
:value-single="true">
|
247
|
-
</v-select>
|
248
|
-
</div>
|
249
|
-
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
250
|
-
<label class="font_normal_body">隐患状态</label>
|
251
|
-
<v-select class="select_list select"
|
252
|
-
placeholder='隐患状态' style="width: 60%"
|
253
|
-
:value.sync="model.is_repaired" v-model="model.is_repaired"
|
254
|
-
:options='$parent.$parent.is_repaireds'
|
255
|
-
filer-key="name"
|
256
|
-
close-on-select clear-button
|
257
|
-
condition="is_repaired='{}'"
|
258
|
-
:value-single="true">
|
259
|
-
</v-select>
|
260
|
-
</div>
|
261
|
-
</div>
|
262
|
-
<modal :show.sync="$parent.$parent.showModal" v-ref:modal>
|
263
|
-
<div slot="modal-header" class="modal-header">
|
264
|
-
<h4 class="modal-title">
|
265
|
-
选择计划
|
266
|
-
</h4>
|
267
|
-
</div>
|
268
|
-
<div slot="modal-body" class="modal-body">
|
269
|
-
<plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
|
270
|
-
</div>
|
271
|
-
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
272
|
-
<button class="button_search" @click="$parent.$parent.ok">确认</button>
|
273
|
-
<button class="button_search" @click="$parent.$parent.cancel">取消</button>
|
274
|
-
</div>
|
275
|
-
</modal>
|
276
|
-
</div>
|
277
|
-
</criteria>
|
278
|
-
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
279
|
-
<template partial='head'>
|
280
|
-
<tr>
|
281
|
-
<th v-if="$parent.$parent.$parent.canToRepair=='是'"><nobr>选择</nobr></th>
|
282
|
-
<th>
|
283
|
-
<nobr>检查项</nobr>
|
284
|
-
</th>
|
285
|
-
<th>
|
286
|
-
<nobr>隐患原因</nobr>
|
287
|
-
</th>
|
288
|
-
<th>
|
289
|
-
<nobr
|
290
|
-
</th>
|
291
|
-
<th>
|
292
|
-
<nobr
|
293
|
-
</th>
|
294
|
-
<th>
|
295
|
-
<nobr
|
296
|
-
</th>
|
297
|
-
<th>
|
298
|
-
<nobr
|
299
|
-
</th>
|
300
|
-
<th>
|
301
|
-
<nobr
|
302
|
-
</th>
|
303
|
-
<th>
|
304
|
-
<
|
305
|
-
</th>
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
<th>
|
311
|
-
<
|
312
|
-
</th>
|
313
|
-
<th>
|
314
|
-
<nobr
|
315
|
-
</th>
|
316
|
-
<th>
|
317
|
-
<nobr
|
318
|
-
</th>
|
319
|
-
<th>
|
320
|
-
<nobr
|
321
|
-
</th>
|
322
|
-
<th>
|
323
|
-
<nobr
|
324
|
-
</th>
|
325
|
-
<th>
|
326
|
-
<nobr
|
327
|
-
</th>
|
328
|
-
<th>
|
329
|
-
<nobr
|
330
|
-
</th>
|
331
|
-
<th>
|
332
|
-
<nobr
|
333
|
-
</th>
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
<td style="text-align: center"
|
341
|
-
<td style="text-align: center">{{row.
|
342
|
-
<td style="text-align: center">{{row.
|
343
|
-
<td style="text-align: center">{{row.
|
344
|
-
<td style="text-align: center">{{row.
|
345
|
-
<td style="text-align: center">{{row.
|
346
|
-
<td style="text-align: center">{{row.
|
347
|
-
<td style="text-align: center">{{row.
|
348
|
-
<td style="text-align: center">{{row.
|
349
|
-
<td style="text-align: center">{{row.
|
350
|
-
<td style="text-align: center">{{row.
|
351
|
-
<td style="text-align: center">{{row.
|
352
|
-
<td style="text-align: center">{{row.
|
353
|
-
<td style="text-align: center">{{row.
|
354
|
-
<td style="text-align: center">
|
355
|
-
|
356
|
-
</td>
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
<
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
</div>
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
<
|
444
|
-
|
445
|
-
|
446
|
-
<div class="col-sm-6" style="margin-top: 10px">
|
447
|
-
<label class="font_normal_body"
|
448
|
-
<input class="input_search" style="width: 60%" type="text" disabled="true" v-model="check.
|
449
|
-
</div>
|
450
|
-
<div class="col-sm-
|
451
|
-
<label class="font_normal_body"
|
452
|
-
<
|
453
|
-
</div>
|
454
|
-
|
455
|
-
|
456
|
-
<
|
457
|
-
|
458
|
-
|
459
|
-
<div
|
460
|
-
<
|
461
|
-
<
|
462
|
-
</div>
|
463
|
-
<div class="col-sm-6" style="margin-top: 10px">
|
464
|
-
<label class="font_normal_body"
|
465
|
-
<
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
:
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
</div>
|
478
|
-
<div v-if="solveModal.preData.type == '
|
479
|
-
<label class="font_normal_body">处理后图片</label>
|
480
|
-
<
|
481
|
-
</div>
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
</div>
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
import
|
497
|
-
import
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
model
|
548
|
-
model.
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
//
|
554
|
-
//
|
555
|
-
//
|
556
|
-
//
|
557
|
-
//
|
558
|
-
//
|
559
|
-
//
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
'
|
574
|
-
'
|
575
|
-
'
|
576
|
-
'
|
577
|
-
'
|
578
|
-
'
|
579
|
-
'
|
580
|
-
'
|
581
|
-
'
|
582
|
-
'
|
583
|
-
'
|
584
|
-
'
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
this.solveModal.
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
this.selectData.
|
695
|
-
this.selectData.
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
if(!this.selectData.
|
716
|
-
this.$showMessage('
|
717
|
-
return
|
718
|
-
}
|
719
|
-
}
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
this.$showMessage('
|
727
|
-
return
|
728
|
-
}
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
defectIdStr =
|
761
|
-
const
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
}
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
},
|
864
|
-
|
865
|
-
|
866
|
-
this.
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
}
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
})
|
940
|
-
this.
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
//
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
}
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
},
|
993
|
-
|
994
|
-
this.
|
995
|
-
this.
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
this.
|
1063
|
-
}
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
}
|
1076
|
-
},
|
1077
|
-
'model.
|
1078
|
-
if (val) {
|
1079
|
-
|
1080
|
-
}
|
1081
|
-
},
|
1082
|
-
'model.
|
1083
|
-
if (val) {
|
1084
|
-
|
1085
|
-
}
|
1086
|
-
},
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1
|
+
<template>
|
2
|
+
<div class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
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_residential_area"
|
26
|
+
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
27
|
+
</div>
|
28
|
+
<div class="form-group col-sm-2" >
|
29
|
+
<label class="font_normal_body">详细地址</label>
|
30
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
31
|
+
style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
|
32
|
+
</div>
|
33
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
34
|
+
|
35
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
36
|
+
:field="$parent.$parent.excelHeaders"
|
37
|
+
progress="safeGetExportProgress"
|
38
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细' :choose-col="true"></export-excel-safe>
|
39
|
+
<!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
|
40
|
+
<button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
41
|
+
<button class="button_search" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
|
42
|
+
|
43
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
44
|
+
<div style="float: right" class="button_spacing"
|
45
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
46
|
+
@click="$parent.$parent.hidden()"></div>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
<div class="row">
|
51
|
+
<div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
|
52
|
+
<role-selector-safe
|
53
|
+
role-name="安检员"
|
54
|
+
role-lable="安 检 员 "
|
55
|
+
@re-res="$parent.$parent.getRes"
|
56
|
+
:value.sync="model.f_checker_id"
|
57
|
+
v-model="model.f_checker_id"
|
58
|
+
condition="f_checker_name in {}"
|
59
|
+
:value-multiple="true">
|
60
|
+
</role-selector-safe>
|
61
|
+
</div>
|
62
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
63
|
+
<label class="font_normal_body">检 查 项</label>
|
64
|
+
<v-select :value.sync="model.f_device_type" v-model='model.f_device_type'
|
65
|
+
:value-single="true" style="width: 60%"
|
66
|
+
class="select_list select"
|
67
|
+
:options='$parent.$parent.device_types' placeholder='检查项'
|
68
|
+
close-on-select
|
69
|
+
@change="$parent.$parent.changeDefect"
|
70
|
+
condition="f_device_type like '%{}%'"></v-select>
|
71
|
+
<!--<input type="text" class="input_search" v-model="model.f_device_type"-->
|
72
|
+
<!--style="width: 60%" placeholder="检 查 项" condition="f_device_type like '%{}%'">-->
|
73
|
+
</div>
|
74
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
75
|
+
<label class="font_normal_body">隐患名称</label>
|
76
|
+
<v-select :value.sync="model.f_item_name" v-model='model.f_item_name'
|
77
|
+
:value-single="true" style="width: 60%"
|
78
|
+
class="select_list select"
|
79
|
+
:options='$parent.$parent.DefectConfigs' placeholder='隐患名称'
|
80
|
+
close-on-select
|
81
|
+
condition="f_item_name like '%{}%'"></v-select>
|
82
|
+
</div>
|
83
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
84
|
+
<label class="font_normal_body">安检起始</label>
|
85
|
+
<datepicker
|
86
|
+
:value.sync="model.f_check_start"
|
87
|
+
placeholder='安检起始时间' style="width: 60%"
|
88
|
+
:disabled-days-of-week="[]"
|
89
|
+
:format="'yyyy-MM-dd'"
|
90
|
+
:show-rest-button="reset"
|
91
|
+
v-model="model.f_check_start"
|
92
|
+
condition="f_offsite_time >='{} 00:00:00'">
|
93
|
+
</datepicker>
|
94
|
+
</div>
|
95
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
96
|
+
<label class="font_normal_body">安检结束</label>
|
97
|
+
<datepicker
|
98
|
+
:value.sync="model.f_check_end"
|
99
|
+
placeholder='安检结束时间' style="width: 60%"
|
100
|
+
:disabled-days-of-week="[]"
|
101
|
+
:format="'yyyy-MM-dd'"
|
102
|
+
:show-rest-button="reset"
|
103
|
+
v-model="model.f_check_end"
|
104
|
+
condition="f_offsite_time <='{} 23:59:59'">
|
105
|
+
</datepicker>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</div>
|
109
|
+
<div class="row">
|
110
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
111
|
+
<label class="font_normal_body">维修结果</label>
|
112
|
+
<v-select class="select_list select"
|
113
|
+
placeholder='维修结果' style="width: 60%"
|
114
|
+
:value.sync="model.f_repaired" v-model="model.f_repaired"
|
115
|
+
:options='$parent.$parent.repaireds'
|
116
|
+
filer-key="name"
|
117
|
+
close-on-select clear-button
|
118
|
+
condition="f_repaired='{}'"
|
119
|
+
:value-single="true">
|
120
|
+
</v-select>
|
121
|
+
<!--<input type="text" class="input_search" v-model="model.f_device_type"-->
|
122
|
+
<!--style="width: 60%" placeholder="检 查 项" condition="f_device_type like '%{}%'">-->
|
123
|
+
</div>
|
124
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
125
|
+
<label class="font_normal_body">用户类型</label>
|
126
|
+
<v-select class="select_list select"
|
127
|
+
placeholder='用户类型' style="width: 60%"
|
128
|
+
:value.sync="model.f_check_type" v-model="model.f_check_type"
|
129
|
+
:options='$parent.$parent.checktype'
|
130
|
+
filer-key="name"
|
131
|
+
close-on-select clear-button
|
132
|
+
condition="f_check_type='{}'"
|
133
|
+
:value-single="true">
|
134
|
+
</v-select>
|
135
|
+
</div>
|
136
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
137
|
+
<label class="font_normal_body">片  区</label>
|
138
|
+
<v-select class="select_list select"
|
139
|
+
placeholder='片区' style="width: 60%"
|
140
|
+
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
141
|
+
:options='$parent.$parent.sliceArea'
|
142
|
+
filer-key="name"
|
143
|
+
close-on-select clear-button
|
144
|
+
condition="f_slice_area='{}'"
|
145
|
+
:value-single="true">
|
146
|
+
</v-select>
|
147
|
+
</div>
|
148
|
+
|
149
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
150
|
+
<label class="font_normal_body">区  域</label>
|
151
|
+
<v-select class="select_list select"
|
152
|
+
placeholder='请选择' style="width: 60%"
|
153
|
+
:value.sync="model.f_pcd" v-model="model.f_pcd"
|
154
|
+
:options='$parent.$parent.pcds'
|
155
|
+
filer-key="name"
|
156
|
+
clear-button
|
157
|
+
condition="f_pcd in {}"
|
158
|
+
:multiple="true">
|
159
|
+
</v-select>
|
160
|
+
</div>
|
161
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
162
|
+
<label class="font_normal_body">处理人</label>
|
163
|
+
<input type="text" class="input_search" v-model="model.f_repairman"
|
164
|
+
style="width: 60%" placeholder="处理人" condition="f_repairman like '%{}%'">
|
165
|
+
</div>
|
166
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
167
|
+
<label class="font_normal_body">处理起始</label>
|
168
|
+
<datepicker
|
169
|
+
:value.sync="model.f_repair_start"
|
170
|
+
placeholder='处理起始时间' style="width: 60%"
|
171
|
+
:disabled-days-of-week="[]"
|
172
|
+
:format="'yyyy-MM-dd'"
|
173
|
+
:show-rest-button="reset"
|
174
|
+
v-model="model.f_repair_start"
|
175
|
+
condition="f_repair_date >='{} 00:00:00'">
|
176
|
+
</datepicker>
|
177
|
+
</div>
|
178
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
179
|
+
<label class="font_normal_body">处理结束</label>
|
180
|
+
<datepicker
|
181
|
+
:value.sync="model.f_repair_end"
|
182
|
+
placeholder='处理结束时间' style="width: 60%"
|
183
|
+
:disabled-days-of-week="[]"
|
184
|
+
:format="'yyyy-MM-dd'"
|
185
|
+
:show-rest-button="reset"
|
186
|
+
v-model="model.f_repair_end"
|
187
|
+
condition="f_repair_date <='{} 23:59:59'">
|
188
|
+
</datepicker>
|
189
|
+
</div>
|
190
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
191
|
+
<label class="font_normal_body">处理结果</label>
|
192
|
+
<v-select class="select_list select"
|
193
|
+
placeholder='处理结果' style="width: 60%"
|
194
|
+
:value.sync="model.f_repair_result" v-model="model.f_repair_result"
|
195
|
+
:options='$parent.$parent.repairresults'
|
196
|
+
filer-key="name"
|
197
|
+
close-on-select clear-button
|
198
|
+
:value-single="true">
|
199
|
+
</v-select>
|
200
|
+
</div>
|
201
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
202
|
+
<label class="font_normal_body">逾期起始</label>
|
203
|
+
<datepicker
|
204
|
+
:value.sync="model.f_handle_start"
|
205
|
+
placeholder='逾期起始时间' style="width: 60%"
|
206
|
+
:disabled-days-of-week="[]"
|
207
|
+
:format="'yyyy-MM-dd'"
|
208
|
+
:show-rest-button="reset"
|
209
|
+
v-model="model.f_handle_start"
|
210
|
+
condition="f_handle_date >='{} 00:00:00'">
|
211
|
+
</datepicker>
|
212
|
+
</div>
|
213
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
214
|
+
<label class="font_normal_body">逾期结束</label>
|
215
|
+
<datepicker
|
216
|
+
:value.sync="model.f_handle_end"
|
217
|
+
placeholder='逾期结束时间' style="width: 60%"
|
218
|
+
:disabled-days-of-week="[]"
|
219
|
+
:format="'yyyy-MM-dd'"
|
220
|
+
:show-rest-button="reset"
|
221
|
+
v-model="model.f_handle_end"
|
222
|
+
condition="f_handle_date <='{} 23:59:59'">
|
223
|
+
</datepicker>
|
224
|
+
</div>
|
225
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
226
|
+
<label class="font_normal_body">逾期状态</label>
|
227
|
+
<v-select class="select_list select"
|
228
|
+
placeholder='逾期状态' style="width: 60%"
|
229
|
+
:value.sync="model.f_is_handle" v-model="model.f_is_handle"
|
230
|
+
:options='$parent.$parent.ishandles'
|
231
|
+
filer-key="name"
|
232
|
+
close-on-select clear-button
|
233
|
+
condition="f_is_handle='{}'"
|
234
|
+
:value-single="true">
|
235
|
+
</v-select>
|
236
|
+
</div>
|
237
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
238
|
+
<label class="font_normal_body">处理方式</label>
|
239
|
+
<v-select class="select_list select"
|
240
|
+
placeholder='处理方式' style="width: 60%"
|
241
|
+
:value.sync="model.f_is_repaired" v-model="model.f_is_repaired"
|
242
|
+
:options='$parent.$parent.is_repaired'
|
243
|
+
filer-key="name"
|
244
|
+
close-on-select clear-button
|
245
|
+
condition="f_is_repaired='{}'"
|
246
|
+
:value-single="true">
|
247
|
+
</v-select>
|
248
|
+
</div>
|
249
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
250
|
+
<label class="font_normal_body">隐患状态</label>
|
251
|
+
<v-select class="select_list select"
|
252
|
+
placeholder='隐患状态' style="width: 60%"
|
253
|
+
:value.sync="model.is_repaired" v-model="model.is_repaired"
|
254
|
+
:options='$parent.$parent.is_repaireds'
|
255
|
+
filer-key="name"
|
256
|
+
close-on-select clear-button
|
257
|
+
condition="is_repaired='{}'"
|
258
|
+
:value-single="true">
|
259
|
+
</v-select>
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
<modal :show.sync="$parent.$parent.showModal" v-ref:modal>
|
263
|
+
<div slot="modal-header" class="modal-header">
|
264
|
+
<h4 class="modal-title">
|
265
|
+
选择计划
|
266
|
+
</h4>
|
267
|
+
</div>
|
268
|
+
<div slot="modal-body" class="modal-body">
|
269
|
+
<plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
|
270
|
+
</div>
|
271
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
272
|
+
<button class="button_search" @click="$parent.$parent.ok">确认</button>
|
273
|
+
<button class="button_search" @click="$parent.$parent.cancel">取消</button>
|
274
|
+
</div>
|
275
|
+
</modal>
|
276
|
+
</div>
|
277
|
+
</criteria>
|
278
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
279
|
+
<template partial='head'>
|
280
|
+
<tr>
|
281
|
+
<th v-if="$parent.$parent.$parent.canToRepair=='是'"><nobr>选择</nobr></th>
|
282
|
+
<th>
|
283
|
+
<nobr>检查项</nobr>
|
284
|
+
</th>
|
285
|
+
<th>
|
286
|
+
<nobr>隐患原因</nobr>
|
287
|
+
</th>
|
288
|
+
<th>
|
289
|
+
<nobr>隐患别名</nobr>
|
290
|
+
</th>
|
291
|
+
<th>
|
292
|
+
<nobr>隐患级别</nobr>
|
293
|
+
</th>
|
294
|
+
<th>
|
295
|
+
<nobr>客户编号</nobr>
|
296
|
+
</th>
|
297
|
+
<th>
|
298
|
+
<nobr>客户名称</nobr>
|
299
|
+
</th>
|
300
|
+
<th>
|
301
|
+
<nobr>客户电话</nobr>
|
302
|
+
</th>
|
303
|
+
<th>
|
304
|
+
<nobr>客户小区</nobr>
|
305
|
+
</th>
|
306
|
+
<th>
|
307
|
+
<data-order field="f_address" name="客户地址"></data-order>
|
308
|
+
</th>
|
309
|
+
|
310
|
+
<th>
|
311
|
+
<data-order field="f_offsite_time" name="安检时间"></data-order>
|
312
|
+
</th>
|
313
|
+
<th>
|
314
|
+
<nobr>逾期时间</nobr>
|
315
|
+
</th>
|
316
|
+
<th>
|
317
|
+
<nobr>逾期状态</nobr>
|
318
|
+
</th>
|
319
|
+
<th>
|
320
|
+
<nobr>安检员</nobr>
|
321
|
+
</th>
|
322
|
+
<th>
|
323
|
+
<nobr>处理方式</nobr>
|
324
|
+
</th>
|
325
|
+
<th>
|
326
|
+
<nobr>处理人</nobr>
|
327
|
+
</th>
|
328
|
+
<th>
|
329
|
+
<nobr>处理时间</nobr>
|
330
|
+
</th>
|
331
|
+
<th>
|
332
|
+
<nobr>处理结果</nobr>
|
333
|
+
</th>
|
334
|
+
<th>
|
335
|
+
<nobr>操作</nobr>
|
336
|
+
</th>
|
337
|
+
</tr>
|
338
|
+
</template>
|
339
|
+
<template partial='body'>
|
340
|
+
<td v-if="$parent.$parent.$parent.canToRepair=='是'" style="text-align: center;white-space:nowrap;"><input type="checkbox" v-if="['现场已处理','维修已处理','无隐患','转维修'].indexOf(row.f_is_repaired) == -1" @click="$event.cancelBubble=true" :checked="$parent.$parent.$parent.isChecked(row)" @change="$parent.$parent.$parent.setCheckes(row)"></input></td>
|
341
|
+
<td style="text-align: center">{{row.f_device_type}}</td>
|
342
|
+
<td style="text-align: center">{{row.f_item_name}}/{{row.f_item_value}}</td>
|
343
|
+
<td style="text-align: center">{{row.f_alias_name}}</td>
|
344
|
+
<td style="text-align: center">{{row.f_defect_level}}</td>
|
345
|
+
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
346
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
347
|
+
<td style="text-align: center">{{row.f_user_phone}}</td>
|
348
|
+
<td style="text-align: center">{{row.f_residential_area}}</td>
|
349
|
+
<td style="text-align: center">{{row.f_address}}</td>
|
350
|
+
<td style="text-align: center">{{row.f_offsite_time}}</td>
|
351
|
+
<td style="text-align: center">{{row.f_handle_date}}</td>
|
352
|
+
<td style="text-align: center">{{row.f_is_handle}}</td>
|
353
|
+
<td style="text-align: center">{{row.f_checker_name}}</td>
|
354
|
+
<td style="text-align: center">{{row.f_is_repaired}}</td>
|
355
|
+
<td style="text-align: center">{{row.f_repairman}}</td>
|
356
|
+
<td style="text-align: center">{{row.f_repair_date}}</td>
|
357
|
+
<td style="text-align: center">{{row.f_repair_result}}</td>
|
358
|
+
<td style="text-align: center">
|
359
|
+
<button v-if="row.f_is_repaired == '隐患未处理' || (row.f_is_repaired == '用户自行整改' && row.f_repair_result == '未处理') " class="button_spacing button_search-1" @click="$parent.$parent.$parent.solveDefect( row, 'solve')">处理隐患</button>
|
360
|
+
</td>
|
361
|
+
</template>
|
362
|
+
</data-grid>
|
363
|
+
</criteria-paged>
|
364
|
+
<check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
|
365
|
+
</div>
|
366
|
+
<modal :show.sync="showModal2" :backdrop="false">
|
367
|
+
<div slot="modal-header" class="modal-header">
|
368
|
+
<h4 class="modal-title">
|
369
|
+
转维修
|
370
|
+
</h4>
|
371
|
+
</div>
|
372
|
+
<div slot="modal-body" class="modal-body">
|
373
|
+
<div v-if="true">
|
374
|
+
<div>
|
375
|
+
|
376
|
+
</div>
|
377
|
+
<!-- <div v-for="(index, item) in dangerGroup">-->
|
378
|
+
|
379
|
+
<!-- </div>-->
|
380
|
+
<div class="row" style="margin-top: 10px">
|
381
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">派发类型</label>
|
382
|
+
<div class="col-xs-8 col-md-8">
|
383
|
+
<v-select :value.sync="selectData.dispatchType" :value-single="true" v-model="selectData.dispatchType"
|
384
|
+
:options='dispatchTypeOptions' placeholder='派发类型'
|
385
|
+
close-on-select>
|
386
|
+
</v-select>
|
387
|
+
</div>
|
388
|
+
</div>
|
389
|
+
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
|
390
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">维 修 员</label>
|
391
|
+
<div class="col-xs-8 col-md-8">
|
392
|
+
<v-select
|
393
|
+
:value.sync="selectData.f_repairman"
|
394
|
+
:value-single="true"
|
395
|
+
:options='repairers'
|
396
|
+
placeholder='请选择维修员'
|
397
|
+
close-on-select></v-select>
|
398
|
+
</div>
|
399
|
+
</div>
|
400
|
+
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
|
401
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">站    点</label>
|
402
|
+
<div class="col-xs-8 col-md-8">
|
403
|
+
<right-tree
|
404
|
+
islist
|
405
|
+
:userid="userid"
|
406
|
+
:source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
|
407
|
+
@re-res="getSiteRes"></right-tree>
|
408
|
+
</div>
|
409
|
+
</div>
|
410
|
+
<div class="row" style="margin-top: 10px">
|
411
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">报修类型</label>
|
412
|
+
<div class="col-xs-8 col-md-8">
|
413
|
+
<v-select :value.sync="selectData.f_repairtype" style="width:60%"
|
414
|
+
class="select select_list"
|
415
|
+
:value-single="true"
|
416
|
+
:options='repairTypeOptions'
|
417
|
+
close-on-select>
|
418
|
+
</v-select>
|
419
|
+
</div>
|
420
|
+
</div>
|
421
|
+
<div class="row" style="margin-top: 10px">
|
422
|
+
<label class="control-label font text-left" style="float:left;margin-left:20%;margin-top:5px">备 注</label>
|
423
|
+
<div class="col-xs-8 col-md-8">
|
424
|
+
<textarea style="width: 60%; height: 100px" v-model="selectData.f_remarks"></textarea>
|
425
|
+
</div>
|
426
|
+
</div>
|
427
|
+
</div>
|
428
|
+
</div>
|
429
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
430
|
+
<button class="button_search" @click="rectification">转维修</button>
|
431
|
+
<button class="button_search" @click="cancel1">取消</button>
|
432
|
+
</div>
|
433
|
+
</modal>
|
434
|
+
<modal :show.sync="showSolveModal" v-ref:solveModal>
|
435
|
+
<div slot="modal-header" class="modal-header">
|
436
|
+
<h4 class="modal-title">
|
437
|
+
{{solveModal.preData.type == 'view'?'处理详情':'处理隐患'}}
|
438
|
+
</h4>
|
439
|
+
</div>
|
440
|
+
<div slot="modal-body" class="modal-body">
|
441
|
+
<div style="width: 100%;height: 36px;background-color: #f1f8ff;float: left">
|
442
|
+
<div style="width: 8px;height: 100%;background-color: #6aa6e2;margin-right: 20px;float: left"></div>
|
443
|
+
<div style="width: auto;height:100%;float: left;"><p class="title-font" style="margin-top: 5px">处理前</p></div>
|
444
|
+
</div>
|
445
|
+
|
446
|
+
<div class="col-sm-6" style="margin-top: 10px">
|
447
|
+
<label class="font_normal_body">安 检 员</label>
|
448
|
+
<input class="input_search" style="width: 60%" type="text" disabled="true" v-model="check.f_checker_name" placeholder="安检员">
|
449
|
+
</div>
|
450
|
+
<div class="col-sm-6" style="margin-top: 10px">
|
451
|
+
<label class="font_normal_body">安检时间</label>
|
452
|
+
<input class="input_search" style="width: 60%" type="text" disabled="true" v-model="check.f_offsite_time" placeholder="安检时间">
|
453
|
+
</div>
|
454
|
+
<div class="col-sm-12" style="margin-bottom: 10px">
|
455
|
+
<label class="font_normal_body">隐患图片</label>
|
456
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg"></img-self>
|
457
|
+
</div>
|
458
|
+
|
459
|
+
<div style="width: 100%;height: 36px;background-color: #f1f8ff;float: left">
|
460
|
+
<div style="width: 8px;height: 100%;background-color: #6aa6e2;margin-right: 20px;float: left"></div>
|
461
|
+
<div style="width: auto;height:100%;float: left;"><p class="title-font" style="margin-top: 5px">处理后</p></div>
|
462
|
+
</div>
|
463
|
+
<div class="col-sm-6" style="margin-top: 10px">
|
464
|
+
<label class="font_normal_body">处 理 人</label>
|
465
|
+
<input class="input_search" style="width: 60%" disabled="true" type="text" v-model="solveModal.uploadData.f_repairman" placeholder="处理人">
|
466
|
+
</div>
|
467
|
+
<div class="col-sm-6" style="margin-top: 10px">
|
468
|
+
<label class="font_normal_body">处理时间</label>
|
469
|
+
<datepicker
|
470
|
+
:disabled="solveModal.preData.type == 'view'"
|
471
|
+
placeholder='处理时间' style="width:60%"
|
472
|
+
:disabled-days-of-week="[]"
|
473
|
+
:format="'yyyy-MM-dd'"
|
474
|
+
:show-rest-button="reset"
|
475
|
+
:value.sync="solveModal.uploadData.f_repair_date">
|
476
|
+
</datepicker>
|
477
|
+
</div>
|
478
|
+
<div v-if="solveModal.preData.type == 'solve'" class="col-sm-12" style="margin-bottom: 10px">
|
479
|
+
<label class="font_normal_body">处理后图片</label>
|
480
|
+
<avatar-upload :width="200" :height="200" :img-src.sync="solveModal.uploadData.imgSrc" :filename.sync="solveModal.uploadData.filename" v-ref:imginfo></avatar-upload>
|
481
|
+
</div>
|
482
|
+
<div v-if="solveModal.preData.type == 'view'" class="col-sm-12" style="margin-bottom: 10px">
|
483
|
+
<label class="font_normal_body">处理后图片</label>
|
484
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg"></img-self>
|
485
|
+
</div>
|
486
|
+
</div>
|
487
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
488
|
+
<button class="button_search" v-if="solveModal.preData.type == 'solve'" @click="ok2">确认</button>
|
489
|
+
<button class="button_search" @click="cancel2">取消</button>
|
490
|
+
</div>
|
491
|
+
</modal>
|
492
|
+
</div>
|
493
|
+
</template>
|
494
|
+
|
495
|
+
<script>
|
496
|
+
import {PagedList} from 'vue-client'
|
497
|
+
import Vue from 'vue'
|
498
|
+
import co from 'co'
|
499
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
500
|
+
import BenzAMRRecorder from 'benz-amr-recorder'
|
501
|
+
import * as Util from "../../Util";
|
502
|
+
|
503
|
+
const upSolveDefect = function* (self) {
|
504
|
+
let uploadData = self.solveModal.uploadData
|
505
|
+
//tag)
|
506
|
+
self.$resetpost('/rs/logic/pcRepairDefect', self.solveModal.uploadData, {resolveMsg: null, rejectMsg: null})
|
507
|
+
.then(res => {
|
508
|
+
if (res.data.code == 200) {
|
509
|
+
self.$showMessage('隐患已处理。')
|
510
|
+
self.showSolveModal = false
|
511
|
+
self.$refs.paged.$refs.criteria.search()
|
512
|
+
}
|
513
|
+
})
|
514
|
+
}
|
515
|
+
|
516
|
+
//获取json配置文件
|
517
|
+
let asyncReady = async function (self) {
|
518
|
+
// 获取配置信息
|
519
|
+
try {
|
520
|
+
let res = await Vue.resetget(`/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
|
521
|
+
Vue.config = res.data
|
522
|
+
self.getDefectInfoConfig(res.data)
|
523
|
+
} catch (error) {
|
524
|
+
// 忽略704,文件找不到异常R
|
525
|
+
if (error.status !== 704) {
|
526
|
+
throw error
|
527
|
+
}
|
528
|
+
}
|
529
|
+
}
|
530
|
+
|
531
|
+
let select = function* (self) {
|
532
|
+
let http = new HttpResetClass()
|
533
|
+
let getGasman = yield http.load('POST', '/rs/search', {
|
534
|
+
source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
|
535
|
+
userid: self.$login.f.id
|
536
|
+
}, {resolveMsg: null, rejectMsg: null})
|
537
|
+
////tag
|
538
|
+
self.checkersid.push({label: '全部', value: ''})
|
539
|
+
getGasman.data.forEach((checker) => {
|
540
|
+
self.checkersid.push({label: checker.name, value: checker.id})
|
541
|
+
})
|
542
|
+
}
|
543
|
+
|
544
|
+
export default {
|
545
|
+
title: '隐患明细查看',
|
546
|
+
data() {
|
547
|
+
let model = new PagedList('rs/sql/defectDetails', 20)
|
548
|
+
model.f_plan_id = ''
|
549
|
+
model.f_approved = ''
|
550
|
+
model.f_entry = ''
|
551
|
+
model.f_no_checkplan = ''
|
552
|
+
model.f_filialeid = `('${this.$login.f.orgid}')`
|
553
|
+
//model.f_check_type='民用'
|
554
|
+
// let searchData={
|
555
|
+
// f_plan_id: this.model.f_checker_id==undefined?"":this.model.f_checker_id,
|
556
|
+
// f_approved: this.model.f_approved,
|
557
|
+
// f_entry_status: this.model.f_entry,
|
558
|
+
// f_no_checkplan:this.model.f_no_checkplan[0],
|
559
|
+
// f_filialeid: this.model.f_filialeid,
|
560
|
+
// //orderitem: this.model.f_offsite_time,
|
561
|
+
// //condition:this.model.condition
|
562
|
+
// }
|
563
|
+
// model.f_subcompany = this.$login.f.f_fengongsi
|
564
|
+
return {
|
565
|
+
audioshow:false,
|
566
|
+
showSolveModal: false,
|
567
|
+
searchData: {
|
568
|
+
condition: "1=1",
|
569
|
+
},
|
570
|
+
model: model,
|
571
|
+
//searchData:searchData,
|
572
|
+
excelHeaders: {
|
573
|
+
'f_device_type': '检查项',
|
574
|
+
'f_item_name': '隐患名称',
|
575
|
+
'f_item_value': '隐患原因',
|
576
|
+
'f_alias_name': '隐患别名',
|
577
|
+
'f_userinfo_code': '客户编号',
|
578
|
+
'f_user_name': '客户姓名',
|
579
|
+
'f_user_phone': '客户电话',
|
580
|
+
'f_residential_area': '小区',
|
581
|
+
'f_address': '客户地址',
|
582
|
+
'f_offsite_time': '安检时间',
|
583
|
+
'f_handle_date': '逾期时间',
|
584
|
+
'f_is_handle': '逾期状态',
|
585
|
+
'f_checker_name': '安检员',
|
586
|
+
'f_is_repaired': '处理方式',
|
587
|
+
'f_repairman': '处理人',
|
588
|
+
'f_repair_date': '处理时间',
|
589
|
+
'f_repair_result': '处理结果'
|
590
|
+
},
|
591
|
+
fun: this.$login.f,
|
592
|
+
checkersid: [],
|
593
|
+
safetype: this.getSafeParam('安检类型'),
|
594
|
+
criteriaShow: false,
|
595
|
+
repaireds: [{label: '全部', value: ''},{label: '已修', value: '已修'},{label: '未修', value: '未修'}],
|
596
|
+
checktype: [{label: '全部', value: ''},{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],
|
597
|
+
showModal: false,
|
598
|
+
pcds: [],
|
599
|
+
f_approval_states: this.getSafeParam('安检单审核状态'),
|
600
|
+
f_entry_status:this.getSafeParam('安检状态'),
|
601
|
+
f_checkplans: this.getSafeParam('有无计划'),
|
602
|
+
is_repaired: this.getSafeParam('安检患隐处理方式'),
|
603
|
+
is_repaireds:[{label: '全部', value: ''},{label: '已处理未消除隐患', value: '已处理未消除隐患'},{label: '已处理已消除隐患', value: '已处理已消除隐患'}],
|
604
|
+
showcheckmsg: false,
|
605
|
+
checkInfo: {},
|
606
|
+
repairers: [],
|
607
|
+
dispatchTypeOptions: [{label: '派发给站点', value: '派发给站点'},{label: '派发给维修员', value: '派发给维修员'}],
|
608
|
+
canToRepair: this.$appdata.getSingleValue('隐患明细转维修') || '是',
|
609
|
+
repairTypeOptions:this.$appdata.getParam('报修类型'),
|
610
|
+
selectData:{
|
611
|
+
dispatchType:'',
|
612
|
+
f_repairman:'',
|
613
|
+
f_remarks:'',
|
614
|
+
f_repairtype:''
|
615
|
+
},
|
616
|
+
checkes: [],
|
617
|
+
showModal2: false,
|
618
|
+
solveModal: {
|
619
|
+
preData: {
|
620
|
+
type: 'view',
|
621
|
+
defectImg: '',
|
622
|
+
repairedImg: ''
|
623
|
+
},
|
624
|
+
uploadData: {
|
625
|
+
id: '',
|
626
|
+
f_repairman: this.$login.f.name,
|
627
|
+
f_repair_date: Util.getNowDate().substr(0, 10),
|
628
|
+
f_repair_path: '',
|
629
|
+
imgSrc: '',
|
630
|
+
filename: ''
|
631
|
+
}
|
632
|
+
},
|
633
|
+
orderDefault: "'f_offsite_time'",
|
634
|
+
orderFields: {
|
635
|
+
f_offsite_time: 'no'
|
636
|
+
},
|
637
|
+
sliceArea: [],
|
638
|
+
cbc:[],
|
639
|
+
DefectConfig:'' ,
|
640
|
+
DefectConfigs:[{label:'全部',value:''},{label:'气量异常差值',value:'气量异常差值'}],
|
641
|
+
ishandles:[{label:'全部',value:''},{label:'未逾期',value:'未逾期'},{label:'已逾期',value:'已逾期'}],
|
642
|
+
repairresults:[{label:'全部',value:''},{label:'已处理',value:'已处理'},{label:'未处理',value:'未处理'}],
|
643
|
+
device_types:[{label:'全部',value:''}],
|
644
|
+
}
|
645
|
+
},
|
646
|
+
methods: {
|
647
|
+
ok2() {
|
648
|
+
if (!(this.solveModal.uploadData.filename && this.solveModal.uploadData.filename.length > 0)) {
|
649
|
+
this.$showMessage('请录入处理后照片')
|
650
|
+
return
|
651
|
+
}
|
652
|
+
co(upSolveDefect(this))
|
653
|
+
},
|
654
|
+
cancel2() {
|
655
|
+
this.showSolveModal = false
|
656
|
+
this.showToRepairModal = false
|
657
|
+
},
|
658
|
+
solveDefect(row, type) {
|
659
|
+
if(row.f_repair_path && row.f_repair_path.startsWith('http')){
|
660
|
+
this.solveModal.preData.repairedImg = row.f_repair_path
|
661
|
+
}else {
|
662
|
+
this.solveModal.preData.repairedImg = '/rs/image/file/' + row.f_repair_path
|
663
|
+
}
|
664
|
+
this.solveModal.preData.defectImg = '/rs/image/file/' + row.f_path
|
665
|
+
this.solveModal.uploadData.id = row.id
|
666
|
+
this.solveModal.preData.type = type
|
667
|
+
if (type == 'view') {
|
668
|
+
this.solveModal.preData.f_repair_path = '/rs/image/file/' + row.f_repair_path
|
669
|
+
this.solveModal.uploadData.f_repairman = row.f_repairman
|
670
|
+
this.solveModal.uploadData.f_repair_date = row.f_repair_date
|
671
|
+
} else {
|
672
|
+
this.solveModal.uploadData.f_repairman = this.$login.f.name
|
673
|
+
this.solveModal.uploadData.f_repair_date = Util.getNowDate().substr(0, 10)
|
674
|
+
}
|
675
|
+
this.showSolveModal = !this.showSolveModal
|
676
|
+
},
|
677
|
+
getEmp() {
|
678
|
+
let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${this.$login.f.id}`}
|
679
|
+
let http = new HttpResetClass()
|
680
|
+
http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
681
|
+
if (res.data.length == 0){
|
682
|
+
this.repairers= []
|
683
|
+
return
|
684
|
+
}
|
685
|
+
res.data.forEach((user)=>{
|
686
|
+
this.repairers.push({label: user.name, value: user.name})
|
687
|
+
})
|
688
|
+
})
|
689
|
+
},
|
690
|
+
getSiteRes(obj) {
|
691
|
+
console.log('siteRes ---> ')
|
692
|
+
console.log(obj)
|
693
|
+
if(obj.resids[0]){
|
694
|
+
this.selectData.f_meetunit = obj.res.join('.')
|
695
|
+
this.selectData.f_reciever = obj.resids.join('.')
|
696
|
+
this.selectData.f_outlets = obj.res[obj.res.length - 1]
|
697
|
+
}else {
|
698
|
+
this.selectData.f_meetunit = ''
|
699
|
+
this.selectData.f_reciever = ''
|
700
|
+
this.selectData.f_outlets = ''
|
701
|
+
}
|
702
|
+
},
|
703
|
+
cancel1(){
|
704
|
+
this.showModal2=false
|
705
|
+
this.selectData={
|
706
|
+
dispatchType:'',
|
707
|
+
f_repairman:'',
|
708
|
+
f_remarks:'',
|
709
|
+
f_repairtype:''
|
710
|
+
}
|
711
|
+
},
|
712
|
+
async rectification(){
|
713
|
+
if(this.selectData.dispatchType){
|
714
|
+
if(this.selectData.dispatchType=='派发给站点'){
|
715
|
+
if(!this.selectData.f_reciever){
|
716
|
+
this.$showMessage('请选择部门!')
|
717
|
+
return
|
718
|
+
}
|
719
|
+
}else{
|
720
|
+
if(!this.selectData.f_repairman){
|
721
|
+
this.$showMessage('请选择维修员!')
|
722
|
+
return
|
723
|
+
}
|
724
|
+
}
|
725
|
+
}else {
|
726
|
+
this.$showMessage('请选择派发类型!')
|
727
|
+
return
|
728
|
+
}
|
729
|
+
|
730
|
+
if(!this.selectData.f_repairtype){
|
731
|
+
this.$showMessage('请选择报修类型!')
|
732
|
+
return
|
733
|
+
}
|
734
|
+
this.showModal3=true
|
735
|
+
let act={}
|
736
|
+
let toRepair=''
|
737
|
+
let successCount=0
|
738
|
+
if(this.selectData.dispatchType=='派发给站点'){
|
739
|
+
act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_reciever,f_service_acitivity_type:'派单'}
|
740
|
+
toRepair=null
|
741
|
+
}else{
|
742
|
+
console.log('派发给维修员---------'+this.selectData.f_repairman)
|
743
|
+
act={f_meetunit:'',f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
|
744
|
+
toRepair='一级派单'
|
745
|
+
}
|
746
|
+
let rep={
|
747
|
+
loginUser: {
|
748
|
+
name: this.$login.f.name,
|
749
|
+
ename: this.$login.f.ename
|
750
|
+
},
|
751
|
+
f_meetunit: this.$login.f.deps,
|
752
|
+
f_attendant: this.$login.f.name,
|
753
|
+
f_outlets: this.$login.f.deps,
|
754
|
+
f_remarks: this.selectData.f_remarks,
|
755
|
+
f_repairtype: this.selectData.f_repairtype,
|
756
|
+
toRepair: toRepair,
|
757
|
+
activity:act
|
758
|
+
}
|
759
|
+
for(let i=0; i<this.dangerGroups.length; i++){
|
760
|
+
let defectIdStr = ''
|
761
|
+
const defectIds = []
|
762
|
+
for (let j = 0; j < this.dangerGroups[i].dangers.length; j++) {
|
763
|
+
defectIds.push(`'${this.dangerGroups[i].dangers[j].f_defect_id}'`)
|
764
|
+
}
|
765
|
+
defectIdStr = `(${defectIds.join(',')})`
|
766
|
+
const data = {
|
767
|
+
id:this.dangerGroups[i].dangers[0].f_paper_id,
|
768
|
+
repData:rep,
|
769
|
+
source:'pc',
|
770
|
+
defectIdStr: defectIdStr
|
771
|
+
}
|
772
|
+
console.log('data=', JSON.stringify(data))
|
773
|
+
try {
|
774
|
+
let result =await new HttpResetClass().load('post','/rs/logic/phoneUploadRectification', data, {resolveMsg: null, rejectMsg: null})
|
775
|
+
if (result.data.code==200) {
|
776
|
+
successCount += result.data.successcon
|
777
|
+
this.progressbarWidth=Math.ceil((i+1)*100/(this.dangerGroups.length))
|
778
|
+
}
|
779
|
+
}catch (e) {
|
780
|
+
this.showModal3=false
|
781
|
+
this.$showMessage('网络异常,请稍后再试!')
|
782
|
+
return
|
783
|
+
}
|
784
|
+
}
|
785
|
+
this.showModal3=false
|
786
|
+
this.cancel1()
|
787
|
+
this.$showMessage('本次转维修成功'+successCount+'单')
|
788
|
+
},
|
789
|
+
isChecked(row) {
|
790
|
+
return this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id) != -1
|
791
|
+
},
|
792
|
+
setCheckes(row) {
|
793
|
+
let index=this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id)
|
794
|
+
if(index<0){
|
795
|
+
this.checkes.push(row)
|
796
|
+
}else{
|
797
|
+
this.checkes.splice(index,1)
|
798
|
+
}
|
799
|
+
console.log('this.checkes=', JSON.stringify(this.checkes))
|
800
|
+
},
|
801
|
+
toRepair(){
|
802
|
+
console.log('this.checkes=', JSON.stringify(this.checkes))
|
803
|
+
if(this.checkes.length==0){
|
804
|
+
return this.$showMessage('请先选择需要转维修的隐患!')
|
805
|
+
}
|
806
|
+
|
807
|
+
const dangerGroups = []
|
808
|
+
for (const danger of this.checkes) {
|
809
|
+
let i = dangerGroups.findIndex(dangerGroup => dangerGroup.f_userinfo_code === danger.f_userinfo_code)
|
810
|
+
if (i == -1){
|
811
|
+
dangerGroups.push({
|
812
|
+
f_userinfo_code: danger.f_userinfo_code,
|
813
|
+
dangers: []
|
814
|
+
})
|
815
|
+
i = dangerGroups.length - 1
|
816
|
+
}
|
817
|
+
dangerGroups[i].dangers.push(danger)
|
818
|
+
}
|
819
|
+
this.dangerGroups = dangerGroups
|
820
|
+
console.log('this.dangerGroups=', JSON.stringify(this.dangerGroups))
|
821
|
+
this.showModal2=true
|
822
|
+
},
|
823
|
+
changeDefect(val){
|
824
|
+
try {
|
825
|
+
if(val){
|
826
|
+
for (var Key1 in this.DefectConfig){
|
827
|
+
if(Key1 == val){
|
828
|
+
this.DefectConfigs = [{label:'全部',value:''}]
|
829
|
+
for(var Key2 in this.DefectConfig[Key1].items){
|
830
|
+
this.DefectConfigs.push({label:Key2,value:Key2})
|
831
|
+
}
|
832
|
+
return
|
833
|
+
}
|
834
|
+
}
|
835
|
+
}else if(val == ''){
|
836
|
+
this.DefectConfigs = [{label:'全部',value:''}]
|
837
|
+
for (var Key1 in this.DefectConfig){
|
838
|
+
for(var Key2 in this.DefectConfig[Key1].items){
|
839
|
+
this.DefectConfigs.push({label:Key2,value:Key2})
|
840
|
+
}
|
841
|
+
}
|
842
|
+
}
|
843
|
+
}catch (e) {
|
844
|
+
//tag
|
845
|
+
}
|
846
|
+
},
|
847
|
+
getDefectInfoConfig(val){
|
848
|
+
try {
|
849
|
+
if (val.safecheck.DevicesSetConfig != undefined) {
|
850
|
+
this.DefectConfig = val.safecheck.DevicesConfig
|
851
|
+
// 获取到配置项,进行遍历,获取每个隐患项
|
852
|
+
for (var Key1 in this.DefectConfig){
|
853
|
+
this.device_types.push({label:Key1,value:Key1})
|
854
|
+
for(var Key2 in this.DefectConfig[Key1].items){
|
855
|
+
this.DefectConfigs.push({label:Key2,value:Key2})
|
856
|
+
}
|
857
|
+
}
|
858
|
+
// 非民用或其他配置项加入,在进行遍历
|
859
|
+
}
|
860
|
+
}catch (e) {
|
861
|
+
//tag
|
862
|
+
}
|
863
|
+
},
|
864
|
+
showaudio(){
|
865
|
+
//tag
|
866
|
+
this.audioshow=!this.audioshow
|
867
|
+
//tag
|
868
|
+
},
|
869
|
+
getmeterbook(val){
|
870
|
+
this.cbc=[]
|
871
|
+
this.cbc.push({
|
872
|
+
label:'全部',
|
873
|
+
value:''
|
874
|
+
})
|
875
|
+
if (val==''){
|
876
|
+
|
877
|
+
this.cbcs.forEach(res=>{
|
878
|
+
this.cbc.push({
|
879
|
+
label:res.f_book_name,
|
880
|
+
value:res.id
|
881
|
+
})
|
882
|
+
})
|
883
|
+
}else{
|
884
|
+
this.cbcs.forEach(res=>{
|
885
|
+
if (res.f_book_slice_area==val){
|
886
|
+
this.cbc.push({
|
887
|
+
label:res.f_book_name,
|
888
|
+
value:res.id
|
889
|
+
})
|
890
|
+
}
|
891
|
+
})
|
892
|
+
}
|
893
|
+
},
|
894
|
+
getSafeParam(val){
|
895
|
+
if(this.$appdata.getParam(val)){
|
896
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam(val)]
|
897
|
+
}else{
|
898
|
+
return [{label: '全部', value: ''}]
|
899
|
+
}
|
900
|
+
|
901
|
+
},
|
902
|
+
Mreadibook(val){
|
903
|
+
if (val){
|
904
|
+
new HttpResetClass().load('POST',`/rs/sql/safe_singleTable_OrderBy`, {data: {
|
905
|
+
items: 'name',
|
906
|
+
tablename: 't_zone',
|
907
|
+
condition: `parentid in ${val}`,
|
908
|
+
orderitem: 'id'
|
909
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
910
|
+
this.sliceArea=[{
|
911
|
+
label:'全部',
|
912
|
+
value:''
|
913
|
+
}]
|
914
|
+
res.data.forEach(ress=>{
|
915
|
+
this.sliceArea.push({
|
916
|
+
label:ress.name,
|
917
|
+
value:ress.name
|
918
|
+
})
|
919
|
+
})
|
920
|
+
|
921
|
+
})
|
922
|
+
}
|
923
|
+
},
|
924
|
+
getAllMeterBook(val){
|
925
|
+
this.cbcs=[]
|
926
|
+
if (val){
|
927
|
+
new HttpResetClass().load('POST',`/rs/sql/safe_singleTable_OrderBy`, {data: {
|
928
|
+
items: 'f_book_name,f_book_slice_area,id',
|
929
|
+
tablename: 't_meter_book',
|
930
|
+
condition: `f_filiale_id in ${val}`,
|
931
|
+
orderitem: 'id'
|
932
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
933
|
+
res.data.forEach(ress=>{
|
934
|
+
this.cbcs.push({
|
935
|
+
id:ress.id,
|
936
|
+
f_book_name:ress.f_book_name,
|
937
|
+
f_book_slice_area:ress.f_book_slice_area
|
938
|
+
})
|
939
|
+
})
|
940
|
+
this.cbc=[]
|
941
|
+
this.cbc.push({
|
942
|
+
label:'全部',
|
943
|
+
value:''
|
944
|
+
})
|
945
|
+
this.cbcs.forEach(res=>{
|
946
|
+
this.cbc.push({
|
947
|
+
label:res.f_book_name,
|
948
|
+
value:res.id
|
949
|
+
})
|
950
|
+
})
|
951
|
+
})
|
952
|
+
}
|
953
|
+
},
|
954
|
+
getRes(obj) {
|
955
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids);
|
956
|
+
this.searchData.f_filialeid = this.$login.convertToIn(obj.resids);
|
957
|
+
this.Mreadibook(this.model.f_filialeid)
|
958
|
+
// this.getAllMeterBook(this.model.f_filialeid)
|
959
|
+
//this.$refs.paged.$refs.criteria.search()
|
960
|
+
},
|
961
|
+
|
962
|
+
change(row) {
|
963
|
+
// Vue.$login = {jwt: row.f_checker_id}
|
964
|
+
asyncReady(this).then(() => {
|
965
|
+
////tag)
|
966
|
+
row.f_upload_state = '已传'
|
967
|
+
this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
968
|
+
}).catch(
|
969
|
+
(respanse) => {
|
970
|
+
alert('获取配置文件失败')
|
971
|
+
})
|
972
|
+
},
|
973
|
+
readConfig() {
|
974
|
+
let gen = asyncReady(this)
|
975
|
+
return co(gen)
|
976
|
+
},
|
977
|
+
showChooser() {
|
978
|
+
this.showModal = true
|
979
|
+
},
|
980
|
+
hidden() {
|
981
|
+
this.criteriaShow = !this.criteriaShow
|
982
|
+
},
|
983
|
+
refresh() {
|
984
|
+
this.$refs.paged.$refs.criteria.search()
|
985
|
+
},
|
986
|
+
ok() {
|
987
|
+
this.showModal = false
|
988
|
+
if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
|
989
|
+
this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
|
990
|
+
this.model.f_check_plan=this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow
|
991
|
+
}
|
992
|
+
},
|
993
|
+
cancel() {
|
994
|
+
this.showModal = false
|
995
|
+
this.model.f_check_plan = {f_plan_name: '', id: ''}
|
996
|
+
this.model.f_plan_id=''
|
997
|
+
},
|
998
|
+
print(row) {
|
999
|
+
this.showcheckmsg = true
|
1000
|
+
this.checkInfo = row
|
1001
|
+
},
|
1002
|
+
|
1003
|
+
sort(field, rule) {
|
1004
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
1005
|
+
for (let key in this.orderFields) {
|
1006
|
+
if (key === field) {
|
1007
|
+
this.orderFields[key] = rule
|
1008
|
+
} else {
|
1009
|
+
this.orderFields[key] = 'no'
|
1010
|
+
}
|
1011
|
+
}
|
1012
|
+
// 如果新规则不排序,还原为默认排序
|
1013
|
+
if (rule === 'no') {
|
1014
|
+
this.model.paramSource.orderitem = `'${this.orderDefault}'`
|
1015
|
+
} else {
|
1016
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
1017
|
+
}
|
1018
|
+
this.search()
|
1019
|
+
},
|
1020
|
+
search() {
|
1021
|
+
this.$refs.paged.$refs.criteria.search()
|
1022
|
+
},
|
1023
|
+
selfSearch(args) {
|
1024
|
+
////tag
|
1025
|
+
if (args.model.f_repair_result == '已处理'){
|
1026
|
+
args.condition += ` and f_repair_date != '****-**-** **:**:**' `
|
1027
|
+
}
|
1028
|
+
if (args.model.f_repair_result == '未处理'){
|
1029
|
+
args.condition += ` and f_repair_date = '****-**-** **:**:**' `
|
1030
|
+
}
|
1031
|
+
args.condition += ` and f_filialeid in ${this.model.f_filialeid} `
|
1032
|
+
this.model.search(args.condition, args.model, args.condValue)
|
1033
|
+
},
|
1034
|
+
getPcds(val) {
|
1035
|
+
this.pcds = [{label: '全部', value: ''}]
|
1036
|
+
new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
|
1037
|
+
{data: {items: "*", tablename: "t_pcd", orderitem: "id", condition: `f_orgid in ${val}`}},
|
1038
|
+
{resolveMsg: null, rejectMsg: null}).then((pcdlist) => {
|
1039
|
+
pcdlist.data.forEach((result) => {
|
1040
|
+
this.pcds.push({label: result.f_pcd, value: result.f_pcd})
|
1041
|
+
})
|
1042
|
+
})
|
1043
|
+
},
|
1044
|
+
},
|
1045
|
+
|
1046
|
+
ready() {
|
1047
|
+
this.getEmp()
|
1048
|
+
this.readConfig()
|
1049
|
+
this.function = this.f
|
1050
|
+
this.getPcds(`('${this.$login.f.orgid}')`)
|
1051
|
+
let gen = select(this)
|
1052
|
+
// this.Mreadibook(`('${this.$login.f.orgid}')`)
|
1053
|
+
co(gen)
|
1054
|
+
},
|
1055
|
+
watch: {
|
1056
|
+
'model.f_no_checkplan'(val) {
|
1057
|
+
if (this.model.f_no_checkplan){
|
1058
|
+
this.searchData.f_no_checkplan = val
|
1059
|
+
}
|
1060
|
+
if (this.model.f_no_checkplan == '有计划安检') {
|
1061
|
+
|
1062
|
+
this.showChooser()
|
1063
|
+
}
|
1064
|
+
},
|
1065
|
+
'model.condition'(val) {
|
1066
|
+
if (val) {
|
1067
|
+
this.searchData.condition = val
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
},
|
1071
|
+
'model.f_entry'(val) {
|
1072
|
+
if (val) {
|
1073
|
+
this.searchData.f_entry_status = val
|
1074
|
+
|
1075
|
+
}
|
1076
|
+
},
|
1077
|
+
'model.f_plan_id'(val) {
|
1078
|
+
if (val) {
|
1079
|
+
this.searchData.f_plan_id = val
|
1080
|
+
}
|
1081
|
+
},
|
1082
|
+
'model.f_slice_area'(val) {
|
1083
|
+
if (val) {
|
1084
|
+
|
1085
|
+
}
|
1086
|
+
},
|
1087
|
+
'model.f_approved'(val) {
|
1088
|
+
if (val) {
|
1089
|
+
this.searchData.f_approved = val
|
1090
|
+
}
|
1091
|
+
},
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
}
|
1095
|
+
</script>
|