西海岸:能力集市--默认选中基础设施
This commit is contained in:
parent
48bfe71c6f
commit
bafe53bc67
|
@ -460,3 +460,10 @@ export function soldierApply(data) {
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 西海岸-基础设施-一键申请最大个数
|
||||||
|
export function getMaxApplyNum(number) {
|
||||||
|
return request({
|
||||||
|
url: '/processForm/tabilityapplication/canApply/' + number,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
|
@ -507,4 +507,5 @@ export const RECOURCE_G_ICON = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 能力集市-默认选中tab
|
// 能力集市-默认选中tab
|
||||||
export const DETAIL_PAGE_CONTENT_DEFAULT_TAB = '应用资源'
|
// 西海岸-默认基础设施
|
||||||
|
export const DETAIL_PAGE_CONTENT_DEFAULT_TAB = whoShow.itShowXiHaiAn ? '基础设施' : '应用资源'
|
||||||
|
|
|
@ -739,6 +739,7 @@
|
||||||
// 基础设施引用
|
// 基础设施引用
|
||||||
import infrastructurePage from '@/views/home/infrastructurePage.vue'
|
import infrastructurePage from '@/views/home/infrastructurePage.vue'
|
||||||
import detailsPageInfrastructureTree from '@/views/home/detailsPageInfrastructureTree.vue'
|
import detailsPageInfrastructureTree from '@/views/home/detailsPageInfrastructureTree.vue'
|
||||||
|
import { DETAIL_PAGE_CONTENT_DEFAULT_TAB } from '@/global/GlobalConfig.js'
|
||||||
|
|
||||||
import { message } from 'ant-design-vue'
|
import { message } from 'ant-design-vue'
|
||||||
import {
|
import {
|
||||||
|
@ -781,7 +782,8 @@
|
||||||
let currentPageSize = ref(5)
|
let currentPageSize = ref(5)
|
||||||
const pageSizeOptions = ref(['5', '10', '20', '50'])
|
const pageSizeOptions = ref(['5', '10', '20', '50'])
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
let select = router.currentRoute.value.query.select || '应用资源'
|
// let select = router.currentRoute.value.query.select || '应用资源'
|
||||||
|
let select = router.currentRoute.value.query.select || DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
||||||
const select2 = router.currentRoute.value.query.select
|
const select2 = router.currentRoute.value.query.select
|
||||||
const str = router.currentRoute.value.query.str
|
const str = router.currentRoute.value.query.str
|
||||||
const searchValue = ref(str)
|
const searchValue = ref(str)
|
||||||
|
|
|
@ -100,6 +100,8 @@
|
||||||
import mybus from '@/myplugins/mybus'
|
import mybus from '@/myplugins/mybus'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { UpOutlined, DownOutlined } from '@ant-design/icons-vue'
|
import { UpOutlined, DownOutlined } from '@ant-design/icons-vue'
|
||||||
|
import { DETAIL_PAGE_CONTENT_DEFAULT_TAB } from '@/global/GlobalConfig.js'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
setup() {
|
setup() {
|
||||||
const selectedKeys = ref([])
|
const selectedKeys = ref([])
|
||||||
|
@ -118,7 +120,7 @@
|
||||||
'router.currentRoute.value.query.select',
|
'router.currentRoute.value.query.select',
|
||||||
router.currentRoute.value.query.select
|
router.currentRoute.value.query.select
|
||||||
)
|
)
|
||||||
let select = router.currentRoute.value.query.select
|
let select = router.currentRoute.value.query.select || DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
||||||
if (select === '123') {
|
if (select === '123') {
|
||||||
select = ''
|
select = ''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue