增加录入点位

This commit is contained in:
yyy 2025-06-07 11:01:30 +08:00
parent cd791e54c4
commit ad8896a743

View File

@ -395,6 +395,16 @@
<el-form-item label="实际点位Y"> <el-form-item label="实际点位Y">
<el-input v-model="state.entryActualNodeForm.y" placeholder="请输入" /> <el-input v-model="state.entryActualNodeForm.y" placeholder="请输入" />
</el-form-item> </el-form-item>
<el-form-item label="弧度">
<el-input-number
v-model="state.entryActualNodeForm.locationYaw"
:min="-state.MathPI"
:max="state.MathPI"
placeholder="请输入"
:precision="2"
controls-position="right"
/>
</el-form-item>
<div style="text-align: right"> <div style="text-align: right">
<el-button <el-button
size="small" size="small"
@ -1593,7 +1603,8 @@ const state = reactive({
entryNodePopoverVisible: false, // entryNodePopoverVisible: false, //
entryActualNodeForm: { entryActualNodeForm: {
x: '', x: '',
y: '' y: '',
locationYaw: 0
}, // }, //
noLocationNumberList: [], //index noLocationNumberList: [], //index
isShowSortNum: false, // isShowSortNum: false, //
@ -1609,7 +1620,8 @@ const state = reactive({
}, },
isSearchSelectVisible: false, // isSearchSelectVisible: false, //
searchSelectedOption: '', searchSelectedOption: '',
haveSortNumMapPointInfo: [] haveSortNumMapPointInfo: [],
MathPI: Math.PI
}) })
// //
const gradientBackground = computed(() => { const gradientBackground = computed(() => {
@ -2010,6 +2022,7 @@ const entryActualNodeFormCancel = () => {
state.entryNodePopoverVisible = false state.entryNodePopoverVisible = false
state.entryActualNodeForm.x = '' state.entryActualNodeForm.x = ''
state.entryActualNodeForm.y = '' state.entryActualNodeForm.y = ''
state.entryActualNodeForm.locationYaw = 0
} }
const entryActualNodeFormSubmit = () => { const entryActualNodeFormSubmit = () => {
@ -2035,7 +2048,7 @@ const entryActualNodeFormSubmit = () => {
rotatable: false, rotatable: false,
lockAspectRatio: false, // lockAspectRatio: false, //
mapImageUrl: '', mapImageUrl: '',
locationYaw: 0, // locationYaw: state.entryActualNodeForm.locationYaw, //
type: 1, //1 type: 1, //1
dataList: [], // dataList: [], //
dataObj: {} // dataObj: {} //
@ -2046,6 +2059,7 @@ const entryActualNodeFormSubmit = () => {
setTimeout(() => { setTimeout(() => {
state.entryActualNodeForm.x = '' state.entryActualNodeForm.x = ''
state.entryActualNodeForm.y = '' state.entryActualNodeForm.y = ''
state.entryActualNodeForm.locationYaw = 0
}, 200) }, 200)
} }
} }