diff --git a/src/api/yingji/home.js b/src/api/yingji/home.js new file mode 100644 index 0000000..6d7bb6f --- /dev/null +++ b/src/api/yingji/home.js @@ -0,0 +1,19 @@ +import request from '@/utils/request' + +// 根据字段查询字典信息 +export function listDist(query) { + return request({ + url: '/dictdata', + method: 'get', + params: query + }) +} + +// 行政区划树结构 +export function xzTree(id) { + return request({ + url: '/administrative/tree', + method: 'get', + }) +} + diff --git a/src/api/yingji/keyEnterprise.js b/src/api/yingji/keyEnterprise.js new file mode 100644 index 0000000..f18b810 --- /dev/null +++ b/src/api/yingji/keyEnterprise.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 分页条件查询省重点企业 +export function listEnterprise(query) { + return request({ + url: '/bKeyEnterprise', + method: 'get', + params: query + }) +} + +// 新增省重点企业 +export function addEnterprise(data) { + return request({ + url: '/bKeyEnterprise', + method: 'post', + data + }) +} +//修改省重点企业 +export function updateEnterprise(data) { + return request({ + url: '/bKeyEnterprise', + method: 'put', + data + }) +} +//删除省重点企业 +export function deleteEnterprise(data) { + return request({ + url: '/bKeyEnterprise', + method: 'delete', + data + }) +} +//导入省重点企业 +export function exportEnterprise(data) { + return request({ + url: '/bKeyEnterprise/common/importExcel', + method: 'post', + data + }) +} +//通过主键查询单条省重点企业 +export function getEnterprise(id) { + return request({ + url: `/bKeyEnterprise/${id}`, + method: 'get', + }) +} \ No newline at end of file diff --git a/src/api/yingji/planManage.js b/src/api/yingji/planManage.js new file mode 100644 index 0000000..c6393d7 --- /dev/null +++ b/src/api/yingji/planManage.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 分页条件查询企业基本信息列表 +export function listMsgEnterprise(query) { + return request({ + url: '/info/list', + method: 'get', + params: query + }) +} +// 分页条件查询计划管理 +export function listPlanGL(query) { + return request({ + url: '/bPlanManage', + method: 'get', + params: query + }) +} + +// 新增计划管理 +export function addPlanGL(data) { + return request({ + url: '/bPlanManage', + method: 'post', + data + }) +} +//修改计划管理 +export function updatePlanGL(data) { + return request({ + url: '/bPlanManage', + method: 'put', + data + }) +} +//删除计划管理 +export function deletePlanGL(data) { + return request({ + url: '/bPlanManage', + method: 'delete', + data + }) +} +//通过主键查询单条计划管理 +export function getPlanGL(id) { + return request({ + url: `/bPlanManage/${id}`, + method: 'get', + }) +} \ No newline at end of file