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.
72 lines
1.8 KiB
72 lines
1.8 KiB
import request from '@/utils/request'
|
|
|
|
export function typeValues(data) {
|
|
return request({
|
|
url: '/portal/v1/dictcommons/typeValues',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 根据当前登录人orgSidPath(全路径sid)查询分公司
|
|
export function getOrgSidByPath(data) {
|
|
return request({
|
|
url: '/portal/v1/sysstafforg/getOrgSidByPath',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 根据分公司sid查询分公司名称
|
|
export function fetchBySid(sid) {
|
|
return request({
|
|
url: 'portal/v1/sysorganization/fetchBySid/' + sid,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 根据当前登录用户sid获取本分公司下的销售部门和销售专员
|
|
export function selectOrgList(data) {
|
|
return request({
|
|
url: '/portal/v1/sysorganization/selectOrgList',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 根据当前登录用户全路径sidPath获取本分公司下的资方信息
|
|
export function selectListByOrgPath(data) {
|
|
return request({
|
|
url: '/riskcenter/v1/loanfinbank/selectListByOrgPath',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 根据当前登录用户的分公司sid获取本分公司下的车型信息
|
|
export function selModelByUseOrgSid(data) {
|
|
return request({
|
|
url: '/base/basevehmodelconfig/selModelByUseOrgSid',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 根据当前登录用户的全路径sidPath、用户sid、客户类型(01个人、02企业)等获取客户信息
|
|
export function selectCustomerList(data) {
|
|
return request({
|
|
url: '/crm/v1/crmcustomertemp/selectCustomerList',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 当前用户创建申请时判断该用户是否有该菜单的操作权限
|
|
export function selectHaveMessage(data) {
|
|
return request({
|
|
url: '/portal/v1/sysuser/selectHaveMessage ',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
|