科室病种

This commit is contained in:
闫晓茹 2024-02-28 17:43:16 +08:00
parent 6a78d9fcd0
commit 1733738a9f
2 changed files with 12 additions and 31 deletions

View File

@ -421,7 +421,6 @@
placeholder="请选择"
style="width: 205px"
@change="changeparentDepartment"
>
<el-option
v-for="item in optionsparentDepartment"
@ -573,9 +572,7 @@ import {
import { agencyList, getAgencytype } from "@/api/system/agency";
import { getToken } from "@/utils/auth";
import { listSubdivision } from "@/api/system/subdivision";
import {
listCompare,
} from "@/api/system/compare";
import { listCompare } from "@/api/system/compare";
export default {
name: "Department",
data() {
@ -726,8 +723,8 @@ export default {
},
methods: {
changeparentDepartment(e) {
this.form.parentDepartmentId=e
console.log(e)
this.form.parentDepartmentId = e;
console.log(e);
},
/** 查询标准科室对照信息列表 */
infocompare() {
@ -771,13 +768,11 @@ console.log(e)
console.log(e, "78");
this.form.agencyId = e[e.length - 1];
const arr = this.$refs["cascader"].getCheckedNodes()[0].pathLabels;
this.form.agencyName=arr.slice(-1).join(',')
this.form.agencyName = arr.slice(-1).join(",");
console.log(this.form.agencyName);
},
changeagencyCategoryId(e) {
this.form.parentDepartmentId = e[e.length - 1];
},
@ -925,7 +920,7 @@ console.log(e)
const id = row.id || this.ids;
getDepartment(id).then((response) => {
this.form = response.data;
this.form.parentDepartmentName=response.data.parentDepartmentName
this.form.parentDepartmentName = response.data.parentDepartmentName;
this.open = true;
this.title = "修改科室信息";
});

View File

@ -179,21 +179,6 @@
align="center"
prop="diseaseTypeName"
/>
<!-- <el-table-column
label="病种代码"
align="center"
prop="diseaseTypeCode"
/> -->
<el-table-column
label="对应诊断信息"
align="center"
prop="diagnosisInfo"
/>
<!-- <el-table-column
label="病种概述"
align="center"
prop="diseaseTypeRemark"
/> -->
<el-table-column
label="操作"
align="center"
@ -230,7 +215,7 @@
/>
<!-- 添加或修改科室病种信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
<el-form
ref="form"
:model="form"
@ -285,19 +270,20 @@
</el-form-item> -->
<el-form-item label="对应诊断信息" prop="diagnosisInfo">
<el-input
style="width: 250px"
type="textarea"
style="width: 400px"
v-model="form.diagnosisInfo"
placeholder="请输入对应诊断信息"
/>
</el-form-item>
<el-button
<!-- <el-button
type="primary"
plain
@click="handleImport"
v-hasPermi="['system:person:importStationPerson']"
>导入</el-button
>
> -->
<!-- <el-form-item label="病种概述" prop="diseaseTypeRemark">
<el-input v-model="form.diseaseTypeRemark" placeholder="请输入病种概述" />
</el-form-item> -->