日期时间改为日期

This commit is contained in:
zhal 2022-09-23 14:45:12 +08:00
parent d4cfd08180
commit ade5c57d89
4 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,7 @@ public class PalManageUtil {
map.put("relation", "PAL模型关联"); map.put("relation", "PAL模型关联");
map.put("awsorg", "BPM组织架构关联"); map.put("awsorg", "BPM组织架构关联");
map.put("link", "链接"); map.put("link", "链接");
map.put("DateTimePicker", "日期时间选择器"); map.put("DateTimePicker", "日期选择器");
map.put("table", "表格"); map.put("table", "表格");
return map; return map;
} }

View File

@ -2295,6 +2295,8 @@ public class CoeProcessLevelUtil {
JSONArray jsonValue = jsonObjectMap.get(attributeModel.getKey()).getJSONArray("value"); JSONArray jsonValue = jsonObjectMap.get(attributeModel.getKey()).getJSONArray("value");
if(jsonValue.size()>0){ if(jsonValue.size()>0){
String sessionId = new SSOUtil().registerClientSessionNoPassword("admin", LoginConst.DEFAULT_LANG, "localhost", LoginConst.DEVICE_PC); String sessionId = new SSOUtil().registerClientSessionNoPassword("admin", LoginConst.DEFAULT_LANG, "localhost", LoginConst.DEVICE_PC);
for(int i=0;i<jsonValue.size();i++){ for(int i=0;i<jsonValue.size();i++){

View File

@ -205,7 +205,7 @@
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
$('input[name="dateTimePicker"]').datepicker({dateFmt:"yyyy-MM-dd HH:mm:ss"}) $('input[name="dateTimePicker"]').datepicker({dateFmt:"yyyy-MM-dd"})
//更多特性权限 //更多特性权限
if($('#moreAttrRight').val() == "false") { if($('#moreAttrRight').val() == "false") {
$("#showMoreAttrUL").remove(); $("#showMoreAttrUL").remove();

View File

@ -1554,7 +1554,7 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) {
+ ' </td></tr>'; + ' </td></tr>';
} }
$("#" + tbodyId).append(constr); $("#" + tbodyId).append(constr);
$("#dateTimePicker_" + obj.id).datepicker({dateFmt:"yyyy-MM-dd HH:mm:ss"}); $("#dateTimePicker_" + obj.id).datepicker({dateFmt:"yyyy-MM-dd"});
} }
} }
if (flag) { if (flag) {