From 079e929e1182031c069293116cb299f84395cf91 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Tue, 16 Mar 2021 16:04:13 +0800 Subject: [PATCH] record --- client/src/api/record.js | 1 - client/src/views/supervision/record.vue | 144 +++++++++++++++--------- server/apps/supervision/filters.py | 13 +++ server/apps/supervision/views.py | 9 +- 4 files changed, 107 insertions(+), 60 deletions(-) create mode 100644 server/apps/supervision/filters.py diff --git a/client/src/api/record.js b/client/src/api/record.js index 4c99fa2..8801169 100644 --- a/client/src/api/record.js +++ b/client/src/api/record.js @@ -12,4 +12,3 @@ export function getRecordList(query) { } - diff --git a/client/src/views/supervision/record.vue b/client/src/views/supervision/record.vue index ee153cf..b4c6a13 100644 --- a/client/src/views/supervision/record.vue +++ b/client/src/views/supervision/record.vue @@ -1,21 +1,19 @@ + - - + + + - - 搜索 - 刷新重置 - + + + + + + + + @@ -61,23 +71,37 @@ stripe highlight-current-row max-height="600" + :default-sort = "{prop: 'date', order: 'descending'}" > + {{ scope.row.task_.name }} {{ scope.row.content_.name }} - - {{ scope.row.up_date }} + + {{ scope.row.up_date }} {{ scope.row.up_user }} - + {{ scope.row.end_date }} + + + + {{ scope.row.note }} + + + {{ scope.row.noteb }} + + + + {{ scope.row.dept_.name }} + {{ scope.row.state }} @@ -86,19 +110,6 @@ 是 否 - - {{ scope.row.note }} - - - {{ scope.row.noteb }} - - - {{ scope.row.files }} - - - - {{ scope.row.dept_.name }} -