Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev
This commit is contained in:
commit
ccbb53093f
|
@ -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',
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
@ -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
|
||||||
|
|
|
@ -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())
|
||||||
await this.$router.push('/home')
|
// 西海岸特殊处理
|
||||||
|
if (isXiHaiAn) {
|
||||||
|
await this.$router.push({
|
||||||
|
path: '/DetailsPageconetent',
|
||||||
|
query: {
|
||||||
|
select: '基础设施',
|
||||||
|
tecHnosphere: '',
|
||||||
|
appLiCation: ''
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
await this.$router.push('/home')
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
message.error('登陆失败,用户名或密码错误!')
|
message.error('登陆失败,用户名或密码错误!')
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue