index.vue 496 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <div>
  3. <page-header :title="$t('dictionary.user')" />
  4. <a-alert :message="$t('common_611')" type="info" class="mt-2" v-if="isOperation" />
  5. <page-body>
  6. <list :id="listId" />
  7. </page-body>
  8. </div>
  9. </template>
  10. <script>
  11. import List from './components/List'
  12. export default {
  13. name: 'UserIndex',
  14. components: {
  15. List,
  16. },
  17. data () {
  18. return {
  19. listId: 'UserList',
  20. isOperation: process.env.VUE_APP_PLATFORM === 'operation',
  21. }
  22. },
  23. }
  24. </script>