行走路线
This commit is contained in:
parent
731c682d0b
commit
224be1d0a2
@ -4,9 +4,9 @@ NODE_ENV=development
|
|||||||
VITE_DEV=true
|
VITE_DEV=true
|
||||||
|
|
||||||
# 请求路径
|
# 请求路径
|
||||||
VITE_BASE_URL='http://192.168.0.74:48080'
|
# VITE_BASE_URL='http://192.168.0.74:48080'
|
||||||
# VITE_BASE_URL='http://192.168.0.153:48080'
|
# VITE_BASE_URL='http://192.168.0.153:48080'
|
||||||
# VITE_BASE_URL='http://192.168.0.45:48080'
|
VITE_BASE_URL='http://192.168.0.45:48080'
|
||||||
|
|
||||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
|
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
|
||||||
VITE_UPLOAD_TYPE=server
|
VITE_UPLOAD_TYPE=server
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<el-form :model="form" label-width="120" ref="ruleFormRef" :rules="rules">
|
<el-form :model="form" label-width="120" ref="ruleFormRef" :rules="rules">
|
||||||
<el-row :gutter="30">
|
<el-row :gutter="30">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="开始点位序号" prop="startingSortNum" required>
|
<el-form-item label="开始点位序号" prop="startingSortNum">
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model="form.startingSortNum"
|
v-model="form.startingSortNum"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="开始点位序号" prop="endPointSortNum" required>
|
<el-form-item label="开始点位序号" prop="endPointSortNum">
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model="form.endPointSortNum"
|
v-model="form.endPointSortNum"
|
||||||
|
@ -867,7 +867,10 @@ const activatedHandle = (item, index) => {
|
|||||||
|
|
||||||
//显示出可走路线
|
//显示出可走路线
|
||||||
state.isCanTakeRoutes = state.mapRouteList.forEach((route) => {
|
state.isCanTakeRoutes = state.mapRouteList.forEach((route) => {
|
||||||
if (route.startingPointId === item.id) {
|
if (
|
||||||
|
route.startingPointId === item.id ||
|
||||||
|
(route.direction === 2 && route.endPointId === item.id)
|
||||||
|
) {
|
||||||
route.isSelected = true
|
route.isSelected = true
|
||||||
} else {
|
} else {
|
||||||
route.isSelected = false
|
route.isSelected = false
|
||||||
|
Loading…
Reference in New Issue
Block a user