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.
		
		
		
		
			
				
					45 lines
				
				1.3 KiB
			
		
		
			
		
	
	
					45 lines
				
				1.3 KiB
			| 
								 
											2 years ago
										 
									 | 
							
								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)
							 | 
						||
| 
								 | 
							
								}
							 |