添加主机身份卡片视图.
This commit is contained in:
@@ -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: '删除',
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -2,7 +2,7 @@ import { CardField, CardFieldConfig } from '@/types/card';
|
||||
import { dateFormat } from '@/utils';
|
||||
|
||||
const fieldConfig = {
|
||||
rowGap: '10px',
|
||||
rowGap: '12px',
|
||||
labelSpan: 8,
|
||||
fields: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user