فهرست منبع

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

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,