Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xichonght
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangdishen
xichonght
Commits
cf072214
Commit
cf072214
authored
Aug 29, 2019
by
qddidi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update table.vue
parent
8779e9d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
table.vue
xichongSys/src/views/Myvue/table.vue
+25
-2
No files found.
xichongSys/src/views/Myvue/table.vue
View file @
cf072214
...
@@ -20,7 +20,13 @@
...
@@ -20,7 +20,13 @@
<el-table
<el-table
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
tooltip-effect=
"dark"
>
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"idcard"
prop=
"idcard"
label=
"身份证号"
label=
"身份证号"
...
@@ -90,6 +96,8 @@
...
@@ -90,6 +96,8 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"bottom"
>
<kt-button
class=
"check"
icon=
"el-icon-delete"
label=
"删除已选"
perms=
"sys:user:add"
type=
"primary"
/>
<el-pagination
<el-pagination
class=
"pone"
class=
"pone"
:page-size=
'10'
:page-size=
'10'
...
@@ -102,6 +110,7 @@
...
@@ -102,6 +110,7 @@
>
>
</el-pagination>
</el-pagination>
</div>
</div>
</div>
</template>
</template>
...
@@ -126,8 +135,16 @@
...
@@ -126,8 +135,16 @@
.el-table
.success-row
{
.el-table
.success-row
{
background
:
#f0f9eb
;
background
:
#f0f9eb
;
}
}
.bottom
{
margin-top
:
40px
;
overflow
:
hidden
;
}
.pone
{
.pone
{
margin-top
:
40px
margin-left
:
250px
;
float
:
left
;
}
.check
{
float
:
left
;
}
}
</
style
>
</
style
>
...
@@ -135,9 +152,11 @@
...
@@ -135,9 +152,11 @@
import
CryptoJS
from
'crypto-js'
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
import
{
Loading
}
from
'element-ui'
;
import
Candode
from
"../Core/candode"
import
Candode
from
"../Core/candode"
import
KtButton
from
"@/views/Core/KtButton"
// import baseUrl from "../../globe/globeUrl"
// import baseUrl from "../../globe/globeUrl"
export
default
{
export
default
{
components
:{
components
:{
KtButton
,
Candode
Candode
},
},
data
()
{
data
()
{
...
@@ -151,10 +170,14 @@
...
@@ -151,10 +170,14 @@
ywtype
:
""
,
ywtype
:
""
,
info
:
''
,
info
:
''
,
pageSize
:
10
,
pageSize
:
10
,
tableData
:
[]
tableData
:
[],
multipleSelection
:
[]
}
}
},
},
methods
:
{
methods
:
{
handleSelectionChange
(
val
){
this
.
multipleSelection
=
val
},
handleSizeChange
(
val
){
handleSizeChange
(
val
){
this
.
pageSize
=
val
this
.
pageSize
=
val
this
.
serchh
(
this
.
Page
)
this
.
serchh
(
this
.
Page
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment