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
21c04667
authored
2020-12-04 14:10:45 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
根据房屋状态标记的不同颜色改变选中户的边框颜色
1 parent
7fcc0686
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
10 deletions
src/assets/less/main.less
src/views/zrz/lpb/bjlp/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/assets/less/main.less
View file @
21c0466
...
...
@@ -37,7 +37,7 @@
table{
border-width: 0;
}
table,t
d,t
r,.el-col,.title{
table,tr,.el-col,.title{
border-color: #E6E6E6 !important;
}
.el-table th{
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
21c0466
...
...
@@ -138,7 +138,7 @@
v-for=
"(item, index) in dyztList"
:key=
"index"
class=
"cp"
@
click=
"handleChoosedH(item.bsms)"
@
click=
"handleChoosedH(item.bsms
,item.color
)"
>
<td>
<i
class=
"fa fa-circle"
:style=
"
{ color: item.color }">
</i
...
...
@@ -165,7 +165,7 @@
v-for=
"(item, index) in fwxzList"
:key=
"index"
class=
"cp"
@
click=
"handleChoosedH(item.bsms)"
@
click=
"handleChoosedH(item.bsms
,item.color
)"
>
<td>
<i
class=
"fa fa-circle"
:style=
"
{ color: item.color }">
</i
...
...
@@ -195,7 +195,7 @@
v-for=
"(item, index) in fwytList"
:key=
"index"
class=
"cp"
@
click=
"handleChoosedH(item.bsms)"
@
click=
"handleChoosedH(item.bsms
,item.color
)"
>
<td>
<i
class=
"fa fa-circle"
:style=
"
{ color: item.color }">
</i
...
...
@@ -596,14 +596,23 @@ export default {
}
});
},
//选中房屋状态
handleChoosedH
(
bsms
)
{
console
.
log
(
bsms
,
'bsms'
);
//切换房屋状态
handleChoosedH
(
bsms
,
color
)
{
//每次切换房屋状态,将之前高亮的户边框颜色重置为默认
this
.
$refs
.
lpbContent
.
choosedList
=
[];
this
.
$refs
.
lpbContent
.
$refs
.
hBsm
.
forEach
((
item
)
=>
{
item
.
style
.
borderColor
=
'#E6E6E6'
;
});
// console.log(bsms,'bsms');
// console.log(color,'color');
// Dyzt:{list:[],mj:''}
//清除选中户
this
.
$refs
.
lpbContent
.
clearChoosedH
();
//给hBsmList传值
this
.
$refs
.
lpbContent
.
choosedList
=
bsms
;
// this.$refs.lpbContent.clearChoosedH();
this
.
$nextTick
(()
=>
{
//给hBsmList传值
this
.
$refs
.
lpbContent
.
choosedList
=
bsms
;
this
.
$refs
.
lpbContent
.
borderColor
=
color
;
})
},
//批量添加不动产单元号
addBdcdyh
()
{
...
...
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
21c0466
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment