|
@@ -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 [
|
|
|
{
|