Просмотр исходного кода

去掉体系运行记录盒编制时间

tianxinyu 1 неделя назад
Родитель
Сommit
b503bf2024
1 измененных файлов с 6 добавлено и 3 удалено
  1. 6 3
      src/views/platform/bpmn/bpmInstHis/list.vue

+ 6 - 3
src/views/platform/bpmn/bpmInstHis/list.vue

@@ -267,8 +267,8 @@ export default {
                         { prop: 'dept', label: '部门', itemWidth: 150, placeholder: '请输入', labelWidth: 50 },
                         { prop: 'tableName', label: '表单名称', itemWidth: 150, placeholder: '请输入', labelWidth: 70 },
                         { prop: 'desc', label: '事务说明', itemWidth: 150, placeholder: '请输入', labelWidth: 70 },
-                        { prop: 'createBy', label: '编制人', itemWidth: 150, placeholder: '请输入', labelWidth: 60 },
-                        { prop: ['Q^compile_time^DL', 'Q^compile_time^DG'], label: '编制时间', fieldType: 'daterange', labelWidth: 70, itemWidth: 220 },
+                        { prop: 'createBy', label: '编制人', itemWidth: 150, placeholder: '请输入', labelWidth: 60 }
+                        // { prop: ['Q^compile_time^DL', 'Q^compile_time^DG'], label: '编制时间', fieldType: 'daterange', labelWidth: 70, itemWidth: 220 },
                         // { prop: ['Q^end_time_^DL', 'Q^end_time_^DG'], label: '完成时间', fieldType: 'daterange', labelWidth: 70, itemWidth: 220 }
                     ]
                 },
@@ -277,7 +277,7 @@ export default {
                     { prop: 'deptName', label: '部门', width: 110 },
                     { prop: 'procDefName', label: '表单名称', formatter: this.replaceFormName, width: 220 },
                     { prop: 'desc', label: '事务说明', 'min-width': 280 },
-                    { prop: 'compileTime', label: '编制时间', sortable: 'custom', width: 135, dateFormat: 'yyyy-MM-dd HH:mm' },
+                    // { prop: 'compileTime', label: '编制时间', sortable: 'custom', width: 135, dateFormat: 'yyyy-MM-dd HH:mm' },
                     // { prop: 'endTime', label: '完成时间', sortable: 'custom', width: 135, dateFormat: 'yyyy-MM-dd HH:mm' },
                     { prop: 'createBy', label: '编制人', width: 100, slotName: 'creator' }
                 ],
@@ -639,6 +639,9 @@ export default {
         },
         // 处理排序
         handleSortChange (sort) {
+            if (sort && sort.sortBy && sort.sortBy === 'COMPILE_TIME_') {
+                sort.sortBy = 'COMPILE_TIME'
+            }
             ActionUtils.setSorts(this.sorts, sort)
             this.loadData()
         },