lxf 1 year ago
parent
commit
326d239c36
1 changed files with 17 additions and 0 deletions
  1. 17 0
      src/views/group/limits-authority/user/index.vue

+ 17 - 0
src/views/group/limits-authority/user/index.vue

@@ -6,6 +6,7 @@
         :pagination="sourceList.pagination"
         :config="config"
         :loading="loading"
+        :searchConfig="searchConfig"
         highlight-current-row
         :action-list="[
           {
@@ -60,9 +61,25 @@ const sourceList = ref({
     pageNum: 1,
     pageSize: 10,
     tenantId: "000000",
+    nickName: "",
+    userName: "",
   },
 });
 const loading = ref(false);
+const searchConfig = computed(() => {
+  return [
+    {
+      type: "input",
+      prop: "nickName",
+      label: "姓名",
+    },
+    {
+      type: "input",
+      prop: "userName",
+      label: "用户名",
+    },
+  ];
+});
 const config = computed(() => {
   return [
     {