修改
This commit is contained in:
parent
5575120226
commit
35ba5476d9
@ -42,3 +42,12 @@ export function delSpecialDiseaseRoute(id) {
|
||||
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-select>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="主治医生" prop="attendingPhysician">
|
||||
<el-input v-model="queryParams.attendingPhysician" placeholder="请输入主治医生" clearable style="width:200px"
|
||||
@keyup.enter.native="handleQuery" />
|
||||
<el-form-item label="主治医生" prop="attendingPhysicianId" v-if="queryParams.hospitalAgencyId">
|
||||
<el-select v-model="queryParams.attendingPhysicianId" style="width:200px" filterable placeholder="请选择主治医生"
|
||||
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 label="手术名称" prop="surgicalName">
|
||||
<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 -->
|
||||
<el-form-item label="患者来源" prop="patientSource">
|
||||
<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-form-item>
|
||||
<el-form-item label="就诊方式" prop="visitMethod">
|
||||
@ -113,9 +118,9 @@
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<!-- <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">
|
||||
<span>{{ parseTime(scope.row.visitTime, '{y}-{m}-{d}') }}</span>
|
||||
<span>{{ parseTime(scope.row.visitDate, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<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="departmentName" 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="outpatientNumber" width='130' />
|
||||
<el-table-column label="主治医生" align="center" prop="attendingPhysician" />
|
||||
<el-table-column label="手术名称" align="center" prop="surgicalName" />
|
||||
<el-table-column label="住院/门诊号" align="center" prop="inHospitalNumber" width='130' />
|
||||
<el-table-column label="主治医生" align="center" prop="attendingPhysicianName" />
|
||||
<el-table-column label="就诊方式" align="center" prop="visitMethod">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.visit_method" :value="scope.row.visitMethod" />
|
||||
@ -159,12 +162,14 @@
|
||||
import { listPatientInfo } from "@/api/manage/patientInfo";
|
||||
import { getAge } from "@/utils/age";
|
||||
import { selectAgencyList, getDepartmentList, subordinateAgencyList } from "@/api/manage/selectAgencyList";
|
||||
import { usergetList } from "@/api/unitconfig/patientConfiguration";
|
||||
|
||||
export default {
|
||||
name: "PatientInfo",
|
||||
dicts: ['patient_type', 'visit_method', 'sign_status', 'patient_source'],
|
||||
data() {
|
||||
return {
|
||||
attendingPhysicianlist: [],
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 总条数
|
||||
@ -181,7 +186,7 @@ export default {
|
||||
patientType: null,
|
||||
visitMethod: null,
|
||||
mainDiagnosis: null,
|
||||
attendingPhysician: null,
|
||||
attendingPhysicianId: null,
|
||||
hospitalAgencyId: null,
|
||||
hospitalAgencyName: null,
|
||||
campusAgencyId: null,
|
||||
@ -216,6 +221,15 @@ export default {
|
||||
this.selectAgencyinfo();
|
||||
},
|
||||
methods: {
|
||||
//主治医生
|
||||
usergetListinfo() {
|
||||
usergetList({
|
||||
agencyId: this.queryParams.hospitalAgencyId,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
this.attendingPhysicianlist = res.data
|
||||
})
|
||||
},
|
||||
/** 详情操作 */
|
||||
handleAuthRole(row) {
|
||||
this.$router.push({
|
||||
@ -294,6 +308,7 @@ export default {
|
||||
this.queryParams.departmentId = null
|
||||
this.queryParams.wardId = null
|
||||
})
|
||||
this.usergetListinfo();
|
||||
},
|
||||
//选中院区获取科室
|
||||
changecampusAgency(id) {
|
||||
@ -323,6 +338,7 @@ export default {
|
||||
this.queryParams.campusAgencyId = null
|
||||
this.queryParams.departmentId = null
|
||||
this.queryParams.wardId = null
|
||||
this.queryParams.attendingPhysicianId = null
|
||||
},
|
||||
//清空院区
|
||||
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">
|
||||
<el-button size="mini" type="text">复制</el-button>
|
||||
<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)"
|
||||
v-hasPermi="['system:specialDiseaseRoute:remove']">删除</el-button>
|
||||
</template>
|
||||
@ -183,10 +183,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { listSpecialDiseaseRoute, getSpecialDiseaseRoute, delSpecialDiseaseRoute, addSpecialDiseaseRoute, updateSpecialDiseaseRoute } from "@/api/system/specialDiseaseRoute";
|
||||
import {
|
||||
selectDiseaseCount,
|
||||
} from "@/api/system/departmentDisease";
|
||||
listSpecialDiseaseRoute, getSpecialDiseaseRoute, delSpecialDiseaseRoute, addSpecialDiseaseRoute, updateSpecialDiseaseRoute,
|
||||
selectDiseaseCount
|
||||
} from "@/api/system/specialDiseaseRoute";
|
||||
export default {
|
||||
name: "SpecialDiseaseRoute",
|
||||
data() {
|
||||
@ -264,6 +264,9 @@ export default {
|
||||
this.loading = true;
|
||||
listSpecialDiseaseRoute(this.queryParams).then(response => {
|
||||
this.specialDiseaseRouteList = response.rows;
|
||||
this.specialDiseaseRouteList.push({
|
||||
id: 1
|
||||
})
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
@ -320,12 +323,15 @@ export default {
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
this.reset();
|
||||
const id = row.id || this.ids
|
||||
getSpecialDiseaseRoute(id).then(response => {
|
||||
this.form = response.data;
|
||||
this.open = true;
|
||||
this.title = "修改专病路径信息";
|
||||
// this.reset();
|
||||
// const id = row.id || this.ids
|
||||
// getSpecialDiseaseRoute(id).then(response => {
|
||||
// this.form = response.data;
|
||||
// this.open = true;
|
||||
// this.title = "修改专病路径信息";
|
||||
// });
|
||||
this.$router.push({
|
||||
path: "/specialdisease/editorialSpecialization",
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user