perf/export-docx
Lei OT 1 year ago
parent 1a958639d5
commit 06db76ce86

@ -13,7 +13,7 @@
"EditComponents": { "EditComponents": {
"info": "Product Information", "info": "Product Information",
"Quotation": "Quotation", "Quotation": "Quotation",
"Extras": "Add-on" "Extras": "Components"
}, },
"auditState": { "auditState": {
"New": "New", "New": "New",

@ -13,7 +13,7 @@
"EditComponents": { "EditComponents": {
"info": "产品信息", "info": "产品信息",
"Quotation": "报价", "Quotation": "报价",
"Extras": "附加项目" "Extras": "绑定项目"
}, },
"auditState": { "auditState": {
"New": "新增", "New": "新增",

@ -72,6 +72,7 @@ const initRouter = async () => {
{ path: "products",element: <RequireAuth subject={PERM_PRODUCTS_MANAGEMENT} result={true}><ProductsManage /></RequireAuth>}, { path: "products",element: <RequireAuth subject={PERM_PRODUCTS_MANAGEMENT} result={true}><ProductsManage /></RequireAuth>},
{ path: "products/:travel_agency_id/:use_year/:audit_state/audit",element:<RequireAuth subject={PERM_PRODUCTS_MANAGEMENT} result={true}><ProductsAudit /></RequireAuth>}, { path: "products/:travel_agency_id/:use_year/:audit_state/audit",element:<RequireAuth subject={PERM_PRODUCTS_MANAGEMENT} result={true}><ProductsAudit /></RequireAuth>},
{ path: "products/:travel_agency_id/:use_year/:audit_state/edit",element:<RequireAuth subject={PERM_PRODUCTS_OFFER_PUT} result={true}><ProductsDetail /></RequireAuth>}, { path: "products/:travel_agency_id/:use_year/:audit_state/edit",element:<RequireAuth subject={PERM_PRODUCTS_OFFER_PUT} result={true}><ProductsDetail /></RequireAuth>},
{ path: "products/edit",element:<RequireAuth subject={PERM_PRODUCTS_OFFER_PUT} result={true}><ProductsDetail /></RequireAuth>},
] ]
}, },
{ {

@ -77,6 +77,7 @@ function Index() {
agency: { col: 4 }, agency: { col: 4 },
dates: { label: t('products:CreateDate') }, dates: { label: t('products:CreateDate') },
keyword: { label: t('products:Title'), col: 4 }, keyword: { label: t('products:Title'), col: 4 },
year: { col: 4 },
}, },
sort: { agency: 1, audit_state: 2, keyword: 100 }, sort: { agency: 1, audit_state: 2, keyword: 100 },
}} }}

Loading…
Cancel
Save