|
@@ -185,7 +185,7 @@
|
|
</table>
|
|
</table>
|
|
<div class="moreInfo" v-if="showMore==1">
|
|
<div class="moreInfo" v-if="showMore==1">
|
|
<p>更多信息:</p>
|
|
<p>更多信息:</p>
|
|
- <el-form>
|
|
|
|
|
|
+ <el-form label-width="150px">
|
|
<el-form-item label="性别:">
|
|
<el-form-item label="性别:">
|
|
<el-select v-model="sexType">
|
|
<el-select v-model="sexType">
|
|
<el-option v-for="(it,i) in sex" :label="it.name" :value="it.name"></el-option>
|
|
<el-option v-for="(it,i) in sex" :label="it.name" :value="it.name"></el-option>
|
|
@@ -224,6 +224,26 @@
|
|
<el-option v-for="(it,i) in dioTypeList" :label="it.name" :value="it.val"></el-option>
|
|
<el-option v-for="(it,i) in dioTypeList" :label="it.name" :value="it.val"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ v-if="data.type=='症状'"
|
|
|
|
+ label="填写单患者界面展示通俗内容:"
|
|
|
|
+ prop="description"
|
|
|
|
+ class="marT description"
|
|
|
|
+ >
|
|
|
|
+ <span class="necess">*</span>
|
|
|
|
+ <el-input
|
|
|
|
+ v-model.trim="description"
|
|
|
|
+ placeholder="请输入填写单患者界面展示通俗内容"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ v-if="data.type=='症状'"
|
|
|
|
+ label="医学教育说明:"
|
|
|
|
+ prop="explains"
|
|
|
|
+ class="marT"
|
|
|
|
+ >
|
|
|
|
+ <el-input type="textarea" v-model.trim="explains" maxLength ='100' style="width: 500px;"></el-input>
|
|
|
|
+ </el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
<div class="btn">
|
|
<div class="btn">
|
|
@@ -295,7 +315,9 @@ import SimilarListDrag from './SimilarListDrag'
|
|
dept:'', //默认展示全科
|
|
dept:'', //默认展示全科
|
|
similarList: [], //相似词列表
|
|
similarList: [], //相似词列表
|
|
searchIndex: -1, //展示哪个的同义词
|
|
searchIndex: -1, //展示哪个的同义词
|
|
- searchType: ''
|
|
|
|
|
|
+ searchType: '',
|
|
|
|
+ description:'',
|
|
|
|
+ explains:''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created(){
|
|
created(){
|
|
@@ -412,7 +434,10 @@ import SimilarListDrag from './SimilarListDrag'
|
|
this.showMore = result.data.isHasCommon;
|
|
this.showMore = result.data.isHasCommon;
|
|
this.maxAge = result.data.maxAge;
|
|
this.maxAge = result.data.maxAge;
|
|
this.minAge = result.data.minAge;
|
|
this.minAge = result.data.minAge;
|
|
|
|
+ this.description = result.data.description;
|
|
|
|
+ this.explains = result.data.explains;
|
|
const type = result.data.type;
|
|
const type = result.data.type;
|
|
|
|
+
|
|
if(type == '诊断'){
|
|
if(type == '诊断'){
|
|
this.dioType = result.data.classify || "Ⅰ"; //类型,默认展示Ⅰ类
|
|
this.dioType = result.data.classify || "Ⅰ"; //类型,默认展示Ⅰ类
|
|
const deptConptId = result.data.deptId;
|
|
const deptConptId = result.data.deptId;
|
|
@@ -676,6 +701,10 @@ import SimilarListDrag from './SimilarListDrag'
|
|
break
|
|
break
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(this.data.type == '症状' && !this.description){
|
|
|
|
+ this.warning('请输入填写单患者界面展示通俗内容');
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
|
|
let params;
|
|
let params;
|
|
if(this.showMore==1){
|
|
if(this.showMore==1){
|
|
@@ -716,7 +745,11 @@ import SimilarListDrag from './SimilarListDrag'
|
|
'conceptId':this.copy?'':this.id,//复制当新增,把id置空
|
|
'conceptId':this.copy?'':this.id,//复制当新增,把id置空
|
|
'sexType':sexCode,
|
|
'sexType':sexCode,
|
|
'maxAge':this.maxAge,
|
|
'maxAge':this.maxAge,
|
|
- 'minAge':this.minAge
|
|
|
|
|
|
+ 'minAge':this.minAge,
|
|
|
|
+ 'symptomExtVO': {
|
|
|
|
+ 'description': this.description,
|
|
|
|
+ 'explains': this.explains
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -917,4 +950,19 @@ import SimilarListDrag from './SimilarListDrag'
|
|
/deep/ .marT{
|
|
/deep/ .marT{
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
+ /deep/.description{
|
|
|
|
+ position: relative;
|
|
|
|
+ .necess{
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: -158px;
|
|
|
|
+ z-index: 2;
|
|
|
|
+ }
|
|
|
|
+ .el-input__inner {
|
|
|
|
+ width: 200px;
|
|
|
|
+ height: 40px;
|
|
|
|
+ line-height: 40px;
|
|
|
|
+ // text-align: center;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
</style>
|
|
</style>
|