zhangtao
parent
e08a87b2d1
commit
c3e60ab508
@ -1,117 +1,110 @@
|
|||||||
import request from '@/utils/request'
|
import request from "@/utils/request";
|
||||||
|
|
||||||
// 分页条件查询省重点企业
|
// 分页条件查询省重点企业
|
||||||
export function listEnterprise(query) {
|
export function listEnterprise(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/bKeyEnterprise',
|
url: "/pharmaceuticals/bKeyEnterprise",
|
||||||
method: 'get',
|
method: "get",
|
||||||
params: query
|
params: query,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 新增省重点企业
|
// 新增省重点企业
|
||||||
export function addEnterprise(data) {
|
export function addEnterprise(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/bKeyEnterprise',
|
url: "/pharmaceuticals/bKeyEnterprise",
|
||||||
method: 'post',
|
method: "post",
|
||||||
data
|
data,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
//修改省重点企业
|
//修改省重点企业
|
||||||
export function updateEnterprise(data) {
|
export function updateEnterprise(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/bKeyEnterprise',
|
url: "/pharmaceuticals/bKeyEnterprise",
|
||||||
method: 'put',
|
method: "put",
|
||||||
data
|
data,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
//删除省重点企业
|
//删除省重点企业
|
||||||
export function deleteEnterprise(data) {
|
export function deleteEnterprise(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/bKeyEnterprise',
|
url: "/pharmaceuticals/bKeyEnterprise",
|
||||||
method: 'delete',
|
method: "delete",
|
||||||
params: data
|
params: data,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
//导入省重点企业
|
//导入省重点企业
|
||||||
export function exportEnterprise(data) {
|
export function exportEnterprise(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/bKeyEnterprise/common/importExcel',
|
url: "/pharmaceuticals/bKeyEnterprise/common/importExcel",
|
||||||
method: 'post',
|
method: "post",
|
||||||
data,
|
data,
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded'
|
"Content-Type": "application/x-www-form-urlencoded",
|
||||||
}
|
},
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
//通过主键查询单条省重点企业
|
//通过主键查询单条省重点企业
|
||||||
export function getEnterprise(id) {
|
export function getEnterprise(id) {
|
||||||
return request({
|
return request({
|
||||||
url: `/pharmaceuticals/bKeyEnterprise/${id}`,
|
url: `/pharmaceuticals/bKeyEnterprise/${id}`,
|
||||||
method: 'get',
|
method: "get",
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
//查询企业信息列表
|
//查询企业信息列表
|
||||||
export function businessList(data) {
|
export function businessList(data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/pharmaceuticals/info/list`,
|
url: `/pharmaceuticals/info/list`,
|
||||||
method: 'get',
|
method: "get",
|
||||||
params: data
|
params: data,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
//查询执法列表
|
//查询执法列表
|
||||||
export function enforcingDetail(data) {
|
export function enforcingDetail(data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/pharmaceuticals/bPlanEnterprise/getZhifa`,
|
url: `/pharmaceuticals/bPlanEnterprise/getZhifa`,
|
||||||
method: 'get',
|
method: "get",
|
||||||
params: data
|
params: data,
|
||||||
|
});
|
||||||
})
|
|
||||||
}
|
}
|
||||||
//执法列表详情
|
//执法列表详情
|
||||||
export function enforcingGet(id) {
|
export function enforcingGet(id) {
|
||||||
return request({
|
return request({
|
||||||
url: `/pharmaceuticals/examine/${id}`,
|
url: `/pharmaceuticals/examine/${id}`,
|
||||||
method: 'get',
|
method: "get",
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 根据字段查询字典信息
|
// 根据字段查询字典信息
|
||||||
export function listDist(query) {
|
export function listDist(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/dictdata',
|
url: "/pharmaceuticals/dictdata",
|
||||||
method: 'get',
|
method: "get",
|
||||||
params: query
|
params: query,
|
||||||
})
|
});
|
||||||
}
|
|
||||||
//计划企业表数结构
|
|
||||||
export function planeEnTree(data) {
|
|
||||||
return request({
|
|
||||||
url: '/pharmaceuticals/division/tree',
|
|
||||||
method: 'get',
|
|
||||||
params:data
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 行政区划树结构
|
// 行政区划树结构
|
||||||
export function xzTree() {
|
export function xzTree() {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/division/tree',
|
url: "/pharmaceuticals/division/tree",
|
||||||
method: 'get',
|
method: "get",
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//执法计划工作情况统计
|
//执法计划工作情况统计
|
||||||
export function workStatistics(data) {
|
export function workStatistics(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/bPlanEnterprise/getZhifaCount',
|
url: "/pharmaceuticals/bPlanEnterprise/getZhifaCount",
|
||||||
method: 'get',
|
method: "get",
|
||||||
params:data
|
params: data,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
//各区域执法计划
|
//各区域执法计划
|
||||||
export function quyuPlan(data) {
|
export function quyuPlan(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pharmaceuticals/bPlanEnterprise/getplan',
|
url: "/pharmaceuticals/bPlanEnterprise/getplan",
|
||||||
method: 'get',
|
method: "get",
|
||||||
params:data
|
params: data,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue