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
fe1a8bab
authored
2020-10-20 17:07:39 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(jzd,jzx):界址点、线
1 parent
d247a19a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
src/views/systemZD/jzd/index.vue
src/views/systemZD/jzx/index.vue
src/views/systemZD/jzd/index.vue
View file @
fe1a8ba
...
...
@@ -97,6 +97,7 @@
props
:
{},
data
()
{
return
{
bsm
:
''
,
isCheckAll
:
false
,
centerDialogVisible
:
false
,
jblx
:
[
...
...
@@ -163,7 +164,8 @@
mounted
()
{
// 该标识码继承过来
let
bsm
=
'401044005bad0557d5e3787239d8e18e'
;
this
.
getData
(
bsm
)
this
.
bsm
=
bsm
;
this
.
getData
(
this
.
bsm
)
},
methods
:
{
getData
(
bsm
)
{
...
...
@@ -173,6 +175,7 @@
res
.
result
[
i
][
'iszb'
]
=
'readonly'
;
res
.
result
[
i
][
'jzdisdisabled'
]
=
true
;
}
this
.
isCheckAll
=
false
;
this
.
jzdlist
=
res
.
result
;
})
},
...
...
@@ -182,6 +185,7 @@
console
.
log
(
res
)
if
(
res
.
success
)
{
Message
.
success
(
"保存成功"
)
this
.
getData
(
this
.
bsm
)
}
else
{
Message
.
error
(
res
.
message
)
}
...
...
@@ -246,8 +250,8 @@
}
}
jzdbatchModify
(
this
.
batchJzd
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
success
)
{
this
.
getData
(
this
.
bsm
)
this
.
centerDialogVisible
=
false
;
}
else
{
Message
.
error
(
"修改失败"
)
...
...
src/views/systemZD/jzx/index.vue
View file @
fe1a8ba
...
...
@@ -119,6 +119,7 @@
props
:
{},
data
()
{
return
{
bsm
:
''
,
isCheckAll
:
false
,
centerDialogVisible
:
false
,
jzxwz
:
[
...
...
@@ -229,7 +230,8 @@
mounted
()
{
// 该标识码继承过来
let
bsm
=
'044dc12648a1f41374679281da63e93b'
;
this
.
getData
(
bsm
)
this
.
bsm
=
bsm
;
this
.
getData
(
this
.
bsm
)
},
methods
:
{
getData
(
bsm
)
{
...
...
@@ -239,6 +241,7 @@
res
.
result
[
i
][
'jjisdisabled'
]
=
'readonly'
;
res
.
result
[
i
][
'jzxisdisabled'
]
=
true
;
}
this
.
isCheckAll
=
false
;
this
.
jzxlist
=
res
.
result
;
})
},
...
...
@@ -248,6 +251,7 @@
console
.
log
(
res
)
if
(
res
.
success
)
{
Message
.
success
(
"保存成功"
)
this
.
getData
(
this
.
bsm
)
}
else
{
Message
.
error
(
res
.
message
)
}
...
...
@@ -311,11 +315,11 @@
}
}
jzxsbatchModify
(
this
.
batchJzx
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
success
)
{
this
.
getData
(
this
.
bsm
)
this
.
centerDialogVisible
=
false
;
}
else
{
Message
.
error
(
"修改失败"
)
Message
.
error
(
res
.
message
)
}
})
}
...
...
Please
register
or
sign in
to post a comment