-
+
{{ $tc('More') }}
@@ -51,6 +51,10 @@ export default {
type: String,
default: ''
},
+ type: {
+ type: String,
+ default: 'primary'
+ },
// 地址,发送给select2的,查询所有的objects, 和select2 ajax一样
objectsAjax: {
type: Object,
diff --git a/src/components/Swicher/index.vue b/src/components/Swicher/index.vue
new file mode 100644
index 000000000..fdef0d2e7
--- /dev/null
+++ b/src/components/Swicher/index.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
diff --git a/src/components/index.js b/src/components/index.js
index 8708592aa..156ab4cb8 100644
--- a/src/components/index.js
+++ b/src/components/index.js
@@ -19,3 +19,4 @@ export { default as SvgIcon } from './SvgIcon'
export { default as TreeTable } from './TreeTable'
export { default as IBox } from './IBox'
export { default as QuickActions } from './QuickActions'
+export { default as Switcher } from './Swicher'
diff --git a/src/i18n/langs/cn.js b/src/i18n/langs/cn.js
index 6e60763ba..0e3149479 100644
--- a/src/i18n/langs/cn.js
+++ b/src/i18n/langs/cn.js
@@ -84,7 +84,8 @@ const cn = {
'Username': '用户名',
'Email': '邮件',
'Role': '角色',
- 'Date expired': '失效日期'
+ 'Date expired': '失效日期',
+ 'Quick update': '快速更新'
},
route: {
'dashboard': '仪表盘',
diff --git a/src/layout/components/GenericCreateUpdateForm/index.vue b/src/layout/components/GenericCreateUpdateForm/index.vue
new file mode 100644
index 000000000..ab086e024
--- /dev/null
+++ b/src/layout/components/GenericCreateUpdateForm/index.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
diff --git a/src/layout/components/GenericCreateUpdatePage/index.vue b/src/layout/components/GenericCreateUpdatePage/index.vue
index 49d8008de..7859be064 100644
--- a/src/layout/components/GenericCreateUpdatePage/index.vue
+++ b/src/layout/components/GenericCreateUpdatePage/index.vue
@@ -1,173 +1,18 @@
-
-
-
+
+
+
diff --git a/src/views/users/users/UserDetail/UserInfo.vue b/src/views/users/users/UserDetail/UserInfo.vue
index 6d5548094..7ae46394a 100644
--- a/src/views/users/users/UserDetail/UserInfo.vue
+++ b/src/views/users/users/UserDetail/UserInfo.vue
@@ -4,21 +4,82 @@
-
-
+
+
+
+ 激活中: |
+
+
+
+
+ |
+
+
+ 多因子认证: |
+
+
+
+
+ |
+
+
+ 重置多因子认证: |
+
+
+ 重置
+
+ |
+
+
+ 发送重置密码邮件: |
+
+
+ 发送
+
+ |
+
+
+ 发送重置密钥邮件: |
+
+
+ 发送
+
+ |
+
+
+
+ 解除登录限制 |
+
+
+ 解除
+
+ |
+
+
+
+
|