|
@@ -261,7 +261,7 @@
|
|
|
<p>更多信息:</p>
|
|
|
<el-form label-width="150px">
|
|
|
<el-form-item label="性别:">
|
|
|
- <el-select v-model.number="sexType">
|
|
|
+ <el-select v-model="sexType">
|
|
|
<el-option
|
|
|
v-for="(it, i) in sex"
|
|
|
:key="i"
|
|
@@ -402,6 +402,20 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="药品级别:"
|
|
|
+ v-if="data.type == '药品通用名'"
|
|
|
+ class="marT is-required"
|
|
|
+ >
|
|
|
+ <el-select v-model="klDrugVO.drugGrade">
|
|
|
+ <el-option
|
|
|
+ v-for="item in drugGradeList"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item
|
|
|
label="药品分类:"
|
|
|
v-if="data.type == '药品通用名'"
|
|
@@ -415,6 +429,7 @@
|
|
|
title="请输入"
|
|
|
></div-editable>
|
|
|
</el-form-item>
|
|
|
+
|
|
|
<el-form-item
|
|
|
label="危急标识:"
|
|
|
v-if="
|
|
@@ -806,6 +821,33 @@
|
|
|
<el-radio :label="0">否</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
+
|
|
|
+ <el-form-item
|
|
|
+ v-if="data.type == '疾病' && klDiseaseVO.isInfect === 1"
|
|
|
+ label="传染病分类:"
|
|
|
+ prop="description"
|
|
|
+ class="marT"
|
|
|
+ >
|
|
|
+ <div-editable
|
|
|
+ v-if="hackReset"
|
|
|
+ v-model="klDiseaseVO.infectClassification"
|
|
|
+ :Maincontent="'infectClassification'"
|
|
|
+ title="请输入"
|
|
|
+ ></div-editable>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ v-if="data.type == '疾病' && klDiseaseVO.isInfect === 1"
|
|
|
+ label="传染病上报时限:"
|
|
|
+ prop="description"
|
|
|
+ class="marT"
|
|
|
+ >
|
|
|
+ <div-editable
|
|
|
+ v-if="hackReset"
|
|
|
+ v-model="klDiseaseVO.infectDeadline"
|
|
|
+ :Maincontent="'infectDeadline'"
|
|
|
+ title="请输入"
|
|
|
+ ></div-editable>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item
|
|
|
label="疾病就诊科室:"
|
|
|
v-if="data.type == '疾病'"
|
|
@@ -1291,7 +1333,10 @@
|
|
|
</el-form>
|
|
|
</div>
|
|
|
<div class="btn">
|
|
|
- <el-button type="primary" :disabled="saveDisable" @click="comfirn"
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ :disabled="saveDisable"
|
|
|
+ @click="handleConfirm"
|
|
|
>确 定</el-button
|
|
|
>
|
|
|
</div>
|
|
@@ -1313,6 +1358,12 @@ export default {
|
|
|
radio: 1,
|
|
|
minTitle: "基础术语维护-添加",
|
|
|
hackReset: true,
|
|
|
+ drugGradeList: [
|
|
|
+ //药品级别相关数据
|
|
|
+ { label: "非限制使用级", value: 0 },
|
|
|
+ { label: "限制使用级", value: 1 },
|
|
|
+ { label: "特殊使用级", value: 2 },
|
|
|
+ ],
|
|
|
data: {
|
|
|
libName: "",
|
|
|
type: "",
|
|
@@ -1326,6 +1377,7 @@ export default {
|
|
|
klDrugVO: {
|
|
|
drug: "",
|
|
|
drugC: "",
|
|
|
+ drugGrade: "", //药品级别
|
|
|
},
|
|
|
klOperationVO: {
|
|
|
conceptId: null,
|
|
@@ -1415,6 +1467,8 @@ export default {
|
|
|
deptList: [], //科室列表
|
|
|
partList: [], //部位列表
|
|
|
systemTypeList: [], //疾病系统分类列表
|
|
|
+ infectClassification: "", //传染病分类
|
|
|
+ infectDeadline: "", //传染病上报时限
|
|
|
},
|
|
|
klTcmDiseaseVO: {
|
|
|
code: "",
|
|
@@ -1454,7 +1508,7 @@ export default {
|
|
|
currentPage: 1,
|
|
|
pageSize: 10,
|
|
|
tmpSynonymous: [],
|
|
|
- sexType: 3, //默认为"通用"
|
|
|
+ sexType: 3,
|
|
|
maxAge: 200,
|
|
|
minAge: 0,
|
|
|
maxValue: null,
|
|
@@ -1652,9 +1706,11 @@ export default {
|
|
|
this.klOperationVO = redata.klOperationDTO
|
|
|
? redata.klOperationDTO
|
|
|
: this.klOperationVO;
|
|
|
+
|
|
|
this.klVitalResultVO = redata.klVitalResultDTO
|
|
|
? redata.klVitalResultDTO
|
|
|
: this.klVitalResultVO;
|
|
|
+
|
|
|
this.klPacsVO = redata.klPacsDTO
|
|
|
? redata.klPacsDTO
|
|
|
: this.klPacsVO;
|
|
@@ -1688,18 +1744,18 @@ export default {
|
|
|
this.explains = redata.explains;
|
|
|
this.drug = redata.drug;
|
|
|
this.drugC = redata.drugC;
|
|
|
- this.sexType = redata.sexType;
|
|
|
// console.log("redata.drugC:", redata.drugC);
|
|
|
- // console.log("sexType:", redata.sexType);
|
|
|
+ // console.log("sexType:", result.data.sexType);
|
|
|
+ this.sexType = result.data.sexType;
|
|
|
if (type == "诊断") {
|
|
|
this.dioType = redata.classify || "Ⅰ"; //类型,默认展示Ⅰ类
|
|
|
const deptConptId = redata.deptId;
|
|
|
this.getDioType(true);
|
|
|
this.getDdeptList(deptConptId);
|
|
|
}
|
|
|
+
|
|
|
// this.sexType = result.data.sexType;
|
|
|
- // console.log("sexType", redata.sexType);
|
|
|
- // this.sexType = redata.sexType;
|
|
|
+ // let sexType = redata.sexType;
|
|
|
// this.sex.map((v, i) => {
|
|
|
// if (v.value == sexType) {
|
|
|
// this.sexType = v.name;
|
|
@@ -1920,8 +1976,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 保存基础术语
|
|
|
- comfirn(flg) {
|
|
|
- console.log(this.synonymous);
|
|
|
+ handleConfirm(flg) {
|
|
|
+ // console.log(this.synonymous);
|
|
|
if (!this.data.libName) {
|
|
|
this.warning("请输入医学标准术语名称");
|
|
|
return;
|
|
@@ -2051,12 +2107,8 @@ export default {
|
|
|
// return;
|
|
|
// }
|
|
|
let params;
|
|
|
- const sexCode = this.sexType;
|
|
|
- // this.sex.map((v, i) => {
|
|
|
- // if (v.name == this.sexType) {
|
|
|
- // sexCode = v.value;
|
|
|
- // }
|
|
|
- // });
|
|
|
+ let sexCode = this.sexType;
|
|
|
+
|
|
|
params =
|
|
|
this.data.libType == 106
|
|
|
? {
|
|
@@ -2166,7 +2218,7 @@ export default {
|
|
|
maxAge: this.maxAge,
|
|
|
minAge: this.minAge,
|
|
|
};
|
|
|
- console.log(params);
|
|
|
+ // console.log(params);
|
|
|
// return false
|
|
|
this.saveDisable = true; //提交保存按钮不可点击,返回结果时才可点击,防止频繁发送请求
|
|
|
api.saveBaseConceptInfo(params).then((res) => {
|
|
@@ -2196,7 +2248,7 @@ export default {
|
|
|
selectType(e) {
|
|
|
this.typeList.map((v, i) => {
|
|
|
if (v.name == e) {
|
|
|
- console.log(v.code);
|
|
|
+ // console.log(v.code);
|
|
|
this.showMore = v.isHasCommon;
|
|
|
this.data.libType = v.code;
|
|
|
this.data.isHasCommon = v.isHasCommon;
|