Skip to content

Commit

Permalink
fix: console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail-iontsev committed Oct 3, 2024
1 parent babe179 commit 725912d
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 188 deletions.
Original file line number Diff line number Diff line change
@@ -1,69 +1,71 @@
<template>
<div>
<table class="border-separate border-spacing-y-5 border-spacing-x-10">
<tr>
<td class="font-bold">CDM Source Name</td>
<td>{{ store.getters.getData.cdmSourceName }}</td>
</tr>
<tr>
<td class="font-bold">Description</td>
<td>{{ store.getters.getData.sourceDescription }}</td>
</tr>
<tr>
<td class="font-bold">Licensee</td>
<td>{{ store.getters.getData.cdmHolder }}</td>
</tr>
<tr>
<td class="font-bold">Source Released</td>
<td>{{ store.getters.getData.sourceReleaseDate }}</td>
</tr>
<tr>
<td class="font-bold">CDM Version</td>
<td>{{ store.getters.getData.cdmVersion }}</td>
</tr>
<tr>
<td class="font-bold">DQD Version</td>
<td>{{ store.getters.getData.dqdVersion }}</td>
</tr>
<tr>
<td class="font-bold">Vocabulary Version</td>
<td>{{ store.getters.getData.vocabularyVersion }}</td>
</tr>
<tr>
<td class="font-bold">Source Documentation</td>
<td class="flex flex-row gap-2">
<span>
{{ store.getters.getData.sourceDocumentationReference }}
</span>
<a
:href="store.getters.getData.sourceDocumentationReference"
target="_blank"
>
<i>
<svg-icon
class="text-primary-500"
type="mdi"
:path="mdiOpenInNew"
></svg-icon
></i>
</a>
</td>
</tr>
<tr>
<td class="font-bold">ETL Reference</td>
<td class="flex flex-row gap-2">
<span> {{ store.getters.getData.cdmEtlReference }} </span>
<a :href="store.getters.getData.cdmEtlReference" target="_blank">
<i>
<svg-icon
class="text-primary-500"
type="mdi"
:path="mdiOpenInNew"
></svg-icon
></i>
</a>
</td>
</tr>
<tbody>
<tr>
<td class="font-bold">CDM Source Name</td>
<td>{{ store.getters.getData.cdmSourceName }}</td>
</tr>
<tr>
<td class="font-bold">Description</td>
<td>{{ store.getters.getData.sourceDescription }}</td>
</tr>
<tr>
<td class="font-bold">Licensee</td>
<td>{{ store.getters.getData.cdmHolder }}</td>
</tr>
<tr>
<td class="font-bold">Source Released</td>
<td>{{ store.getters.getData.sourceReleaseDate }}</td>
</tr>
<tr>
<td class="font-bold">CDM Version</td>
<td>{{ store.getters.getData.cdmVersion }}</td>
</tr>
<tr>
<td class="font-bold">DQD Version</td>
<td>{{ store.getters.getData.dqdVersion }}</td>
</tr>
<tr>
<td class="font-bold">Vocabulary Version</td>
<td>{{ store.getters.getData.vocabularyVersion }}</td>
</tr>
<tr>
<td class="font-bold">Source Documentation</td>
<td class="flex flex-row gap-2">
<span>
{{ store.getters.getData.sourceDocumentationReference }}
</span>
<a
:href="store.getters.getData.sourceDocumentationReference"
target="_blank"
>
<i>
<svg-icon
class="text-primary-500"
type="mdi"
:path="mdiOpenInNew"
></svg-icon
></i>
</a>
</td>
</tr>
<tr>
<td class="font-bold">ETL Reference</td>
<td class="flex flex-row gap-2">
<span> {{ store.getters.getData.cdmEtlReference }} </span>
<a :href="store.getters.getData.cdmEtlReference" target="_blank">
<i>
<svg-icon
class="text-primary-500"
type="mdi"
:path="mdiOpenInNew"
></svg-icon
></i>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</template>
Expand Down
250 changes: 126 additions & 124 deletions src/pages/reports/release/DataQualityResults/components/ResultsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -444,130 +444,132 @@
<template #expansion="slotProps">
<div class="p-3 flex flex-col gap-2">
<table>
<tr>
<td>
<h3 class="font-bold" cols="2">Check Name</h3>
</td>
<td>
<p>{{ slotProps.data.checkName }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold">Description</h3></td>
<td>
<div>
{{ slotProps.data.checkDescription }} (threshold
{{ slotProps.data.thresholdValue }}%)
</div>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Threshold</h3></td>
<td>
<p>{{ slotProps.data.thresholdValue }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Notes</h3></td>
<td>
<p>{{ slotProps.data.noteValue }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Check Level</h3></td>
<td>
<p>{{ slotProps.data.checkLevel }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Table</h3></td>
<td>
<p>
<a
:href="links.getDocsLink(slotProps.data.cdmTableName)"
target="_blank"
>
{{ slotProps.data.cdmTableName }}
<!-- <v-icon small>mdi-open-in-new</v-icon>-->
</a>
</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2">Field</h3>
</td>
<td>
<p>{{ slotProps.data.cdmFieldName }}</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2">Concept Id</h3>
</td>
<td>
<p>
<router-link
v-if="slotProps.data.conceptId != undefined"
:to="getConceptDrilldown(slotProps.data)"
color="primary"
>
{{ slotProps.data.conceptId }}
<!-- <v-icon small>mdi-open-in-new</v-icon>-->
</router-link>
</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Unit Concept Id</h3></td>
<td>
<p>{{ slotProps.data.UNIT_conceptId }}</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2"># Rows Violated</h3>
</td>
<td>
<p>{{ slotProps.data.numViolatedRows }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2"># Rows Total</h3></td>
<td>
<p>{{ slotProps.data.numDenominatorRows }}</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2">% Rows Violated</h3>
</td>
<td>
<p>{{ (slotProps.data.pctViolatedRows * 100).toFixed(2) }} %</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Execution Time</h3></td>
<td>
<p>{{ slotProps.data.executionTime }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Errors</h3></td>
<td>
<p>{{ slotProps.data.ERROR }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">SQL Query</h3></td>
<td>
<Codemirror
:model-value="slotProps.data.queryText"
:extensions="extensions"
disabled
></Codemirror>
</td>
</tr>
<tbody>
<tr>
<td>
<h3 class="font-bold" cols="2">Check Name</h3>
</td>
<td>
<p>{{ slotProps.data.checkName }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold">Description</h3></td>
<td>
<div>
{{ slotProps.data.checkDescription }} (threshold
{{ slotProps.data.thresholdValue }}%)
</div>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Threshold</h3></td>
<td>
<p>{{ slotProps.data.thresholdValue }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Notes</h3></td>
<td>
<p>{{ slotProps.data.noteValue }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Check Level</h3></td>
<td>
<p>{{ slotProps.data.checkLevel }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Table</h3></td>
<td>
<p>
<a
:href="links.getDocsLink(slotProps.data.cdmTableName)"
target="_blank"
>
{{ slotProps.data.cdmTableName }}
<!-- <v-icon small>mdi-open-in-new</v-icon>-->
</a>
</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2">Field</h3>
</td>
<td>
<p>{{ slotProps.data.cdmFieldName }}</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2">Concept Id</h3>
</td>
<td>
<p>
<router-link
v-if="slotProps.data.conceptId != undefined"
:to="getConceptDrilldown(slotProps.data)"
color="primary"
>
{{ slotProps.data.conceptId }}
<!-- <v-icon small>mdi-open-in-new</v-icon>-->
</router-link>
</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Unit Concept Id</h3></td>
<td>
<p>{{ slotProps.data.UNIT_conceptId }}</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2"># Rows Violated</h3>
</td>
<td>
<p>{{ slotProps.data.numViolatedRows }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2"># Rows Total</h3></td>
<td>
<p>{{ slotProps.data.numDenominatorRows }}</p>
</td>
</tr>
<tr>
<td>
<h3 class="font-bold" cols="2">% Rows Violated</h3>
</td>
<td>
<p>{{ (slotProps.data.pctViolatedRows * 100).toFixed(2) }} %</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Execution Time</h3></td>
<td>
<p>{{ slotProps.data.executionTime }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">Errors</h3></td>
<td>
<p>{{ slotProps.data.ERROR }}</p>
</td>
</tr>
<tr>
<td><h3 class="font-bold" cols="2">SQL Query</h3></td>
<td>
<Codemirror
:model-value="slotProps.data.queryText"
:extensions="extensions"
disabled
></Codemirror>
</td>
</tr>
</tbody>
</table>
</div>
</template>
Expand Down
Loading

0 comments on commit 725912d

Please sign in to comment.