12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- export const order = {
- columns: [
- {
- title: "编号",
- dataIndex: "id",
- },
- {
- title: "订单号",
- dataIndex: "orderNo",
- },
- {
- title: "下单人",
- dataIndex: "addressName",
- },
- {
- title: "订单金额",
- dataIndex: "totalFee",
- },
- {
- title: "支付方式",
- dataIndex: "payType",
- },
- {
- title: "订单状态",
- dataIndex: "status",
- },
- {
- title: "操作",
- dataIndex: "action",
- scopedSlots: { customRender: "action" },
- },
- ],
- condition: [
- {
- title: "手机号",
- dataIndex: "phone",
- type: "input",
- },
- {
- title: "订单状态",
- dataIndex: "status",
- type: "select",
- defaultValue: '全部',
- options: [
- {
- label: "全部",
- value: "全部",
- },
- {
- label: "待支付",
- value: "待支付",
- },
- {
- label: "已支付",
- value: "已支付",
- },
- ],
- },
- ],
- }
- import dayjs from 'dayjs'
- export const liveroomProductJumpRecord = {
- columns: [
- {
- title: "用户",
- dataIndex: "phone",
- },
- {
- title: "点击商品",
- dataIndex: "name",
- },
- {
- title: "商品链接",
- dataIndex: "linkInfo",
- },
- {
- title: "点击时间",
- dataIndex: "createAt",
- scopedSlots: {
- customRender: (label, row, index) => `${dayjs(row.createAt).format("YYYY-MM-DD HH:mm:ss")}`
- },
- },
- ],
- condition: [
- {
- title: "时间",
- dataIndex: "time",
- type: "datetimerange",
- },
- ],
- }
|