|
@@ -9,7 +9,7 @@
|
|
|
placeholder="选择角色搜索"
|
|
|
>
|
|
|
</t-select>
|
|
|
- <t-button>搜索</t-button>
|
|
|
+ <t-button @click="search">搜索</t-button>
|
|
|
<t-button v-if="perm.BUTTON_Add" theme="primary" @click="handleAdd">
|
|
|
<template #icon><svg-icon name="add-circle" color="#fff" /></template>
|
|
|
新增用户
|
|
@@ -151,6 +151,7 @@ const {
|
|
|
tableData,
|
|
|
fetchData,
|
|
|
onChange,
|
|
|
+ search,
|
|
|
} = useFetchTable(getUserList, {
|
|
|
params: { roleIds: params.value.roleIds.join(',') },
|
|
|
});
|