Commit a7eb2caa authored by XieZhiXiong's avatar XieZhiXiong

晚上工作流步骤

parent 23ad4c67
...@@ -21,8 +21,16 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({ ...@@ -21,8 +21,16 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({
}} }}
> >
<AuditProcess <AuditProcess
outerVerifyCurrent={memberMaintainInfo?.currentOuterStep} outerVerifyCurrent={
innerVerifyCurrent={memberMaintainInfo?.currentInnerStep} memberMaintainInfo && memberMaintainInfo.currentOuterStep > 0 ?
memberMaintainInfo.currentOuterStep - 1 :
0
}
innerVerifyCurrent={
memberMaintainInfo && memberMaintainInfo.currentInnerStep > 0 ?
memberMaintainInfo.currentInnerStep -1 :
0
}
outerVerifySteps={memberMaintainInfo?.outerVerifySteps} outerVerifySteps={memberMaintainInfo?.outerVerifySteps}
innerVerifySteps={memberMaintainInfo?.innerVerifySteps} innerVerifySteps={memberMaintainInfo?.innerVerifySteps}
/> />
......
...@@ -198,6 +198,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({ ...@@ -198,6 +198,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
<AuditProcess <AuditProcess
outerVerifySteps={memberInfo?.outerVerifySteps} outerVerifySteps={memberInfo?.outerVerifySteps}
innerVerifySteps={memberInfo?.innerVerifySteps} innerVerifySteps={memberInfo?.innerVerifySteps}
outerVerifyCurrent={
memberInfo && memberInfo.currentOuterStep > 0 ?
memberInfo.currentOuterStep - 1 :
0
}
innerVerifyCurrent={
memberInfo && memberInfo.currentInnerStep > 0 ?
memberInfo.currentInnerStep -1 :
0
}
/> />
</div> </div>
......
...@@ -199,6 +199,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({ ...@@ -199,6 +199,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
<AuditProcess <AuditProcess
outerVerifySteps={memberInfo?.outerVerifySteps} outerVerifySteps={memberInfo?.outerVerifySteps}
innerVerifySteps={memberInfo?.innerVerifySteps} innerVerifySteps={memberInfo?.innerVerifySteps}
outerVerifyCurrent={
memberInfo && memberInfo.currentOuterStep > 0 ?
memberInfo.currentOuterStep - 1 :
0
}
innerVerifyCurrent={
memberInfo && memberInfo.currentInnerStep > 0 ?
memberInfo.currentInnerStep -1 :
0
}
/> />
</div> </div>
......
...@@ -214,6 +214,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({ ...@@ -214,6 +214,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
<AuditProcess <AuditProcess
outerVerifySteps={memberInfo?.outerVerifySteps} outerVerifySteps={memberInfo?.outerVerifySteps}
innerVerifySteps={memberInfo?.innerVerifySteps} innerVerifySteps={memberInfo?.innerVerifySteps}
outerVerifyCurrent={
memberInfo && memberInfo.currentOuterStep > 0 ?
memberInfo.currentOuterStep - 1 :
0
}
innerVerifyCurrent={
memberInfo && memberInfo.currentInnerStep > 0 ?
memberInfo.currentInnerStep -1 :
0
}
/> />
</div> </div>
......
...@@ -285,6 +285,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({ ...@@ -285,6 +285,16 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
<AuditProcess <AuditProcess
outerVerifySteps={memberInfo?.outerVerifySteps} outerVerifySteps={memberInfo?.outerVerifySteps}
innerVerifySteps={memberInfo?.innerVerifySteps} innerVerifySteps={memberInfo?.innerVerifySteps}
outerVerifyCurrent={
memberInfo && memberInfo.currentOuterStep > 0 ?
memberInfo.currentOuterStep - 1 :
0
}
innerVerifyCurrent={
memberInfo && memberInfo.currentInnerStep > 0 ?
memberInfo.currentInnerStep -1 :
0
}
/> />
</div> </div>
......
...@@ -22,7 +22,15 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({ ...@@ -22,7 +22,15 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({
marginBottom: 24, marginBottom: 24,
}} }}
> >
<Steps style={{ marginTop: 30 }} progressDot current={memberMaintainInfo?.currentOuterStep}> <Steps
style={{ marginTop: 30 }}
progressDot
current={
memberMaintainInfo && memberMaintainInfo.currentOuterStep > 0 ?
memberMaintainInfo.currentOuterStep - 1 :
0
}
>
{memberMaintainInfo.outerVerifySteps ? memberMaintainInfo.outerVerifySteps.map((item, index) => ( {memberMaintainInfo.outerVerifySteps ? memberMaintainInfo.outerVerifySteps.map((item, index) => (
<Steps.Step key={index} title={item.roleName} description={item.stepName} /> <Steps.Step key={index} title={item.roleName} description={item.stepName} />
)) : null} )) : null}
......
...@@ -443,7 +443,9 @@ export interface FileData { ...@@ -443,7 +443,9 @@ export interface FileData {
url: string; url: string;
}; };
// 初始化 Upload 数据 /**
* 初始化 Upload 数据
*/
export function normalizeFiledata(url: string): FileData export function normalizeFiledata(url: string): FileData
export function normalizeFiledata(url: any): any { export function normalizeFiledata(url: any): any {
if (!url) { if (!url) {
......
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