This commit is contained in:
2024-06-24 14:42:46 +08:00
parent 4edcd09cd9
commit 4ad4b2941e
14 changed files with 204 additions and 281 deletions

View File

@ -102,8 +102,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改患者-黑明单关系对话框 --> <!-- 添加或修改患者-黑明单关系对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="80px">
@ -288,6 +290,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
/** 查询患者-黑明单关系列表 */ /** 查询患者-黑明单关系列表 */
getList() { getList() {
this.loading = true; this.loading = true;

View File

@ -118,9 +118,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改资讯分类对话框 --> <!-- 添加或修改资讯分类对话框 -->
<el-dialog :title="title" :visible.sync="addopen" width="750px" append-to-body> <el-dialog :title="title" :visible.sync="addopen" width="750px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="110px" :inline="true"> <el-form ref="form" :model="form" :rules="rules" label-width="110px" :inline="true">
@ -282,6 +283,11 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
/** 查询资讯分类列表 */ /** 查询资讯分类列表 */
getList() { getList() {
this.loading = true; this.loading = true;

View File

@ -80,8 +80,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改资讯信息对话框 --> <!-- 添加或修改资讯信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="900px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="900px" append-to-body>
@ -326,6 +328,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
// //
clickinnerVisible() { clickinnerVisible() {
this.informationInfoinfo(); this.informationInfoinfo();

View File

@ -1,39 +1,19 @@
<template> <template>
<div class="app-container" ref="layout"> <div class="app-container" ref="layout">
<el-tabs <el-tabs v-model="queryParams.routeCheckStatus" @tab-click="handleClick" style="flex: 1">
v-model="queryParams.routeCheckStatus"
@tab-click="handleClick"
style="flex: 1"
>
<el-tab-pane label="未审核" name="UNAUDITED"></el-tab-pane> <el-tab-pane label="未审核" name="UNAUDITED"></el-tab-pane>
<el-tab-pane label="已审核" name="AGREE"></el-tab-pane> <el-tab-pane label="已审核" name="AGREE"></el-tab-pane>
<el-tab-pane label="已忽略" name="DISAGREE"></el-tab-pane> <el-tab-pane label="已忽略" name="DISAGREE"></el-tab-pane>
</el-tabs> </el-tabs>
<div ref="topform" class="form"> <div ref="topform" class="form">
<el-form <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="80px">
:model="queryParams"
ref="queryForm"
size="small"
:inline="true"
label-width="80px"
>
<el-form-item label="患者姓名" prop="patientName"> <el-form-item label="患者姓名" prop="patientName">
<el-input <el-input v-model="queryParams.patientName" placeholder="请输入患者姓名" clearable @keyup.enter.native="handleQuery"
v-model="queryParams.patientName" style="width: 200px" />
placeholder="请输入患者姓名"
clearable
@keyup.enter.native="handleQuery"
style="width: 200px"
/>
</el-form-item> </el-form-item>
<el-form-item label="患者电话" prop="patientPhone"> <el-form-item label="患者电话" prop="patientPhone">
<el-input <el-input v-model="queryParams.patientPhone" placeholder="请输入患者电话" clearable @keyup.enter.native="handleQuery"
v-model="queryParams.patientPhone" style="width: 200px" />
placeholder="请输入患者电话"
clearable
@keyup.enter.native="handleQuery"
style="width: 200px"
/>
</el-form-item> </el-form-item>
<!-- <el-form-item <!-- <el-form-item
label="出院/就诊时间" label="出院/就诊时间"
@ -52,160 +32,58 @@
</el-date-picker> </el-date-picker>
</el-form-item> --> </el-form-item> -->
<el-form-item label="签约时间" prop="signTimeStart"> <el-form-item label="签约时间" prop="signTimeStart">
<el-date-picker <el-date-picker v-model="signTime" type="daterange" range-separator="" start-placeholder="开始日期"
v-model="signTime" style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
type="daterange"
range-separator="至"
start-placeholder="开始日期"
style="width: 300px"
value-format="yyyy-MM-dd"
end-placeholder="结束日期"
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="诊断" prop="mainDiagnosis"> <el-form-item label="诊断" prop="mainDiagnosis">
<el-input <el-input v-model="queryParams.mainDiagnosis" placeholder="请选择诊断" clearable style="width: 200px"
v-model="queryParams.mainDiagnosis" @keyup.enter.native="handleQuery" />
placeholder="请选择诊断"
clearable
style="width: 200px"
@keyup.enter.native="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item label="患者来源" prop="patientSource"> <el-form-item label="患者来源" prop="patientSource">
<el-select <el-select v-model="queryParams.patientSource" placeholder="请选择患者来源" clearable style="width: 200px">
v-model="queryParams.patientSource" <el-option v-for="dict in dict.type.patient_source" :key="dict.value" :label="dict.label"
placeholder="请选择患者来源" :value="dict.value" />
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-select>
</el-form-item> </el-form-item>
<el-form-item label="医院" prop="hospitalAgencyId"> <el-form-item label="医院" prop="hospitalAgencyId">
<el-select <el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width: 200px"
v-model="queryParams.hospitalAgencyId" clearable @clear="clearhospitalAgency" @change="changehospitalAgency">
filterable <el-option v-for="item in hospitalAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
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-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="院区" prop="campusAgencyId" v-if="queryParams.hospitalAgencyId">
label="院区" <el-select v-model="queryParams.campusAgencyId" filterable placeholder="请选择院区" style="width: 200px" clearable
prop="campusAgencyId" @clear="clearcampusAgency" @change="changecampusAgency">
v-if="queryParams.hospitalAgencyId" <el-option v-for="item in campusAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
>
<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-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="科室" prop="departmentId" v-if="queryParams.hospitalAgencyId">
label="科室" <el-select v-model="queryParams.departmentId" filterable placeholder="请选择科室" style="width: 200px" clearable
prop="departmentId" @clear="cleardepartment" @change="changedepartment">
v-if="queryParams.hospitalAgencyId" <el-option v-for="item in departmentlist" :key="item.id" :label="item.departmentName" :value="item.id">
>
<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-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="病区" prop="wardId" v-if="queryParams.hospitalAgencyId">
label="病区" <el-select v-model="queryParams.wardId" filterable placeholder="请选择病区" style="width: 200px" clearable>
prop="wardId" <el-option v-for="item in wardlist" :key="item.id" :label="item.departmentName" :value="item.id">
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-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
type="primary" <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
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-item>
</el-form> </el-form>
</div> </div>
<div ref="table"> <div ref="table">
<el-table <el-table :max-height="maxTableHeight" v-loading="loading" :data="patientInfoList">
:max-height="maxTableHeight"
v-loading="loading"
:data="patientInfoList"
>
<el-table-column label="序号" type="index" width="50" align="center" /> <el-table-column label="序号" type="index" width="50" align="center" />
<el-table-column <el-table-column label="患者姓名" align="center" prop="patientName" width="80" />
label="患者姓名" <el-table-column label="患者电话" align="center" prop="patientPhone" width="120" />
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"> <el-table-column label="性别" align="center" prop="sex" width="50">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.sex == "MALE" ? "男" : "" }} {{ scope.row.sex == "MALE" ? "男" : "" }}
@ -213,38 +91,13 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="年龄" align="center" prop="age" width="50" /> <el-table-column label="年龄" align="center" prop="age" width="50" />
<el-table-column <el-table-column label="出生日期" align="center" prop="birthDate" width="100" />
label="出生日期" <el-table-column label="医院" align="center" prop="hospitalAgencyName" :show-overflow-tooltip="true" />
align="center" <el-table-column label="院区" align="center" prop="campusAgencyName" :show-overflow-tooltip="true" />
prop="birthDate" <el-table-column label="科室名称" align="center" prop="departmentName" :show-overflow-tooltip="true" />
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="wardName" />
<el-table-column <el-table-column label="住院/门诊号" align="center" prop="inHospitalNumber" width="105"
label="住院/门诊号" :show-overflow-tooltip="true" />
align="center"
prop="inHospitalNumber"
width="105"
:show-overflow-tooltip="true"
/>
<!-- <el-table-column label="就诊方式" align="center" prop="visitMethod" width="80"> --> <!-- <el-table-column label="就诊方式" align="center" prop="visitMethod" width="80"> -->
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<dict-tag :options="dict.type.patient_source" :value="scope.row.visitMethod" /> <dict-tag :options="dict.type.patient_source" :value="scope.row.visitMethod" />
@ -252,27 +105,13 @@
<!-- </el-table-column> --> <!-- </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 <dict-tag :options="dict.type.visit_method" :value="scope.row.visitMethod" />
: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="attendingPhysicianName" width="80" :show-overflow-tooltip="true"/> -->
<el-table-column <el-table-column label="主要诊断" align="center" prop="signDiagnosis" :show-overflow-tooltip="true" width="100" />
label="主要诊断"
align="center"
prop="signDiagnosis"
:show-overflow-tooltip="true"
width="100"
/>
<!-- <el-table-column label="手术名称" align="center" prop="surgicalName" /> --> <!-- <el-table-column label="手术名称" align="center" prop="surgicalName" /> -->
<el-table-column <el-table-column label="签约时间" align="center" prop="signTime" width="105">
label="签约时间"
align="center"
prop="signTime"
width="105"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.signTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.signTime, "{y}-{m}-{d}") }}</span>
</template> </template>
@ -283,38 +122,20 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="住址" align="center" prop="address" /> --> <el-table-column label="住址" align="center" prop="address" /> -->
<el-table-column <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
label="操作"
align="center"
class-name="small-padding fixed-width"
fixed="right"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button size="mini" type="text" @click="handleAuthRole(scope.row)"
size="mini" v-if="queryParams.routeCheckStatus == 'UNAUDITED'">审核</el-button>
type="text" <el-button size="mini" type="text" @click="handleLook(scope.row)"
@click="handleAuthRole(scope.row)" v-if="queryParams.routeCheckStatus != 'UNAUDITED'">查看</el-button>
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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
v-show="total > 0" :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
:total="total" <myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:page.sync="queryParams.pageNum" :indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
</div> </div>
</template> </template>
@ -395,6 +216,11 @@ export default {
this.screenChange(); this.screenChange();
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
handleClick(tab, event) { handleClick(tab, event) {
this.dischargeTime = []; this.dischargeTime = [];
this.queryParams.dischargeTimeStart = null; this.queryParams.dischargeTimeStart = null;

View File

@ -160,8 +160,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
@ -232,6 +234,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
// //
usergetListinfo() { usergetListinfo() {
usergetList({ usergetList({
@ -260,8 +267,8 @@ export default {
}, },
}); });
}, },
// //
handleedit(row){ handleedit(row) {
this.$router.push({ this.$router.push({
path: "/patient/Portraitedit", path: "/patient/Portraitedit",
query: { query: {

View File

@ -194,8 +194,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改患者信息对话框 --> <!-- 添加或修改患者信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true"> <el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true">
@ -624,6 +626,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
/** 详情操作 */ /** 详情操作 */
handleAuthRole(row) { handleAuthRole(row) {
console.log(getAge(row.birthDate)) console.log(getAge(row.birthDate))

View File

@ -272,8 +272,10 @@
</el-table> </el-table>
</div> </div>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
@ -361,6 +363,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
/** 查询签约记录列表 */ /** 查询签约记录列表 */
getList() { getList() {
this.loading = true; this.loading = true;

View File

@ -193,8 +193,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改患者信息对话框 --> <!-- 添加或修改患者信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true"> <el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true">
@ -663,6 +665,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
/** 详情操作 */ /** 详情操作 */
handleAuthRole(row) { handleAuthRole(row) {
this.$router.push({ this.$router.push({

View File

@ -197,8 +197,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改患者信息对话框 --> <!-- 添加或修改患者信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true"> <el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true">
@ -628,6 +630,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
addsignupload() { addsignupload() {
if (this.addsignform.billingDoctorId && this.addsignattendingPhysicianlist?.length > 0) { if (this.addsignform.billingDoctorId && this.addsignattendingPhysicianlist?.length > 0) {
this.addsignform.billingDoctorName = this.addsignattendingPhysicianlist.find(e => e.userId == this.addsignform.billingDoctorId)?.nickName this.addsignform.billingDoctorName = this.addsignattendingPhysicianlist.find(e => e.userId == this.addsignform.billingDoctorId)?.nickName

View File

@ -98,24 +98,26 @@
<el-table :max-height="maxTableHeight" v-loading="loading" :data="taskExecuteRecordList" <el-table :max-height="maxTableHeight" v-loading="loading" :data="taskExecuteRecordList"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="姓名" align="center" prop="patientName" width="50"/> <el-table-column label="姓名" align="center" prop="patientName" width="50" />
<el-table-column label="电话" align="center" prop="patientPhone" width="120"/> <el-table-column label="电话" align="center" prop="patientPhone" width="120" />
<el-table-column label="性别" align="center" prop="visitSerialNumber" width="50"> <el-table-column label="性别" align="center" prop="visitSerialNumber" width="50">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.sex == "MALE" ? "男" : "" }} {{ scope.row.sex == "MALE" ? "男" : "" }}
{{ scope.row.sex == "FEMALE" ? "女" : "" }} {{ scope.row.sex == "FEMALE" ? "女" : "" }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="医院" align="center" prop="hospitalAgencyName" width="105"/> <el-table-column label="医院" align="center" prop="hospitalAgencyName" width="105" />
<el-table-column label="院区" align="center" prop="campusAgencyName" /> <el-table-column label="院区" align="center" prop="campusAgencyName" />
<el-table-column label="科室名称" align="center" prop="departmentName" /> <el-table-column label="科室名称" align="center" prop="departmentName" />
<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="120" :show-overflow-tooltip="true"/> <el-table-column label="门诊/住院号" align="center" prop="inHospitalNumber" width="120"
<el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="120" :show-overflow-tooltip="true"/> :show-overflow-tooltip="true" />
<el-table-column label="诊断" align="center" prop="mainDiagnosis" width="120" :show-overflow-tooltip="true"/> <el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="120"
:show-overflow-tooltip="true" />
<el-table-column label="诊断" align="center" prop="mainDiagnosis" width="120" :show-overflow-tooltip="true" />
<el-table-column label="手术名称" align="center" prop="surgicalName" /> <el-table-column label="手术名称" align="center" prop="surgicalName" />
<el-table-column label="主治医生" align="center" prop="attendingPhysicianName" width="80"/> <el-table-column label="主治医生" align="center" prop="attendingPhysicianName" width="80" />
<el-table-column label="就诊类型" align="center" prop="suitRange" width="80"> <el-table-column label="就诊类型" align="center" prop="suitRange" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.suitRange == "OUTPATIENT_SERVICE" ? "门诊" : "" }} <span>{{ scope.row.suitRange == "OUTPATIENT_SERVICE" ? "门诊" : "" }}
@ -135,7 +137,7 @@
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="随访时间" align="center" prop="executeTime" width="80"> <el-table-column label="随访时间" align="center" prop="executeTime" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span>
</template> </template>
@ -154,8 +156,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
@ -274,6 +278,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
handleClick(tab, event) { handleClick(tab, event) {
this.intentionalTime = [], this.intentionalTime = [],
this.mzTime = [], this.mzTime = [],
@ -694,15 +703,19 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-table__body-wrapper::-webkit-scrollbar { ::v-deep .el-table__body-wrapper::-webkit-scrollbar {
width: 8px; /*滚动条宽度*/ width: 8px;
height: 6px; /*滚动条高度*/ /*滚动条宽度*/
background: #C1C1C1; height: 6px;
border-radius: 10px; /*滚动条的背景区域的圆角*/ /*滚动条高度*/
background: #C1C1C1;
border-radius: 10px;
/*滚动条的背景区域的圆角*/
// box-shadow: 0px 1px 3px #232335 inset; // box-shadow: 0px 1px 3px #232335 inset;
} }
::v-deep .el-table { ::v-deep .el-table {
overflow: auto; overflow: auto;
} }

View File

@ -77,8 +77,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
<script> <script>
@ -114,6 +116,11 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
/** 查询信息列表 */ /** 查询信息列表 */
getList() { getList() {
this.loading = true; this.loading = true;

View File

@ -42,15 +42,17 @@
<div ref="table"> <div ref="table">
<el-table v-loading="loading" :data="taskExecuteRecordList" @selection-change="handleSelectionChange" <el-table v-loading="loading" :data="taskExecuteRecordList" @selection-change="handleSelectionChange"
:max-height="maxTableHeight" style="width: 100%"> :max-height="maxTableHeight" style="width: 100%">
<el-table-column type="selection" align="center" /> <el-table-column type="selection" align="center" />
<!-- <el-table-column label="主键id" align="center" prop="id" /> --> <!-- <el-table-column label="主键id" align="center" prop="id" /> -->
<!-- <el-table-column label="患者表id" align="center" prop="patientId" /> --> <!-- <el-table-column label="患者表id" align="center" prop="patientId" /> -->
<el-table-column label="患者姓名" align="center" prop="patientName" width="80"/> <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="patientPhone" width="120" />
<el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="120" :show-overflow-tooltip="true" /> <el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="120"
<el-table-column label="医院" align="center" prop="hospitalAgencyName" width="105" :show-overflow-tooltip="true"/> :show-overflow-tooltip="true" />
<el-table-column label="院区" align="center" prop="campusAgencyName" :show-overflow-tooltip="true"/> <el-table-column label="医院" align="center" prop="hospitalAgencyName" width="105"
<el-table-column label="科室名称" align="center" prop="departmentName" :show-overflow-tooltip="true"/> :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="wardName" />
<!-- <el-table-column label="门诊/住院号" align="center" prop="patientName" /> <!-- <el-table-column label="门诊/住院号" align="center" prop="patientName" />
<el-table-column label="手术名称" align="center" prop="patientName" /> --> <el-table-column label="手术名称" align="center" prop="patientName" /> -->
@ -69,7 +71,7 @@
</el-table-column> </el-table-column>
<el-table-column label="管理任务名称" align="center" prop="manageRouteName" width="110"> <el-table-column label="管理任务名称" align="center" prop="manageRouteName" width="110">
</el-table-column> </el-table-column>
<el-table-column label="入院时间" align="center" prop="admissionTime" width="100" > <el-table-column label="入院时间" align="center" prop="admissionTime" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.admissionTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.admissionTime, "{y}-{m}-{d}") }}</span>
</template> </template>
@ -86,7 +88,7 @@
</span> </span>
</template></el-table-column> </template></el-table-column>
<el-table-column label="任务名称" align="center" prop="manageRouteName" /> <el-table-column label="任务名称" align="center" prop="manageRouteName" />
<el-table-column label="执行时间" align="center" prop="executeTime" > <el-table-column label="执行时间" align="center" prop="executeTime">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span>
</template> </template>
@ -124,8 +126,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
@ -212,6 +216,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
// //
getMaxTableHeight() { getMaxTableHeight() {
const windowInnerHeight = window.innerHeight // const windowInnerHeight = window.innerHeight //

View File

@ -67,9 +67,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改患者管理任务推送方式记录对话框 --> <!-- 添加或修改患者管理任务推送方式记录对话框 -->
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="110px" :inline="true"> <el-form ref="form" :model="form" :rules="rules" label-width="110px" :inline="true">
@ -356,6 +357,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
handleChange(value) { handleChange(value) {
console.log('选中的值:', value); console.log('选中的值:', value);
this.form.taskType = value this.form.taskType = value

View File

@ -148,8 +148,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
@pagination="getList" /> :limit.sync="queryParams.pageSize" @pagination="getList" /> -->
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改患者就诊记录基本信息对话框 --> <!-- 添加或修改患者就诊记录基本信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="80px">
@ -285,6 +287,11 @@ export default {
this.screenChange() this.screenChange()
}, },
methods: { methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
changehospitalAgency(e) { changehospitalAgency(e) {
this.form.hospitalAgencyName = this.hospitalAgencylist.find(f => f.id == e)?.agencyName this.form.hospitalAgencyName = this.hospitalAgencylist.find(f => f.id == e)?.agencyName
}, },