|
@@ -28,7 +28,7 @@
|
|
|
</el-form>
|
|
|
<div class="symptomList">
|
|
|
<div class="screenIndex clearfix">
|
|
|
- <p class="assayTitle">化验子项添加</p>
|
|
|
+ <p class="assayTitle">辅检子项添加</p>
|
|
|
<label class="screenIndexLabel">添加:</label>
|
|
|
<input class="searchInput" @focus="focuInput" type="text" v-model = "searchIndexVal">
|
|
|
<span class="searchName" @click="searchIndex">搜索</span>
|
|
@@ -69,6 +69,7 @@
|
|
|
|
|
|
<script>
|
|
|
import api from '@api/icss.js';
|
|
|
+ import apis from '@api/medicalTerm.js';
|
|
|
export default {
|
|
|
name: 'AddAssistCheckSon',
|
|
|
data() {
|
|
@@ -113,7 +114,8 @@
|
|
|
"name": this.searchConcept,
|
|
|
"relationId": 18,
|
|
|
"relationPosition": 1,
|
|
|
- "typeId": 12
|
|
|
+ "relationTypeId": 16,
|
|
|
+ "typeId": 16
|
|
|
}
|
|
|
api.getConceptInfoAssay(param).then((res)=>{
|
|
|
if(res.data.code === '0') {
|
|
@@ -139,13 +141,13 @@
|
|
|
return selectedTags
|
|
|
},
|
|
|
searchIndex() {
|
|
|
- const notIds = this.selectedTags();
|
|
|
+ const notIds =[this.form.conceptId ,...this.selectedTags()];
|
|
|
const param = {
|
|
|
"name": this.searchIndexVal,
|
|
|
"relationId": 18,
|
|
|
- "relationPosition": 2,
|
|
|
- "typeId": 13,
|
|
|
- "relationConceptId":this.form.conceptId,
|
|
|
+ "relationPosition": 0,
|
|
|
+ "typeId": 16,
|
|
|
+ // "relationConceptId":this.form.conceptId,
|
|
|
"excludedConceptIds":notIds
|
|
|
}
|
|
|
|
|
@@ -189,13 +191,13 @@
|
|
|
}
|
|
|
this.showConfirmDialog('是否建立该关联?', () => {
|
|
|
this.saveDisable = true //提交保存按钮不可点击,返回结果时才可点击,防止频繁发送请求
|
|
|
- api.addAssaySon(param).then((res) => {
|
|
|
+ apis.assistCheckPacsAddPacsRelation(param).then((res) => {
|
|
|
if (res.data.code === '0') {
|
|
|
this.warning(res.data.msg || '关联成功', 'success','1000')
|
|
|
setTimeout(() => {
|
|
|
//返回带搜索条件的首页
|
|
|
this.$router.push({
|
|
|
- name:'AssaySon',
|
|
|
+ name:'AssistCheckSon',
|
|
|
params: Object.assign({}, this.$route.params, {currentPage: 1})
|
|
|
})
|
|
|
}, 1000);
|