60 lines
1.3 KiB
JavaScript
60 lines
1.3 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询部门-对应企业部门维护列表
|
|
export function listDepartment(id) {
|
|
return request({
|
|
url: '/dzzyb/a/WxQyInFo/getWxAreaList?id=' + id,
|
|
method: 'get',
|
|
})
|
|
}
|
|
// export function getWxZd(type) {
|
|
// return request({
|
|
// url: '/dzzyb/a/WxQyInFo/getWxZd?type=' + type,
|
|
// method: 'get',
|
|
// })
|
|
// }
|
|
|
|
// 完善
|
|
export function getDepartment() {
|
|
return request({
|
|
url: '/dzzyb/a/zyb/logon/getQyDataItem',
|
|
method: 'post',
|
|
|
|
})
|
|
}
|
|
export function getWxAreaList(id) {
|
|
return request({
|
|
url: '/dzzyb/a/WxQyInFo/getWxAreaList?id=' + id,
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
export function getWxZd(type) {
|
|
return request({
|
|
url: '/dzzyb/a/WxQyInFo/getWxZd?type=' + type,
|
|
method: 'get',
|
|
})
|
|
}
|
|
export function getHyflLis(pid) {
|
|
return request({
|
|
url: '/dzzyb/a/WxQyInFo/getHyflList?pid=' + pid,
|
|
method: 'get',
|
|
})
|
|
}
|
|
// export function getSecondaryLevelInfo(id) {
|
|
// return request({
|
|
// url: `/dzzyb/a/WxQyInFo/getHyflList?id=${id}`,
|
|
// method: 'get'
|
|
// })
|
|
// }
|
|
|
|
// 提交
|
|
export function saveQyData(data) {
|
|
return request({
|
|
url: '/dzzyb/a/WxQyInFo/qyzcLogin',
|
|
method: 'post',
|
|
data: data,
|
|
})
|
|
}
|
|
|