增加录入点位

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-input v-model="state.entryActualNodeForm.y" placeholder="请输入" />
</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">
<el-button
size="small"
@ -1593,7 +1603,8 @@ const state = reactive({
entryNodePopoverVisible: false, //
entryActualNodeForm: {
x: '',
y: ''
y: '',
locationYaw: 0
}, //
noLocationNumberList: [], //index
isShowSortNum: false, //
@ -1609,7 +1620,8 @@ const state = reactive({
},
isSearchSelectVisible: false, //
searchSelectedOption: '',
haveSortNumMapPointInfo: []
haveSortNumMapPointInfo: [],
MathPI: Math.PI
})
//
const gradientBackground = computed(() => {
@ -2010,6 +2022,7 @@ const entryActualNodeFormCancel = () => {
state.entryNodePopoverVisible = false
state.entryActualNodeForm.x = ''
state.entryActualNodeForm.y = ''
state.entryActualNodeForm.locationYaw = 0
}
const entryActualNodeFormSubmit = () => {
@ -2035,7 +2048,7 @@ const entryActualNodeFormSubmit = () => {
rotatable: false,
lockAspectRatio: false, //
mapImageUrl: '',
locationYaw: 0, //
locationYaw: state.entryActualNodeForm.locationYaw, //
type: 1, //1
dataList: [], //
dataObj: {} //
@ -2046,6 +2059,7 @@ const entryActualNodeFormSubmit = () => {
setTimeout(() => {
state.entryActualNodeForm.x = ''
state.entryActualNodeForm.y = ''
state.entryActualNodeForm.locationYaw = 0
}, 200)
}
}