diff --git a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js index 8bda634..06cdc09 100644 --- a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js +++ b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js @@ -9,13 +9,20 @@ import { addRecord, securityCheckk, inspectionStaff, - showRecord + showRecord, + Enterpriseambiguity } from "../../../../utils/api" Page({ /** * 页面的初始数据 */ data: { + orderDate:"", + inspectIf:false, + selectedEnterpriseNames:[], + EnterpriseName:[], + index: 0, + companyList:[], showtime:false, checkboxOptions:[], hiddenDangeList: [], @@ -29,6 +36,7 @@ Page({ pageSize: 10, id: 0, addressContent: '', + showqiye:false, fmData: { gridId: '', attachmentList: [], //图片 @@ -67,7 +75,8 @@ Page({ currentDate: new Date().getTime(), minDate: new Date(2020, 0, 1).getTime(), maxDate: new Date(2030, 11, 31).getTime(), - checkboxValue:[] + checkboxValue:[], + searchKeyword:"" }, /** * 生命周期函数--监听页面加载 @@ -87,6 +96,34 @@ Page({ this.setData({ showtime:true }) + }, + inputChange(val){ + console.log(val.detail.value); + this.data.searchKeyword = val.detail.value.trim(); + let parm = { + name: this.data.searchKeyword, + pageSize:this.data.pageSize, + pageNo:this.data.pageNo + } + Enterpriseambiguity(parm).then(res => { + console.log(res.data.list); + this.setData({ + companyList:res.data.list, + showqiye:true + }) + console.log( this.data.companyList); + let names = [] + res.data.list.forEach(item=>{ + names.push(item.name) + }) + console.log(names); + this.data.EnterpriseName=names + }) + // clearTimeout(this.data.timer); + // this.data.timer = setTimeout(() => { + // // 调用后台接口或者模拟数据获取搜索结果 + // // this.pickerChange2(e); + // }, 300); // 设置延迟时间,比如300毫秒 }, onInputChange(e){ const index = e.currentTarget.dataset.index; @@ -245,17 +282,17 @@ Page({ }, getList() { - securityCheckk({ - pageNo: this.data.pageNo, - pageSize: this.data.pageSize, - }).then(({ - data - }) => { - console.log(data.list) - this.setData({ - companyList: data.list, - }); - }); + // securityCheckk({ + // pageNo: this.data.pageNo, + // pageSize: this.data.pageSize, + // }).then(({ + // data + // }) => { + // console.log(data.list) + // this.setData({ + // companyList: data.list, + // }); + // }); inspectionStaff({ orgId: App.globalData.user.agencyId, orgType: 'agency', @@ -268,6 +305,7 @@ Page({ arr: data.staffList }) }); + console.log(arr,"wdsfsd"); }, /** * 生命周期函数--监听页面初次渲染完成 @@ -347,6 +385,9 @@ Page({ }, onClose() { let names = [] + this.setData({ + showqiye:false + }) this.data.arr.forEach(item=>{ if(this.data.selectedOptions.findIndex(itemC=>itemC === item.staffId) != -1){ names.push(item.name) @@ -355,7 +396,8 @@ Page({ this.setData({ showPopup: false, selectedNames: names, - checkPersonsIdList:this.data.selectedOptions + checkPersonsIdList:this.data.selectedOptions, + selectedEnterpriseNames:[] }); // 关闭弹出层 }, onCloseTime(){ @@ -366,7 +408,39 @@ Page({ this.setData({ selectedOptions: event.detail }); - console.log(this.data.selectedOptions) + + }, + onChange2(event) { + console.log(event); + this.setData({ + selectedEnterpriseNames: event.detail, + searchKeyword:event.detail[0] + }); + console.log(event.detail); + console.log(this.data.companyList); + this.data.companyList.forEach(item=>{ + if(this.data.searchKeyword==item.name){ + this.data.companyId=item.companyId + this.data.orderDate=item.orderDate + } + + }) + const currentDate = new Date(); + const currentMonth = currentDate.getMonth() + 1; + const targetMonth = parseInt(this.data.orderDate.substring(5, 7), 10); + console.log(this.data.companyId,); + if (targetMonth === currentMonth) { + this.setData({ + inspectIf:true + }) + console.log( this.data.inspectIf); + } else { + this.setData({ + inspectIf:false + }) + } + + this.showRecordData() }, confirmSelection() { // 点击确定按钮后触发,处理选中的复选框项 diff --git a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.json b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.json index 2068200..7182fbf 100644 --- a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.json +++ b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.json @@ -9,6 +9,7 @@ "van-checkbox-group": "@vant/weapp/checkbox-group/index", "van-popup": "@vant/weapp/popup/index", "van-picker": "@vant/weapp/picker/index", - "van-datetime-picker": "@vant/weapp/datetime-picker/index" + "van-datetime-picker": "@vant/weapp/datetime-picker/index", + "van-search": "@vant/weapp/search/index" } } \ No newline at end of file diff --git a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxml b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxml index c7ae42c..4948450 100644 --- a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxml +++ b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxml @@ -17,15 +17,19 @@ 企业名称 - - - {{gridNName?gridNName:'请选择'}} - - +
+ + + +
+ +
+
@@ -159,6 +163,15 @@ + + + + + {{item.name}} + + + >>>>>> Stashed changes +} + +// 获取公钥 +function getPubKey() { + return fly.post(`auth/govweb/getKey`) +} +function changePassword(parm) { + return fly.post(`epmetuser/customerstaff/changePassword`, parm) +} +// 消息列表 +function getIntelligentMessage(param) { + return fly.get(`message/intelligentMessage/page`, param) +} + +function clearOneMessage(parm) { + return fly.post(`message/intelligentMessage/msg/clearOne/?msgId=${parm.msgId}`) +} +function clearMessage() { + return fly.post('message/intelligentMessage/msg/clear') +} +/** + *小程序用户登录 + */ +function userLoginlog(para) { + return fly.post('auth/gov/loginbypassword', para) +} +/** + *人员详情 + */ +function userXiangQ(id) { + // return fly.get('actual/base/residentIntegratedInfo/detail/masked/${id}', para) + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${id}`) +} +// 获取token +function getToken(para) { + return fly.post('auth/gov/loginwxmp/loginbywxcode', para) +} +// 退出登录 +function logout() { + return fly.post('auth/login/logout',) +} +// 居民查询 +function getResidentBaseInfo(para) { + return fly.post('actual/base/residentBaseInfo/residentSearchMP', para) +} +// 房屋查询 +function getCommunityHouse(para) { + return fly.post('actual/base/communityHouse/houseSearch', para) +} +// 获取用户信息 +function getStaffbasicinfo(para) { + return fly.post('epmetuser/customerstaff/staffbasicinfo', para) +} +// 新增居民 +function resiAdd(para) { + return fly.post('actual/base/residentBaseInfo/save', para) +} +//居民详情 +function getResiInfo(resiId) { + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${resiId}`) +} + +// 民族字典 +function getNationDictList() { + return fly.post('sys/dict/data/nation', { formCode: "resi_base_info" }) +} +// 文化程度字典 +function getEducationDictList() { + return fly.post('sys/dict/data/education', { formCode: "resi_base_info" }) +} +// 居民信息(根据当前用户组织id获取下级网格){"agencyId":"","purpose":""} +function getGridoptionDict(parm) { + return fly.post('gov/org/customergrid/gridoption', parm) +} +// 居民信息(选择网格获取小区列表) 入参 {"gridId":"","agencyId":""} +function getQuartersOptions(parm) { + return fly.post('actual/base/communityQuarters/listQuartersOptions', parm) +} +// 居民信息(选择小区获取楼栋列表) 入参 {"quartersId":"1565599579037511681"} +function getBuildingoption(id) { + return fly.post('actual/base/communityBuilding/buildingoption', { quartersId: id }) +} +// 居民信息(选择楼栋获取单元列表) 入参 {"buildingId":""} +function getUnitoption(id) { + return fly.post('actual/base/communityBuildingUnit/unitoption', { buildingId: id }) +} +// 居民信息(选择单元获取房屋列表) 入参{"unitId":""} +function getHouseoption(id) { + return fly.post('actual/base/communityHouse/houseoption', { unitId: id }) +} +// 运营端统一配置字典 +function getDictList(code) { + return fly.post('sys/dict/data/dictlist', { dictType: code }) +} +function getResiDetail(id) { + return fly.post(`actual/base/residentBaseInfo/detail/${id}`) +} +// 获取居住地详情 +function getResidentResideInfo(id) { + return fly.post(`actual/base/residentResideInfo/getResideInfoDetailById/${id}`) +} +// 获取宗教信仰详情 +function getResidentReligion(id) { + return fly.get(`actual/base/residentReligion/detail/${id}`) +} +// 获取教育详情 +function getResidentEduInfo(id) { + return fly.get(`actual/base/residentEduInfo/detail/${id}`) +} +// 获取家庭详情 +function getFamilyInfoDetailById(id) { + return fly.post(`actual/base/residentFamilyInfo/getFamilyInfoDetailById/${id}`) +} +// 居民修改 +function resiEdit(parm) { + return fly.post(`actual/base/residentBaseInfo/update`, parm) +} +// 工作页面信息采集面板 +function getSituation() { + return fly.get(`actual/base/wxcollect/situation`) +} +// 生成房屋码 +function getHouseCoding(id) { + return fly.post(`actual/base/communityHouse/getHouseCoding/${id}`) +} +// 房屋新增 +function saveCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/saveCommunityHouse`, parm) +} +// 房屋详情 +function getClearHouseDeatilById(id) { + return fly.post(`actual/base/communityHouse/getClearHouseDeatilById/${id}`) +} +// 房屋编辑 +function updateCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/updateCommunityHouse`, parm) +} +// 采集信息列表 +function getCollect(parm) { + return fly.post(`message/intelligentMessage/collect/page`, parm) +} +// 自查记录列表 +function getInspRecord(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspRecord/list`, parm) +} +// 自查统计 +function getSynthesis(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/stats/synthesis`, parm) +} +// 不满意结果列表 +function getInspResult(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspResult/list`, parm) +} +// 回访记录列表 +function getFollowUpList(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/list`, parm) +} +// 回访记录新增/修改 +function followUpSave(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/save`, parm) +} +// 回访记录删除 +function followUpDelete(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/delete/${parm}`,) +} +// 获取组织树 +function getAgencygridtree() { + return fly.post(`gov/org/customeragency/agencygridtree`,) +} +// 上报事件 +function addEvent(parm) { + return fly.post(`governance/icEventOld/add-event-resi`, parm) +} +// 上报诉求中选择居民 +function getResidentBaseInfoPage(parm) { + return fly.post(`actual/base/residentBaseInfo/page`, parm) +} +// 获取需求分类树 +function getDemandoption(parm) { + return fly.post(`governance/icresidemanddict/demandoption`, parm) +} +// 上报诉求 +function addMeasure(parm) { + return fly.post(`governance/userdemand/add`, parm) +} +// 获取不满意原因 +function getFollowUpDetail(id) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/detail/${id}`) +} +// 打卡 +function clockRecords(parm) { + return fly.post(`actual/base/clockRecords/save`, parm) +} +// 打卡记录 +function getCheckLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`, parm) +} +// 打卡记录 +function getLastLog(parm) { + return fly.get(`actual/base/clockRecords/lastLog`, parm) +} +// 获取居民脱敏信息 +function getResiUserInfo(id,parm) { + return fly.post(`actual/base/residentBaseInfo/getResiUserInfo/${id}`,parm) +} + +/// 获取居民档案 +function getPersonalFile(parm) { + return fly.post(`actual/base/peopleRoomOverview/getPersonalFile?resid=` + parm.resid) +} + +// 获取家庭关系(居民) + +function getFamilyRelationshipList(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipList?type=${parm.type}&resid=` + parm.id) +} +// 获取家庭关系(房屋) +function getFamilyRelationshipListByHouseId(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipListByHouseId?type=0&houseId=` + parm.id) +} +// 省满意度 +function provincialSatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/provincialSatisfactionPageList`, parm) +} +// 社区满意度 +function communitySatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/communitySatisfactionPageList`, parm) +} + +// 12345 +function eventPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/eventPageList`, parm) +} + +// 积分记录 +function recorHistory(parm) { + return fly.get(`actual/base/peopleRoomOverview/recorHistory`, parm) +} + +// 享受服务次数统计 +function serviceNumber(parm) { + return fly.get(`actual/base/peopleRoomOverview/serviceNumber`, parm) +} +//获取我的诉求摸排 +function getMyTroubleshootDemand(parm) { + return fly.get(`governance/demandCollect/my/collects`,parm) +} +// 过去事件详情 +function getIcEventOld(parm) { + return fly.post(`governance/icEventOld/detail`,parm) +} +//获取需求详情 +function getDemandDetail(parm) { + return fly.post(`governance/userdemand/demandDetail`,parm) +} +// 更新需求 +function updateMeasure(parm) { + return fly.post(`governance/userdemand/update`,parm) +} +// 取消需求 +function userDemandCance(parm) { + return fly.post(`governance/userdemand/cancel`,parm) +} +// 删除事件 +function icEventOldDelete(parm) { + return fly.post(`governance/icEventOld/delete`,parm) +} +// 更新事件 +function updateEvent(parm) { + return fly.post(`governance/icEventOld/update`,parm) +} +// 居民新增 +function submitResi(parm) { + return fly.post(`actual/base/residentBaseInfo/save`,parm) +} +function getAllOrgCategoryCount(parm) { + return fly.get(`actual/base/streetOverview/allOrgCategoryCount`,parm) +} +// 居民编辑 +function updatetResi(parm) { + return fly.post(`actual/base/residentBaseInfo/update`,parm) +} + +// 社区查询-房屋查询 +function houseSearch(parm) { + return fly.post(`actual/base/communityHouse/houseSearch`,parm) +} +// 社区查询-房屋概览查询 +function allOrgHouseInfo(parm) { + return fly.get(`actual/base/streetOverview/allOrgHouseInfo`,parm) +} +// 懒加载树状一级 +function getTopTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/initTree`,parm) +} +// 懒加载树状多层下级 +function getNextTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/nextTreeNode`,parm) +} + +// 获取打卡记录 +function getLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`,parm) +} + +// 获取房屋居民id +function getResiList(parm) { + return fly.post(`actual/base/residentBaseInfo/page`,parm) +} + +// 获取更新记录 +function houseResidentChangeRecord(parm) { + return fly.get(`actual/base/peopleRoomOverview/houseResidentChangeRecord`,parm) +} +//获取待采集房屋列表 +function waitCollectHouseList(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/waitCollectHouseList`,parm) +} +//信息不完整居民列表 +function nonIntResiList(parm){ + return fly.get(`actual/base/residentIntegrity/resiCategoryStats/nonIntResiList`,parm) +} +//安检巡查分页查询 +function securityCheckk(parm){ + return fly.post(`actual/base/companyInfo/page`,parm) +} +// +function overView(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/overview`,parm) +} +// 获取更新记录 +function getChangeRecordsById(id) { + return fly.post(`actual/base/residentChangeRecord/getChangeRecordsById/${id}`,) +} + +//巡查记录--新增 +function addRecord(parm){ + return fly.post(`actual/base/companyInfo/addRecord`,parm) +} +//巡查记录--展示 +function showRecord(parm){ + return fly.post(`actual/base/companyInfo/showRecord`,parm) +} +//检查人员 +function inspectionStaff(parm){ + return fly.post(`data/aggregator/org/stafflist`,parm) +} +<<<<<<< Updated upstream +//两小时内输入密码无需再输入 +function isUpdater(id){ + return fly.post(`actual/base/residentCategoryUpdateInfo/isUpdater/${id}`) +} + +======= +//企业模糊查询 +function Enterpriseambiguity(parm){ + return fly.post(`actual/base/companyInfo/page`,parm) +} +>>>>>>> Stashed changes diff --git a/utils/api_BASE_859.js b/utils/api_BASE_859.js new file mode 100644 index 0000000..2452291 --- /dev/null +++ b/utils/api_BASE_859.js @@ -0,0 +1,433 @@ +var fly = require('./request.js') +module.exports = { + getIntelligentMessage, + userLoginlog: userLoginlog, + getToken: getToken, + getResidentBaseInfo, + getCommunityHouse, + getStaffbasicinfo, + resiAdd: resiAdd, + getNationDictList, + getEducationDictList, + getDictList, + getGridoptionDict, + getQuartersOptions, + getBuildingoption, + getUnitoption, + getHouseoption, + getResiDetail, + getResidentResideInfo, + getResidentReligion, + getResidentEduInfo, + getFamilyInfoDetailById, + resiEdit, + getSituation, + getHouseCoding, + saveCommunityHouse, + updateCommunityHouse, + getClearHouseDeatilById, + getCollect, + clearMessage, + getInspRecord, + getSynthesis, + getInspResult, + getFollowUpList, + followUpSave, + followUpDelete, + logout, + getAgencygridtree, + addEvent, + getResidentBaseInfoPage, + getDemandoption, + addMeasure, + getFollowUpDetail, + clockRecords, + clearOneMessage, + getPubKey, + changePassword, + getCheckLogList, + getLastLog, + getResiUserInfo, + getPersonalFile, + getFamilyRelationshipList, + provincialSatisfactionPageList, + communitySatisfactionPageList, + eventPageList, + recorHistory, + serviceNumber, + getMyTroubleshootDemand, + getIcEventOld, + getDemandDetail, + updateMeasure, + userDemandCance, + icEventOldDelete, + updateEvent, + submitResi, + getAllOrgCategoryCount, + getResiInfo, + userXiangQ, + getTopTree, + getNextTree, + houseSearch, + allOrgHouseInfo, + getLogList, + updatetResi, + getResiList, + houseResidentChangeRecord, + waitCollectHouseList, + nonIntResiList, + securityCheckk, + overView, + getFamilyRelationshipListByHouseId, + addRecord, + showRecord, + inspectionStaff, + getChangeRecordsById +} + +// 获取公钥 +function getPubKey() { + return fly.post(`auth/govweb/getKey`) +} +function changePassword(parm) { + return fly.post(`epmetuser/customerstaff/changePassword`, parm) +} +// 消息列表 +function getIntelligentMessage(param) { + return fly.get(`message/intelligentMessage/page`, param) +} + +function clearOneMessage(parm) { + return fly.post(`message/intelligentMessage/msg/clearOne/?msgId=${parm.msgId}`) +} +function clearMessage() { + return fly.post('message/intelligentMessage/msg/clear') +} +/** + *小程序用户登录 + */ +function userLoginlog(para) { + return fly.post('auth/gov/loginbypassword', para) +} +/** + *人员详情 + */ +function userXiangQ(id) { + // return fly.get('actual/base/residentIntegratedInfo/detail/masked/${id}', para) + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${id}`) +} +// 获取token +function getToken(para) { + return fly.post('auth/gov/loginwxmp/loginbywxcode', para) +} +// 退出登录 +function logout() { + return fly.post('auth/login/logout',) +} +// 居民查询 +function getResidentBaseInfo(para) { + return fly.post('actual/base/residentBaseInfo/residentSearchMP', para) +} +// 房屋查询 +function getCommunityHouse(para) { + return fly.post('actual/base/communityHouse/houseSearch', para) +} +// 获取用户信息 +function getStaffbasicinfo(para) { + return fly.post('epmetuser/customerstaff/staffbasicinfo', para) +} +// 新增居民 +function resiAdd(para) { + return fly.post('actual/base/residentBaseInfo/save', para) +} +//居民详情 +function getResiInfo(resiId) { + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${resiId}`) +} + +// 民族字典 +function getNationDictList() { + return fly.post('sys/dict/data/nation', { formCode: "resi_base_info" }) +} +// 文化程度字典 +function getEducationDictList() { + return fly.post('sys/dict/data/education', { formCode: "resi_base_info" }) +} +// 居民信息(根据当前用户组织id获取下级网格){"agencyId":"","purpose":""} +function getGridoptionDict(parm) { + return fly.post('gov/org/customergrid/gridoption', parm) +} +// 居民信息(选择网格获取小区列表) 入参 {"gridId":"","agencyId":""} +function getQuartersOptions(parm) { + return fly.post('actual/base/communityQuarters/listQuartersOptions', parm) +} +// 居民信息(选择小区获取楼栋列表) 入参 {"quartersId":"1565599579037511681"} +function getBuildingoption(id) { + return fly.post('actual/base/communityBuilding/buildingoption', { quartersId: id }) +} +// 居民信息(选择楼栋获取单元列表) 入参 {"buildingId":""} +function getUnitoption(id) { + return fly.post('actual/base/communityBuildingUnit/unitoption', { buildingId: id }) +} +// 居民信息(选择单元获取房屋列表) 入参{"unitId":""} +function getHouseoption(id) { + return fly.post('actual/base/communityHouse/houseoption', { unitId: id }) +} +// 运营端统一配置字典 +function getDictList(code) { + return fly.post('sys/dict/data/dictlist', { dictType: code }) +} +function getResiDetail(id) { + return fly.post(`actual/base/residentBaseInfo/detail/${id}`) +} +// 获取居住地详情 +function getResidentResideInfo(id) { + return fly.post(`actual/base/residentResideInfo/getResideInfoDetailById/${id}`) +} +// 获取宗教信仰详情 +function getResidentReligion(id) { + return fly.get(`actual/base/residentReligion/detail/${id}`) +} +// 获取教育详情 +function getResidentEduInfo(id) { + return fly.get(`actual/base/residentEduInfo/detail/${id}`) +} +// 获取家庭详情 +function getFamilyInfoDetailById(id) { + return fly.post(`actual/base/residentFamilyInfo/getFamilyInfoDetailById/${id}`) +} +// 居民修改 +function resiEdit(parm) { + return fly.post(`actual/base/residentBaseInfo/update`, parm) +} +// 工作页面信息采集面板 +function getSituation() { + return fly.get(`actual/base/wxcollect/situation`) +} +// 生成房屋码 +function getHouseCoding(id) { + return fly.post(`actual/base/communityHouse/getHouseCoding/${id}`) +} +// 房屋新增 +function saveCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/saveCommunityHouse`, parm) +} +// 房屋详情 +function getClearHouseDeatilById(id) { + return fly.post(`actual/base/communityHouse/getClearHouseDeatilById/${id}`) +} +// 房屋编辑 +function updateCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/updateCommunityHouse`, parm) +} +// 采集信息列表 +function getCollect(parm) { + return fly.post(`message/intelligentMessage/collect/page`, parm) +} +// 自查记录列表 +function getInspRecord(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspRecord/list`, parm) +} +// 自查统计 +function getSynthesis(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/stats/synthesis`, parm) +} +// 不满意结果列表 +function getInspResult(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspResult/list`, parm) +} +// 回访记录列表 +function getFollowUpList(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/list`, parm) +} +// 回访记录新增/修改 +function followUpSave(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/save`, parm) +} +// 回访记录删除 +function followUpDelete(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/delete/${parm}`,) +} +// 获取组织树 +function getAgencygridtree() { + return fly.post(`gov/org/customeragency/agencygridtree`,) +} +// 上报事件 +function addEvent(parm) { + return fly.post(`governance/icEventOld/add-event-resi`, parm) +} +// 上报诉求中选择居民 +function getResidentBaseInfoPage(parm) { + return fly.post(`actual/base/residentBaseInfo/page`, parm) +} +// 获取需求分类树 +function getDemandoption(parm) { + return fly.post(`governance/icresidemanddict/demandoption`, parm) +} +// 上报诉求 +function addMeasure(parm) { + return fly.post(`governance/userdemand/add`, parm) +} +// 获取不满意原因 +function getFollowUpDetail(id) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/detail/${id}`) +} +// 打卡 +function clockRecords(parm) { + return fly.post(`actual/base/clockRecords/save`, parm) +} +// 打卡记录 +function getCheckLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`, parm) +} +// 打卡记录 +function getLastLog(parm) { + return fly.get(`actual/base/clockRecords/lastLog`, parm) +} +// 获取居民脱敏信息 +function getResiUserInfo(id,parm) { + return fly.post(`actual/base/residentBaseInfo/getResiUserInfo/${id}`,parm) +} + +/// 获取居民档案 +function getPersonalFile(parm) { + return fly.post(`actual/base/peopleRoomOverview/getPersonalFile?resid=` + parm.resid) +} + +// 获取家庭关系(居民) + +function getFamilyRelationshipList(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipList?type=${parm.type}&resid=` + parm.id) +} +// 获取家庭关系(房屋) +function getFamilyRelationshipListByHouseId(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipListByHouseId?type=0&houseId=` + parm.id) +} +// 省满意度 +function provincialSatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/provincialSatisfactionPageList`, parm) +} +// 社区满意度 +function communitySatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/communitySatisfactionPageList`, parm) +} + +// 12345 +function eventPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/eventPageList`, parm) +} + +// 积分记录 +function recorHistory(parm) { + return fly.get(`actual/base/peopleRoomOverview/recorHistory`, parm) +} + +// 享受服务次数统计 +function serviceNumber(parm) { + return fly.get(`actual/base/peopleRoomOverview/serviceNumber`, parm) +} +//获取我的诉求摸排 +function getMyTroubleshootDemand(parm) { + return fly.get(`governance/demandCollect/my/collects`,parm) +} +// 过去事件详情 +function getIcEventOld(parm) { + return fly.post(`governance/icEventOld/detail`,parm) +} +//获取需求详情 +function getDemandDetail(parm) { + return fly.post(`governance/userdemand/demandDetail`,parm) +} +// 更新需求 +function updateMeasure(parm) { + return fly.post(`governance/userdemand/update`,parm) +} +// 取消需求 +function userDemandCance(parm) { + return fly.post(`governance/userdemand/cancel`,parm) +} +// 删除事件 +function icEventOldDelete(parm) { + return fly.post(`governance/icEventOld/delete`,parm) +} +// 更新事件 +function updateEvent(parm) { + return fly.post(`governance/icEventOld/update`,parm) +} +// 居民新增 +function submitResi(parm) { + return fly.post(`actual/base/residentBaseInfo/save`,parm) +} +function getAllOrgCategoryCount(parm) { + return fly.get(`actual/base/streetOverview/allOrgCategoryCount`,parm) +} +// 居民编辑 +function updatetResi(parm) { + return fly.post(`actual/base/residentBaseInfo/update`,parm) +} + +// 社区查询-房屋查询 +function houseSearch(parm) { + return fly.post(`actual/base/communityHouse/houseSearch`,parm) +} +// 社区查询-房屋概览查询 +function allOrgHouseInfo(parm) { + return fly.get(`actual/base/streetOverview/allOrgHouseInfo`,parm) +} +// 懒加载树状一级 +function getTopTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/initTree`,parm) +} +// 懒加载树状多层下级 +function getNextTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/nextTreeNode`,parm) +} + +// 获取打卡记录 +function getLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`,parm) +} + +// 获取房屋居民id +function getResiList(parm) { + return fly.post(`actual/base/residentBaseInfo/page`,parm) +} + +// 获取更新记录 +function houseResidentChangeRecord(parm) { + return fly.get(`actual/base/peopleRoomOverview/houseResidentChangeRecord`,parm) +} +//获取待采集房屋列表 +function waitCollectHouseList(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/waitCollectHouseList`,parm) +} +//信息不完整居民列表 +function nonIntResiList(parm){ + return fly.get(`actual/base/residentIntegrity/resiCategoryStats/nonIntResiList`,parm) +} +//安检巡查分页查询 +function securityCheckk(parm){ + return fly.post(`actual/base/companyInfo/page`,parm) +} +// +function overView(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/overview`,parm) +} +// 获取更新记录 +function getChangeRecordsById(id) { + return fly.post(`actual/base/residentChangeRecord/getChangeRecordsById/${id}`,) +} + +//巡查记录--新增 +function addRecord(parm){ + return fly.post(`actual/base/companyInfo/addRecord`,parm) +} +//巡查记录--展示 +function showRecord(parm){ + return fly.post(`actual/base/companyInfo/showRecord`,parm) +} +//检查人员 +function inspectionStaff(parm){ + return fly.post(`data/aggregator/org/stafflist`,parm) +} + diff --git a/utils/api_LOCAL_859.js b/utils/api_LOCAL_859.js new file mode 100644 index 0000000..b13f60d --- /dev/null +++ b/utils/api_LOCAL_859.js @@ -0,0 +1,438 @@ +var fly = require('./request.js') +module.exports = { + getIntelligentMessage, + userLoginlog: userLoginlog, + getToken: getToken, + getResidentBaseInfo, + getCommunityHouse, + getStaffbasicinfo, + resiAdd: resiAdd, + getNationDictList, + getEducationDictList, + getDictList, + getGridoptionDict, + getQuartersOptions, + getBuildingoption, + getUnitoption, + getHouseoption, + getResiDetail, + getResidentResideInfo, + getResidentReligion, + getResidentEduInfo, + getFamilyInfoDetailById, + resiEdit, + getSituation, + getHouseCoding, + saveCommunityHouse, + updateCommunityHouse, + getClearHouseDeatilById, + getCollect, + clearMessage, + getInspRecord, + getSynthesis, + getInspResult, + getFollowUpList, + followUpSave, + followUpDelete, + logout, + getAgencygridtree, + addEvent, + getResidentBaseInfoPage, + getDemandoption, + addMeasure, + getFollowUpDetail, + clockRecords, + clearOneMessage, + getPubKey, + changePassword, + getCheckLogList, + getLastLog, + getResiUserInfo, + getPersonalFile, + getFamilyRelationshipList, + provincialSatisfactionPageList, + communitySatisfactionPageList, + eventPageList, + recorHistory, + serviceNumber, + getMyTroubleshootDemand, + getIcEventOld, + getDemandDetail, + updateMeasure, + userDemandCance, + icEventOldDelete, + updateEvent, + submitResi, + getAllOrgCategoryCount, + getResiInfo, + userXiangQ, + getTopTree, + getNextTree, + houseSearch, + allOrgHouseInfo, + getLogList, + updatetResi, + getResiList, + houseResidentChangeRecord, + waitCollectHouseList, + nonIntResiList, + securityCheckk, + overView, + getFamilyRelationshipListByHouseId, + addRecord, + showRecord, + inspectionStaff, + getChangeRecordsById, + isUpdater +} + +// 获取公钥 +function getPubKey() { + return fly.post(`auth/govweb/getKey`) +} +function changePassword(parm) { + return fly.post(`epmetuser/customerstaff/changePassword`, parm) +} +// 消息列表 +function getIntelligentMessage(param) { + return fly.get(`message/intelligentMessage/page`, param) +} + +function clearOneMessage(parm) { + return fly.post(`message/intelligentMessage/msg/clearOne/?msgId=${parm.msgId}`) +} +function clearMessage() { + return fly.post('message/intelligentMessage/msg/clear') +} +/** + *小程序用户登录 + */ +function userLoginlog(para) { + return fly.post('auth/gov/loginbypassword', para) +} +/** + *人员详情 + */ +function userXiangQ(id) { + // return fly.get('actual/base/residentIntegratedInfo/detail/masked/${id}', para) + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${id}`) +} +// 获取token +function getToken(para) { + return fly.post('auth/gov/loginwxmp/loginbywxcode', para) +} +// 退出登录 +function logout() { + return fly.post('auth/login/logout',) +} +// 居民查询 +function getResidentBaseInfo(para) { + return fly.post('actual/base/residentBaseInfo/residentSearchMP', para) +} +// 房屋查询 +function getCommunityHouse(para) { + return fly.post('actual/base/communityHouse/houseSearch', para) +} +// 获取用户信息 +function getStaffbasicinfo(para) { + return fly.post('epmetuser/customerstaff/staffbasicinfo', para) +} +// 新增居民 +function resiAdd(para) { + return fly.post('actual/base/residentBaseInfo/save', para) +} +//居民详情 +function getResiInfo(resiId) { + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${resiId}`) +} + +// 民族字典 +function getNationDictList() { + return fly.post('sys/dict/data/nation', { formCode: "resi_base_info" }) +} +// 文化程度字典 +function getEducationDictList() { + return fly.post('sys/dict/data/education', { formCode: "resi_base_info" }) +} +// 居民信息(根据当前用户组织id获取下级网格){"agencyId":"","purpose":""} +function getGridoptionDict(parm) { + return fly.post('gov/org/customergrid/gridoption', parm) +} +// 居民信息(选择网格获取小区列表) 入参 {"gridId":"","agencyId":""} +function getQuartersOptions(parm) { + return fly.post('actual/base/communityQuarters/listQuartersOptions', parm) +} +// 居民信息(选择小区获取楼栋列表) 入参 {"quartersId":"1565599579037511681"} +function getBuildingoption(id) { + return fly.post('actual/base/communityBuilding/buildingoption', { quartersId: id }) +} +// 居民信息(选择楼栋获取单元列表) 入参 {"buildingId":""} +function getUnitoption(id) { + return fly.post('actual/base/communityBuildingUnit/unitoption', { buildingId: id }) +} +// 居民信息(选择单元获取房屋列表) 入参{"unitId":""} +function getHouseoption(id) { + return fly.post('actual/base/communityHouse/houseoption', { unitId: id }) +} +// 运营端统一配置字典 +function getDictList(code) { + return fly.post('sys/dict/data/dictlist', { dictType: code }) +} +function getResiDetail(id) { + return fly.post(`actual/base/residentBaseInfo/detail/${id}`) +} +// 获取居住地详情 +function getResidentResideInfo(id) { + return fly.post(`actual/base/residentResideInfo/getResideInfoDetailById/${id}`) +} +// 获取宗教信仰详情 +function getResidentReligion(id) { + return fly.get(`actual/base/residentReligion/detail/${id}`) +} +// 获取教育详情 +function getResidentEduInfo(id) { + return fly.get(`actual/base/residentEduInfo/detail/${id}`) +} +// 获取家庭详情 +function getFamilyInfoDetailById(id) { + return fly.post(`actual/base/residentFamilyInfo/getFamilyInfoDetailById/${id}`) +} +// 居民修改 +function resiEdit(parm) { + return fly.post(`actual/base/residentBaseInfo/update`, parm) +} +// 工作页面信息采集面板 +function getSituation() { + return fly.get(`actual/base/wxcollect/situation`) +} +// 生成房屋码 +function getHouseCoding(id) { + return fly.post(`actual/base/communityHouse/getHouseCoding/${id}`) +} +// 房屋新增 +function saveCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/saveCommunityHouse`, parm) +} +// 房屋详情 +function getClearHouseDeatilById(id) { + return fly.post(`actual/base/communityHouse/getClearHouseDeatilById/${id}`) +} +// 房屋编辑 +function updateCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/updateCommunityHouse`, parm) +} +// 采集信息列表 +function getCollect(parm) { + return fly.post(`message/intelligentMessage/collect/page`, parm) +} +// 自查记录列表 +function getInspRecord(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspRecord/list`, parm) +} +// 自查统计 +function getSynthesis(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/stats/synthesis`, parm) +} +// 不满意结果列表 +function getInspResult(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspResult/list`, parm) +} +// 回访记录列表 +function getFollowUpList(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/list`, parm) +} +// 回访记录新增/修改 +function followUpSave(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/save`, parm) +} +// 回访记录删除 +function followUpDelete(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/delete/${parm}`,) +} +// 获取组织树 +function getAgencygridtree() { + return fly.post(`gov/org/customeragency/agencygridtree`,) +} +// 上报事件 +function addEvent(parm) { + return fly.post(`governance/icEventOld/add-event-resi`, parm) +} +// 上报诉求中选择居民 +function getResidentBaseInfoPage(parm) { + return fly.post(`actual/base/residentBaseInfo/page`, parm) +} +// 获取需求分类树 +function getDemandoption(parm) { + return fly.post(`governance/icresidemanddict/demandoption`, parm) +} +// 上报诉求 +function addMeasure(parm) { + return fly.post(`governance/userdemand/add`, parm) +} +// 获取不满意原因 +function getFollowUpDetail(id) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/detail/${id}`) +} +// 打卡 +function clockRecords(parm) { + return fly.post(`actual/base/clockRecords/save`, parm) +} +// 打卡记录 +function getCheckLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`, parm) +} +// 打卡记录 +function getLastLog(parm) { + return fly.get(`actual/base/clockRecords/lastLog`, parm) +} +// 获取居民脱敏信息 +function getResiUserInfo(id,parm) { + return fly.post(`actual/base/residentBaseInfo/getResiUserInfo/${id}`,parm) +} + +/// 获取居民档案 +function getPersonalFile(parm) { + return fly.post(`actual/base/peopleRoomOverview/getPersonalFile?resid=` + parm.resid) +} + +// 获取家庭关系(居民) + +function getFamilyRelationshipList(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipList?type=${parm.type}&resid=` + parm.id) +} +// 获取家庭关系(房屋) +function getFamilyRelationshipListByHouseId(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipListByHouseId?type=0&houseId=` + parm.id) +} +// 省满意度 +function provincialSatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/provincialSatisfactionPageList`, parm) +} +// 社区满意度 +function communitySatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/communitySatisfactionPageList`, parm) +} + +// 12345 +function eventPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/eventPageList`, parm) +} + +// 积分记录 +function recorHistory(parm) { + return fly.get(`actual/base/peopleRoomOverview/recorHistory`, parm) +} + +// 享受服务次数统计 +function serviceNumber(parm) { + return fly.get(`actual/base/peopleRoomOverview/serviceNumber`, parm) +} +//获取我的诉求摸排 +function getMyTroubleshootDemand(parm) { + return fly.get(`governance/demandCollect/my/collects`,parm) +} +// 过去事件详情 +function getIcEventOld(parm) { + return fly.post(`governance/icEventOld/detail`,parm) +} +//获取需求详情 +function getDemandDetail(parm) { + return fly.post(`governance/userdemand/demandDetail`,parm) +} +// 更新需求 +function updateMeasure(parm) { + return fly.post(`governance/userdemand/update`,parm) +} +// 取消需求 +function userDemandCance(parm) { + return fly.post(`governance/userdemand/cancel`,parm) +} +// 删除事件 +function icEventOldDelete(parm) { + return fly.post(`governance/icEventOld/delete`,parm) +} +// 更新事件 +function updateEvent(parm) { + return fly.post(`governance/icEventOld/update`,parm) +} +// 居民新增 +function submitResi(parm) { + return fly.post(`actual/base/residentBaseInfo/save`,parm) +} +function getAllOrgCategoryCount(parm) { + return fly.get(`actual/base/streetOverview/allOrgCategoryCount`,parm) +} +// 居民编辑 +function updatetResi(parm) { + return fly.post(`actual/base/residentBaseInfo/update`,parm) +} + +// 社区查询-房屋查询 +function houseSearch(parm) { + return fly.post(`actual/base/communityHouse/houseSearch`,parm) +} +// 社区查询-房屋概览查询 +function allOrgHouseInfo(parm) { + return fly.get(`actual/base/streetOverview/allOrgHouseInfo`,parm) +} +// 懒加载树状一级 +function getTopTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/initTree`,parm) +} +// 懒加载树状多层下级 +function getNextTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/nextTreeNode`,parm) +} + +// 获取打卡记录 +function getLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`,parm) +} + +// 获取房屋居民id +function getResiList(parm) { + return fly.post(`actual/base/residentBaseInfo/page`,parm) +} + +// 获取更新记录 +function houseResidentChangeRecord(parm) { + return fly.get(`actual/base/peopleRoomOverview/houseResidentChangeRecord`,parm) +} +//获取待采集房屋列表 +function waitCollectHouseList(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/waitCollectHouseList`,parm) +} +//信息不完整居民列表 +function nonIntResiList(parm){ + return fly.get(`actual/base/residentIntegrity/resiCategoryStats/nonIntResiList`,parm) +} +//安检巡查分页查询 +function securityCheckk(parm){ + return fly.post(`actual/base/companyInfo/page`,parm) +} +// +function overView(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/overview`,parm) +} +// 获取更新记录 +function getChangeRecordsById(id) { + return fly.post(`actual/base/residentChangeRecord/getChangeRecordsById/${id}`,) +} + +//巡查记录--新增 +function addRecord(parm){ + return fly.post(`actual/base/companyInfo/addRecord`,parm) +} +//巡查记录--展示 +function showRecord(parm){ + return fly.post(`actual/base/companyInfo/showRecord`,parm) +} +//检查人员 +function inspectionStaff(parm){ + return fly.post(`data/aggregator/org/stafflist`,parm) +} +//两小时内输入密码无需再输入 +function isUpdater(id){ + return fly.post(`actual/base/residentCategoryUpdateInfo/isUpdater/${id}`) +} + diff --git a/utils/api_REMOTE_859.js b/utils/api_REMOTE_859.js new file mode 100644 index 0000000..82d648c --- /dev/null +++ b/utils/api_REMOTE_859.js @@ -0,0 +1,437 @@ +var fly = require('./request.js') +module.exports = { + getIntelligentMessage, + userLoginlog: userLoginlog, + getToken: getToken, + getResidentBaseInfo, + getCommunityHouse, + getStaffbasicinfo, + resiAdd: resiAdd, + getNationDictList, + getEducationDictList, + getDictList, + getGridoptionDict, + getQuartersOptions, + getBuildingoption, + getUnitoption, + getHouseoption, + getResiDetail, + getResidentResideInfo, + getResidentReligion, + getResidentEduInfo, + getFamilyInfoDetailById, + resiEdit, + getSituation, + getHouseCoding, + saveCommunityHouse, + updateCommunityHouse, + getClearHouseDeatilById, + getCollect, + clearMessage, + getInspRecord, + getSynthesis, + getInspResult, + getFollowUpList, + followUpSave, + followUpDelete, + logout, + getAgencygridtree, + addEvent, + getResidentBaseInfoPage, + getDemandoption, + addMeasure, + getFollowUpDetail, + clockRecords, + clearOneMessage, + getPubKey, + changePassword, + getCheckLogList, + getLastLog, + getResiUserInfo, + getPersonalFile, + getFamilyRelationshipList, + provincialSatisfactionPageList, + communitySatisfactionPageList, + eventPageList, + recorHistory, + serviceNumber, + getMyTroubleshootDemand, + getIcEventOld, + getDemandDetail, + updateMeasure, + userDemandCance, + icEventOldDelete, + updateEvent, + submitResi, + getAllOrgCategoryCount, + getResiInfo, + userXiangQ, + getTopTree, + getNextTree, + houseSearch, + allOrgHouseInfo, + getLogList, + updatetResi, + getResiList, + houseResidentChangeRecord, + waitCollectHouseList, + nonIntResiList, + securityCheckk, + overView, + getFamilyRelationshipListByHouseId, + addRecord, + showRecord, + inspectionStaff, + getChangeRecordsById, + Enterpriseambiguity +} + +// 获取公钥 +function getPubKey() { + return fly.post(`auth/govweb/getKey`) +} +function changePassword(parm) { + return fly.post(`epmetuser/customerstaff/changePassword`, parm) +} +// 消息列表 +function getIntelligentMessage(param) { + return fly.get(`message/intelligentMessage/page`, param) +} + +function clearOneMessage(parm) { + return fly.post(`message/intelligentMessage/msg/clearOne/?msgId=${parm.msgId}`) +} +function clearMessage() { + return fly.post('message/intelligentMessage/msg/clear') +} +/** + *小程序用户登录 + */ +function userLoginlog(para) { + return fly.post('auth/gov/loginbypassword', para) +} +/** + *人员详情 + */ +function userXiangQ(id) { + // return fly.get('actual/base/residentIntegratedInfo/detail/masked/${id}', para) + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${id}`) +} +// 获取token +function getToken(para) { + return fly.post('auth/gov/loginwxmp/loginbywxcode', para) +} +// 退出登录 +function logout() { + return fly.post('auth/login/logout',) +} +// 居民查询 +function getResidentBaseInfo(para) { + return fly.post('actual/base/residentBaseInfo/residentSearchMP', para) +} +// 房屋查询 +function getCommunityHouse(para) { + return fly.post('actual/base/communityHouse/houseSearch', para) +} +// 获取用户信息 +function getStaffbasicinfo(para) { + return fly.post('epmetuser/customerstaff/staffbasicinfo', para) +} +// 新增居民 +function resiAdd(para) { + return fly.post('actual/base/residentBaseInfo/save', para) +} +//居民详情 +function getResiInfo(resiId) { + return fly.get(`actual/base/residentIntegratedInfo/detail/masked/${resiId}`) +} + +// 民族字典 +function getNationDictList() { + return fly.post('sys/dict/data/nation', { formCode: "resi_base_info" }) +} +// 文化程度字典 +function getEducationDictList() { + return fly.post('sys/dict/data/education', { formCode: "resi_base_info" }) +} +// 居民信息(根据当前用户组织id获取下级网格){"agencyId":"","purpose":""} +function getGridoptionDict(parm) { + return fly.post('gov/org/customergrid/gridoption', parm) +} +// 居民信息(选择网格获取小区列表) 入参 {"gridId":"","agencyId":""} +function getQuartersOptions(parm) { + return fly.post('actual/base/communityQuarters/listQuartersOptions', parm) +} +// 居民信息(选择小区获取楼栋列表) 入参 {"quartersId":"1565599579037511681"} +function getBuildingoption(id) { + return fly.post('actual/base/communityBuilding/buildingoption', { quartersId: id }) +} +// 居民信息(选择楼栋获取单元列表) 入参 {"buildingId":""} +function getUnitoption(id) { + return fly.post('actual/base/communityBuildingUnit/unitoption', { buildingId: id }) +} +// 居民信息(选择单元获取房屋列表) 入参{"unitId":""} +function getHouseoption(id) { + return fly.post('actual/base/communityHouse/houseoption', { unitId: id }) +} +// 运营端统一配置字典 +function getDictList(code) { + return fly.post('sys/dict/data/dictlist', { dictType: code }) +} +function getResiDetail(id) { + return fly.post(`actual/base/residentBaseInfo/detail/${id}`) +} +// 获取居住地详情 +function getResidentResideInfo(id) { + return fly.post(`actual/base/residentResideInfo/getResideInfoDetailById/${id}`) +} +// 获取宗教信仰详情 +function getResidentReligion(id) { + return fly.get(`actual/base/residentReligion/detail/${id}`) +} +// 获取教育详情 +function getResidentEduInfo(id) { + return fly.get(`actual/base/residentEduInfo/detail/${id}`) +} +// 获取家庭详情 +function getFamilyInfoDetailById(id) { + return fly.post(`actual/base/residentFamilyInfo/getFamilyInfoDetailById/${id}`) +} +// 居民修改 +function resiEdit(parm) { + return fly.post(`actual/base/residentBaseInfo/update`, parm) +} +// 工作页面信息采集面板 +function getSituation() { + return fly.get(`actual/base/wxcollect/situation`) +} +// 生成房屋码 +function getHouseCoding(id) { + return fly.post(`actual/base/communityHouse/getHouseCoding/${id}`) +} +// 房屋新增 +function saveCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/saveCommunityHouse`, parm) +} +// 房屋详情 +function getClearHouseDeatilById(id) { + return fly.post(`actual/base/communityHouse/getClearHouseDeatilById/${id}`) +} +// 房屋编辑 +function updateCommunityHouse(parm) { + return fly.post(`actual/base/communityHouse/updateCommunityHouse`, parm) +} +// 采集信息列表 +function getCollect(parm) { + return fly.post(`message/intelligentMessage/collect/page`, parm) +} +// 自查记录列表 +function getInspRecord(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspRecord/list`, parm) +} +// 自查统计 +function getSynthesis(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/stats/synthesis`, parm) +} +// 不满意结果列表 +function getInspResult(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/inspResult/list`, parm) +} +// 回访记录列表 +function getFollowUpList(parm) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/list`, parm) +} +// 回访记录新增/修改 +function followUpSave(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/save`, parm) +} +// 回访记录删除 +function followUpDelete(parm) { + return fly.post(`governance/satisfaction/communitySelfInsp/followUp/delete/${parm}`,) +} +// 获取组织树 +function getAgencygridtree() { + return fly.post(`gov/org/customeragency/agencygridtree`,) +} +// 上报事件 +function addEvent(parm) { + return fly.post(`governance/icEventOld/add-event-resi`, parm) +} +// 上报诉求中选择居民 +function getResidentBaseInfoPage(parm) { + return fly.post(`actual/base/residentBaseInfo/page`, parm) +} +// 获取需求分类树 +function getDemandoption(parm) { + return fly.post(`governance/icresidemanddict/demandoption`, parm) +} +// 上报诉求 +function addMeasure(parm) { + return fly.post(`governance/userdemand/add`, parm) +} +// 获取不满意原因 +function getFollowUpDetail(id) { + return fly.get(`governance/satisfaction/communitySelfInsp/followUp/detail/${id}`) +} +// 打卡 +function clockRecords(parm) { + return fly.post(`actual/base/clockRecords/save`, parm) +} +// 打卡记录 +function getCheckLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`, parm) +} +// 打卡记录 +function getLastLog(parm) { + return fly.get(`actual/base/clockRecords/lastLog`, parm) +} +// 获取居民脱敏信息 +function getResiUserInfo(id,parm) { + return fly.post(`actual/base/residentBaseInfo/getResiUserInfo/${id}`,parm) +} + +/// 获取居民档案 +function getPersonalFile(parm) { + return fly.post(`actual/base/peopleRoomOverview/getPersonalFile?resid=` + parm.resid) +} + +// 获取家庭关系(居民) + +function getFamilyRelationshipList(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipList?type=${parm.type}&resid=` + parm.id) +} +// 获取家庭关系(房屋) +function getFamilyRelationshipListByHouseId(parm) { + return fly.post(`actual/base/peopleRoomOverview/getFamilyRelationshipListByHouseId?type=0&houseId=` + parm.id) +} +// 省满意度 +function provincialSatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/provincialSatisfactionPageList`, parm) +} +// 社区满意度 +function communitySatisfactionPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/communitySatisfactionPageList`, parm) +} + +// 12345 +function eventPageList(parm) { + return fly.post(`actual/base/peopleRoomOverview/eventPageList`, parm) +} + +// 积分记录 +function recorHistory(parm) { + return fly.get(`actual/base/peopleRoomOverview/recorHistory`, parm) +} + +// 享受服务次数统计 +function serviceNumber(parm) { + return fly.get(`actual/base/peopleRoomOverview/serviceNumber`, parm) +} +//获取我的诉求摸排 +function getMyTroubleshootDemand(parm) { + return fly.get(`governance/demandCollect/my/collects`,parm) +} +// 过去事件详情 +function getIcEventOld(parm) { + return fly.post(`governance/icEventOld/detail`,parm) +} +//获取需求详情 +function getDemandDetail(parm) { + return fly.post(`governance/userdemand/demandDetail`,parm) +} +// 更新需求 +function updateMeasure(parm) { + return fly.post(`governance/userdemand/update`,parm) +} +// 取消需求 +function userDemandCance(parm) { + return fly.post(`governance/userdemand/cancel`,parm) +} +// 删除事件 +function icEventOldDelete(parm) { + return fly.post(`governance/icEventOld/delete`,parm) +} +// 更新事件 +function updateEvent(parm) { + return fly.post(`governance/icEventOld/update`,parm) +} +// 居民新增 +function submitResi(parm) { + return fly.post(`actual/base/residentBaseInfo/save`,parm) +} +function getAllOrgCategoryCount(parm) { + return fly.get(`actual/base/streetOverview/allOrgCategoryCount`,parm) +} +// 居民编辑 +function updatetResi(parm) { + return fly.post(`actual/base/residentBaseInfo/update`,parm) +} + +// 社区查询-房屋查询 +function houseSearch(parm) { + return fly.post(`actual/base/communityHouse/houseSearch`,parm) +} +// 社区查询-房屋概览查询 +function allOrgHouseInfo(parm) { + return fly.get(`actual/base/streetOverview/allOrgHouseInfo`,parm) +} +// 懒加载树状一级 +function getTopTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/initTree`,parm) +} +// 懒加载树状多层下级 +function getNextTree(parm) { + return fly.get(`actual/base/communityBuilding/tree/nextTreeNode`,parm) +} + +// 获取打卡记录 +function getLogList(parm) { + return fly.get(`actual/base/clockRecords/logList`,parm) +} + +// 获取房屋居民id +function getResiList(parm) { + return fly.post(`actual/base/residentBaseInfo/page`,parm) +} + +// 获取更新记录 +function houseResidentChangeRecord(parm) { + return fly.get(`actual/base/peopleRoomOverview/houseResidentChangeRecord`,parm) +} +//获取待采集房屋列表 +function waitCollectHouseList(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/waitCollectHouseList`,parm) +} +//信息不完整居民列表 +function nonIntResiList(parm){ + return fly.get(`actual/base/residentIntegrity/resiCategoryStats/nonIntResiList`,parm) +} +//安检巡查分页查询 +function securityCheckk(parm){ + return fly.post(`actual/base/companyInfo/page`,parm) +} +// +function overView(parm){ + return fly.get(`actual/base/communityHouse/resiAndHouseCollect/overview`,parm) +} +// 获取更新记录 +function getChangeRecordsById(id) { + return fly.post(`actual/base/residentChangeRecord/getChangeRecordsById/${id}`,) +} + +//巡查记录--新增 +function addRecord(parm){ + return fly.post(`actual/base/companyInfo/addRecord`,parm) +} +//巡查记录--展示 +function showRecord(parm){ + return fly.post(`actual/base/companyInfo/showRecord`,parm) +} +//检查人员 +function inspectionStaff(parm){ + return fly.post(`data/aggregator/org/stafflist`,parm) +} +//企业模糊查询 +function Enterpriseambiguity(parm){ + return fly.post(`actual/base/companyInfo/page`,parm) +}