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
0bee2c7d
authored
2020-11-17 17:44:46 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
c22ff144
ba094817
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
3 deletions
src/assets/less/main.less
src/views/systemZRZ/lpb/bjlp/index.vue
src/views/systemZRZ/lpb/bjlp/lpbContent/index.vue
src/assets/less/main.less
View file @
0bee2c7
...
...
@@ -22,6 +22,9 @@
.dn{
display: none;
}
.cp{
cursor: pointer;
}
.fl{
float: left;
}
...
...
src/views/systemZRZ/lpb/bjlp/index.vue
View file @
0bee2c7
...
...
@@ -76,7 +76,7 @@
<th>
套数
</th>
<th>
面积
</th>
</tr>
<tr
v-for=
"(item, index) in legendList"
:key=
"index"
>
<tr
v-for=
"(item, index) in legendList"
:key=
"index"
class=
"cp"
@
click=
"handleChoosedH"
>
<td>
<i
class=
"el-icon-star-on"
:style=
"
{ color: item.color }">
</i
>
{{
item
.
name
}}
...
...
@@ -380,7 +380,11 @@ export default {
}
})
},
//选中房屋状态
handleChoosedH
(){
//清除选中户
this
.
$refs
.
lpbContent
.
clearChoosedH
()
}
},
computed
:
{
},
...
...
src/views/systemZRZ/lpb/bjlp/lpbContent/index.vue
View file @
0bee2c7
...
...
@@ -238,6 +238,19 @@ export default {
}
}
},
//清除选中户
clearChoosedH
(){
this
.
$nextTick
(()
=>
{
//将每个选中的户的选中状态清除
this
.
$refs
.
hBsm
.
forEach
(
item
=>
{
if
(
item
.
className
==
'tdSelect'
){
item
.
className
=
''
;
}
});
// 清空hbsmList
this
.
hbsmList
=
[];
})
}
},
computed
:
{
createFlagChange
()
{
...
...
@@ -260,7 +273,9 @@ export default {
},
//监听有无通过输入框查询选择到的户,如果有,将其bsm放入hbsmList
searchNum
(
n
){
console
.
log
(
this
.
$refs
.
hBsm
,
'this.$refs.hBsm'
);
//清除之前选中户
this
.
clearChoosedH
();
// 渲染查询到的户
this
.
$nextTick
(()
=>
{
this
.
$refs
.
hBsm
.
forEach
(
item
=>
{
if
(
item
.
className
==
'tdSelect'
){
...
...
Please
register
or
sign in
to post a comment