-
-
-
-
-
-
-
-
-
- 搜索
-
-
- 添加
-
-
-
+
+
+
+
+
+ 添加
+
+
@@ -64,8 +56,20 @@ export default {
url: 'dict/list',
page: true,
where: {
- username: '',
- name: ''
+ type: {
+ type: 'input',
+ label: '类型',
+ value: ''
+ },
+ dictType: {
+ type: 'select',
+ label: '字典类型',
+ value: '',
+ properties: {
+ 'all-option': true,
+ type: 'dict_type'
+ }
+ }
},
cols: [
{
diff --git a/magic-boot-ui/src/views/system/role/role-list.vue b/magic-boot-ui/src/views/system/role/role-list.vue
index 825a868..7fe3b40 100644
--- a/magic-boot-ui/src/views/system/role/role-list.vue
+++ b/magic-boot-ui/src/views/system/role/role-list.vue
@@ -1,18 +1,7 @@
-
-
-
-
-
-
- 搜索
-
-
- 清空
-
-
-
+
+
@@ -99,7 +88,11 @@ export default {
tableOptions: {
url: 'role/list',
where: {
- name: ''
+ name: {
+ type: 'input',
+ label: '角色名称',
+ value: ''
+ }
},
cols: [
{
diff --git a/magic-boot-ui/src/views/system/user/user-list.vue b/magic-boot-ui/src/views/system/user/user-list.vue
index dc09801..f8bd3b4 100644
--- a/magic-boot-ui/src/views/system/user/user-list.vue
+++ b/magic-boot-ui/src/views/system/user/user-list.vue
@@ -16,25 +16,14 @@
-
-
-
-
-
-
-
-
-
- 搜索
-
-
- 清空
-
+
+
+
导出
-
-
+
+
@@ -70,8 +59,16 @@ export default {
page: true,
selection: true,
where: {
- username: '',
- name: ''
+ username: {
+ type: 'input',
+ label: '登录名称',
+ value: ''
+ },
+ name: {
+ type: 'input',
+ label: '姓名/昵称',
+ value: ''
+ }
},
cols: [
{
@@ -146,10 +143,6 @@ export default {
}
},
methods: {
- reset() {
- this.tableOptions.where = {}
- this.$nextTick(() => this.reloadTable())
- },
checkChange(values) {
this.tableOptions.where.officeId = values
this.reloadTable()