update:bug fix

This commit is contained in:
min.jiang 2024-08-27 14:35:52 +08:00
parent ade6297f47
commit 527028bc58
2 changed files with 42 additions and 4 deletions

View File

@ -180,7 +180,35 @@
</div>
</div>
</div>
<div v-if="requests" class="accordion" id="accordion-action-panel">
<div v-if="requests" class="statistics-container">
<label class="self-intro-content-label marb-10" for="statistics-content">{{
$t('Action panel')
}}</label>
<div class="invite-to-request-container">
<label class="invite-to-request-content-label" for="invite-to-request-content">{{ $t('Invite')
}}
<span class="invite-to-request-name-span">{{ provider.user_profile.first_name }}
{{ provider.user_profile.last_name }}</span>
{{ $t('to my open requests') }}</label>
<div class="invite-to-request-content-container" id="invite-to-request-content">
<div class="form-check" v-for="(request, index) in requests" :key="index">
<input class="form-check-input" type="checkbox" :value="request.id"
:id="'check' + request.id" v-model="checkedRequests" @change="
checkRequest($event, request.id, provider.user_profile.user_id)
" />
<label class="form-check-label" :for="'check' + request.id">{{
request.title
}}</label>
</div>
<span class="invite-to-request-note-text">*{{
$t(
'Once the request is selected, the provider will be invited to see the request.'
)
}}</span>
</div>
</div>
</div>
<!-- <div v-if="requests" class="accordion" id="accordion-action-panel">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
@ -218,7 +246,7 @@
</div>
</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
@ -389,6 +417,10 @@ export default {
font-weight: bold !important;
}
.marb-10 {
margin-bottom: 10px !important
}
.self-intro-content-container {
@extend .container;
@extend .text-start;

View File

@ -29,18 +29,24 @@
<p class="project-item-text">{{ fromIntToProjectStatus(project.status) }}</p>
</div>
<div class="project-item-date-container">
<label class="project-item-label">{{ $t('Date') }}</label>
<label class="project-item-label">{{ $t('Update') }}</label>
<p class="project-item-text">
{{ getDateFromFulltimeString(project.update_time) }}
</p>
</div>
</div>
<div class="workspace-item-bar-right">
<div class="project-item-inform-container">
<label class="project-item-label">{{ $t('Quote From') }}</label>
<p class="project-item-text">{{ project?.proposal?.proposer?.first_name }} {{ project?.proposal?.proposer?.last_name }}</p>
</div>
</div>
<!-- <div class="workspace-item-bar-right">
<div class="project-item-inform-container">
<label class="project-item-label">{{ getTitleForItemInfo(project) }}</label>
<p class="project-item-text">{{ getContentForItemInfo(project) }}</p>
</div>
</div>
</div> -->
</div>
</button>
</h2>