<template>
	<view class="page-wrap">
		<view class="background"></view>
		<view class="card">
			<!-- <uni-card margin="0" :is-shadow="true"> -->
			<u--form labelPosition="left" labelWidth="auto" labelAlign="center" ref="wForm" class="demo-ruleForm" errorType="border-bottom">
				<view style="position: relative;">
					<view style="position: absolute;left: -10px;color: #3d4b70;top: -3px;">*</view>
				</view>

				<view style="font-size: 15px; font-weight: bold;color: #3d4b70;margin-bottom: 10px;">基本信息</view>
				<uni-collapse :border="false" accordion>
					<view v-for="(item, index) in checkShowData.details" :key="index">
						<uni-collapse-item title-border="none" :border="false">
							<template v-slot:title>
								<view class="uni-collapse-item__title-box">
									<view class="uni-collapse-item__title-text">
										{{item.RISK_NAME?index+1+'.'+item.RISK_NAME:index+1+'.'}}
									</view>
								</view>
							</template>
							<view class="content" style="padding: 0px 0px 0px 10px;">
								<u-form-item label="风险名称" prop="HIDDEN_PLACE" borderBottom>
									<u--input fontSize="14px" disabled disabledColor="#fff" v-model="item.RISK_NAME" border="none" inputAlign="right"></u--input>
								</u-form-item>
								<u-form-item label="检查区域" prop="Nav_Contents.CHECKCONTENT" borderBottom>
									<u--input fontSize="14px" disabled disabledColor="#fff" v-model="item.RISK_AREA_NAME" border="none" inputAlign="right"></u--input>
												
								</u-form-item>
								<u-form-item label="检查内容" prop="MEASURES_NAME">
								
								</u-form-item>
								<u--textarea v-model="item.CHECK_CONTENTS_NAME" disabled autoHeight maxlength="-1"></u--textarea>
								<u-form-item label="检查依据" prop="CHECKSTANDARD" >
								</u-form-item>
								<u--textarea v-model="item.CHECKPROOF" disabled autoHeight maxlength="-1"></u--textarea>
								<u-form-item label="判定标准" prop="CHECKSTANDARD" >
								</u-form-item>
								<u--textarea v-model="item.CHECKSTANDARD" disabled autoHeight maxlength="-1"></u--textarea>
								
								
							</view>
				
				
						</uni-collapse-item>
					</view>
				</uni-collapse>

			</u--form>


		</view>
	</view>
</template>

<script>
	import {
		mapState,
		mapMutations
	} from 'vuex'
	import {
		extendFilterGroup,
		extendGroupRule,
		extendInclude,
		extendOrder,
		extendRule,
		guid,
		initFilter,
		initFilterGroup
	} from '../../../../../utils/common'
	import {
		getRequest,
	} from '../../../../../services/apply/FOServices/FOServices';
	export default {
		data() {
			return {
				checkShowData: {},
			}
		},
		onLoad(option) {
			this.checkShowData = uni.getStorageSync('checkShowData');
		},
		onUnload() {
			// 可选：用完删除，避免占用存储
			uni.removeStorageSync('checkShowData');
		},
		methods: {
		}
	}
</script>

<style scoped>
	@import url("../../../../../style/css/newTemplate.css");
	/* 	@import url("../../../../style/css/editTemplate.css");

	.todo-page {
		padding: 16px 16px 70px;
	} */
</style>