|
@@ -86,7 +86,7 @@ export default {
|
|
list: [],
|
|
list: [],
|
|
hospitalData: [],
|
|
hospitalData: [],
|
|
hospitalId: '', //选中医院
|
|
hospitalId: '', //选中医院
|
|
- runningStatusArr: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] //知识图谱规则 测试状态
|
|
|
|
|
|
+ runningStatusArr: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] //知识图谱规则 测试状态
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -131,7 +131,7 @@ export default {
|
|
if (this.hospitalId === '') return;
|
|
if (this.hospitalId === '') return;
|
|
api.getRunningStatusByHospitalId({ hospitalId }).then(res => {
|
|
api.getRunningStatusByHospitalId({ hospitalId }).then(res => {
|
|
if (res.data.code === '0' && res.data.data) {
|
|
if (res.data.code === '0' && res.data.data) {
|
|
- this.runningStatusArr = Object.values(res.data.data).slice(0, 10);
|
|
|
|
|
|
+ this.runningStatusArr = Object.values(res.data.data).slice(0, 15);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -191,7 +191,7 @@ export default {
|
|
this.$message.error('测试失败');
|
|
this.$message.error('测试失败');
|
|
this.getDataList(this.hospitalId);
|
|
this.getDataList(this.hospitalId);
|
|
}
|
|
}
|
|
- this.runningStatusArr = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
|
|
|
|
+ this.runningStatusArr = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
});
|
|
});
|
|
},
|
|
},
|
|
// 所有规则测试
|
|
// 所有规则测试
|
|
@@ -203,9 +203,9 @@ export default {
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- this.runningStatusArr = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
|
|
|
|
|
|
+ this.runningStatusArr = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
|
|
api.allRuleTest({ hospitalId: this.hospitalId }).then(res => {
|
|
api.allRuleTest({ hospitalId: this.hospitalId }).then(res => {
|
|
- this.runningStatusArr = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
|
|
|
|
+ this.runningStatusArr = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
if (res.data.code === '0' && res.data.data) {
|
|
if (res.data.code === '0' && res.data.data) {
|
|
this.getDataList(this.hospitalId);
|
|
this.getDataList(this.hospitalId);
|
|
this.$message({
|
|
this.$message({
|