<template>
    <global-page title="其他特殊保障详情">
        <view class="mocp-cell">
            <up-cell-group v-if="getODetails">
                <up-cell title="负责人" :value="getODetails.userName || '-'"></up-cell>
                <up-cell title="开始时间" :value="getODetails.startTime || '-'"></up-cell>
                <up-cell title="预计完成时间" :value="getODetails.expectCompleteTime || '-'"></up-cell>
                <up-cell title="实际完成时间" :value="getODetails.realityCompleteTime || '-'"></up-cell>
                <up-cell title="状态">
                    <template #value>
                        <global-text-status :value="getODetails.state || '1'" dictkey="otherDetails_status"></global-text-status>
                    </template>
                </up-cell>
                <up-cell title="工作内容" :label="getODetails.content || '-'"></up-cell>
            </up-cell-group>
        </view>
    </global-page>
</template>

<script setup>
import { storeToRefs } from 'pinia'
import useAogStore from 'mocp/store/aog'

const aogStore = useAogStore()
const { getODetails } = storeToRefs(aogStore)
</script>
<style lang="scss" scoped>
.mocp-cell {
    background: #fff;
}
</style>
