添加政务云资源申请

This commit is contained in:
unknown 2022-09-24 12:24:10 +08:00
parent ff971b798b
commit 479b96ee06
2 changed files with 33 additions and 11 deletions

View File

@ -463,6 +463,10 @@
<a-button type="primary" @click="apply" class="buttonAdd">
一键申请
</a-button>
<!-- 申请政务云资源 -->
<a-button type="primary" @click="applyCloudResources" class="buttonAdd">
我要申请政务云资源
</a-button>
</div>
</div>
<!-- 表格 -->
@ -916,7 +920,7 @@
const tabList = ref([
{
title: '设施类型',
content: ['视频资源', '云资源', '感知资源', '城市云脑会客厅'],
content: ['政务云资源','视频资源', '感知资源', '城市云脑会客厅'],
},
{
title: '视频标签',
@ -991,7 +995,7 @@
// const dataTypeList = () => {
// if (tabList.value[0].content.indexOf('') != -1) {
// tabList.value[1].content = ['123344', '213124']
// }else if(tabList.value[0].content.indexOf('') != -1){
// }else if(tabList.value[0].content.indexOf('') != -1){
// tabList.value[1].content = ['5555', '666']
// }
@ -1340,14 +1344,14 @@
tableHeight.value = 330
showMap.value = true
tabList.value[1].title = '视频标签'
} else if (name == '云资源') {
} else if (name == '政务云资源') {
room.value = true
tableHeight.value = 600
showMap.value = false
dataSource.value = []
dataSource2.value = []
pagination.value.total = 0
tabList.value[1].title = '云资源分类'
tabList.value[1].title = '政务云资源分类'
} else if (name == '感知资源') {
room.value = true
tableHeight.value = 330
@ -1398,14 +1402,14 @@
mapSearchParam.value.labelCodes = mapSearchParam.value.labelCodes + ''
emits('add', 1)
getCamera()
} else if (name == '云资源') {
} else if (name == '政务云资源') {
tableHeight.value = 600
showMap.value = false
dataSource.value = []
dataSource2.value = []
pagination.value.total = 0
clickList.value[1].content = []
tabList.value[1].title = '云资源分类'
tabList.value[1].title = '政务云资源分类'
clickList.value[indexFather].content[0] = name
tabList.value[1].content = [
'云主机',
@ -1503,7 +1507,7 @@
console.log('选中的标签code', mapSearchParam.value)
mapSearchParam.value.labelCodes = mapSearchParam.value.labelCodes + ''
// let fatherName = ref('')
// if (name == '' || name == '' || name == '') {
// if (name == '' || name == '' || name == '') {
// fatherName.value == name
// }
// if (fatherName.value == '') {
@ -1512,7 +1516,7 @@
// dataSource.value = []
// pagination.value.total = 0
// }
if (name == '云资源' || name == '感知资源') {
if (name == '政务云资源' || name == '感知资源') {
dataSource.value = []
dataSource2.value = []
pagination.value.total = 0
@ -1753,6 +1757,10 @@
message.error('请选择需要添加申购车的数据')
}
}
//
const applyCloudResources = () => {
window.open("http://15.72.183.88:8760/yzy/login")
}
//
const dataSource = ref([])
const dataSource2 = ref([])

View File

@ -53,6 +53,10 @@
<span class="gengduo"></span>
</div>
<div class="fixedmount">
<div @click="applyResource()">
<p></p>
<p>资源申请</p>
</div>
<div @click="toView()">
<p></p>
<p>需求申请</p>
@ -311,6 +315,15 @@
function handlecancelAbilitySquare() {
abilitySquareFunctionData.value = '智能算法'
}
const applyResource = () => {
console.log('点击===============》')
router.push({
path: '/DetailsPageconetent',
query: {
select: "基础设施",
},
})
}
</script>
<style lang="less">
.shangjia-class {
@ -579,10 +592,10 @@
}
.fixedmount {
height: 1.5rem;
height: 2.4rem;
display: flex;
position: fixed;
bottom: 2.56rem;
bottom: 1.56rem;
right: 1.9rem;
z-index: 10;
flex-direction: column;
@ -618,7 +631,8 @@
.fixedmount div:nth-child(1) p:nth-child(1) {
height: 0.24rem;
width: 0.24rem;
background: url('~@/assets/home/shenqing.png') no-repeat;
//background: url('~@/assets/home/shenqing.png') no-repeat;
background: url('~@/assets/newHome/banner-yy.png') no-repeat;
background-size: contain;
background-position: center;
}