|
@@ -270,7 +270,6 @@
|
|
<Card
|
|
<Card
|
|
style="position: relative;width: 300px;margin: auto;display: flex;flex-direction: column;justify-content: space-around;">
|
|
style="position: relative;width: 300px;margin: auto;display: flex;flex-direction: column;justify-content: space-around;">
|
|
<template slot="title">
|
|
<template slot="title">
|
|
- <!--<span>二维实时位置</span>-->
|
|
|
|
<span>二维实时位置</span>
|
|
<span>二维实时位置</span>
|
|
</template>
|
|
</template>
|
|
<template slot="content">
|
|
<template slot="content">
|
|
@@ -287,14 +286,14 @@
|
|
<div><a color="white">选择场地:</a></div>
|
|
<div><a color="white">选择场地:</a></div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="16">
|
|
<el-col :span="16">
|
|
- <el-select style="font-size:18px;" v-model="trueTimeMapName" placeholder="请选择" @change="openCard">
|
|
|
|
|
|
+ <el-select style="font-size:18px;" v-model="trueTimeMapName" placeholder="请选择">
|
|
<el-option style="font-size:18px;" v-for="item in mapInfo" :key="item.value" :label="item.label"
|
|
<el-option style="font-size:18px;" v-for="item in mapInfo" :key="item.value" :label="item.label"
|
|
:value="item.value">
|
|
:value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-row style="display: flex;margin-bottom:15px;margin-top:15px;flex-wrap:wrap;font-size:18px;">
|
|
|
|
|
|
+ <el-row v-if="false" style="display: flex;margin-bottom:15px;margin-top:15px;flex-wrap:wrap;font-size:18px;">
|
|
<el-col :span="8" style="display:flex;margin-top:10px;flex-wrap:wrap;">
|
|
<el-col :span="8" style="display:flex;margin-top:10px;flex-wrap:wrap;">
|
|
<div><a color="white">选择人卡:</a></div>
|
|
<div><a color="white">选择人卡:</a></div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -353,6 +352,8 @@
|
|
<el-col :span="24" style="display:flex;margin-left:125px;flex-wrap:wrap;">
|
|
<el-col :span="24" style="display:flex;margin-left:125px;flex-wrap:wrap;">
|
|
<div><el-button type="primary" @click="B8Megrs()" size="small" style="font-size:18px"
|
|
<div><el-button type="primary" @click="B8Megrs()" size="small" style="font-size:18px"
|
|
round>查看</el-button></div>
|
|
round>查看</el-button></div>
|
|
|
|
+ <div style="margin-left: 10px;"><el-button type="primary" @click="AddScene()" size="small" style="font-size:18px"
|
|
|
|
+ round>场景管理</el-button></div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<t-map v-if="TMapVisible" ref="t_map"></t-map>
|
|
<t-map v-if="TMapVisible" ref="t_map"></t-map>
|
|
@@ -5378,7 +5379,6 @@ export default {
|
|
map.state.historynum = this.historynum
|
|
map.state.historynum = this.historynum
|
|
map.state.axis_show = this.trueTimeMapBase
|
|
map.state.axis_show = this.trueTimeMapBase
|
|
map.state.axis_list = this.coord_list
|
|
map.state.axis_list = this.coord_list
|
|
- map.state.person_list = this.MapCardvalue
|
|
|
|
if (this.$refs.cell_size.value !== '') {
|
|
if (this.$refs.cell_size.value !== '') {
|
|
map.state.cellSize = this.$refs.cell_size && this.$refs.cell_size.value
|
|
map.state.cellSize = this.$refs.cell_size && this.$refs.cell_size.value
|
|
}
|
|
}
|
|
@@ -5567,8 +5567,11 @@ export default {
|
|
console.log(arr)
|
|
console.log(arr)
|
|
for(var item2 of arr){
|
|
for(var item2 of arr){
|
|
item2 = item2.substring(9)
|
|
item2 = item2.substring(9)
|
|
- this.cardArr.push({ value: item2, label: item2 })
|
|
|
|
|
|
+ this.cardArr.push({ value: item2, show: true })
|
|
}
|
|
}
|
|
|
|
+ map.state.person_list = this.cardArr;
|
|
|
|
+
|
|
|
|
+ console.log(map.state.person_list)
|
|
},
|
|
},
|
|
initSolution() {
|
|
initSolution() {
|
|
let message = {
|
|
let message = {
|
|
@@ -5689,6 +5692,10 @@ export default {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.$refs.building.init()
|
|
this.$refs.building.init()
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ // 添加场景
|
|
|
|
+ AddScene(){
|
|
|
|
+ this.$router.push('/allocation');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|