Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
C
crsf-ptvue
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhan
crsf-ptvue
Commits
d258499a
Commit
d258499a
authored
Nov 04, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
红外探测器改单点
parent
0eda6942
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
add-or-update.vue
src/pages/sys/point/add-or-update.vue
+2
-2
index.vue
src/pages/sys/point/index.vue
+2
-2
query-detail.vue
src/pages/sys/point/query-detail.vue
+2
-2
No files found.
src/pages/sys/point/add-or-update.vue
View file @
d258499a
...
@@ -54,9 +54,9 @@
...
@@ -54,9 +54,9 @@
el-input(v-model='dataForm.xlongit' placeholder='请填写X坐标' readonly)
el-input(v-model='dataForm.xlongit' placeholder='请填写X坐标' readonly)
el-form-item(:label='(dataForm.dicTypeName === "振动光纤" || dataForm.dicTypeName === "红外探测器") ? "Y坐标(起点):":"Y坐标:"' prop='ylat')
el-form-item(:label='(dataForm.dicTypeName === "振动光纤" || dataForm.dicTypeName === "红外探测器") ? "Y坐标(起点):":"Y坐标:"' prop='ylat')
el-input(v-model='dataForm.ylat' placeholder='请填写Y坐标' readonly)
el-input(v-model='dataForm.ylat' placeholder='请填写Y坐标' readonly)
el-form-item(label='X坐标(终点):' prop='xpoint' v-if="dataForm.dicTypeName === '振动光纤'
|| dataForm.dicTypeName === '红外探测器'
")
el-form-item(label='X坐标(终点):' prop='xpoint' v-if="dataForm.dicTypeName === '振动光纤'")
el-input(v-model='dataForm.xpoint' placeholder='请填写X坐标' readonly)
el-input(v-model='dataForm.xpoint' placeholder='请填写X坐标' readonly)
el-form-item(label='Y坐标(终点):' prop='ypoint' v-if="dataForm.dicTypeName === '振动光纤'
|| dataForm.dicTypeName === '红外探测器'
")
el-form-item(label='Y坐标(终点):' prop='ypoint' v-if="dataForm.dicTypeName === '振动光纤'")
el-input(v-model='dataForm.ypoint' placeholder='请填写Y坐标' readonly)
el-input(v-model='dataForm.ypoint' placeholder='请填写Y坐标' readonly)
el-form-item(label='地图层级:' prop='tierId')
el-form-item(label='地图层级:' prop='tierId')
el-select(v-model="dataForm.tierId" placeholder="请选择子系统" @change="tierChange" disabled)
el-select(v-model="dataForm.tierId" placeholder="请选择子系统" @change="tierChange" disabled)
...
...
src/pages/sys/point/index.vue
View file @
d258499a
...
@@ -210,7 +210,7 @@
...
@@ -210,7 +210,7 @@
this
.
map
.
removeInteraction
(
this
.
draw
)
this
.
map
.
removeInteraction
(
this
.
draw
)
if
(
this
.
editable
)
{
if
(
this
.
editable
)
{
this
.
iconStyle
=
e
this
.
iconStyle
=
e
if
(
this
.
iconStyle
.
name
===
'
红外探测器'
||
this
.
iconStyle
.
name
===
'
振动光纤'
)
{
if
(
this
.
iconStyle
.
name
===
'振动光纤'
)
{
this
.
drawType
=
'LineString'
this
.
drawType
=
'LineString'
}
else
{
}
else
{
this
.
drawType
=
'Point'
this
.
drawType
=
'Point'
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
if
(
that
.
iconStyle
===
null
||
!
that
.
editable
)
{
if
(
that
.
iconStyle
===
null
||
!
that
.
editable
)
{
}
else
{
}
else
{
if
(
that
.
iconStyle
.
name
===
'
红外探测器'
||
that
.
iconStyle
.
name
===
'
振动光纤'
)
{
if
(
that
.
iconStyle
.
name
===
'振动光纤'
)
{
return
return
}
}
let
bean
=
that
.
addPoint
(
coordinate
)
let
bean
=
that
.
addPoint
(
coordinate
)
...
...
src/pages/sys/point/query-detail.vue
View file @
d258499a
...
@@ -48,9 +48,9 @@
...
@@ -48,9 +48,9 @@
el-input(v-model='dataForm.xlongit' readonly)
el-input(v-model='dataForm.xlongit' readonly)
el-form-item(:label='(dataForm.dicTypeName === "振动光纤" || dataForm.dicTypeName === "红外探测器") ? "Y坐标(起点):":"Y坐标:"' prop='ylat')
el-form-item(:label='(dataForm.dicTypeName === "振动光纤" || dataForm.dicTypeName === "红外探测器") ? "Y坐标(起点):":"Y坐标:"' prop='ylat')
el-input(v-model='dataForm.ylat' readonly)
el-input(v-model='dataForm.ylat' readonly)
el-form-item(label='X坐标(终点):' prop='xpoint' v-if="dataForm.dicTypeName === '振动光纤'
|| dataForm.dicTypeName === '红外探测器'
")
el-form-item(label='X坐标(终点):' prop='xpoint' v-if="dataForm.dicTypeName === '振动光纤'")
el-input(v-model='dataForm.xpoint' readonly)
el-input(v-model='dataForm.xpoint' readonly)
el-form-item(label='Y坐标(终点):' prop='ypoint' v-if="dataForm.dicTypeName === '振动光纤'
|| dataForm.dicTypeName === '红外探测器'
")
el-form-item(label='Y坐标(终点):' prop='ypoint' v-if="dataForm.dicTypeName === '振动光纤'")
el-input(v-model='dataForm.ypoint' readonly)
el-input(v-model='dataForm.ypoint' readonly)
el-form-item(label='地图层级:' prop='tierId')
el-form-item(label='地图层级:' prop='tierId')
el-input(v-model='dataForm.tierName' readonly)
el-input(v-model='dataForm.tierName' readonly)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment