|
@@ -182,7 +182,7 @@
|
|
|
@input="inputAge"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="科室:" v-if="dioType" class="marT">
|
|
|
+ <!--<el-form-item label="科室:" v-if="dioType" class="marT">
|
|
|
<el-select v-model="dept">
|
|
|
<el-option v-for="(it,i) in deptList" :label="it.name" :value="it.name"></el-option>
|
|
|
</el-select>
|
|
@@ -191,7 +191,7 @@
|
|
|
<el-select v-model="dioType">
|
|
|
<el-option v-for="(it,i) in dioTypeList" :label="it.name" :value="it.val"></el-option>
|
|
|
</el-select>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item>-->
|
|
|
</el-form>
|
|
|
</div>
|
|
|
<div class="btn">
|
|
@@ -346,12 +346,12 @@ import pinyin from '../../js/Convert_Pinyin.js';
|
|
|
this.maxAge = result.data.maxAge;
|
|
|
this.minAge = result.data.minAge;
|
|
|
const type = result.data.type;
|
|
|
- if(type == '诊断'){
|
|
|
+ /*if(type == '诊断'){
|
|
|
this.dioType = result.data.classify; //类型
|
|
|
const deptConptId = result.data.deptId;
|
|
|
this.getDioType(true);
|
|
|
this.getDdeptList(deptConptId);
|
|
|
- }
|
|
|
+ }*/
|
|
|
// this.sexType = result.data.sexType;
|
|
|
let sexType = result.data.sexType;
|
|
|
this.sex.map((v,i)=>{
|
|
@@ -596,8 +596,17 @@ import pinyin from '../../js/Convert_Pinyin.js';
|
|
|
sexCode = v.value;
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
- if(this.dioType){
|
|
|
+
|
|
|
+ params = {
|
|
|
+ 'name':this.data.name,
|
|
|
+ 'type':this.data.type,
|
|
|
+ 'detailList':detailList,
|
|
|
+ 'conceptId':this.copy?'':this.id,//复制当新增,把id置空
|
|
|
+ 'sexType':sexCode,
|
|
|
+ 'maxAge':this.maxAge,
|
|
|
+ 'minAge':this.minAge
|
|
|
+ }
|
|
|
+ /*if(this.dioType){
|
|
|
const deptList = this.deptList;
|
|
|
let conptId = null;
|
|
|
for(let i in deptList){
|
|
@@ -628,7 +637,7 @@ import pinyin from '../../js/Convert_Pinyin.js';
|
|
|
'maxAge':this.maxAge,
|
|
|
'minAge':this.minAge
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
}else{
|
|
|
params = {
|
|
@@ -667,13 +676,13 @@ import pinyin from '../../js/Convert_Pinyin.js';
|
|
|
this.showMore = v.isHasCommon;
|
|
|
}
|
|
|
})
|
|
|
- if(e == '诊断'){
|
|
|
+ /*if(e == '诊断'){
|
|
|
this.getDioType();
|
|
|
this.getDdeptList();
|
|
|
}else{
|
|
|
this.dioType = '';
|
|
|
this.dept = '';
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -813,7 +822,7 @@ import pinyin from '../../js/Convert_Pinyin.js';
|
|
|
margin: 0 35px;
|
|
|
}
|
|
|
}
|
|
|
- /deep/ .marT{
|
|
|
+ /*/deep/ .marT{
|
|
|
margin-top: 20px;
|
|
|
- }
|
|
|
+ }*/
|
|
|
</style>
|