|
@@ -225,7 +225,7 @@ export default {
|
|
|
this.isEdit = true;
|
|
|
this.editId = this.data.id;
|
|
|
this.form.hisName = this.data.hisName;
|
|
|
- this.form.hisDetailName = this.data.hisDetailName;
|
|
|
+ this.form.hisDetailName = this.data.hisDetailName?this.data.hisDetailName:'' ;
|
|
|
this.form.searchText = this.data.uniqueName;
|
|
|
this.form.icdCode = this.data.code;
|
|
|
this.form.conceptId = this.data.conceptId;
|
|
@@ -251,7 +251,7 @@ export default {
|
|
|
this.searchType = 2;
|
|
|
name = this.data.hisDetailName;
|
|
|
}
|
|
|
- console.log(this.ty)
|
|
|
+ console.log(this.ty);
|
|
|
this.getTermMatching(this.ty, name);
|
|
|
this.getRelatedMapping();
|
|
|
}
|
|
@@ -301,7 +301,11 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
const { hisName, hisDetailName } = this.form;
|
|
|
- if (hisName !== '' && (this.data.hisDetailName == null || this.data.hisDetailName === '') && this.type == 1) {
|
|
|
+ if (
|
|
|
+ hisName !== '' &&
|
|
|
+ (this.data.hisDetailName == null || this.data.hisDetailName === '') &&
|
|
|
+ this.type == 1
|
|
|
+ ) {
|
|
|
this.ty = 1;
|
|
|
} else if (hisName !== '' && hisDetailName !== '' && this.type == 1) {
|
|
|
this.ty = 2;
|
|
@@ -424,8 +428,10 @@ export default {
|
|
|
source
|
|
|
} = this.form;
|
|
|
// 当标准术语是套餐时,细项必须为空
|
|
|
- console.log(this.searchType);
|
|
|
+ console.log(hisDetailName);
|
|
|
+
|
|
|
if (this.searchType === 1 && hisDetailName !== '') {
|
|
|
+ console.log(123);
|
|
|
this.warning('医院术语与标准术语类型不匹配,请修改');
|
|
|
return;
|
|
|
}
|