/*
 *    Copyright (c) 2018-2025, cyweb All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 */

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  menu: false,
  dic: [],
  column: [
	  {
      label: '姓名',
      prop: 'name',
      search:true
    },
    {
      label: '手机号',
      prop: 'phone',
      search:true
    },
    {
      label: '开票流水号',
      prop: 'combinOrderId'
    },
	  {
      label: '金额',
      prop: 'money'
    },
    {
      label: '总金额',
      prop: 'amount'
    },
    {
      label: '开始时间',
      prop: 'createTime',
      type: 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search:true
    },
	  {
      label: '项目名称',
      prop: 'projectName'
    },
    {
      label: '状态',
      prop: 'status',
      dicUrl: '/admin/dict/item/type/status',
      type:'switch',
      props:{
        label:'label',
        value:'value'
      }
    },
    {
      label: '开票状态',
      prop: 'invoiceStatus',
      dicUrl: '/admin/dict/item/type/invoice_status',
      type:'switch',
      props:{
        label:'label',
        value:'value'
      }
    },
    {
      label: '支付状态',
      prop: 'payState',
      dicUrl: '/admin/dict/item/type/pay_state',
      type:'switch',
      props:{
        label:'label',
        value:'value'
      }
    },
    {
      label: ' 开票成功下载地址 ',
      prop: 'pdfUrl',
      slot:true
    },
    {
      label: ' 备注',
      prop: 'remarks'
    },

  ]
}
