|
|
|
@ -47,56 +47,40 @@ |
|
|
|
|
<div class="layui-tab-item layui-show"> |
|
|
|
|
<div class="layui-form" lay-filter="details-form"> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<label class="layui-form-label">数据名称</label> |
|
|
|
|
<label class="layui-form-label">数据表注释</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<input type="text" readonly class="layui-input" name="metadataName" |
|
|
|
|
th:value="${detailsData.metadataName}"> |
|
|
|
|
<input class="layui-input" type="text" readonly th:value="${detailsData.metadataComment}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<label class="layui-form-label">中文注释</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<input type="text" readonly class="layui-input" name="metadataComment" |
|
|
|
|
th:value="${detailsData.metadataComment}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<label class="layui-form-label">数据密级</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<div dict-component="select" readonly dict-type="secret_level" |
|
|
|
|
dict-name="secretLevel" th:data="${detailsData.secretLevel}" |
|
|
|
|
id="dict-secret-level"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<label class="layui-form-label">主题任务</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<input type="text" readonly class="layui-input" name="themeTask" |
|
|
|
|
th:value="${detailsData.themeTask}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<label class="layui-form-label">数据类型</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<div dict-component="select" readonly dict-type="data_type" dict-name="dataType" |
|
|
|
|
th:data="${detailsData.dataType}" id="dict-data-type"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<label class="layui-form-label">数据来源</label> |
|
|
|
|
<div class="layui-form-item" th:each="field,iterStat : ${metadataFormConfig}" th:if="${field.isShow}"> |
|
|
|
|
<label class="layui-form-label" th:text="${field.showTitle}">字段名称</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<div dict-component="select" readonly dict-type="data_source" |
|
|
|
|
dict-name="dataFrom" th:data="${detailsData.dataFrom}" |
|
|
|
|
id="dict-data-form"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<label class="layui-form-label">任务时间</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<input type="text" readonly class="layui-input" name="collectionTime" |
|
|
|
|
th:value="${#dates.format(detailsData.collectionTime, 'yyyy-MM-dd HH:mm:ss')}"> |
|
|
|
|
<input type="hidden" name="metadataComment" th:if="${field.fieldName == 'metadataName'}"> |
|
|
|
|
<!-- 文本输入框-文本类型 --> |
|
|
|
|
<input class="layui-input" type="text" readonly |
|
|
|
|
th:if="${field.fieldType == 'input'}" |
|
|
|
|
th:name="${field.fieldName}" |
|
|
|
|
th:value="${detailsData[field.fieldName]}"> |
|
|
|
|
<!-- 文本输入框-日期类型 --> |
|
|
|
|
<input class="layui-input" type="text" readonly |
|
|
|
|
th:if="${field.fieldType == 'date'}" |
|
|
|
|
th:name="${field.fieldName}" |
|
|
|
|
th:value="${#dates.format(detailsData[field.fieldName], 'yyyy-MM-dd HH:mm:ss')}"> |
|
|
|
|
<!-- 文本输入框-文本域类型 --> |
|
|
|
|
<textarea class="layui-textarea" readonly |
|
|
|
|
th:if="${field.fieldType == 'textarea'}" |
|
|
|
|
th:name="${field.fieldName}" |
|
|
|
|
th:text="${detailsData[field.fieldName]}"></textarea> |
|
|
|
|
<!-- 数据字典类型 --> |
|
|
|
|
<div dict-component="select" readonly="readonly" |
|
|
|
|
th:if="${field.fieldType == 'dict'}" |
|
|
|
|
th:dict-type="${field.dictType}" |
|
|
|
|
th:dict-name="${field.fieldName}" |
|
|
|
|
th:data="${detailsData[field.fieldName]}" |
|
|
|
|
th:id="${'dict-'+field.fieldName}"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="layui-form-item" th:each="labelSet, iterState:${LabelConfigSet}"> |
|
|
|
|
<label class="layui-form-label" th:text="${labelSet.fieldTitle}">标签类型</label> |
|
|
|
|
<div class="layui-input-block label-set-component read-only" |
|
|
|
|