{{ value }}
diff --git a/src/pages/Claim/Card/ClaimNotes.vue b/src/pages/Claim/Card/ClaimNotes.vue
index eeaffc85a..ed4c2040d 100644
--- a/src/pages/Claim/Card/ClaimNotes.vue
+++ b/src/pages/Claim/Card/ClaimNotes.vue
@@ -19,6 +19,12 @@ const claimFilter = {
relation: 'worker',
scope: {
fields: ['id', 'firstName', 'lastName'],
+ include: {
+ relation: 'user',
+ scope: {
+ fields: ['id', 'nickname'],
+ },
+ },
},
},
};
@@ -30,7 +36,8 @@ const body = {
- {
claimUrl.value = salixUrl.value + `claim/${entityId.value}/`;
});
-watch(entityId, async (id) => {
- claimDmsFilter.value.where = { claimFk: id };
- await claimDmsRef.value.fetch();
-});
-
const detailsColumns = ref([
{
name: 'item',
@@ -101,11 +97,9 @@ const detailsColumns = ref([
]);
const STATE_COLOR = {
- pending: 'positive',
-
- managed: 'warning',
-
- resolved: 'negative',
+ pending: 'warning',
+ managed: 'info',
+ resolved: 'positive',
};
function stateColor(code) {
return STATE_COLOR[code];
@@ -170,7 +164,6 @@ function openDialog(dmsId) {
:filter="claimDmsFilter"
@on-fetch="(data) => setClaimDms(data)"
limit="20"
- auto-load
ref="claimDmsRef"
/>
@@ -210,15 +203,29 @@ function openDialog(dmsId) {
/>
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+ {{ t(col.label) }}
+
+
+
+
+
+