This repository was archived by the owner on Nov 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +60
-254
lines changed
Expand file tree Collapse file tree 2 files changed +60
-254
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <!--
2+ * @Author: Copyright(c) 2020 Suwings
3+ * @Date: 2021-05-08 11:53:54
4+ * @LastEditTime: 2021-07-03 09:32:19
5+ * @Description:
6+ -->
7+
8+ <template >
9+ <el-row :gutter =" 20" >
10+ <el-col :span =" 24" >
11+ <Panel >
12+ <template #title >用户列表</template >
13+ <template #default > test </template >
14+ </Panel >
15+ </el-col >
16+ </el-row >
17+ </template >
18+
19+ <script >
20+ import Panel from " ../../components/Panel" ;
21+ // import { ElMessage } from "element-plus";
22+ export default {
23+ data () {
24+ return {
25+ objects: [
26+ {
27+ uuid: " 14c154fc93bb4186a129d235310f2431" ,
28+ userName: " Suwings" ,
29+ permission: " 管理账户" ,
30+ registerTime: " 2021/1/1 12:24:11" ,
31+ loginTime: " 2021/1/1 12:24:11" ,
32+ instances: []
33+ }
34+ ],
35+ multipleSelection: [] // 表格多选属性
36+ };
37+ },
38+ mounted () {},
39+ methods: {
40+ // 表格多选函数
41+ selectionChange (v ) {
42+ this .multipleSelection = v;
43+ },
44+ editObject () {},
45+ batDelete () {
46+ console .log (" Delete:" , this .multipleSelection );
47+ }
48+ },
49+ components: { Panel }
50+ };
51+ </script >
52+
53+ <style >
54+ .instance-table-warpper {
55+ display : flex ;
56+ align-items : center ;
57+ justify-content : space-between ;
58+ margin-bottom : 12px ;
59+ }
60+ </style >
You can’t perform that action at this time.
0 commit comments