This commit is contained in:
2024-04-15 15:23:25 +08:00
parent efd2a1d3fa
commit 21d426b1e5
5 changed files with 152 additions and 25 deletions

View File

@ -0,0 +1,10 @@
import request from '@/utils/request'
// 列表
export function satisfactionSurvey(query) {
return request({
url: '/system/patientQuestionSubmitResult/satisfactionSurvey',
method: 'get',
params: query
})
}

View File

@ -275,13 +275,8 @@ export default {
res.data.birthDate ? res.data.age = getAge(res.data.birthDate) : ''
this.list = res.data
})
getRouteNodeList({ patientId: this.$route.query.patientId, taskCreateType: 'MANUAL_CREATE' }).then(res => {
getRouteNodeList({ patientId: this.$route.query.patientId, taskCreateType: 'MANUAL_CREATE', routeCheckStatus: "UNAUDITED" }).then(res => {
this.nodelist = res.data
this.nodelist.forEach(e => {
let text
e.suitRange == 'IN_THE_HOSPITAL' ? text = '在院' : e.suitRange == 'DISCHARGE' ? text = '出院' : e.suitRange == 'OUTPATIENT_SERVICE' ? text = '门诊' : e.suitRange == 'OUTPATIENT_SERVICE_DISCHARGE' ? text = '门诊+出院' : text = ""
e.title = '任务名称:' + e.routeName + +'适用范围:' + text
})
})
},
cancel() {

View File

@ -274,13 +274,8 @@ export default {
res.data.birthDate ? res.data.age = getAge(res.data.birthDate) : ''
this.list = res.data
})
getRouteNodeList({ patientId: this.$route.query.patientId, taskCreateType: 'MANUAL_CREATE' }).then(res => {
getRouteNodeList({ patientId: this.$route.query.patientId, taskCreateType: 'MANUAL_CREATE', routeCheckStatus: this.$route.query.routeCheckStatus }).then(res => {
this.nodelist = res.data
this.nodelist.forEach(e => {
let text
e.suitRange == 'IN_THE_HOSPITAL' ? text = '在院' : e.suitRange == 'DISCHARGE' ? text = '出院' : e.suitRange == 'OUTPATIENT_SERVICE' ? text = '门诊' : e.suitRange == 'OUTPATIENT_SERVICE_DISCHARGE' ? text = '门诊+出院' : text = ""
e.title = '任务名称:' + e.routeName + +'适用范围:' + text
})
})
},
cancel() {

View File

@ -1,7 +1,7 @@
<template>
<div class="app-container">
<el-tabs v-model="queryParams.routeCheckStatustwo" @tab-click="handleClick">
<el-tab-pane label="未审核" name="routeCheckStatustwo"></el-tab-pane>
<el-tabs v-model="queryParams.routeCheckStatus" @tab-click="handleClick">
<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>
@ -103,9 +103,9 @@
<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.routeCheckStatustwo == 'routeCheckStatustwo'">审核</el-button>
v-if="queryParams.routeCheckStatus == 'UNAUDITED'">审核</el-button>
<el-button size="mini" type="text" @click="handleLook(scope.row)"
v-if="queryParams.routeCheckStatustwo != 'routeCheckStatustwo'">查看</el-button>
v-if="queryParams.routeCheckStatus != 'UNAUDITED'">查看</el-button>
</template>
</el-table-column>
</el-table>
@ -158,8 +158,7 @@ export default {
dischargeTimeEnd: null,
dischargeMethod: null,
patientSource: null,
routeCheckStatus: '',
routeCheckStatustwo: 'routeCheckStatustwo',
routeCheckStatus: 'UNAUDITED',
},
dischargeTime: [],
admissionTime: [],
@ -186,13 +185,6 @@ export default {
this.queryParams.admissionTimeStart = null
this.queryParams.admissionTimeEnd = null
this.queryParams.pageNum = 1
if (tab.index == '0') {
this.queryParams.routeCheckStatus = ''
} else if (tab.index == '1') {
this.queryParams.routeCheckStatus = 'AGREE'
} else if (tab.index == '2') {
this.queryParams.routeCheckStatus = 'DISAGREE'
}
this.getList();
},
//
@ -210,6 +202,7 @@ export default {
path: "/task/LookAuditing",
query: {
patientId: row.patientId,
routeCheckStatus: this.queryParams.routeCheckStatus,
},
});
},

View File

@ -0,0 +1,134 @@
<template>
<div class="app-container">
<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-form-item>
<el-form-item label="患者电话" prop="patientPhone">
<el-input v-model="queryParams.patientPhone" placeholder="请输入患者电话" clearable
@keyup.enter.native="handleQuery" style="width:200px" />
</el-form-item>
<el-form-item label="身份证号" prop="cardNo">
<el-input v-model="queryParams.cardNo" placeholder="请输入身份证号" clearable @keyup.enter.native="handleQuery"
style="width:200px" />
</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-form-item>
</el-form>
<el-table v-loading="loading" :data="patientInfoList">
<el-table-column label="序号" type="index" width="55" align="center" />
<el-table-column label="患者姓名" align="center" prop="patientName" />
<el-table-column label="患者电话" align="center" prop="patientPhone" width='120' />
<el-table-column label="家属电话" align="center" prop="familyMemberPhone" width='120' />
<el-table-column label="出生日期" align="center" prop="birthDate" width='130' />
<el-table-column label="身份证号" align="center" prop="cardNo" width='130' />
<el-table-column label="性别" align="center" prop="sex">
<template slot-scope="scope">
{{ scope.row.sex == 'MALE' ? '男' : '' }}
{{ scope.row.sex == 'FEMALE' ? '女' : '' }}
</template>
</el-table-column>
<el-table-column label="年龄" align="center" prop="age" />
<el-table-column label="住址" align="center" prop="address" />
<el-table-column label="患者类型" align="center" prop="visitDate" width='130'>
<template slot-scope="scope">
<dict-tag :options="dict.type.patient_type" :value="scope.row.patientType" />
</template>
</el-table-column>
<el-table-column label="签约状态" align="center" prop="signStatus" width='130'>
<template slot-scope="scope">
<dict-tag :options="dict.type.sign_status" :value="scope.row.signStatus" />
</template>
</el-table-column>
<el-table-column label="服务状态" align="center" prop="serviceStatus" width='130'>
<template slot-scope="scope">
{{ scope.row.serviceStatus == 'INTENTIONAL_SIGNING' ? '意向签约' : '' }}
{{ scope.row.serviceStatus == 'SERVICE_CENTER' ? '服务中' : '' }}
{{ scope.row.serviceStatus == 'SERVICE_END' ? '服务结束' : '' }}
</template>
</el-table-column>
<el-table-column label="签约时间" align="center" prop="signTime" width='130'>
<template slot-scope="scope">
<span>{{ parseTime(scope.row.signTime, '{y}-{m}-{d}') }}</span>
</template>
</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" />
</template>
</el-table-column>
<el-table-column label="主治医生" align="center" prop="attendingPhysicianName" />
<el-table-column label="诊断" align="center" prop="mainDiagnosis" />
<el-table-column label="医院" align="center" prop="hospitalAgencyName" 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="wardName" width='130' />
<el-table-column label="患者健康状况" align="center" prop="patientSource">
<template slot-scope="scope">
{{ scope.row.serviceStatus == 'ABNORMAL' ? '异常' : '' }}
{{ scope.row.serviceStatus == 'GOOD' ? '良好' : '' }}
{{ scope.row.serviceStatus == 'BLACKLIST' ? '黑名单' : '' }}
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" />
</div>
</template>
<script>
import { satisfactionSurvey } from "@/api/system/satisfactionSurvey";
import { getAge } from "@/utils/age";
export default {
name: "satisfactionSurvey",
dicts: ['visit_method', 'patient_source', 'patient_type', 'sign_status'],
data() {
return {
//
loading: true,
//
total: 0,
//
patientInfoList: [],
//
queryParams: {
pageNum: 1,
pageSize: 10,
patientName: null,
patientPhone: null,
cardNo: null,
},
};
},
created() {
this.getList();
},
methods: {
/** 查询信息列表 */
getList() {
this.loading = true;
this.queryParams.params = {};
satisfactionSurvey(this.queryParams).then(response => {
response.data.forEach(e => {
e.birthDate ? e.age = getAge(e.birthDate) : ''
})
this.patientInfoList = response.data;
this.total = response.total;
this.loading = false;
});
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
}
};
</script>