|
@@ -114,7 +114,7 @@
|
|
<el-form-item label="ICD编码:" v-if="type == 4">
|
|
<el-form-item label="ICD编码:" v-if="type == 4">
|
|
<span class="previewInfo" style="minWidth: 240px">{{form.icdCode}}</span>
|
|
<span class="previewInfo" style="minWidth: 240px">{{form.icdCode}}</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item :label="detail+':'" v-if="type == 12 || type == 13">
|
|
|
|
|
|
+ <el-form-item :label="detail+':'" v-if="type == 12 || type == 13 || type == 6">
|
|
<span class="previewInfo" style="minWidth: 240px">{{form.icdCode}}</span>
|
|
<span class="previewInfo" style="minWidth: 240px">{{form.icdCode}}</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="药品剂型:" v-if="type == 5">
|
|
<el-form-item label="药品剂型:" v-if="type == 5">
|
|
@@ -203,6 +203,9 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ if (this.type == 1) {
|
|
|
|
+ this.ty = 2; // 1-化验大项、2-化验小项
|
|
|
|
+ }
|
|
//修改
|
|
//修改
|
|
if (JSON.stringify(this.data) != '{}') {
|
|
if (JSON.stringify(this.data) != '{}') {
|
|
this.title = '修改';
|
|
this.title = '修改';
|
|
@@ -218,9 +221,9 @@ export default {
|
|
this.form.source = this.data.source;
|
|
this.form.source = this.data.source;
|
|
this.form.hisCode = this.data.hisCode;
|
|
this.form.hisCode = this.data.hisCode;
|
|
if (this.data.hisDetailName != '') {
|
|
if (this.data.hisDetailName != '') {
|
|
- this.searchType = 2;
|
|
|
|
- }else{
|
|
|
|
- this.searchType = 1;
|
|
|
|
|
|
+ this.ty = 2;
|
|
|
|
+ } else {
|
|
|
|
+ this.ty = 1;
|
|
}
|
|
}
|
|
this.getTermMatching();
|
|
this.getTermMatching();
|
|
this.getRelatedMapping();
|
|
this.getRelatedMapping();
|
|
@@ -259,13 +262,11 @@ export default {
|
|
this.uniqueNameList = [];
|
|
this.uniqueNameList = [];
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (this.type == 1 && !this.isEdit) {
|
|
|
|
- const { hisName, hisDetailName } = this.form;
|
|
|
|
- this.ty = 2; // 1-化验大项、2-化验小项
|
|
|
|
- if (hisName !== '' && hisDetailName === '') {
|
|
|
|
- this.ty = 1;
|
|
|
|
- }
|
|
|
|
- this.searchType = this.ty;
|
|
|
|
|
|
+ const { hisName, hisDetailName } = this.form;
|
|
|
|
+ if (hisName !== '' && hisDetailName === '') {
|
|
|
|
+ this.ty = 1;
|
|
|
|
+ }else if(hisName !== '' && hisDetailName !== ''){
|
|
|
|
+ this.ty = 2;
|
|
}
|
|
}
|
|
this.searchType = this.ty;
|
|
this.searchType = this.ty;
|
|
this.showDrop = true;
|
|
this.showDrop = true;
|