基础设施
This commit is contained in:
parent
617373eb8e
commit
74187e4623
|
@ -9,7 +9,7 @@
|
||||||
<span
|
<span
|
||||||
v-for="itemContent in item.content"
|
v-for="itemContent in item.content"
|
||||||
:key="itemContent"
|
:key="itemContent"
|
||||||
@click="tabClick(index, itemContent, itemContent)"
|
@click="tabClick(index, itemContent)"
|
||||||
:class="
|
:class="
|
||||||
clickList[index].content.indexOf(itemContent.labelName) != -1 ||
|
clickList[index].content.indexOf(itemContent.labelName) != -1 ||
|
||||||
clickList[index].content.indexOf(itemContent) != -1
|
clickList[index].content.indexOf(itemContent) != -1
|
||||||
|
@ -115,8 +115,8 @@
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import VideoSurveillance from '@/views/home/videoSurveillance'
|
import VideoSurveillance from '@/views/home/videoSurveillance'
|
||||||
import { getCategoryTreePage } from '@/api/personalCenter'
|
// import { getCategoryTreePage } from '@/api/personalCenter'
|
||||||
import { dataType } from 'element-plus/es/components/table-v2/src/common'
|
// import { dataType } from 'element-plus/es/components/table-v2/src/common'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { message } from 'ant-design-vue'
|
import { message } from 'ant-design-vue'
|
||||||
import { ref, reactive, onMounted } from 'vue'
|
import { ref, reactive, onMounted } from 'vue'
|
||||||
|
@ -243,7 +243,7 @@
|
||||||
clickList.value.push(params)
|
clickList.value.push(params)
|
||||||
})
|
})
|
||||||
mybus.off('tranferToList')
|
mybus.off('tranferToList')
|
||||||
mybus.on('tranferToList', (data) => {
|
mybus.on('tranferToList', () => {
|
||||||
console.log('获取到的列表数据')
|
console.log('获取到的列表数据')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -338,7 +338,11 @@
|
||||||
})
|
})
|
||||||
console.log('选中的标签code', mapSearchParam.value)
|
console.log('选中的标签code', mapSearchParam.value)
|
||||||
mapSearchParam.value.labelCodes = mapSearchParam.value.labelCodes + ''
|
mapSearchParam.value.labelCodes = mapSearchParam.value.labelCodes + ''
|
||||||
if (name == '视频资源') {
|
let fatherName = ref('视频资源')
|
||||||
|
if (name == '视频资源' || name == '云资源' || name == '感知资源') {
|
||||||
|
fatherName.value == name
|
||||||
|
}
|
||||||
|
if (fatherName.value == '视频资源') {
|
||||||
getCamera()
|
getCamera()
|
||||||
} else {
|
} else {
|
||||||
dataSource.value = []
|
dataSource.value = []
|
||||||
|
@ -392,10 +396,10 @@
|
||||||
message.error('请选择需要申请的数据')
|
message.error('请选择需要申请的数据')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 添加至购物车
|
// // 添加至购物车
|
||||||
const addShopCar = () => {
|
// const addShopCar = () => {
|
||||||
console.log('添加至购物车')
|
// console.log('添加至购物车')
|
||||||
}
|
// }
|
||||||
const getCamera = () => {
|
const getCamera = () => {
|
||||||
console.log('初始化调用')
|
console.log('初始化调用')
|
||||||
getCameraByParentId(mapSearchParam.value).then((res) => {
|
getCameraByParentId(mapSearchParam.value).then((res) => {
|
||||||
|
@ -442,7 +446,7 @@
|
||||||
key: 'channelId',
|
key: 'channelId',
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
const allClick = ref([])
|
// const allClick = ref([])
|
||||||
const onSelectChange = (record, selected, selectedRows, nativeEvent) => {
|
const onSelectChange = (record, selected, selectedRows, nativeEvent) => {
|
||||||
console.log('hahhahah', record, selected, selectedRows, nativeEvent)
|
console.log('hahhahah', record, selected, selectedRows, nativeEvent)
|
||||||
if (selected) {
|
if (selected) {
|
||||||
|
|
Loading…
Reference in New Issue