This commit is contained in:
2024-07-01 14:09:08 +08:00
parent ecc31679c9
commit ebb6511bd9

View File

@ -15,22 +15,6 @@
<el-input v-model="queryParams.patientPhone" placeholder="请输入患者电话" clearable @keyup.enter.native="handleQuery" <el-input v-model="queryParams.patientPhone" placeholder="请输入患者电话" clearable @keyup.enter.native="handleQuery"
style="width: 200px" /> style="width: 200px" />
</el-form-item> </el-form-item>
<!-- <el-form-item
label="出院/就诊时间"
prop="dischargeTimeStart"
label-width="120px"
>
<el-date-picker
v-model="dischargeTime"
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="signTimeStart"> <el-form-item label="签约时间" prop="signTimeStart">
<el-date-picker v-model="signTime" type="daterange" range-separator="" start-placeholder="开始日期" <el-date-picker v-model="signTime" type="daterange" range-separator="" start-placeholder="开始日期"
style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期"> style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
@ -98,17 +82,11 @@
<el-table-column label="病区名称" align="center" prop="wardName" /> <el-table-column label="病区名称" align="center" prop="wardName" />
<el-table-column label="住院/门诊号" align="center" prop="inHospitalNumber" width="105" <el-table-column label="住院/门诊号" align="center" prop="inHospitalNumber" width="105"
:show-overflow-tooltip="true" /> :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" />
</template> -->
<!-- </el-table-column> -->
<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" />
</template> </template>
</el-table-column> </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="signDiagnosis" :show-overflow-tooltip="true" width="100" />
<el-table-column label="签约时间" align="center" prop="signTime" width="100"> <el-table-column label="签约时间" align="center" prop="signTime" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
@ -129,7 +107,6 @@
{{ scope.row.routeCheckStatus == "" ? "未审核" : "" }} {{ scope.row.routeCheckStatus == "" ? "未审核" : "" }}
</template> </template>
</el-table-column> </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"> <template slot-scope="scope">
<el-button size="mini" type="text" @click="handleAuthRole(scope.row)" <el-button size="mini" type="text" @click="handleAuthRole(scope.row)"
@ -144,7 +121,6 @@
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination> :indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
<script> <script>
import { tasklist } from "@/api/manage/manualReview"; import { tasklist } from "@/api/manage/manualReview";
import { getAge } from "@/utils/age"; import { getAge } from "@/utils/age";
@ -168,7 +144,6 @@ export default {
// //
patientInfoList: [], patientInfoList: [],
signTime: [], signTime: [],
// //
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
@ -185,7 +160,6 @@ export default {
campusAgencyId: null, campusAgencyId: null,
signTimeStart: null, signTimeStart: null,
signTimeEnd: null, signTimeEnd: null,
campusAgencyName: null, campusAgencyName: null,
departmentId: null, departmentId: null,
departmentName: null, departmentName: null,
@ -214,8 +188,8 @@ export default {
}; };
}, },
created() { created() {
if (localStorage.getItem('routeCheckStatus')) { if (localStorage.getItem('manualReviewquery')) {
this.queryParams.routeCheckStatus = localStorage.getItem('routeCheckStatus') this.queryParams = JSON.parse(localStorage.getItem('manualReviewquery'))
} }
this.getList(); this.getList();
this.selectAgencyinfo(); this.selectAgencyinfo();
@ -231,7 +205,6 @@ export default {
this.getList(); this.getList();
}, },
handleClick(tab, event) { handleClick(tab, event) {
localStorage.setItem('routeCheckStatus', this.queryParams.routeCheckStatus)
this.dischargeTime = []; this.dischargeTime = [];
this.queryParams.dischargeTimeStart = null; this.queryParams.dischargeTimeStart = null;
this.queryParams.dischargeTimeEnd = null; this.queryParams.dischargeTimeEnd = null;
@ -277,6 +250,7 @@ export default {
this.loading = true; this.loading = true;
// this.queryParams.taskCreateType = 'MANUAL_CREATE's // this.queryParams.taskCreateType = 'MANUAL_CREATE's
tasklist(this.queryParams).then((response) => { tasklist(this.queryParams).then((response) => {
localStorage.setItem('manualReviewquery', JSON.stringify(this.queryParams))
response.rows.forEach((e) => { response.rows.forEach((e) => {
e.birthDate ? (e.age = getAge(e.birthDate)) : ""; e.birthDate ? (e.age = getAge(e.birthDate)) : "";
}); });