<template>
	<view class="content">
		<view class="param">
			<view class="proMiao mingchen">{{data.taskName}}</view>
			<view class="proMiao title">评分标准</view>
			<view class="prolittle">{{data.scoreStandard}}</view>
			<view class="proMiao title">任务负责人</view>
			<view class="prolittle">{{data.headerName}}</view>
			<view class="proMiao title">评分上限</view>
			<view class="prolittle">{{data.scoreLimit}}</view>
			<view class="proMiao title">权重</view>
			<view class="prolittle">{{data.weight}}</view>
			<view class="proMiao title">提醒时间</view>
			<view class="prolittle">{{data.remindTime}}</view>
			<view class="proMiao title">预警时间</view>
			<view class="prolittle">{{data.warnTime}}</view>
			<view class="proMiao title">任务周期</view>
			<view class="prolittle">{{data.startTime}}  -  {{data.endTime}}</view>
			<view class="proMiao title">完成说明</view>
			<view class="prolittle">这里是完成说明</view>
			<view class="proMiao title">附件</view>
			<view class="prolittle" v-for="(item,index) in fileList3">
				<view style="color: rgba(0, 97, 255, 1);" @click="navigateToTU(item.name)">{{item.name}}</view>
			</view>
			<!-- <view class="proMiao title">系统</view>
			<view class="prolittle">100</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{},
				fileList3: [],
			}
		},
		onLoad(option) {
			console.log(JSON.parse(decodeURIComponent(option.data)))
			this.data=JSON.parse(decodeURIComponent(option.data))
			var image=[]
			image=this.data.fileUrl.split(',')
			this.fileList3 =image.map(item =>{
				return {
					name: item
				}
			})
		},
		methods: {
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.param{
		margin: 20rpx 0 0 0;
		width: 100%;
		background-color: rgba(255, 255, 255, 1);
		font-size: 28rpx;
		font-weight: 400;
		line-height: 41rpx;
		color: rgba(0, 0, 0, 1);
	}
	.proMiao{
		margin: 31rpx 0 0 20rpx;
		width: 710rpx;
	}
	.prolittle{
		margin: 5rpx 0 0 20rpx;
		width: 710rpx;
		word-wrap: break-word;
		word-break: break-all;
		white-space: pre-line;
	}
	.mingchen{
		font-size: 32rpx;
		font-weight: 500;
		line-height: 46rpx;
	}
	.title{
		color: rgba(102, 102, 102, 1);
	}
</style>