30 lines
558 B
Vue
30 lines
558 B
Vue
<template>
|
|
<CRow>
|
|
<CCol col="md-6">
|
|
<CFormList :service="service" :fields="fields" :title="title" />
|
|
</CCol>
|
|
</CRow>
|
|
</template>
|
|
|
|
<script>
|
|
import services from "../../services/factory";
|
|
import CFormList from "../../components/form/List";
|
|
|
|
export default {
|
|
name: "Permissions",
|
|
components: {
|
|
CFormList
|
|
},
|
|
data() {
|
|
return {
|
|
fields: [
|
|
{ key: "id", label: "Код" },
|
|
{ key: "name", label: "Имя" }
|
|
],
|
|
service: services.permission,
|
|
title: "Разрешение"
|
|
};
|
|
}
|
|
};
|
|
</script>
|