| | |
| | | */ |
| | | |
| | | export const getPlacePractitionerPage = (type = 1, resBusId) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-placePractitioner/placePractitioner/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-placePractitioner/placePractitioner/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | |
| | | export const getTaskLabelReportingEventPage = (type = 1, resBusId) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskLabelReportingEvent/taskLabelReportingEvent/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskLabelReportingEvent/taskLabelReportingEvent/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | /** |
| | |
| | | * @returns |
| | | */ |
| | | export const getTaskLabelAntiFraudPage = (type = 1, resBusId) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-backblastPubRecord/backblastPubRecord/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-backblastPubRecord/backblastPubRecord/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | /** |
| | | * 反诈预警列表 |
| | |
| | | * @returns |
| | | */ |
| | | export const getBackblastWarnHanRec = (type = 1, resBusId) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-backblastWarnHanRec/backblastWarnHanRec/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-backblastWarnHanRec/backblastWarnHanRec/page', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | /** |
| | |
| | | * @returns |
| | | */ |
| | | export const getPoliceAlarmRecordsPage = (type = 1, resBusId, size, current) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | |
| | | return request({ |
| | | url: '/api/blade-policeAlarmRecords/policeAlarmRecords/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | }) |
| | | |
| | | |
| | | return request({ |
| | | url: '/api/blade-policeAlarmRecords/policeAlarmRecords/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | /** |
| | | * 消防检查 |
| | |
| | | */ |
| | | |
| | | export const getPlaceCheckPage = (type = 1, resBusId, size, current) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-placeCheck/placeCheck/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | }) |
| | | |
| | | return request({ |
| | | url: '/api/blade-placeCheck/placeCheck/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | |
| | | export const getTaskPlaceSelfCheckPage = (houseType = 1, type, resBusId, size, current) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (houseType != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/page', |
| | | method: 'get', |
| | | params: { |
| | | type, |
| | | ...params, |
| | | current, |
| | | size |
| | | if (houseType != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | }) |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/page', |
| | | method: 'get', |
| | | params: { |
| | | type, |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | |
| | | * @returns |
| | | */ |
| | | export const getHouseRentalPage = (type = 1, resBusId, size, current) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | |
| | | return request({ |
| | | url: '/api/blade-houseRental/houseRental/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | }) |
| | | |
| | | |
| | | return request({ |
| | | url: '/api/blade-houseRental/houseRental/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | /** |
| | | * 居住证申请列表 |
| | |
| | | * @returns |
| | | */ |
| | | export const geTaskResidencePermitApplyPage = (type = 1, reportType, resBusId, size, current) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskResidencePermitApply/taskResidencePermitApply/page', |
| | | method: 'get', |
| | | params: { |
| | | reportType, |
| | | ...params, |
| | | current, |
| | | size |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | }) |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskResidencePermitApply/taskResidencePermitApply/page', |
| | | method: 'get', |
| | | params: { |
| | | reportType, |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | /** |
| | | * 租客列表 |
| | |
| | | * @returns |
| | | */ |
| | | export const getTenantPage = (type = 1, relationship, resBusId, size, current) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-household/household/selectTenantPage', |
| | | method: 'get', |
| | | params: { |
| | | relationship, |
| | | ...params, |
| | | current, |
| | | size |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | }) |
| | | |
| | | return request({ |
| | | url: '/api/blade-household/household/selectTenantPage', |
| | | method: 'get', |
| | | params: { |
| | | relationship, |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | export const getTaskNoFraudReporting = (type = 1, resBusId, size, current) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | let params = { |
| | | resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | }) |
| | | |
| | | return request({ |
| | | url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | /** |
| | | * |
| | |
| | | * @returns |
| | | */ |
| | | export const getTaskNoFraudReportingInfo = (id) => { |
| | | return request({ |
| | | url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/getInfo', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | | } |
| | | }) |
| | | return request({ |
| | | url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/getInfo', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | | } |
| | | }) |
| | | } |
| | | /** |
| | | * |
| | |
| | | * @returns |
| | | */ |
| | | export const getHouseRentalDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-houseRental/houseRental/getDetail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | | } |
| | | }) |
| | | return request({ |
| | | url: '/api/blade-houseRental/houseRental/getDetail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | | } |
| | | }) |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | |
| | | export const getPatrolGroupTree = (type, childType) => { |
| | | return request({ |
| | | url: '/api/patrol/patrolGroup/getPatrolGroupTree', |
| | | method: 'get', |
| | | params: { |
| | | type, |
| | | childType |
| | | return request({ |
| | | url: '/api/patrol/patrolGroup/getPatrolGroupTree', |
| | | method: 'get', |
| | | params: { |
| | | type, |
| | | childType |
| | | } |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 自来水用户信息 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | |
| | | export const getZlsYhxx = (type = 1, resBusId) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | }) |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/zlsYhxx/zlsYhxx/page', |
| | | method: 'get', |
| | | // params |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 维修基金信息 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | |
| | | export const getWxjj = (type = 1, resBusId) => { |
| | | let params = { |
| | | resBusId |
| | | } |
| | | |
| | | if (type != 1) { |
| | | params = { |
| | | buildId: resBusId |
| | | } |
| | | } |
| | | |
| | | return request({ |
| | | url: '/api/wxjj/wxjj/page', |
| | | method: 'get', |
| | | // params |
| | | }) |
| | | } |