添加主机身份卡片视图.

This commit is contained in:
lijiahangmax
2023-10-08 01:05:52 +08:00
parent 1036713f74
commit c7defdb80d
20 changed files with 404 additions and 90 deletions

View File

@@ -1,6 +1,6 @@
<template>
<card-list v-model:searchValue="formModel.searchValue"
search-input-placeholder="输入名称/id"
search-input-placeholder="输入id/名称"
create-card-position="head"
:card-height="148"
:loading="loading"
@@ -101,7 +101,7 @@
// 删除当前行
const deleteRow = (id: number) => {
Modal.confirm({
title: '删除前确认?',
title: '删除前确认!',
titleAlign: 'start',
content: '确定要删除这条记录吗?',
okText: '删除',

View File

@@ -26,12 +26,13 @@
</script>
<script lang="ts" setup>
import { computed, ref } from 'vue';
import { useAppStore } from '@/store';
import HostKeyCardList from './components/host-key-card-list.vue';
import HostKeyTable from './components/host-key-table.vue';
import HostKeyFormDrawer from './components/host-key-form-drawer.vue';
import { computed, ref } from 'vue';
import { useAppStore } from '@/store';
const table = ref();
const card = ref();
const drawer = ref();

View File

@@ -2,7 +2,7 @@ import { CardField, CardFieldConfig } from '@/types/card';
import { dateFormat } from '@/utils';
const fieldConfig = {
rowGap: '10px',
rowGap: '12px',
labelSpan: 8,
fields: [
{