Beschreibung der Endpunkte der Protokollvorlagen
Prüffristenermittlung
1. Prüffristenermittlung - Endpunkte von Elementen
<body>
<div loop="n of data['allNodes']">
<div>Node name: {{data['n']['node']['name']}}</div>
<div if="data['n']['node']['riskAssessment'] == null">
No risk assessment for this node
</div>
<div if="data['n']['node']['riskAssessment'] != null">
<div>id: {{data['n']['node']['riskAssessment']['id']}}</div>
<div>name: {{data['n']['node']['riskAssessment']['name']}}</div>
<div>basics: {{data['n']['node']['riskAssessment']['basics']}}</div>
<div>scope: {{data['n']['node']['riskAssessment']['scope']}}</div>
<div>testScope: {{data['n']['node']['riskAssessment']['testScope']}}</div>
<div>marks:
<table>
<tr>
<td>mark</td>
<td>devices</td>
<td>installations</td>
<td>objects</td>
</tr>
<tr>
<td>1</td>
<td>{{data['n']['node']['riskAssessment']['marks']['0']['1']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['1']['1']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['2']['1']}}</td>
</tr>
<tr>
<td>2</td>
<td>{{data['n']['node']['riskAssessment']['marks']['0']['2']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['1']['2']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['2']['2']}}</td>
</tr>
<tr>
<td>3</td>
<td>{{data['n']['node']['riskAssessment']['marks']['0']['3']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['1']['3']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['2']['3']}}</td>
</tr>
<tr>
<td>4</td>
<td>{{data['n']['node']['riskAssessment']['marks']['0']['4']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['1']['4']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['2']['4']}}</td>
</tr>
<tr>
<td>5</td>
<td>{{data['n']['node']['riskAssessment']['marks']['0']['5']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['1']['5']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['2']['5']}}</td>
</tr>
<tr>
<td>6</td>
<td>{{data['n']['node']['riskAssessment']['marks']['0']['6']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['1']['6']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['2']['6']}}</td>
</tr>
<tr>
<td>7</td>
<td>{{data['n']['node']['riskAssessment']['marks']['0']['7']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['1']['7']}}</td>
<td>{{data['n']['node']['riskAssessment']['marks']['2']['7']}}</td>
</tr>
</table>
</div>
<div>mark: {{data['n']['node']['riskAssessment']['mark']}}</div>
<div>remark: {{data['n']['node']['riskAssessment']['remark']}}</div>
<div>devices test interval: {{data['n']['node']['riskAssessment']['devTimeInterval']}}</div>
<div>installations test interval: {{data['n']['node']['riskAssessment']['insTimeInterval']}}</div>
<div>objects test interval: {{data['n']['node']['riskAssessment']['objTimeInterval']}}</div>
<!-- This depends on the group type: it is equal to devTimeInterval for devices, insTimeInterval for installations, objTimeInterval for objects -->
<div>Current test interval: {{data['n']['node']['riskAssessment']['TestInterval']}}</div>
<div>images:
<div loop="bImg of data['n']['node']['riskAssessment']['images']">
<img style="width: 100px; height: 100px;" src="{{data['bImg']}}" />
</div>
</div>
<div loop="assessment of data['n']['node']['riskAssessment']['assessments']">
<div>group: {{data['assessment']['group']}}</div>
<div>subGroup: {{data['assessment']['subGroup']}}</div>
<div>type: {{data['assessment']['type']}}</div>
<div>subType: {{data['assessment']['subType']}}</div>
<div>remark: {{data['assessment']['remark']}}</div>
<div>mark: {{data['assessment']['mark']}}</div>
<div>assessment images:
<div loop="aImg of data['assessment']['images']">
<img style="width: 100px; height: 100px;" src="{{data['aImg']}}" />
</div>
</div>
</div>
</div>
</div>
</body>
1.1. Prüffristenermittlung - zusätzliche Endpunkte von Elementen seit Version 0.30.2 (RMA-1051)
<body>
<div loop="n of data['allNodes']">
<!-- manualMarkEnabled -->
<div if="data['n']['node']['riskAssessment']['manualMarkEnabled'] == true">
Manual risk assessment reason<br>
{{data['n']['node']['riskAssessment']['riskManualMarkReason']}}
</div>
<div>
Creator: {{data['n']['node']['riskAssessment']['creator']}}
</div>
<div loop="assessment of data['n']['node']['riskAssessment']['assessments']">
<div>Responsible person: {{data['assessment']['responsiblePerson']}}</div>
</div>
<div>
<!-- modified date is in our datetime obj format -->
{{data['n']['node']['riskAssessment']['modified']['DD']}}.
{{data['n']['node']['riskAssessment']['modified']['MM']}}.
{{data['n']['node']['riskAssessment']['modified']['YYYY']}}<br>
{{data['n']['node']['riskAssessment']['modified']['hh']}}:
{{data['n']['node']['riskAssessment']['modified']['mm']}}:
{{data['n']['node']['riskAssessment']['modified']['ss']}}
</div>
</div>
</body>
2. Prüffristenermittlung - Endpunkte für das Drucken der Vorlagen im Bereich “Kunden” ohne Elementbezug
<body>
<div>Customer name: {{data['customer']['name']}}</div>
<div if="data['riskAssessment'] != null">
<div>id: {{data['riskAssessment']['id']}}</div>
<div>name: {{data['riskAssessment']['name']}}</div>
<div>basics: {{data['riskAssessment']['basics']}}</div>
<div>scope: {{data['riskAssessment']['scope']}}</div>
<div>testScope: {{data['riskAssessment']['testScope']}}</div>
<div>marks:
<table>
<tr>
<td>mark</td>
<td>devices</td>
<td>installations</td>
<td>objects</td>
</tr>
<tr>
<td>1</td>
<td>{{data['riskAssessment']['marks']['0']['1']}}</td>
<td>{{data['riskAssessment']['marks']['1']['1']}}</td>
<td>{{data['riskAssessment']['marks']['2']['1']}}</td>
</tr>
<tr>
<td>2</td>
<td>{{data['riskAssessment']['marks']['0']['2']}}</td>
<td>{{data['riskAssessment']['marks']['1']['2']}}</td>
<td>{{data['riskAssessment']['marks']['2']['2']}}</td>
</tr>
<tr>
<td>3</td>
<td>{{data['riskAssessment']['marks']['0']['3']}}</td>
<td>{{data['riskAssessment']['marks']['1']['3']}}</td>
<td>{{data['riskAssessment']['marks']['2']['3']}}</td>
</tr>
<tr>
<td>4</td>
<td>{{data['riskAssessment']['marks']['0']['4']}}</td>
<td>{{data['riskAssessment']['marks']['1']['4']}}</td>
<td>{{data['riskAssessment']['marks']['2']['4']}}</td>
</tr>
<tr>
<td>5</td>
<td>{{data['riskAssessment']['marks']['0']['5']}}</td>
<td>{{data['riskAssessment']['marks']['1']['5']}}</td>
<td>{{data['riskAssessment']['marks']['2']['5']}}</td>
</tr>
<tr>
<td>6</td>
<td>{{data['riskAssessment']['marks']['0']['6']}}</td>
<td>{{data['riskAssessment']['marks']['1']['6']}}</td>
<td>{{data['riskAssessment']['marks']['2']['6']}}</td>
</tr>
<tr>
<td>7</td>
<td>{{data['riskAssessment']['marks']['0']['7']}}</td>
<td>{{data['riskAssessment']['marks']['1']['7']}}</td>
<td>{{data['riskAssessment']['marks']['2']['7']}}</td>
</tr>
</table>
</div>
<div>mark: {{data['riskAssessment']['mark']}}</div>
<div>remark: {{data['riskAssessment']['remark']}}</div>
<div>devices test interval: {{data['riskAssessment']['devTimeInterval']}}</div>
<div>installations test interval: {{data['riskAssessment']['insTimeInterval']}}</div>
<div>objects test interval: {{data['riskAssessment']['objTimeInterval']}}</div>
<div>images:
<div loop="bImg of data['riskAssessment']['images']">
<img style="width: 100px; height: 100px;" src="{{data['bImg']}}" />
</div>
</div>
<div loop="assessment of data['riskAssessment']['assessments']">
<div>group: {{data['assessment']['group']}}</div>
<div>subGroup: {{data['assessment']['subGroup']}}</div>
<div>type: {{data['assessment']['type']}}</div>
<div>subType: {{data['assessment']['subType']}}</div>
<div>remark: {{data['assessment']['remark']}}</div>
<div>mark: {{data['assessment']['mark']}}</div>
<div>assessment images:
<div loop="aImg of data['assessment']['images']">
<img style="width: 100px; height: 100px;" src="{{data['aImg']}}" />
</div>
</div>
</div>
</div>
</body>
2.1. Prüffristenermittlung - zusätzliche Endpunkte für das Drucken der Vorlagen im Bereich “Kunden” ohne Elementbezug seit Version 0.30.2 (RMA-1051)