Compare commits

..

8 Commits

7 changed files with 1451 additions and 1564 deletions

View File

@ -8,9 +8,9 @@
var _global = {}
var CONFIGITEM = {
// version: 'qingdao', //
// version: 'xihaian', // 西
version: 'xihaian', // 西
// version: 'dev', //
version: 'zhanTingDev', // dev (2022-09-13:)
// version: 'zhanTingDev', // dev (2022-09-13:)
//version: 'test', //
//version: 'frp', // 穿
vNum: 'v0.8.7.2',
@ -62,7 +62,8 @@ var CONFIGITEM = {
},
backUrl: 'http://10.134.135.9:9797',
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', //
POI_URL:
'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) {
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
)
}

View File

@ -136,7 +136,6 @@
} else {
getCameraInfoByAreaId({
areaId: '70be8c5b664f4bcf869d82f2e8335051',
status: 1,
}).then((res) => {
treeData.value = res.data.data
})
@ -270,7 +269,6 @@
} else {
getCameraInfoByAreaId({
areaId: val.id,
status: 1,
}).then((res) => {
treeData.value.map((treeDataItem, index) => {
if (item.id == treeDataItem.id) {
@ -345,7 +343,6 @@
} else {
getCameraInfoByAreaId({
areaId: item.id,
status: 1,
}).then((res) => {
treeData.value.map((treeDataItem, index) => {
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 || '',
latitude: this.mapSearchParam.gpsY || '',
radius: this.mapSearchParam.radius || '',
status: 1,
}
let paramsFather = ''
let i = 1

View File

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

View File

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