1import { r, j as e } from "./chunk-DC5fQwvS.js"; 2import { F as i, t as c, ar as x, e as f } from "../entries/pages_spa.C5xTuQKw.js"; 3import { P as I } from "./chunk-CimNaWrp.js"; 4import { P as y } from "./chunk-D7mJxAL8.js"; 5import { P as g } from "./chunk-DdRgIr6O.js"; 6import "./chunk-DWeE5Y0G.js"; 7import "./chunk-Dxqvi9v3.js"; 8import "./chunk-0x1gBMBx.js"; 9import "./chunk-BArghIwn.js"; 10import "./chunk-C0TFbFtH.js"; 11import "./chunk-BKApCE6t.js"; 12import "./chunk-C5iOjZdu.js"; 13import "./chunk-DwPmycG5.js"; 14import "./chunk-D6a_qL3c.js"; 15const w = () => { 16 const s = f(), o = r.useRef(), [d, n] = r.useState(false), [l, m] = r.useState([]), p = (a) => { 17 m(a.postponeHistory || []), n(true); 18 }, u = [{ title: e.jsx(i, { id: "orderNumber_title", defaultMessage: "orderNumber" }), dataIndex: "_id" }, { title: e.jsx(i, { id: "customer", defaultMessage: "customer" }), dataIndex: ["customer", "email"] }, { title: s.formatMessage({ id: "account.platform" }), dataIndex: "platform", hideInSearch: true, render: (a, t) => { 19 var _a; 20 return t.platform && e.jsx(e.Fragment, { children: `${t.platform.name} - ${((_a = t.region) == null ? void 0 : _a.name) || ""}` }); 21 } }, { title: "\u8BA2\u5355\u72B6\u6001", dataIndex: "status", key: "status", hideInSearch: true, valueEnum: { unpaid: "\u672A\u652F\u4ED8", paid: "\u5DF2\u652F\u4ED8", gift: "\u8D60\u9001", refunding: "\u9000\u6B3E\u4E2D", refunded: "\u5DF2\u9000\u6B3E", completed: "\u5DF2\u7ED3\u7B97" } }, { title: e.jsx(i, { id: "orderAmount_title", defaultMessage: "orderAmount" }), dataIndex: "orderAmount", hideInSearch: true }, { title: "\u4ED8\u6B3E\u91D1\u989D", dataIndex: "payment", hideInSearch: true, render: (a, t) => t.payment && e.jsx(e.Fragment, { children: t.paymentAmount }) }, { title: "\u652F\u4ED8\u65B9\u5F0F", dataIndex: "paymentMethod", hideInSearch: true }, { title: "\u4ED8\u6B3E\u65F6\u95F4", dataIndex: "paymentTime", valueType: "dateTime", hideInSearch: true }, { title: "\u5230\u671F\u65F6\u95F4", dataIndex: "expirationTime", valueType: "dateTime", hideInSearch: true }, { title: "\u5206\u4EAB\u7801", dataIndex: "shareCode" }, { title: "\u63A5\u53D7\u5206\u4EAB\u7801", dataIndex: "usedShareCode" }, { title: "\u5EF6\u671F\uFF08\u5929\uFF09", dataIndex: "postpone", hideInSearch: true, render: (a, t) => e.jsxs(e.Fragment, { children: [e.jsx("span", { style: { marginRight: 8 }, children: t.postpone || 0 }), e.jsx("a", { onClick: () => p(t), children: "\u67E5\u770B" })] }) }, { title: "\u521B\u5EFA\u65F6\u95F4", dataIndex: "createdAt", valueType: "dateTime", hideInSearch: true }, { title: "\u66F4\u65B0\u65F6\u95F4", dataIndex: "updatedAt", valueType: "dateTime", hideInSearch: true }]; 22 return e.jsxs(I, { children: [e.jsx(y, { headerTitle: s.formatMessage({ id: "list" }), actionRef: o, rowKey: "_id", search: { collapsed: false, persist: false }, preserve: false, request: async (a, t, h) => c("/Orders/postpone", { ...a }, t, h), columns: u }), e.jsx(x, { title: "\u5EF6\u671F\u8BB0\u5F55", open: d, footer: null, onCancel: () => n(false), children: e.jsx(g, { history: l }) })] }); 23}; 24export { 25 w as default 26};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.