safecheck-client 3.0.33-11 → 3.0.33-110
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/index.html +6 -2
- package/package.json +3 -3
- package/src/App.vue +31 -31
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +2 -0
- package/src/components/android/SafecheckOrderV.vue +15 -11
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +7 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- 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 +35 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -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 +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2855 -2853
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -811
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1065 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +119 -12
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +6 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderV.vue +120 -21
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- 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/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- 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/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- 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/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3321
- 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/wenxi/android/PhoneUpUserinfo.vue +1076 -1076
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +178 -4
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +33 -33
- package/src/rongcheng.js +3 -1
@@ -5,6 +5,7 @@ import Vue from "vue";
|
|
5
5
|
let specialComp = {
|
6
6
|
// 计划管理用户
|
7
7
|
'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
|
8
|
+
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
8
9
|
'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper'], resolve) },
|
9
10
|
}
|
10
11
|
exports.specialComp = specialComp
|
@@ -232,26 +232,20 @@
|
|
232
232
|
}
|
233
233
|
let td=Util.toStandardDateString()
|
234
234
|
//获取今天上传的所有隐患
|
235
|
-
let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and f_upload_date>'${Util.
|
235
|
+
let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and f_upload_date>'${Util.toStandardDateString()} 00:00:00'`}},
|
236
236
|
{resolveMsg: null, rejectMsg: null})
|
237
237
|
//tag)
|
238
238
|
if(arr.data){
|
239
239
|
this.todayDefectList=[]
|
240
240
|
arr.data.forEach((defect)=>{
|
241
|
-
//拿出今天的隐患放到今日隐患列表中
|
242
|
-
console.log("td",td)
|
243
|
-
console.log("defect",defect)
|
244
|
-
console.log("defect",defect)
|
245
241
|
if(defect.f_upload_date.indexOf(td)!=-1){
|
246
242
|
this.todayDefectList.push(defect)
|
247
243
|
}
|
248
|
-
|
249
|
-
console.log("二级隐患",defect.f_defect_level=='二级隐患')
|
250
|
-
if(defect.f_defect_level=='一级隐患'){
|
244
|
+
if(defect.f_defect_level.indexOf('一级') >=0){
|
251
245
|
this.level1.push(defect)
|
252
|
-
}else if(defect.f_defect_level
|
246
|
+
}else if(defect.f_defect_level.indexOf('二级') >=0){
|
253
247
|
this.level2.push(defect)
|
254
|
-
}else if(defect.f_defect_level
|
248
|
+
}else if(defect.f_defect_level.indexOf('三级') >=0){
|
255
249
|
this.level3.push(defect)
|
256
250
|
}else{
|
257
251
|
this.problems.push(defect)
|
@@ -348,13 +342,15 @@
|
|
348
342
|
|
349
343
|
|
350
344
|
let a3=[]
|
351
|
-
for(let
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
345
|
+
for(let o=0;o<this.level2.length;o++){
|
346
|
+
if (this.level2[o].f_longitude && this.level2[o].f_latitude){
|
347
|
+
a3.push({
|
348
|
+
lnglat: [this.level2[o].f_longitude,this.level2[o].f_latitude], //点标记位置
|
349
|
+
name: '二级隐患',
|
350
|
+
id:o,
|
351
|
+
rowstr:this.level2[o]
|
352
|
+
})
|
353
|
+
}
|
358
354
|
}
|
359
355
|
// 将数组设置到 massMarks 图层
|
360
356
|
this.level2Mulchs.setData(a3);
|
@@ -362,13 +358,15 @@
|
|
362
358
|
this.level2Mulchs.setMap(this.map);
|
363
359
|
|
364
360
|
let a4=[]
|
365
|
-
for(let
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
361
|
+
for(let p=0;p<this.level3.length;p++){
|
362
|
+
if (this.level3[p].f_longitude&&this.level3[p].f_latitude){
|
363
|
+
a4.push({
|
364
|
+
lnglat: [this.level3[p].f_longitude, this.level3[p].f_latitude], //点标记位置
|
365
|
+
name: '三级隐患',
|
366
|
+
id:p,
|
367
|
+
rowstr:this.level3[p]
|
368
|
+
})
|
369
|
+
}
|
372
370
|
}
|
373
371
|
// 将数组设置到 massMarks 图层
|
374
372
|
this.level3Mulchs.setData(a4);
|
@@ -377,13 +375,15 @@
|
|
377
375
|
|
378
376
|
|
379
377
|
let a5=[]
|
380
|
-
for(let
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
378
|
+
for(let l=0;l<this.problems.length;l++){
|
379
|
+
if (this.problems[l].f_longitude&&this.problems[l].f_latitude){
|
380
|
+
a5.push({
|
381
|
+
lnglat: [this.problems[l].f_longitude, this.problems[l].f_latitude], //点标记位置
|
382
|
+
name: '普通问题',
|
383
|
+
id:l,
|
384
|
+
rowstr:this.problems[l]
|
385
|
+
})
|
386
|
+
}
|
387
387
|
}
|
388
388
|
// 将数组设置到 massMarks 图层
|
389
389
|
this.problemsMulchs.setData(a5);
|
@@ -469,10 +469,15 @@
|
|
469
469
|
let that=this
|
470
470
|
this.map = new AMap.Map('check_map', {
|
471
471
|
zoom: 12,
|
472
|
+
center: [116.80030599999998, 37.65219],
|
473
|
+
showIndoorMap: false,
|
472
474
|
viewMode: '2D', //设置地图模式
|
473
475
|
lang: 'zh_cn', //设置地图语言类型
|
474
476
|
zindex: 99
|
475
477
|
});
|
478
|
+
|
479
|
+
let bounds = this.map.getBounds();
|
480
|
+
this.map.setLimitBounds(bounds);
|
476
481
|
// 异步加载地图插件
|
477
482
|
AMap.plugin(
|
478
483
|
['AMap.ToolBar','AMap.Geolocation','AMap.Geocoder'], () => {//异步加载插件
|
@@ -601,7 +601,7 @@ export default {
|
|
601
601
|
if (defects != '') {
|
602
602
|
deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
|
603
603
|
}
|
604
|
-
} else if (items.type === 'string') {
|
604
|
+
} else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0]) {
|
605
605
|
checkResult = '有隐患'
|
606
606
|
this.result = '有隐患'
|
607
607
|
deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
|
@@ -344,8 +344,8 @@
|
|
344
344
|
},
|
345
345
|
props:["selectplan","userlogin"],
|
346
346
|
ready(){
|
347
|
-
this.$refs.paged.$refs.criteria.model.f_user_state='正常'
|
348
|
-
this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
|
347
|
+
// this.$refs.paged.$refs.criteria.model.f_user_state='正常'
|
348
|
+
// this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
|
349
349
|
//this.$refs.paged.$refs.criteria.model.f_hasHousehold='未入户'
|
350
350
|
this.setConList()
|
351
351
|
this.loadpage()
|
@@ -160,7 +160,7 @@
|
|
160
160
|
close-on-select
|
161
161
|
@change="changdeal" @click="transelation(idxs)"></v-select>
|
162
162
|
</div>
|
163
|
-
<div v-if="row.f_deal_dispose == '自行处理' || row.f_deal_dispose == '限时整改'" style="display: flex;flex-wrap: wrap">
|
163
|
+
<div v-if="(row.f_deal_dispose == '自行处理' || row.f_deal_dispose == '限时整改') && row.f_is_defect != '' " style="display: flex;flex-wrap: wrap">
|
164
164
|
<label class="fivelabel">处理时效:</label>
|
165
165
|
<!-- <datepicker-->
|
166
166
|
<!-- :value.sync="row.f_handle_date"-->
|
@@ -649,6 +649,8 @@ export default {
|
|
649
649
|
this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal : '报修'
|
650
650
|
//tag
|
651
651
|
this.f_items[n].tooltip = options[i].tooltip
|
652
|
+
//todo
|
653
|
+
this.takePic(n, this.f_items[n].f_item_name)
|
652
654
|
} else {
|
653
655
|
this.f_items[n].f_path = ''
|
654
656
|
this.f_items[n].f_is_defect = ''
|
@@ -691,7 +693,8 @@ export default {
|
|
691
693
|
this.f_items[n].f_live_dispose = '否'
|
692
694
|
this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal : '报修'
|
693
695
|
this.f_items[n].tooltip = options[i].tooltip
|
694
|
-
|
696
|
+
//todo
|
697
|
+
this.takePic(n, this.f_items[n].f_item_name)
|
695
698
|
return
|
696
699
|
}
|
697
700
|
}
|
@@ -749,6 +752,7 @@ export default {
|
|
749
752
|
this.f_items[n].f_deal_dispose = selected[0].deal ? selected[0].deal : '报修'
|
750
753
|
//tag
|
751
754
|
this.f_items[n].tooltip = selected[0].tooltip
|
755
|
+
this.takePic(n, this.f_items[n].f_item_name)
|
752
756
|
}
|
753
757
|
|
754
758
|
return
|