diff --git a/src/components/search/SearchForm.jsx b/src/components/search/SearchForm.jsx
index d395c47..882d8d6 100644
--- a/src/components/search/SearchForm.jsx
+++ b/src/components/search/SearchForm.jsx
@@ -312,7 +312,7 @@ function getFields(props) {
'agency',
99,
-
+
),
item(
diff --git a/src/libs/ht.js b/src/libs/ht.js
index 0855ffc..a9cd8ac 100644
--- a/src/libs/ht.js
+++ b/src/libs/ht.js
@@ -197,6 +197,17 @@ export const HotelStars = [
{ key: '13', value: '13', label: '豪华五星' },
];
+export const CruiseAgency = [
+ { key: '14193', value: '14193', label: '长江海外游轮旅游有限公司' },
+ { key: '1067', value: '1067', label: '湖北东方皇家游船公司(待删除)' },
+ { key: '70', value: '70', label: '湖北皇家长江旅游船有限公司' },
+ { key: '159', value: '159', label: '文嘉船务' },
+ { key: '77', value: '77', label: '武汉扬子江' },
+ { key: '1337', value: '1337', label: '重庆薇灿' },
+ { key: '4378', value: '4378', label: '重庆新世纪国旅' },
+ { key: '-1', value: '-1', label: '自订' },
+];
+
/**
* 计算指标值的分段区间
* @param {number} value
diff --git a/src/stores/HotelCruise.js b/src/stores/HotelCruise.js
index 9ee9a23..0e4894c 100644
--- a/src/stores/HotelCruise.js
+++ b/src/stores/HotelCruise.js
@@ -64,6 +64,7 @@ const paramKeyMapped = {
'DateDiff1': { key: 'CompareDateStart' },
'DateDiff2': { key: 'CompareDateEnd' },
'keyword': { key: 'ProductName' },
+ 'agency': { key: 'VEI_SN' },
'cruiseDirection': { key: 'Direction' },
'cruiseBookType': { key: 'BookingType' },
'hotelStar': { key: 'Star' },
@@ -85,7 +86,7 @@ class HotelCruise {
const _queryParam = objectMapper(param, paramKeyMapped);
const queryParam = omit({ ...this.searchValuesToSub, ..._queryParam }, [
'DepartmentList', 'orderStatus', 'keyword', 'Date1', 'Date2', 'DateDiff1', 'DateDiff2',
- 'cruiseDirection', 'cruiseBookType', 'country'
+ 'cruiseDirection', 'cruiseBookType', 'country', 'agency',
]);
queryParam.Compare = isEmpty(param.DateDiff1) ? '' : '1';
const res = await fetchCruiseData(queryParam);
diff --git a/src/views/Cruise.jsx b/src/views/Cruise.jsx
index 076bb15..901c94a 100644
--- a/src/views/Cruise.jsx
+++ b/src/views/Cruise.jsx
@@ -5,6 +5,7 @@ import moment from 'moment';
import { Row, Col, Table, Select, Space, Typography, Progress, Spin, Divider, Button, Switch } from 'antd';
import SearchForm from './../components/search/SearchForm';
import { VSTag, TableExportBtn } from './../components/Data';
+import { CruiseAgency } from './../libs/ht';
const {Text} = Typography;
@@ -91,6 +92,7 @@ export default observer((props) => {
DepartmentList: { show_all: true, mode: 'multiple' },
orderStatus: { show_all: true },
cruiseDirection: { show_all: true },
+ agency: { defaultOptions: CruiseAgency, autoGet: false },
// years: { hide_vs: false },
},
}}