mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/tickme.git
synced 2026-08-23 06:24:12 +00:00
73 lines
3.3 KiB
Vue
73 lines
3.3 KiB
Vue
<template>
|
|
<div class="card mb-3 parentContainer">
|
|
<div class="row pt-3 pb-3 pr-4 pl-4">
|
|
<div class="col">
|
|
<div class="row align-items-center">
|
|
<div class="col-3">
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class=" mb-1 w-xs-100 mt-0">
|
|
<span class="align-middle d-inline-block text-muted text-small text-uppercase" style=" font-size: 9px !important; ">project_id</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="ist-item-heading truncate mb-0 w-xs-100 mt-0">
|
|
<span class="align-middle d-inline-block">{{projectMilestone.project_id}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col">
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class=" mb-1 w-xs-100 mt-0">
|
|
<span class="align-middle d-inline-block text-muted text-small text-uppercase" style=" font-size: 9px !important; ">name</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="text-small mb-0 w-xs-100 mt-0">
|
|
<span class="align-middle d-inline-block">{{projectMilestone.name}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col text-right">
|
|
<button type="button" class="btn btn-outline-secondary icon-button mr-3 requestModal" data-type="editModal"><i class="iconsminds-pen-2"></i></button>
|
|
<button type="button" class="btn btn-outline-danger icon-button requestModal" data-type="deleteModal"><i class="simple-icon-trash"></i></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<form-component section="projectMilestoneSection" :data="projectMilestone">
|
|
<template slot="form" slot-scope="{section, data}">
|
|
<project-milestone-form-component :section="section" :data="data"></project-milestone-form-component>
|
|
</template>
|
|
</form-component>
|
|
<delete-component section="projectMilestoneSection" :requestRoute="route('api.project_milestone.delete', projectMilestone.id)" name="project-milestone"></delete-component>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
props: {
|
|
data: {
|
|
type: Object,
|
|
required: true
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
projectMilestone: this.data,
|
|
}
|
|
},
|
|
watch: {
|
|
'data': function() {
|
|
this.projectMilestone = this.data;
|
|
}
|
|
}
|
|
}
|
|
</script>
|