|
|
|
@ -212,7 +212,7 @@
|
|
|
|
<el-button type="primary" @click.stop link>删除</el-button>
|
|
|
|
<el-button type="primary" @click.stop link>删除</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-popconfirm>
|
|
|
|
</el-popconfirm>
|
|
|
|
<el-button type="primary" link>固定物</el-button>
|
|
|
|
<el-button type="primary" @click.stop="openShildDialog(scope)" link>固定物</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
@ -641,6 +641,27 @@
|
|
|
|
<el-dialog v-model="imgDialog">
|
|
|
|
<el-dialog v-model="imgDialog">
|
|
|
|
<img width="100%" :src="dialogImageUrl" alt="Preview Image"/>
|
|
|
|
<img width="100%" :src="dialogImageUrl" alt="Preview Image"/>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
<el-dialog v-model="shildDialog">
|
|
|
|
|
|
|
|
<el-form :model="shildForm">
|
|
|
|
|
|
|
|
<el-form-item label="固定物名称" label-width="120px">
|
|
|
|
|
|
|
|
<el-input v-model="shildForm.name" autocomplete="off"/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="偏差值" label-width="120px">
|
|
|
|
|
|
|
|
<el-input v-model="shildForm.deviation" autocomplete="off"/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="屏蔽范围" label-width="120px">
|
|
|
|
|
|
|
|
<el-input v-model="shildForm.shielding" autocomplete="off"/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
<template #footer>
|
|
|
|
|
|
|
|
<div class="dialog-footer">
|
|
|
|
|
|
|
|
<el-button @click="shildDialog = false">关闭</el-button>
|
|
|
|
|
|
|
|
<el-button type="primary" @click="shildDialog = false">
|
|
|
|
|
|
|
|
确定
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
<input
|
|
|
|
<input
|
|
|
|
ref="cameraInput"
|
|
|
|
ref="cameraInput"
|
|
|
|
type="file"
|
|
|
|
type="file"
|
|
|
|
@ -855,15 +876,31 @@ const RestartWorkBtn = () => {
|
|
|
|
const ShutDownWorkBtn = () => {
|
|
|
|
const ShutDownWorkBtn = () => {
|
|
|
|
ShutDownWork()
|
|
|
|
ShutDownWork()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 设置障碍物-不处理
|
|
|
|
|
|
|
|
|
|
|
|
const form1 = ref({})
|
|
|
|
|
|
|
|
const form2 = ref({})
|
|
|
|
|
|
|
|
const form3 = ref({})
|
|
|
|
|
|
|
|
const form4 = ref({})
|
|
|
|
|
|
|
|
const form5 = ref({})
|
|
|
|
|
|
|
|
const form6 = ref({})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 障碍物
|
|
|
|
|
|
|
|
const shildDialog = ref(false)
|
|
|
|
|
|
|
|
const shildForm = ref({})
|
|
|
|
|
|
|
|
const openShildDialog = (e) => {
|
|
|
|
|
|
|
|
console.log(e.row)
|
|
|
|
|
|
|
|
shildDialog.value = true
|
|
|
|
|
|
|
|
shildForm.value = {
|
|
|
|
|
|
|
|
lon: e.row.Lon,
|
|
|
|
|
|
|
|
lat: e.row.Lat,
|
|
|
|
|
|
|
|
strength: e.row.rate,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// 设置障碍物-固定物
|
|
|
|
const addShildItem = () => {
|
|
|
|
const addShildItem = () => {
|
|
|
|
addShildData({
|
|
|
|
addShildData(shildForm.value).then(e => {
|
|
|
|
name: 'string',
|
|
|
|
shildDialog.value = false
|
|
|
|
lon: 123,
|
|
|
|
shildForm.value = {}
|
|
|
|
lat: 12,
|
|
|
|
|
|
|
|
deviation: 12,
|
|
|
|
|
|
|
|
shielding: 23
|
|
|
|
|
|
|
|
}).then(e => {
|
|
|
|
|
|
|
|
getShildTableList()
|
|
|
|
getShildTableList()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -885,13 +922,6 @@ const getShildTableList = () => {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const form1 = ref({})
|
|
|
|
|
|
|
|
const form2 = ref({})
|
|
|
|
|
|
|
|
const form3 = ref({})
|
|
|
|
|
|
|
|
const form4 = ref({})
|
|
|
|
|
|
|
|
const form5 = ref({})
|
|
|
|
|
|
|
|
const form6 = ref({})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const tableData1 = ref(Array(1000).fill(0).map((_, k) => {
|
|
|
|
const tableData1 = ref(Array(1000).fill(0).map((_, k) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
Lon: 111.11111111,
|
|
|
|
Lon: 111.11111111,
|
|
|
|
|