Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
a0049873 2022-09-27 09:43:44 +08:00
commit ccbb53093f
7 changed files with 1451 additions and 1564 deletions

View File

@ -8,9 +8,9 @@
var _global = {} var _global = {}
var CONFIGITEM = { var CONFIGITEM = {
// version: 'qingdao', // // version: 'qingdao', //
// version: 'xihaian', // 西 version: 'xihaian', // 西
// version: 'dev', // // version: 'dev', //
version: 'zhanTingDev', // dev (2022-09-13:) // version: 'zhanTingDev', // dev (2022-09-13:)
//version: 'test', // //version: 'test', //
//version: 'frp', // 穿 //version: 'frp', // 穿
vNum: 'v0.8.7.2', vNum: 'v0.8.7.2',
@ -62,7 +62,8 @@ var CONFIGITEM = {
}, },
backUrl: 'http://10.134.135.9:9797', backUrl: 'http://10.134.135.9:9797',
previewUrl: 'http://10.134.135.9:9796/', previewUrl: 'http://10.134.135.9:9796/',
websocketURL: '10.134.135.9:8888/renren-admin', websocketURL: '10.134.135.9:8888/renren-admin', //
websocketURL: '10.134.135.92:8888/renren-admin', //
// websocketURL: '10.18.1.99:8889/renren-admin', // // websocketURL: '10.18.1.99:8889/renren-admin', //
POI_URL: POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address', 'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',

View File

@ -99,7 +99,7 @@ export function getHls(params) {
} }
//- //-
export function getCameraInfoByAreaId(params) { export function getCameraInfoByAreaId(params) {
return axios.get(`http://10.134.135.92:9537/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}&status=${params.status}`, return axios.get(`http://10.134.135.92:9537/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}`,
config2 config2
) )
} }

View File

@ -136,7 +136,6 @@
} else { } else {
getCameraInfoByAreaId({ getCameraInfoByAreaId({
areaId: '70be8c5b664f4bcf869d82f2e8335051', areaId: '70be8c5b664f4bcf869d82f2e8335051',
status: 1,
}).then((res) => { }).then((res) => {
treeData.value = res.data.data treeData.value = res.data.data
}) })
@ -270,7 +269,6 @@
} else { } else {
getCameraInfoByAreaId({ getCameraInfoByAreaId({
areaId: val.id, areaId: val.id,
status: 1,
}).then((res) => { }).then((res) => {
treeData.value.map((treeDataItem, index) => { treeData.value.map((treeDataItem, index) => {
if (item.id == treeDataItem.id) { if (item.id == treeDataItem.id) {
@ -345,7 +343,6 @@
} else { } else {
getCameraInfoByAreaId({ getCameraInfoByAreaId({
areaId: item.id, areaId: item.id,
status: 1,
}).then((res) => { }).then((res) => {
treeData.value.map((treeDataItem, index) => { treeData.value.map((treeDataItem, index) => {
if (item.id == treeDataItem.id) { if (item.id == treeDataItem.id) {

File diff suppressed because it is too large Load Diff

View File

@ -226,7 +226,6 @@
longitude: this.mapSearchParam.gpsX || '', longitude: this.mapSearchParam.gpsX || '',
latitude: this.mapSearchParam.gpsY || '', latitude: this.mapSearchParam.gpsY || '',
radius: this.mapSearchParam.radius || '', radius: this.mapSearchParam.radius || '',
status: 1,
} }
let paramsFather = '' let paramsFather = ''
let i = 1 let i = 1

View File

@ -42,6 +42,9 @@ import { Encrypt } from '@/utils/crypto'
import { UserOutlined, LockOutlined } from '@ant-design/icons-vue' import { UserOutlined, LockOutlined } from '@ant-design/icons-vue'
import { message, Modal } from 'ant-design-vue' import { message, Modal } from 'ant-design-vue'
// 西
const isXiHaiAn = whoShow.itShowXiHaiAn
export default { export default {
name: 'Login', name: 'Login',
components: { components: {
@ -145,7 +148,19 @@ export default {
window.sessionStorage.setItem('visits', JSON.stringify([])) window.sessionStorage.setItem('visits', JSON.stringify([]))
console.log('添加visits========================================>') console.log('添加visits========================================>')
// console.log(this.handleRoute()) // console.log(this.handleRoute())
// 西
if (isXiHaiAn) {
await this.$router.push({
path: '/DetailsPageconetent',
query: {
select: '基础设施',
tecHnosphere: '',
appLiCation: ''
}
})
} else {
await this.$router.push('/home') await this.$router.push('/home')
}
} catch (error) { } catch (error) {
message.error('登陆失败,用户名或密码错误!') message.error('登陆失败,用户名或密码错误!')
} }

View File

@ -187,7 +187,7 @@
</div> </div>
<a-button <a-button
type="primary" type="primary"
v-if="item.approveStatus === '通过' && whoShow1.itShowXiHaiAn" v-if="item.approveStatus == '通过' && whoShow1.itShowXiHaiAn"
@click.stop="openVideo(val)" @click.stop="openVideo(val)"
> >
视频预览 视频预览
@ -440,6 +440,9 @@
// //
const openVideo = (item) => { const openVideo = (item) => {
console.log('打开视频', item) console.log('打开视频', item)
if(item && item.status != 1) {
return message.error('当前视频离线不可预览!')
}
const param = { const param = {
key: item.cameraId, key: item.cameraId,
} }