music.html新增标题及音轨号排序

This commit is contained in:
yutou 2020-10-29 09:56:01 +08:00
parent 749936f73a
commit 18f4c75b83

View File

@ -80,11 +80,11 @@
, url: localhost + '/nas/music/list.do?token=PlVodzYhvxRQbOHKakpKs2dvnoc43Cnk' //数据接口 , url: localhost + '/nas/music/list.do?token=PlVodzYhvxRQbOHKakpKs2dvnoc43Cnk' //数据接口
, page: true //开启分页 , page: true //开启分页
, cols: [[ , cols: [[
{field: 'title', title: '标题', width: 400, templet: "#listTemplet"} {field: 'title', title: '标题', width: 400,sort:true, templet: "#listTemplet"}
, {field: 'artist', title: '艺术家', width: 200} , {field: 'artist', title: '艺术家', width: 200}
, {field: 'album', title: '专辑', width: 200} , {field: 'album', title: '专辑', width: 200}
, {field: 'composer', title: '作曲', width: 200} , {field: 'composer', title: '作曲', width: 200}
, {field: 'track', title: '音轨号', width: 100} , {field: 'track', title: '音轨号', width: 100,sort:true}
, {field: "right", width: 150, toolbar: '#music'} , {field: "right", width: 150, toolbar: '#music'}
]] ]]
, done: function (res, curr, count) { , done: function (res, curr, count) {