update 国内标准

This commit is contained in:
赵霄
2023-09-06 18:04:29 +08:00
parent 04dc0ded0c
commit c89905ae7d
13 changed files with 317 additions and 94 deletions
@@ -5,17 +5,7 @@
<a-input-search v-model="treeInput" :placeholder="$t('standardRegulationLibrary.domesticStandard.treeSearchPlaceholder')"
@search="handleTableSearch" />
<a-tree :show-line="true" :show-icon="true" :tree-data=treeData>
<template #iconCustom="{title}">
<div class="tree-node">
<img src="@/assets/image/common/iconTreeFolder.png" class="tree-node-icon" alt="" />
<a-tooltip>
<template #title>
{{ title }}
</template>
<span class="tree-node-title">{{ title }}</span>
</a-tooltip>
</div>
</template>
<a-icon type="folder" slot="folder" class="tree-icon" />
<template #custom="{title, key}">
<div class="tree-operate-node" @mouseenter="handleTreeMouseover(key)" @mouseleave="handleTreeMouseout(key)">
@@ -30,11 +20,11 @@
<a-button icon="plus" class="tree-operate-node-btn"></a-button>
<!-- 编辑-->
<a-button class="tree-operate-node-btn">
<img src="@/assets/image/common/iconTreeEdit.png" alt="" />
<i class="iconfont icon-bianji" />
</a-button>
<!-- 删除-->
<a-button class="tree-operate-node-btn">
<img src="@/assets/image/common/iconTreeDelete.png" alt="" />
<i class="iconfont icon-shanchu_" />
</a-button>
</template>
</div>