export default {
  url:"/do/select/mobile_card",
  title: "物联卡列表",
  entitys: [{"name":"id","label":"编号"},{"name":"msisdn","label":"MSISDN"},{"name":"iccid","label":"ICCID"},{"name":"imsi","label":"IMSI"},{"name":"status","label":"状态","code":"cardStatus"},{"name":"from","label":"通信通道","code":"cardFrom"},{"name":"meal","label":"套餐类型","code":"mealType"},{"name":"capacity","label":"用量"},{"name":"activityGmt","label":"激活时间","type":"date"},{"name":"desc","label":"备注信息"},{"name":"createGmt","label":"创建时间","type":"date"},{"name":"updateGmt","label":"更新时间","type":"date"}],
  columns: ["id","msisdn","iccid","desc","status","imsi","meal","activityGmt","from","capacity","createGmt"],
  condition: ["msisdn","iccid","imsi","status","from","meal","desc"],
  slots: {
      header$() {
      return (
        <>
        <z-action label='新增物联卡' fields={["msisdn","iccid","desc","imsi","status","from","meal","capacity","activity_gmt"]} url='/do/put/mobile_card' />
        </>
      )
    },
    action$({ row }) {
      return (
        <>
          <z-action label='编辑' fields={["desc","status","activity_gmt","capacity"]} link data={row} url='/do/patch/mobile_card' />
<z-action label='删除' link data={row} url='/do/delete/mobile_card' title='确定删除该物联卡吗？' />
        </>
      )
    }
  }
}
  