西海岸:个人中心只留申购车和我的申请功能
This commit is contained in:
parent
af1c03d3ed
commit
4a104177bf
|
@ -236,6 +236,14 @@ export function selectResourceListByDept(params) {
|
|||
params,
|
||||
})
|
||||
}
|
||||
// 西海岸--申购车根据部门查询
|
||||
export function selectResourceListByDeptName(params) {
|
||||
return request({
|
||||
url: '/resourcecar/selectResourceListByDeptName',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
}
|
||||
// 获取来源应用列表
|
||||
export function queryApplicationRelByResourceId(params) {
|
||||
return request({
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -21,25 +21,27 @@ export default defineComponent({
|
|||
components: {},
|
||||
setup() {
|
||||
const itShowXiHaiAn = whoShow.itShowXiHaiAn;
|
||||
const car = {
|
||||
title: '申购车',
|
||||
img: require('@/assets/personalCenter/demand.png'),
|
||||
imgActive: require('@/assets/personalCenter/demandactive.png'),
|
||||
key: 'PurchaseVehicle',
|
||||
}
|
||||
const apply = {
|
||||
title: '我的申请',
|
||||
img: require('@/assets/personalCenter/apply.png'),
|
||||
imgActive: require('@/assets/personalCenter/applyactive.png'),
|
||||
key: 'apply',
|
||||
}
|
||||
let menuList = [
|
||||
{
|
||||
title: '申购车',
|
||||
img: require('@/assets/personalCenter/demand.png'),
|
||||
imgActive: require('@/assets/personalCenter/demandactive.png'),
|
||||
key: 'PurchaseVehicle',
|
||||
},
|
||||
car,
|
||||
{
|
||||
title: '我的发布',
|
||||
img: require('@/assets/personalCenter/push.png'),
|
||||
imgActive: require('@/assets/personalCenter/pushactive.png'),
|
||||
key: 'push',
|
||||
},
|
||||
{
|
||||
title: '我的申请',
|
||||
img: require('@/assets/personalCenter/apply.png'),
|
||||
imgActive: require('@/assets/personalCenter/applyactive.png'),
|
||||
key: 'apply',
|
||||
},
|
||||
apply,
|
||||
{
|
||||
title: '我的收藏',
|
||||
img: require('@/assets/personalCenter/collect.png'),
|
||||
|
@ -66,9 +68,8 @@ export default defineComponent({
|
|||
},
|
||||
]
|
||||
// 西海岸
|
||||
if(itShowXiHaiAn) {
|
||||
let _newArr = JSON.parse(JSON.stringify(menuList))
|
||||
menuList = _newArr.splice(0, 1)
|
||||
if (itShowXiHaiAn) {
|
||||
menuList = [car, apply]
|
||||
}
|
||||
const selectedKeys = ref(['apply'])
|
||||
|
||||
|
@ -82,9 +83,9 @@ export default defineComponent({
|
|||
}
|
||||
|
||||
onMounted(() => {
|
||||
if(menuList[1]) {
|
||||
if (menuList[1]) {
|
||||
handleClick(menuList[1])
|
||||
}else {
|
||||
} else {
|
||||
handleClick(menuList[0])
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue