|
@@ -146,7 +146,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="mapList">
|
|
<div class="mapList">
|
|
已关联标准术语:
|
|
已关联标准术语:
|
|
- <span v-for="item in mapList" :key="item.id">{{item.hisName}};</span>
|
|
|
|
|
|
+ <span v-for="item in mapList" :key="item.id">{{item.uniqueName}};</span>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<div class="modal-footer">
|
|
<button class="confirm btns" :disabled="saveDisable" @click="submitForm">确定</button>
|
|
<button class="confirm btns" :disabled="saveDisable" @click="submitForm">确定</button>
|
|
@@ -180,7 +180,8 @@ export default {
|
|
formConceptId: '',
|
|
formConceptId: '',
|
|
conceptId: '',
|
|
conceptId: '',
|
|
form: '',
|
|
form: '',
|
|
- hisCode: ''
|
|
|
|
|
|
+ hisCode: '',
|
|
|
|
+ source: ''
|
|
},
|
|
},
|
|
showDrop: false, //下拉框显示文字
|
|
showDrop: false, //下拉框显示文字
|
|
saveDisable: false, //保存按钮禁止点击
|
|
saveDisable: false, //保存按钮禁止点击
|
|
@@ -207,14 +208,16 @@ export default {
|
|
created() {
|
|
created() {
|
|
//修改
|
|
//修改
|
|
if (this.data != {}) {
|
|
if (this.data != {}) {
|
|
|
|
+ console.log(this.data)
|
|
this.isEdit = true;
|
|
this.isEdit = true;
|
|
this.editId = this.data.id;
|
|
this.editId = this.data.id;
|
|
this.form.hisName = this.data.hisName;
|
|
this.form.hisName = this.data.hisName;
|
|
this.form.searchText = this.data.uniqueName;
|
|
this.form.searchText = this.data.uniqueName;
|
|
- this.form.icdCode = this.data.icdCode;
|
|
|
|
|
|
+ this.form.icdCode = this.data.code;
|
|
this.form.conceptId = this.data.conceptId;
|
|
this.form.conceptId = this.data.conceptId;
|
|
this.form.formConceptId = this.data.formConceptId;
|
|
this.form.formConceptId = this.data.formConceptId;
|
|
this.form.form = this.data.form;
|
|
this.form.form = this.data.form;
|
|
|
|
+ this.form.source = this.data.source;
|
|
this.getTermMatching();
|
|
this.getTermMatching();
|
|
this.getRelatedMapping();
|
|
this.getRelatedMapping();
|
|
}
|
|
}
|
|
@@ -236,11 +239,13 @@ export default {
|
|
this.form.searchText = '';
|
|
this.form.searchText = '';
|
|
this.form.conceptId = '';
|
|
this.form.conceptId = '';
|
|
this.form.icdCode = '';
|
|
this.form.icdCode = '';
|
|
|
|
+ this.form.source = '';
|
|
} else {
|
|
} else {
|
|
this.getIndex = row.index;
|
|
this.getIndex = row.index;
|
|
this.form.searchText = row.name;
|
|
this.form.searchText = row.name;
|
|
this.form.conceptId = row.id;
|
|
this.form.conceptId = row.id;
|
|
this.form.icdCode = row.code;
|
|
this.form.icdCode = row.code;
|
|
|
|
+ this.form.source = row.source;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 搜索列表
|
|
// 搜索列表
|
|
@@ -361,7 +366,8 @@ export default {
|
|
icdCode,
|
|
icdCode,
|
|
conceptId,
|
|
conceptId,
|
|
formConceptId,
|
|
formConceptId,
|
|
- hisCode
|
|
|
|
|
|
+ hisCode,
|
|
|
|
+ source
|
|
} = this.form;
|
|
} = this.form;
|
|
// 当标准术语是套餐时,细项必须为空
|
|
// 当标准术语是套餐时,细项必须为空
|
|
if (this.searchType === 1 && hisDetailName !== '') {
|
|
if (this.searchType === 1 && hisDetailName !== '') {
|
|
@@ -387,7 +393,8 @@ export default {
|
|
conceptId: conceptId,
|
|
conceptId: conceptId,
|
|
formConceptId: formConceptId,
|
|
formConceptId: formConceptId,
|
|
hospitalId: this.hospitalId,
|
|
hospitalId: this.hospitalId,
|
|
- hisCode: hisCode
|
|
|
|
|
|
+ hisCode: hisCode,
|
|
|
|
+ source: source?source:1
|
|
};
|
|
};
|
|
this.showSaveDialog(params);
|
|
this.showSaveDialog(params);
|
|
} else {
|
|
} else {
|
|
@@ -430,6 +437,7 @@ export default {
|
|
this.form.hisDetailName = '';
|
|
this.form.hisDetailName = '';
|
|
this.form.form = '';
|
|
this.form.form = '';
|
|
this.form.conceptId = '';
|
|
this.form.conceptId = '';
|
|
|
|
+ this.form.source = '';
|
|
},
|
|
},
|
|
// 映射关系不存在-建立关联
|
|
// 映射关系不存在-建立关联
|
|
saveLisMapping(params, msg, type) {
|
|
saveLisMapping(params, msg, type) {
|