Преглед изворни кода

体系运行记录盒自适应字段设置最小宽度,去除无效排序

cfort пре 2 година
родитељ
комит
425e4ad783
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      src/views/platform/bpmn/bpmInstHis/list.vue

+ 5 - 5
src/views/platform/bpmn/bpmInstHis/list.vue

@@ -229,12 +229,12 @@
                     // 表格字段配置
                     columns: [
                         // { prop: 'subject', label: '任务标题', link: 'dialog', width: 250 },
-                        { prop: 'tYear', label: '年份', sortable: 'custom', width: 60 },
-                        { prop: 'tDept', label: '部门', sortable: 'custom', width: 120 },
+                        { prop: 'tYear', label: '年份', width: 60 },
+                        { prop: 'tDept', label: '部门', width: 110 },
                         { prop: 'procDefName', label: '表单名称', sortable: 'custom', width: 200 },
-                        { prop: 'subject', label: '事务说明', sortable: 'custom', formatter: this.getDesc },
-                        { prop: 'tUser', label: '编制人', sortable: 'custom', width: 80 },
-                        { prop: 'endTime', label: '完成时间', sortable: 'custom', dateFormat: 'yyyy-MM-dd', width: 150}
+                        { prop: 'subject', label: '事务说明', formatter: this.getDesc, 'min-width': 300 },
+                        { prop: 'tUser', label: '编制人', width: 80 },
+                        { prop: 'endTime', label: '完成时间', sortable: 'custom', dateFormat: 'yyyy-MM-dd', width: 90}
                     ],
                     rowHandle: {
                         actions: [