You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rcgy_xmf_qrcode/js/chunk-181e31e0.5bd0ddce.js.map

1 line
56 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["webpack:///./src/api/butler.js","webpack:///./src/plugins/DownloadExcel.js","webpack:///./src/views/butler/page/visitorManagement.vue?a804","webpack:///./src/views/butler/page/visitorManagement.vue","webpack:///src/views/butler/page/visitorManagement.vue","webpack:///./src/views/butler/page/visitorManagement.vue?220f","webpack:///./src/views/butler/page/visitorManagement.vue?32d5"],"names":["userArticleOutCountArticleOutNow","data","service","request","method","url","params","userArticleOutCountPerformed","adviceCountComplaintNew","adviceCountPraiseNew","userDecorationCountDecorationNow","userDecorationCountPerformed","voteCountVoteExpectedStart","voteFindDetailById","voteFindById","voteInsert","voteUpdate","voteRelease","adviceFindById","complaintPraiseFindById","complaintPraiseInsertDetail","adviceInsertDetail","adviceCountConsultNew","adviceCountAdviceNew","visitorsCancel","visitorsUpdate","visitorsListDetail","visitorsFindById","AddQrCode","removeQrCode","reportRepairFindRepairDetail","repairEngineeringInsert","repairEngineeringFindById","articleInsert","articleUpdate","reportRepairInsert","dispatchDispatch","reportRepairUpdate","repairWorkOrderDetail","dispatchRevisit","dispatchCancel","dispatchFindSysUserLikeActualName","reportRepairFindById","questionnaireInsert","questionnaireFindById","questionnaireUpdate","questionnaireReportAnalysis","articleFindById","gambitInsert","gambitUpdate","gambitFindById","gambitThemeFindCommentByThemeId","gambitThemeDeleteCommentByCommentId","gambitThemeRecovery","gambitThemeEnableComment","gambitThemeEnableTheme","gambitThemeList","workOrderType","workOrderTypeUpdate","workOrderTypeInsert","workOrderTypeDelete","workOrderTypeDetailInsert","workOrderTimeLimitInsert","workOrderTypeDetailDelete","workOrderTimeLimitFindById","workOrderTimeLimitUpdate","workOrderTypeDetailUpdate","workOrderTypeFindById","workOrderTypeList","workOrderTimeLimitList","borrowRemind","gambitEnableGambit","gambitDisableGambit","async","DownloadExcel","that","Excel","response","GetTableData","push","tableList","pageCount","i","pageNum","ExcelLoading","partDownloadExcel","console","log","render","_vm","this","_c","_self","staticClass","_m","staticStyle","attrs","fetchData","json_fields","finishDownload","_v","ref","config","on","tableCheck","scopedSlots","_u","key","fn","slotData","_s","_f","visitDateStart","slot","edit_vrisible","drawerClose","reviseForm","$event","onSubmit","recordVrisible","recordConfig","staticRenderFns","countNew","table_row","拜访房屋名称","访客姓名","访客电话","访客性别","field","callback","访客车牌号","预约到访日期","申请人","申请时间","thead","label","type","width","prop","slotName","table_data","search_item","placeholder","size","ruleForm","roomName","name","status","tel","weight","departureTime","visitDate","form_item","disabled","options","value","checkbox","filters","capitalize","methods","lock","text","spinner","background","Loading","id","sex","isDrive","carNum","expectedVisitDate","effectiveTime","visitorStatus","message","record","result","edit","toVoid","arr","confirmButtonText","cancelButtonText","confirmButtonClass","cancelButtonClass","then","ids","catch","action","cancel","getClose","component"],"mappings":"kHAAA,gyEAGO,SAASA,EAAiCC,GAC7C,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,qCACLC,OAAQL,IAIT,SAASM,EAA6BN,GACzC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,iCACLC,OAAQL,IAqBT,SAASO,EAAwBP,GACpC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,qCACLC,OAAQL,IAIT,SAASQ,EAAqBR,GACjC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,kCACLC,OAAQL,IAIT,SAASS,EAAiCT,GAC7C,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,qCACLC,OAAQL,IAIT,SAASU,EAA6BV,GACzC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,iCACLC,OAAQL,IAIT,SAASW,EAA2BX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AAD,cACA,CAAAF,aAAAG,WAAAD,cACA,CACAF,aACAG,WACAD,aACAD,gBACAP,iBACA,cACA,OACA,UAEA,OACA,UAEA,QACA,SAKA,CAAAM,cAAAG,iBAAAD,aACA,CACAF,eACAG,sBACAD,YACAD,YACAG,2BAEA,CACAJ,YACAG,kBACAD,aAEA,CACAF,aACAG,kBACAD,cAGAG,cACAC,aAQA,CACAL,aACAD,aACAO,kBACAJ,aAaA,CACAF,WACAD,cACAO,kBACAJ,aAmDArI,sBACAJ,MACAkF,UACA4D,UAIA3B,YACA4B,UACAC,cACAC,UACAC,YACAC,SACAC,YACAb,UACAc,mBACAC,gBAEAC,WACA,CACAhB,aACAD,aACAO,kBACAL,aACAC,gBACAe,aAEA,CACAjB,aACAD,aACAO,kBACAL,YACAC,aAEA,CACAF,cACAD,aACAO,kBACAY,SACA,CAAAC,QAAApB,YACA,CAAAoB,QAAApB,aAEAE,YACAC,YAEA,CACAF,cACAD,aACAO,kBACAY,SACA,CAAAC,QAAApB,aACA,CAAAoB,QAAApB,aAEAE,YACAC,gBAEA,CACAF,aACAD,YACAO,oBACAL,YACAC,eAGA,CACAF,gBACAD,eACAO,wBACAL,YACAC,0BAEA,CACAF,gBACAD,cACAO,uBACAW,YACAhB,YACAC,sBAEA,CACAF,gBACAD,eACAO,wBACAL,YACAC,kBAEA,CACAF,gBACAD,eACAO,wBACAL,YACAC,sBAEA,CACAF,cACAD,aACAO,sBACAY,SACA,CAAAC,QAAApB,YACA,CAAAoB,QAAApB,YACA,CAAAoB,QAAApB,aACA,CAAAoB,QAAApB,aAEAE,YACAC,wBAIAlB,cACAc,OACA,CAAAC,WAAAC,aAAAC,aACA,CAAAF,aAAAG,qBAAAD,cACA,CAAAF,aAAAG,iBAAAD,gBAEAmB,YACAhB,iBAOAiB,SACAC,uBACA,UACAH,eACA,mBAFA,KAKAI,SAEA,kBACA,IACA,GACA1J,sBACAJ,MACAkF,UACA4D,WAGA,qCACA,UAGA3D,kBACA,uBACA4E,QACAC,mBACAC,0BACAC,kCAEAC,8BACA9E,qBAGAa,iBACA,wBACAiE,WASA5D,cACA,kBAGAc,WACA,OACA+C,wBACAnB,mCACAoB,iCACAC,yCACAC,uCACAC,6DACAlB,6CACAD,qDACAoB,qDACAC,sDAEAlJ,2BACA,WACA,eACAmJ,kBACApC,iBAEA,4BACA,mBAEA,0BAKAqC,UACA,aACA,cAKA,YAJA,eACAD,iBACApC,eAIA,OACA6B,YAEA3I,2BACA,IACA,uBACA,6BACAoJ,4BAEAxF,sBAGA,eACAsF,qBACApC,gBAKAuC,QACA,aACA,cAKA,YAJA,eACAH,iBACApC,eAIA,OACA6B,YAEA1I,2BACA,IACA,qCACA,mCACA,2CACA,yCACA,2CACAmJ,oBACA,+CACA,uCACAA,gBACA,uCACAA,gBACA,uCACAA,gBACA,8BAIA,eACAF,qBACApC,gBAIArB,cACA,sBACA,wBAGA6D,UACA,SACA,wCACAC,6BAEA,cACA,qCACA,QACA,CACAC,uBACAC,sBACAC,mCACAC,mCAGAC,KAAA,KACA,OACAC,OAEA/J,2BACA,UAEA,eACAoJ,kBACApC,qBAIAgD,MAAAC,QAGAC,UACA,wBAGAC,YACA,wBACA,0BCrkByX,I,wBCQrXC,EAAY,eACd,EACApG,EACAiC,GACA,EACA,KACA,WACA,MAIa,aAAAmE,E","file":"js/chunk-181e31e0.5bd0ddce.js","sourcesContent":["import service from '../utils/request'\nimport requestUrl from './requestUrl'\n// 查询今日预计家庭物品出户数量\nexport function userArticleOutCountArticleOutNow(data) {\n return service.request({\n method: 'GET',\n url: '/userArticleOut/countArticleOutNow',\n params: data\n })\n}\n// 查询未执行的家庭物品出户数量\nexport function userArticleOutCountPerformed(data) {\n return service.request({\n method: 'GET',\n url: '/userArticleOut/countPerformed',\n params: data\n })\n}\n// 物品出门:查询出门照片\n// /userArticleOut/findGoOutImgById\nexport function userArticleOuFindGoOutImgById(data) {\n return service.request({\n method: 'GET',\n url: '/userArticleOut/findGoOutImgById',\n params: data\n })\n}\n//访客管理: 查询今日家庭申报访客通行数量\nexport function visitorsCountVisitorsNew(data) {\n return service.request({\n method: 'GET',\n url: '/visitors/countVisitorsNew',\n params: data\n })\n}\n//投诉表扬:查询今日投诉条数\nexport function adviceCountComplaintNew(data) {\n return service.request({\n method: 'GET',\n url: '/complaintPraise/countComplaintNew',\n params: data\n })\n}\n// 投诉表扬:查询今日表扬条数\nexport function adviceCountPraiseNew(data) {\n return service.request({\n method: 'GET',\n url: '/complaintPraise/countPraiseNew',\n params: data\n })\n}\n//装修管理: 查询今日预计发起装修数量\nexport function userDecorationCountDecorationNow(data) {\n return service.request({\n method: 'GET',\n url: '/userDecoration/countDecorationNow',\n params: data\n })\n}\n// 装修管理: 查询未执行的家庭装修数量\nexport function userDecorationCountPerformed(data) {\n return service.request({\n method: 'GET',\n url: '/userDecoration/countPerformed',\n params: data\n })\n}\n// 投票管理:即将开始的投票数\nexport function voteCountVoteExpectedStart(data) {\n return service.request({\n method: 'GET',\n url: '/vote/countVoteExpectedStart',\n params: data\n })\n}\n// 根据投票主键id查询投票信息详情页面\nexport function voteFindDetailById(data) {\n return service.request({\n method: 'GET',\n url: '/vote/findDetailById',\n params: data\n })\n}\n// /vote/listVotePersonnel\n// 根据投票管理主键id和候选人主键ID查询候选人投票详情信息\nexport function voteListVotePersonnel(data) {\n return service.request({\n method: 'GET',\n url: '/vote/listVotePersonnel',\n params: data\n })\n}\n// /vote/listDetailCandidate\n// 根据投票管理主键id查询所有投票候选人信息详情页面\nexport function voteListDetailCandidate(data) {\n return service.request({\n method: 'GET',\n url: '/vote/listDetailCandidate',\n params: data\n })\n}\n// /vote/findById\n// 投票管理根据投票主键id查询投票信息修改页面\nexport function voteFindById(data) {\n return service.request({\n method: 'GET',\n url: '/vote/findById',\n params: data\n })\n}\n// /vote/insert /vote/update\n// 投票管理新增\nexport function voteInsert(data) {\n return service.request({\n method: 'POST',\n url: '/vote/insert',\n data: data\n })\n}\n// 投票管理修改\nexport function voteUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/vote/update',\n data: data\n })\n}\n// 投票管理根据投票管理主键id批量发布投票信息\nexport function voteRelease(data) {\n return service.request({\n method: 'POST',\n url: '/vote/release',\n data: data\n })\n}\n\n// 根据咨询建议主键id查询咨询建议详情\nexport function adviceFindById(data) {\n return service.request({\n method: 'GET',\n url: '/advice/findById',\n params: data\n })\n}\n// /complaintPraise/findById\nexport function complaintPraiseFindById(data) {\n return service.request({\n method: 'GET',\n url: '/complaintPraise/findById',\n params: data\n })\n}\n// /complaintPraise/insertDetail\n// 投诉表扬:回复投诉表扬(添加反馈信息)[已替换违禁关键字]\nexport function complaintPraiseInsertDetail(data) {\n return service.request({\n method: 'POST',\n url: '/complaintPraise/insertDetail',\n data: data\n })\n}\n// 咨询建议:回复咨询建议(添加反馈信息)[已替换违禁关键字]\nexport function adviceInsertDetail(data) {\n return service.request({\n method: 'POST',\n url: '/advice/insertDetail',\n data: data\n })\n}\n// 查询今日咨询条数\nexport function adviceCountConsultNew(data) {\n return service.request({\n method: 'GET',\n url: '/advice/countConsultNew',\n params: data\n })\n}\n//查询今日建议条数\nexport function adviceCountAdviceNew(data) {\n return service.request({\n method: 'GET',\n url: '/advice/countAdviceNew',\n params: data\n })\n}\n// 访客管理:批量作废访客信息\nexport function visitorsCancel(data) {\n return service.request({\n method: 'POST',\n url: '/visitors/cancel',\n data: data\n })\n}\n// 访客管理:更新访客管理信息\nexport function visitorsUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/visitors/update',\n data: data\n })\n}\n// 访客管理根据访客管理信息主键id查询访客出入记录\nexport function visitorsListDetail(data) {\n return service.request({\n method: 'GET',\n url: '/visitors/listDetail',\n params: data\n })\n}\n// 访客管理根据访客管理主键id查询访客管理信息\nexport function visitorsFindById(data) {\n return service.request({\n method: 'GET',\n url: '/visitors/findById',\n params: data\n })\n}\n//门禁二维码doorQRCode/addQrCode doorQRCode/removeQrCode\nexport function AddQrCode(data) {\n return service.request({\n method: 'POST',\n url: '/doorQRCode/addQrCode',\n data: data\n })\n}\nexport function removeQrCode(data) {\n return service.request({\n method: 'POST',\n url: '/doorQRCode/removeQrCode',\n data: data\n })\n}\n// 报事报修:查询报修详情(报事报修派单界面的报修详情内容,主界面报修详情 请查询 【工单管理:报修工单详情】)\nexport function reportRepairFindRepairDetail(data) {\n return service.request({\n method: 'GET',\n url: '/reportRepair/findRepairDetail',\n params: data\n })\n}\n// repairEngineering/insert\nexport function repairEngineeringInsert(data) {\n return service.request({\n method: 'POST',\n url: '/repairEngineering/insert',\n data: data\n })\n}\n//repairEngineering/findById\nexport function repairEngineeringFindById(data) {\n return service.request({\n method: 'GET',\n url: '/repairEngineering/findById',\n params: data\n })\n}\n// 查询物品照片\nexport function userArticleOutFindGoodsImgById(data) {\n return service.request({\n method: 'GET',\n url: '/userArticleOut/findGoodsImgById',\n params: data\n })\n}\n//article/insert\nexport function articleInsert(data) {\n return service.request({\n method: 'POST',\n url: '/article/insert',\n data: data\n })\n}\nexport function articleUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/article/update',\n data: data\n })\n}\n// 报事报修:添加报事报修信息\nexport function reportRepairInsert(data) {\n return service.request({\n method: 'POST',\n url: '/reportRepair/insert',\n data: data\n })\n}\n// 工单管理:派工\nexport function dispatchDispatch(data) {\n return service.request({\n method: 'POST',\n url: '/dispatch/dispatch',\n data: data\n })\n}\n// /dispatch/findSysUserLikeActualName\n\n//报事报修:修改报事报修信息\nexport function reportRepairUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/reportRepair/update',\n data: data\n })\n}\n// 工单管理:报修工单详情\nexport function repairWorkOrderDetail(data) {\n return service.request({\n method: 'GET',\n url: '/dispatch/repairWorkOrderDetail',\n params: data\n })\n}\n// 工单管理:回访\nexport function dispatchRevisit(data) {\n return service.request({\n method: 'POST',\n url: '/dispatch/revisit',\n data: data\n })\n}\n// 工单管理:作废\nexport function dispatchCancel(data) {\n return service.request({\n method: 'POST',\n url: '/dispatch/cancel',\n data: data\n })\n}\n//工单管理:根据真实名字模糊查询用户信息(需要有派工权限)\nexport function dispatchFindSysUserLikeActualName(data) {\n return service.request({\n method: 'GET',\n url: '/dispatch/findSysUserLikeActualName',\n params: data\n })\n}\n// 报事报修根据报事报修主键id 查询报事报修信息\nexport function reportRepairFindById(data) {\n return service.request({\n method: 'GET',\n url: '/reportRepair/findById',\n params: data\n })\n}\n\n// 问卷调查:添加问卷调查表信息【照片未测】\nexport function questionnaireInsert(data) {\n return service.request({\n method: 'POST',\n url: '/questionnaire/insert',\n data: data\n })\n}\n//问卷调查根据问卷调查主键ID查询问卷调查信息\nexport function questionnaireFindById(data) {\n return service.request({\n method: 'GET',\n url: '/questionnaire/findById',\n params: data\n })\n}\n// 问卷调查:修改问卷\nexport function questionnaireUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/questionnaire/update',\n data: data\n })\n}\n//问卷调查:问卷调查报表分析\nexport function questionnaireReportAnalysis(data) {\n return service.request({\n method: 'GET',\n url: '/questionnaire/reportAnalysis',\n params: data\n })\n}\n// 物品管理根据物品主键id查询物品信息\nexport function articleFindById(data) {\n return service.request({\n method: 'GET',\n url: '/article/findById',\n params: data\n })\n}\n//\n// 小区话题管理:添加话题信息(物业后台添加)\nexport function gambitInsert(data) {\n return service.request({\n method: 'POST',\n url: '/gambit/insert',\n data: data\n })\n}\n// 小区话题管理:修改话题信息(物业后台修改)\nexport function gambitUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/gambit/update',\n data: data\n })\n}\n// 小区话题管理\nexport function gambitFindById(data) {\n return service.request({\n method: 'GET',\n url: '/gambit/findById',\n params: data\n })\n}\n// gambitTheme/findCommentByThemeId\nexport function gambitThemeFindCommentByThemeId(data) {\n return service.request({\n method: 'GET',\n url: '/gambitTheme/findCommentByThemeId',\n params: data\n })\n}\n// gambitTheme/deleteCommentByCommentId\nexport function gambitThemeDeleteCommentByCommentId(data) {\n return service.request({\n method: 'GET',\n url: '/gambitTheme/deleteCommentByCommentId',\n params: data\n })\n}\n// 主题明细管理:批量恢复主题明细信息\nexport function gambitThemeRecovery(data) {\n return service.request({\n method: 'POST',\n url: '/gambitTheme/recovery',\n data: data\n })\n}\n// 开启评论gambitTheme/enableComment gambitTheme/enableTheme\nexport function gambitThemeEnableComment(data) {\n return service.request({\n method: 'GET',\n url: '/gambitTheme/enableComment',\n params: data\n })\n}\nexport function gambitThemeEnableTheme(data) {\n return service.request({\n method: 'GET',\n url: '/gambitTheme/enableTheme',\n params: data\n })\n}\nexport function gambitThemeList(data) {\n return service.request({\n method: 'GET',\n url: '/gambitTheme/list',\n params: data\n })\n}\n// 工单设置\nexport function workOrderType(data) {\n return service.request({\n method: 'GET',\n url: '/workOrderType/list',\n params: data\n })\n}\n// 工单管理-工单设置:修改工单大类信息\nexport function workOrderTypeUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/workOrderType/update',\n data: data\n })\n}\n// 工单管理-工单设置:添加工单大类信息\nexport function workOrderTypeInsert(data) {\n return service.request({\n method: 'POST',\n url: '/workOrderType/insert',\n data: data\n })\n}\n// 工单管理-工单设置:删除工单大类信息\nexport function workOrderTypeDelete(data) {\n return service.request({\n method: 'GET',\n url: '/workOrderType/delete',\n params: data\n })\n}\n// 工单管理-工单设置:添加工单类型明细信息\nexport function workOrderTypeDetailInsert(data) {\n return service.request({\n method: 'POST',\n url: '/workOrderTypeDetail/insert',\n data: data\n })\n}\n// 工单管理-工单设置:添加工单时限信息\nexport function workOrderTimeLimitInsert(data) {\n return service.request({\n method: 'POST',\n url: '/workOrderTimeLimit/insert',\n data: data\n })\n}\n// 工单管理-工单设置:删除工单类型明细\nexport function workOrderTypeDetailDelete(data) {\n return service.request({\n method: 'POST',\n url: '/workOrderTypeDetail/delete',\n data: data\n })\n}\n// 工单管理-工单设置根据工单时限主键id查询工单时限信息\nexport function workOrderTimeLimitFindById(data) {\n return service.request({\n method: 'GET',\n url: '/workOrderTimeLimit/findById',\n params: data\n })\n}\n// 工单管理-工单设置:更新工单时限信息\nexport function workOrderTimeLimitUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/workOrderTimeLimit/update',\n data: data\n })\n}\n// 工单管理-工单设置:更新工单类型明细信息\nexport function workOrderTypeDetailUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/workOrderTypeDetail/update',\n data: data\n })\n}\n// 工单管理-工单设置根据工单类型明细主键id查询工单类型明细信息\nexport function workOrderTypeFindById(data) {\n return service.request({\n method: 'GET',\n url: '/workOrderTypeDetail/findById',\n params: data\n })\n}\n\n// 根据工单大类主键id查询工单类型明细信息\nexport function workOrderTypeList(data) {\n return service.request({\n method: 'GET',\n url: '/workOrderTypeDetail/list',\n params: data\n })\n}\n// 查询所有的工单时限管理信息\nexport function workOrderTimeLimitList(data) {\n return service.request({\n method: 'GET',\n url: '/workOrderTimeLimit/list',\n params: data\n })\n}\n// 借还管理:提醒(管理员发送)\nexport function borrowRemind(data) {\n return service.request({\n method: 'POST',\n url: '/borrow/remind',\n data: data\n })\n}\n// gambit/enableGambit disableGambit\nexport function gambitEnableGambit(data) {\n return service.request({\n method: 'GET',\n url: '/gambit/enableGambit',\n params: data\n })\n}\nexport function gambitDisableGambit(data) {\n return service.request({\n method: 'GET',\n url: '/gambit/disableGambit',\n params: data\n })\n}","import JsonExcel from 'vue-json-excel'\nimport { GetTableData } from '@/api/basic'\nexport async function DownloadExcel(params, that) {\n let Excel = []\n const response = await GetTableData(params)\n Excel.push(...response.tableList)\n if (response.pageCount > 1) {\n for (let i = 1; i < response.pageCount; i++) {\n params.pageNum = i + 1\n const data = await GetTableData(params)\n that.ExcelLoading(i, response.pageCount)\n Excel.push(...data.tableList)\n }\n }\n return Excel\n}\n\nexport async function partDownloadExcel(params) {\n let Excel = []\n const response = await GetTableData(params)\n console.log(response);\n Excel.push(...response.tableList)\n return Excel\n}\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./visitorManagement.vue?vue&type=style&index=0&id=1b55dc4a&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-content\"},[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{staticStyle:{\"width\":\"50px\"}},[_c('download-excel',{staticClass:\"export-excel-wrapper\",attrs:{\"fetch\":_vm.fetchData,\"fields\":_vm.json_fields,\"before-finish\":_vm.finishDownload,\"name\":\"访客记录.xls\"}},[_c('el-button',{attrs:{\"size\":\"mini\",\"icon\":\"el-icon-folder-add\",\"plain\":\"\"}},[_vm._v(\"导出Excel\")])],1)],1),_c('div',{},[_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck},scopedSlots:_vm._u([{key:\"visitDateStart\",fn:function(slotData){return [_c('div',[_vm._v(_vm._s(_vm._f(\"capitalize\")(slotData.data.visitDateStart)))])]}}])},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"})])],2),_c('Drawer',{attrs:{\"drawerTitle\":\"访客编辑\",\"drawerVrisible\":_vm.edit_vrisible},on:{\"drawerClose\":_vm.drawerClose}},[_c('div',{staticStyle:{\"padding\":\"30px\"}},[_c('FromCard',[_c('template',{slot:\"title\"},[_vm._v(\"基本信息\")]),[_c('VueForm',{ref:\"childFrom\",attrs:{\"formObj\":_vm.reviseForm}})]],2)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn-orange\",on:{\"click\":function($event){return _vm.onSubmit()}}},[_c('span',[_c('i',{staticClass:\"el-icon-circle-check\"}),_vm._v(\"提交\")])]),_c('button',{staticClass:\"btn-gray\",on:{\"click\":_vm.drawerClose}},[_c('span',[_vm._v(\"取消\")])])])]),_c('Drawer',{attrs:{\"drawerTitle\":\"出入记录\",\"drawerVrisible\":_vm.recordVrisible},on:{\"drawerClose\":_vm.drawerClose}},[_c('div',{staticStyle:{\"padding\":\"30px\"}},[_c('FromCard',[_c('template',{slot:\"title\"},[_vm._v(\"出入记录\")]),[_c('div',{staticStyle:{\"margin\":\"0 auto\"}},[_c('tableData',{attrs:{\"config\":_vm.recordConfig}})],1)]],2)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn-orange\",on:{\"click\":function($event){_vm.recordVrisible = false}}},[_c('span',[_vm._v(\"关闭\")])])])])],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-titel\"},[_c('span',[_vm._v(\"访客管理\")])])\n}]\n\nexport { render, staticRenderFns }","\n<template>\n <div class=\"main-content\">\n <div class=\"main-titel\">\n <span>访客管理</span>\n </div>\n <!-- <div class=\"tips\">\n <p>\n <span class=\"el-icon-warning-outline\"\n style=\"margin:0 12px\"></span>\n 温馨提示:今日有\n <span style=\"color:rgba(251, 71, 2, 1)\">{{countNew}}</span>\n 户家庭申报访客通行\n </p>\n </div> -->\n <div class=\"content\">\n <div style=\"width: 50px\">\n <download-excel\n class=\"export-excel-wrapper\"\n :fetch=\"fetchData\"\n :fields=\"json_fields\"\n :before-finish=\"finishDownload\"\n name=\"访客记录.xls\"\n >\n <!-- 上面可以自定义自己的样式还可以引用其他组件button -->\n <el-button size=\"mini\" icon=\"el-icon-folder-add\" plain\n >导出Excel</el-button\n >\n </download-excel>\n </div>\n <!-- 查询重制 -->\n <div class=\"\">\n <!-- 头部输入框 -->\n <VueTable ref=\"table\" :config=\"config\" @tableCheck=\"tableCheck\">\n <template v-slot:visitDateStart=\"slotData\">\n <div>{{ slotData.data.visitDateStart|capitalize}}</div>\n </template>\n <template slot=\"footer\">\n <div class=\"table-footer\">\n <!-- <button @click=\"edit(table_row)\">编辑</button> -->\n <!-- <button @click=\"record(table_row)\">出入记录</button>\n <button @click=\"toVoid(table_row)\">作废</button> -->\n </div>\n </template>\n </VueTable>\n <Drawer\n drawerTitle=\"访客编辑\"\n @drawerClose=\"drawerClose\"\n :drawerVrisible=\"edit_vrisible\"\n >\n <div style=\"padding: 30px\">\n <FromCard>\n <template slot=\"title\">基本信息</template>\n <template>\n <VueForm\n ref=\"childFrom\"\n :formObj=\"reviseForm\"\n ></VueForm>\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button class=\"btn-orange\" @click=\"onSubmit()\">\n <span>\n <i class=\"el-icon-circle-check\"></i>提交</span\n >\n </button>\n <button class=\"btn-gray\" @click=\"drawerClose\">\n <span>取消</span>\n </button>\n </div>\n </Drawer>\n\n <Drawer\n drawerTitle=\"出入记录\"\n @drawerClose=\"drawerClose\"\n :drawerVrisible=\"recordVrisible\"\n >\n <div style=\"padding: 30px\">\n <FromCard>\n <template slot=\"title\">出入记录</template>\n <template>\n <div style=\"margin: 0 auto\">\n <tableData\n :config=\"recordConfig\"\n ></tableData>\n </div>\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button\n class=\"btn-orange\"\n @click=\"recordVrisible = false\"\n >\n <span>关闭</span>\n </button>\n </div>\n </Drawer>\n <!-- 出入记录 -->\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { DownloadExcel } from '@/plugins/DownloadExcel'\nimport {\n visitorsCancel,\n visitorsFindById,\n visitorsUpdate,\n visitorsListDetail,\n visitorsCountVisitorsNew\n} from '@/api/butler'\nexport default {\n data() {\n return {\n edit_vrisible: false,\n recordVrisible: false,\n countNew: 0,\n // 选中表格数据\n table_row: [],\n json_fields: {\n 拜访房屋名称: 'roomName',\n 访客姓名: 'name',\n 访客电话: 'tel',\n 访客性别: {\n field: 'sex',\n callback: (value) => {\n switch (value) {\n case 1:\n return '男'\n break\n case 2:\n return '女'\n break\n }\n }\n },\n 访客车牌号: 'carNumber',\n 预约到访日期: {\n field: 'visitDateStart',\n callback: (value) => {\n if(value){\n return value.substring(0, 10)\n }\n }\n },\n 申请人: 'createName',\n 申请时间: 'createDate'\n },\n config: {\n thead: [\n { label: '序号', type: 'index', width: '80' },\n { label: '拜访房屋名称', prop: 'roomName', width: 'auto' },\n // { label: '类型', prop: 'type', width: ' auto' },\n { label: '访客姓名', prop: 'name', width: 'auto' },\n { label: '访客电话', prop: 'tel', width: 'auto' },\n {\n label: '访客性别',\n prop: 'sex',\n width: 'auto',\n type: 'function',\n callback: (row, prop) => {\n switch (row.sex) {\n case 1:\n return '男'\n break\n case 2:\n return '女'\n break\n default:\n break\n }\n }\n },\n // { label: '是否开车', prop: 'isDrive', width: 'auto ' },\n { label: '访客车牌号', prop: 'carNumber', width: '160' },\n {\n label: '预约到访日期',\n prop: 'visitDateStart',\n width: '180',\n type: 'slot',\n slotName: 'visitDateStart'\n },\n {\n label: '申请人',\n prop: 'createName',\n width: '180'\n },\n {\n label: '申请时间',\n prop: 'createDate',\n width: '180'\n }\n ],\n table_data: [],\n search_item: [\n // {\n // type: 'Input',\n // label: '房屋信息',\n // placeholder: '楼栋-单元-房号',\n // prop: 'roomName'\n // },\n\n {\n type: 'Input',\n label: '访客姓名',\n placeholder: '请输入',\n prop: 'name'\n },\n // {\n // type: 'select',\n // label: '访客性别',\n // value: null,\n // placeholder: '请输入',\n // prop: 'sex',\n // options: [\n // { value: '1', label: '男' },\n // { value: '2', label: '女' }\n // ]\n // },\n {\n type: 'Int',\n label: '访客手机号',\n placeholder: '请输入',\n prop: 'tel'\n }\n // {\n // type: 'startDate',\n // label: '预计到访时间开始',\n // placeholder: '请输入',\n // prop: 'expectedVisitDateStart'\n // },\n // {\n // type: 'endDate',\n // label: '预计到访时间结束',\n // placeholder: '请输入',\n // prop: 'expectedVisitDateEnd'\n // }\n // , {\n // type: 'startDate',\n // label: '实际到访时间',\n // placeholder: '请输入',\n // prop: 'visitDateStart\t'\n // },\n // {\n // type: 'endDate',\n // label: '实际离开时间',\n // placeholder: '请输入',\n // prop: 'visitDateEnd'\n // },\n // {\n // type: 'select',\n // label: '通行状态',\n // value: null,\n // placeholder: '请选择',\n // prop: 'visitorStatus',\n // options: [\n // { value: '1', label: '未到' },\n // { value: '2', label: '已到' },\n // { value: '3', label: '已过期' },\n // { value: '4', label: '作废' }\n // ]\n // },\n // {\n // type: 'select',\n // label: '类型',\n // value: null,\n // placeholder: '请选择',\n // prop: 'type',\n // options: [\n // { value: '1', label: '业主填写' },\n // { value: '2', label: '访客填写' }\n // ]\n // }\n ],\n url: 'visitorsNewList',\n data: {\n pageNum: 1,\n size: 10\n }\n },\n // 修改抽屉数据\n reviseForm: {\n ruleForm: {\n roomName: null,\n name: null,\n status: null,\n tel: null,\n weight: null,\n type: null,\n departureTime: null,\n visitDate: null\n },\n form_item: [\n {\n type: 'Input',\n label: '来访房屋',\n placeholder: '请输入',\n width: '100%',\n prop: 'roomName',\n disabled: true\n },\n {\n type: 'Input',\n label: '访客姓名',\n placeholder: '请输入',\n width: '50%',\n prop: 'name'\n },\n {\n type: 'Select',\n label: '访客性别',\n placeholder: '请输入',\n options: [\n { value: 1, label: '正常' },\n { value: 2, label: '有误' }\n ],\n width: '50%',\n prop: 'sex'\n },\n {\n type: 'Select',\n label: '是否开车',\n placeholder: '请输入',\n options: [\n { value: 1, label: '业委会' },\n { value: 2, label: '绿化' }\n ],\n width: '50%',\n prop: 'isDrive'\n },\n {\n type: 'Input',\n label: '车牌号',\n placeholder: '请输入权重',\n width: '50%',\n prop: 'carNum'\n },\n\n {\n type: 'DateTime',\n label: '预计到访时间',\n placeholder: '请输入预计到访时间',\n width: '50%',\n prop: 'expectedVisitDate'\n },\n {\n type: 'DateTime',\n label: '通行证时效',\n placeholder: '请输入通行证时效',\n disabled: true,\n width: '50%',\n prop: 'effectiveTime'\n },\n {\n type: 'DateTime',\n label: '实际到访时间',\n placeholder: '请输入实际到访时间',\n width: '50%',\n prop: 'visitDate'\n },\n {\n type: 'DateTime',\n label: '实际离开时间',\n placeholder: '请输入实际离开时间',\n width: '50%',\n prop: 'departureTime'\n },\n {\n type: 'Select',\n label: '访客状态',\n placeholder: '请输入访客状态',\n options: [\n { value: 1, label: '未到' },\n { value: 2, label: '已到' },\n { value: 3, label: '已过期' },\n { value: 4, label: '作废' }\n ],\n width: '50%',\n prop: 'visitorStatus'\n }\n ]\n },\n recordConfig: {\n thead: [\n { label: '序号', type: 'index', width: '110' },\n { label: '进入时间', prop: 'departureTime', width: 'auto' },\n { label: '出去时间', prop: 'visitTime', width: ' auto' }\n ],\n checkbox: false,\n table_data: []\n }\n }\n },\n // created() {\n // this.getTipsData()\n // },\n filters: {\n capitalize: function (value) {\n if (!value) return ''\n value = value.toString()\n return value.substring(0, 10)\n }\n },\n methods: {\n // Excel导出\n async fetchData() {\n let Excel = []\n let params = {\n url: 'visitorsNewList',\n data: {\n pageNum: 1,\n size: 100\n }\n }\n const data = await DownloadExcel(params, this)\n return data\n },\n // Excel进度\n ExcelLoading(page, pageCount) {\n const Loading = this.$loading({\n lock: true,\n text: `正在导出Excel${page}`,\n spinner: 'el-icon-loading',\n background: 'rgba(0, 0, 0, 0.7)'\n })\n Loading.text = `正在导出Excel ${page}/${pageCount}`\n console.log(Loading.text)\n },\n // Excel导出结束\n finishDownload() {\n const Loading = this.$loading()\n Loading.close()\n },\n // getTipsData() {\n // // 查询今日咨询条数\n // visitorsCountVisitorsNew().then((result) => {\n // console.log(result)\n // this.countNew = result.countNew\n // })\n // },\n tableCheck(arr) {\n this.table_row = arr\n },\n // 编辑提交\n onSubmit() {\n let resData = {\n id: this.table_row[0].id,\n name: this.reviseForm.ruleForm.name,\n sex: this.reviseForm.ruleForm.sex,\n isDrive: this.reviseForm.ruleForm.isDrive,\n carNum: this.reviseForm.ruleForm.carNum,\n expectedVisitDate: this.reviseForm.ruleForm.expectedVisitDate,\n visitDate: this.reviseForm.ruleForm.visitDate,\n departureTime: this.reviseForm.ruleForm.departureTime,\n effectiveTime: this.reviseForm.ruleForm.effectiveTime,\n visitorStatus: this.reviseForm.ruleForm.visitorStatus\n }\n visitorsUpdate(resData).then((result) => {\n if (result.status) {\n this.$message({\n message: result.message,\n type: 'success'\n })\n this.$refs.table.loadData()\n this.getTipsData()\n\n this.edit_vrisible = false\n }\n })\n },\n // 出入记录\n record(data) {\n if (data.length) {\n if (data.length > 1) {\n this.$message({\n message: '不能批量查看',\n type: 'error'\n })\n return\n }\n let resData = {\n id: data[0].id\n }\n visitorsListDetail(resData).then((result) => {\n if (result) {\n this.recordVrisible = true\n this.recordConfig.table_data =\n result.voUserVisitorsDetailList\n }\n console.log(result)\n })\n } else {\n this.$message({\n message: '请选择需要查看的数据',\n type: 'error'\n })\n }\n },\n // 编辑\n edit(data) {\n if (data.length) {\n if (data.length > 1) {\n this.$message({\n message: '不能批量编辑',\n type: 'error'\n })\n return\n }\n let resData = {\n id: data[0].id\n }\n visitorsFindById(resData).then((result) => {\n if (result) {\n this.reviseForm.ruleForm.name = result.name\n this.reviseForm.ruleForm.sex = result.sex\n this.reviseForm.ruleForm.isDrive = result.isDrive\n this.reviseForm.ruleForm.carNum = result.carNum\n this.reviseForm.ruleForm.expectedVisitDate =\n result.expectedVisitDate\n this.reviseForm.ruleForm.visitDate = result.visitDate\n this.reviseForm.ruleForm.departureTime =\n result.departureTime\n this.reviseForm.ruleForm.effectiveTime =\n result.effectiveTime\n this.reviseForm.ruleForm.visitorStatus =\n result.visitorStatus\n this.edit_vrisible = true\n }\n })\n } else {\n this.$message({\n message: '请选择需要编辑的数据',\n type: 'error'\n })\n }\n },\n drawerClose() {\n this.edit_vrisible = false\n this.recordVrisible = false\n },\n // 作废\n toVoid(data) {\n let arr = []\n for (let i = 0; i < this.table_row.length; i++) {\n arr.push(this.table_row[i].id)\n }\n this.$confirm(\n '确定要将访客信息作废吗?(若访客还未到访,作废将导致该访客无法进入)',\n '作废提示s',\n {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n confirmButtonClass: 'confirmButton',\n cancelButtonClass: 'cancelButton'\n }\n )\n .then(() => {\n let resData = {\n ids: arr\n }\n visitorsCancel(resData).then((result) => {\n if (!result.status) return\n // 判断数据是否存在\n this.$message({\n message: result.message,\n type: 'success'\n })\n })\n })\n .catch((action) => {})\n },\n // 监听子组件取消事件\n cancel(data) {\n this.dialog_visible = false\n },\n // 关闭抽屉\n getClose(data) {\n this.drawer_vrisible = false\n this.recordVrisible = false\n }\n }\n}\n</script>\n<style scoped>\n.tips {\n margin: 20px;\n height: 38px;\n line-height: 38px;\n background: #fafafa;\n border-radius: 4px;\n opacity: 0.8;\n border: 1px solid #e8e8e8;\n}\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./visitorManagement.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./visitorManagement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./visitorManagement.vue?vue&type=template&id=1b55dc4a&scoped=true&\"\nimport script from \"./visitorManagement.vue?vue&type=script&lang=js&\"\nexport * from \"./visitorManagement.vue?vue&type=script&lang=js&\"\nimport style0 from \"./visitorManagement.vue?vue&type=style&index=0&id=1b55dc4a&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1b55dc4a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}