|
@@ -796,8 +796,12 @@ export default {
|
|
|
this.warning('年龄必须是0-200');
|
|
|
return;
|
|
|
}
|
|
|
+ if(this.minAge >= this.maxAge){
|
|
|
+ this.warning('年龄最小值应该小于最大值');
|
|
|
+ return;
|
|
|
+ }
|
|
|
if(this.minValue >= this.maxValue&&this.data.type=='实验室检查子项目'){
|
|
|
- this.warning('最小值小于最大值');
|
|
|
+ this.warning('最小值应该小于最大值');
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -828,7 +832,10 @@ export default {
|
|
|
for (let i = 0; i < realData.length; i++) {
|
|
|
let obj = {}
|
|
|
realData[i].synonymName = realData[i].name;
|
|
|
- realData[i].typeId = this.data.typeId||this.data.code;
|
|
|
+ realData[i].typeId = undefined;
|
|
|
+ realData[i].conceptId = undefined;
|
|
|
+ realData[i].status = undefined;
|
|
|
+ realData[i].libType = this.data.code||this.data.typeId;
|
|
|
|
|
|
// obj.isConcept=realData[i].isConcept
|
|
|
// obj.remark=realData[i].remark
|