safecheck-client 4.0.2-6 → 4.0.2-60
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/components/NewDefectList/DefectPaperNew.vue +1184 -1184
- package/src/components/android/AndroidNotifiedDeal.vue +417 -0
- package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
- package/src/components/android/SafeRightTree.vue +218 -218
- package/src/components/android/SafecheckDevices.vue +1340 -1340
- package/src/components/android/week/CheckResultSimple.vue +251 -0
- package/src/components/android/week/FirstWeekCheck.vue +275 -0
- package/src/components/android/week/StepHeaderBar.vue +457 -0
- package/src/components/android/week/WeekCheck.vue +209 -0
- package/src/components/android/week/WeekCheckPaper.vue +219 -0
- package/src/components/android/week/WeekCheckPlan.vue +145 -0
- package/src/components/checkplan/SelectCheckPlan.vue +39 -0
- package/src/components/paper/safetyledger.vue +198 -0
- package/src/components/pc/CheckBook.vue +303 -303
- package/src/components/pc/CheckBookArea.vue +146 -146
- package/src/components/pc/CheckBookCompany.vue +144 -144
- package/src/components/pc/CheckBookDetails.vue +161 -161
- package/src/components/pc/CheckBookEntry.vue +60 -60
- package/src/components/pc/CheckBookSearchArea.vue +560 -560
- package/src/components/pc/CheckBookSearchUnit.vue +229 -229
- package/src/components/pc/CheckBookSearchUser.vue +659 -659
- package/src/components/pc/CheckBookSearchUserList.vue +674 -674
- package/src/components/pc/DefectDeal.vue +6 -2
- package/src/components/planmanage/checkUserList.vue +1 -1
- package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
- package/src/components/report/CheckPlanAreaList.vue +53 -7
- package/src/filiale/jinhong/android/AndroidDefectDeal.vue +722 -0
- package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +521 -0
- package/src/filiale/jinhong/android/CurrentCreate.vue +35 -13
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
- package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
- package/src/filiale/jinhong/android.js +4 -1
- package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +42 -2
- package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
- package/src/filiale/jinhong/pc/PaperList.vue +5 -1
- package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
- package/src/filiale/jinhong/pc.js +1 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +27 -28
- package/src/filiale/meihekou/android.js +22 -22
- package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
- package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
- package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -1
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
- package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
- package/src/filiale/meihekou/pc.js +18 -15
- package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
- package/src/filiale/taiyuan/android/AddPlanItem.vue +457 -456
- package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
- package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -2347
- package/src/filiale/taiyuan/android.js +1 -0
- package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
- package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
- package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
- package/src/filiale/xinliansihui/pc.js +13 -0
- package/src/safecheck-android.js +12 -0
- package/src/safecheck.js +3 -0
|
@@ -8,6 +8,7 @@ let specialComp = {
|
|
|
8
8
|
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
|
|
9
9
|
'PhoneUpUserinfo': (resolve) => { require(['./android/PhoneUpUserinfo'], resolve) },
|
|
10
10
|
'area-plan': (resolve) => { require(['./android/AreaPlan.vue'], resolve) },
|
|
11
|
+
'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices.vue'], resolve) },
|
|
11
12
|
'safecheck-userinfo': (resolve) => { require(['./android/SafecheckUserInfo'], resolve) }
|
|
12
13
|
}
|
|
13
14
|
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
</datepicker>
|
|
69
69
|
</div>
|
|
70
70
|
|
|
71
|
-
<div style="float: left;width:60%" class="form-group" v-if="
|
|
72
|
-
<input type="
|
|
71
|
+
<div style="float: left;width:60%" class="form-group" v-if="row.type == 'number'" v-show="row.isshow">
|
|
72
|
+
<input type="number" class="form-control" maxlength="100" v-model="row.f_item_value" :readonly="row.readonly">
|
|
73
73
|
</div>
|
|
74
74
|
<!--<input type="text" class="form-control" v-model="row.f_content" v-if="!show && row.type == 'string' && row.f_project != '表号'" :disabled="(!(ischecked == '有')) || issee" :readonly="issee">-->
|
|
75
75
|
<!--<input type="text" class="form-control" v-model="meternum" v-if="!show && row.type == 'string' && row.f_project == '表号' " :disabled="(!(ischecked == '有')) || issee" :readonly="issee" >-->
|
|
@@ -1812,7 +1812,7 @@ export default {
|
|
|
1812
1812
|
f_device_id: "",
|
|
1813
1813
|
f_is_defect: "",
|
|
1814
1814
|
f_item_name: "是否自闭阀",
|
|
1815
|
-
f_item_value:
|
|
1815
|
+
f_item_value: "是",
|
|
1816
1816
|
f_path: "",
|
|
1817
1817
|
type: "selector"
|
|
1818
1818
|
},
|
|
@@ -1893,7 +1893,7 @@ export default {
|
|
|
1893
1893
|
f_device_id: "",
|
|
1894
1894
|
f_is_defect: "",
|
|
1895
1895
|
f_item_name: "是否自闭阀",
|
|
1896
|
-
f_item_value:
|
|
1896
|
+
f_item_value: "是",
|
|
1897
1897
|
f_path: "",
|
|
1898
1898
|
type: "selector"
|
|
1899
1899
|
},
|
|
@@ -1960,6 +1960,7 @@ export default {
|
|
|
1960
1960
|
f_device_id: "",
|
|
1961
1961
|
f_is_defect: "",
|
|
1962
1962
|
f_item_name: "机械数总用量(方)",
|
|
1963
|
+
checkmust: true,
|
|
1963
1964
|
f_item_value: this.item.f_plan_meters[i].f_meter_base,
|
|
1964
1965
|
f_path: "",
|
|
1965
1966
|
type: "number"
|
|
@@ -1969,6 +1970,7 @@ export default {
|
|
|
1969
1970
|
f_device_id: "",
|
|
1970
1971
|
f_is_defect: "",
|
|
1971
1972
|
f_item_name: "液晶总用量(方)",
|
|
1973
|
+
checkmust: true,
|
|
1972
1974
|
f_item_value: this.item.f_plan_meters[i].f_total_lcd,
|
|
1973
1975
|
f_path: "",
|
|
1974
1976
|
type: "number"
|
|
@@ -2063,6 +2065,7 @@ export default {
|
|
|
2063
2065
|
f_device_id: "",
|
|
2064
2066
|
f_is_defect: "",
|
|
2065
2067
|
f_item_name: "机械数总用量(方)",
|
|
2068
|
+
checkmust: true,
|
|
2066
2069
|
isshow: true,
|
|
2067
2070
|
f_item_value: '',
|
|
2068
2071
|
f_path: "",
|
|
@@ -2171,6 +2174,7 @@ export default {
|
|
|
2171
2174
|
f_device_id: "",
|
|
2172
2175
|
f_is_defect: "",
|
|
2173
2176
|
f_item_name: "机械数总用量(方)",
|
|
2177
|
+
checkmust: true,
|
|
2174
2178
|
f_item_value: this.item.f_plan_meters[i].f_meter_base,
|
|
2175
2179
|
f_path: "",
|
|
2176
2180
|
type: "number"
|
|
@@ -2180,6 +2184,7 @@ export default {
|
|
|
2180
2184
|
f_device_id: "",
|
|
2181
2185
|
f_is_defect: "",
|
|
2182
2186
|
f_item_name: "液晶总用量(方)",
|
|
2187
|
+
checkmust: true,
|
|
2183
2188
|
f_item_value: this.item.f_plan_meters[i].f_total_lcd,
|
|
2184
2189
|
f_path: "",
|
|
2185
2190
|
type: "number"
|
|
@@ -2282,6 +2287,7 @@ export default {
|
|
|
2282
2287
|
f_device_id: "",
|
|
2283
2288
|
f_is_defect: "",
|
|
2284
2289
|
f_item_name: "机械数总用量(方)",
|
|
2290
|
+
checkmust: true,
|
|
2285
2291
|
f_item_value: this.item.f_plan_meters[i].f_meter_base,
|
|
2286
2292
|
f_path: "",
|
|
2287
2293
|
type: "number"
|
|
@@ -2291,6 +2297,7 @@ export default {
|
|
|
2291
2297
|
f_device_id: "",
|
|
2292
2298
|
f_is_defect: "",
|
|
2293
2299
|
f_item_name: "液晶总用量(方)",
|
|
2300
|
+
checkmust: true,
|
|
2294
2301
|
f_item_value: this.item.f_plan_meters[i].f_total_lcd,
|
|
2295
2302
|
f_path: "",
|
|
2296
2303
|
type: "number"
|
|
@@ -635,44 +635,20 @@ export default {
|
|
|
635
635
|
for (let i in this.data[device][item].f_items) {
|
|
636
636
|
let defects = ''
|
|
637
637
|
let items = this.data[device][item].f_items[i]
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
638
|
+
if (!this.item.f_defect_content.includes(items.f_item_name)){
|
|
639
|
+
continue
|
|
640
|
+
}
|
|
641
641
|
if ((items.type === 'selector' || items.type === 'radio' || items.type === 'checkbox') && items.f_item_value != null && items.f_item_value instanceof Array) {
|
|
642
642
|
for (let i in items.f_item_value) {
|
|
643
643
|
let f_item_value = items.f_item_value[i]
|
|
644
|
-
|
|
645
|
-
//tag)
|
|
646
|
-
//tag)
|
|
647
|
-
//tag)
|
|
648
|
-
//tag)
|
|
649
644
|
if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name] && (items.isdefect && (items.isdefect=='true' || items.isdefect==true))) {
|
|
650
645
|
continue
|
|
651
646
|
}
|
|
652
|
-
// if(items.f_is_defect != true && items.f_is_defect != 'true'){
|
|
653
|
-
// continue
|
|
654
|
-
// }
|
|
655
647
|
if (items.f_is_defect == 'true' || items.f_is_defect == true) {
|
|
656
648
|
checkResult = '有隐患'
|
|
657
649
|
this.result = '有隐患'
|
|
658
650
|
defects = `${defects}:${f_item_value}/`
|
|
659
651
|
}
|
|
660
|
-
// let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
|
|
661
|
-
// if(items.f_item_name == '是否开放式厨房') {
|
|
662
|
-
// console.log('是否开放式厨房', options)
|
|
663
|
-
// console.log('f_item_value', f_item_value)
|
|
664
|
-
// }
|
|
665
|
-
// for (let option in options) {
|
|
666
|
-
// if (options[option].data == f_item_value) {
|
|
667
|
-
// if ((options[option].isdefect == 'true' || options[option].isdefect == true) && (items.f_is_defect == 'true' || items.f_is_defect == true)) {
|
|
668
|
-
// checkResult = '有隐患'
|
|
669
|
-
// this.result = '有隐患'
|
|
670
|
-
// defects = `${defects}:${options[option].data}/`
|
|
671
|
-
// // let level = options[option].level
|
|
672
|
-
// }
|
|
673
|
-
// }
|
|
674
|
-
// }
|
|
675
|
-
//tag)
|
|
676
652
|
}
|
|
677
653
|
if (defects != '') {
|
|
678
654
|
deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
|
|
@@ -752,14 +728,6 @@ export default {
|
|
|
752
728
|
}
|
|
753
729
|
}
|
|
754
730
|
this.ajresult = JSON.parse(this.data.f_defect_content).result
|
|
755
|
-
if (this.deviceCollects.length > 0) {
|
|
756
|
-
this.hasDevice = true
|
|
757
|
-
for (let i = 0; i < this.deviceCollects.length; i++) {
|
|
758
|
-
if(this.deviceCollects[i].value==='有隐患'){
|
|
759
|
-
this.ajresult='有隐患'
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
731
|
this.showimg3 = this.data.f_noanswer_path
|
|
764
732
|
this.showimg4 = this.data.f_rejectcheck_path
|
|
765
733
|
this.paperdata = this.data
|
|
@@ -870,23 +838,26 @@ export default {
|
|
|
870
838
|
}
|
|
871
839
|
},
|
|
872
840
|
isred(val1, val2) {
|
|
873
|
-
//tag
|
|
874
841
|
let f_is_defect = false
|
|
875
|
-
|
|
876
|
-
for (let
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
if (
|
|
881
|
-
f_is_defect
|
|
882
|
-
|
|
883
|
-
|
|
842
|
+
if (this.item.f_defect_content.includes(val2)){
|
|
843
|
+
for (let i = 0; i < this.devicesAll.length; i++) {
|
|
844
|
+
for (let j = 0; j < this.devicesAll[i].length; j++) {
|
|
845
|
+
if (this.devicesAll[i][j].f_device_type == val1) {
|
|
846
|
+
for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
|
|
847
|
+
if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
|
|
848
|
+
if (!this.devicesAll[i][j].f_items[k].f_is_defect) {
|
|
849
|
+
f_is_defect = false
|
|
850
|
+
} else {
|
|
851
|
+
f_is_defect = true
|
|
852
|
+
}
|
|
884
853
|
}
|
|
885
854
|
}
|
|
886
|
-
}
|
|
887
855
|
|
|
856
|
+
}
|
|
888
857
|
}
|
|
889
858
|
}
|
|
859
|
+
}else {
|
|
860
|
+
f_is_defect = false
|
|
890
861
|
}
|
|
891
862
|
// console.log("333",val2)
|
|
892
863
|
if(this.level1.findIndex(item=>item == val2)!=-1 && f_is_defect){
|