bug修复
This commit is contained in:
parent
4d003421fe
commit
7abf71a6fb
|
@ -331,10 +331,7 @@
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="8">
|
<a-col :span="8">
|
||||||
<a-form-item
|
<a-form-item name="phone" label="联系电话">
|
||||||
name="phone"
|
|
||||||
label="联系电话"
|
|
||||||
>
|
|
||||||
<a-input v-model:value="formState.phone" style="width: 72%" />
|
<a-input v-model:value="formState.phone" style="width: 72%" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
@ -389,7 +386,9 @@
|
||||||
:wrapper-col="{ span: 14, offset: 4 }"
|
:wrapper-col="{ span: 14, offset: 4 }"
|
||||||
style="text-align: center; margin-top: 0.4rem"
|
style="text-align: center; margin-top: 0.4rem"
|
||||||
>
|
>
|
||||||
<a-button @click="resetFields" type="primary" danger>取消</a-button>
|
<a-button @click="appointmentRoom = false" type="primary" danger>
|
||||||
|
取消
|
||||||
|
</a-button>
|
||||||
<a-button
|
<a-button
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
@ -551,7 +550,10 @@
|
||||||
>
|
>
|
||||||
<template #footer></template>
|
<template #footer></template>
|
||||||
<div style="width: 100%; display: flex; justify-content: center">
|
<div style="width: 100%; display: flex; justify-content: center">
|
||||||
<div style="width: 100%; height: 100%; position: relative" v-show="isXiHaiAn">
|
<div
|
||||||
|
style="width: 100%; height: 100%; position: relative"
|
||||||
|
v-show="isXiHaiAn"
|
||||||
|
>
|
||||||
<!-- 西海岸--预览视频--遮罩 todo-->
|
<!-- 西海岸--预览视频--遮罩 todo-->
|
||||||
<div class="video-cover" @click="videoShowMsg"></div>
|
<div class="video-cover" @click="videoShowMsg"></div>
|
||||||
<div class="waterMark waterMark-left-top">
|
<div class="waterMark waterMark-left-top">
|
||||||
|
@ -635,17 +637,33 @@
|
||||||
style="width: 100%; height: 100%; position: relative"
|
style="width: 100%; height: 100%; position: relative"
|
||||||
>
|
>
|
||||||
<!-- 批量预览视频--遮罩 -->
|
<!-- 批量预览视频--遮罩 -->
|
||||||
<div class="batch-video-cover" @click="videoShowMsg(index)" v-show="isXiHaiAn"></div>
|
<div
|
||||||
<div class="batch-waterMark batch-waterMark-left-top" v-show="isXiHaiAn">
|
class="batch-video-cover"
|
||||||
|
@click="videoShowMsg(index)"
|
||||||
|
v-show="isXiHaiAn"
|
||||||
|
></div>
|
||||||
|
<div
|
||||||
|
class="batch-waterMark batch-waterMark-left-top"
|
||||||
|
v-show="isXiHaiAn"
|
||||||
|
>
|
||||||
{{ userInfo.usernameShow }}
|
{{ userInfo.usernameShow }}
|
||||||
</div>
|
</div>
|
||||||
<div class="batch-waterMark batch-waterMark-right-top" v-show="isXiHaiAn">
|
<div
|
||||||
|
class="batch-waterMark batch-waterMark-right-top"
|
||||||
|
v-show="isXiHaiAn"
|
||||||
|
>
|
||||||
{{ userInfo.realNameShow }}
|
{{ userInfo.realNameShow }}
|
||||||
</div>
|
</div>
|
||||||
<div class="batch-waterMark batch-waterMark-left-bottom" v-show="isXiHaiAn">
|
<div
|
||||||
|
class="batch-waterMark batch-waterMark-left-bottom"
|
||||||
|
v-show="isXiHaiAn"
|
||||||
|
>
|
||||||
{{ userInfo.usernameShow }}
|
{{ userInfo.usernameShow }}
|
||||||
</div>
|
</div>
|
||||||
<div class="batch-waterMark batch-waterMark-right-bottom" v-show="isXiHaiAn">
|
<div
|
||||||
|
class="batch-waterMark batch-waterMark-right-bottom"
|
||||||
|
v-show="isXiHaiAn"
|
||||||
|
>
|
||||||
{{ userInfo.realNameShow }}
|
{{ userInfo.realNameShow }}
|
||||||
</div>
|
</div>
|
||||||
<p></p>
|
<p></p>
|
||||||
|
@ -899,12 +917,12 @@
|
||||||
tabClick(0, '视频资源')
|
tabClick(0, '视频资源')
|
||||||
} else {
|
} else {
|
||||||
// 默认选中
|
// 默认选中
|
||||||
if(formPage && formPage == 'noticePage') {
|
if (formPage && formPage == 'noticePage') {
|
||||||
tabClick(0, '城市云脑会客厅')
|
tabClick(0, '城市云脑会客厅')
|
||||||
roomYuyue.value = false
|
roomYuyue.value = false
|
||||||
roomResult.value = true
|
roomResult.value = true
|
||||||
onSearch()
|
onSearch()
|
||||||
}else {
|
} else {
|
||||||
tabClick(0, '政务云资源')
|
tabClick(0, '政务云资源')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1397,7 +1415,7 @@
|
||||||
tabList.value[1].title = '视频标签'
|
tabList.value[1].title = '视频标签'
|
||||||
}
|
}
|
||||||
selectType.value = '视频资源'
|
selectType.value = '视频资源'
|
||||||
console.log('444------------>', 444);
|
console.log('444------------>', 444)
|
||||||
} else if (name == '政务云资源') {
|
} else if (name == '政务云资源') {
|
||||||
room.value = true
|
room.value = true
|
||||||
tableHeight.value = 600
|
tableHeight.value = 600
|
||||||
|
@ -1579,7 +1597,10 @@
|
||||||
clickList.value[1].content = []
|
clickList.value[1].content = []
|
||||||
}
|
}
|
||||||
clickList.value[indexFather].content[0] = name
|
clickList.value[indexFather].content[0] = name
|
||||||
console.log('clickList.value[indexFather].content[0]------------>', clickList.value[indexFather].content[0]);
|
console.log(
|
||||||
|
'clickList.value[indexFather].content[0]------------>',
|
||||||
|
clickList.value[indexFather].content[0]
|
||||||
|
)
|
||||||
|
|
||||||
if (tabList.value[1]) {
|
if (tabList.value[1]) {
|
||||||
tabList.value[1].title = ''
|
tabList.value[1].title = ''
|
||||||
|
@ -1814,22 +1835,24 @@
|
||||||
// 西海岸-视频资源loading
|
// 西海岸-视频资源loading
|
||||||
const loadingCamera = ref(false)
|
const loadingCamera = ref(false)
|
||||||
const getCamera = (flag, str) => {
|
const getCamera = (flag, str) => {
|
||||||
loadingCamera.value = true;
|
loadingCamera.value = true
|
||||||
if (flag) {
|
if (flag) {
|
||||||
mapSearchParam.value.cameraName = str
|
mapSearchParam.value.cameraName = str
|
||||||
}
|
}
|
||||||
console.log('初始化调用')
|
console.log('初始化调用')
|
||||||
console.log('不选左侧树的时候不调用接口', mapSearchParam.value)
|
console.log('不选左侧树的时候不调用接口', mapSearchParam.value)
|
||||||
if (!whoShow1.value.itShowXiHaiAn) {
|
if (!whoShow1.value.itShowXiHaiAn) {
|
||||||
getCameraByParentId(mapSearchParam.value).then((res) => {
|
getCameraByParentId(mapSearchParam.value)
|
||||||
console.log('res--查询摄像头---------->', res);
|
.then((res) => {
|
||||||
loadingCamera.value = false;
|
console.log('res--查询摄像头---------->', res)
|
||||||
dataSource.value = res.data.data
|
loadingCamera.value = false
|
||||||
pagination.value.total = res.data.count
|
dataSource.value = res.data.data
|
||||||
}).catch(err => {
|
pagination.value.total = res.data.count
|
||||||
loadingCamera.value = false;
|
})
|
||||||
message.error(err)
|
.catch((err) => {
|
||||||
})
|
loadingCamera.value = false
|
||||||
|
message.error(err)
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
let params = {
|
let params = {
|
||||||
regionId:
|
regionId:
|
||||||
|
@ -1866,15 +1889,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
getCameraByCondition(params).then((res) => {
|
getCameraByCondition(params)
|
||||||
console.log('res--查询摄像头---------->', res);
|
.then((res) => {
|
||||||
loadingCamera.value = false;
|
console.log('res--查询摄像头---------->', res)
|
||||||
dataSource.value = res.data.data
|
loadingCamera.value = false
|
||||||
pagination.value.total = res.data.count
|
dataSource.value = res.data.data
|
||||||
}).catch(err => {
|
pagination.value.total = res.data.count
|
||||||
loadingCamera.value = false;
|
})
|
||||||
message.error(err)
|
.catch((err) => {
|
||||||
})
|
loadingCamera.value = false
|
||||||
|
message.error(err)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
defineExpose({
|
defineExpose({
|
||||||
|
@ -1884,7 +1909,7 @@
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
if (selectedList.value.length > 0) {
|
if (selectedList.value.length > 0) {
|
||||||
let _arr = []
|
let _arr = []
|
||||||
selectedList.value.map(v => {
|
selectedList.value.map((v) => {
|
||||||
_arr.push({
|
_arr.push({
|
||||||
delFlag: '0',
|
delFlag: '0',
|
||||||
resourceId: v.idtCameraChannel,
|
resourceId: v.idtCameraChannel,
|
||||||
|
@ -1892,7 +1917,7 @@
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
xhaAddCart(_arr).then((res) => {
|
xhaAddCart(_arr).then((res) => {
|
||||||
if(res.data.code !== 0) {
|
if (res.data.code !== 0) {
|
||||||
return message.error(res.data.msg)
|
return message.error(res.data.msg)
|
||||||
}
|
}
|
||||||
message.success('添加申购车成功!')
|
message.success('添加申购车成功!')
|
||||||
|
@ -1929,7 +1954,7 @@
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
// 西海岸--状态展示
|
// 西海岸--状态展示
|
||||||
if(isXiHaiAn) {
|
if (isXiHaiAn) {
|
||||||
columns.value.splice(2, 0, {
|
columns.value.splice(2, 0, {
|
||||||
title: '状态',
|
title: '状态',
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
|
|
Loading…
Reference in New Issue