123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382 |
- import request from '@/utils/request'
- // 获取 房间现住人电话
- export function getRoomDetails(id) {
- return request({
- 'url': '/zdsz/house/' + id,
- 'method': 'get',
- })
- }
- // 未安装新增
- export function AddNotInstalled(param) {
- return request({
- 'url': '/zdsz/enginNotInstalled',
- 'method': 'post',
- 'data': param
- })
- }
- // 修改历史
- export function putHistory(param) {
- return request({
- 'url': '/zdsz/engineeringCivil',
- 'method': 'put',
- 'data': param
- })
- }
- // 获取历史详情
- export function getHistoryDetails(id, name) {
- return request({
- 'url': '/zdsz/engineeringCivil/' + id + '/' + name,
- 'method': 'get',
- })
- }
- // 通过身份查询历史
- export function gethistoryList(param) {
- return request({
- 'url': '/zdsz/engineeringCivil/list',
- 'method': 'get',
- 'data': param
- })
- }
- // 新增拆旧管
- export function openBolt(param) {
- return request({
- 'url': '/zdsz/openbolt',
- 'method': 'post',
- 'data': param
- })
- }
- // 修改房间信息
- export function putRoomDetails(id, newPhone) {
- const data = {
- id,
- newPhone
- }
- return request({
- 'url': '/zdsz/house/editById',
- 'method': 'post',
- 'data': data
- })
- }
- // 通过身份证查询房间信息
- export function getRoomDetailsIDCard(idCard) {
- const data = {
- idCard,
- }
- return request({
- 'url': '/zdsz/house/getHousesByIdCard',
- 'method': 'get',
- 'data': data
- })
- }
- // 获取公告列表
- export function getNoticeList(noticeType, pageNum, pageSize) {
- const data = {
- noticeType,
- pageNum,
- pageSize
- }
- return request({
- 'url': '/system/notice/listApp',
- 'method': 'get',
- 'data': data
- })
- }
- export function getInfrastructureList(id, type) {
- return request({
- 'url': '/zdsz/engineeringInfrastructure/' + id + '/' + type,
- 'method': 'get',
- })
- }
- //基建工程新增
- export function SubmitInfrastructure(param) {
- return request({
- 'url': '/zdsz/engineeringInfrastructure/AddApp',
- 'method': 'post',
- 'data': param
- })
- }
- //查询基建工程详情
- export function getInfrastructureDetails(id) {
- return request({
- 'url': '/zdsz/engineeringInfrastructure/' + id,
- 'method': 'get',
- })
- }
- //基建工程查询工程名称
- export function getInfrastructureNameList() {
- return request({
- 'url': '/zdsz/engineeringInfrastructure/select',
- 'method': 'get',
- })
- }
- //危险作业工程修改详情
- export function updateDangerousWorkProject(param) {
- return request({
- 'url': '/zdsz/engineeringDangerous',
- 'method': 'put',
- 'data': param,
- })
- }
- // 获取顶管工程历史
- export function getTopPipeHistoryList(id, type) {
- return request({
- 'url': '/zdsz/engineeringPipeJacking/' + id + '/' + type,
- 'method': 'get',
- })
- }
- //顶管工程新增
- export function SubmitTopPipeWork(param) {
- return request({
- 'url': '/zdsz/engineeringPipeJacking/AppAdd',
- 'method': 'post',
- 'data': param
- })
- }
- //查询顶管工程详情
- export function getTopPipeWorkDetails(id) {
- return request({
- 'url': '/zdsz/engineeringPipeJacking/' + id,
- 'method': 'get',
- })
- }
- //顶管工程查询名称
- export function getTopPipeNameList() {
- return request({
- 'url': '/zdsz/engineeringPipeJacking/queryListNew',
- 'method': 'get',
- })
- }
- //危险作业工程下拉列表查询
- export function getDangerousWorkProjectList(param) {
- return request({
- 'url': '/zdsz/engineeringDangerous/nameAndIdList',
- 'method': 'get',
- 'data': param
- })
- }
- //查询危险作业工程详情
- export function getDangerousWorkProjectDetails(id) {
- return request({
- 'url': '/zdsz/engineeringDangerous/query/' + id,
- 'method': 'get',
- })
- }
- // 获取工业工程历史2
- export function getEngineeringHistoryList2(id, type) {
- return request({
- 'url': '/zdsz/engineeringIndustry/query/' + id + '/' + type,
- 'method': 'get',
- })
- }
- // 获取工业工程历史
- export function getEngineeringHistoryList(id, type) {
- return request({
- 'url': '/zdsz/engineeringIndustry/' + id + '/' + type,
- 'method': 'get',
- })
- }
- // 工业工程 市政工程 详情 根据id 查询
- export function getEngineeringDetails(id) {
- return request({
- 'url': '/zdsz/engineeringIndustry/' + id,
- 'method': 'get',
- })
- }
- // 工业工程 市政工程 - 根据工程类型查询列表
- export function getengineeringNameList(enginType, type, enginClassification) {
- const data = {
- enginType,
- type,
- enginClassification
- }
- return request({
- 'url': '/zdsz/engineeringIndustry/queryNameByType',
- 'method': 'get',
- 'data': data
- })
- }
- // 根据小区楼栋单元 获取工程用料统计(areaId(string) 小区ID realityQuality材质 realitySpecifications 规格)
- export function getMunicipalStatisticsData(param) {
- return request({
- 'url': '/zdsz/materialStatistics/list',
- 'method': 'post',
- 'data': param
- })
- }
- // 根据楼栋小区单元楼栋 查询完成情况统计(areaId(string) 小区ID buildingId单元 unitId楼栋)
- export function getObtainRoomcCompletionInformationList(param) {
- return request({
- 'url': '/zdsz/engineeringCivil/getObtainRoomcCompletionInformationList',
- 'method': 'post',
- 'data': param
- })
- }
- // 新增(提交)市政工程
- export function submitMunicipalData(param) {
- return request({
- 'url': '/zdsz/engineeringIndustry',
- 'method': 'post',
- 'data': param
- })
- }
- // 工业工程修改
- export function Submitengineering(engineering) {
- return request({
- 'url': '/zdsz/engineeringIndustry',
- 'method': 'put',
- 'data': engineering
- })
- }
- // 获取房间工程历史
- export function getRoomProjectList(id, type) {
- return request({
- 'url': '/zdsz/engineeringCivil/' + id + '/' + type,
- 'method': 'get',
- })
- }
- // 查询房间是否有工程
- export function getRoomProjectId(room) {
- return request({
- 'url': '/zdsz/engineeringCivil/query',
- 'method': 'post',
- 'data': room
- })
- }
- // 材质规格下拉
- export function getEnginSpecificationsList(materId) {
- const data = {
- materId
- }
- return request({
- 'url': '/zdsz/enginSpecifications/getEnginSpecificationsList',
- 'method': 'get',
- 'data': data
- })
- }
- // 工程材质下拉
- export function getEnginMaterialQualityList(enginType, enginSort, enginNode, enginStep, nameType) {
- const data = {
- enginType
- }
- if (enginSort !== undefined) {
- data['enginSort'] = enginSort
- data['enginNode'] = enginNode
- data['enginStep'] = enginStep
- }
- if (nameType !== undefined) {
- data['nameType'] = nameType
- }
- return request({
- 'url': '/zdsz/enginMaterialQuality/getEnginMaterialQualityList',
- 'method': 'get',
- 'data': data
- })
- }
- // 新增拆旧管
- export function addTearOldPipe(param) {
- return request({
- 'url': '/zdsz/engineeringCivil',
- 'method': 'post',
- 'data': param
- })
- }
- // 获取小区字典值
- export function getAreaList(district) {
- const data = {
- district
- }
- return request({
- 'url': '/zdsz/area/getAreaList',
- 'method': 'get',
- 'data': data
- })
- }
- // 获取楼宇字典值
- export function getBuildingList(areaId) {
- const data = {
- areaId
- }
- return request({
- 'url': '/zdsz/building/getBuildingList',
- 'method': 'get',
- 'data': data
- })
- }
- // 获取单元字典值
- export function getUnitList(buildingId) {
- const data = {
- buildingId
- }
- return request({
- 'url': '/zdsz/unit/getUnitList',
- 'method': 'get',
- 'data': data
- })
- }
- // 获取房间字典值
- export function getHousesList(unitId) {
- const data = {
- unitId
- }
- return request({
- 'url': '/zdsz/house/getHousesList',
- 'method': 'get',
- 'data': data
- })
- }
- // 列表选择带气封堵施工工程
- export function getGasSealingProjectList(enginType) {
- const data = {
- enginType
- }
- return request({
- 'url': '/zdsz/engineeringAirWall/list',
- 'method': 'get',
- 'data': data
- })
- }
- //新增/修改 带气封堵施工工程
- export function submitGasSealingProject(param) {
- return request({
- 'url': '/zdsz/engineeringAirWall',
- 'method': 'put',
- 'data': param
- })
- }
- //列表 带气封堵施工工程
- export function getGasSealingHistoryList(id, type) {
- return request({
- 'url': '/zdsz/engineeringAirWall/'+id+'/'+type,
- 'method': 'get',
- })
- }
|