import { ModalConfig } from "/@/components/PageModal/src/types";
import { h, unref } from "vue";
import { ElTag, ElImage } from "element-plus";

import { renderStatusList } from "/@/utils/column-helper";
const modalConfig: ModalConfig = {
  title: "账号",
  colLayout: { span: 12 },
  itemStyle: {},
  contact: "invoice_mobile",
  formItems: [
    {
      field: "username",
      type: "input",
      label: "账号",
      placeholder: "账号"
    },

    {
      field: "company_title",
      type: "input",
      label: "公司",
      placeholder: "公司"
    },

    {
      field: "card_title",
      type: "input",
      label: "卡类型",
      placeholder: "卡类型"
    },

    {
      field: "name",
      type: "input",
      label: "客户姓名",
      placeholder: "客户姓名"
    },
    {
      field: "mobile",
      type: "input",
      label: "手机号",
      placeholder: "手机号"
    },
    {
      field: "addtime",
      type: "input",
      label: "创建时间",
      placeholder: "创建时间"
    },

    {
      field: "video_list",
      type: "array",
      label: "直播视频",
      slot: "status",
      placeholder: "直播视频",
      span: 24
      // render: (_, row) => renderStatusList(row.video_list).cellRenderer({ row })
    },
    {
      field: "remark",
      type: "input",
      label: "备注",
      placeholder: "备注",
      span: 24
    }
  ]
};

export default modalConfig;
