safecheck-client 4.0.0-1 → 4.0.0-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/App.vue +31 -31
- package/src/components/NewDefectList/DefectListNew.vue +663 -663
- package/src/components/Util/SafecheckUpload.vue +281 -281
- package/src/components/android/Insurance/PhoneInsurancePurchase.vue +174 -164
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +104 -112
- package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +1 -4
- package/src/components/paper/PaperList.vue +12 -1
- package/src/components/pc/CheckBookList.vue +3 -1
- package/src/components/pc/DefectDeal.vue +1007 -1007
- package/src/components/pc/NewCheckpaper.vue +6 -4
- package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +401 -0
- package/src/filiale/jinhong/android.js +9 -0
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +3 -0
|
@@ -516,6 +516,17 @@ export default {
|
|
|
516
516
|
cbc:[]
|
|
517
517
|
}
|
|
518
518
|
},
|
|
519
|
+
created() {
|
|
520
|
+
// 使用 $on 监听事件
|
|
521
|
+
this.$root.$on('audit-status-changed', () => {
|
|
522
|
+
console.log('收到审核状态变更事件')
|
|
523
|
+
this.refresh()
|
|
524
|
+
})
|
|
525
|
+
},
|
|
526
|
+
beforeDestroy() {
|
|
527
|
+
// 记得在组件销毁前移除事件监听
|
|
528
|
+
this.$root.$off('audit-status-changed')
|
|
529
|
+
},
|
|
519
530
|
methods: {
|
|
520
531
|
//气表品牌查询
|
|
521
532
|
getTableBrands() {
|
|
@@ -761,7 +772,7 @@ export default {
|
|
|
761
772
|
if (val) {
|
|
762
773
|
this.searchData.f_approved = val
|
|
763
774
|
}
|
|
764
|
-
}
|
|
775
|
+
}
|
|
765
776
|
}
|
|
766
777
|
|
|
767
778
|
}
|
|
@@ -318,7 +318,9 @@ export default {
|
|
|
318
318
|
// //tag
|
|
319
319
|
this.$parent.showItem = false
|
|
320
320
|
this.$parent.showItemUser = false
|
|
321
|
-
|
|
321
|
+
if(this.model.f_filialeids){
|
|
322
|
+
args.condition += ` and f_orgid in ${this.model.f_filialeids}`
|
|
323
|
+
}
|
|
322
324
|
args.condition += ` and tcb.f_user_type ='${this.showtype}' `
|
|
323
325
|
return this.model.search(args.condition, args.model)
|
|
324
326
|
},
|