Newer
Older
smart-metering-front / src / views / measure / source / list_interface.ts
Stephanie on 9 Feb 2023 3 KB fix<*>: 溯源供方联调
export interface IlistQuery {
  businessContent: string
  supplierName: string
  supplierNo: string
  logType?: string
  offset: number
  limit: number
  formId: string
}

export interface IlistType {
  businessContent: string
  supplierName: string
  supplierNo: string
  briefName: string
  director: string
  mobile: string
  companyCity: string
  createTime: string
  remark: string
}

export interface IOptions {
  id: string
  areaName: string
}

export interface supplierExportQuery {
  businessContent: string // 业务内容
  supplierName: string // 公司名称
  supplierNo: string // 溯源供方编号
  ids?: string[] //
  approvalStatus?: string // 	审批状态类型code
  companyArea?: string // 公司地址-区
  companyCity?: string // 公司地址-市
  companyProvince?: string // 公司地址-省
  formId?: string // formId
}
// 溯源供方人员
export interface traceSupplierPerson {
  id: number | string // id
  job: string // 职务
  department: string// 部门
  name: string// 信命
  personNo: string// 人员编号
  phone: string// 联系方式
  editable?: boolean // 是否可编辑
  [key: string]: any
}

export interface ISupplier {
  businessContent: string // 业务内容
  supplierName: string // 公司名称
  supplierNo: string //	溯源供方编号(列表、更新接口参数)
  bankAccount: string // 银行账户名
  bankAccountNumber: string // 银行账号
  bankName: string // 银行名称
  briefName: string // 公司简称
  businessScope: string // 公司业务范围
  companyAddressBref?: string // 公司地址-拼接省市
  companyAddress: string // 公司地址-详细地址
  companyArea: string // 公司地址-区
  companyCity: string //	公司地址-市
  companyCountry: string // 公司地址-国家
  companyProvince: string // 公司地址-省
  companyAreaName: string // 公司地址-区
  companyCityName: string //	公司地址-市
  companyCountryName: string // 公司地址-国家
  companyProvinceName: string // 公司地址-省
  createTime?: string // 创建时间
  director: string // 负责人
  id: string // 主键id(列表、更新接口参数)
  fax: string // 传真
  invoiceAddress: string // 开票地址-详细地址
  invoiceArea: string // 开票地址-区
  invoiceCity: string //	开票地址-市
  invoiceCountry: string // 开票地址-国家
  invoiceProvince: string // 开票地址-省
  invoiceAreaName: string // 开票地址-区
  invoiceCityName: string //	开票地址-市
  invoiceCountryName: string // 开票地址-国家
  invoiceProvinceName: string // 开票地址-省
  mailbox: string // 邮箱
  minioFileName: string // 上传文件返回名称
  mobile: string // 手机
  phone: string // 电话
  postalCode: string //	邮编
  remark: string // 备注
  taxNumber: string // 税号
  website: string //	网址
  traceSupplierPersonList: traceSupplierPerson [] // 溯源供方人员列表
  taskId?: '' // 任务id, 流程审批用
  approvalStatus?: string // 审批状态
  approvalStatusName?: string // 审批状态名称
  decisionItem?: number // 可选决策项(1同意驳回拒绝 2同意驳回 3同意拒绝,用于待审批列表同意/驳回/拒绝按钮展示)
}

export interface IlistTypes {
  approvalStatus: string
  businessContent: string
  companyArea: string
  companyCity: string
  companyProvince: string
  formId: string
  supplierName: string
  supplierNo: string
  offset: number
  limit: number
}

export interface IButton {
  name: string // 按钮名称
  type: '' | 'default' | 'text' | 'primary' | 'success' | 'warning' | 'info' | 'danger'
  proxy?: string // 权限
  show?: Function // 是否显示
}