Compare commits

...

2 Commits

  1. 4
      shandan-system/src/main/resources/view/sys/file/fileEditLayer.html
  2. 8
      shandan-system/src/main/resources/view/sys/file/fileView.html

@ -45,8 +45,8 @@
<input type="hidden" name="MD5"> <input type="hidden" name="MD5">
<input type="hidden" name="isFirst"> <input type="hidden" name="isFirst">
<div class="layui-form-item" <div class="layui-form-item"
th:each="field,iterStat : ${uploadFormConfig}" th:each="field,iterStat : ${allUploadFormConfig.get(file.dataType)}"
th:if="${field.isShow}" th:if="${field.isShow && field.fieldName != 'dataType'}"
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 th:if="${field.isRequired}" class="layui-form-label"> <label th:if="${field.isRequired}" class="layui-form-label">

@ -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"