import { InterFunction } from '~/api/interface';

// fdd-上传合同
export type uploadContractType = InterFunction<
  {
    /**
     * 合同地址
     */
    docUrl: string;
    /**
     * 订单编号
     */
    orderNo: string;
    /**
     * 端口：0小程序 1后台
     */
    port: number;
    /**
     * 合同标题
     */
    title: string;
  },
  {
    id: number;
    unionId: string;
    orderNo: string;
    contractNo: string;
    contractTitle: string;
    signStatus: number;
    singerTime: string;
    createTime: string;
    updateTime: string;
    archiveDate: string;
    aremark: string;
    bremark: string;
    atransactionId: number;
    btransactionId: number;
  }
>;
// fdd-签署合同
export type signContractType = InterFunction<
  {
    /**
     * 合同编号
     */
    contractId: string;
    /**
     * 小程序页面跳转地址
     */
    pages?: string;
    /**
     * 端口：0小程序 1后台
     */
    port: number;
  },
  string
>;
