资源申请跳转修复
This commit is contained in:
parent
28d3d632ee
commit
efba4dc7ba
|
@ -89,6 +89,9 @@ z-index: 10010!important;
|
||||||
.ant-tooltip{
|
.ant-tooltip{
|
||||||
z-index: 10010!important;
|
z-index: 10010!important;
|
||||||
}
|
}
|
||||||
|
.ant-image-preview-wrap {
|
||||||
|
z-index: 10012!important;
|
||||||
|
}
|
||||||
|
|
||||||
.model-container .confirmChrome {
|
.model-container .confirmChrome {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
|
|
|
@ -236,8 +236,7 @@
|
||||||
router.push({
|
router.push({
|
||||||
path: '/DetailsPageconetent',
|
path: '/DetailsPageconetent',
|
||||||
query: {
|
query: {
|
||||||
select: '基础设施',
|
select: '应用资源',
|
||||||
zwy: true,
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,7 +220,7 @@
|
||||||
type.value = ''
|
type.value = ''
|
||||||
pageNum.value = '1'
|
pageNum.value = '1'
|
||||||
pageSize.value = '5'
|
pageSize.value = '5'
|
||||||
tabIndex.value = 0
|
tabIndex.value = -1
|
||||||
showKey.value++
|
showKey.value++
|
||||||
checkAll.value = false
|
checkAll.value = false
|
||||||
getList()
|
getList()
|
||||||
|
@ -333,7 +333,7 @@
|
||||||
showKey.value++
|
showKey.value++
|
||||||
}
|
}
|
||||||
// 切换筛选条件
|
// 切换筛选条件
|
||||||
const tabIndex = ref(0)
|
const tabIndex = ref(-1)
|
||||||
const changeTab = (index) => {
|
const changeTab = (index) => {
|
||||||
console.log('tabIndex', tabIndex.value, index, tabList)
|
console.log('tabIndex', tabIndex.value, index, tabList)
|
||||||
if (tabIndex.value == index) {
|
if (tabIndex.value == index) {
|
||||||
|
@ -388,39 +388,39 @@
|
||||||
}
|
}
|
||||||
//监听tabindex发生改变调用接口
|
//监听tabindex发生改变调用接口
|
||||||
watch(tabIndex, (val) => {
|
watch(tabIndex, (val) => {
|
||||||
getBsList({
|
// getBsList({
|
||||||
limit: pageSize.value,
|
// limit: pageSize.value,
|
||||||
page: pageNum.value,
|
// page: pageNum.value,
|
||||||
type: tabList.value[val],
|
// type: tabList.value[val],
|
||||||
name: name.value,
|
// name: name.value,
|
||||||
}).then((res) => {
|
// }).then((res) => {
|
||||||
checkAll.value = true
|
// checkAll.value = true
|
||||||
console.log('申购车列表================>', res)
|
// console.log('申购车列表================>', res)
|
||||||
initLoading.value = false
|
// initLoading.value = false
|
||||||
list.value = []
|
// list.value = []
|
||||||
total.value = res.data.data.total
|
// total.value = res.data.data.total
|
||||||
res.data.data.list.forEach((val) => {
|
// res.data.data.list.forEach((val) => {
|
||||||
const obj = {
|
// const obj = {
|
||||||
loading: false,
|
// loading: false,
|
||||||
name: val.resourceDTO.name,
|
// name: val.resourceDTO.name,
|
||||||
id: val.id,
|
// id: val.id,
|
||||||
checked: false,
|
// checked: false,
|
||||||
visits: val.resourceDTO.visits,
|
// visits: val.resourceDTO.visits,
|
||||||
type: val.resourceDTO.type,
|
// type: val.resourceDTO.type,
|
||||||
link: val.resourceDTO.link,
|
// link: val.resourceDTO.link,
|
||||||
resourceId: val.resourceId,
|
// resourceId: val.resourceId,
|
||||||
createDate: val.createDate,
|
// createDate: val.createDate,
|
||||||
description: val.resourceDTO.description,
|
// description: val.resourceDTO.description,
|
||||||
delFlag: val.resourceDTO.delFlag,
|
// delFlag: val.resourceDTO.delFlag,
|
||||||
}
|
// }
|
||||||
if (checkedList.value.indexOf(val.id) == -1) {
|
// if (checkedList.value.indexOf(val.id) == -1) {
|
||||||
checkAll.value = false
|
// checkAll.value = false
|
||||||
} else {
|
// } else {
|
||||||
obj.checked = true
|
// obj.checked = true
|
||||||
}
|
// }
|
||||||
list.value.push(obj)
|
// list.value.push(obj)
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|
Loading…
Reference in New Issue