|
|
@@ -106,8 +106,7 @@ const RoadpricingTabList = props => {
|
|
|
lockTypeEnum: lockTypeEnum.GIVE,
|
|
|
upgradeTypeEnum: upgradeTypeEnum.UPGRADE
|
|
|
})
|
|
|
- }
|
|
|
- >
|
|
|
+ }>
|
|
|
赠送
|
|
|
</Button>
|
|
|
{record.lock === 1 ? (
|
|
|
@@ -126,8 +125,7 @@ const RoadpricingTabList = props => {
|
|
|
lockTypeEnum: lockTypeEnum.SALE,
|
|
|
upgradeTypeEnum: upgradeTypeEnum.UPGRADE
|
|
|
})
|
|
|
- }
|
|
|
- >
|
|
|
+ }>
|
|
|
销售
|
|
|
</Button>
|
|
|
) : null}
|
|
|
@@ -148,8 +146,7 @@ const RoadpricingTabList = props => {
|
|
|
compilationListName: record.name,
|
|
|
upgradeTypeEnum: upgradeTypeEnum.DEMOTION
|
|
|
})
|
|
|
- }
|
|
|
- >
|
|
|
+ }>
|
|
|
降级
|
|
|
</Button>
|
|
|
<Button
|
|
|
@@ -169,8 +166,7 @@ const RoadpricingTabList = props => {
|
|
|
lockTypeEnum: record.lock,
|
|
|
upgradeTypeEnum: upgradeTypeEnum.DEADLINE
|
|
|
})
|
|
|
- }
|
|
|
- >
|
|
|
+ }>
|
|
|
限期
|
|
|
</Button>
|
|
|
</>
|
|
|
@@ -191,8 +187,7 @@ const RoadpricingTabList = props => {
|
|
|
lockTypeEnum: lockTypeEnum.LEND,
|
|
|
upgradeTypeEnum: upgradeTypeEnum.UPGRADE
|
|
|
})
|
|
|
- }
|
|
|
- >
|
|
|
+ }>
|
|
|
借出
|
|
|
</Button>
|
|
|
<Button
|
|
|
@@ -210,8 +205,7 @@ const RoadpricingTabList = props => {
|
|
|
lockTypeEnum: lockTypeEnum.SALE,
|
|
|
upgradeTypeEnum: upgradeTypeEnum.UPGRADE
|
|
|
})
|
|
|
- }
|
|
|
- >
|
|
|
+ }>
|
|
|
销售
|
|
|
</Button>
|
|
|
</>
|
|
|
@@ -266,20 +260,21 @@ const RoadpricingTabList = props => {
|
|
|
</div>
|
|
|
<UpgradeModal
|
|
|
onConfirm={handleRoadPricingUpgrade}
|
|
|
- loading={roadPricingUpgrade.loading}
|
|
|
- visible={roadPricingUpgrade.visible}
|
|
|
- type={roadPricingUpgrade.type}
|
|
|
- actionPayload={actionPayload}
|
|
|
onCancel={() => setRoadPricingUpgrade({ ...roadPricingUpgrade, visible: false })}
|
|
|
+ actionPayload={actionPayload}
|
|
|
projectType={projectType}
|
|
|
ssoId={ssoId}
|
|
|
cloudUser={{ mobile, username }}
|
|
|
- compilationId={roadPricingUpgrade.compilationId}
|
|
|
- compilationName={roadPricingUpgrade.compilationName}
|
|
|
- lock={roadPricingUpgrade.lockTypeEnum}
|
|
|
- upgradeType={roadPricingUpgrade.upgradeTypeEnum}
|
|
|
- compilationListName={roadPricingUpgrade.compilationListName}
|
|
|
- deadline={roadPricingUpgrade.deadline}
|
|
|
+ roadPricingUpgrade={roadPricingUpgrade}
|
|
|
+ // loading={roadPricingUpgrade.loading}
|
|
|
+ // visible={roadPricingUpgrade.visible}
|
|
|
+ // type={roadPricingUpgrade.type}
|
|
|
+ // compilationId={roadPricingUpgrade.compilationId}
|
|
|
+ // compilationName={roadPricingUpgrade.compilationName}
|
|
|
+ // lock={roadPricingUpgrade.lockTypeEnum}
|
|
|
+ // upgradeType={roadPricingUpgrade.upgradeTypeEnum}
|
|
|
+ // compilationListName={roadPricingUpgrade.compilationListName}
|
|
|
+ // deadline={roadPricingUpgrade.deadline}
|
|
|
/>
|
|
|
</div>
|
|
|
)
|