修改
This commit is contained in:
parent
6c904dc547
commit
913c3d7892
@ -1,39 +1,19 @@
|
||||
<template>
|
||||
<div class="app-container" ref="layout">
|
||||
<el-tabs
|
||||
v-model="queryParams.routeCheckStatus"
|
||||
@tab-click="handleClick"
|
||||
style="flex: 1"
|
||||
>
|
||||
<el-tabs v-model="queryParams.routeCheckStatus" @tab-click="handleClick" style="flex: 1">
|
||||
<el-tab-pane label="未审核" name="UNAUDITED"></el-tab-pane>
|
||||
<el-tab-pane label="已审核" name="AGREE"></el-tab-pane>
|
||||
<el-tab-pane label="已忽略" name="DISAGREE"></el-tab-pane>
|
||||
</el-tabs>
|
||||
<div ref="topform" class="form">
|
||||
<el-form
|
||||
:model="queryParams"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
label-width="80px"
|
||||
>
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="80px">
|
||||
<el-form-item label="患者姓名" prop="patientName">
|
||||
<el-input
|
||||
v-model="queryParams.patientName"
|
||||
placeholder="请输入患者姓名"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
style="width: 200px"
|
||||
/>
|
||||
<el-input v-model="queryParams.patientName" placeholder="请输入患者姓名" clearable @keyup.enter.native="handleQuery"
|
||||
style="width: 200px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="患者电话" prop="patientPhone">
|
||||
<el-input
|
||||
v-model="queryParams.patientPhone"
|
||||
placeholder="请输入患者电话"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
style="width: 200px"
|
||||
/>
|
||||
<el-input v-model="queryParams.patientPhone" placeholder="请输入患者电话" clearable @keyup.enter.native="handleQuery"
|
||||
style="width: 200px" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item
|
||||
label="出院/就诊时间"
|
||||
@ -52,160 +32,58 @@
|
||||
</el-date-picker>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="签约时间" prop="signTimeStart">
|
||||
<el-date-picker
|
||||
v-model="signTime"
|
||||
type="daterange"
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
style="width: 300px"
|
||||
value-format="yyyy-MM-dd"
|
||||
end-placeholder="结束日期"
|
||||
>
|
||||
<el-date-picker v-model="signTime" type="daterange" range-separator="至" start-placeholder="开始日期"
|
||||
style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="诊断" prop="mainDiagnosis">
|
||||
<el-input
|
||||
v-model="queryParams.mainDiagnosis"
|
||||
placeholder="请选择诊断"
|
||||
clearable
|
||||
style="width: 200px"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-input v-model="queryParams.mainDiagnosis" placeholder="请选择诊断" clearable style="width: 200px"
|
||||
@keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<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-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-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="医院" prop="hospitalAgencyId">
|
||||
<el-select
|
||||
v-model="queryParams.hospitalAgencyId"
|
||||
filterable
|
||||
placeholder="请选择医院"
|
||||
style="width: 200px"
|
||||
clearable
|
||||
@clear="clearhospitalAgency"
|
||||
@change="changehospitalAgency"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in hospitalAgencylist"
|
||||
:key="item.id"
|
||||
:label="item.agencyName"
|
||||
:value="item.id"
|
||||
>
|
||||
<el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width: 200px"
|
||||
clearable @clear="clearhospitalAgency" @change="changehospitalAgency">
|
||||
<el-option v-for="item in hospitalAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="院区"
|
||||
prop="campusAgencyId"
|
||||
v-if="queryParams.hospitalAgencyId"
|
||||
>
|
||||
<el-select
|
||||
v-model="queryParams.campusAgencyId"
|
||||
filterable
|
||||
placeholder="请选择院区"
|
||||
style="width: 200px"
|
||||
clearable
|
||||
@clear="clearcampusAgency"
|
||||
@change="changecampusAgency"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in campusAgencylist"
|
||||
:key="item.id"
|
||||
:label="item.agencyName"
|
||||
:value="item.id"
|
||||
>
|
||||
<el-form-item label="院区" prop="campusAgencyId" v-if="queryParams.hospitalAgencyId">
|
||||
<el-select v-model="queryParams.campusAgencyId" filterable placeholder="请选择院区" style="width: 200px" clearable
|
||||
@clear="clearcampusAgency" @change="changecampusAgency">
|
||||
<el-option v-for="item in campusAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="科室"
|
||||
prop="departmentId"
|
||||
v-if="queryParams.hospitalAgencyId"
|
||||
>
|
||||
<el-select
|
||||
v-model="queryParams.departmentId"
|
||||
filterable
|
||||
placeholder="请选择科室"
|
||||
style="width: 200px"
|
||||
clearable
|
||||
@clear="cleardepartment"
|
||||
@change="changedepartment"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in departmentlist"
|
||||
:key="item.id"
|
||||
:label="item.departmentName"
|
||||
:value="item.id"
|
||||
>
|
||||
<el-form-item label="科室" prop="departmentId" v-if="queryParams.hospitalAgencyId">
|
||||
<el-select v-model="queryParams.departmentId" filterable placeholder="请选择科室" style="width: 200px" clearable
|
||||
@clear="cleardepartment" @change="changedepartment">
|
||||
<el-option v-for="item in departmentlist" :key="item.id" :label="item.departmentName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="病区"
|
||||
prop="wardId"
|
||||
v-if="queryParams.hospitalAgencyId"
|
||||
>
|
||||
<el-select
|
||||
v-model="queryParams.wardId"
|
||||
filterable
|
||||
placeholder="请选择病区"
|
||||
style="width: 200px"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in wardlist"
|
||||
:key="item.id"
|
||||
:label="item.departmentName"
|
||||
:value="item.id"
|
||||
>
|
||||
<el-form-item label="病区" prop="wardId" v-if="queryParams.hospitalAgencyId">
|
||||
<el-select v-model="queryParams.wardId" filterable placeholder="请选择病区" style="width: 200px" clearable>
|
||||
<el-option v-for="item in wardlist" :key="item.id" :label="item.departmentName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-search"
|
||||
size="mini"
|
||||
@click="handleQuery"
|
||||
>搜索</el-button
|
||||
>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
||||
>重置</el-button
|
||||
>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<div ref="table">
|
||||
<el-table
|
||||
:max-height="maxTableHeight"
|
||||
v-loading="loading"
|
||||
:data="patientInfoList"
|
||||
>
|
||||
<el-table :max-height="maxTableHeight" v-loading="loading" :data="patientInfoList">
|
||||
<el-table-column label="序号" type="index" width="50" align="center" />
|
||||
<el-table-column
|
||||
label="患者姓名"
|
||||
align="center"
|
||||
prop="patientName"
|
||||
width="80"
|
||||
/>
|
||||
<el-table-column
|
||||
label="患者电话"
|
||||
align="center"
|
||||
prop="patientPhone"
|
||||
width="120"
|
||||
/>
|
||||
<el-table-column label="患者姓名" align="center" prop="patientName" width="80" />
|
||||
<el-table-column label="患者电话" align="center" prop="patientPhone" width="120" />
|
||||
<el-table-column label="性别" align="center" prop="sex" width="50">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.sex == "MALE" ? "男" : "" }}
|
||||
@ -213,38 +91,13 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="年龄" align="center" prop="age" width="50" />
|
||||
<el-table-column
|
||||
label="出生日期"
|
||||
align="center"
|
||||
prop="birthDate"
|
||||
width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
label="医院"
|
||||
align="center"
|
||||
prop="hospitalAgencyName"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="院区"
|
||||
align="center"
|
||||
prop="campusAgencyName"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="科室名称"
|
||||
align="center"
|
||||
prop="departmentName"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="出生日期" align="center" prop="birthDate" width="100" />
|
||||
<el-table-column label="医院" align="center" prop="hospitalAgencyName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="院区" align="center" prop="campusAgencyName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="科室名称" align="center" prop="departmentName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="病区名称" align="center" prop="wardName" />
|
||||
<el-table-column
|
||||
label="住院/门诊号"
|
||||
align="center"
|
||||
prop="inHospitalNumber"
|
||||
width="105"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="住院/门诊号" align="center" prop="inHospitalNumber" width="105"
|
||||
:show-overflow-tooltip="true" />
|
||||
<!-- <el-table-column label="就诊方式" align="center" prop="visitMethod" width="80"> -->
|
||||
<!-- <template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.patient_source" :value="scope.row.visitMethod" />
|
||||
@ -252,48 +105,24 @@
|
||||
<!-- </el-table-column> -->
|
||||
<el-table-column label="就诊方式" align="center" prop="visitMethod">
|
||||
<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" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="医生" align="center" prop="attendingPhysicianName" width="80" :show-overflow-tooltip="true"/> -->
|
||||
<el-table-column
|
||||
label="主要诊断"
|
||||
align="center"
|
||||
prop="signDiagnosis"
|
||||
:show-overflow-tooltip="true"
|
||||
width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
label="签约时间"
|
||||
align="center"
|
||||
prop="signTime"
|
||||
width="100"
|
||||
>
|
||||
<el-table-column label="主要诊断" align="center" prop="signDiagnosis" :show-overflow-tooltip="true" width="100" />
|
||||
<el-table-column label="签约时间" align="center" prop="signTime" width="100">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.signTime, "{y}-{m}-{d}") }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="画像审核状态"
|
||||
align="center"
|
||||
prop="portaitCheckStatus"
|
||||
width="100"
|
||||
>
|
||||
<el-table-column label="画像审核状态" align="center" prop="portaitCheckStatus" width="100">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.portaitCheckStatus == "AGREE" ? "审核通过" : "" }}
|
||||
{{ scope.row.portaitCheckStatus == "DISAGREE" ? "已忽略" : "" }}
|
||||
{{ scope.row.portaitCheckStatus == "" ? "未审核" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="路径审核状态"
|
||||
align="center"
|
||||
prop="routeCheckStatus"
|
||||
width="100"
|
||||
>
|
||||
<el-table-column label="路径审核状态" align="center" prop="routeCheckStatus" width="100">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.routeCheckStatus == "AGREE" ? "审核通过" : "" }}
|
||||
{{ scope.row.routeCheckStatus == "DISAGREE" ? "已忽略" : "" }}
|
||||
@ -301,38 +130,18 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
class-name="small-padding fixed-width"
|
||||
fixed="right"
|
||||
>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="handleAuthRole(scope.row)"
|
||||
v-if="queryParams.routeCheckStatus == 'UNAUDITED'"
|
||||
>审核</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="handleLook(scope.row)"
|
||||
v-if="queryParams.routeCheckStatus != 'UNAUDITED'"
|
||||
>查看</el-button
|
||||
>
|
||||
<el-button size="mini" type="text" @click="handleAuthRole(scope.row)"
|
||||
v-if="queryParams.routeCheckStatus == 'UNAUDITED'">审核</el-button>
|
||||
<el-button size="mini" type="text" @click="handleLook(scope.row)"
|
||||
v-if="queryParams.routeCheckStatus != 'UNAUDITED'">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<myPagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:pageSize="queryParams.pageSize"
|
||||
:indexFromWrap="queryParams.pageNum"
|
||||
@updateCPage="updateCPage"
|
||||
></myPagination>
|
||||
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
|
||||
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -405,6 +214,10 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if (localStorage.getItem('routeCheckStatus')) {
|
||||
this.queryParams.routeCheckStatus = localStorage.getItem('routeCheckStatus')
|
||||
localStorage.removeItem('routeCheckStatus')
|
||||
}
|
||||
this.getList();
|
||||
this.selectAgencyinfo();
|
||||
},
|
||||
@ -439,6 +252,7 @@ export default {
|
||||
},
|
||||
//查看操作
|
||||
handleLook(row) {
|
||||
localStorage.setItem('routeCheckStatus', this.queryParams.routeCheckStatus)
|
||||
this.$router.push({
|
||||
path: "/task/LookAuditing",
|
||||
query: {
|
||||
@ -450,12 +264,13 @@ export default {
|
||||
},
|
||||
/** 审核操作 */
|
||||
handleAuthRole(row) {
|
||||
localStorage.setItem('routeCheckStatus', this.queryParams.routeCheckStatus)
|
||||
this.$router.push({
|
||||
path: "/task/Auditing",
|
||||
query: {
|
||||
patientId: row.patientId,
|
||||
signRecordId: row.id,
|
||||
routeCheckStatus:row.routeCheckStatus
|
||||
routeCheckStatus: row.routeCheckStatus
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
@ -355,6 +355,10 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if (localStorage.getItem('serviceStatus')) {
|
||||
this.queryParams.serviceStatus = localStorage.getItem('serviceStatus')
|
||||
localStorage.removeItem('serviceStatus')
|
||||
}
|
||||
this.selectAgencyinfo();
|
||||
},
|
||||
mounted() {
|
||||
@ -477,18 +481,19 @@ export default {
|
||||
//手动创建任务
|
||||
addTask() {
|
||||
if (this.addTaskitem) {
|
||||
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.push({
|
||||
path: "/patient/ManuallyCreatingTasks",
|
||||
query: {
|
||||
signPatientRecordId: this.addTaskitem.id,
|
||||
patientId: this.addTaskitem.patientId,
|
||||
patientName: this.addTaskitem.patientName,
|
||||
departmentId: this.addTaskitem.departmentId,
|
||||
departmentName: this.addTaskitem.departmentName,
|
||||
},
|
||||
});
|
||||
})
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
// this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.push({
|
||||
path: "/patient/ManuallyCreatingTasks",
|
||||
query: {
|
||||
signPatientRecordId: this.addTaskitem.id,
|
||||
patientId: this.addTaskitem.patientId,
|
||||
patientName: this.addTaskitem.patientName,
|
||||
departmentId: this.addTaskitem.departmentId,
|
||||
departmentName: this.addTaskitem.departmentName,
|
||||
},
|
||||
});
|
||||
// })
|
||||
} else {
|
||||
this.$message.error('请先选择一名签约服务中患者');
|
||||
}
|
||||
@ -548,28 +553,29 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
handlenewsign(row) {
|
||||
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.replace({
|
||||
path: "/patient/newSigning",
|
||||
query: {
|
||||
departmentId: row.departmentId,
|
||||
patientName: row.patientName,
|
||||
patientPhone: row.patientPhone,
|
||||
visitMethod: row.visitMethod,
|
||||
signDiagnosis: row.signDiagnosis,
|
||||
visitSerialNumber: row.visitSerialNumber,
|
||||
hospitalAgencyName: row.hospitalAgencyName,
|
||||
hospitalAgencyId: row.hospitalAgencyId,
|
||||
inHospitalNumber: row.inHospitalNumber,
|
||||
departmentName: row.departmentName,
|
||||
paymentStatus: row.paymentStatus,
|
||||
sex: row.sex,
|
||||
age: row.birthDate ? getAge(row.birthDate) : '',
|
||||
patientId: row.patientId,
|
||||
createTime: row.createTime,
|
||||
},
|
||||
});
|
||||
})
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
// this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.replace({
|
||||
path: "/patient/newSigning",
|
||||
query: {
|
||||
departmentId: row.departmentId,
|
||||
patientName: row.patientName,
|
||||
patientPhone: row.patientPhone,
|
||||
visitMethod: row.visitMethod,
|
||||
signDiagnosis: row.signDiagnosis,
|
||||
visitSerialNumber: row.visitSerialNumber,
|
||||
hospitalAgencyName: row.hospitalAgencyName,
|
||||
hospitalAgencyId: row.hospitalAgencyId,
|
||||
inHospitalNumber: row.inHospitalNumber,
|
||||
departmentName: row.departmentName,
|
||||
paymentStatus: row.paymentStatus,
|
||||
sex: row.sex,
|
||||
age: row.birthDate ? getAge(row.birthDate) : '',
|
||||
patientId: row.patientId,
|
||||
createTime: row.createTime,
|
||||
},
|
||||
});
|
||||
// })
|
||||
},
|
||||
selectAgencyinfo() {
|
||||
let query = {
|
||||
@ -665,19 +671,21 @@ export default {
|
||||
},
|
||||
//续约
|
||||
handleContinue(row) {
|
||||
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.replace({
|
||||
path: "/patient/continueSigning",
|
||||
query: {
|
||||
hospitalAgencyId: row.hospitalAgencyId,
|
||||
hospitalAgencyName: row.hospitalAgencyName,
|
||||
patientSignRecordId: row.id,
|
||||
},
|
||||
});
|
||||
})
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
// this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.replace({
|
||||
path: "/patient/continueSigning",
|
||||
query: {
|
||||
hospitalAgencyId: row.hospitalAgencyId,
|
||||
hospitalAgencyName: row.hospitalAgencyName,
|
||||
patientSignRecordId: row.id,
|
||||
},
|
||||
});
|
||||
// })
|
||||
},
|
||||
/** 详情操作 */
|
||||
handleAuthRole(row) {
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
this.$router.push({
|
||||
path: "/patient/patientdetails",
|
||||
query: {
|
||||
@ -697,6 +705,7 @@ export default {
|
||||
},
|
||||
// 生成数据
|
||||
handledata(row) {
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
this.$router.push({
|
||||
path: "/patient/Datadetails",
|
||||
query: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user