1、新增生成条数

2、新增生成记录
This commit is contained in:
2025-11-17 14:09:08 +08:00
parent 8cd66a30ca
commit 93762473d6
2 changed files with 232 additions and 308 deletions

View File

@@ -235,11 +235,15 @@
/>
</div>
</template>
<span class="ml-2 ">共生成
<span class="text-red-400 mx-1 font-bold">{{ item.count }}</span>
条数据</span>
<span class="ml-2"
>共生成
<span class="text-red-400 mx-1 font-bold">{{
item.count
}}</span>
条数据</span
>
</div>
<a @click="openHistory" class="cursor-pointer">历史记录</a>
<a @click="openHistory(item)" class="cursor-pointer">历史记录</a>
</div>
<a-table
v-if="item.mode === 'table'"
@@ -377,7 +381,11 @@
<!-- 返回顶部按钮 -->
<a-back-top :target="getScrollContainer" />
<FileModal ref="fileModal" :current-company-id="currentCompanyId" />
<HistoryModal v-model:visible="showHistory"/>
<HistoryModal
v-model:visible="showHistory"
:item="clickedItem"
v-if="clickedItem"
/>
<!-- 文档选择弹窗 -->
</a-drawer>
@@ -1138,7 +1146,9 @@
);
const showHistory = ref(false);
const openHistory = () => {
const clickedItem = ref();
const openHistory = (item) => {
clickedItem.value = item;
showHistory.value = true;
};
</script>