<template>
	<view class="page">
		<view class="screen-list">
			<view class="list">
				<text>报事报修记录</text>
				<image :src="$imgUrl('/down.png')" ></image>
			</view>
		</view>
		<!-- 记录列表 -->
		<view class="record-list">
			<view class="record-list-box" v-for="(item,index) in recordList" :key="index">
				<view class="list">
					<view class="title">
						<view class="left">这里有设备名称这里有设备名称</view>
						<view class="right"><u-icon name="arrow-rightward"></u-icon></view>
					</view>
					<view class="info-item">申请时间：2022-02-22 14:00</view>
					<view class="info-item">状态：<span style="color: #0FBB59;">受理中</span></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				recordList:[
					{
						recordName:'这里有名称这里有名称',
						porName:'徐丽',
						tTime:'2022-02-22 12：00：00',
						state:'受理中'
					},
					{
						recordName:'这里有名称这里有名称',
						porName:'徐丽',
						tTime:'2022-02-22 12：00：00',
						state:'已通过'
					}
				]
			};
		},
		methods: {
			recordXq(item){
				 const encodedItem = encodeURIComponent(JSON.stringify(item));
				uni.navigateTo({
				 url: `/pages/accepting/accepting?item=${encodedItem}`,
				 })
			},
			contractdetail(){
				// uni.navigateTo({
				
				// })
			}
		}
	}
</script>

<style scoped lang="scss">
	@import 'recordService.scss';
</style> 
