|
|
|
@ -1194,10 +1194,18 @@ export class TemplateManage extends React.Component<ITemplateManage, {}> {
|
|
|
|
|
this.renderBody()
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
<div className={Classes.DIALOG_FOOTER + ` ${!this.props.R2bReplace && "flex-between"}`} >
|
|
|
|
|
{
|
|
|
|
|
!this.props.R2bReplace ?
|
|
|
|
|
<>
|
|
|
|
|
this.props.R2bReplace ?
|
|
|
|
|
<div className={Classes.DIALOG_FOOTER} >
|
|
|
|
|
<Button
|
|
|
|
|
className={Classes.INTENT_PRIMARY}
|
|
|
|
|
text="确定"
|
|
|
|
|
onClick={this.handleR2bRepalce}
|
|
|
|
|
disabled={!this.currentTemplateInfo.id || this.currentTemplateInfo.isKuGan}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
<div className={Classes.DIALOG_FOOTER + " flex-between"} >
|
|
|
|
|
<GetRoomCabName
|
|
|
|
|
option={this.templateManageOption.option}
|
|
|
|
|
needBoardName
|
|
|
|
@ -1282,16 +1290,8 @@ export class TemplateManage extends React.Component<ITemplateManage, {}> {
|
|
|
|
|
disabled={!this.currentTemplateInfo.id || this.currentTemplateInfo.isKuGan}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</>
|
|
|
|
|
:
|
|
|
|
|
<Button
|
|
|
|
|
className={Classes.INTENT_PRIMARY}
|
|
|
|
|
text="确定"
|
|
|
|
|
onClick={this.handleR2bRepalce}
|
|
|
|
|
disabled={!this.currentTemplateInfo.id || this.currentTemplateInfo.isKuGan}
|
|
|
|
|
/>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|