|
|
|
var request = require('./request.js')
|
|
|
|
const paramsFormat = function (params) {
|
|
|
|
let strArray = []
|
|
|
|
for(let key in params) {
|
|
|
|
if(params[key] || params[key] == 0 || params[key] == '0') {
|
|
|
|
strArray.push(key+'='+params[key])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return strArray.join('&')
|
|
|
|
}
|
|
|
|
|
|
|
|
// 12345事件
|
|
|
|
export function getComplainList(params) {
|
|
|
|
return request.post(`actual/base/peopleRoomOverview/eventPageList`, params)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 省满意度
|
|
|
|
export function getShengList(params) {
|
|
|
|
return request.post(`actual/base/peopleRoomOverview/provincialSatisfactionPageList`, params)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 满意度自查
|
|
|
|
export function getShequList(params) {
|
|
|
|
return request.post(`actual/base/peopleRoomOverview/communitySatisfactionPageList`, params)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 上报事件
|
|
|
|
export function getshijianList(params) {
|
|
|
|
return request.post(`actual/base/peopleRoomOverview/eventPageList`, params)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 居民需求
|
|
|
|
export function getxuqiuList(params) {
|
|
|
|
return request.post(`actual/base/peopleRoomOverview/demandOfResidentsPageList`, params)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 社区服务
|
|
|
|
export function getfuwuList(params) {
|
|
|
|
return request.post(`actual/base/peopleRoomOverview/communityServicePageList`, params)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 打卡记录
|
|
|
|
export function getPunchRecord(params) {
|
|
|
|
return request.post(`actual/base/peopleRoomOverview/provincialSatisfactionPageList`, params)
|
|
|
|
}
|
|
|
|
// 打卡记录
|
|
|
|
export function getMultiLogList(params) {
|
|
|
|
return request.get(`actual/base/clockRecords/multiLogList`, params)
|
|
|
|
}
|