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