safecheck-client 3.0.33-6 → 3.0.33-61
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 +3 -3
- package/src/App.vue +31 -31
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/planmanage/checkUserList.vue +34 -2
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +29 -1
- package/src/components/rongcheng/PaperListSQ.vue +30 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/filiale/Util.js +5 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2854 -2850
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3325 -3276
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
- package/src/filiale/wuhai/pc/PaperList.vue +785 -0
- package/src/filiale/wuhai/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +212 -14
- package/src/filiale/yongzhou/pc.js +3 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
- package/src/main.js +2 -2
@@ -226,7 +226,7 @@
|
|
226
226
|
this.nameForSql = ['f_plan_month', 'f_residential_area','f_plan_name']
|
227
227
|
this.groupNameForSql = 'f_plan_month,f_residential_area,f_plan_name'
|
228
228
|
this.f_check_start=Util.toStartDateYearString()
|
229
|
-
this.search()
|
229
|
+
// this.search()
|
230
230
|
this.initstreets()
|
231
231
|
},
|
232
232
|
methods: {
|
@@ -257,8 +257,6 @@
|
|
257
257
|
},
|
258
258
|
search () {
|
259
259
|
this.$refs.paged.$refs.cri.search()
|
260
|
-
this.$dispatch('search')
|
261
|
-
|
262
260
|
},
|
263
261
|
getorg (val) {
|
264
262
|
this.f_orgid = this.$login.convertToIn(val)
|
package/src/filiale/Util.js
CHANGED
@@ -20,6 +20,11 @@ export function getAttendanceState(item, timeToWork, timeToGo) {
|
|
20
20
|
item.f_state = '正常'
|
21
21
|
}
|
22
22
|
|
23
|
+
export function isEmpty (str) {
|
24
|
+
return str === undefined || str === null || str.toString().trim() === ''
|
25
|
+
}
|
26
|
+
|
27
|
+
|
23
28
|
export function dateAddDay (date, day) {
|
24
29
|
date.setDate(date.getDate() + Number.parseInt(day));
|
25
30
|
let month = date.getMonth()+1
|
@@ -154,7 +154,8 @@
|
|
154
154
|
</div>
|
155
155
|
<div class="row">
|
156
156
|
<p class="panel-title col-xs-4 text-left font">用户电话</p>
|
157
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
|
157
|
+
<p class="panel-title col-xs-8 text-left input-font" style="width: 77%">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
|
158
|
+
<img src="../../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone)'></img></p>
|
158
159
|
</div>
|
159
160
|
|
160
161
|
<div class="row">
|
@@ -253,6 +254,9 @@
|
|
253
254
|
}
|
254
255
|
},
|
255
256
|
methods:{
|
257
|
+
makeAPhoneCall(phoneNumber) {
|
258
|
+
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
259
|
+
},
|
256
260
|
scan(){
|
257
261
|
HostApp.__this__=this,
|
258
262
|
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
@@ -300,6 +304,9 @@
|
|
300
304
|
})
|
301
305
|
//tag
|
302
306
|
},
|
307
|
+
selfSearch(){
|
308
|
+
this.$refs.paged.$refs.cri.search()
|
309
|
+
},
|
303
310
|
inspect (info){
|
304
311
|
if(info.f_last_check_date){
|
305
312
|
this.$showMessage("该用户最后一次安检时间为 "+info.f_last_check_date+" 是否继续对该用户进行安检",['confirm', 'cancel']).then((butt)=>{
|
@@ -317,7 +324,8 @@
|
|
317
324
|
safe:true
|
318
325
|
}
|
319
326
|
this.$dispatch('gotoson',pardate)
|
320
|
-
|
327
|
+
let _this = this
|
328
|
+
this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', function(){_this.selfSearch()})
|
321
329
|
|
322
330
|
})
|
323
331
|
}
|
@@ -336,7 +344,8 @@
|
|
336
344
|
safe:true
|
337
345
|
}
|
338
346
|
this.$dispatch('gotoson',pardate)
|
339
|
-
|
347
|
+
let _this = this
|
348
|
+
this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', function(){_this.selfSearch()})
|
340
349
|
|
341
350
|
})
|
342
351
|
}
|