|
@@ -535,6 +535,12 @@ export default {
|
|
|
identid: this.$route.query.pid
|
|
identid: this.$route.query.pid
|
|
|
});
|
|
});
|
|
|
if (res.ResultCode == 0) {
|
|
if (res.ResultCode == 0) {
|
|
|
|
|
+ if (Array.isArray(res.Data) && res.Data.length === 0) {
|
|
|
|
|
+ this.loading.close();
|
|
|
|
|
+ this.$message.warning(`体制辨识没有结果`);
|
|
|
|
|
+ this.$router.back();
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
this._initCharts(res.Data);
|
|
this._initCharts(res.Data);
|
|
|
// 排序分值最高的
|
|
// 排序分值最高的
|
|
|
res.Data.sort((a, b) => b.score - a.score);
|
|
res.Data.sort((a, b) => b.score - a.score);
|