Commit f3a0024d authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理资金账户翻译问题

parent a1383591
......@@ -51,6 +51,9 @@
height: 48px;
line-height: 48px;
background: #FFFFFF;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
a {
height: 24px;
font-size: 12px;
......
......@@ -135,10 +135,10 @@ const AnchorDrawer: React.FC<AnchorProps> = ({
isForm
?
dataIdList.map((item, index) => (
<li key={index} onClick={() => handleClick(index)}><a className={current === index ? style.current : null}>{item['title']}</a></li>
<li key={index} onClick={() => handleClick(index)} title={item['title']}><a className={current === index ? style.current : null}>{item['title']}</a></li>
)) :
dataRenderList.map((item, index) => (
<li key={index} onClick={() => handleClick(index)}><a className={current === index ? style.current : null}>{item['title']}</a></li>
<li key={index} onClick={() => handleClick(index)} title={item['title']}><a className={current === index ? style.current : null}>{item['title']}</a></li>
))
}
</ul>
......
import { getIntl } from 'umi';
const intl = getIntl();
/**
* ****采购能力 相关常量****
*/
......@@ -13,8 +17,8 @@
/** 采购类型 */
export const PURCHASE_TYPE = {
1: '有固定采购金额',
2: '无固定采购金额',
1: intl.formatMessage({ id: 'constants.purchase.type1' }, { default: '有固定采购金额' }),
2: intl.formatMessage({ id: 'constants.purchase.type2' }, { default: '无固定采购金额' }),
}
/** 招标方式 */
......@@ -22,31 +26,31 @@ export const PUBLIC_BID = 1;
export const SYSTEM_BID = 2;
export const INVITE_BID = 3;
export const CALLFORBID_TYPE_ENUM = {
[PUBLIC_BID]: '公开招标',
[SYSTEM_BID]: '系统匹配',
[INVITE_BID]: '邀请招标',
[PUBLIC_BID]: intl.formatMessage({ id: 'constants.purchase.callforbid.type1' }, { default: '公开招标' }),
[SYSTEM_BID]: intl.formatMessage({ id: 'constants.purchase.callforbid.type2' }, { default: '系统匹配' }),
[INVITE_BID]: intl.formatMessage({ id: 'constants.purchase.callforbid.type3' }, { default: '邀请招标' }),
}
export const CALLFORBID_TYPE = [
'',
'公开招标',
'系统匹配',
'邀请招标',
intl.formatMessage({ id: 'constants.purchase.callforbid.type1' }, { default: '公开招标' }),
intl.formatMessage({ id: 'constants.purchase.callforbid.type2' }, { default: '系统匹配' }),
intl.formatMessage({ id: 'constants.purchase.callforbid.type3' }, { default: '邀请招标' }),
]
/** 专业类别 */
export const SpecialityTypeMap = {
1: '工程类',
2: '货物类',
3: '服务类',
4: '其他类',
1: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '工程类' }),
2: intl.formatMessage({ id: 'constants.purchase.speciality.type2' }, { default: '货物类' }),
3: intl.formatMessage({ id: 'constants.purchase.speciality.type3' }, { default: '服务类' }),
4: intl.formatMessage({ id: 'constants.purchase.speciality.type4' }, { default: '其他类' }),
}
/** 专家类型 */
export const ExpertTypeMap = {
1: '招标人代表',
2: '技术类专家',
3: '特邀类专家',
4: '其他类专家',
1: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '招标人代表' }),
2: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '技术类专家' }),
3: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '特邀类专家' }),
4: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '其他类专家' }),
}
/** 招标 内部状态工作流状态 */
......
......@@ -999,4 +999,18 @@ export default {
'purchase.yaoqingzhaobiao': '邀请招标',
'purchase.xuanzeyudangqianhuiyuanxia': '选择与当前会员下属关系的会员且角色类型为服务提供的会员(供应商),招标只发送给指定会员',
'purchase.zaixianpingbiaodafen': '在线进行评标打分',
'constants.purchase.type1': '有固定采购金额',
'constants.purchase.type2': '无固定采购金额',
'constants.purchase.callforbid.type1': '公开招标',
'constants.purchase.callforbid.type2': '系统匹配',
'constants.purchase.callforbid.type3': '邀请招标',
'constants.purchase.speciality.type1': '工程类',
'constants.purchase.speciality.type2': '货物类',
'constants.purchase.speciality.type3': '服务类',
'constants.purchase.speciality.type4': '其他类',
'constants.purchase.expert.type1': '招标人代表',
'constants.purchase.expert.type2': '技术类专家',
'constants.purchase.expert.type3': '特邀类专家',
'constants.purchase.expert.type4': '其他类专家',
}
......@@ -136,7 +136,7 @@ const AccountDetail: React.FC<{}> = () => {
<Row gutter={100} style={{ marginRight: 0 }}>
<Col
// span={8}
xxl={8}
xxl={9}
xl={12}
lg={12}
>
......@@ -178,7 +178,7 @@ const AccountDetail: React.FC<{}> = () => {
</Col>
<Col
// span={16}
xxl={16}
xxl={15}
xl={12}
lg={12}
>
......@@ -247,7 +247,7 @@ const AccountDetail: React.FC<{}> = () => {
<Row gutter={100} style={{ marginRight: 0 }}>
<Col
// span={8}
xxl={8}
xxl={9}
xl={12}
lg={12}
>
......@@ -269,7 +269,7 @@ const AccountDetail: React.FC<{}> = () => {
</Col>
<Col
// span={16}
xxl={16}
xxl={15}
xl={12}
lg={12}
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment