修改
This commit is contained in:
parent
5575120226
commit
35ba5476d9
@ -42,3 +42,12 @@ export function delSpecialDiseaseRoute(id) {
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
//科室
|
||||||
|
export function selectDiseaseCount(departmentName) {
|
||||||
|
return request({
|
||||||
|
url: `/system/specialDiseaseRoute/departmentRouteCount?departmentName=${departmentName}`,
|
||||||
|
method: 'get',
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@ -60,9 +60,13 @@
|
|||||||
<el-option v-for="dict in dict.type.patient_type" :key="dict.value" :label="dict.label" :value="dict.value" />
|
<el-option v-for="dict in dict.type.patient_type" :key="dict.value" :label="dict.label" :value="dict.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<el-form-item label="主治医生" prop="attendingPhysician">
|
<el-form-item label="主治医生" prop="attendingPhysicianId" v-if="queryParams.hospitalAgencyId">
|
||||||
<el-input v-model="queryParams.attendingPhysician" placeholder="请输入主治医生" clearable style="width:200px"
|
<el-select v-model="queryParams.attendingPhysicianId" style="width:200px" filterable placeholder="请选择主治医生"
|
||||||
@keyup.enter.native="handleQuery" />
|
clearable>
|
||||||
|
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
||||||
|
:value="item.userId">
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="手术名称" prop="surgicalName">
|
<!-- <el-form-item label="手术名称" prop="surgicalName">
|
||||||
<el-input v-model="queryParams.surgicalName" placeholder="请输入手术名称" clearable @keyup.enter.native="handleQuery"
|
<el-input v-model="queryParams.surgicalName" placeholder="请输入手术名称" clearable @keyup.enter.native="handleQuery"
|
||||||
@ -71,7 +75,8 @@
|
|||||||
<!-- ,微信小程序:WE_CHAT_APPLET,微信公众号:WE_CHAT_OFFICIAL_ACCOUNT,管理端:MANAGE_END -->
|
<!-- ,微信小程序:WE_CHAT_APPLET,微信公众号:WE_CHAT_OFFICIAL_ACCOUNT,管理端:MANAGE_END -->
|
||||||
<el-form-item label="患者来源" prop="patientSource">
|
<el-form-item label="患者来源" prop="patientSource">
|
||||||
<el-select v-model="queryParams.patientSource" placeholder="请选择患者来源" clearable style="width:200px">
|
<el-select v-model="queryParams.patientSource" placeholder="请选择患者来源" clearable style="width:200px">
|
||||||
<el-option v-for="dict in dict.type.patient_source" :key="dict.value" :label="dict.label" :value="dict.value" />
|
<el-option v-for="dict in dict.type.patient_source" :key="dict.value" :label="dict.label"
|
||||||
|
:value="dict.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="就诊方式" prop="visitMethod">
|
<el-form-item label="就诊方式" prop="visitMethod">
|
||||||
@ -113,9 +118,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<!-- <el-table-column label="开证医生" align="center" prop="certificateIssuingDoctor" /> -->
|
<!-- <el-table-column label="开证医生" align="center" prop="certificateIssuingDoctor" /> -->
|
||||||
<el-table-column label="就诊时间" align="center" prop="visitTime" width='130'>
|
<el-table-column label="就诊时间" align="center" prop="visitDate" width='130'>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.visitTime, '{y}-{m}-{d}') }}</span>
|
<span>{{ parseTime(scope.row.visitDate, '{y}-{m}-{d}') }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="诊断" align="center" prop="mainDiagnosis" />
|
<el-table-column label="诊断" align="center" prop="mainDiagnosis" />
|
||||||
@ -124,10 +129,8 @@
|
|||||||
<el-table-column label="院区" align="center" prop="campusAgencyName" width='130' />
|
<el-table-column label="院区" align="center" prop="campusAgencyName" width='130' />
|
||||||
<el-table-column label="科室名称" align="center" prop="departmentName" width='130' />
|
<el-table-column label="科室名称" align="center" prop="departmentName" width='130' />
|
||||||
<el-table-column label="病区名称" align="center" prop="wardName" width='130' />
|
<el-table-column label="病区名称" align="center" prop="wardName" width='130' />
|
||||||
<el-table-column label="住院号" align="center" prop="admissionNumber" width='130' />
|
<el-table-column label="住院/门诊号" align="center" prop="inHospitalNumber" width='130' />
|
||||||
<el-table-column label="门诊号" align="center" prop="outpatientNumber" width='130' />
|
<el-table-column label="主治医生" align="center" prop="attendingPhysicianName" />
|
||||||
<el-table-column label="主治医生" align="center" prop="attendingPhysician" />
|
|
||||||
<el-table-column label="手术名称" align="center" prop="surgicalName" />
|
|
||||||
<el-table-column label="就诊方式" align="center" prop="visitMethod">
|
<el-table-column label="就诊方式" align="center" prop="visitMethod">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag :options="dict.type.visit_method" :value="scope.row.visitMethod" />
|
<dict-tag :options="dict.type.visit_method" :value="scope.row.visitMethod" />
|
||||||
@ -159,12 +162,14 @@
|
|||||||
import { listPatientInfo } from "@/api/manage/patientInfo";
|
import { listPatientInfo } from "@/api/manage/patientInfo";
|
||||||
import { getAge } from "@/utils/age";
|
import { getAge } from "@/utils/age";
|
||||||
import { selectAgencyList, getDepartmentList, subordinateAgencyList } from "@/api/manage/selectAgencyList";
|
import { selectAgencyList, getDepartmentList, subordinateAgencyList } from "@/api/manage/selectAgencyList";
|
||||||
|
import { usergetList } from "@/api/unitconfig/patientConfiguration";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "PatientInfo",
|
name: "PatientInfo",
|
||||||
dicts: ['patient_type', 'visit_method', 'sign_status', 'patient_source'],
|
dicts: ['patient_type', 'visit_method', 'sign_status', 'patient_source'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
attendingPhysicianlist: [],
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
// 总条数
|
// 总条数
|
||||||
@ -181,7 +186,7 @@ export default {
|
|||||||
patientType: null,
|
patientType: null,
|
||||||
visitMethod: null,
|
visitMethod: null,
|
||||||
mainDiagnosis: null,
|
mainDiagnosis: null,
|
||||||
attendingPhysician: null,
|
attendingPhysicianId: null,
|
||||||
hospitalAgencyId: null,
|
hospitalAgencyId: null,
|
||||||
hospitalAgencyName: null,
|
hospitalAgencyName: null,
|
||||||
campusAgencyId: null,
|
campusAgencyId: null,
|
||||||
@ -216,6 +221,15 @@ export default {
|
|||||||
this.selectAgencyinfo();
|
this.selectAgencyinfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//主治医生
|
||||||
|
usergetListinfo() {
|
||||||
|
usergetList({
|
||||||
|
agencyId: this.queryParams.hospitalAgencyId,
|
||||||
|
postName: 'DOCTOR'
|
||||||
|
}).then(res => {
|
||||||
|
this.attendingPhysicianlist = res.data
|
||||||
|
})
|
||||||
|
},
|
||||||
/** 详情操作 */
|
/** 详情操作 */
|
||||||
handleAuthRole(row) {
|
handleAuthRole(row) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
@ -294,6 +308,7 @@ export default {
|
|||||||
this.queryParams.departmentId = null
|
this.queryParams.departmentId = null
|
||||||
this.queryParams.wardId = null
|
this.queryParams.wardId = null
|
||||||
})
|
})
|
||||||
|
this.usergetListinfo();
|
||||||
},
|
},
|
||||||
//选中院区获取科室
|
//选中院区获取科室
|
||||||
changecampusAgency(id) {
|
changecampusAgency(id) {
|
||||||
@ -323,6 +338,7 @@ export default {
|
|||||||
this.queryParams.campusAgencyId = null
|
this.queryParams.campusAgencyId = null
|
||||||
this.queryParams.departmentId = null
|
this.queryParams.departmentId = null
|
||||||
this.queryParams.wardId = null
|
this.queryParams.wardId = null
|
||||||
|
this.queryParams.attendingPhysicianId = null
|
||||||
},
|
},
|
||||||
//清空院区
|
//清空院区
|
||||||
clearcampusAgency() {
|
clearcampusAgency() {
|
||||||
|
|||||||
54
src/views/system/editorialSpecialization/index.vue
Normal file
54
src/views/system/editorialSpecialization/index.vue
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
<el-form ref="form" :inline="true" :model="form" label-width="140px">
|
||||||
|
<el-form-item label="编辑专病管理路径">
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item style="float: right;">
|
||||||
|
<el-button>保存</el-button>
|
||||||
|
<el-button type="primary">发布</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<el-form ref="form" :inline="true" :model="form" label-width="80px">
|
||||||
|
<el-form-item label="活动名称">
|
||||||
|
<el-input v-model="form.name" style="width:160px"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="病种名称" required>
|
||||||
|
<div>
|
||||||
|
病种名称
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="版本号">
|
||||||
|
<el-input v-model="form.name" style="width:160px"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item style="float: right;">
|
||||||
|
<el-button type="primary" plain size="mini">AI生成触发条件</el-button>
|
||||||
|
<el-button type="primary" plain size="mini">人工添加主路径</el-button>
|
||||||
|
<el-button type="primary" plain size="mini">人工添加触发条件</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div>
|
||||||
|
<el-progress :text-inside="true" :stroke-width="26" :percentage="70"></el-progress>
|
||||||
|
<span>{{26 + '/' + 70 }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "editorialSpecialization",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
form: {
|
||||||
|
name: '',
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss"></style>
|
||||||
@ -122,7 +122,7 @@
|
|||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text">复制</el-button>
|
<el-button size="mini" type="text">复制</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['system:specialDiseaseRoute:edit']">修改</el-button>
|
v-hasPermi="['system:specialDiseaseRoute:edit']">编辑</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:specialDiseaseRoute:remove']">删除</el-button>
|
v-hasPermi="['system:specialDiseaseRoute:remove']">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -183,10 +183,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listSpecialDiseaseRoute, getSpecialDiseaseRoute, delSpecialDiseaseRoute, addSpecialDiseaseRoute, updateSpecialDiseaseRoute } from "@/api/system/specialDiseaseRoute";
|
|
||||||
import {
|
import {
|
||||||
selectDiseaseCount,
|
listSpecialDiseaseRoute, getSpecialDiseaseRoute, delSpecialDiseaseRoute, addSpecialDiseaseRoute, updateSpecialDiseaseRoute,
|
||||||
} from "@/api/system/departmentDisease";
|
selectDiseaseCount
|
||||||
|
} from "@/api/system/specialDiseaseRoute";
|
||||||
export default {
|
export default {
|
||||||
name: "SpecialDiseaseRoute",
|
name: "SpecialDiseaseRoute",
|
||||||
data() {
|
data() {
|
||||||
@ -264,6 +264,9 @@ export default {
|
|||||||
this.loading = true;
|
this.loading = true;
|
||||||
listSpecialDiseaseRoute(this.queryParams).then(response => {
|
listSpecialDiseaseRoute(this.queryParams).then(response => {
|
||||||
this.specialDiseaseRouteList = response.rows;
|
this.specialDiseaseRouteList = response.rows;
|
||||||
|
this.specialDiseaseRouteList.push({
|
||||||
|
id: 1
|
||||||
|
})
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
@ -320,12 +323,15 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.reset();
|
// this.reset();
|
||||||
const id = row.id || this.ids
|
// const id = row.id || this.ids
|
||||||
getSpecialDiseaseRoute(id).then(response => {
|
// getSpecialDiseaseRoute(id).then(response => {
|
||||||
this.form = response.data;
|
// this.form = response.data;
|
||||||
this.open = true;
|
// this.open = true;
|
||||||
this.title = "修改专病路径信息";
|
// this.title = "修改专病路径信息";
|
||||||
|
// });
|
||||||
|
this.$router.push({
|
||||||
|
path: "/specialdisease/editorialSpecialization",
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user