瀏覽代碼

调整待办页列表顺序排序问题

ellisran 2 月之前
父節點
當前提交
5b65c0bf09
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/dashboard_controller.js

+ 1 - 1
app/controller/dashboard_controller.js

@@ -145,7 +145,7 @@ module.exports = app => {
             // 获取系统维护信息
             const maintainData = await ctx.service.maintain.getDataById(1);
             const renderData = {
-                dashboardShenpis: ctx.helper._.orderBy(dashboardShenpis, ['start_audit', 'shenpi_time'], ['desc', 'desc']),
+                dashboardShenpis: ctx.helper._.orderBy(dashboardShenpis, ['start_audit', 'shenpi_time'], ['desc', 'asc']),
                 dashboardStatus,
                 role: pa.role,
                 authMobile: pa.auth_mobile,