<template>
	<view>
		<view class="font-md text-dark">目前进展</view>
		<u-steps current="0" direction="column" dot>
			<u-steps-item :title="item.opeTypeName" v-for="(item, index) in itemData" :key="index">
				<view slot="desc" class="">
					<view class="text-secondary">
						{{item.remarks}}
					</view>
					<view class="text-secondary" v-if="item.preTime">
						预计办结时间：{{item.preTime}}
					</view>
					<view class="d-flex j-sb a-center">
						<view class="">
							<text
								v-show="item.roleLevelLabel">{{item.roleLevel == '5' ? item.roleName :  item.roleLevelLabel}}，</text>
							<text v-show="item.createByName">{{item.createByName}}</text>
							<text v-show="item.phoneNumber">，{{item.phoneNumber}}</text>
						</view>
						<text>{{item.createTime}}</text>
					</view>
				</view>
			</u-steps-item>
		</u-steps>
	</view>
</template>

<script>
	export default {
		props: {
			progressData: {
				type: Array,
				default: () => []
			}
		},
		computed: {
			itemData() {
				return this.progressData
			}
		}
	}
</script>

<style>
</style>