feat: 修改所有选择用户名 /邮箱的组件
This commit is contained in:
@@ -18,17 +18,7 @@
|
||||
</div>
|
||||
<div class="admin_state_item">
|
||||
<span>{{ $t('admin.UserName') }}:</span>
|
||||
<a-select
|
||||
v-model:value="ids"
|
||||
mode="multiple"
|
||||
style="width: 230px"
|
||||
:field-names="{ label: 'label', value: 'label' }"
|
||||
:filter-option="filterOption"
|
||||
:placeholder="$t('admin.selectUserName')"
|
||||
max-tag-count="responsive"
|
||||
:options="allUserList"
|
||||
@keydown.enter="gettrialList"
|
||||
></a-select>
|
||||
<SelectUser v-model:value="ids" multiple />
|
||||
</div>
|
||||
</div>
|
||||
<div class="admin_search">
|
||||
@@ -188,8 +178,9 @@ import { Modal, message, Input } from 'ant-design-vue'
|
||||
import { ExclamationCircleOutlined, MoreOutlined } from '@ant-design/icons-vue'
|
||||
import allUserPoerationsVue from './addAllUser.vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import SelectUser from '@/component/common/SelectUser.vue'
|
||||
export default defineComponent({
|
||||
components: { allUserPoerationsVue, MoreOutlined },
|
||||
components: { allUserPoerationsVue, MoreOutlined, SelectUser },
|
||||
setup() {
|
||||
const store: any = useStore()
|
||||
const currentOrganizationId = computed(
|
||||
@@ -202,9 +193,6 @@ export default defineComponent({
|
||||
let filter: any = reactive({
|
||||
dataList: [],
|
||||
tableLoading: false,
|
||||
allUserList: computed(() => {
|
||||
return store.state.adminPage.allUserList
|
||||
}),
|
||||
allCountry: [],
|
||||
rowSelection: computed(() => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user