safecheck-client 3.0.30-61-t1 → 3.0.30-61-t3
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 +2 -2
- package/src/components/CheckerCount/CheckCountUserList.vue +2 -2
- package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
- package/src/components/DefectDealMain/DefectListNew.vue +1 -1
- package/src/components/DefectDealMain/DefectPaperNew.vue +4 -4
- package/src/components/ExportExcel.vue +342 -340
- package/src/components/NewDefectList/DefectListNew.vue +1 -1
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/android/ClockIn.vue +1 -1
- package/src/components/android/DoorService.vue +1 -1
- package/src/components/callincheck/CallInPlan.vue +148 -148
- package/src/components/checkplan/CheckDetail.vue +4 -4
- package/src/components/checkplan/SelectCheckPlan.vue +2 -2
- package/src/components/createcheckplan/CreatePlan.vue +4 -4
- package/src/components/createcheckplan/CreatePlanWuan.vue +5 -5
- package/src/components/createcheckplan/DelPlanRepeat.vue +4 -4
- package/src/components/createcheckplan/PlanList.vue +2 -2
- package/src/components/createcheckplan/PlanUersList.vue +2 -2
- package/src/components/defect/DefectPaper.vue +4 -4
- package/src/components/defect/DefectPaperWeiXiu.vue +4 -4
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/CheckPaperSearch.vue +349 -349
- package/src/components/defects/DefectSeting.vue +1 -1
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/equipment/CheckRate.vue +4 -4
- package/src/components/equipment/CheckerRate.vue +4 -4
- package/src/components/equipment/MonthCheckRate.vue +4 -4
- package/src/components/filialCircle/AddCircleFiliale.vue +114 -114
- package/src/components/inspections/InspectionList.vue +2 -2
- package/src/components/inspections/InspectionLists.vue +2 -2
- package/src/components/inspections/InspectionListss.vue +2 -2
- package/src/components/issueplan/IssuePlanAction.vue +1 -1
- package/src/components/levelplan/AdjustPlan.vue +1 -1
- package/src/components/levelplan/CheckerLeft.vue +1 -1
- package/src/components/levelplan/CheckerPlanAdjust.vue +2 -2
- package/src/components/levelplan/CheckerRight.vue +1 -1
- package/src/components/map/AMapTrailShowZk.vue +185 -185
- package/src/components/map/FootPrintList.vue +1 -1
- package/src/components/map/PersonTrack.vue +1 -1
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +1 -1
- package/src/components/metterfiles/MetterfilesChange.vue +162 -162
- package/src/components/metterfiles/UserFiles.vue +1 -1
- package/src/components/metterfiles/Userfileschange.vue +2 -2
- package/src/components/noplan/NoPlanSearchUser.vue +4 -4
- package/src/components/olddata/OldPaperList.vue +2 -2
- package/src/components/paper/PaperList.vue +2 -2
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/paper/VerifyForm.vue +107 -107
- package/src/components/paper/filialeCheckInfo.vue +2 -2
- package/src/components/pc/AddToCheckBook.vue +2 -2
- package/src/components/pc/CheckBook.vue +1 -1
- package/src/components/pc/CheckBookDetails.vue +194 -194
- package/src/components/pc/CheckBookList.vue +3 -3
- package/src/components/pc/CheckBookSearchArea.vue +4 -4
- package/src/components/pc/CheckBookSearchUser.vue +4 -4
- package/src/components/pc/CheckBookSearchUserList.vue +1 -1
- package/src/components/pc/CheckNoDetail.vue +2 -2
- package/src/components/pc/DefectDeal.vue +2 -2
- package/src/components/pc/Edit.vue +126 -126
- package/src/components/pc/NewCheckpaper.vue +34 -31
- package/src/components/pc/PaperChazhiMain.vue +2 -2
- package/src/components/pc/PaperDefectMain.vue +2 -2
- package/src/components/pc/PaperEdit.vue +2 -2
- package/src/components/pc/PaperVisitMain.vue +2 -2
- package/src/components/pc/SafeVisitHistory.vue +2 -2
- package/src/components/pc/SafecheckDeviceList.vue +2 -2
- package/src/components/pc/SelectCheckNoPlan.vue +3 -3
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
- package/src/components/planmanage/checkPlanList.vue +2 -2
- package/src/components/planmanage/checkUserList.vue +3 -3
- package/src/components/querycheckpaper/CheckSearchUser.vue +5 -5
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +5 -5
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +4 -4
- package/src/components/report/CheckPlanAreaList.vue +2 -2
- package/src/components/report/CheckPlanUserList.vue +2 -2
- package/src/components/report/NoCheckplanSafecheck.vue +2 -2
- package/src/components/rongcheng/CheckSearchArea.vue +2 -2
- package/src/components/rongcheng/CheckSearchUser.vue +2 -2
- package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
- package/src/components/rongcheng/CheckUserList.vue +2 -2
- package/src/components/rongcheng/DefectPaper.vue +4 -4
- package/src/components/rongcheng/PaperListAJ.vue +2 -2
- package/src/components/rongcheng/PaperListNPAJ.vue +2 -2
- package/src/components/rongcheng/PaperListNPSQ.vue +2 -2
- package/src/components/rongcheng/PaperListSQ.vue +2 -2
- package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +2 -2
- package/src/components/rongcheng/report/CheckPlanUserList.vue +4 -4
- package/src/components/shaoguan/CheckPlanUserList.vue +2 -2
- package/src/components/shaoguan/DefectPaper.vue +2 -2
- package/src/components/shaoguan/PaperList.vue +3 -3
- package/src/components/userfile/UserFile.vue +1 -1
- package/src/components/userfile/UserInfoAudit.vue +2 -2
- package/src/components/userfile/UserfileChange.vue +1 -1
- package/src/components/userfileaudit/UserfileChangeaudit.vue +1 -1
- package/src/filiale/ALshan/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/ALshan/pc/checkUserList.vue +3 -3
- package/src/filiale/ancheng/pc/PaperList.vue +3 -3
- package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/ankangyihua/pc/PaperList.vue +3 -3
- package/src/filiale/ankangyihua/pc/checkUserList.vue +3 -3
- package/src/filiale/bayan/pc/PaperList.vue +3 -3
- package/src/filiale/fugou/pc/PaperList.vue +2 -2
- package/src/filiale/fugu/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/fugu/pc/planmanage/checkUserList.vue +3 -3
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +2 -2
- package/src/filiale/ganquan/pc/PaperList.vue +3 -3
- package/src/filiale/ganquan/pc/PaperVisitMain.vue +2 -2
- package/src/filiale/ganquan/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/ganquan/pc/checkUserList.vue +3 -3
- package/src/filiale/gehua/pc/PaperList.vue +2 -2
- package/src/filiale/gehua/pc/checkUserList.vue +3 -3
- package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/guangxi/pc/DefectListNew.vue +1 -1
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/hanzhong/pc/CheckUserList.vue +3 -3
- package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
- package/src/filiale/huatong/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/huatong/pc/PaperList.vue +3 -3
- package/src/filiale/huayin/pc/PaperList.vue +3 -3
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/jingyang/pc/PaperList.vue +3 -3
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/kelai/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/kelai/pc/DefectListNew.vue +1 -1
- package/src/filiale/kelai/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +1 -1
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +3 -3
- package/src/filiale/kelai/pc/PaperList.vue +3 -3
- package/src/filiale/kelai/pc/checkUserList.vue +3 -3
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +2 -2
- package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
- package/src/filiale/lixian/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/lixian/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/lixian/pc/PaperChazhiMain.vue +2 -2
- package/src/filiale/lixian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/lixian/pc/PaperList.vue +3 -3
- package/src/filiale/lixian/pc/checkPlanList.vue +2 -2
- package/src/filiale/lixian/pc/checkUserList.vue +3 -3
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/minsheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/minsheng/pc/checkUserList.vue +3 -3
- package/src/filiale/pingxiang/pc/DefectListNew.vue +1 -1
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/DefectListNew.vue +1 -1
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/qianneng/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/checkPlanList.vue +4 -4
- package/src/filiale/qianneng/pc/checkUserList.vue +5 -5
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +1 -1
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/rizhao/pc/PaperList.vue +3 -3
- package/src/filiale/rongchuang/pc/checkUserList.vue +3 -3
- package/src/filiale/shanxian/pc/CheckDetail.vue +4 -4
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/shanxian/pc/checkUserList.vue +3 -3
- package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
- package/src/filiale/shexian/pc/DefectListNew.vue +1 -1
- package/src/filiale/shexian/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/shimen/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/shimen/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/shimen/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/shimen/pc/PaperList.vue +2 -2
- package/src/filiale/shiquan/pc/checkUserList.vue +3 -3
- package/src/filiale/tianke/pc/DefectListNew.vue +1 -1
- package/src/filiale/tianke/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +1 -1
- package/src/filiale/tongchuan/pc/CheckBookList.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckDetail.vue +4 -4
- package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/tongchuan/pc/DefectPaper.vue +2 -2
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/tongchuan/pc/PaperList.vue +2 -2
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/tongchuan/pc/checkUserList.vue +3 -3
- package/src/filiale/weinan/pc/CheckBook.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -194
- package/src/filiale/weinan/pc/CheckBookList.vue +3 -3
- package/src/filiale/weinan/pc/CheckBookSearchUser.vue +4 -4
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +1 -1
- package/src/filiale/weinan/pc/CheckDetail.vue +4 -4
- package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +4 -4
- package/src/filiale/weinan/pc/CheckNoDetail.vue +4 -4
- package/src/filiale/weinan/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/weinan/pc/DefectPaperNew.vue +2 -2
- package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
- package/src/filiale/weinan/pc/PaperDefectMain.vue +3 -3
- package/src/filiale/weinan/pc/PaperList.vue +3 -3
- package/src/filiale/weinan/pc/PersonTrack.vue +1 -1
- package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +3 -3
- package/src/filiale/weinan/pc/SelectCheckPlan.vue +3 -3
- package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +3 -3
- package/src/filiale/weinan/pc/checkPlanList.vue +2 -2
- package/src/filiale/weinan/pc/checkUserList.vue +3 -3
- package/src/filiale/weinanct/pc/PaperList.vue +3 -3
- package/src/filiale/wensu/pc/CheckDetail.vue +4 -4
- package/src/filiale/wensu/pc/CheckSearchUser.vue +6 -6
- package/src/filiale/wensu/pc/DefectListNew.vue +1 -1
- package/src/filiale/wensu/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/wensu/pc/checkUserList.vue +3 -3
- package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/wenxi/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/wenxi/pc/PaperList.vue +4 -4
- package/src/filiale/wenxi/pc/checkPlanList.vue +4 -4
- package/src/filiale/wenxi/pc/checkUserList.vue +3 -3
- package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/wuan/pc/PaperList.vue +2 -2
- package/src/filiale/wuhai/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/wuhai/pc/checkUserList.vue +3 -3
- package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/xinkang/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/xinkang/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/xinkang/pc/PaperList.vue +3 -3
- package/src/filiale/xinkang/pc/checkUserList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckBook.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -213
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +2 -2
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +1 -1
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/yangchunboneng/pc/PaperList.vue +3 -3
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
- package/src/filiale/yongzhou/pc/checkUserList.vue +3 -3
- package/src/filiale/yongzhou/pc/communityDetail.vue +2 -2
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +2 -2
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +2 -2
- package/src/filiale/yongzhou/pc/safeDetail.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yuansheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +3 -3
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/zhongsheng/pc/PaperList.vue +3 -3
- package/src/filiale/zhongyi/pc/DefectListNew.vue +1 -1
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
- package/src/plugins/LoadCheckParams.js +59 -59
@@ -297,7 +297,7 @@ export default {
|
|
297
297
|
ok (){
|
298
298
|
//tag
|
299
299
|
let http = new HttpResetClass()
|
300
|
-
http.load('POST', '
|
300
|
+
http.load('POST', 'api/af-safecheck/logic/safeEntity', {data:{tableName:'t_check_book',entityData:this.checkBook}},
|
301
301
|
{resolveMsg: '更新片区信息成功', rejectMsg: '保存片区信息成功'}).then(res=>{
|
302
302
|
if (res.data.code===200){
|
303
303
|
this.$showMessage('修改成功')
|
@@ -331,9 +331,9 @@ export default {
|
|
331
331
|
let http = new HttpResetClass()
|
332
332
|
let upAddress = `update t_user_address set f_check_book_id = null where f_check_book_id = '${val.id}'`
|
333
333
|
let delCheckBook= `delete from t_check_book where id ='${val.id}'`
|
334
|
-
await http.load('POST', '
|
334
|
+
await http.load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: upAddress}},
|
335
335
|
{resolveMsg: null, rejectMsg: '删除片区失败'})
|
336
|
-
await http.load('POST', '
|
336
|
+
await http.load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: delCheckBook}},
|
337
337
|
{resolveMsg: null, rejectMsg: '删除片区失败'})
|
338
338
|
this.$showMessage('删除成功')
|
339
339
|
this.$refs.paged.$refs.criteria.search()
|
@@ -287,7 +287,7 @@ export default {
|
|
287
287
|
tui.f_user_state = '正常'
|
288
288
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
289
289
|
AND ${userCondition}`
|
290
|
-
await new HttpResetClass().load('POST', '
|
290
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: addUser}},
|
291
291
|
{resolveMsg: null, rejectMsg: '添加用户失败'})
|
292
292
|
this.$showMessage('添加用户成功')
|
293
293
|
this.selectBook = ''
|
@@ -324,7 +324,7 @@ export default {
|
|
324
324
|
tui.f_user_state = '正常'
|
325
325
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
326
326
|
AND ${userCondition}`
|
327
|
-
await new HttpResetClass().load('POST', '
|
327
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: upUser}},
|
328
328
|
{resolveMsg: null, rejectMsg: '调整用户失败'})
|
329
329
|
this.$showMessage('调整用户成功')
|
330
330
|
this.selectBook = ''
|
@@ -399,7 +399,7 @@ export default {
|
|
399
399
|
tui.f_user_state = '正常'
|
400
400
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
401
401
|
AND ${userCondition}`
|
402
|
-
await new HttpResetClass().load('POST', '
|
402
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: delUser}},
|
403
403
|
{resolveMsg: null, rejectMsg: '删除片区失败'})
|
404
404
|
this.$showMessage('从片区删除所选用户成功')
|
405
405
|
this.selectBook = ''
|
@@ -451,7 +451,7 @@ export default {
|
|
451
451
|
checkBook: this.checkBook,
|
452
452
|
sqlStr: condition
|
453
453
|
}
|
454
|
-
new HttpResetClass().load('post', '
|
454
|
+
new HttpResetClass().load('post', 'api/af-safecheck/logic/AddCheckBook', {data}).then(res => {
|
455
455
|
//tag)
|
456
456
|
if (res.data.id) {
|
457
457
|
this.$showMessage('创建成功')
|
@@ -319,7 +319,7 @@ export default {
|
|
319
319
|
tui.f_user_state = '正常'
|
320
320
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
321
321
|
AND ${userCondition}`
|
322
|
-
await new HttpResetClass().load('POST', '
|
322
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: addUser}},
|
323
323
|
{resolveMsg: null, rejectMsg: '添加用户失败'})
|
324
324
|
this.$showMessage('添加用户成功')
|
325
325
|
this.selectBook = ''
|
@@ -356,7 +356,7 @@ export default {
|
|
356
356
|
tui.f_user_state = '正常'
|
357
357
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
358
358
|
AND ${userCondition}`
|
359
|
-
await new HttpResetClass().load('POST', '
|
359
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: upUser}},
|
360
360
|
{resolveMsg: null, rejectMsg: '调整用户失败'})
|
361
361
|
this.$showMessage('调整用户成功')
|
362
362
|
this.selectBook = ''
|
@@ -431,7 +431,7 @@ export default {
|
|
431
431
|
tui.f_user_state = '正常'
|
432
432
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
433
433
|
AND ${userCondition}`
|
434
|
-
await new HttpResetClass().load('POST', '
|
434
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: delUser}},
|
435
435
|
{resolveMsg: null, rejectMsg: '删除片区失败'})
|
436
436
|
this.$showMessage('从片区删除所选用户成功')
|
437
437
|
this.selectBook = ''
|
@@ -483,7 +483,7 @@ export default {
|
|
483
483
|
checkBook: this.checkBook,
|
484
484
|
sqlStr: condition
|
485
485
|
}
|
486
|
-
new HttpResetClass().load('post', '
|
486
|
+
new HttpResetClass().load('post', 'api/af-safecheck/logic/AddCheckBook', {data}).then(res => {
|
487
487
|
//tag)
|
488
488
|
if (res.data.id) {
|
489
489
|
this.$showMessage('创建成功')
|
@@ -527,7 +527,7 @@ export default {
|
|
527
527
|
this.cbc=[]
|
528
528
|
this.sliceArea=[]
|
529
529
|
let http = new HttpResetClass()
|
530
|
-
let getMeterReadingBooks = await http.load('POST','
|
530
|
+
let getMeterReadingBooks = await http.load('POST','api/af-safecheck/logic/getMeterBooksData',
|
531
531
|
{data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
|
532
532
|
{resolveMsg: null, rejectMsg: '获取失败!!!'})
|
533
533
|
this.cbc = [{label: '全部', value: ''}]
|
@@ -35,9 +35,9 @@
|
|
35
35
|
</div>
|
36
36
|
<div class="form-group col-sm-4 button-range" >
|
37
37
|
<button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
|
38
|
-
<export-excel
|
38
|
+
<export-excel :data="$parent.$parent.exportParameter"
|
39
39
|
:field="$parent.$parent.excelHeaders"
|
40
|
-
sqlurl="
|
40
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="noplanItem"
|
41
41
|
template-name='无计划安检单明细' :choose-col="true">
|
42
42
|
</export-excel-safe>
|
43
43
|
|
@@ -29,10 +29,10 @@
|
|
29
29
|
condition="f_is_repaired = '{}'"></v-select>
|
30
30
|
</div>
|
31
31
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
32
|
-
<export-excel
|
32
|
+
<export-excel :data="$parent.$parent.searchData"
|
33
33
|
:field="$parent.$parent.excelHeaders"
|
34
34
|
progress="safeGetExportProgress"
|
35
|
-
sqlurl="
|
35
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="defectDetails" template-name='隐患处置'></export-excel-safe>
|
36
36
|
<button style="margin-left: 4px" class="button_search button_spacing" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
37
37
|
<button style="margin-left: 4px" class="button_search button_spacing" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
|
38
38
|
<button style="margin-left: 4px" class="button_search button_spacing" @click="search()">查询</button>
|
@@ -1,126 +1,126 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<button @click="handleClick">渲染</button>
|
4
|
-
<button @click="savePaper">保存</button>
|
5
|
-
<iframe v-if="showSketchPage" :src="sketchPageSrc" id="aaaa2" style="width: 100%; height: 600px;"></iframe>
|
6
|
-
</div>
|
7
|
-
</template>
|
8
|
-
|
9
|
-
<script>
|
10
|
-
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
11
|
-
import * as util from "../Util"
|
12
|
-
|
13
|
-
export default {
|
14
|
-
title: 'App',
|
15
|
-
data() {
|
16
|
-
return {
|
17
|
-
inputText: '',
|
18
|
-
showSketchPage: false,
|
19
|
-
sketchPageSrc: '/sketch',
|
20
|
-
sketchId: '',
|
21
|
-
title: '',
|
22
|
-
paperMessage: ''
|
23
|
-
};
|
24
|
-
},
|
25
|
-
props: {
|
26
|
-
row: {
|
27
|
-
type: Object
|
28
|
-
}
|
29
|
-
},
|
30
|
-
ready() {
|
31
|
-
if (this.row) {
|
32
|
-
try {
|
33
|
-
let hex = Buffer.from(this.row.blob, 'hex').toString('utf8');
|
34
|
-
if (!hex.includes('{')) {
|
35
|
-
this.inputText = Buffer.from(hex, 'hex').toString('utf8');
|
36
|
-
} else {
|
37
|
-
this.inputText = hex;
|
38
|
-
}
|
39
|
-
} catch (e) {
|
40
|
-
this.$showMessage('网络异常请联系管理员')
|
41
|
-
}
|
42
|
-
}
|
43
|
-
this.handleClick()
|
44
|
-
},
|
45
|
-
methods: {
|
46
|
-
handleClick() {
|
47
|
-
this.showSketchPage = true;
|
48
|
-
this.$nextTick(() => {
|
49
|
-
const sketchIframe = document.getElementById('aaaa2');
|
50
|
-
|
51
|
-
window.addEventListener('message', (event) => {
|
52
|
-
if (JSON.parse(event.data.param).gadgets.length > 0) {
|
53
|
-
this.paperMessage = event.data.param;
|
54
|
-
}
|
55
|
-
});
|
56
|
-
|
57
|
-
sketchIframe.contentWindow.postMessage(this.inputText, '*');
|
58
|
-
})
|
59
|
-
},
|
60
|
-
savePaper() {
|
61
|
-
if (!this.paperMessage) {
|
62
|
-
this.$showMessage('请先点击左上角保存图标')
|
63
|
-
return
|
64
|
-
}
|
65
|
-
let param = JSON.parse(this.paperMessage)
|
66
|
-
if (!param.title) {
|
67
|
-
this.$showMessage('请填写示意图标题')
|
68
|
-
return
|
69
|
-
}
|
70
|
-
param.sketchId = param.sketchId ? param.sketchId : util.generateUUID()
|
71
|
-
let gadgets = param.gadgets
|
72
|
-
if (gadgets.length > 0) {
|
73
|
-
var jsonString = JSON.stringify(param);
|
74
|
-
var reqdata = {
|
75
|
-
blob: Buffer.from(jsonString,'utf8').toString('hex'),
|
76
|
-
orgid: this.$login.f.orgid,
|
77
|
-
orgname: this.$login.f.orgs,
|
78
|
-
title: param.title,
|
79
|
-
sketchId: param.sketchId
|
80
|
-
}
|
81
|
-
new HttpResetClass().load('POST', '
|
82
|
-
if (res.data.code === 200) {
|
83
|
-
this.$showMessage('保存成功')
|
84
|
-
} else {
|
85
|
-
this.$showMessage('保存失败')
|
86
|
-
}
|
87
|
-
})
|
88
|
-
}
|
89
|
-
},
|
90
|
-
hexToBytes(hex) {
|
91
|
-
for (var bytes = [], c = 0; c < hex.length; c += 2)
|
92
|
-
bytes.push(parseInt(hex.substring(c, 2), 16));
|
93
|
-
return new Uint8Array(bytes);
|
94
|
-
},
|
95
|
-
decodeHexStringToJSON(hexString) {
|
96
|
-
// 去除前缀 "0x"
|
97
|
-
var cleanHexString = hexString.slice(2);
|
98
|
-
|
99
|
-
// 将十六进制字符串转换为字节数组
|
100
|
-
var byteArray = this.hexToBytes(cleanHexString);
|
101
|
-
|
102
|
-
// 创建 Blob 对象
|
103
|
-
var blob = new Blob([byteArray], {type: 'application/json'});
|
104
|
-
|
105
|
-
// 读取 Blob 为文本
|
106
|
-
return new Promise(function(resolve, reject) {
|
107
|
-
var reader = new FileReader();
|
108
|
-
reader.onloadend = function() {
|
109
|
-
resolve(reader.result);
|
110
|
-
};
|
111
|
-
reader.onerror = function() {
|
112
|
-
reject(reader.error);
|
113
|
-
};
|
114
|
-
reader.readAsText(blob, 'UTF-8');
|
115
|
-
});
|
116
|
-
}
|
117
|
-
},
|
118
|
-
// beforeDestroy() {
|
119
|
-
// this.savePaper()
|
120
|
-
// }
|
121
|
-
}
|
122
|
-
</script>
|
123
|
-
|
124
|
-
<style>
|
125
|
-
/* 这里可以添加样式 */
|
126
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<button @click="handleClick">渲染</button>
|
4
|
+
<button @click="savePaper">保存</button>
|
5
|
+
<iframe v-if="showSketchPage" :src="sketchPageSrc" id="aaaa2" style="width: 100%; height: 600px;"></iframe>
|
6
|
+
</div>
|
7
|
+
</template>
|
8
|
+
|
9
|
+
<script>
|
10
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
11
|
+
import * as util from "../Util"
|
12
|
+
|
13
|
+
export default {
|
14
|
+
title: 'App',
|
15
|
+
data() {
|
16
|
+
return {
|
17
|
+
inputText: '',
|
18
|
+
showSketchPage: false,
|
19
|
+
sketchPageSrc: '/sketch',
|
20
|
+
sketchId: '',
|
21
|
+
title: '',
|
22
|
+
paperMessage: ''
|
23
|
+
};
|
24
|
+
},
|
25
|
+
props: {
|
26
|
+
row: {
|
27
|
+
type: Object
|
28
|
+
}
|
29
|
+
},
|
30
|
+
ready() {
|
31
|
+
if (this.row) {
|
32
|
+
try {
|
33
|
+
let hex = Buffer.from(this.row.blob, 'hex').toString('utf8');
|
34
|
+
if (!hex.includes('{')) {
|
35
|
+
this.inputText = Buffer.from(hex, 'hex').toString('utf8');
|
36
|
+
} else {
|
37
|
+
this.inputText = hex;
|
38
|
+
}
|
39
|
+
} catch (e) {
|
40
|
+
this.$showMessage('网络异常请联系管理员')
|
41
|
+
}
|
42
|
+
}
|
43
|
+
this.handleClick()
|
44
|
+
},
|
45
|
+
methods: {
|
46
|
+
handleClick() {
|
47
|
+
this.showSketchPage = true;
|
48
|
+
this.$nextTick(() => {
|
49
|
+
const sketchIframe = document.getElementById('aaaa2');
|
50
|
+
|
51
|
+
window.addEventListener('message', (event) => {
|
52
|
+
if (JSON.parse(event.data.param).gadgets.length > 0) {
|
53
|
+
this.paperMessage = event.data.param;
|
54
|
+
}
|
55
|
+
});
|
56
|
+
|
57
|
+
sketchIframe.contentWindow.postMessage(this.inputText, '*');
|
58
|
+
})
|
59
|
+
},
|
60
|
+
savePaper() {
|
61
|
+
if (!this.paperMessage) {
|
62
|
+
this.$showMessage('请先点击左上角保存图标')
|
63
|
+
return
|
64
|
+
}
|
65
|
+
let param = JSON.parse(this.paperMessage)
|
66
|
+
if (!param.title) {
|
67
|
+
this.$showMessage('请填写示意图标题')
|
68
|
+
return
|
69
|
+
}
|
70
|
+
param.sketchId = param.sketchId ? param.sketchId : util.generateUUID()
|
71
|
+
let gadgets = param.gadgets
|
72
|
+
if (gadgets.length > 0) {
|
73
|
+
var jsonString = JSON.stringify(param);
|
74
|
+
var reqdata = {
|
75
|
+
blob: Buffer.from(jsonString,'utf8').toString('hex'),
|
76
|
+
orgid: this.$login.f.orgid,
|
77
|
+
orgname: this.$login.f.orgs,
|
78
|
+
title: param.title,
|
79
|
+
sketchId: param.sketchId
|
80
|
+
}
|
81
|
+
new HttpResetClass().load('POST', 'api/af-safecheck/logic/savePaperEdit', {data: reqdata}).then(res => {
|
82
|
+
if (res.data.code === 200) {
|
83
|
+
this.$showMessage('保存成功')
|
84
|
+
} else {
|
85
|
+
this.$showMessage('保存失败')
|
86
|
+
}
|
87
|
+
})
|
88
|
+
}
|
89
|
+
},
|
90
|
+
hexToBytes(hex) {
|
91
|
+
for (var bytes = [], c = 0; c < hex.length; c += 2)
|
92
|
+
bytes.push(parseInt(hex.substring(c, 2), 16));
|
93
|
+
return new Uint8Array(bytes);
|
94
|
+
},
|
95
|
+
decodeHexStringToJSON(hexString) {
|
96
|
+
// 去除前缀 "0x"
|
97
|
+
var cleanHexString = hexString.slice(2);
|
98
|
+
|
99
|
+
// 将十六进制字符串转换为字节数组
|
100
|
+
var byteArray = this.hexToBytes(cleanHexString);
|
101
|
+
|
102
|
+
// 创建 Blob 对象
|
103
|
+
var blob = new Blob([byteArray], {type: 'application/json'});
|
104
|
+
|
105
|
+
// 读取 Blob 为文本
|
106
|
+
return new Promise(function(resolve, reject) {
|
107
|
+
var reader = new FileReader();
|
108
|
+
reader.onloadend = function() {
|
109
|
+
resolve(reader.result);
|
110
|
+
};
|
111
|
+
reader.onerror = function() {
|
112
|
+
reject(reader.error);
|
113
|
+
};
|
114
|
+
reader.readAsText(blob, 'UTF-8');
|
115
|
+
});
|
116
|
+
}
|
117
|
+
},
|
118
|
+
// beforeDestroy() {
|
119
|
+
// this.savePaper()
|
120
|
+
// }
|
121
|
+
}
|
122
|
+
</script>
|
123
|
+
|
124
|
+
<style>
|
125
|
+
/* 这里可以添加样式 */
|
126
|
+
</style>
|
@@ -909,37 +909,40 @@ let asyncReady = async function (self) {
|
|
909
909
|
//tag
|
910
910
|
//tag)
|
911
911
|
console.log(res)
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
let
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
912
|
+
// 兼容旧版分公司获取
|
913
|
+
if(res.data.length>0){
|
914
|
+
if (!res.data[0].f_dir) {
|
915
|
+
self.$showMessage("该公司无组织目录,无法获取配置文件,请联系管理员确认")
|
916
|
+
} else {
|
917
|
+
//this.f_dir=res.data[0].f_dir
|
918
|
+
let url = self.newConfig == '是' ? '/safecheck/rs/safe_vue' : '/safecheck/rs/vue'
|
919
|
+
try {
|
920
|
+
let res1 = await new HttpResetClass().load('GET', `${url}/DevicesConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {}, {
|
921
|
+
resolveMsg: null,
|
922
|
+
rejectMsg: null
|
923
|
+
})/*.then(res=>{*/
|
924
|
+
//tag
|
925
|
+
//this.safeConfig["民用配置项"]=Object.assign({},res.data)
|
926
|
+
if (!Vue.config.safecheck) {
|
927
|
+
Vue.config = {safecheck: {}}
|
928
|
+
}
|
929
|
+
Vue.config.safecheck.DevicesConfig = res1.data
|
930
|
+
console.log(Vue.config.safecheck.DevicesConfig)
|
931
|
+
/*})*/
|
932
|
+
let res2 = await new HttpResetClass().load('GET', `${url}/DevicesSetConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {}, {
|
933
|
+
resolveMsg: null,
|
934
|
+
rejectMsg: null
|
935
|
+
})/*.then(res=>{*/
|
936
|
+
//tag
|
937
|
+
//this.safeConfig["非民用配置项"]=Object.assign({},res.data)
|
938
|
+
Vue.config.safecheck.DevicesSetConfig = res2.data
|
939
|
+
/*}).then(res=> {
|
940
|
+
})*/
|
939
941
|
|
940
|
-
|
941
|
-
|
942
|
-
|
942
|
+
} catch (e) {
|
943
|
+
// self.$showMessage("获取配置文件失败" + e)
|
944
|
+
self.loading = false
|
945
|
+
}
|
943
946
|
}
|
944
947
|
}
|
945
948
|
if (self.data.f_recheck_id) {
|
@@ -1824,7 +1827,7 @@ export default {
|
|
1824
1827
|
} else if (this.role == 'androidview') {
|
1825
1828
|
id = this.item.f_paper_id
|
1826
1829
|
}
|
1827
|
-
this.$resetpost(`
|
1830
|
+
this.$resetpost(`api/af-safecheck/logic/path_getCheckPaper`, {data: {id:id}}).then((respanse) => {
|
1828
1831
|
//tag
|
1829
1832
|
if (respanse.data.length != 0) {
|
1830
1833
|
// 包含 其它 特殊处理的数组
|
@@ -32,10 +32,10 @@
|
|
32
32
|
</div>
|
33
33
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
34
34
|
|
35
|
-
<export-excel
|
35
|
+
<export-excel :data="$parent.$parent.searchData"
|
36
36
|
:field="$parent.$parent.excelHeaders"
|
37
37
|
progress="safeGetExportProgress"
|
38
|
-
sqlurl="
|
38
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="safe_singleTable_OrderBy" template-name='异常差值明细'></export-excel-safe>
|
39
39
|
<!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
|
40
40
|
<button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
41
41
|
|
@@ -26,10 +26,10 @@
|
|
26
26
|
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
27
27
|
</div>
|
28
28
|
<div class="form-group col-sm-4" style="display: flex; gap: 15px">
|
29
|
-
<export-excel
|
29
|
+
<export-excel :data="$parent.$parent.searchData"
|
30
30
|
:field="$parent.$parent.excelHeaders"
|
31
31
|
progress="safeGetExportProgress"
|
32
|
-
sqlurl="
|
32
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细'></export-excel-safe>
|
33
33
|
<button class="button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
34
34
|
<button class="button_search" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
|
35
35
|
<button class="button_search" @click="search()">查询</button>
|
@@ -30,10 +30,10 @@
|
|
30
30
|
style="width: 60%" placeholder="单位名称" >
|
31
31
|
</div>
|
32
32
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
33
|
-
<export-excel
|
33
|
+
<export-excel :data="$parent.$parent.searchData"
|
34
34
|
:field="$parent.$parent.excelHeaders"
|
35
35
|
:choose-col="true"
|
36
|
-
sqlurl="
|
36
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="queryPaperEdit"
|
37
37
|
template-name='图纸编辑'></export-excel-safe>
|
38
38
|
<button class="button_spacing button_search" @click="$parent.$parent.search()">查询</button>
|
39
39
|
<button class="button_spacing button_search" @click="$parent.$parent.change()">新建</button>
|
@@ -46,10 +46,10 @@
|
|
46
46
|
</div>
|
47
47
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
48
48
|
|
49
|
-
<export-excel
|
49
|
+
<export-excel :data="$parent.$parent.searchData"
|
50
50
|
:field="$parent.$parent.excelHeaders"
|
51
51
|
progress="safeGetExportProgress"
|
52
|
-
sqlurl="
|
52
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="queryNoVisit" template-name='到访不遇'></export-excel-safe>
|
53
53
|
<button class="button_spacing button_search" @click="search()">查询</button>
|
54
54
|
</div>
|
55
55
|
</div>
|
@@ -42,9 +42,9 @@
|
|
42
42
|
<button type="button" name="button"
|
43
43
|
class="button_search button_spacing" @click="$parent.$parent.search">查询
|
44
44
|
</button>
|
45
|
-
<export-excel
|
45
|
+
<export-excel :data="$parent.$parent.searchData"
|
46
46
|
:field="$parent.$parent.excelHeaders"
|
47
|
-
sqlurl="
|
47
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="safe_singleTable_OrderBy"
|
48
48
|
:template-name="$parent.$parent.excelTitle"></export-excel-safe>
|
49
49
|
</div>
|
50
50
|
</div>
|
@@ -41,10 +41,10 @@
|
|
41
41
|
</role-selector-safe>
|
42
42
|
</div>
|
43
43
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;">
|
44
|
-
<export-excel
|
44
|
+
<export-excel :data="$parent.$parent.searchData"
|
45
45
|
:field="$parent.$parent.excelHeaders"
|
46
46
|
progress="safeGetExportProgress"
|
47
|
-
sqlurl="
|
47
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel"
|
48
48
|
sql-name="safe_singleTable_OrderBy"
|
49
49
|
template-name='安检设备'></export-excel-safe>
|
50
50
|
<button style="margin-left: 4px" class="button_search button_spacing" @click="$parent.$parent.search()">查询</button>
|
@@ -41,10 +41,10 @@
|
|
41
41
|
</div>
|
42
42
|
<div style="width: auto;margin-top:8px;float: right"
|
43
43
|
:class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
44
|
-
<export-excel
|
44
|
+
<export-excel :data="$parent.$parent.searchData"
|
45
45
|
:field="$parent.$parent.excelHeaders"
|
46
46
|
progress="safeGetExportProgress"
|
47
|
-
sqlurl="
|
47
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="noplanCount"
|
48
48
|
template-name='无计划安检单'></export-excel-safe>
|
49
49
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
50
50
|
<!-- <button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"-->
|
@@ -205,7 +205,7 @@
|
|
205
205
|
getOrgid() {
|
206
206
|
this.depments = []
|
207
207
|
let http = new HttpResetClass()
|
208
|
-
http.load('POST', '
|
208
|
+
http.load('POST', 'api/af-safecheck/logic/GetOrgid', {
|
209
209
|
orgid: this.$login.f.orgid
|
210
210
|
}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
|
211
211
|
this.depments.push({label: '全部', value: ''})
|
@@ -79,10 +79,10 @@
|
|
79
79
|
<!--</datepicker>-->
|
80
80
|
<!--</div>-->
|
81
81
|
<div style="width: auto;margin-top:8px;float: right" :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
82
|
-
<export-excel
|
82
|
+
<export-excel :data="$parent.$parent.searchData"
|
83
83
|
:field="$parent.$parent.excelHeaders"
|
84
84
|
progress="safeGetExportProgress"
|
85
|
-
sqlurl="
|
85
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="planCount" template-name='安检计划明细' ></export-excel-safe>
|
86
86
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
87
87
|
<!--<div class="button_spacing"-->
|
88
88
|
<!--:class="{'button_shrink_top':$parent.criteriaShow,'button_shrink_bottom':!$parent.criteriaShow}"-->
|
@@ -38,10 +38,10 @@
|
|
38
38
|
<button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
|
39
39
|
<button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
|
40
40
|
<!-- <button class="button_search" style="margin-right: 10px" @click="clear()">清除</button>-->
|
41
|
-
<export-excel
|
41
|
+
<export-excel :data="$parent.$parent.exportParameter"
|
42
42
|
:field="$parent.$parent.exportExcelField"
|
43
43
|
style="margin-left: 0px"
|
44
|
-
sqlurl="
|
44
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="planItem"
|
45
45
|
:template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'" :choose-col="true">
|
46
46
|
</export-excel-safe>
|
47
47
|
</div>
|
@@ -332,9 +332,9 @@
|
|
332
332
|
<!--<div class="form-group col-sm-4 button-range" >
|
333
333
|
|
334
334
|
<button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
|
335
|
-
<export-excel
|
335
|
+
<export-excel :data="$parent.$parent.exportParameter"
|
336
336
|
:field="$parent.$parent.excelHeaders"
|
337
|
-
sqlurl="
|
337
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="planItem"
|
338
338
|
template-name='安检计划明细' :choose-col="true">
|
339
339
|
</export-excel-safe>
|
340
340
|
|
@@ -553,7 +553,7 @@
|
|
553
553
|
this.cbc=[]
|
554
554
|
this.sliceArea=[]
|
555
555
|
let http = new HttpResetClass()
|
556
|
-
let getMeterReadingBooks = await http.load('POST','
|
556
|
+
let getMeterReadingBooks = await http.load('POST','api/af-safecheck/logic/getMeterBooksData',
|
557
557
|
{data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
|
558
558
|
{resolveMsg: null, rejectMsg: '获取失败!!!'})
|
559
559
|
this.cbc = [{label: '全部', value: ''}]
|