diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 1b5553a..e13ab18 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -93,6 +93,7 @@ "Feedback": "Feedback", "Notice": "Notice", "Report": "Report", + "external-reviews": "External Reviews", "Airticket": "AirTicket", "Trainticket": "TrainTicket", "Products": "Products" @@ -111,5 +112,17 @@ "Finance_Dept_arrproved": "Finance Dept arrproved", "Paid": "Paid" }, - "Compare": "Compare" + "Compare": "Compare", + "review": { + "ReviewLink": "Review Link", + "DatePosted": "Date Posted", + "ReferenceNumber": "Reference Number", + "AdminNotes": "Admin Notes", + "CustomerID": "Customer ID", + "Guide": "Guide", + "Bonus": "Bonus", + "ApprovalStatus": "Approval Status", + "ApprovalDate": "Approval Date", + "Action": "Action" + } } diff --git a/src/components/SearchForm.jsx b/src/components/SearchForm.jsx index f9e0f52..ad4bd89 100644 --- a/src/components/SearchForm.jsx +++ b/src/components/SearchForm.jsx @@ -92,6 +92,7 @@ const SearchForm = ({ initialValue, onSubmit, onReset, onMounted, confirmText, f plan_state: { key: "plan_state", transform: value => value?.value || value?.key || "", default: "" }, airticket_state: { key: "airticket_state", transform: value => value?.value || value?.key || "", default: "" }, unconfirmed: { key: "unconfirmed", transform: value => (value ? 1 : 0) }, + approvalStatus: { key: "approvalStatus", transform: value => value }, }; let dest = {}; const { dates, datesDiff, ...omittedValue } = values; @@ -374,6 +375,21 @@ function getFields(props) { , fieldProps?.unconfirmed?.col || 2 ), + item( + "approvalStatus", // 站外好评审核状态 + 99, + +