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
3b3f8f0b
authored
2020-10-19 17:08:55 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(jzd):界址点
1 parent
40b5c69a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
3 deletions
src/views/systemZD/jzd/index.vue
src/views/systemZD/jzd/index.vue
View file @
3b3f8f0
...
...
@@ -45,16 +45,56 @@
</tr>
</table>
</div>
<div>
<el-dialog
title=
"批量修改"
:visible
.
sync=
"centerDialogVisible"
width=
"30%"
center
>
<div
class=
"plxg"
>
<div>
<span
class=
""
>
界标类型:
</span>
<el-select>
<el-option
v-for=
"i in jblx"
:key=
"i.key"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</div>
<div>
<span>
界址点类型:
</span>
<el-select>
<el-option
v-for=
"i in jzdlx"
:key=
"i.key"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"centerDialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"centerDialogVisible = false"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</div>
</
template
>
<
script
>
import
{
queryjzd
}
from
'../../../api/zd'
export
default
{
name
:
""
,
components
:
{},
props
:
{},
data
()
{
return
{
centerDialogVisible
:
false
,
jblx
:
[
{
key
:
'1'
,
...
...
@@ -145,19 +185,30 @@
}
},
created
()
{
},
mounted
()
{
// 该标识码继承过来
let
bsm
=
'401044005bad0557d5e3787239d8e18e'
;
queryjzd
(
bsm
).
then
(
res
=>
{
this
.
jzdlist
=
res
.
result
;
for
(
let
i
=
0
;
i
<
this
.
jzdlist
.
length
;
i
++
)
{
this
.
jzdlist
[
i
][
'isCheck'
]
=
false
;
this
.
jzdlist
[
i
][
'iszb'
]
=
'readonly'
;
this
.
jzdlist
[
i
][
'jbisdisabled'
]
=
true
;
this
.
jzdlist
[
i
][
'jzdisdisabled'
]
=
true
;
}
})
},
methods
:
{
allcheck
(
value
)
{
console
.
log
(
value
.
target
.
checked
)
console
.
log
(
"全选"
);
for
(
let
item
of
this
.
jzdlist
)
{
item
.
isCheck
=
value
.
target
.
checked
;
}
},
oneExit
()
{
console
.
log
(
"单一修改"
);
console
.
log
(
"oneExit......"
)
console
.
log
(
this
.
jzdlist
)
for
(
let
item
of
this
.
jzdlist
)
{
console
.
log
(
item
)
if
(
item
.
isCheck
)
{
...
...
@@ -170,6 +221,7 @@
},
batchExit
()
{
console
.
log
(
"批量修改"
)
this
.
centerDialogVisible
=
true
;
}
},
computed
:
{},
...
...
@@ -206,4 +258,8 @@
text-align
:
center
;
cursor
:
text
;
}
.plxg
span
{
width
:
300px
;
}
</
style
>
...
...
Please
register
or
sign in
to post a comment