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
34ca01fe
authored
2020-11-10 19:03:46 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
merge(plzl):对接批量坐落接口
1 parent
3e745cf5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
8 deletions
src/api/zrz.js
src/components/plzl/plZl.vue
src/views/systemZRZ/lpb/bjlp/index.vue
src/api/zrz.js
View file @
34ca01f
...
...
@@ -103,3 +103,14 @@ export function updateSh(data) {
data
:
data
})
}
/**
* 批量坐落
*/
export
function
updateZl
(
data
)
{
return
request
({
url
:
'/system/qjH/batchZl'
,
method
:
'put'
,
data
:
data
})
}
...
...
src/components/plzl/plZl.vue
View file @
34ca01f
...
...
@@ -102,6 +102,9 @@
</
template
>
<
script
>
import
{
updateZl
}
from
'./../../api/zrz'
import
{
Message
}
from
'element-ui'
export
default
{
name
:
"plZl"
,
props
:
{
...
...
@@ -111,9 +114,6 @@
},
bsms
:
{
type
:
Array
},
measureType
:
{
type
:
String
}
},
data
()
{
...
...
@@ -198,8 +198,13 @@
methods
:
{
save
:
function
()
{
this
.
plzlData
[
'bsms'
]
=
this
.
bsms
;
this
.
plzlData
[
'measureType'
]
=
this
.
measureType
;
console
.
log
(
"save......"
,
this
.
plzlData
)
updateZl
(
this
.
plzlData
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
close
();
}
else
{
Message
.
error
(
res
.
message
)
}
})
},
cancel
:
function
()
{
console
.
log
(
"cancel......"
)
...
...
src/views/systemZRZ/lpb/bjlp/index.vue
View file @
34ca01f
...
...
@@ -111,7 +111,7 @@
</el-dialog>
<!-- 批量操作弹出框 -->
<pl-h
:plh-visible=
"plhVisible"
:bsms=
"bsms"
@
close=
"plhClose"
></pl-h>
<pl-zl
:pl-zl-visible=
"plzlVisible"
:bsms=
"bsms"
:measureType=
"tabPosition"
@
close=
"plZlClose"
></pl-zl>
<pl-zl
:pl-zl-visible=
"plzlVisible"
:bsms=
"bsms"
@
close=
"plZlClose"
></pl-zl>
<pl-c
:plc-visible=
"plcVisible"
:bsms=
"bsms"
@
close=
"plcClose"
></pl-c>
<pl-sh
:plShVisible=
"plShVisible"
:bsms=
"bsms"
@
close=
"plshClose"
></pl-sh>
<!-- 双击户的弹出框 -->
...
...
@@ -325,7 +325,7 @@ export default {
this
.
hbsm
=
this
.
bsms
[
this
.
bsms
.
length
-
1
];
this
.
hbjVisible
=
true
;
setTimeout
(()
=>
{
this
.
$refs
.
hbj
.
getHInfo
(
this
.
hbsm
);
this
.
$refs
.
hbj
.
getHInfo
(
this
.
hbsm
);
},
0
);
}
else
{
//单击 TO DO
...
...
@@ -347,7 +347,7 @@ export default {
},
//户保存
hbjSaveInfo
(){
this
.
$refs
.
hbj
.
onSave
(
this
.
bsms
[
this
.
bsms
.
length
-
1
],
this
.
tabPosition
);
this
.
$refs
.
hbj
.
onSave
(
this
.
bsms
[
this
.
bsms
.
length
-
1
],
this
.
tabPosition
);
},
//户编辑表单重置
hbjResetInfo
(){
...
...
Please
register
or
sign in
to post a comment