@if (!string.IsNullOrEmpty((string)ViewBag.SearchHISData))
{
}
@if (!string.IsNullOrEmpty((string)ViewBag.SearchHISData2))
{
}
@if ((bool)ViewBag.OpenDieaseAutoYyfx)
{
}
@if (ViewBag.LeakId != null && (CanReportChangeStatus || isLeakManager))
{
}
@if (Model.ID > 0)
{
var islock = Model.IsLock.HasValue ? Model.IsLock : false;
if (Model.BackUpFlag == 0 && ViewBag.IsV2 && !islock)
{
if ((Model.Add_UserProfileId == userprofile.PID && (Model.Status == 0 || Model.Status == 8)) ||
ViewBag.IsSuper ||
((isDataManager || isDeptDataManager) && isDataShenheEdit && Model.Status == 11) ||
((isDataManager || isDeptDataManager || Model.Add_UserProfileId == userprofile.PID) && isDataShenheEdit1 && Model.Status == 1) ||
((isDataManager || isDeptDataManager) && isEdit_0 && Model.Status == 0) ||
((isDataManager || isDeptDataManager) && isEdit_8 && Model.Status == 8)
)
{
if (Model.Ncis_IsExportWsb == null || !Model.Ncis_IsExportWsb.Value)
{
//未对接到卫健委的数据才允许修改
}
if (isDataManager || isDeptDataManager || ViewBag.IsSuper)
{
if (Model.Status != 9 && Model.Status != 0 && (userprofile.UserName == "admin" || (Model.Status != 20))) //不等于作废或暂存或审核通过 && item.Status!=11
{
if (isDataFlow)
{//有数据流转权限
}
else
{
}
}
}
if (ViewBag.IsSuper || isDataManager || isDeptDataManager)
{
详情
}
if (CanReportChangeStatus || isLeakManager)
{
}
if (Model.Status == 0 || Model.Status == 8)
{
}
if (OpenReportCheck)
{
}
}
}
}
else if (ViewBag.IsV2)
{
if (CanReportChangeStatus || isLeakManager)
{
}
if (OpenReportCheck)
{
}
}
@if (!string.IsNullOrEmpty(Request.QueryString["returnUrl"]) && Request.QueryString["returnUrl"].Contains("Report") && Request.QueryString["returnUrl"].Contains("List"))
{
关闭
}
else
{
关闭
}