From e1fc717589e896cd3db1bc4dd4654ed8b449701b Mon Sep 17 00:00:00 2001 From: OrangeM21 Date: Mon, 23 Mar 2020 18:22:10 +0800 Subject: [PATCH 1/4] =?UTF-8?q?[update]=E6=95=B0=E6=8D=AE=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/ListTables/index.vue | 28 +++ src/views/users/UserGroupDetail.vue | 41 ++++- src/views/users/UserGroupList.vue | 2 +- src/views/users/components/Tab/index.vue | 94 ++++++++++ src/views/users/components/card/index.vue | 193 +++++++++++++++++++++ src/views/users/components/index.js | 8 +- 6 files changed, 355 insertions(+), 11 deletions(-) create mode 100644 src/views/users/components/Tab/index.vue diff --git a/src/layout/components/ListTables/index.vue b/src/layout/components/ListTables/index.vue index 898f2d526..a7826c5b5 100644 --- a/src/layout/components/ListTables/index.vue +++ b/src/layout/components/ListTables/index.vue @@ -29,6 +29,17 @@
+
+ + + + 提交 +
-
+ + + + + + + + - diff --git a/src/views/users/UserGroupList.vue b/src/views/users/UserGroupList.vue index efd7bcb67..ee136a26c 100644 --- a/src/views/users/UserGroupList.vue +++ b/src/views/users/UserGroupList.vue @@ -92,7 +92,7 @@ export default { }, methods: { handleDetail: function(index, row) { - this.$router.push({ name: 'UserDetail', params: { id: row.id }}) + this.$router.push({ name: 'UserGroupDetail', params: { id: row.id }}) }, handleEdit: function(index, row) { this.$router.push({ name: 'UserGroupEdit', params: { id: row.id }}) diff --git a/src/views/users/components/Tab/index.vue b/src/views/users/components/Tab/index.vue new file mode 100644 index 000000000..37f9e3f74 --- /dev/null +++ b/src/views/users/components/Tab/index.vue @@ -0,0 +1,94 @@ + + + + + diff --git a/src/views/users/components/card/index.vue b/src/views/users/components/card/index.vue index e69de29bb..f20fc6424 100644 --- a/src/views/users/components/card/index.vue +++ b/src/views/users/components/card/index.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/src/views/users/components/index.js b/src/views/users/components/index.js index 5025f8bb6..ccbdccb20 100644 --- a/src/views/users/components/index.js +++ b/src/views/users/components/index.js @@ -1,6 +1,2 @@ -export { default as Navbar } from './Navbar' -export { default as Sidebar } from './Sidebar' -export { default as AppMain } from './AppMain' -export { default as BackPlayground } from './BackPlayground' -export { default as ListTables } from './ListTables' -export { default as Footer } from './Footer' +export { default as Tab } from './Tab' +export { default as Card } from './Card' From 3e7192617689909e44dfa982236582e8bd602359 Mon Sep 17 00:00:00 2001 From: OrangeM21 Date: Mon, 23 Mar 2020 18:25:28 +0800 Subject: [PATCH 2/4] [fix] --- src/views/users/UserList.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/users/UserList.vue b/src/views/users/UserList.vue index c4c36aed8..d71c1d93d 100644 --- a/src/views/users/UserList.vue +++ b/src/views/users/UserList.vue @@ -36,16 +36,14 @@ align="center" sortable header-align="center" - > - + /> - + /> Date: Mon, 23 Mar 2020 18:44:13 +0800 Subject: [PATCH 3/4] =?UTF-8?q?[update]=E6=9B=B4=E6=96=B0=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E8=8F=9C=E5=8D=95=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/ListTables/index.vue | 29 ++++++++++++---------- src/views/users/UserList.vue | 4 +++ 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/src/layout/components/ListTables/index.vue b/src/layout/components/ListTables/index.vue index a7826c5b5..565860501 100644 --- a/src/layout/components/ListTables/index.vue +++ b/src/layout/components/ListTables/index.vue @@ -29,16 +29,17 @@
-
+
- 提交 + 提交
Date: Mon, 23 Mar 2020 18:58:51 +0800 Subject: [PATCH 4/4] =?UTF-8?q?[fix]=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/UserGroupEdit.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/users/UserGroupEdit.vue b/src/views/users/UserGroupEdit.vue index 61a4b8fed..c4014730b 100644 --- a/src/views/users/UserGroupEdit.vue +++ b/src/views/users/UserGroupEdit.vue @@ -37,7 +37,7 @@ :rows="3" /> - + 重置 {{ buttonTitle }} @@ -151,7 +151,9 @@ export default { width: 80%; margin-left: 10%; } - +.foot_button{ + padding-bottom: 18px ; +} //重置El-select宽度 .el-select{ width: 100%;