|
@@ -44,7 +44,7 @@
|
|
|
v-model.trim="form.hisDetailName"
|
|
|
clearable
|
|
|
style="minWidth: 240px"
|
|
|
- @input="onchanges"
|
|
|
+ @input="onchange"
|
|
|
@blur="onblur"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
@@ -223,9 +223,11 @@ export default {
|
|
|
let name
|
|
|
if (this.data.hisName !== '' && this.data.hisDetailName === '') {
|
|
|
this.ty = 1; // 1-化验大项、2-化验小项
|
|
|
+ this.searchType = 1
|
|
|
name = this.data.hisName;
|
|
|
} else if (this.data.hisName !== '' && this.data.hisDetailName !== '') {
|
|
|
this.ty = 2;
|
|
|
+ this.searchType = 2
|
|
|
name = this.data.hisDetailName;
|
|
|
}
|
|
|
this.getTermMatching(this.ty,name);
|
|
@@ -312,14 +314,6 @@ export default {
|
|
|
onchange() {
|
|
|
this.getRelatedMapping();
|
|
|
},
|
|
|
- onchanges() {
|
|
|
- this.form.searchText = '';
|
|
|
- this.form.conceptId = '';
|
|
|
- this.form.icdCode = '';
|
|
|
- this.$$nextTick(() => {
|
|
|
- this.getRelatedMapping();
|
|
|
- });
|
|
|
- },
|
|
|
getRelatedMapping() {
|
|
|
const { hisName, hisDetailName } = this.form;
|
|
|
let params = {
|