增加:综合浏览系统数据表导出增加默认表头

master
xiong_cl 8 months ago
parent 5709386cee
commit 0747e4f74f
  1. 15
      shandan-system/src/main/resources/view/sys/file/fileEditLayer.html

@ -56,13 +56,15 @@
<label th:if="${!field.isRequired}" class="layui-form-label" th:text="${field.showTitle}"></label>
<div class="layui-input-block">
<!-- 文本框类型 -->
<!-- 任务时间修改为可编辑 2024/04/10 by xiongcl -->
<input class="layui-input" type="text" autocomplete="off"
th:id="${field.fieldName == 'inputDate' ? 'edit-date' : 'edit' }"
th:if="${field.fieldType == 'input' || field.fieldType == 'date'}"
th:name="${field.fieldName}"
th:value="${field.fieldName}"
th:disabled="${field.isDisabled}"
th:placeholder="${field.showTitle}"
th:readonly="${field.fieldName == 'inputDate' || field.fieldName == 'entryStaff'}"
th:readonly="${field.fieldName == 'entryStaff'}"
th:lay-verify="${field.isRequired ? 'required' : ''}">
<!-- 文本域类型 -->
<textarea class="layui-textarea" type="text" autocomplete="off"
@ -209,6 +211,17 @@
isInitValue: true,
});
}
<!-- 任务时间修改为可编辑 2024/04/10 by xiongcl -->
laydate.render({
elem: '#edit-date',
format: "yyyy-MM-dd HH:mm:ss",
type: 'datetime',
value: new Date(),
isInitValue: true,
});
});
function save() {