feat(accomplishList): 设置默认按申请时间倒序排列
- 添加申请时间字段排序功能 - 设置默认排序方式为降序 - 优化控制台日志输出格式 - 移除多余的等号字符
This commit is contained in:
@@ -177,8 +177,12 @@ const priceTypeDic = (contractNo) => {
|
||||
};
|
||||
|
||||
const getList = () => {
|
||||
// 设置按申请时间排序
|
||||
queryParams.value.sortField = 'requestTime';
|
||||
queryParams.value.sortOrder = 'DESC';
|
||||
|
||||
getAdmissionPage(queryParams.value).then((res) => {
|
||||
console.log('priceTypeList=======>', JSON.stringify(priceTypeList.value));
|
||||
console.log('priceTypeList=======', JSON.stringify(priceTypeList.value));
|
||||
let dataList = [];
|
||||
for (let index = 0; index < (res.data.records || []).length; index++) {
|
||||
const obj = (res.data.records || [])[index];
|
||||
|
||||
Reference in New Issue
Block a user