<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${data.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据来源：</label>
                            <div class="col-sm-8">
                                <input readonly id="dataSource" name="dataSource" th:value="${data.dataSource}"
                                       class="form-control" type="text">
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-3 control-label">数据类别：</label>
							<div class="col-sm-8">
								<input readonly id="dataType" name="dataType" th:value="${data.dataType}"
									   class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">数组子类：</label>
							<div class="col-sm-8">
								<input readonly id="dataSub" name="dataSub" th:value="${data.dataSub}"
									   class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">二级子类：</label>
							<div class="col-sm-8">
								<input readonly id="dataAdjSub" name="dataAdjSub" th:value="${data.dataAdjSub}"
									   class="form-control" type="text">
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据名称：</label>
                            <div class="col-sm-8">
                                <input readonly id="dataName" name="dataName" th:value="${data.dataName}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据级别：</label>
                            <div class="col-sm-8">
                                <input readonly id="dataLevel" name="dataLevel" th:value="${data.dataLevel}"
                                       class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据规模：</label>
                            <div class="col-sm-8">
                                <input readonly id="dataScope" name="dataScope" th:value="${data.dataScope}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">载体（存储位置）：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="dataLocation" name="dataLocation" th:text="${data.dataLocation}"
                                       class="form-control" ></textarea>
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-3 control-label">处理目的和方式：</label>
							<div class="col-sm-8">
								<textarea readonly id="dataResult" name="dataResult" th:text="${data.dataResult}"
									   class="form-control" ></textarea>
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据范围：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="dataRange" name="dataRange" th:text="${data.dataRange}"
                                       class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据精度：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="dataPrecision" name="dataPrecision" th:text="${data.dataPrecision}"
                                          class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">管理部门：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="dataManager" name="dataManager" th:text="${data.dataManager}"
                                          class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">负责人：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="dataRuler" name="dataRuler" th:text="${data.dataRuler}"
                                       class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">对外共享：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="shareRange" name="shareRange" th:text="${data.shareRange}"
                                       class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">跨境传输：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="crossRange" name="crossRange" th:text="${data.crossRange}"
                                       class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">安全保护措施：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="dataSafety" name="dataSafety" th:text="${data.dataSafety}"
                                       class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注：</label>
                            <div class="col-sm-8">
                                <textarea readonly id="dataDesc" name="dataDesc" th:text="${data.dataDesc}"
                                          class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">状态：</label>
                            <div class="col-sm-8">
                                <label class="radio-inline">
                                    <input th:field="*{data.dataStatus}" type="radio" name="dataLevel" value="0"/>待审核
                                </label>
								<label class="radio-inline">
									<input th:field="*{data.dataStatus}" type="radio" name="dataLevel" value="2"/>审核中
								</label>
								<label class="radio-inline">
									<input th:field="*{data.dataStatus}" type="radio" name="dataLevel" value="3"/>通过审核
								</label>
								<label class="radio-inline">
									<input th:field="*{data.dataStatus}" type="radio" name="dataLevel" value="4"/>驳回
								</label>
                                <label class="radio-inline">
                                    <input th:field="*{data.dataStatus}" type="radio" name="dataLevel" value="5"/>联合审核
                                </label>
<!--                                <label class="radio-inline">-->
<!--                                    <input th:field="*{data.dataStatus}" type="radio" name="dataLevel" value="6"/>驳回-->
<!--                                </label>-->
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">上传时间：</label>
                            <div class="col-sm-8">
                                <input readonly id="uploadTime" name="uploadTime"
                                       th:value="${#dates.format(data.uploadTime,'yyyy-MM-dd HH:mm:ss')}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                    </form>
                    <div style="text-align: center">
                        <button type="button" class="btn btn-primary" id="go_back" onclick="closeTheDiv()">返回</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/datas/dataImport/edit.js">
</script>

<script type="text/javascript">
    //返回
    function closeTheDiv() {
        let index = parent.layer.getFrameIndex(window.name); // 获取窗口索引
        parent.layer.close(index);
    }
</script>
</body>
</html>
