{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\examine-fvue\\src\\api\\basicData.js","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\api\\basicData.js","mtime":1667889806503},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import req from '@/request.js';\nvar yhxt = window.context.yhxt;\nvar uc = window.context.uc;\nexport default {\n //获取公司信息\n getCompanyInfo_1: function getCompanyInfo_1(demId) {\n return new Promise(function (resolve, reject) {\n req.get(uc + \"/api/org/v1/orgs/getOrgsByparentId?parentId=\".concat(demId)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取公司信息\n getCompanyInfo: function getCompanyInfo(demId) {\n return new Promise(function (resolve, reject) {\n req.get(yhxt + \"/Company/v1/getTree/\".concat(demId)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取路线信息管理\n getRouterManagement: function getRouterManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/route/routemanage/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增路线信息管理\n addRouterManagement: function addRouterManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/route/routemanage/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取路段信息管理\n getRoadManagement: function getRoadManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/road/roadmanage/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增路段信息管理\n addRoadManagement: function addRoadManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/road/roadmanage/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取桥梁信息管理\n getBridgeManagement: function getBridgeManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizBridgeInformation/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增桥梁信息管理\n addBridgeManagement: function addBridgeManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizBridgeInformation/v1/saveBridge\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取隧道信息管理\n getTunnelManagement: function getTunnelManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizTunnelInformation/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增隧道信息管理\n addTunnelManagement: function addTunnelManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizTunnelInformation/v1/saveTunnel\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取边坡信息管理\n getSideSlopeManagement: function getSideSlopeManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizSideSlopeInformation/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增边坡信息管理\n addSideSlopeManagement: function addSideSlopeManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizSideSlopeInformation/v1/saveSideSlope\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取涵洞信息管理\n getCulvertManagement: function getCulvertManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizCulvertInformation/bizCulvertInformationmanager/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增涵洞信息管理\n addCulvertManagement: function addCulvertManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizCulvertInformation/bizCulvertInformationmanager/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取沿线设施信息管理\n getSideFacilitiesManagement: function getSideFacilitiesManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizRoadsideFacilities/bizRoadsideFacilitiesManager/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增沿线设施信息管理\n addSideFacilitiesManagement: function addSideFacilitiesManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizRoadsideFacilities/bizRoadsideFacilitiesManager/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取成本课目信息管理\n getCostAccountManagement: function getCostAccountManagement(query) {\n return new Promise(function (resolve, reject) {\n req.get(yhxt + \"/bizCourseDetails/v1/get/getByParentId?pCode=\".concat(query)).then(function (resp) {\n resolve(resp);\n }, function (error) {\n reject(error);\n });\n });\n },\n //搜索\n searchCostAccountManagement: function searchCostAccountManagement(data) {\n return new Promise(function (resolve, reject) {\n req.get(yhxt + \"/bizCourseDetails/v1/getList\", data).then(function (resp) {\n resolve(resp);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增成本课目信息管理\n addCostAccountManagement: function addCostAccountManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizCourseDetails/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //删除成本课目信息管理\n deleteCostAccountManagement: function deleteCostAccountManagement(ids) {\n return new Promise(function (resolve, reject) {\n req.remove(yhxt + \"/bizCourseDetails/v1/updateCourseDetails?ids=\".concat(ids)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取工程图纸信息管理\n getEngineeringManagement: function getEngineeringManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizEngineeringDrawing/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增工程图纸信息管理\n addEngineeringManagement: function addEngineeringManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizEngineeringDrawing/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取工程图纸下附件信息管理\n getEnclosureManagement: function getEnclosureManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizAccessory/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取病害图纸下附件信息管理\n getEnclosurevirus: function getEnclosurevirus(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizAccessory/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取养护合同下附件信息管理\n getcuring: function getcuring(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizAccessory/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //删除附件管理信息管理\n deleteEnclosureManagement: function deleteEnclosureManagement(ids) {\n return new Promise(function (resolve, reject) {\n req.remove(yhxt + \"/bizAccessory/v1/updateAccessory?ids=\".concat(ids)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增工程图纸信息管理\n addCarInfoManagement: function addCarInfoManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizVehicle/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取工程图纸下附件信息管理\n getCarInfoManagement: function getCarInfoManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizVehicle/v1/list\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取桥梁专项检查\n getSpecialProjectInspectionData: function getSpecialProjectInspectionData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizBridgeSpecialCheck/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增桥梁专项检查\n addSpecialProjectInspectionData: function addSpecialProjectInspectionData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizBridgeSpecialCheck/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取隧道专项检查\n getSpecialInspectionTunnelData: function getSpecialInspectionTunnelData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizTunnelSpecialCheck/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增隧道专项检查\n addSpecialInspectionTunnelData: function addSpecialInspectionTunnelData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizTunnelSpecialCheck/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取MQI数据检查\n getMQIData: function getMQIData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizMqiCheckData/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增MQI数据检查\n addMQIData: function addMQIData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizMqiCheckData/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //根据id查询mqi数据\n getByIdMQIData: function getByIdMQIData(id) {\n return new Promise(function (resolve, reject) {\n req.get(yhxt + \"/bizMqiCheckData/v1/get/\".concat(id)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取项目管理数据\n getProjectManagementData: function getProjectManagementData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizEngineeringProject/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增项目管理数据\n addProjectManagementData: function addProjectManagementData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizEngineeringProject/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新建病害-保存\n addDiseaseSave: function addDiseaseSave(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/disease/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取合同管理数据\n getContractInfo: function getContractInfo(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectContract/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增合同管理数据\n addContractInfo: function addContractInfo(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectContract/v1/save\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增养护合同\n saveContractInfo: function saveContractInfo(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/contract/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //根据id查询合同明显数据\n getByIdContractInfoData: function getByIdContractInfoData(id) {\n return new Promise(function (resolve, reject) {\n req.get(yhxt + \"/bizProjectContract/v1/get/\".concat(id)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取开工管理数据\n getStartInfo: function getStartInfo(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectBeginApplyFor/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增开工管理数据\n addStartInfo: function addStartInfo(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectBeginApplyFor/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //审核开工信息数据\n examineData: function examineData(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectBeginApplyFor/v1/savebizProjectBeginApplyForState\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取巡检记录数据\n getPatrolRecord: function getPatrolRecord(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizInspectionRecordsOfSupervision/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增巡检记录数据\n addPatrolRecord: function addPatrolRecord(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizInspectionRecordsOfSupervision/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取安全环保数据\n getSafetyEnvironmentalProtection: function getSafetyEnvironmentalProtection(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectSafetyEnvironmentalRecord/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增安全环保数据\n addSafetyEnvironmentalProtection: function addSafetyEnvironmentalProtection(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectSafetyEnvironmentalRecord/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取项目日志数据\n getProjectLog: function getProjectLog(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizConstructionLog/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增项目日志数据\n addProjectLog: function addProjectLog(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizConstructionLog/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取招投标信息数据\n getBiddingInfo: function getBiddingInfo(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectBidding/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新招投标信息数据\n addBiddingInfo: function addBiddingInfo(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectBidding/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取项目周报月报数据\n getProjectWeekMouth: function getProjectWeekMouth(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectWeeklyMonthlyReport/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增项目周报月报数据\n addProjectWeekMouth: function addProjectWeekMouth(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectWeeklyMonthlyReport/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取质量管理数据\n getQualityManagement: function getQualityManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectManageQuality/v1/getJson\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增质量管理数据\n addQualityManagement: function addQualityManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectManageQuality/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取质检整改和质检复查数据\n getQualityRectification: function getQualityRectification(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectManageQualityChange/v1/getJsonVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增质检整改数据\n addQualityRectification: function addQualityRectification(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizProjectManageQualityChange/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取民工信息数据\n getMigrantWorksManagement: function getMigrantWorksManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizMigrantWorkersInformation/v1/getJson\\n\\n \", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //新增民工信息数据\n addMigrantWorksManagement: function addMigrantWorksManagement(data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizMigrantWorkersInformation/v1/saveVo\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取专项工程下附件信息管理\n getSpecialProjectManagement: function getSpecialProjectManagement(id, data) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/bizEngineeringAccessories/v1/getJson?type=\".concat(id), data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //删除附件管理信息管理\n deleteSpecialProjectManagement: function deleteSpecialProjectManagement(ids) {\n return new Promise(function (resolve, reject) {\n req.remove(yhxt + \"/bizEngineeringAccessories/v1/updateEngineeringAccessories?ids=\".concat(ids)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //删除合同明细管理\n deleteContractDetailInfo: function deleteContractDetailInfo(ids) {\n return new Promise(function (resolve, reject) {\n req.remove(yhxt + \"/bizProjectContractDetails/v1/updateContractDetails?ids=\".concat(ids)).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //获取日常养护合同\n getDailyMaintenanceontract: function getDailyMaintenanceontract(query) {\n return new Promise(function (resolve, reject) {\n req.post(yhxt + \"/contract/v1/getJson\", query).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n }\n};",null]}