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.

810 lines
15 KiB

1 month ago
// src/api/ManageApi/index.js
import request from '@/utils/request';
4 weeks ago
// 分页查询所有数据
export function getBasicInformationPage(params) {
return request({
url:'/gysl/basicInformation/page',
method: 'get',
params
})
}
2 weeks ago
// 通过主键查询单条所有数据(企业端)
export function getBasicInformationById(id) {
1 month ago
return request({
3 weeks ago
url: `/gysl/basicInformation/stagingInfo/${id}`,
1 month ago
method: 'get'
});
}
2 weeks ago
// 通过主键查询单条所有数据(政务端)
export function getzwBasicInformationById(id) {
return request({
url: `/gysl/basicInformation/${id}`,
method: 'get'
});
}
3 weeks ago
4 weeks ago
// 企业端提交填报
export function fillBasicInformation(data) {
return request({
url: '/gysl/basicInformation/fill',
method: 'post',
data: data
})
}
3 weeks ago
//企业端暂存数据
export function tempBasicInformation(data) {
return request({
url: '/gysl/basicInformation/staging',
method: 'post',
data: data
})
}
4 weeks ago
// 政务端审核通过
export function auditBasicInformation(data) {
return request({
url: '/gysl/basicInformation/audit',
method: 'post',
data: data
})
}
// 基本信息删除数据
export function deleteBasicInformation(idList) {
return request({
url: '/gysl/basicInformation/delete',
method: 'delete',
params: { idList }
})
}
// 企业--基本信息==修改
export function updateBasicInformation(data) {
1 month ago
return request({
url: `/gysl/basicInformation/edit`,
method: 'post',
4 weeks ago
data
1 month ago
});
}
// 基本信息的导出功能
4 weeks ago
export function exportBasicInformation(idList) {
1 month ago
return request({
4 weeks ago
url: '/gysl/basicInformation/exportInfo',
method: 'post',
4 weeks ago
params: { idList },
});
}
// 项目详情 规划信息
// 修改规划信息
export function updateProgrammeInformation(data) {
return request({
url: '/gysl/planInformation/edit',
method: 'post',
data
});
}
//根据主键来查询单条数据
export function getProgrammeInformationById(quey) {
return request({
4 weeks ago
url: '/gysl/planInformation/selectAll',
method: 'get',
params: quey
1 month ago
});
}
4 weeks ago
// 项目评价清单
1 month ago
// 分页查询项目评价清单
export function getProjectEvaluationList(params) {
return request({
url: '/gysl/xmpjqd/page',
method: 'get',
params
});
}
// 修改项目评价清单
export function updateProjectEvaluationList(data) {
return request({
url: '/gysl/xmpjqd/edit',
method: 'post',
data
});
}
// 新增项目评价清单
export function addProjectEvaluationList(data) {
return request({
url: '/gysl/xmpjqd/add',
method: 'post',
data
});
}
// 删除项目评价清单
export function deleteProjectEvaluationList(idList) {
return request({
url: '/gysl/xmpjqd/delete',
method: 'delete',
params: { idList }
});
}
//评价清单结束
1 month ago
// 项目评价配置接口
// 新增数据
export function addProjectEvaluation(data) {
return request({
url: '/gysl/pjpz/add',
method: 'post',
data
});
}
// 删除数据
export function deleteProjectEvaluation(idList) {
return request({
url: '/gysl/pjpz/delete',
method: 'delete',
params: { idList }
});
}
// 修改数据
export function updateProjectEvaluation(data) {
return request({
url: '/gysl/pjpz/edit',
method: 'post',
data
});
}
// 分页查询所有数据
export function getProjectEvaluationPage(params) {
return request({
url: '/gysl/pjpz/page',
method: 'get',
params
});
}
// 评价配置结束
1 month ago
1 month ago
// 要素指标管理(模型管理)
1 month ago
// 新增要素或者指标
export function addElement(data) {
return request({
url: '/gysl/mx/add',
method: 'post',
data
});
}
2 weeks ago
1 month ago
// 查询所有要素
2 weeks ago
export function getAllElements(params) {
1 month ago
return request({
url: '/gysl/mx/page',
method: 'get',
2 weeks ago
params
1 month ago
});
}
2 weeks ago
// 编辑指标
1 month ago
export function editElemention(data) {
return request({
url: '/gysl/mx/edit',
method: 'post',
data
});
}
2 weeks ago
//编辑要素
export function updateYsElement(data){
return request({
url:'/gysl/mx/updateYs',
method:'post',
data
})
}
// 删除指标
1 month ago
export function deleteElemention(idList) {
1 month ago
return request({
url: `/gysl/mx/delete`,
1 month ago
method: 'delete',
3 weeks ago
params: { idList: idList.join(',') }
1 month ago
});
}
2 weeks ago
//删除要素
export function deleteYsElement(params) {
return request({
url: '/gysl/mx/deleteYs',
method: 'delete',
params
})
}
1 month ago
// 目录管理
// 新增目录
export function addCatalog(data) {
return request({
url: '/gysl/ml/add',
method: 'post',
3 weeks ago
data : data
1 month ago
});
}
// 删除目录
export function deleteCatalog(idList) {
return request({
url: `/gysl/ml/delete`,
method: 'delete',
3 weeks ago
params: {
idList: idList.join(',') // 将数组转换为逗号分隔的字符串
}
1 month ago
});
}
// 修改目录
export function editCatalog(data) {
return request({
url: '/gysl/ml/edit',
method: 'post',
3 weeks ago
data
1 month ago
});
}
// 查询所有目录
3 weeks ago
export function getAllCatalogs(query) {
1 month ago
return request({
url: '/gysl/ml/page',
method: 'get',
3 weeks ago
params:query
1 month ago
});
}
// 项目知识库管理
// 新增数据
export function addXmzsk(data) {
return request({
url: '/gysl/xmzsk/add',
method: 'post',
data
});
}
// 删除数据
export function deleteXmzsk(idList) {
return request({
url: '/gysl/xmzsk/delete',
method: 'delete',
3 weeks ago
params: {
3 weeks ago
idList: idList.join(',') // 将数组转换为逗号分隔的字符串
}
1 month ago
});
}
// 修改数据
export function updateXmzsk(data) {
return request({
url: '/gysl/xmzsk/edit',
method: 'post',
data
});
}
// 分页查询所有数据
export function getXmzskPage(params) {
return request({
url: '/gysl/xmzsk/page',
method: 'get',
params
});
}
// 通过主键查询单条数据
export function getXmzskById(id) {
return request({
url: `/gysl/xmzsk/${id}`,
method: 'get'
});
}
//项目巡礼
//新增项目巡礼
export function addXmxl(data) {
return request({
url: '/gysl/xmxl/add',
method: 'post',
data
});
}
//删除项目巡礼
export function deleteXmxl(idList) {
return request({
url: '/gysl/xmxl/delete',
method: 'delete',
4 weeks ago
params: {
idList: idList.join(',') // 将数组转换为逗号分隔的字符串
}
});
}
//修改项目巡礼
4 weeks ago
export function updataXmxl (data) {
return request({
url: '/gysl/xmxl/edit',
method: 'post',
data
});
}
//分页查询所有项目巡礼
4 weeks ago
export function getXmxlList(params) {
return request({
4 weeks ago
url: '/gysl/xmxl/list',
method: 'get',
4 weeks ago
params
});
1 month ago
}
4 weeks ago
1 month ago
//企业入驻内容区表格
//新增数据
export function addqyrz(data) {
return request({
url: '/gysl/qyrzInformation/add',
method: 'post',
data
});
}
//修改数据
export function updateqyrz(data) {
return request({
url: '/gysl/qyrzInformation/edit',
method: 'post',
data
});
}
//分页查询所有数据
export function getqyrzPage(params) {
return request({
url: '/gysl/qyrzInformation/page',
method: 'get',
params
});
}
//删除数据
export function deleteqyrz(idList) {
return request({
url: '/gysl/qyrzInformation/delete',
method: 'delete',
params: { idList }
});
}
//通过主键查询单条数据
export function getqyrzById(id) {
return request({
url: `/gysl/qyrzInformation/${id}`,
method: 'get'
});
}
//企业入驻信息
// 修改信息
// 根据项目ID分页查询所有入驻企业
export function getqyBasicInformationPage(params) {
return request({
url: '/gysl/enterprise/page',
method: 'get',
params
});
}
// 修改信息
3 weeks ago
export function updateqyBasicInformation(data) {
return request({
url: '/gysl/enterprise/edit',
method: 'post',
data
});
}
// 删除信息
3 weeks ago
export function deleteqyBasicInformation(idList) {
return request({
url: '/gysl/enterprise/delete',
method: 'delete',
params: {
idList: idList.join(',') // 将数组转换为逗号分隔的字符串
}
3 weeks ago
});
}
//建筑信息表
//新增数据
export function addjzxx(data) {
return request({
url: '/gysl/buildingInformation/add',
method: 'post',
data
})
}
//删除数据
export function deletejzxx(idList) {
return request({
4 weeks ago
url: '/gysl/buildingInformation/delete',
method: 'delete',
params: { idList: idList.join(',') } // 将数组转换为逗号分隔的字符串
});
}
//修改数据
export function updatejzxx(data) {
return request({
url: '/gysl/buildingInformation/edit',
method: 'post',
data
})
}
//导入项目建筑信息
export function importjzxx(data) {
return request({
url: '/gysl/buildingInformation/importProjectBuilding',
method: 'post',
data
})
}
//分页查询所有数据
export function getjzxxinformationByxmId(params) {
return request({
url: '/gysl/buildingInformation/page',
method: 'get',
params
})
}
//通过主键查询单条数据
export function getjzxxById(id) {
return request({
url: `/gysl/buildingInformation/${id}`,
method: 'get'
})
}
//项目图例
//新增数据
export function addxmtl(data) {
return request({
url:'/gysl/projectLegend/add',
method:'post',
data
})
}
//删除数据
export function deletexmtl(idList) {
return request({
url:'/gysl/projectLegend/delete',
method:'delete',
params:{idList}
})
}
//修改数据
4 weeks ago
export function editxmtl(data) {
return request({
4 weeks ago
url: '/gysl/projectLegend/edit',
method: 'put',
data: data
})
}
4 weeks ago
//根据项目ID查询数据// 修正后的API定义
export function getxmtlPageByxmId(params) {
return request({
4 weeks ago
url: '/gysl/projectLegend/page',
method: 'get',
params // 注意这里改为paramsGET请求会自动拼接到URL
})
}
4 weeks ago
//通过主键查询单条数据
export function getxmtlById(id) {
return request({
url:`/gysl/projectLegend/${id}`,
method:'get',
})
1 month ago
}
//项目其他信息
//新增数据
export function addxmqt(data) {
return request({
url:'/gysl/projectOtherInfo/add',
method:'post',
data
})
}
//删除数据
export function deletexmqt(idList) {
return request({
url:'/gysl/projectOtherInfo/delete',
method:'delete',
3 weeks ago
params: { idList: idList.join(',') }
1 month ago
})
}
//修改数据
export function updatexmqt(data) {
return request({
url:'/gysl/projectOtherInfo/edit',
method:'post',
data
})
}
3 weeks ago
//根据项目id查询信息
export function getOtherInfoByxmId(query) {
1 month ago
return request({
url: '/gysl/projectOtherInfo/searchId',
method: 'get',
params: query // 使用 params 传递查询参数
});
}
//项目备忘录
//新增数据
export function addxmmmb(data) {
return request({
url:'/gysl/projectRemark/add',
method:'post',
data
})
}
//删除数据
export function deletexmmmb(idList) {
return request({
4 weeks ago
url: '/gysl/projectRemark/delete',
method: 'delete',
params: {
idList: idList.join(',') // 将数组转换为逗号分隔的字符串
}
});
1 month ago
}
//修改数据
4 weeks ago
export function updateProjectRemark(projectRemark) {
1 month ago
return request({
4 weeks ago
url: '/gysl/projectRemark/edit',
method: 'put',
data: projectRemark,
headers: {
'Content-Type': 'application/json'
}
});
1 month ago
}
//查询所有数据
export function getxmmmbPage(params) {
return request({
url:'/gysl/projectRemark/page',
method:'get',
params
})
}
//通过主键查询单条数据
export function getxmmmbById(id) {
return request({
url:`/gysl/projectRemark/${id}`,
method:'get',
params:{id}
})
4 weeks ago
}
//单片材料管理
//新增数据
3 weeks ago
export function addClgl(data) {
4 weeks ago
return request({
3 weeks ago
url: '/gysl/dpclgl/add',
method: 'post',
4 weeks ago
data
3 weeks ago
});
}
// 删除数据
export function deleteClgl(idList) {
return request({
url: '/gysl/dpclgl/delete',
method: 'delete',
params: { idList: idList.join(',') } // 将数组转换为逗号分隔的字符串
});
}
// 修改数据
export function updateClgl(data) {
return request({
url: '/gysl/dpclgl/edit',
method: 'put',
data
});
}
// 分页查询所有数据
export function getClglPage(params) {
return request({
url: '/gysl/dpclgl/page',
method: 'get',
params
});
4 weeks ago
}
3 weeks ago
// 富文本编辑接口
export function exportToPdf(params) {
return request({
url: '/gysl/dpclgl/unloadPdf',
method: 'get',
params,
})
}
//通用下载请求
export function downloadPdf(fileName) {
return request({
url: '/common/download',
method: 'get',
params: { fileName },
})
}
//政务统计
//整体项目情况
export function allinformation(data){
return request({
url:'/gysl/zwStats/allProject',
method:'get',
data
})
}
// //投资主体
export function investall() {
return request({
url: '/gysl/zwStats/investors',
method: 'get'
})
}
// 功能区
export function fungong(){
return request({
url:'/gysl/zwStats/ribbon',
method:'get'
})
}
//详细通知
export function getAllMessages(){
return request({
url:'/gysl/zwStats/zwNotice',
method:'get'
})
}
//项目列表
export function xmlist(){
return request({
url:'/gysl/zwStats/projectList',
method:'get'
})
}
//政务统计结束
//企业统计
//整体项目情况
export function allproject(){
return request({
url:'/gysl/qyStats/allProject',
method:'get'
})
}
2 weeks ago
//产业数据分析
export function allchanye(){
return request({
url:'/gysl/zwStats/slfx',
method:'get'
})
}
//产业导向目录分析
export function allchanyeml(){
return request({
url:'/gysl/zwStats/mlfx',
method:'get'
})
}
//产业导向细分产业分析
export function allchanyexfcyfx(){
return request({
url:'/gysl/zwStats/xfcyfx',
method:'get'
})
}
3 weeks ago
//企业详细通知
export function getAllMessagestwo(){
return request({
url:'/gysl/qyStats/qyNotice',
method:'get'
})
3 weeks ago
}
//通过主键查询项目画像
export function getpicture(id){
return request({
url:`/gysl/xmpjqd/oneXmhx/${id}`,
method:'get'
})
}
//通过主键查询单条项目评价清单
export function getpicturelist(id){
return request({
url:`/gysl/xmpjqd/${id}`,
method:'get'
})
}
3 weeks ago
// 细分产业管理
3 weeks ago
// 新增数据
export function addXfcygl(data) {
return request({
url: '/gysl/xfcygl/add',
method: 'post',
3 weeks ago
data:data
3 weeks ago
});
}
// 删除数据
export function deleteXfcygl(idList) {
return request({
url: '/gysl/xfcygl/delete',
method: 'delete',
3 weeks ago
params: {
idList: idList.join(',') // 将数组转换为逗号分隔的字符串
}
3 weeks ago
});
}
// 修改数据
export function updateXfcygl(data) {
return request({
url: '/gysl/xfcygl/edit',
method: 'put',
3 weeks ago
data:data
3 weeks ago
});
}
// 分页查询所有数据
3 weeks ago
export function getXfcyglPage(query) {
3 weeks ago
return request({
url: '/gysl/xfcygl/page',
method: 'get',
3 weeks ago
params:query
3 weeks ago
});
3 weeks ago
}
2 weeks ago
//消息通知数量(企业端)
3 weeks ago
export function getMessageCount() {
return request({
url: '/gysl/qyStats/qyNoticeCount',
method: 'get'
})
}
2 weeks ago
//消息通知数量(政务端)
export function getMessageCounttwo() {
return request({
url: '/gysl/zwStats/zwNoticeCount',
method: 'get'
})
}
3 weeks ago
3 weeks ago
//智能提醒
3 weeks ago
//已读提醒
3 weeks ago
export function markSmartReminderAsRead(id) {
return request({
url: `/gysl/jSmartReminders/isRead/${id}`,
method: 'get'
});
}