Sfoglia il codice sorgente

fix: 7240 系统指引没有按照sn或者表单编号排序

johnsen 5 mesi fa
parent
commit
f85a161209
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      src/views/system/dashboard/templates/systemGuide.vue

+ 3 - 2
src/views/system/dashboard/templates/systemGuide.vue

@@ -111,7 +111,7 @@ export default {
       loading: false,
       selection: [],
       defaultPagination: { page: 1, limit: 15 },
-      sorts: {},
+      sorts: { SN_: 'ASC' },
       listData: [],
       pagination: {
         limit: 100,
@@ -126,7 +126,7 @@ export default {
         ],
         // 表格字段配置
         columns: [
-          // { prop: '$index', label: '序号', width: 60 },
+          // { prop: 'sn', label: '序号', width: 60, sort: true },
           { prop: 'suoShuXiTong', label: '所属子系统', width: 100 },
           {
             prop: 'gongNengMoKuai',
@@ -215,6 +215,7 @@ export default {
           }
           // 处理分页
           const pageResult = res.data.pageResult
+          console.log(dataResult.map((t) => t.sn))
           const result = {
             dataResult,
             pageResult