mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.0 KiB
83 lines
2.0 KiB
4 years ago
|
<template>
|
||
3 years ago
|
<v-container class="text-center">
|
||
|
<v-row>
|
||
4 years ago
|
<v-col cols="12">
|
||
|
<v-card v-for="u in users1" :key="u.users_id">
|
||
|
<v-card-title primary-title>
|
||
|
<router-link :to="{ path: '/user/admin/user/' + u.users_id }">
|
||
3 years ago
|
{{ u.username }}
|
||
4 years ago
|
</router-link>
|
||
3 years ago
|
<v-btn color="info">
|
||
3 years ago
|
{{ $t('general.edit') }}
|
||
3 years ago
|
</v-btn>
|
||
|
<v-btn color="error">
|
||
3 years ago
|
{{ $t('general.delete') }}
|
||
3 years ago
|
</v-btn>
|
||
4 years ago
|
</v-card-title>
|
||
2 years ago
|
<hr />
|
||
4 years ago
|
</v-card>
|
||
|
</v-col>
|
||
|
</v-row>
|
||
|
</v-container>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
3 years ago
|
export default {
|
||
|
directives: {},
|
||
|
components: {},
|
||
3 years ago
|
validate({ params }) {
|
||
2 years ago
|
return true;
|
||
3 years ago
|
},
|
||
|
props: {},
|
||
3 years ago
|
data() {
|
||
3 years ago
|
return {
|
||
2 years ago
|
users: this.$store.state.users,
|
||
|
};
|
||
3 years ago
|
},
|
||
3 years ago
|
head() {
|
||
2 years ago
|
return {};
|
||
3 years ago
|
},
|
||
|
computed: {
|
||
3 years ago
|
users1() {
|
||
3 years ago
|
// console.log(this.$store.state);
|
||
2 years ago
|
return this.$store.state.creator.users;
|
||
|
},
|
||
3 years ago
|
},
|
||
|
watch: {},
|
||
2 years ago
|
created() {},
|
||
3 years ago
|
mounted() {
|
||
2 years ago
|
this.$store.dispatch('admin/ActGetUsers');
|
||
3 years ago
|
},
|
||
2 years ago
|
beforeDestroy() {},
|
||
3 years ago
|
methods: {},
|
||
2 years ago
|
beforeCreated() {},
|
||
|
destroy() {},
|
||
|
};
|
||
4 years ago
|
</script>
|
||
|
|
||
2 years ago
|
<style scoped></style>
|
||
4 years ago
|
<!--
|
||
|
/**
|
||
|
* @copyright Copyright (c) 2021, Xgene Cloud Ltd
|
||
|
*
|
||
|
* @author Naveen MR <oof1lab@gmail.com>
|
||
|
* @author Pranav C Balan <pranavxc@gmail.com>
|
||
|
*
|
||
|
* @license GNU AGPL version 3 or any later version
|
||
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU Affero General Public License as
|
||
|
* published by the Free Software Foundation, either version 3 of the
|
||
|
* License, or (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Affero General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Affero General Public License
|
||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
*/
|
||
|
-->
|