Uat_Study
parent
63c92874c3
commit
84ce2e2032
|
@ -641,7 +641,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否是必须
|
/// 是否是必须
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsRequired { get; set; }
|
public IsRequired IsRequired { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
|
@ -697,6 +697,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ImageCount { get; set; }
|
public int ImageCount { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示
|
||||||
|
/// </summary>
|
||||||
|
public ShowQuestion ShowQuestion { get; set; }
|
||||||
|
|
||||||
public List<GetTrialReadingQuestionOutDto> Childrens { get; set; }
|
public List<GetTrialReadingQuestionOutDto> Childrens { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -190,8 +190,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public string CriterionName { get; set; } = string.Empty;
|
public string CriterionName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -227,11 +225,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string QuestionName { get; set; }
|
public string QuestionName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否是必须
|
|
||||||
/// </summary>
|
|
||||||
public bool IsRequired { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -285,6 +278,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// 图片数量
|
/// 图片数量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ImageCount { get; set; } = 0;
|
public int ImageCount { get; set; } = 0;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否是必须
|
||||||
|
/// </summary>
|
||||||
|
public IsRequired IsRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示
|
||||||
|
/// </summary>
|
||||||
|
public ShowQuestion ShowQuestion { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ReadingQuestionSystemView
|
public class ReadingQuestionSystemView
|
||||||
|
@ -324,11 +328,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string QuestionName { get; set; }
|
public string QuestionName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否是必须
|
|
||||||
/// </summary>
|
|
||||||
public bool IsRequired { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -360,6 +359,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// 图片数量
|
/// 图片数量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ImageCount { get; set; }
|
public int ImageCount { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否是必须
|
||||||
|
/// </summary>
|
||||||
|
public IsRequired IsRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示
|
||||||
|
/// </summary>
|
||||||
|
public ShowQuestion ShowQuestion { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -564,11 +574,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string QuestionName { get; set; }
|
public string QuestionName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否是必须
|
|
||||||
/// </summary>
|
|
||||||
public bool IsRequired { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -597,6 +602,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public bool IsEnable { get; set; } = false;
|
public bool IsEnable { get; set; } = false;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否是必须
|
||||||
|
/// </summary>
|
||||||
|
public IsRequired IsRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示
|
||||||
|
/// </summary>
|
||||||
|
public ShowQuestion ShowQuestion { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 图片数量
|
/// 图片数量
|
||||||
|
@ -658,11 +673,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string QuestionName { get; set; }
|
public string QuestionName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否是必须
|
|
||||||
/// </summary>
|
|
||||||
public bool IsRequired { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -701,6 +711,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// 图片数量
|
/// 图片数量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ImageCount { get; set; } = 0;
|
public int ImageCount { get; set; } = 0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否是必须
|
||||||
|
/// </summary>
|
||||||
|
public IsRequired IsRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示
|
||||||
|
/// </summary>
|
||||||
|
public ShowQuestion ShowQuestion { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -690,6 +690,7 @@ namespace IRaCIS.Application.Services
|
||||||
GroupName = data.GroupName,
|
GroupName = data.GroupName,
|
||||||
QuestionName = data.QuestionName,
|
QuestionName = data.QuestionName,
|
||||||
IsRequired = data.IsRequired,
|
IsRequired = data.IsRequired,
|
||||||
|
ShowQuestion=data.ShowQuestion,
|
||||||
ShowOrder = data.ShowOrder,
|
ShowOrder = data.ShowOrder,
|
||||||
RelevanceId=data.RelevanceId,
|
RelevanceId=data.RelevanceId,
|
||||||
RelevanceValue=data.RelevanceValue,
|
RelevanceValue=data.RelevanceValue,
|
||||||
|
@ -801,6 +802,7 @@ namespace IRaCIS.Application.Services
|
||||||
ParentId = data.ParentId,
|
ParentId = data.ParentId,
|
||||||
TypeValue = data.TypeValue,
|
TypeValue = data.TypeValue,
|
||||||
Answer = string.Empty,
|
Answer = string.Empty,
|
||||||
|
ShowQuestion=data.ShowQuestion,
|
||||||
PageShowOrder = data.ShowOrder,
|
PageShowOrder = data.ShowOrder,
|
||||||
Type=data.Type,
|
Type=data.Type,
|
||||||
};
|
};
|
||||||
|
|
|
@ -324,6 +324,7 @@ namespace IRaCIS.Application.Services
|
||||||
AnswerGroup= (c.trial.FirstOrDefault()?.AnswerGroup) ?? string.Empty,
|
AnswerGroup= (c.trial.FirstOrDefault()?.AnswerGroup) ?? string.Empty,
|
||||||
GroupName=c.system.GroupName,
|
GroupName=c.system.GroupName,
|
||||||
IsEnable=c.system.IsEnable,
|
IsEnable=c.system.IsEnable,
|
||||||
|
ShowQuestion= c.system.ShowQuestion,
|
||||||
IsJudgeQuestion =c.system.IsJudgeQuestion,
|
IsJudgeQuestion =c.system.IsJudgeQuestion,
|
||||||
IsRequired=c.system.IsRequired,
|
IsRequired=c.system.IsRequired,
|
||||||
JudgeType = (c.trial.FirstOrDefault()?.JudgeType)??JudgeTypeEnum.None,
|
JudgeType = (c.trial.FirstOrDefault()?.JudgeType)??JudgeTypeEnum.None,
|
||||||
|
|
|
@ -222,6 +222,49 @@ namespace IRaCIS.Core.Domain.Share
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否必填
|
||||||
|
/// </summary>
|
||||||
|
public enum IsRequired
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 必填
|
||||||
|
/// </summary>
|
||||||
|
Required = 0,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 不必填
|
||||||
|
/// </summary>
|
||||||
|
NotRequired = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 依赖父问题
|
||||||
|
/// </summary>
|
||||||
|
Rely = 2,
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示问题
|
||||||
|
/// </summary>
|
||||||
|
public enum ShowQuestion
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 显示
|
||||||
|
/// </summary>
|
||||||
|
Show=0,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 不显示
|
||||||
|
/// </summary>
|
||||||
|
Hide=1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 依赖父问题
|
||||||
|
/// </summary>
|
||||||
|
Rely=2,
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 阅片状态
|
/// 阅片状态
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -37,7 +37,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否是必须
|
/// 是否是必须
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsRequired { get; set; }
|
public IsRequired IsRequired { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
|
@ -84,6 +84,11 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ImageCount { get; set; } = 1;
|
public int ImageCount { get; set; } = 1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示
|
||||||
|
/// </summary>
|
||||||
|
public ShowQuestion ShowQuestion { get; set; } = ShowQuestion.Show;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建人
|
/// 创建人
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -42,7 +42,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否是必须
|
/// 是否是必须
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsRequired { get; set; }
|
public IsRequired IsRequired { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
|
@ -130,7 +130,12 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 图片数量
|
/// 图片数量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ImageCount { get; set; } = 0;
|
public int ImageCount { get; set; } = 1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否显示
|
||||||
|
/// </summary>
|
||||||
|
public ShowQuestion ShowQuestion { get; set; } = ShowQuestion.Show;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 分页标准
|
/// 分页标准
|
||||||
|
|
Loading…
Reference in New Issue