Commit 47eb890d authored by 前端-黄佳鑫's avatar 前端-黄佳鑫
parents 8720c334 e2c97c62
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
height: 48px; height: 48px;
line-height: 48px; line-height: 48px;
background: #FFFFFF; background: #FFFFFF;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
a { a {
height: 24px; height: 24px;
font-size: 12px; font-size: 12px;
......
...@@ -135,10 +135,10 @@ const AnchorDrawer: React.FC<AnchorProps> = ({ ...@@ -135,10 +135,10 @@ const AnchorDrawer: React.FC<AnchorProps> = ({
isForm isForm
? ?
dataIdList.map((item, index) => ( 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) => ( 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> </ul>
......
import { getIntl } from 'umi';
const intl = getIntl();
/** /**
* ****采购能力 相关常量**** * ****采购能力 相关常量****
*/ */
...@@ -11,14 +15,10 @@ ...@@ -11,14 +15,10 @@
/**————招投标————*/ /**————招投标————*/
import { getIntl, getLocale } from 'umi';
const intl = getIntl(getLocale());
/** 采购类型 */ /** 采购类型 */
export const PURCHASE_TYPE = { export const PURCHASE_TYPE = {
1: '有固定采购金额', 1: intl.formatMessage({ id: 'constants.purchase.type1' }, { default: '有固定采购金额' }),
2: '无固定采购金额', 2: intl.formatMessage({ id: 'constants.purchase.type2' }, { default: '无固定采购金额' }),
} }
/** 招标方式 */ /** 招标方式 */
...@@ -26,31 +26,31 @@ export const PUBLIC_BID = 1; ...@@ -26,31 +26,31 @@ export const PUBLIC_BID = 1;
export const SYSTEM_BID = 2; export const SYSTEM_BID = 2;
export const INVITE_BID = 3; export const INVITE_BID = 3;
export const CALLFORBID_TYPE_ENUM = { export const CALLFORBID_TYPE_ENUM = {
[PUBLIC_BID]: '公开招标', [PUBLIC_BID]: intl.formatMessage({ id: 'constants.purchase.callforbid.type1' }, { default: '公开招标' }),
[SYSTEM_BID]: '系统匹配', [SYSTEM_BID]: intl.formatMessage({ id: 'constants.purchase.callforbid.type2' }, { default: '系统匹配' }),
[INVITE_BID]: '邀请招标', [INVITE_BID]: intl.formatMessage({ id: 'constants.purchase.callforbid.type3' }, { default: '邀请招标' }),
} }
export const CALLFORBID_TYPE = [ 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 = { export const SpecialityTypeMap = {
1: '工程类', 1: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '工程类' }),
2: '货物类', 2: intl.formatMessage({ id: 'constants.purchase.speciality.type2' }, { default: '货物类' }),
3: '服务类', 3: intl.formatMessage({ id: 'constants.purchase.speciality.type3' }, { default: '服务类' }),
4: '其他类', 4: intl.formatMessage({ id: 'constants.purchase.speciality.type4' }, { default: '其他类' }),
} }
/** 专家类型 */ /** 专家类型 */
export const ExpertTypeMap = { export const ExpertTypeMap = {
1: '招标人代表', 1: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '招标人代表' }),
2: '技术类专家', 2: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '技术类专家' }),
3: '特邀类专家', 3: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '特邀类专家' }),
4: '其他类专家', 4: intl.formatMessage({ id: 'constants.purchase.speciality.type1' }, { default: '其他类专家' }),
} }
/** 招标 内部状态工作流状态 */ /** 招标 内部状态工作流状态 */
......
...@@ -998,4 +998,18 @@ export default { ...@@ -998,4 +998,18 @@ export default {
'purchase.yaoqingzhaobiao': 'Invite bidding', 'purchase.yaoqingzhaobiao': 'Invite bidding',
'purchase.xuanzeyudangqianhuiyuanxia': 'Select members who are affiliated with the current member and whose role type is service provision members (suppliers), the bidding will only be sent to designated members', 'purchase.xuanzeyudangqianhuiyuanxia': 'Select members who are affiliated with the current member and whose role type is service provision members (suppliers), the bidding will only be sent to designated members',
'purchase.zaixianpingbiaodafen': 'Online bid evaluation and scoring', 'purchase.zaixianpingbiaodafen': 'Online bid evaluation and scoring',
'constants.purchase.type1': 'There is a fixed purchase amount',
'constants.purchase.type2': 'No fixed purchase amount',
'constants.purchase.callforbid.type1': 'open tendering',
'constants.purchase.callforbid.type2': 'system matching',
'constants.purchase.callforbid.type3': 'invited tendering',
'constants.purchase.speciality.type1': 'engineering type',
'constants.purchase.speciality.type2': 'class of goods',
'constants.purchase.speciality.type3': 'service class',
'constants.purchase.speciality.type4': 'other categories',
'constants.purchase.expert.type1': 'Representative of the tenderee',
'constants.purchase.expert.type2': 'Technical expert',
'constants.purchase.expert.type3': 'Invited expert',
'constants.purchase.expert.type4': 'Other specialists',
} }
...@@ -998,4 +998,18 @@ export default { ...@@ -998,4 +998,18 @@ export default {
'purchase.yaoqingzhaobiao': '입찰 초대', 'purchase.yaoqingzhaobiao': '입찰 초대',
'purchase.xuanzeyudangqianhuiyuanxia': '현재 회원과 제휴하고 역할 유형이 서비스 제공 회원(공급자)인 회원을 선택하면 지정된 회원에게만 입찰이 발송됩니다.', 'purchase.xuanzeyudangqianhuiyuanxia': '현재 회원과 제휴하고 역할 유형이 서비스 제공 회원(공급자)인 회원을 선택하면 지정된 회원에게만 입찰이 발송됩니다.',
'purchase.zaixianpingbiaodafen': '온라인 입찰 평가 및 채점', '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': '기타 분야의 전문가',
} }
...@@ -999,4 +999,18 @@ export default { ...@@ -999,4 +999,18 @@ export default {
'purchase.yaoqingzhaobiao': '邀请招标', 'purchase.yaoqingzhaobiao': '邀请招标',
'purchase.xuanzeyudangqianhuiyuanxia': '选择与当前会员下属关系的会员且角色类型为服务提供的会员(供应商),招标只发送给指定会员', 'purchase.xuanzeyudangqianhuiyuanxia': '选择与当前会员下属关系的会员且角色类型为服务提供的会员(供应商),招标只发送给指定会员',
'purchase.zaixianpingbiaodafen': '在线进行评标打分', '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<{}> = () => { ...@@ -136,7 +136,7 @@ const AccountDetail: React.FC<{}> = () => {
<Row gutter={100} style={{ marginRight: 0 }}> <Row gutter={100} style={{ marginRight: 0 }}>
<Col <Col
// span={8} // span={8}
xxl={8} xxl={9}
xl={12} xl={12}
lg={12} lg={12}
> >
...@@ -178,7 +178,7 @@ const AccountDetail: React.FC<{}> = () => { ...@@ -178,7 +178,7 @@ const AccountDetail: React.FC<{}> = () => {
</Col> </Col>
<Col <Col
// span={16} // span={16}
xxl={16} xxl={15}
xl={12} xl={12}
lg={12} lg={12}
> >
...@@ -247,7 +247,7 @@ const AccountDetail: React.FC<{}> = () => { ...@@ -247,7 +247,7 @@ const AccountDetail: React.FC<{}> = () => {
<Row gutter={100} style={{ marginRight: 0 }}> <Row gutter={100} style={{ marginRight: 0 }}>
<Col <Col
// span={8} // span={8}
xxl={8} xxl={9}
xl={12} xl={12}
lg={12} lg={12}
> >
...@@ -269,7 +269,7 @@ const AccountDetail: React.FC<{}> = () => { ...@@ -269,7 +269,7 @@ const AccountDetail: React.FC<{}> = () => {
</Col> </Col>
<Col <Col
// span={16} // span={16}
xxl={16} xxl={15}
xl={12} xl={12}
lg={12} lg={12}
> >
......
...@@ -154,9 +154,9 @@ const ReadySendBidNoticeDetail: React.FC = () => { ...@@ -154,9 +154,9 @@ const ReadySendBidNoticeDetail: React.FC = () => {
<h4>{item.memberName}</h4> <h4>{item.memberName}</h4>
<Row> <Row>
<Col span={8}><p className={style['card-list_title']}>{intl.formatMessage({ id: 'detail.purchase.message25' })}:</p></Col> <Col span={8}><p className={style['card-list_title']}>{intl.formatMessage({ id: 'detail.purchase.message25' })}:</p></Col>
<Col><p className={style.amount}>¥{(item.amount).toFixed(2)}</p></Col> <Col><p className={style.amount}>{intl.formatMessage({ id: 'common.money' })}{(item.amount).toFixed(2)}</p></Col>
</Row> </Row>
<img src={winBid} alt={intl.formatMessage({ id: 'table.purchase.yizhongbiao' })} /> {/* <img src={winBid} alt={intl.formatMessage({ id: 'table.purchase.yizhongbiao' })} /> */}
</div> </div>
</Col>) : null </Col>) : null
} }
......
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