Vue component rendering a contract list with modal and grid actions for CRM details.
<!--
Source: https://github.com/yuqing2026/ruoyi-office-vben | License: MIT | Copyright 2024-present, Vben
Provided via justclaw.it.com; keep this notice with the code.
-->
<!-- 合同列表:用于【客户】【商机】【联系人】详情中,展示它们关联的合同列表 -->
<script lang="ts" setup>
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { CrmContractApi } from '#/api/crm/contract';
import { ref } from 'vue';
import { useRouter } from 'vue-router';
import { useVbenModal } from '@vben/common-ui';
import { Button } from 'ant-design-vue';
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import {
getContractPageByBusiness,
getContractPageByCustomer,
} from '#/api/crm/contract';
import { BizTypeEnum } from '#/api/crm/permission';
import { $t } from '#/locales';
import For
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key