safecheck-client 3.0.34-6 → 3.0.34-61
Sign up to get free protection for your applications and to get access to all the features.
- package/docs/FormPrint.md +18 -18
- package/docs/GridTree.md +47 -47
- package/docs/PrintFile.md +38 -38
- package/docs/tree.md +40 -40
- 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 +617 -616
- package/src/components/android/AddGas.vue +147 -147
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AreaPlan.vue +566 -566
- package/src/components/android/AreaSelect.vue +208 -0
- package/src/components/android/BuildingSelect.vue +217 -0
- package/src/components/android/CheckPlanSelect.vue +248 -0
- package/src/components/android/CheckerMonthly.vue +84 -84
- package/src/components/android/LcheckUnplan.vue +108 -108
- package/src/components/android/PaperFeedback.vue +33 -0
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafecheckDevices.vue +2 -2
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +130 -0
- package/src/components/checkerphonestate/Checker.vue +32 -32
- package/src/components/checkerphonestate/CheckerState.vue +97 -97
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +104 -104
- package/src/components/notice/NoticeQuery.vue +76 -76
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/phonestate/DailyTraffic.vue +57 -57
- package/src/components/phonestate/LastKnownState.vue +74 -74
- package/src/components/rongcheng/AddPlanItem.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +40 -14
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
- package/src/components/task/RepairAnnual.vue +79 -79
- package/src/components/task/RepairAnnualDetail.vue +49 -49
- package/src/components/task/RepairMonthly.vue +91 -91
- package/src/components/task/TaskAnnual.vue +77 -77
- package/src/components/task/TaskAnnualDetail.vue +47 -47
- package/src/components/task/TaskMonthly.vue +89 -89
- package/src/components/userfile/UserfileChange.vue +277 -277
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
- package/src/filiale/baiyin/pc/PaperList.vue +7 -7
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
- package/src/filiale/baiyin/pc.js +21 -21
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- 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 +6 -6
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- 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/pc/checkUserList.vue +700 -700
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -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 +5 -0
- 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 +1060 -1060
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
- 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 +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -722
- package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
- package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
- 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 +712 -776
- package/src/filiale/weinan/pc.js +47 -46
- package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1192
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -472
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -473
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +10 -10
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +6 -6
- package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- 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/safecheck-android.js +7 -0
- package/src/safecheck-page.js +10 -0
@@ -6,6 +6,8 @@
|
|
6
6
|
<div class="row">
|
7
7
|
<div :class="{'form-group col-sm-6':$parent.$parent.$parent.showItem,'form-group col-sm-4':!$parent.$parent.$parent.showItem}" style="margin: 0">
|
8
8
|
<role-selector-safe
|
9
|
+
:value-multiple="true"
|
10
|
+
:value-close="false"
|
9
11
|
role-name="安检员"
|
10
12
|
role-lable="安 检 员"
|
11
13
|
@re-res="$parent.$parent.getRes"
|
@@ -223,8 +225,9 @@
|
|
223
225
|
condition2 += ` AND f_offsite_time <= '${this.f_end_time} 23:59:59'`
|
224
226
|
}
|
225
227
|
if (this.$refs.paged.$refs.cri.model.f_checker_id){
|
226
|
-
|
227
|
-
|
228
|
+
debugger
|
229
|
+
condition3 += ` AND f_checker in ${this.$refs.paged.$refs.cri.model.f_checker_id} `
|
230
|
+
condition2 += ` AND f_checker_name in ${this.$refs.paged.$refs.cri.model.f_checker_id} `
|
228
231
|
}
|
229
232
|
this.model.f_start_time=this.f_start_time
|
230
233
|
this.model.f_end_time=this.f_end_time
|
@@ -0,0 +1,29 @@
|
|
1
|
+
const EventListener = {
|
2
|
+
/**
|
3
|
+
* Listen to DOM events during the bubble phase.
|
4
|
+
*
|
5
|
+
* @param {DOMEventTarget} target DOM element to register listener on.
|
6
|
+
* @param {string} eventType Event type, e.g. 'click' or 'mouseover'.
|
7
|
+
* @param {function} callback Callback function.
|
8
|
+
* @return {object} Object with a `remove` method.
|
9
|
+
*/
|
10
|
+
listen(target, eventType, callback) {
|
11
|
+
if (target.addEventListener) {
|
12
|
+
target.addEventListener(eventType, callback, false)
|
13
|
+
return {
|
14
|
+
remove() {
|
15
|
+
target.removeEventListener(eventType, callback, false)
|
16
|
+
}
|
17
|
+
}
|
18
|
+
} else if (target.attachEvent) {
|
19
|
+
target.attachEvent('on' + eventType, callback)
|
20
|
+
return {
|
21
|
+
remove() {
|
22
|
+
target.detachEvent('on' + eventType, callback)
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
export default EventListener
|
@@ -0,0 +1,7 @@
|
|
1
|
+
// Attempt to convert a string value to a Boolean. Otherwise, return the value
|
2
|
+
// without modification so Vue can throw a warning.
|
3
|
+
export default (val) => (typeof val !== "string" ? val :
|
4
|
+
val === "true" ? true :
|
5
|
+
val === "false" ? false :
|
6
|
+
val === "null" ? false :
|
7
|
+
val === "undefined" ? false : val)
|
@@ -997,7 +997,7 @@ export default {
|
|
997
997
|
f_repair_department: this.config[this.device.device].items[item].repairDepartment ? this.config[this.device.device].items[item].repairDepartment : '',
|
998
998
|
f_deal_dispose: this.config[this.device.device].items[item].dealDispose ? this.config[this.device.device].items[item].dealDispose : '',
|
999
999
|
f_handle_date: '',
|
1000
|
-
f_block_pitfall: this.config[this.device.device].items[item].blockPitfall ? this.config[this.device.device].items[item].blockPitfall :
|
1000
|
+
f_block_pitfall: this.config[this.device.device].items[item].blockPitfall ? this.config[this.device.device].items[item].blockPitfall : '否',
|
1001
1001
|
f_lose_efficacy: this.config[this.device.device].items[item].loseEfficacy ? this.config[this.device.device].items[item].loseEfficacy : '',
|
1002
1002
|
isshow: this.config[this.device.device].items[item].isshow == false ? this.config[this.device.device].items[item].isshow : true,
|
1003
1003
|
readonly: this.config[this.device.device].items[item].readonly == true ? true : false,
|
@@ -1082,7 +1082,7 @@ export default {
|
|
1082
1082
|
let msg = ''
|
1083
1083
|
for (let a = 0; a < checkResults.data.length; a++) {
|
1084
1084
|
for (let datumKey in checkResults.data[a]) {
|
1085
|
-
msg += datumKey + '
|
1085
|
+
msg += datumKey + ','
|
1086
1086
|
}
|
1087
1087
|
}
|
1088
1088
|
this.data.f_defect_text = msg
|