Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
480eb32b
authored
2020-10-19 19:22:12 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(jzx):界址线
1 parent
ecf4e521
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
32 deletions
src/api/zd.js
src/views/systemZD/jzd/index.vue
src/views/systemZD/jzx/index.vue
src/api/zd.js
View file @
480eb32
...
...
@@ -25,3 +25,16 @@ export function queryjzd(glBsm) {
}
})
}
/**
* 查询界址线
*/
export
function
queryjzx
(
glBsm
)
{
return
request
({
url
:
'/zd/qjJzx/getQjJzxListByGlBsm'
,
method
:
'get'
,
params
:
{
glBsm
}
})
}
...
...
src/views/systemZD/jzd/index.vue
View file @
480eb32
...
...
@@ -25,7 +25,7 @@
<td><input
tepe=
"text"
class=
"formInput"
v-model=
"item.yzbz"
:readonly=
"item.iszb"
@
keydown=
"oninput"
/></td>
<td>
<el-select
v-model=
"item.jblx"
:disabled=
"item.j
b
isdisabled"
>
<el-select
v-model=
"item.jblx"
:disabled=
"item.j
zd
isdisabled"
>
<el-option
v-for=
"i in jblx"
:key=
"i.key"
...
...
@@ -88,10 +88,10 @@
</
template
>
<
script
>
import
{
queryjz
d
}
from
'../../../api/zd'
import
{
queryjz
x
}
from
'../../../api/zd'
export
default
{
name
:
""
,
name
:
"
界址点
"
,
components
:
{},
props
:
{},
data
()
{
...
...
@@ -149,7 +149,7 @@
}
],
jzdlist
:
[
{
/*
{
isCheck: false,
jzdh: 'JZDH001',
sxh: '1',
...
...
@@ -160,29 +160,7 @@
iszb: 'readonly',
jbisdisabled: true,
jzdisdisabled: true
},
{
isCheck
:
false
,
jzdh
:
'JZDH002'
,
sxh
:
'2'
,
xzbz
:
'10.0'
,
yzbz
:
'11.0'
,
jblx
:
'2'
,
jzdlx
:
'2'
,
iszb
:
'readonly'
,
jbisdisabled
:
true
,
jzdisdisabled
:
true
},
{
isCheck
:
false
,
jzdh
:
'JZDH003'
,
sxh
:
'3'
,
xzbz
:
'10.0'
,
yzbz
:
'11.0'
,
jblx
:
'3'
,
jzdlx
:
'3'
,
iszb
:
'readonly'
,
jbisdisabled
:
true
,
jzdisdisabled
:
true
},
}*/
]
}
...
...
@@ -192,12 +170,11 @@
},
mounted
()
{
// 该标识码继承过来
let
bsm
=
'
401044005bad0557d5e3787239d8e18e
'
;
queryjz
d
(
bsm
).
then
(
res
=>
{
let
bsm
=
'
044dc12648a1f41374679281da63e93b
'
;
queryjz
x
(
bsm
).
then
(
res
=>
{
for
(
let
i
=
0
;
i
<
res
.
result
.
length
;
i
++
)
{
res
.
result
[
i
][
'isCheck'
]
=
false
;
res
.
result
[
i
][
'iszb'
]
=
'readonly'
;
res
.
result
[
i
][
'jbisdisabled'
]
=
true
;
res
.
result
[
i
][
'jzdisdisabled'
]
=
true
;
}
this
.
jzdlist
=
res
.
result
;
...
...
@@ -215,7 +192,7 @@
}
},
oninput
(
e
)
{
e
.
target
.
value
=
(
e
.
target
.
value
.
match
(
/^
\d
*
(\.?\d{0,
0
})
/g
)[
0
])
||
null
e
.
target
.
value
=
(
e
.
target
.
value
.
match
(
/^
\d
*
(\.?\d{0,
4
})
/g
)[
0
])
||
null
},
changeAll
(
e
)
{
if
(
!
e
.
target
.
checked
)
{
...
...
@@ -240,7 +217,6 @@
for
(
let
item
of
this
.
jzdlist
)
{
if
(
item
.
isCheck
)
{
item
.
iszb
=
false
;
item
.
jbisdisabled
=
false
;
item
.
jzdisdisabled
=
false
;
}
}
...
...
src/views/systemZD/jzx/index.vue
View file @
480eb32
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment