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
ecf4e521
authored
2020-10-19 18:16:04 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(jzd):界址点
1 parent
929e653e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
src/views/systemZD/jzd/index.vue
src/views/systemZD/jzd/index.vue
View file @
ecf4e52
...
...
@@ -2,7 +2,7 @@
<div
class=
"main"
>
<div
class=
"button"
>
<el-button
type=
"primary"
@
click=
"oneExit"
>
编辑
</el-button>
<el-button
type=
"primary"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"save"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"batchExit"
>
批量修改
</el-button>
</div>
<div
class=
"table"
>
...
...
@@ -20,8 +20,10 @@
<td><input
type=
"checkbox"
v-model=
"item.isCheck"
@
change=
"changeAll"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.jzdh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.sxh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.xzbz"
:readonly=
"item.iszb"
/></td>
<td><input
tepe=
"text"
class=
"formInput"
v-model=
"item.yzbz"
:readonly=
"item.iszb"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.xzbz"
:readonly=
"item.iszb"
@
keydown=
"oninput"
/></td>
<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.jbisdisabled"
>
<el-option
...
...
@@ -202,8 +204,21 @@
})
},
methods
:
{
save
()
{
console
.
log
(
"保存...."
);
for
(
let
item
of
this
.
jzdlist
)
{
if
(
item
.
isCheck
)
{
item
.
iszb
=
'readonly'
;
item
.
jbisdisabled
=
true
;
item
.
jzdisdisabled
=
true
;
}
}
},
oninput
(
e
)
{
e
.
target
.
value
=
(
e
.
target
.
value
.
match
(
/^
\d
*
(\.?\d{0,0})
/g
)[
0
])
||
null
},
changeAll
(
e
)
{
if
(
!
e
.
target
.
checked
){
if
(
!
e
.
target
.
checked
)
{
console
.
log
(
"11111"
)
this
.
isCheckAll
=
false
;
return
...
...
Please
register
or
sign in
to post a comment