safecheck-client 3.0.34-1 → 3.0.34-100
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-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/NewDefectList/DefectListNew.vue +1 -0
- package/src/components/android/AddPlanItemYy.vue +451 -0
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/AreaPlan.vue +1 -7
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/CurrentCreateYy.vue +1051 -0
- package/src/components/android/ImgSelfAndroid.vue +181 -181
- package/src/components/android/PaperFeedback.vue +34 -1
- package/src/components/android/PaperFeedbackTemp.vue +1 -1
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafecheckDevices.vue +4 -4
- package/src/components/android/SafecheckDevicesTemp.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/UserinfoSelect.vue +714 -0
- package/src/components/android/examples/410.png +0 -0
- package/src/components/android/examples/SafeListExamples.vue +296 -0
- package/src/components/android/examples/UserExamples.vue +137 -0
- package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
- package/src/components/android/examples/touxiang.png +0 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
- package/src/components/pc/SafeVisitInfo.vue +261 -0
- package/src/components/rongcheng/AddPlanItem.vue +8 -0
- package/src/components/rongcheng/AspiratedAreaPlan.vue +574 -464
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +46 -16
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1328
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +11 -10
- 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/AddPlanItem.vue +8 -0
- package/src/filiale/bayan/android/PaperFeedback.vue +68 -50
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +40 -40
- package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +58 -58
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +6 -1
- package/src/filiale/bayan/pc/NewCheckpaper.vue +50 -46
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
- 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 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +14 -10
- package/src/filiale/jiaxian/pc.js +12 -12
- package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +4 -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/shanxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shanxian/android.js +1 -0
- package/src/filiale/shanxian/pc/PaperList.vue +785 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/shanxian/pc.js +2 -2
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/siyang/android.js +4 -0
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +22 -18
- package/src/filiale/siyang/pc.js +6 -0
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +2 -2
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
- package/src/filiale/tongchuan/pc/checkUserList.vue +30 -0
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
- package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +49 -113
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wuan/android/SafecheckOrderV.vue +5 -1
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +10 -5
- package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
- package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
- package/src/filiale/xilan/android.js +11 -0
- package/src/filiale/xilan/pc/checkUserList.vue +772 -0
- package/src/filiale/xilan/pc.js +12 -0
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1336 -1332
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2845
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +23 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +9 -9
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +54 -3
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -944
- package/src/filiale/yangchunboneng/pc/PaperList.vue +29 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/main.js +33 -33
- package/src/safecheck-android.js +307 -296
- package/src/safecheck-page.js +12 -0
- package/src/safecheck.js +3 -0
@@ -120,51 +120,6 @@
|
|
120
120
|
<input type="text" class="input_search" v-model="model.f_unit"
|
121
121
|
style="width: 60%" placeholder="请选择" condition="ua.f_unit='{}'">
|
122
122
|
</div>
|
123
|
-
<!-- <div class="form-group col-sm-4" >-->
|
124
|
-
<!-- <label class="font_normal_body">开户起始:</label>-->
|
125
|
-
<!-- <datepicker-->
|
126
|
-
<!-- placeholder='请选择'-->
|
127
|
-
<!-- style="width:60%"-->
|
128
|
-
<!-- :disabled-days-of-week="[]"-->
|
129
|
-
<!-- :format="'yyyy-MM-dd'"-->
|
130
|
-
<!-- :show-rest-button="reset"-->
|
131
|
-
<!-- :value.sync="model.f_startfile_time"-->
|
132
|
-
<!-- v-model="model.f_startfile_time"-->
|
133
|
-
<!-- condition="ui.f_createfile_date >= '{} 00:00:00'">-->
|
134
|
-
<!-- </datepicker>-->
|
135
|
-
<!-- </div>-->
|
136
|
-
<!-- <div class="form-group col-sm-4" >-->
|
137
|
-
<!-- <label class="font_normal_body">开户截止:</label>-->
|
138
|
-
<!-- <datepicker-->
|
139
|
-
<!-- placeholder='请选择'-->
|
140
|
-
<!-- :disabled-days-of-week="[]"-->
|
141
|
-
<!-- style="width:60%"-->
|
142
|
-
<!-- :format="'yyyy-MM-dd'"-->
|
143
|
-
<!-- :show-rest-button="reset"-->
|
144
|
-
<!-- :value.sync="model.f_endfile_time"-->
|
145
|
-
<!-- v-model="model.f_endfile_time"-->
|
146
|
-
<!-- condition="ui.f_createfile_date <= '{} 00:00:00'">-->
|
147
|
-
<!-- </datepicker>-->
|
148
|
-
<!-- </div>-->
|
149
|
-
<!-- <div class="form-group col-sm-4" >-->
|
150
|
-
<!-- <label class="font_normal_body">表 箱 号:</label>-->
|
151
|
-
<!-- <input type="text" class="input_search" v-model="model.f_metertitles"-->
|
152
|
-
<!-- style="width: 60%" placeholder="请选择" condition="uf.f_metertitles='{}'">-->
|
153
|
-
<!-- </div>-->
|
154
|
-
<!-- <div class="form-group col-sm-4" >-->
|
155
|
-
<!-- <label class="font_normal_body">抄 表 册:</label>-->
|
156
|
-
<!-- <v-select-->
|
157
|
-
<!-- class="select select_list"-->
|
158
|
-
<!-- :value.sync="model.f_meter_book_num"-->
|
159
|
-
<!-- v-model="model.f_meter_book_num"-->
|
160
|
-
<!-- :options='$parent.$parent.cbc'-->
|
161
|
-
<!-- placeholder='请选择'-->
|
162
|
-
<!-- condition="uf.f_meter_book_num='{}'"-->
|
163
|
-
<!-- close-on-select-->
|
164
|
-
<!-- value-single-->
|
165
|
-
<!-- >-->
|
166
|
-
<!-- </v-select>-->
|
167
|
-
<!-- </div>-->
|
168
123
|
<div class="form-group col-sm-4" >
|
169
124
|
<label class="font_normal_body">派发情况:</label>
|
170
125
|
<v-select
|
@@ -194,21 +149,6 @@
|
|
194
149
|
>
|
195
150
|
</v-select>
|
196
151
|
</div>
|
197
|
-
<!-- <div class="form-group col-sm-4" >-->
|
198
|
-
<!-- <label class="font_normal_body">安检情况:</label>-->
|
199
|
-
<!-- <v-select-->
|
200
|
-
<!-- class="select select_list"-->
|
201
|
-
<!-- :value.sync="model.checkState"-->
|
202
|
-
<!-- v-model="model.checkState"-->
|
203
|
-
<!-- :options='$parent.$parent.checkStateList'-->
|
204
|
-
<!-- placeholder='请选择'-->
|
205
|
-
<!-- condition="{}"-->
|
206
|
-
<!-- :search="false"-->
|
207
|
-
<!-- close-on-select-->
|
208
|
-
<!-- value-single-->
|
209
|
-
<!-- >-->
|
210
|
-
<!-- </v-select>-->
|
211
|
-
<!-- </div>-->
|
212
152
|
<div class="form-group col-sm-4" >
|
213
153
|
<label class="font_normal_body">安检片区:</label>
|
214
154
|
<v-select
|
@@ -223,31 +163,16 @@
|
|
223
163
|
>
|
224
164
|
</v-select>
|
225
165
|
</div>
|
226
|
-
<!--<div class="form-group col-sm-4" >
|
227
|
-
<label class="font_normal_body">入户情况:</label>
|
228
|
-
<v-select
|
229
|
-
class="select select_list"
|
230
|
-
:value.sync="model.f_hasHousehold"
|
231
|
-
v-model="model.f_hasHousehold"
|
232
|
-
:options='$parent.$parent.hasHousehold'
|
233
|
-
placeholder='请选择'
|
234
|
-
close-on-select
|
235
|
-
:search="false"
|
236
|
-
value-single
|
237
|
-
>
|
238
|
-
</v-select>
|
239
|
-
</div>-->
|
240
166
|
<div class="form-group col-sm-4" >
|
241
167
|
<label class="font_normal_body">安检起始:</label>
|
242
168
|
<datepicker
|
243
169
|
placeholder='请选择'
|
244
170
|
style="width:60%;text-align: center"
|
245
171
|
:disabled-days-of-week="[]"
|
246
|
-
:format="'yyyy-MM-dd'"
|
172
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
247
173
|
:show-rest-button="reset"
|
248
174
|
:value.sync="model.f_check_start"
|
249
|
-
v-model="model.f_check_start"
|
250
|
-
condition="ui.f_last_check_date >='{} 00:00:00'">
|
175
|
+
v-model="model.f_check_start">
|
251
176
|
</datepicker>
|
252
177
|
</div>
|
253
178
|
<div class="form-group col-sm-4" >
|
@@ -256,11 +181,22 @@
|
|
256
181
|
placeholder='请选择'
|
257
182
|
:disabled-days-of-week="[]"
|
258
183
|
style="width:60%;text-align: center"
|
259
|
-
:format="'yyyy-MM-dd'"
|
184
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
260
185
|
:show-rest-button="reset"
|
261
186
|
:value.sync="model.f_check_end"
|
262
|
-
v-model="model.f_check_end"
|
263
|
-
|
187
|
+
v-model="model.f_check_end">
|
188
|
+
</datepicker>
|
189
|
+
</div>
|
190
|
+
<div class="form-group col-sm-4" >
|
191
|
+
<label class="font_normal_body">入户截止:</label>
|
192
|
+
<datepicker
|
193
|
+
placeholder='请选择'
|
194
|
+
:disabled-days-of-week="[]"
|
195
|
+
style="width:60%;text-align: center"
|
196
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
197
|
+
:show-rest-button="reset"
|
198
|
+
:value.sync="model.f_ruhu_end"
|
199
|
+
v-model="model.f_ruhu_end">
|
264
200
|
</datepicker>
|
265
201
|
</div>
|
266
202
|
|
@@ -339,18 +275,20 @@
|
|
339
275
|
import Vue from "vue";
|
340
276
|
|
341
277
|
export default {
|
342
|
-
name: "
|
278
|
+
name: "checkUserList",
|
343
279
|
title: '计划管理',
|
344
280
|
data() {
|
281
|
+
let model = new PagedList('/rs/sql/FetchUserFileByOrgNoRuHuSXQ', 20, {
|
282
|
+
"orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
|
283
|
+
"f_usertype": "''",
|
284
|
+
"month": "''",
|
285
|
+
"SafeCheckSX": 'this.SafeCheckSX',
|
286
|
+
"SafeCheckCQ": "''",
|
287
|
+
"startday":"''",
|
288
|
+
"endday":"''"})
|
289
|
+
model.SafeCheckSX = '1 = 1'
|
345
290
|
return {
|
346
|
-
model:
|
347
|
-
"orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
|
348
|
-
"f_usertype": "''",
|
349
|
-
"month": "''",
|
350
|
-
"SafeCheckSX": {"f_check_start": '', "f_check_end": ''},
|
351
|
-
"SafeCheckCQ": "''",
|
352
|
-
"startday":"''",
|
353
|
-
"endday":"''"}),
|
291
|
+
model: model,
|
354
292
|
a:'1',
|
355
293
|
opt:[{label:"测试",value:"测试"}],
|
356
294
|
showCondtion:false,
|
@@ -361,7 +299,6 @@
|
|
361
299
|
meter_gasbrand:[],//气表品牌
|
362
300
|
hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
|
363
301
|
yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
|
364
|
-
checkStateList:[{label:"全部",value:""},{label:"两年内已检",value:"DATEDIFF(day,isnull(ui.f_last_check_date,'2010-01-01'),GETDATE())<=730"},{label:"两年内未检",value:"DATEDIFF(day,isnull(ui.f_last_check_date,'2010-01-01'),GETDATE())>730"},{label:"从未安检",value:"从未安检"}],
|
365
302
|
hasResidentialArea:[{label:"全部",value:""},{label:"有名称",value:"有名称"},{label:"无名称",value:"无名称"}],
|
366
303
|
sliceArea:[],
|
367
304
|
meterbooks:[],
|
@@ -462,38 +399,36 @@
|
|
462
399
|
this.excelUserCondtion=true
|
463
400
|
},
|
464
401
|
selfSearch (args) {
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
args.
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
}
|
474
|
-
|
402
|
+
if( args.model.f_last_check_state == '入户' && args.model.f_ruhu_end) {
|
403
|
+
args.condition += `and DATEADD(YEAR, 2, CAST(ruhuend.f_offsite_time AS datetime)) < '${args.model.f_ruhu_end}'`
|
404
|
+
}
|
405
|
+
if(args.model.f_last_check_state && Util.isEmpty(args.model.f_ruhu_end) && (Util.isEmpty(args.model.f_check_start) || Util.isEmpty(args.model.f_check_end))) {
|
406
|
+
this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
407
|
+
return
|
408
|
+
}
|
409
|
+
if(args.model.f_last_check_state && Util.isEmpty(args.model.f_ruhu_end)) {
|
410
|
+
this.model.SafeCheckSX = ` f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
|
411
|
+
if (args.model.f_last_check_state == '未检') {
|
412
|
+
args.condition += ' and tcp.ruhu is null '
|
413
|
+
} else if (args.model.f_last_check_state == '入户') {
|
414
|
+
args.condition += ` and tcp.ruhu > 0`
|
415
|
+
} else if (args.model.f_last_check_state == '拒检') {
|
416
|
+
args.condition += ` and tcp.jujian > 0 and tcp.ruhu = 0 and tcp.daofang = 0 `
|
417
|
+
} else if (args.model.f_last_check_state == '到访不遇') {
|
418
|
+
args.condition += ` and tcp.daofang > 0 and tcp.ruhu = 0 and tcp.jujian = 0 `
|
475
419
|
}
|
420
|
+
}else{
|
421
|
+
//无条件
|
422
|
+
this.model.SafeCheckSX = ` 1 != 1 `
|
476
423
|
}
|
477
|
-
|
478
|
-
// (ua.f_residential_area is null or ua.f_residential_area ='')
|
424
|
+
args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
|
479
425
|
if (args.model.f_residential_area == "无名称"){
|
480
426
|
args.condition +=" and (ua.f_residential_area is null or ua.f_residential_area ='')"
|
481
427
|
}else if (args.model.f_residential_area == "有名称"){
|
482
428
|
args.condition +=" and (ua.f_residential_area is not null and ua.f_residential_area !='')"
|
483
429
|
}
|
484
430
|
console.log('查询条件',args)
|
485
|
-
/*if(args.model.f_hasHousehold=='已入户'){
|
486
|
-
args.condition +=` and Extract(year from TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'))=2021 and ua.F_LAST_CHECK_STATE='入户'`
|
487
|
-
}else if(args.model.f_hasHousehold=='未入户'){
|
488
|
-
args.condition +=` and (Extract(year from nvl(TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'),'1990-01-01 00:00:00'))!=2021 or nvl(ua.F_LAST_CHECK_STATE,'未入户')!='入户')`
|
489
|
-
}*/
|
490
431
|
if(args.model.checkBook){
|
491
|
-
/* let arr=args.model.checkBook.split('-')
|
492
|
-
if(arr[1] == '用户'){
|
493
|
-
args.condition +=` and ua.f_check_book_id=${arr[0]}`
|
494
|
-
}else{
|
495
|
-
args.condition +=` and area.f_check_book_id=${arr[0]} and ua.f_check_book_id is null`
|
496
|
-
}*/
|
497
432
|
let uas = []
|
498
433
|
let areas = []
|
499
434
|
for (let item of args.model.checkBook) {
|
@@ -680,6 +615,7 @@
|
|
680
615
|
f_filialeid:this.userlogin.orgid,
|
681
616
|
f_subscribe_date:'',
|
682
617
|
condition:this.model.condition,
|
618
|
+
SafeCheckSX: this.model.SafeCheckSX,
|
683
619
|
switchCheckAll:true,
|
684
620
|
checkAll:this.checkAll,
|
685
621
|
param:this.checkes,
|
package/src/filiale/weinan/pc.js
CHANGED
@@ -3,6 +3,7 @@ import Vue from "vue";
|
|
3
3
|
|
4
4
|
let specialComp = {
|
5
5
|
'select-check-plan': (resolve) => { require(['./pc/SelectCheckPlan'], resolve) },
|
6
|
+
'device-change': (resolve) => { require(['./pc/DeviceChange'], resolve) },
|
6
7
|
'check-noplan': (resolve) => {require(['./pc/CheckNoPlan'], resolve)},
|
7
8
|
'select-check-noplan': (resolve) => { require(['./pc/SelectCheckNoPlan'], resolve) },
|
8
9
|
'print-material-bill-noplan': (resolve) => { require(['./pc/PrintMaterialBillNoplan'], resolve)},
|
@@ -1375,8 +1375,10 @@ export default {
|
|
1375
1375
|
if(HostApp.__this__.role == 'inspect'
|
1376
1376
|
&& HostApp.__this__.data.f_approved
|
1377
1377
|
&& HostApp.__this__.data.f_approved == '打回') {
|
1378
|
+
if (!this.data.f_onsite_time){
|
1379
|
+
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
1380
|
+
}
|
1378
1381
|
//tag
|
1379
|
-
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
1380
1382
|
HostApp.__this__.tick()
|
1381
1383
|
}
|
1382
1384
|
}
|
@@ -1556,6 +1558,7 @@ export default {
|
|
1556
1558
|
this.$set('data.f_state',this.item.f_state)
|
1557
1559
|
//tag
|
1558
1560
|
// 用户信息
|
1561
|
+
this.$set('data.f_contract_id', this.item.f_plan_meters[0].f_contract_id)
|
1559
1562
|
this.$set('data.f_user_name', this.item.f_user_name)
|
1560
1563
|
this.$set('data.f_user_phone', this.item.f_user_phone)
|
1561
1564
|
this.$set('data.f_userinfoid', this.item.f_userinfoid)
|
@@ -2235,3 +2238,4 @@ export default {
|
|
2235
2238
|
padding: 13px 16px;
|
2236
2239
|
}
|
2237
2240
|
</style>
|
2241
|
+
|
@@ -13,6 +13,10 @@
|
|
13
13
|
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
|
14
14
|
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_user_name }}</p>
|
15
15
|
</div>
|
16
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
17
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>合同编号:</b></p>
|
18
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_contract_id}}</p>
|
19
|
+
</div>
|
16
20
|
<div class="col-xs-12" style="padding: 2px 0">
|
17
21
|
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户类型:</b></p>
|
18
22
|
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_check_type }}
|
@@ -240,9 +244,6 @@ export default {
|
|
240
244
|
}
|
241
245
|
}
|
242
246
|
}
|
243
|
-
for (let i in this.userinfo) {
|
244
|
-
//tag + ':' + JSON.stringify(this.userinfo[i]))
|
245
|
-
}
|
246
247
|
this.safecheckStateReady()
|
247
248
|
},
|
248
249
|
methods: {
|
@@ -409,7 +410,9 @@ export default {
|
|
409
410
|
start() {
|
410
411
|
this.$parent.$parent.isStrat = true
|
411
412
|
this.$set('action', !this.action)
|
412
|
-
this
|
413
|
+
if (!this.f_onsite_time){
|
414
|
+
this.$set('f_onsite_time', Util.toStandardTimeString())
|
415
|
+
}
|
413
416
|
},
|
414
417
|
safecheckStateReady() {
|
415
418
|
//tag
|
@@ -441,7 +444,9 @@ export default {
|
|
441
444
|
//tag
|
442
445
|
if (this.f_onsite_time) {
|
443
446
|
this.$parent.$parent.isStrat = true
|
444
|
-
this.$parent.$parent.data.f_onsite_time
|
447
|
+
if (!this.$parent.$parent.data.f_onsite_time){
|
448
|
+
this.$parent.$parent.data.f_onsite_time = this.f_onsite_time
|
449
|
+
}
|
445
450
|
}
|
446
451
|
if (this.$parent.$parent.role == 'repair') {
|
447
452
|
this.$set('style__', 'divmask')
|