feat: policy

This commit is contained in:
cxymds
2024-12-11 09:07:55 +08:00
parent 5b17b2bad2
commit bb7ea5d636
5 changed files with 37 additions and 1 deletions
+2
View File
@@ -9,6 +9,7 @@ declare module 'vue' {
export interface GlobalComponents {
NAvatar: typeof import('naive-ui')['NAvatar']
NButton: typeof import('naive-ui')['NButton']
NCard: typeof import('naive-ui')['NCard']
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
NDataTable: typeof import('naive-ui')['NDataTable']
NDatePicker: typeof import('naive-ui')['NDatePicker']
@@ -16,6 +17,7 @@ declare module 'vue' {
NDropdown: typeof import('naive-ui')['NDropdown']
NFlex: typeof import('naive-ui')['NFlex']
NForm: typeof import('naive-ui')['NForm']
NFormItem: typeof import('naive-ui')['NFormItem']
NFormItemGridItem: typeof import('naive-ui')['NFormItemGridItem']
NGrid: typeof import('naive-ui')['NGrid']
NInput: typeof import('naive-ui')['NInput']
+1 -1
View File
@@ -25,7 +25,7 @@ function openDialog(accKey: string) {
// const { isSuccess } = res
// if (isSuccess) {
// formModel.value = res.data
// visible.value = true
visible.value = true
// }
// })
}
+15
View File
@@ -33,6 +33,21 @@
</page-header>
<page-content>
<n-card>
<n-form
ref="formRef"
:model="searchForm"
label-placement="left"
inline
:show-feedback="false">
<n-flex>
<n-form-item class="!w-64" label="" path="name">
<n-input placeholder="搜索访问秘钥" @input="filterName" />
</n-form-item>
</n-flex>
</n-form>
</n-card>
<n-data-table
ref="tableRef"
:columns="columns"
+7
View File
@@ -0,0 +1,7 @@
<template>
<div>key</div>
</template>
<script setup></script>
<style lang="scss" scoped></style>
+12
View File
@@ -0,0 +1,12 @@
<style lang="scss" scoped></style>
<template>
<div>policy</div>
</template>
<script>
export default {
data() {
return {}
},
methods: {}
}
</script>