| | |
| | | import Axios from "@/api/perpetualContract.js"; |
| | | import { ElMessage } from "element-plus"; |
| | | import dayjs from "dayjs"; |
| | | import { initDate } from "@/utils/utils"; |
| | | export default { |
| | | emits: ["getCurNum"], |
| | | name: "currentApplyPosition", |
| | |
| | | ], |
| | | tables: [ |
| | | { |
| | | prop: "create_time_ts", |
| | | prop: "create_time", |
| | | label: "message.home.shijian", |
| | | formatter: (row) => |
| | | dayjs.unix(row.create_time_ts).format("YYYY-MM-DD HH:mm:ss"), |
| | | formatter: (row) => { |
| | | return row.create_time.split(/ +/)[0] + ' ' + initDate(row.create_time.split(/ +/)[1]) |
| | | } |
| | | }, |
| | | { |
| | | prop: "name", |