|
@@ -122,26 +122,6 @@ const RoadpricingTabList = props => {
|
|
|
setRoadPricingUpgrade({
|
|
setRoadPricingUpgrade({
|
|
|
...setRoadPricingUpgrade,
|
|
...setRoadPricingUpgrade,
|
|
|
visible: true,
|
|
visible: true,
|
|
|
- type: titleType.DEMOTION,
|
|
|
|
|
- // eslint-disable-next-line no-underscore-dangle
|
|
|
|
|
- compilationId: record._id,
|
|
|
|
|
- compilationName: record.name,
|
|
|
|
|
- compilationListName: record.name,
|
|
|
|
|
- upgradeTypeEnum: upgradeTypeEnum.DEMOTION
|
|
|
|
|
- })
|
|
|
|
|
- }>
|
|
|
|
|
- 降级
|
|
|
|
|
- </Button>
|
|
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- danger
|
|
|
|
|
- ghost
|
|
|
|
|
- size="small"
|
|
|
|
|
- className="m-2px"
|
|
|
|
|
- onClick={() =>
|
|
|
|
|
- setRoadPricingUpgrade({
|
|
|
|
|
- ...setRoadPricingUpgrade,
|
|
|
|
|
- visible: true,
|
|
|
|
|
type: titleType.SALE,
|
|
type: titleType.SALE,
|
|
|
// eslint-disable-next-line no-underscore-dangle
|
|
// eslint-disable-next-line no-underscore-dangle
|
|
|
compilationId: record._id,
|
|
compilationId: record._id,
|
|
@@ -154,31 +134,7 @@ const RoadpricingTabList = props => {
|
|
|
</Button>
|
|
</Button>
|
|
|
</>
|
|
</>
|
|
|
) : null}
|
|
) : null}
|
|
|
- {record.lock === 2 ? (
|
|
|
|
|
- <>
|
|
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- danger
|
|
|
|
|
- ghost
|
|
|
|
|
- size="small"
|
|
|
|
|
- className="m-2px"
|
|
|
|
|
- onClick={() =>
|
|
|
|
|
- setRoadPricingUpgrade({
|
|
|
|
|
- ...setRoadPricingUpgrade,
|
|
|
|
|
- visible: true,
|
|
|
|
|
- type: titleType.DEMOTION,
|
|
|
|
|
- // eslint-disable-next-line no-underscore-dangle
|
|
|
|
|
- compilationId: record._id,
|
|
|
|
|
- compilationName: record.name,
|
|
|
|
|
- compilationListName: record.name,
|
|
|
|
|
- upgradeTypeEnum: upgradeTypeEnum.DEMOTION
|
|
|
|
|
- })
|
|
|
|
|
- }>
|
|
|
|
|
- 降级
|
|
|
|
|
- </Button>
|
|
|
|
|
- </>
|
|
|
|
|
- ) : null}
|
|
|
|
|
- {record.lock === 3 ? (
|
|
|
|
|
|
|
+ {record.isUpgrade ? (
|
|
|
<>
|
|
<>
|
|
|
<Button
|
|
<Button
|
|
|
type="primary"
|
|
type="primary"
|
|
@@ -200,10 +156,6 @@ const RoadpricingTabList = props => {
|
|
|
}>
|
|
}>
|
|
|
降级
|
|
降级
|
|
|
</Button>
|
|
</Button>
|
|
|
- </>
|
|
|
|
|
- ) : null}
|
|
|
|
|
- {record.isUpgrade ? (
|
|
|
|
|
- <>
|
|
|
|
|
<Button
|
|
<Button
|
|
|
type="primary"
|
|
type="primary"
|
|
|
ghost
|
|
ghost
|