1、展示数据类型和文件编码

master
xiong_cl 7 months ago
parent af6b34de3f
commit 8b617889f3
  1. 8
      shandan-system/src/main/resources/view/sys/file/fileView.html

@ -41,13 +41,17 @@
<label class="field-value" name="fileName"></label> <label class="field-value" name="fileName"></label>
</div> </div>
<div class="file-property" <div class="file-property"
th:each="field,iterStat : ${uploadFormConfig}" th:each="field,iterStat : ${allUploadFormConfig.get(fileData.dataType)}"
th:if="${field.isShow && field.fieldName != 'dataType'}" th:if="${field.isShow}"
th:style="${field.fieldType == 'textarea' ? 'width: calc(100% - 30px);' : ''}" th:style="${field.fieldType == 'textarea' ? 'width: calc(100% - 30px);' : ''}"
th:with="username=*{userName}"> th:with="username=*{userName}">
<label class="field-name" th:text="${field.showTitle}">文件名称</label> <label class="field-name" th:text="${field.showTitle}">文件名称</label>
<label class="field-value" th:name="${field.fieldName}" th:value="${field.fieldName}"></label> <label class="field-value" th:name="${field.fieldName}" th:value="${field.fieldName}"></label>
</div> </div>
<div class="file-property">
<label class="field-name">文件编码</label>
<label class="field-value" th:name="${fileData.fileCode}" th:text="${fileData.fileCode}"></label>
</div>
<div class="file-property" th:each="labelSet, iterState:${LabelConfigSet}"> <div class="file-property" th:each="labelSet, iterState:${LabelConfigSet}">
<label class="field-name" th:text="${labelSet.fieldTitle}">标签类型</label> <label class="field-name" th:text="${labelSet.fieldTitle}">标签类型</label>
<div class="field-value label-set-component read-only" <div class="field-value label-set-component read-only"