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
4a16a083
authored
2020-12-15 15:24:57 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(fg):更改多幢分割选择列表
1 parent
aa4e2e55
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
399 additions
and
174 deletions
src/api/search.js
src/components/dzQueryData/dzQueryData.vue
src/components/queryData/queryData.vue
src/components/zdQueryData/zdQueryData.vue
src/views/panel/change/fg/index.vue
src/api/search.js
View file @
4a16a08
...
...
@@ -10,6 +10,10 @@ export function getSearchList(data) {
})
}
/**
* 宗地分割选择宗地列表
* @param data
*/
export
function
zdlist
(
data
)
{
return
request
({
url
:
'/zd/qjZdjbxx/zdlist'
,
...
...
@@ -17,3 +21,15 @@ export function zdlist(data) {
data
:
data
})
}
/**
* 多幢分割选择多幢列表
* @param data
*/
export
function
dzList
(
data
)
{
return
request
({
url
:
'/fw/qjDz/dzlist'
,
method
:
'post'
,
data
:
data
})
}
...
...
src/components/dzQueryData/dzQueryData.vue
0 → 100644
View file @
4a16a08
<
template
>
<div>
<el-dialog
title=
"新增"
:visible
.
sync=
"isVisible"
width=
"70%"
@
close=
"close"
:modal-append-to-body=
"false"
center
>
<div
class=
"search"
>
<el-row>
<el-col
:span=
"24"
>
<el-form
:inline=
"true"
class=
"demo-form-inline"
>
<el-form-item
label=
"宗地编码"
>
<el-input
v-model=
"queryData.zddm"
placeholder=
"输入宗地编码"
></el-input>
</el-form-item>
<el-form-item
label=
"不动产权证号"
>
<el-input
v-model=
"queryData.bdcqzh"
placeholder=
"输入不动产权证号"
></el-input>
</el-form-item>
<el-form-item
label=
"不动产单元号"
>
<el-input
maxlength=
"28"
v-model=
"queryData.bdcdyh"
placeholder=
"输入不动产单元号"
></el-input>
</el-form-item>
<el-button
type=
"primary"
style=
"margin-left:30px"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"warning"
@
click=
"reset"
>
重置
</el-button>
</el-form>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form
:inline=
"true"
class=
"demo-form-inline"
>
<el-form-item
label=
"权利人"
>
<el-input
v-model=
"queryData.qlrmc"
placeholder=
"输入权利人"
></el-input>
</el-form-item>
<el-form-item
label=
"坐落"
>
<el-input
v-model=
"queryData.zl"
placeholder=
"输入坐落"
></el-input>
</el-form-item>
</el-form>
</el-col>
</el-row>
<div
class=
"table-bode"
>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
操作
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"Data.length==0"
>
<td
colspan=
"8"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
v-for=
"(item,index) in Data"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td
@
click=
"addData(item)"
class=
"xz"
>
<span>
选择
</span>
</td>
<td>
{{
item
.
zddm
}}
</td>
<td>
{{
item
.
bdcdyh
}}
</td>
<td>
{{
item
.
xmmc
}}
</td>
<td>
{{
item
.
bdcqzh
}}
</td>
<td>
{{
item
.
qlr
}}
</td>
<td>
{{
item
.
zl
}}
</td>
</tr>
</table>
</div>
</div>
<div
class=
"page"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:page-size=
"queryData.pageSize"
:total=
"total"
@
current-change=
"currentChange"
>
</el-pagination>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
dzList
}
from
'./../../api/search'
export
default
{
name
:
"zdQueryData"
,
data
()
{
return
{
total
:
1
,
queryData
:
{
bdcdyh
:
""
,
bdcqzh
:
""
,
qlrmc
:
""
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
pageNo
:
1
,
pageSize
:
10
,
},
Data
:
[],
isVisible
:
false
}
},
props
:
{
centerDialogVisible
:
{
type
:
Boolean
,
default
:
function
()
{
return
false
}
},
isClose
:
{
type
:
Boolean
,
default
:
false
}
},
mounted
()
{
this
.
getData
(
this
.
queryData
)
},
created
()
{
},
methods
:
{
currentChange
:
function
(
val
)
{
this
.
queryData
.
pageNo
=
val
;
this
.
getData
(
this
.
queryData
);
},
reset
:
function
()
{
this
.
queryData
=
{
bdcdyh
:
""
,
bdcqzh
:
""
,
qlrmc
:
""
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
pageNo
:
1
,
pageSize
:
10
};
this
.
getData
(
this
.
queryData
)
},
getData
:
function
(
data
)
{
dzList
(
data
).
then
(
res
=>
{
this
.
Data
=
res
.
result
.
records
this
.
total
=
res
.
result
.
total
;
})
},
search
:
function
()
{
this
.
getData
(
this
.
queryData
)
},
addData
:
function
(
val
)
{
this
.
$emit
(
"getData"
,
val
)
if
(
this
.
isClose
)
{
this
.
close
();
}
},
close
:
function
()
{
this
.
$emit
(
'close'
)
this
.
reset
();
}
},
watch
:
{
centerDialogVisible
(
val
)
{
this
.
isVisible
=
val
}
}
}
</
script
>
<
style
scoped
lang=
"less"
>
.main
{
box-sizing
:
border-box
;
padding
:
18px
;
height
:
auto
;
width
:
80%
;
}
/
deep
/
.el-form-item__label
{
width
:
96px
;
text-align
:
right
;
}
table
{
margin-top
:
10px
;
background-color
:
#fff
;
font-size
:
14px
;
width
:
100%
;
tr
:
hover
{
background-color
:
#F5F7FA
;
}
}
td
{
text-align
:
center
;
height
:
36px
;
min-width
:
50px
;
}
table
:hover
{
cursor
:
pointer
;
}
.inputtitle
{
line-height
:
40px
;
}
.shop
{
margin-top
:
20px
;
}
.xz
{
color
:
blue
;
}
.noData
{
color
:
#b2b2b2
;
}
.table-bode
{
height
:
450px
;
}
.page
{
margin-top
:
20px
;
}
</
style
>
src/components/queryData/queryData.vue
View file @
4a16a08
...
...
@@ -10,32 +10,32 @@
<div
class=
"search"
>
<!--
<el-button
type=
"primary"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"result"
>
重置
</el-button>
-->
<el-row>
<el-col
:span=
"24"
>
<el-form
:inline=
"true"
class=
"demo-form-inline"
>
<el-form-item
label=
"宗地编码"
>
<el-input
v-model=
"queryData.zddm"
placeholder=
"输入宗地编码"
v-model=
"queryData.zddm"
placeholder=
"输入宗地编码"
></el-input>
</el-form-item>
<el-form-item
label=
"不动产权证号"
>
<el-input
v-model=
"queryData.bdcqzh"
placeholder=
"输入不动产权证号"
v-model=
"queryData.bdcqzh"
placeholder=
"输入不动产权证号"
></el-input>
</el-form-item>
<el-form-item
label=
"不动产单元号"
>
<el-input
maxlength=
"28"
v-model=
"queryData.bdcdyh"
placeholder=
"输入不动产单元号"
maxlength=
"28"
v-model=
"queryData.bdcdyh"
placeholder=
"输入不动产单元号"
></el-input>
</el-form-item>
<el-button
type=
"primary"
style=
"margin-left:30px"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"warning"
@
click=
"reset"
>
重置
</el-button>
</el-form>
</el-form>
</el-col>
</el-row>
<el-row>
...
...
@@ -43,85 +43,50 @@
<el-form
:inline=
"true"
class=
"demo-form-inline"
>
<el-form-item
label=
"权利人"
>
<el-input
v-model=
"queryData.qlrmc"
placeholder=
"输入权利人"
v-model=
"queryData.qlrmc"
placeholder=
"输入权利人"
></el-input>
</el-form-item>
<el-form-item
label=
"坐落"
>
<el-input
v-model=
"queryData.zl"
placeholder=
"输入坐落"
v-model=
"queryData.zl"
placeholder=
"输入坐落"
></el-input>
</el-form-item>
</el-form>
</el-col>
</el-row>
<!--
<el-row
:gutter=
"10"
class=
"shop"
>
<el-col
:span=
"4"
class=
"inputtitle"
>
宗地编码:
</el-col>
<el-col
:span=
"8"
class=
""
>
<el-input
v-model=
"queryData.zddm"
></el-input>
</el-col>
<el-col
:span=
"4"
class=
"inputtitle"
>
不动产权证号:
</el-col>
<el-col
:span=
"8"
class=
""
>
<el-input
v-model=
"queryData.bdcqzh"
></el-input>
</el-col>
</el-row>
-->
<!--
<el-row
:gutter=
"10"
>
<el-col
:span=
"4"
class=
"inputtitle"
>
不动产单元号:
</el-col>
<el-col
:span=
"8"
>
<el-input
v-model=
"queryData.bdcdyh"
></el-input>
</el-col>
<el-col
:span=
"4"
class=
"inputtitle"
>
权利人:
</el-col>
<el-col
:span=
"8"
>
<el-input
v-model=
"queryData.qlrmc"
></el-input>
</el-form>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"4"
class=
"inputtitle"
>
坐落:
</el-col>
<el-col
:span=
"8"
>
<el-input
v-model=
"queryData.zl"
></el-input>
</el-col>
</el-row>
-->
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
操作
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"Data.length==0"
>
<td
colspan=
"8"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
v-for=
"(item,index) in Data"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td
@
click=
"addData(item)"
class=
"xz"
>
<span>
选择
</span>
</td>
<td>
{{
item
.
zddm
}}
</td>
<td>
{{
item
.
bdcdyh
}}
</td>
<td>
{{
item
.
xmmc
}}
</td>
<td>
{{
item
.
bdcqzh
}}
</td>
<td>
{{
item
.
qlr
}}
</td>
<td>
{{
item
.
zl
}}
</td>
</tr>
</table>
<div
class=
"table-data"
>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
操作
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"Data.length==0"
>
<td
colspan=
"8"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
v-for=
"(item,index) in Data"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td
@
click=
"addData(item)"
class=
"xz"
>
<span>
选择
</span>
</td>
<td>
{{
item
.
zddm
}}
</td>
<td>
{{
item
.
bdcdyh
}}
</td>
<td>
{{
item
.
xmmc
}}
</td>
<td>
{{
item
.
bdcqzh
}}
</td>
<td>
{{
item
.
qlr
}}
</td>
<td>
{{
item
.
zl
}}
</td>
</tr>
</table>
</div>
</div>
<div
class=
"page"
>
<el-pagination
...
...
@@ -145,7 +110,7 @@
name
:
"queryData"
,
data
()
{
return
{
total
:
1
,
total
:
1
,
queryData
:
{
bdcdyh
:
""
,
bdcqzh
:
""
,
...
...
@@ -175,9 +140,9 @@
return
[
'zd'
]
}
},
isZdClose
:{
type
:
Boolean
,
default
:
false
isZdClose
:
{
type
:
Boolean
,
default
:
false
}
},
mounted
()
{
...
...
@@ -190,7 +155,7 @@
this
.
queryData
.
pageNo
=
val
;
this
.
getData
(
this
.
queryData
);
},
reset
(){
reset
()
{
this
.
queryData
=
{
bdcdyh
:
""
,
bdcqzh
:
""
,
...
...
@@ -204,23 +169,23 @@
};
this
.
getData
(
this
.
queryData
)
},
getData
(
data
){
getData
(
data
)
{
data
[
'dylxs'
]
=
this
.
dylxs
;
getSearchList
(
data
).
then
(
res
=>
{
this
.
Data
=
res
.
result
.
records
this
.
total
=
res
.
result
.
total
;
})
},
search
(){
search
()
{
this
.
getData
(
this
.
queryData
)
},
addData
(
val
){
addData
(
val
)
{
this
.
$emit
(
"getData"
,
val
)
if
(
this
.
isZdClose
)
{
this
.
close
();
}
},
close
(){
close
()
{
this
.
$emit
(
'close'
)
this
.
reset
();
}
...
...
@@ -241,7 +206,8 @@
height
:
auto
;
width
:
80%
;
}
/
deep
/
.el-form-item__label
{
/
deep
/
.el-form-item__label
{
width
:
96px
;
text-align
:
right
;
}
...
...
@@ -251,7 +217,7 @@
background-color
:
#fff
;
font-size
:
14px
;
width
:
100%
;
tr
:
hover
{
tr
:
hover
{
background-color
:
#F5F7FA
;
}
}
...
...
@@ -281,7 +247,10 @@
.noData
{
color
:
#b2b2b2
;
}
.page
{
.table-data
{
height
:
450px
;
}
.page
{
margin-top
:
20px
;
}
...
...
src/components/zdQueryData/zdQueryData.vue
View file @
4a16a08
...
...
@@ -13,26 +13,26 @@
<el-form
:inline=
"true"
class=
"demo-form-inline"
>
<el-form-item
label=
"宗地编码"
>
<el-input
v-model=
"queryData.zddm"
placeholder=
"输入宗地编码"
v-model=
"queryData.zddm"
placeholder=
"输入宗地编码"
></el-input>
</el-form-item>
<el-form-item
label=
"不动产权证号"
>
<el-input
v-model=
"queryData.bdcqzh"
placeholder=
"输入不动产权证号"
v-model=
"queryData.bdcqzh"
placeholder=
"输入不动产权证号"
></el-input>
</el-form-item>
<el-form-item
label=
"不动产单元号"
>
<el-input
maxlength=
"28"
v-model=
"queryData.bdcdyh"
placeholder=
"输入不动产单元号"
maxlength=
"28"
v-model=
"queryData.bdcdyh"
placeholder=
"输入不动产单元号"
></el-input>
</el-form-item>
<el-button
type=
"primary"
style=
"margin-left:30px"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"warning"
@
click=
"reset"
>
重置
</el-button>
</el-form>
</el-form>
</el-col>
</el-row>
<el-row>
...
...
@@ -40,49 +40,50 @@
<el-form
:inline=
"true"
class=
"demo-form-inline"
>
<el-form-item
label=
"权利人"
>
<el-input
v-model=
"queryData.qlrmc"
placeholder=
"输入权利人"
v-model=
"queryData.qlrmc"
placeholder=
"输入权利人"
></el-input>
</el-form-item>
<el-form-item
label=
"坐落"
>
<el-input
v-model=
"queryData.zl"
placeholder=
"输入坐落"
v-model=
"queryData.zl"
placeholder=
"输入坐落"
></el-input>
</el-form-item>
</el-form>
</el-form>
</el-col>
</el-row>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
操作
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"Data.length==0"
>
<td
colspan=
"8"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
v-for=
"(item,index) in Data"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td
@
click=
"addData(item)"
class=
"xz"
>
<span>
选择
</span>
</td>
<td>
{{
item
.
zddm
}}
</td>
<td>
{{
item
.
bdcdyh
}}
</td>
<td>
{{
item
.
xmmc
}}
</td>
<td>
{{
item
.
bdcqzh
}}
</td>
<td>
{{
item
.
qlr
}}
</td>
<td>
{{
item
.
zl
}}
</td>
</tr>
</table>
<div
class=
"table-bode"
>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
操作
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"Data.length==0"
>
<td
colspan=
"8"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
v-for=
"(item,index) in Data"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td
@
click=
"addData(item)"
class=
"xz"
>
<span>
选择
</span>
</td>
<td>
{{
item
.
zddm
}}
</td>
<td>
{{
item
.
bdcdyh
}}
</td>
<td>
{{
item
.
xmmc
}}
</td>
<td>
{{
item
.
bdcqzh
}}
</td>
<td>
{{
item
.
qlr
}}
</td>
<td>
{{
item
.
zl
}}
</td>
</tr>
</table>
</div>
</div>
<div
class=
"page"
>
<el-pagination
...
...
@@ -106,13 +107,11 @@
name
:
"zdQueryData"
,
data
()
{
return
{
total
:
1
,
total
:
1
,
queryData
:
{
bdcdyh
:
""
,
bdcqzh
:
""
,
dylxs
:
[
'zd'
],
qlrmc
:
""
,
qszt
:
[
"2"
],
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
...
...
@@ -130,15 +129,9 @@
return
false
}
},
qszt
:{
type
:
Array
,
default
:
function
()
{
return
[
'2'
]
}
},
isZdClose
:{
type
:
Boolean
,
default
:
false
isZdClose
:
{
type
:
Boolean
,
default
:
false
}
},
mounted
()
{
...
...
@@ -156,7 +149,6 @@
bdcdyh
:
""
,
bdcqzh
:
""
,
qlrmc
:
""
,
qszt
:
[
"2"
],
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
...
...
@@ -166,7 +158,6 @@
this
.
getData
(
this
.
queryData
)
},
getData
:
function
(
data
)
{
data
[
'dylxs'
]
=
this
.
dylxs
;
zdlist
(
data
).
then
(
res
=>
{
this
.
Data
=
res
.
result
.
records
this
.
total
=
res
.
result
.
total
;
...
...
@@ -202,18 +193,18 @@
height
:
auto
;
width
:
80%
;
}
/
deep
/
.el-form-item__label
{
/
deep
/
.el-form-item__label
{
width
:
96px
;
text-align
:
right
;
}
table
{
margin-top
:
10px
;
background-color
:
#fff
;
font-size
:
14px
;
width
:
100%
;
tr
:
hover
{
tr
:
hover
{
background-color
:
#F5F7FA
;
}
}
...
...
@@ -243,7 +234,10 @@
.noData
{
color
:
#b2b2b2
;
}
.page
{
.table-bode
{
height
:
450px
;
}
.page
{
margin-top
:
20px
;
}
...
...
src/views/panel/change/fg/index.vue
View file @
4a16a08
...
...
@@ -162,7 +162,7 @@
</el-tab-pane>
<el-tab-pane
label=
"自然幢"
name=
"zrz"
>
<ul>
<li
:class=
"[zdFghData.newZdlist[index].zrz.indexOf(childItem) > -1 ? 'choosed':'',(childItem.hasChoosed === index || childItem.hasChoosed === '' )? '':'cantClick']"
<li
:class=
"[zdFghData.newZdlist[index].zrz.indexOf(childItem) > -1 ? 'choosed':'',(childItem.hasChoosed === index || childItem.hasChoosed === '' )? '':'cantClick']"
@
click=
"zrzHandleCommand(childItem,childItem.bsm,index,childIndex)"
v-for=
"(childItem,childIndex) in zdZrzList"
:key=
"childIndex*Math.random()"
>
{{
childItem
.
xmmc
}}
<i
class=
"fa fa-check"
style=
"color:'#4EB2FF'"
></i>
</li>
...
...
@@ -293,9 +293,10 @@
</tr>
</table>
</div>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
:dylxs=
"['dz']"
:isZdClose=
"true"
@
close=
"close"
></query-data>
<dz-query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
:isClose=
"true"
@
close=
"close"
>
</dz-query-data>
<div
class=
"header-button"
:style=
"{width:fgBoxWidth+'px'}"
>
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"save"
>
保存
</el-button>
</div>
...
...
@@ -310,7 +311,7 @@
<ul>
<li><span>
宗地代码:
</span>
{{hFgqData.zddm}}
</li>
<li><span>
不动产单元号:
</span>
{{hFgqData.bdcdyh}}
</li>
<li><span>
项目名称:
</span>
{{hFgqData.xmmc}}
</li>
s's's's's's's's's's's's's's's's's's's
<li><span>
项目名称:
</span>
{{hFgqData.xmmc}}
</li>
<li><span>
不动产权证号:
</span>
{{hFgqData.bdcqzh}}
</li>
<li><span>
权利人:
</span>
{{hFgqData.qlr}}
</li>
<li><span>
坐落:
</span>
{{hFgqData.zl}}
</li>
...
...
@@ -331,7 +332,7 @@
</div>
<ul>
<li
v-for=
"(item,index) in zdZxx.dzList"
:key=
"index"
:class=
"(index+1)%2==0?'':'oddborder'"
>
{{item.xmmc}}
:class=
"(index+1)%2==
=
0?'':'oddborder'"
>
{{item.xmmc}}
</li>
</ul>
</div>
...
...
@@ -455,11 +456,12 @@
import
{
getHZdxx
}
from
'./../../../../api/h'
import
QueryData
from
'./../../../../components/queryData/queryData'
import
zdQueryData
from
'./../../../../components/zdQueryData/zdQueryData'
import
dzQueryData
from
'./../../../../components/dzQueryData/dzQueryData'
import
{
Message
}
from
'element-ui'
export
default
{
name
:
""
,
components
:
{
QueryData
,
zdQueryData
},
components
:
{
QueryData
,
zdQueryData
,
dzQueryData
},
props
:
{},
data
()
{
return
{
...
...
@@ -557,7 +559,7 @@
this
.
dzFghData
.
fwlist
[
index
].
zrzlist
.
splice
(
chilInd
,
1
);
this
.
tempBsmList
=
this
.
tempBsmList
.
filter
(
i
=>
i
!==
bsm
);
this
.
dzFgqZrzData
.
forEach
(
i
=>
{
if
(
i
.
bsm
==
bsm
)
{
if
(
i
.
bsm
==
=
bsm
)
{
i
.
hasChoosed
=
""
}
})
...
...
@@ -621,7 +623,7 @@
ztype
:
'zrz'
})
},
dzHandleCommand
(
obj
,
bsm
,
index
,
childIndex
)
{
//判断选中状态
if
(
this
.
zdDzList
[
childIndex
].
hasChoosed
===
''
||
this
.
zdDzList
[
childIndex
].
hasChoosed
===
index
){
...
...
@@ -667,7 +669,7 @@
if
(
this
.
dzFgZrzList
[
childIndex
].
hasChoosed
===
''
||
this
.
dzFgZrzList
[
childIndex
].
hasChoosed
===
index
){
// this.zdZrzList[childIndex].hasChoosed = index;
if
(
fwlist
.
zrzlist
.
indexOf
(
bsm
)
<
0
){
if
(
fwlist
.
ztype
==
'zrz'
&&
fwlist
.
zrzlist
.
length
>
0
){
if
(
fwlist
.
ztype
==
=
'zrz'
&&
fwlist
.
zrzlist
.
length
>
0
){
Message
.
warning
(
"当前幢类型只能选择一个自然幢"
)
}
else
{
//存入当前选择幢信息的bsm
...
...
@@ -686,7 +688,7 @@
return
}
break
;
default
:
break
;
}
...
...
@@ -744,7 +746,7 @@
}
},
saveZd
()
{
if
(
this
.
tempBsmList
.
length
==
(
this
.
zdZxx
.
dzList
.
length
+
this
.
zdZxx
.
zrzList
.
length
)){
if
(
this
.
tempBsmList
.
length
==
=
(
this
.
zdZxx
.
dzList
.
length
+
this
.
zdZxx
.
zrzList
.
length
)){
zdfg
(
this
.
zdFghData
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$store
.
state
.
zdbsms
=
res
.
result
;
...
...
@@ -760,7 +762,7 @@
}
})
}
else
{
this
.
$message
.
warning
(
"幢信息未选择完成,无法保存"
)
this
.
$message
.
warning
(
"幢信息未选择完成,无法保存"
)
}
},
saveDz
()
{
...
...
@@ -973,9 +975,9 @@
},
dzFgqData
:
{
handler
:
function
(
item
)
{
this
.
dzFgqData
.
oldZdbsm
=
item
.
gl
bsm
;
this
.
getDzZdjbxx
(
item
.
gl
bsm
);
this
.
dzfgGetZrzxx
(
item
.
gl
bsm
)
this
.
dzFgqData
.
oldZdbsm
=
item
.
bsm
;
this
.
getDzZdjbxx
(
item
.
bsm
);
this
.
dzfgGetZrzxx
(
item
.
bsm
)
},
deep
:
true
},
...
...
@@ -1001,7 +1003,7 @@
</
script
>
<
style
scoped
lang=
"less"
>
.fg
{
.menu
{
/deep/
.el-tabs__content
{
position
:
unset
;
...
...
@@ -1041,7 +1043,7 @@
}
}
}
/
deep
/
.el-card__header
{
padding
:
16px
20px
;
background-color
:
#FAFAFA
;
...
...
@@ -1143,7 +1145,7 @@
width
:
96%
!important
;
}
}
}
.zrz
{
width
:
100%
;
...
...
@@ -1215,7 +1217,7 @@
background
:
#FAFAFA
;
}
}
tr
:hover
{
background-color
:
#F5F7FA
;
}
...
...
@@ -1271,7 +1273,7 @@
display
:
inline-block
;
}
}
}
}
.choose
{
width
:
88px
;
color
:
#30A4FD
;
...
...
Please
register
or
sign in
to post a comment