|
|
@@ -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
|