<template>
	<view>
		<view>
			<u-gap height="10" bgColor="#f7f7f7"></u-gap>
			<view>
				<uni-row>
					<uni-col :span="6">
						<view class="desc">
							申请人
						</view>
					</uni-col>
					<uni-col :span="19">
						<view class="desc">
							{{data.formData.apply_user_name}}
						</view>
					</uni-col>
				</uni-row>
			</view>
			<u-gap height="10" bgColor="#f7f7f7"></u-gap>
			<view>
				<uni-row>
					<uni-col :span="6">
						<view class="desc">
							申请日期
						</view>
					</uni-col>
					<uni-col :span="19">
						<view class="desc">
							{{data.createTime}}
						</view>
					</uni-col>
				</uni-row>
			</view>
			<u-gap height="10" bgColor="#f7f7f7"></u-gap>
			<view>
				<uni-row>
					<uni-col :span="6">
						<view class="desc">
							所属部门
						</view>
					</uni-col>
					<uni-col :span="19">
						<view class="desc">
							{{$dictTranslation(data.formData.personnelData.department,'deptData','dept')}}
						</view>
					</uni-col>
				</uni-row>
			</view>
			<u-gap height="10" bgColor="#f7f7f7"></u-gap>
			<view>
				<uni-row>
					<uni-col :span="6">
						<view class="desc">
							离职时间
						</view>
					</uni-col>
					<uni-col :span="19">
						<view class="desc">
							{{$dateResult(data.formData.apply_time,'date')}}
						</view>
					</uni-col>
				</uni-row>
			</view>
			<u-gap height="10" bgColor="#f7f7f7"></u-gap>
			<view>
				<uni-row>
					<uni-col :span="6">
						<view class="desc">
							离职原因
						</view>
					</uni-col>
					<uni-col :span="19">
						<view class="desc">
							{{$dictTranslation(data.formData.dimission_type,'dimission_type','dict')}}
						</view>
					</uni-col>
				</uni-row>
			</view>
			<u-gap height="10" bgColor="#f7f7f7"></u-gap>
			<view>
				<uni-row>
					<uni-col :span="6">
						<view class="desc">
							详细说明
						</view>
					</uni-col>
					<uni-col :span="19">
						<view class="desc">
							{{data.formData.remark}}
						</view>
					</uni-col>
				</uni-row>
			</view>
		</view>
		<ge></ge>
	</view>
</template>

<script>
	import ge from '../components/ge'
	export default {
		components: {
			ge
		},
		data() {
			return {
				data: uni.getStorageSync("approval"),
			}
		},
		onLoad() {

		}
	}
</script>

<style>
	.desc {
		padding: 10rpx 30rpx;
		color: #818181;
	}
</style>
