| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368 |
- import request from '../utils/gw_ajax_request.js'
- const baseurl = '/pdcApi'
- export function getMessage(data){
- return request({
- url: '/bis/insp/news/findPage',
- method: 'POST',
- data: data
- })
- }
- export function getDcPblmCount(data,adCode){
- return request({
- url: '/index/total/pblmType/'+data+"?adCode="+adCode,
- method: 'GET'
- })
- }
- export function getJcPblmCount(date,batch,adCode){
- return request({
- url: '/index/total/pblmType/5?year='+date+'&batch='+batch+'&adCode='+adCode+'&objType=008',
- method: 'GET'
- })
- }
- export function getJcPblmProject(date,batch,adCode){
- return request({
- url: '/index/total/engType/5?year='+date+'&batch='+batch+'&adCode='+adCode+'&objType=008',
- method: 'GET'
- })
- }
- export function getJcPblmMain(date,batch,adCode){
- return request({
- url: '/index/total/resub/5?year='+date+'&batch='+batch+'&adCode='+adCode+'&objType=008',
- method: 'GET'
- })
- }
- export function getDcANCount(data){
- return request({
- url: '/index/total/objSizeRant',
- method: 'GET',
- data: JSON.stringify(data)
- })
- }
- export function getDcType(data){
- return request({
- url: '/bis/insp/rel/org/insp/type/getInspTypeByOrgIdPers/'+data,
- method: 'GET'
- })
- }
- export function getGroupTypeCount(date,objType){
- return request({
- url: '/index/total/personCount?timeType='+date+'&objType='+objType,
- method: 'GET'
- })
- }
- //稽察
- export function getYear(){
- return request({
- url: '/tac/insp/year/list',
- method: 'POST',
- data:{}
- })
- }
- //稽察
- export function getBatch(){
- return request({
- url: '/tac/insp/batch/list',
- method: 'POST',
- data:{}
- })
- }
- //稽察
- export function getJcData(data){
- return request({
- url: '/bis/insp/task/dth/day/list',
- method: 'POST',
- data:data
- })
- }
- export function getJcDataProject(data){
- return request({
- url: '/tac/pblm/info/countPblmInfoByObj',
- method: 'POST',
- data:data
- })
- }
- export function getPblmPro(data){
- return request({
- url: '/bis/insp/task/dth/day/list',
- method: 'POST',
- data:data
- })
- }
- export function getGroupType(data){
- return request({
- url: '/bis/insp/task/dth/day/list/objType',
- method: 'POST',
- data:data
- })
- }
- export function getGroupTypeSd(data){
- return request({
- url: '/bis/insp/task/dth/day/list/objType1',
- method: 'POST',
- data:data
- })
- }
- export function initPblmTypeList(data){
- return request({
- url: '/index/total/objType/pblmType/'+data.timeType+"?year="+data.year+"&adCode="+data.adCode+"&objType="+data.objType,
- method: 'GET'
- })
- }
- export function initNoticeList(data){
- return request({
- url: '/index/top/list?topType='+data.topType+'&topNum='+data.topNum+'&timeType='+data.timeType+'&year='+data.year+'&adCode='+data.adCode+'&objType='+data.objType,
- method: 'GET'
- })
- }
- export function initAreaObjTypeList(data){
- return request({
- url: '/bis/insp/task/dth/day/list/adCode/objType',
- method: 'POST',
- data:data
- })
- }
- export function initCompareObjTypeList(data){
- return request({
- url: '/bis/insp/task/dth/day/list/adCode/objType/years/compare',
- method: 'POST',
- data:data
- })
- }
- export function getPblmProAll(data){
- return request({
- url: '/bis/insp/task/dth/day/pblmListOfAll',
- method: 'POST',
- data:data
- })
- }
- export function getObjCount(){
- return request({
- url: '/achsta/getObjNum',
- method: 'GET',
- })
- }
- export function getStatiscsData(date,type,adCode,year){
- return request({
- url: '/index/total?timeType='+date+'&objType='+type+'&adCode='+adCode+'&year='+year,
- method: 'GET',
- })
- }
- export function getJcTotalData(data){
- return request({
- url: '/index/total/jicha?year='+data.year+'&batch='+data.batch+'&adCode='+(data.adCode==null?"":data.adCode),
- method: 'GET',
- })
- }
- export function getDcTbItem(data){
- return request({
- url: '/bis/insp/taskItemDay/list',
- method: 'POST',
- data:data
- })
- }
- export function getBannerList(){
- return request({
- url: '/bis/insp/subject/list',
- method: 'POST'
- })
- }
- export function getNearFaceList(adCode,pType){
- return request({
- url: '/file/getTopNFace?adCode='+adCode+'&pType='+pType,
- method: 'GET'
- })
- }
- export function getTopTacPblm(adCode){
- return request({
- url: '/file/getTopTacPblm?adCode='+adCode,
- method: 'GET'
- })
- }
- export function getQuestionImgList(adCode,pType){
- return request({
- url: '/file/getTopNPblm?adCode='+adCode+'&pType='+pType,
- method: 'GET'
- })
- }
- export function getQuestionVideoList(adCode,pType){
- return request({
- url: '/file/getTopNPblmVido?adCode='+adCode+'&pType='+pType,
- method: 'GET'
- })
- }
- export function getTopTacPblmvideo(adCode){
- return request({
- url: '/file/getTopTacPblmvideo?adCode='+adCode,
- method: 'GET'
- })
- }
- export function BarsDczNums(data){
- return request({
- url: '/pc/index/countGroup',
- method: 'POST',
- data: data
- })
- }
- export function BarsDcyrNums(data){
- return request({
- url: '/pc/index/countPerson',
- method: 'POST',
- data: data
- })
- }
- export function BarsDcdxNums(data){
- return request({
- url: '/pc/index/countDucha',
- method: 'POST',
- data: data
- })
- }
- export function BarsFxwtNums(data){
- return request({
- url: '/pc/index/countPblmByType',
- method: 'POST',
- data: data
- })
- }
- export function BarsFxwtReportNums(data){
- return request({
- url: '/pc/index/countPblmByType',
- method: 'POST',
- data: data
- })
- }
- export function userAndGroup(data){
- return request({
- url: '/pc/index/countPersOnline',
- method: 'POST',
- data: data
- })
- }
- // 获取指定机构、指定时间段内的所有督查对象,按行政区划分异
- export function getcountPlan(endTime,orgIds,pTypes,startTime){
- return request({
- url: '/pc/index/countPlan',
- method: 'POST',
- data: {
- "endTime": endTime,
- "orgIds": orgIds,
- "pTypes": pTypes,
- "startTime": startTime
- }
- })
- }
- // 获取指定机构、指定时间段内的所有督查对象,按行政区划分异
- export function getProblemCountByProAndLevel(endTime,orgIds,pTypes,startTime){
- return request({
- url: '/pc/index/countPblmByPro',
- method: 'POST',
- data:{
- "endTime": endTime,
- "orgIds": orgIds,
- "pTypes": pTypes,
- "startTime": startTime
- }
- })
- }
- //督查组行政区分异统计查询
- export function getAddvCountGroup(endTime,orgIds,pTypes,startTime){
- return request({
- url: '/pc/index/countGroupByPro',
- method: 'POST',
- data:{
- "endTime": endTime,
- "orgIds": orgIds,
- "pTypes": pTypes,
- "startTime": startTime
- }
- })
- }
- //督查人力行政区分异统计
- export function getAddvCountPerson(endTime,orgIds,pTypes,startTime){
- return request({
- url: '/pc/index/countPersonByPro',
- method: 'POST',
- data:{
- "endTime": endTime,
- "orgIds": orgIds,
- "pTypes": pTypes,
- "startTime": startTime
- }
- })
- }
- //督查对象行政区分异统计
- export function getAddvCountObject(endTime,orgIds,pTypes,startTime){
- return request({
- url: '/pc/index/countPlanByPro',
- method: 'POST',
- data:{
- "endTime": endTime,
- "orgIds": orgIds,
- "pTypes": pTypes,
- "startTime": startTime
- }
- })
- }
- //重复
- export function getAddvCountProblem(endTime,orgIds,pTypes,startTime){
- return request({
- url: '/pc/index/countPblmByPro',
- method: 'POST',
- data:{
- "endTime": endTime,
- "orgIds": orgIds,
- "pTypes": pTypes,
- "startTime": startTime
- }
- })
- }
- //重复
- export function getUserById(persId){
- return request({
- url: '/bis/insp/getUserInfo?persId='+persId,
- method: 'POST',
- })
- }
- export function getAddvCountProblemForReport(endTime,orgIds,pTypes,startTime,quote){
- return request({
- url: '/pc/index/countPblmByPro',
- method: 'POST',
- data:{
- "endTime": endTime,
- "orgIds": orgIds,
- "pTypes": pTypes,
- "startTime": startTime,
- "quote": quote
- }
- })
- }
- //获取questionLineChart组件趋势线图数据
- export function getTrendLineData(adCode,dtype,orgIds,pblmState,startTime,endTime,pTypes){
- return request({
- url: '/pc/index/countPblmByTime',
- method: 'POST',
- data:{
- "adCode": adCode,//行政区划
- "dtype": dtype,//时间类别,day/week/month
- "orgIds": orgIds,//流域机构
- "pblmState": pblmState,//图类型:增量(inc)、累计(total)
- "sttm": startTime, //查询时间
- "ettm": endTime, //查询时间
- "type": pTypes //督查对象类型
- }
- })
- }
- //获取questionLineChart组件问题统计数据
- export function getQustionCountData(){
- return request({
- url: '/pc/index/timeCount',
- method: 'GET',
- })
- }
|