<template>
	<view>
		<view>
			<hs-show label="申请人" :data="data.formData.apply_user_name"></hs-show>
			<hs-show label="部门" :data="data.formData.dept_id" mode="dept"></hs-show>

			<hs-show label="设备类型" :data="data.formData.device_type"></hs-show>
			<hs-show label="设备名称" :data="data.formData.device_name"></hs-show>
			<hs-show label="规格型号" :data="data.formData.device_gg"></hs-show>
			<hs-show label="报废性质" :data="data.formData.scrap_type" mode="dict" dictKey="device_scrap_status"></hs-show>

			<hs-show label="报废原因" :data="data.formData.remark"></hs-show>
			<hs-show label="设备位置" :data="data.formData.deposit_loca"></hs-show>
			<hs-show label="报修状态" :data="data.formData.repairs_status"></hs-show>
			<view class="desc">
				设备图片
			</view>
			<view class="desc">
				<uni-file-picker :value="JSON.parse(data.formData.photos)" file-mediatype="image" readonly>
				</uni-file-picker>
			</view>
		</view>
		<ge></ge>
	</view>
</template>

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

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