Commit 6b84b8cc by 钟乾明

u: 考核结果排序

parent 434301e0
......@@ -27,7 +27,7 @@ npm run e2e
npm test
```
开发环境在 test.js 文件修改账号
开发环境在 test.js 文件修改账号id和token
注意:打正式包和测试包,需要修改 prod.js 的内容:
......
......@@ -62,7 +62,7 @@ const config = {
loginuserid: '46000011',
appkey: 'd504275e',
uid: 'hqhuang@cndrealty.com',
token:'yzj_01d213c5453c8b0605811adebdf57836',
token:'yzj_83c5aa6024e2928192526a93d1699705',
baseUrl: 'https://staging.jffctest.com/',
};
......
......@@ -885,7 +885,7 @@ function filterData(item, data, isAssessNew) {
gbResult = [];
}
assessData = ygResult.concat(gbResult);
assessData = ygResult.concat(gbResult).sort((a, b) => b.year - a.year);
}
console.log('过滤后的数据>>', item, assessData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment