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