lxf 1 年之前
父节点
当前提交
326d239c36
共有 1 个文件被更改,包括 17 次插入0 次删除
  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 [
     {