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
3d827e8c
authored
2020-12-17 09:54:38 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
分割和合并业务切换时,重置之前操作
1 parent
8cb9ef98
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
5 deletions
src/views/panel/change/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/panel/change/index.vue
View file @
3d827e8
<
template
>
<div
class=
"content_box"
>
<el-tabs
v-model=
"activeName"
class=
"tabs"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"分割"
name=
"fg"
><fg></fg></el-tab-pane>
<el-tab-pane
label=
"合并"
name=
"hb"
><hb
v-if=
"hbLoad"
></hb></el-tab-pane>
<el-tab-pane
label=
"分割"
name=
"fg"
><fg
ref=
"fg"
v-if=
"fgLoad"
></fg></el-tab-pane>
<el-tab-pane
label=
"合并"
name=
"hb"
><hb
ref=
"hb"
v-if=
"hbLoad"
></hb></el-tab-pane>
<el-tab-pane
label=
"范围属性变更"
name=
"fwsxbg"
><fwsxbg
v-if=
"fwsxbgLoad"
></fwsxbg></el-tab-pane>
<el-tab-pane
label=
"重新落宗"
name=
"cxlz"
><cxlz
v-if=
"cxlzLoad"
></cxlz></el-tab-pane>
</el-tabs>
...
...
@@ -23,6 +23,7 @@ export default {
data
()
{
return
{
activeName
:
"fg"
,
fgLoad
:
true
,
hbLoad
:
false
,
//默认不加载合并tab
fwsxbgLoad
:
false
,
//默认不加载范围属性变更tab
cxlzLoad
:
false
,
//默认不加载重新落宗tab
...
...
@@ -30,10 +31,19 @@ export default {
},
methods
:
{
handleClick
(
tab
,
event
)
{
console
.
log
(
tab
.
name
);
// this.$refs.fg.$refs.isSearch = true;
if
(
tab
.
name
!=
'fg'
)
{
this
.
fgLoad
=
false
;
}
if
(
tab
.
name
!=
'hb'
)
{
this
.
hbLoad
=
false
;
}
if
(
!
this
.
hbLoad
){
this
.
hbLoad
=
tab
.
name
==
'hb'
?
true
:
false
}
if
(
!
this
.
fgLoad
){
this
.
fgLoad
=
tab
.
name
==
'fg'
?
true
:
false
}
if
(
!
this
.
fwsxbgLoad
){
this
.
fwsxbgLoad
=
tab
.
name
==
'fwsxbg'
?
true
:
false
}
...
...
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
3d827e8
...
...
@@ -307,7 +307,7 @@
<el-form
:model=
"fgData"
>
<el-form-item
label=
"分割户数"
required=
""
:label-width=
"formLabelWidth"
>
<el-input
:disabled=
"fgData.fg
hs!=''
"
:disabled=
"fgData.fg
fx!=0
"
v-model=
"fgData.fghs"
autocomplete=
"off"
></el-input>
...
...
@@ -634,10 +634,18 @@ export default {
//分割
this
.
lpbChVisible
=
true
;
this
.
fgData
.
oldbsm
=
item
.
bsm
;
console
.
log
(
item
,
'item'
);
//判断户的实际sjcs为1,只能水平分割
this
.
fgData
.
fgfx
=
item
.
sjcs
==
1
?
0
:
1
;
if
(
item
.
sjcs
==
1
){
//判断户的实际sjcs为1,只能水平分割
this
.
fgData
.
fgfx
=
0
;
this
.
fgData
.
fghs
=
''
;
}
else
{
this
.
fgData
.
fgfx
=
1
;
//判断户的实际sjhs不为1,分割户数为sjhs的值
this
.
fgData
.
fghs
=
item
.
sjhs
==
1
?
''
:
item
.
sjhs
;
this
.
fgData
.
fghs
=
item
.
sjcs
;
}
}
}
else
{
console
.
log
(
e
,
"e"
);
...
...
@@ -795,6 +803,7 @@ export default {
if
(
res
.
code
==
200
){
Message
.
success
(
'分割成功'
);
// 清除选中户
this
.
hfgDialogVisible
=
false
this
.
clearChoosedH
();
this
.
fghbChoosedList
=
[];
// 更新楼盘表
...
...
Please
register
or
sign in
to post a comment