78 lines
6.9 KiB
Plaintext
78 lines
6.9 KiB
Plaintext
|
<div class="body_content" ng-class="{setTableHeight: surveyFormHeight(table)}">
|
||
|
<div class="survey_form_outer_wrap" ng-style="{width: outerWrap(table), height: Survey_Table_Height, overflowX: overflowX(table)}" style="height: 384px;">
|
||
|
<div class="table_header_wrap" ng-style="{width: table.Table_Width + 'px'};">
|
||
|
<div ng-show="table.Table_Left_Title" class="table_left_title_header" style="width: 200px;">
|
||
|
{{ table.Table_Left_Title[Setkeys(table.Table_Left_Title)[0]] }}
|
||
|
</div>
|
||
|
<div style="float: left;">
|
||
|
<div ng-repeat="header in table.Table_Header track by $index" class="table_header" ng-style="{width: header.Width + 'px'};"
|
||
|
ng-include="CONSTANTS.THTB + header.Type" ng-click="setColumnRowClick($index, -1, $parent.$parent.$index)">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div style="position: relative; top: 0px;" ng-mouseleave="setHoverColumnRow(-1, -1, -1)" custom-scrol>
|
||
|
<div style="clear: both; margin: 0 auto;" ng-style="{width: table.Table_Width + 'px'}">
|
||
|
<form name="customTable">
|
||
|
<div ng-repeat="dr in table | filterTableDataRow:table.Table_Header:searchText" class="table_row">
|
||
|
<div ng-show="Setkeys(table.Table_Left_Title)[$index + 1] != 'Area' && Setkeys(table.Table_Left_Title)[$index + 1] != 'Year'">
|
||
|
<div ng-show="table.Table_Left_Title" class="table_left_title_row" style="width: 200px;">
|
||
|
{{ table.Table_Left_Title[Setkeys(table.Table_Left_Title)[$index + 1]] }}
|
||
|
</div>
|
||
|
<div ng-repeat="t in table.Table_Header track by $index" style="position: relative; margin: 0 auto;" ng-style="{width: table.Table_Width + 'px'};"
|
||
|
ng-class="{target: !Schedule_Table? $parent.$parent.$index == hover.row : $index == hover.column && $parent.$parent.$parent.$index == hover.table,
|
||
|
selected: !Schedule_Table? $parent.$parent.$index == targetRow : $index == targetColumn && $parent.$parent.$parent.$index == targetTable,
|
||
|
parent: !Schedule_Table && !isChild && !Table_Edit_State? $parent.$parent.$index == targetRow : false}"
|
||
|
ng-include="CONSTANTS.TDTBS + table.Table_Header[$index].Type"
|
||
|
ng-click="setColumnRowClick($index, $parent.$parent.$index, $parent.$parent.$parent.$index)"
|
||
|
ng-mouseenter="setHoverColumnRow($index, $parent.$parent.$index, $parent.$parent.$parent.$index)">
|
||
|
</div>
|
||
|
<div ng-show="dr.child_expand">
|
||
|
<div ng-repeat="dr in dr.ChildMaterials track by $index" class="table_row_child">
|
||
|
<div ng-repeat="t in table.Table_Header track by $index" style="position: relative; margin: 0 auto;" ng-style="{width: table.Table_Width + 'px'};"
|
||
|
ng-class="{target: !Schedule_Table? $parent.$parent.$parent.$index == hover.row : $index == hover.column && $parent.$parent.$parent.$parent.$index == hover.table,
|
||
|
selected: !Schedule_Table? $parent.$parent.$parent.$index == targetRow : $index == targetColumn && $parent.$parent.$parent.$parent.$index == targetTable,
|
||
|
child: !Schedule_Table && isChild && !Table_Child_Edit_State? $parent.$parent.$index == targetChildRow : false }"
|
||
|
ng-include="CONSTANTS.TDTBS + table.Table_Header[$index].Type"
|
||
|
ng-click="setChildColumnRowClick($index, $parent.$parent.$index, $parent.$parent.$parent.$index, $parent.$parent.$parent.$parent.$index)"
|
||
|
ng-mouseenter="setHoverColumnRow($index, $parent.$parent.$parent.$index)">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div ng-hide="Setkeys(table.Table_Left_Title)[$index + 1] != 'Area' && Setkeys(table.Table_Left_Title)[$index + 1] != 'Year'">
|
||
|
<div ng-show="table.Table_Left_Title" class="table_left_title_row" style="width: 200px;">
|
||
|
{{ table.Table_Left_Title[Setkeys(table.Table_Left_Title)[$index + 1]] }}
|
||
|
</div>
|
||
|
<div ng-repeat="t in table.Table_Header track by $index" style="position: relative; margin: 0 auto;" ng-style="{width: table.Table_Width + 'px'};"
|
||
|
ng-class="{target: !Schedule_Table? $parent.$parent.$index == hover.row : $index == hover.column && $parent.$parent.$parent.$index == hover.table,
|
||
|
selected: !Schedule_Table? $parent.$parent.$index == targetRow : $index == targetColumn && $parent.$parent.$parent.$index == targetTable}"
|
||
|
ng-include="CONSTANTS.TDTBS + 'select'"
|
||
|
ng-click="setColumnRowClick($index, $parent.$parent.$index, $parent.$parent.$parent.$index)"
|
||
|
ng-mouseenter="setHoverColumnRow($index, $parent.$parent.$index, $parent.$parent.$parent.$index)">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div style="float: left; margin: 0 auto;" ng-style="{width: table.Table_Width + 'px'};" ng-show="table.table_footer_upload">
|
||
|
<div class="table_footer_upload_wrap table_row">
|
||
|
<div ng-show="table.Table_Left_Title" class="table_footer_upload" style="width: 200px;">
|
||
|
@Resource.StaticLabelEvidenceOfElectronicFile
|
||
|
</div>
|
||
|
<div ng-repeat="tfu in table.table_footer_upload" class="table_footer_upload"
|
||
|
ng-class="{target: $index == hover.column, selected: $index == targetColumn}"
|
||
|
ng-style="{width: tfu.Width + 'px'};"
|
||
|
ng-click="setColumnRowClick($index, $parent.$index, 0)"
|
||
|
ng-mouseenter="setHoverColumnRow($index, $parent.$index, 0)">
|
||
|
<div ng-click="uploadFile()">
|
||
|
<img ng-src="@ViewBag.baseUrl/Browser_Local/img/upload_{{upload_icon}}.png" ng-init="upload_icon = 1"
|
||
|
ng-mouseenter="upload_icon = 2" ng-mouseleave="upload_icon = 1"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="table_footer_upload" ng-style="{width: table.Table_Header[table.Table_Header.length - 1].Width + 'px'};"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<page ng-show="!Schedule_Table"></page>
|