this.handleEdit(record)}>{((!isDepAuth || showOperateBtn) && selectedKey !== "stop") ? "编辑" : "查看"}
+ onClick={() => this.handleEdit(record)}>{(showOperateBtn && selectedKey !== "stop") ? "编辑" : "查看"}
{
- (!isDepAuth && showOperateBtn) && selectedKey === "pending" &&
+ showOperateBtn && selectedKey === "pending" &&
this.stayAddToPay([record.baseInfo])}>增员
}
{
- (!isDepAuth && showOperateBtn) && selectedKey === "suspend" &&
+ showOperateBtn && selectedKey === "suspend" &&
this.stayDelToStop([record.baseInfo])}>减员
}
{
- (!isDepAuth && showOperateBtn) && selectedKey === "stop" && salaryArchiveDelete === "1" &&
+ showOperateBtn && selectedKey === "stop" && salaryArchiveDelete === "1" &&
this.deleteSocialArchive([record.baseInfo])}>删除档案
}
{
- (!isDepAuth && showOperateBtn) && selectedKey === "stop" && salaryArchiveDelete !== "1" &&
+ showOperateBtn && selectedKey === "stop" && salaryArchiveDelete !== "1" &&
this.cancelStopPayment([record.baseInfo])}>取消停缴
}
{
- (!isDepAuth && showOperateBtn) && selectedKey === "pending" &&
+ showOperateBtn && selectedKey === "pending" &&
}
{
- (!isDepAuth && showOperateBtn) && selectedKey === "suspend" &&
+ showOperateBtn && selectedKey === "suspend" &&
}
{
- (!isDepAuth && showOperateBtn) && selectedKey === "stop" && salaryArchiveDelete === "1" &&
+ showOperateBtn && selectedKey === "stop" && salaryArchiveDelete === "1" &&
this.handleEditSlideSave()}>保存] : []
}
subItemChange={selectedTab => this.setState({ selectedTab })}