refs #6795 fix: claim paddings and colors
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
7aab50ffff
commit
1db827a7c8
|
@ -39,7 +39,7 @@ async function insert() {
|
||||||
ref="vnPaginateRef"
|
ref="vnPaginateRef"
|
||||||
>
|
>
|
||||||
<template #body="{ rows }">
|
<template #body="{ rows }">
|
||||||
<QCard class="q-pa-md q-mb-md" v-for="(note, index) in rows" :key="index">
|
<QCard class="q-pa-xs q-mb-md" v-for="(note, index) in rows" :key="index">
|
||||||
<QCardSection horizontal>
|
<QCardSection horizontal>
|
||||||
<slot name="picture">
|
<slot name="picture">
|
||||||
<VnAvatar :descriptor="false" :worker-id="note.workerFk" />
|
<VnAvatar :descriptor="false" :worker-id="note.workerFk" />
|
||||||
|
@ -55,7 +55,7 @@ async function insert() {
|
||||||
</slot>
|
</slot>
|
||||||
</QItem>
|
</QItem>
|
||||||
</QCardSection>
|
</QCardSection>
|
||||||
<QCardSection>
|
<QCardSection class="q-pa-sm">
|
||||||
<slot name="text">
|
<slot name="text">
|
||||||
{{ note.text }}
|
{{ note.text }}
|
||||||
</slot>
|
</slot>
|
||||||
|
|
|
@ -72,11 +72,10 @@ const filter = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const STATE_COLOR = {
|
const STATE_COLOR = {
|
||||||
pending: 'positive',
|
pending: 'warning',
|
||||||
managed: 'warning',
|
managed: 'info',
|
||||||
resolved: 'negative',
|
resolved: 'positive',
|
||||||
};
|
};
|
||||||
|
|
||||||
function stateColor(code) {
|
function stateColor(code) {
|
||||||
return STATE_COLOR[code];
|
return STATE_COLOR[code];
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,11 +97,9 @@ const detailsColumns = ref([
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const STATE_COLOR = {
|
const STATE_COLOR = {
|
||||||
pending: 'positive',
|
pending: 'warning',
|
||||||
|
managed: 'info',
|
||||||
managed: 'warning',
|
resolved: 'positive',
|
||||||
|
|
||||||
resolved: 'negative',
|
|
||||||
};
|
};
|
||||||
function stateColor(code) {
|
function stateColor(code) {
|
||||||
return STATE_COLOR[code];
|
return STATE_COLOR[code];
|
||||||
|
|
|
@ -20,9 +20,9 @@ const { t } = useI18n();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
|
|
||||||
const STATE_COLOR = {
|
const STATE_COLOR = {
|
||||||
pending: 'positive',
|
pending: 'warning',
|
||||||
managed: 'warning',
|
managed: 'info',
|
||||||
resolved: 'negative',
|
resolved: 'positive',
|
||||||
};
|
};
|
||||||
function getApiUrl() {
|
function getApiUrl() {
|
||||||
return new URL(window.location).origin;
|
return new URL(window.location).origin;
|
||||||
|
|
Loading…
Reference in New Issue