fix: update color logic for cancellation badge and correct API endpoint for reject request cancel
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
This commit is contained in:
parent
c1adc9dee3
commit
ab51d7a8db
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ function changeableStatus(currentStatus?: RequestWorkStatus) {
|
||||||
</div>
|
</div>
|
||||||
<BadgeComponent
|
<BadgeComponent
|
||||||
v-if="requestCancel && !cancel"
|
v-if="requestCancel && !cancel"
|
||||||
:hsla-color="'--red-5-hsl'"
|
:hsla-color="rejectRequestCancel ? '--blue-6-hsl' : '--red-5-hsl'"
|
||||||
class="q-ml-sm"
|
class="q-ml-sm"
|
||||||
:title="
|
:title="
|
||||||
rejectRequestCancel
|
rejectRequestCancel
|
||||||
|
|
|
||||||
|
|
@ -312,7 +312,7 @@ export const useRequestList = defineStore('request-list', () => {
|
||||||
},
|
},
|
||||||
) {
|
) {
|
||||||
const res = await api.post(
|
const res = await api.post(
|
||||||
`/request-data/{requestDataId}/request-work/${requestWorkId}/reject-request-cancel`,
|
`/request-data/${requestDataId}/request-work/${requestWorkId}/reject-request-cancel`,
|
||||||
body,
|
body,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue