@foreach (var item in @Model.TopButtonDesign)
{
@if(Model.UseBtnPermission)
{
@:@(@item.Label)
}
else
{
@:@(@item.Label)
}
}
@if(Model.HasSuperQuery)
{
@:
@:
@:
}
@switch(Model.IndexDataType)
{
case 3:
@:
@:
break;
default:
@:
@:
break;
}
@*折叠面板优先生成子表*@
@switch(Model.ChildTableStyle)
{
case 2:
@:
@:
@:
@foreach (var item in Model.ColumnDesign)
{
@if(item.IsChildTable)
{
@:
@:
@foreach (var childs in item.ChildTableDesigns)
{
@:
}
@:
@:
}
}
@:
@:
@:
break;
}
@foreach (var item in Model.ColumnDesign)
{
if(Model.IndexDataType == 3 && item.LowerName == Model.GroupField)
{
continue;
}
if(Model.IndexDataType == 3 && item.LowerName == Model.GroupShowField)
{
@:
@:
@:{{scope.row.@(@item.Name)}}【{{scope.row.children.length}}】
@:{{scope.row.@(@item.Name)}}
@:
@:
continue;
}
@switch(Model.ChildTableStyle)
{
case 1:
if(item.IsChildTable)
{
@:
@:
@if(Model.IndexDataType == 3)
{
@:
}else{
@:
}
@:
@:
@:
@:|
@:
@: |
@foreach (var childs in item.ChildTableDesigns)
{
@if(@childs.Width != "0")
{
@:
@:
@if(childs.IsAutomatic)
{
@:{{ item.@(@childs.Name) | toDate() }}
}else{
@:{{ item.@(@childs.Name) }}
}
@:
@: |
}else{
@:
@:
@if(childs.IsAutomatic)
{
@:{{ item.@(@childs.Name) | toDate() }}
}else{
@:{{ item.@(@childs.Name) }}
}
@:
|
}
}
@:
@:
@:
@:
@:|
@:
@: |
@foreach (var childs in item.ChildTableDesigns)
{
@if(@childs.Width != "0")
{
@:
@:
@if(item.IsAutomatic)
{
@:{{ item.@(@childs.Name) | toDate() }}
}else{
@:{{ item.@(@childs.Name) }}
}
@:
@: |
}else{
@:
@:
@if(item.IsAutomatic)
{
@:{{ item.@(@childs.Name) | toDate() }}
}else{
@:{{ item.@(@childs.Name) }}
}
@:
|
}
}
@:
@:
@:
@:隐藏部分
@:加载更多
@:
@:
@:
@:
@foreach (var childs in item.ChildTableDesigns)
{
@:
@:{{ scope.row.@(@childs.Name) }}
@:
}
@:
}else{
@:
@if(item.IsAutomatic)
{
@:{{ scope.row.@(@item.Name) | toDate() }}
}
@:
}
break;
case 2:
@if(!item.IsChildTable)
{
@:
@if(item.IsAutomatic)
{
@:{{ scope.row.@(@item.Name) | toDate() }}
}
@:
}
break;
}
}
@if(Model.IndexDataType == 3)
{
@:
}else{
@:
}
等待审核
审核通过
审核驳回
流程撤回
审核终止
等待提交
@if(Model.IndexDataType == 3)
{
@:
}else{
@:
}
@foreach (var item in @Model.ColumnButtonDesign)
{
@:@(@item.Label)
}
@if(Model.HasPage && Model.IndexDataType != 3)
{
@:
}