refactor(用户组和权限): 用户组根据名称搜索

This commit is contained in:
shiziyuan9527 2021-06-23 18:06:26 +08:00 committed by 刘瑞斌
parent 55b9a4c3c6
commit 6f704459c6
2 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,9 @@
</if>
</where>
) temp
<if test="request.name != null and request.name!=''">
where temp.name like CONCAT('%', #{request.name},'%')
</if>
<if test="request.orders != null and request.orders.size() > 0">
order by
<foreach collection="request.orders" separator="," item="order">

View File

@ -3,7 +3,7 @@
<el-card>
<template v-slot:header>
<ms-table-header :create-permission="['SYSTEM_GROUP:READ+CREATE','ORGANIZATION_GROUP:READ+CREATE']" :condition.sync="condition" @search="initData" @create="create"
:create-tip="$t('group.create')" :title="$t('group.group_permission')" :have-search="false"/>
:create-tip="$t('group.create')" :title="$t('group.group_permission')"/>
</template>
<el-table :data="groups" border class="adjust-table" style="width: 100%"