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
3a8dba8b
authored
2021-01-19 16:24:20 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表添加层户按钮
1 parent
a2b5c21d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
src/views/zrz/lpb/bjlp/ch/index.vue
src/views/zrz/lpb/bjlp/ch/index.vue
View file @
3a8dba8
<
template
>
<div
class=
"addCh"
>
<el-table
class=
"addChTable"
:data=
"tableData"
style=
"width: 100%"
border
>
<el-table-column
prop=
"cz"
width=
"
4
0"
align=
"center"
>
<el-table-column
prop=
"cz"
width=
"
6
0"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span
class=
"cp"
@
click=
"handleRowClick(scope.row, scope.$index)"
>
{{
scope
.
row
.
cz
}}
</span>
<span
class=
"cp"
@
click=
"handleRowClick(scope.row, scope.$index)"
>
<i
class=
"iconfont iconicon-test1"
style=
"color:#FA6400;font-size:30px"
@
click=
"deleteYtInfo(index)"
v-if=
"scope.row.cz == '+'"
></i>
<i
class=
"iconfont iconicon-test"
style=
"color:#FA6400;font-size:30px"
@
click=
"deleteYtInfo(index)"
v-if=
"scope.row.cz == '-'"
></i>
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"zrzmc"
label=
"自然幢"
align=
"center"
>
...
...
@@ -200,6 +201,17 @@ export default {
}
.cp
{
cursor
:
pointer
;
position
:
relative
;
top
:
4px
;
}
.el-table
.cell
{
line-height
:
34px
;
}
.el-table
.cell
,
.el-table--border
td
:first-child
.cell
,
.el-table--border
th
:first-child
.cell
{
padding-left
:
5px
;
}
.el-table
td
,
.el-table
th
{
padding
:
4px
0
;
}
}
</
style
>
...
...
Please
register
or
sign in
to post a comment