控制器添加复杂接口
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<v-card class="mx-auto" width="100%">
|
||||
<v-btn>设置接口权限</v-btn>
|
||||
|
||||
<ccTable :defaultItem="defaultItem" :headers="headers" :axiosUrls="axiosUrls" ></ccTable>
|
||||
</v-card>
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<v-card class="mx-auto" width="100%">
|
||||
<ccTable :defaultItem="defaultItem" :headers="headers" :axiosUrls="axiosUrls" ></ccTable>
|
||||
<ccTable :defaultItem="defaultItem" :headers="headers" :axiosUrls="axiosUrls" >
|
||||
|
||||
|
||||
</ccTable>
|
||||
</v-card>
|
||||
|
||||
</template>
|
||||
|
||||
148
Yi.Vue/src/views/AdmRoleMenu.vue
Normal file
148
Yi.Vue/src/views/AdmRoleMenu.vue
Normal file
@@ -0,0 +1,148 @@
|
||||
<template>
|
||||
<v-card class="mx-auto" width="100%">
|
||||
|
||||
<v-row>
|
||||
<v-col cols="6">
|
||||
<v-list
|
||||
flat
|
||||
subheader
|
||||
three-line
|
||||
>
|
||||
<v-subheader>General</v-subheader>
|
||||
|
||||
<v-list-item-group
|
||||
v-model="settings"
|
||||
multiple
|
||||
active-class=""
|
||||
>
|
||||
<v-list-item>
|
||||
<template v-slot:default="{ active }">
|
||||
<v-list-item-action>
|
||||
<v-checkbox :input-value="active"></v-checkbox>
|
||||
</v-list-item-action>
|
||||
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>Notifications</v-list-item-title>
|
||||
<v-list-item-subtitle>Notify me about updates to apps or games that I downloaded</v-list-item-subtitle>
|
||||
</v-list-item-content>
|
||||
</template>
|
||||
</v-list-item>
|
||||
|
||||
<v-list-item>
|
||||
<template v-slot:default="{ active }">
|
||||
<v-list-item-action>
|
||||
<v-checkbox :input-value="active"></v-checkbox>
|
||||
</v-list-item-action>
|
||||
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>Sound</v-list-item-title>
|
||||
<v-list-item-subtitle>Auto-update apps at any time. Data charges may apply</v-list-item-subtitle>
|
||||
</v-list-item-content>
|
||||
</template>
|
||||
</v-list-item>
|
||||
|
||||
<v-list-item>
|
||||
<template v-slot:default="{ active }">
|
||||
<v-list-item-action>
|
||||
<v-checkbox :input-value="active"></v-checkbox>
|
||||
</v-list-item-action>
|
||||
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>Auto-add widgets</v-list-item-title>
|
||||
<v-list-item-subtitle>Automatically add home screen widgets when downloads complete</v-list-item-subtitle>
|
||||
</v-list-item-content>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</v-list-item-group>
|
||||
</v-list>
|
||||
|
||||
|
||||
</v-col>
|
||||
<v-col cols="6"> <v-treeview
|
||||
selectable
|
||||
:items="items"
|
||||
></v-treeview></v-col>
|
||||
</v-row>
|
||||
|
||||
|
||||
|
||||
</v-card>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data: () => ({
|
||||
items: [
|
||||
{
|
||||
id: 1,
|
||||
name: 'Applications :',
|
||||
children: [
|
||||
{ id: 2, name: 'Calendar : app' },
|
||||
{ id: 3, name: 'Chrome : app' },
|
||||
{ id: 4, name: 'Webstorm : app' },
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: 'Documents :',
|
||||
children: [
|
||||
{
|
||||
id: 6,
|
||||
name: 'vuetify :',
|
||||
children: [
|
||||
{
|
||||
id: 7,
|
||||
name: 'src :',
|
||||
children: [
|
||||
{ id: 8, name: 'index : ts' },
|
||||
{ id: 9, name: 'bootstrap : ts' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
name: 'material2 :',
|
||||
children: [
|
||||
{
|
||||
id: 11,
|
||||
name: 'src :',
|
||||
children: [
|
||||
{ id: 12, name: 'v-btn : ts' },
|
||||
{ id: 13, name: 'v-card : ts' },
|
||||
{ id: 14, name: 'v-window : ts' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 15,
|
||||
name: 'Downloads :',
|
||||
children: [
|
||||
{ id: 16, name: 'October : pdf' },
|
||||
{ id: 17, name: 'November : pdf' },
|
||||
{ id: 18, name: 'Tutorial : html' },
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 19,
|
||||
name: 'Videos :',
|
||||
children: [
|
||||
{
|
||||
id: 20,
|
||||
name: 'Tutorials :',
|
||||
children: [
|
||||
{ id: 21, name: 'Basic layouts : mp4' },
|
||||
{ id: 22, name: 'Advanced techniques : mp4' },
|
||||
{ id: 23, name: 'All about app : dir' },
|
||||
],
|
||||
},
|
||||
{ id: 24, name: 'Intro : mov' },
|
||||
{ id: 25, name: 'Conference introduction : avi' },
|
||||
],
|
||||
},
|
||||
],
|
||||
}),
|
||||
}
|
||||
</script>
|
||||
@@ -1,7 +1,6 @@
|
||||
<template>
|
||||
|
||||
|
||||
<v-card class="mx-auto" width="100%">
|
||||
<v-btn>设置角色</v-btn>
|
||||
<ccTable :defaultItem="defaultItem" :headers="headers" :axiosUrls="axiosUrls" ></ccTable>
|
||||
</v-card>
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<template>
|
||||
<div>还有谁</div>
|
||||
<div>首页</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user