53 lines
1.3 KiB
JavaScript
53 lines
1.3 KiB
JavaScript
import request from '@/utils/request_new'
|
|
import request_yn from '@/utils/request_new_yn'
|
|
import request_yn_new from '@/utils/request_new_yn_home' // 测试环境 1918
|
|
|
|
// 获取首页数据
|
|
export function getHomePageListApi(data) {
|
|
return request({
|
|
url: '/bmw/homePage/getAppHomePageData',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
// 首页二级页面--获取公司信息
|
|
export function getHomePageSelectApi() {
|
|
return request({
|
|
url: '/bmw/homePageSelect/getProCondition',
|
|
method: 'post',
|
|
data: {}
|
|
})
|
|
}
|
|
// 首页二级页面--作业计划详情-作业计划列表
|
|
export function getWorkPlanDetailsApi(data) {
|
|
return request_yn_new({
|
|
url: '/ynPlan/home/getjhxxq',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 首页二级页面--作业计划详情-作业人员及持证信息
|
|
export function getWorkPersonnelApi(data) {
|
|
return request_yn_new({
|
|
url: '/ynPlan/home/getDayUser',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 首页二级页面--作业计划详情-作业票、站班会照片
|
|
export function getStandGuardImgApi(data) {
|
|
return request_yn_new({
|
|
url: '/ynPlan/home/getZbhPhotos',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 首页二级页面--作业计划详情-持证信息详情
|
|
export function getHoldCardInfoApi(data) {
|
|
return request_yn_new({
|
|
url: '/ynPlan/home/getDayUserCZ',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|