This commit is contained in:
2024-04-23 09:59:19 +08:00
parent 32588d0060
commit bafbcd541b
6 changed files with 135 additions and 371 deletions

View File

@ -353,6 +353,15 @@ export default {
}, },
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {
if (this.form.hospitalAgencyId && this.hospitalAgencylist?.length > 0) {
this.form.hospitalAgencyName = this.hospitalAgencylist.find(e => e.id == this.form.hospitalAgencyId)?.agencyName
}
if (this.form.campusAgencyId && this.form_campusAgencylist?.length > 0) {
this.form.campusAgencyName = this.form_campusAgencylist.find(e => e.id == this.form.campusAgencyId)?.agencyName
}
if (this.form.departmentId && this.form_departmentlist?.length > 0) {
this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName
}
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
@ -487,20 +496,12 @@ export default {
if (type) { if (type) {
this.form.departmentId = null this.form.departmentId = null
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
} else { } else {
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
} }
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId, type)
},
//
cleardepartment(type) {
if (type) {
this.form.wardId = null
} else {
this.queryParams.wardId = null
}
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId, type)
}, },
// //
causegetinfo() { causegetinfo() {

View File

@ -637,7 +637,7 @@ export default {
if (this.form.departmentId && this.form_departmentlist?.length > 0) { if (this.form.departmentId && this.form_departmentlist?.length > 0) {
this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName
} }
if (this.form.hospitalAgencyId && this.form_wardlist?.length > 0) { if (this.form.wardId && this.form_wardlist?.length > 0) {
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
} }
if (this.form.certificateIssuingDoctorId && this.form_attendingPhysicianlist?.length > 0) { if (this.form.certificateIssuingDoctorId && this.form_attendingPhysicianlist?.length > 0) {
@ -833,20 +833,22 @@ export default {
if (type) { if (type) {
this.form.departmentId = null this.form.departmentId = null
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
} else { } else {
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
} }
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId, type)
}, },
// //
cleardepartment(type) { cleardepartment(type) {
if (type) { if (type) {
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type)
} else { } else {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} }
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId, type)
}, },
/** 下载模板操作 */ /** 下载模板操作 */
importTemplate() { importTemplate() {

View File

@ -559,7 +559,7 @@ export default {
}) })
}, },
// //
getAgencyListinfo(nodeType, id, type) { getAgencyListinfo(nodeType, id) {
let query = { let query = {
nodeType: nodeType, nodeType: nodeType,
} }
@ -571,15 +571,6 @@ export default {
query.departmentId = id query.departmentId = id
} }
getAgencyList(query).then(res => { getAgencyList(query).then(res => {
if (type) {
if (nodeType == 'HOSPITAL') {
this.form_campusAgencylist = res.data.campusList
this.form_departmentlist = res.data.departmentList
} else if (nodeType == 'CAMPUS') {
this.form_departmentlist = res.data.departmentList
}
this.form_wardlist = res.data.wardList
} else {
if (nodeType == 'HOSPITAL') { if (nodeType == 'HOSPITAL') {
this.campusAgencylist = res.data.campusList this.campusAgencylist = res.data.campusList
} }
@ -587,100 +578,62 @@ export default {
this.departmentlist = res.data.departmentList this.departmentlist = res.data.departmentList
} }
this.wardlist = res.data.wardList this.wardlist = res.data.wardList
}
}) })
}, },
// //
changehospitalAgency(id, type, typetwo) { changehospitalAgency(id) {
this.getAgencyListinfo('HOSPITAL', id, type) this.getAgencyListinfo('HOSPITAL', id)
// let query = { // let query = {
// agencyStatus: 'ON', // agencyStatus: 'ON',
// nodeType: 'CAMPUS', // nodeType: 'CAMPUS',
// parentId: id, // parentId: id,
// } // }
// selectAgencyList(query).then(res => { // selectAgencyList(query).then(res => {
if (type) {
if (!typetwo) {
this.form.campusAgencyId = null
this.form.departmentId = null
this.form.wardId = null
this.form.certificateIssuingDoctorId = null
}
} else {
this.queryParams.campusAgencyId = null this.queryParams.campusAgencyId = null
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
this.queryParams.certificateIssuingDoctorId = null this.queryParams.certificateIssuingDoctorId = null
}
// }) // })
}, },
// //
changecampusAgency(id, type, typetwo) { changecampusAgency(id) {
this.getAgencyListinfo('CAMPUS', id, type) this.getAgencyListinfo('CAMPUS', id)
// let query = { // let query = {
// nodeType: 'DEPARTMENT', // nodeType: 'DEPARTMENT',
// agencyId: id, // agencyId: id,
// } // }
// getDepartmentList(query).then(res => { // getDepartmentList(query).then(res => {
if (type) {
if (!typetwo) {
this.form.departmentId = null
this.form.wardId = null
}
} else {
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
}
// }) // })
}, },
// //
changedepartment(id, type, typetwo) { changedepartment(id) {
this.getAgencyListinfo('DEPARTMENT', id, type) this.getAgencyListinfo('DEPARTMENT', id)
// let query = { // let query = {
// nodeType: 'WARD', // nodeType: 'WARD',
// parentDepartmentId: id, // parentDepartmentId: id,
// } // }
// getDepartmentList(query).then(res => { // getDepartmentList(query).then(res => {
if (type) {
if (!typetwo) {
this.form.wardId = null
} else {
this.queryParams.wardId = null this.queryParams.wardId = null
}
}
// }) // })
}, },
// //
clearhospitalAgency(type) { clearhospitalAgency() {
if (type) {
this.form.campusAgencyId = null
this.form.departmentId = null
this.form.wardId = null
} else {
this.queryParams.campusAgencyId = null this.queryParams.campusAgencyId = null
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
}
}, },
// //
clearcampusAgency(type) { clearcampusAgency() {
if (type) {
this.form.departmentId = null
this.form.wardId = null
} else {
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
} this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId, type)
}, },
// //
cleardepartment(type) { cleardepartment() {
if (type) {
this.form.wardId = null
} else {
this.queryParams.wardId = null this.queryParams.wardId = null
} this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId, type)
}, },
// //
handleContinue(row) { handleContinue(row) {

View File

@ -670,7 +670,7 @@ export default {
if (this.form.departmentId && this.form_departmentlist?.length > 0) { if (this.form.departmentId && this.form_departmentlist?.length > 0) {
this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName
} }
if (this.form.hospitalAgencyId && this.form_wardlist?.length > 0) { if (this.form.wardId && this.form_wardlist?.length > 0) {
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
} }
if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) { if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) {
@ -853,20 +853,22 @@ export default {
if (type) { if (type) {
this.form.departmentId = null this.form.departmentId = null
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
} else { } else {
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
} }
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId, type)
}, },
// //
cleardepartment(type) { cleardepartment(type) {
if (type) { if (type) {
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type)
} else { } else {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} }
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId, type)
}, },
/** 下载模板操作 */ /** 下载模板操作 */
importTemplate() { importTemplate() {

View File

@ -790,7 +790,7 @@ export default {
if (this.form.departmentId && this.form_departmentlist?.length > 0) { if (this.form.departmentId && this.form_departmentlist?.length > 0) {
this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName
} }
if (this.form.hospitalAgencyId && this.form_wardlist?.length > 0) { if (this.form.wardId && this.form_wardlist?.length > 0) {
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
} }
if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) { if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) {
@ -990,20 +990,22 @@ export default {
if (type) { if (type) {
this.form.departmentId = null this.form.departmentId = null
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
} else { } else {
this.queryParams.departmentId = null this.queryParams.departmentId = null
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
} }
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId, type)
}, },
// //
cleardepartment(type) { cleardepartment(type) {
if (type) { if (type) {
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type)
} else { } else {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} }
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId, type)
}, },
/** 下载模板操作 */ /** 下载模板操作 */
importTemplate() { importTemplate() {

View File

@ -4,142 +4,49 @@
<el-tab-pane label="未执行" name="UNEXECUTED"></el-tab-pane> <el-tab-pane label="未执行" name="UNEXECUTED"></el-tab-pane>
<el-tab-pane label="已执行" name="EXECUTED"></el-tab-pane> <el-tab-pane label="已执行" name="EXECUTED"></el-tab-pane>
</el-tabs> </el-tabs>
<el-form <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
:model="queryParams"
ref="queryForm"
size="small"
:inline="true"
v-show="showSearch"
>
<el-form-item label="随访时间" prop="startDate"> <el-form-item label="随访时间" prop="startDate">
<el-date-picker <el-date-picker v-model="intentionalTime" type="daterange" range-separator="" start-placeholder="开始日期"
v-model="intentionalTime" style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期" @change="chooseTime">
type="daterange"
range-separator="至"
start-placeholder="开始日期"
style="width: 300px"
value-format="yyyy-MM-dd"
end-placeholder="结束日期"
@change="chooseTime"
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<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"
placeholder="请输入姓名"
clearable
@keyup.enter.native="handleQuery"
/>
</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"
placeholder="请输入电话"
clearable
@keyup.enter.native="handleQuery"
/>
</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" clearable
v-model="queryParams.hospitalAgencyId" @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 label="就诊类型" prop="suitRange"> <el-form-item label="就诊类型" prop="suitRange">
<el-select <el-select v-model="queryParams.suitRange" placeholder="请选择就诊类型" clearable @change="change">
v-model="queryParams.suitRange" <el-option v-for="item in visitoptions" :key="item.value" :label="item.label" :value="item.value">
placeholder="请选择就诊类型"
clearable
@change="change"
>
<el-option
v-for="item in visitoptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
<!-- <el-option <!-- <el-option
v-for="dict in dict.type.visit_type" v-for="dict in dict.type.visit_type"
@ -150,91 +57,41 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="就诊流水号" prop="visitSerialNumber"> <el-form-item label="就诊流水号" prop="visitSerialNumber">
<el-input <el-input v-model="queryParams.visitSerialNumber" placeholder="请输入就诊流水号" clearable
v-model="queryParams.visitSerialNumber" @keyup.enter.native="handleQuery" />
placeholder="请输入就诊流水号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item label="门诊/出院时间" prop="intentionalTimeStart"> <el-form-item label="门诊/出院时间" prop="intentionalTimeStart">
<el-date-picker <el-date-picker @change="mzchange" v-model="mzTime" type="daterange" range-separator=""
@change="mzchange" start-placeholder="开始日期" style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
v-model="mzTime"
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="intentionalTimeStart"> <el-form-item label="入院时间" prop="intentionalTimeStart">
<el-date-picker <el-date-picker v-model="ryTime" type="daterange" range-separator="" start-placeholder="开始日期"
v-model="ryTime" style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期" @change="rychange">
type="daterange"
range-separator="至"
start-placeholder="开始日期"
style="width: 300px"
value-format="yyyy-MM-dd"
end-placeholder="结束日期"
@change="rychange"
>
</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 @keyup.enter.native="handleQuery" />
v-model="queryParams.mainDiagnosis"
placeholder="请选择诊断"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="主治医生" prop="attendingPhysicianId" v-if="queryParams.hospitalAgencyId">
label="主治医生" <el-select v-model="queryParams.attendingPhysicianId" style="width: 200px" filterable placeholder="请选择主治医生"
prop="attendingPhysicianId" clearable>
v-if="queryParams.hospitalAgencyId" <el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
> :value="item.userId">
<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-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>
<el-table <el-table v-loading="loading" :data="taskExecuteRecordList" @selection-change="handleSelectionChange">
v-loading="loading"
:data="taskExecuteRecordList"
@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" /> <el-table-column label="姓名" align="center" prop="patientName" />
<el-table-column label="电话" align="center" prop="patientPhone" /> <el-table-column label="电话" align="center" prop="patientPhone" />
@ -249,62 +106,31 @@
<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 <el-table-column label="门诊/住院号" align="center" prop="inHospitalNumber" width="100" />
label="门诊/住院号" <el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="100" />
align="center"
prop="inHospitalNumber"
width="100"
/>
<el-table-column
label="就诊流水号"
align="center"
prop="visitSerialNumber"
width="100"
/>
<el-table-column label="诊断" align="center" prop="mainDiagnosis" /> <el-table-column label="诊断" align="center" prop="mainDiagnosis" />
<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="attendingPhysicianName" />
label="主治医生"
align="center"
prop="attendingPhysicianName"
/>
<el-table-column label="就诊类型" align="center" prop="suitRange"> <el-table-column label="就诊类型" align="center" prop="suitRange">
<template slot-scope="scope"> <template slot-scope="scope">
<span <span>{{ scope.row.suitRange == "OUTPATIENT_SERVICE" ? "门诊" : "" }}
>{{ scope.row.suitRange == "OUTPATIENT_SERVICE" ? "门诊" : "" }}
{{ scope.row.suitRange == "IN_THE_HOSPITAL" ? "在院" : "" }} {{ scope.row.suitRange == "IN_THE_HOSPITAL" ? "在院" : "" }}
{{ scope.row.suitRange == "DISCHARGE" ? "出院" : "" }} {{ scope.row.suitRange == "DISCHARGE" ? "出院" : "" }}
</span> </span>
</template></el-table-column </template></el-table-column>
> <el-table-column label="入院时间" align="center" prop="admissionTime" width="180">
<el-table-column
label="入院时间"
align="center"
prop="admissionTime"
width="180"
>
<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>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="门诊/出院时间" align="center" prop="visitOrDischargeTime" width="180">
label="门诊/出院时间"
align="center"
prop="visitOrDischargeTime"
width="180"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{
parseTime(scope.row.visitOrDischargeTime, "{y}-{m}-{d}") parseTime(scope.row.visitOrDischargeTime, "{y}-{m}-{d}")
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="随访时间" align="center" prop="executeTime" width="180">
label="随访时间"
align="center"
prop="executeTime"
width="180"
>
<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>
@ -313,44 +139,22 @@
<el-table-column label="随访模板" align="center" prop="templateName"> <el-table-column label="随访模板" align="center" prop="templateName">
</el-table-column> </el-table-column>
<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 v-if="queryParams.nodeExecuteStatus == 'UNEXECUTED'" size="mini" type="text"
v-if="queryParams.nodeExecuteStatus == 'UNEXECUTED'" icon="el-icon-bank-card" @click="handleUpdate(scope.row)">处理</el-button>
size="mini" <el-button v-if="queryParams.nodeExecuteStatus == 'EXECUTED'" size="mini" type="text"
type="text" icon="el-icon-notebook-2" @click="handleadtail(scope.row)">详情</el-button>
icon="el-icon-bank-card"
@click="handleUpdate(scope.row)"
>处理</el-button
>
<el-button
v-if="queryParams.nodeExecuteStatus == 'EXECUTED'"
size="mini"
type="text"
icon="el-icon-notebook-2"
@click="handleadtail(scope.row)"
>详情</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
v-show="total > 0" @pagination="getList" />
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
</div> </div>
</template> </template>
<script> <script>
import { manualFollowUpList } from "@/api/system/followup" import { manualFollowUpList } from "@/api/system/followup"
import { usergetList } from "@/api/unitconfig/patientConfiguration"; import { usergetList } from "@/api/unitconfig/patientConfiguration";
@ -470,18 +274,18 @@ export default {
this.queryParams.clinicalEndTime = null this.queryParams.clinicalEndTime = null
this.queryParams.followStartTime = null this.queryParams.followStartTime = null
this.queryParams.followEndTime = null this.queryParams.followEndTime = null
this.queryParams.admissionEndTime=null this.queryParams.admissionEndTime = null
this.queryParams.admissionStartTime=null this.queryParams.admissionStartTime = null
this.queryParams.mainDiagnosis=null this.queryParams.mainDiagnosis = null
this.queryParams.visitSerialNumber=null this.queryParams.visitSerialNumber = null
this.queryParams.attendingPhysicianId=null this.queryParams.attendingPhysicianId = null
this.queryParams.suitRange=null this.queryParams.suitRange = null
this.queryParams.patientName=null this.queryParams.patientName = null
this.queryParams.hospitalAgencyId=null this.queryParams.hospitalAgencyId = null
this.queryParams.campusAgencyId=null this.queryParams.campusAgencyId = null
this.queryParams.departmentId=null this.queryParams.departmentId = null
this.queryParams.wardId=null this.queryParams.wardId = null
this.queryParams.patientPhone=null this.queryParams.patientPhone = null
this.getList(); this.getList();
}, },
change(e) { change(e) {
@ -771,7 +575,7 @@ export default {
age: row.birthDate ? getAge(row.birthDate) : "", age: row.birthDate ? getAge(row.birthDate) : "",
manageRouteId: row.manageRouteId, manageRouteId: row.manageRouteId,
manageRouteNodeId: row.manageRouteNodeId, manageRouteNodeId: row.manageRouteNodeId,
visitRecordId:row.visitRecordId, visitRecordId: row.visitRecordId,
departmentId: row.departmentId, departmentId: row.departmentId,
departmentName: row.departmentName, departmentName: row.departmentName,
@ -789,11 +593,11 @@ export default {
patientId: row.patientId, patientId: row.patientId,
taskType: row.taskType, taskType: row.taskType,
templateId: row.templateId, templateId: row.templateId,
manageRouteId:row.manageRouteId, manageRouteId: row.manageRouteId,
visitRecordId:row.visitRecordId, visitRecordId: row.visitRecordId,
taskExecuteRecordId:row.taskExecuteRecordId, taskExecuteRecordId: row.taskExecuteRecordId,
routeHandleRemark:row.routeHandleRemark?row.routeHandleRemark:null, routeHandleRemark: row.routeHandleRemark ? row.routeHandleRemark : null,
}, },
}); });
console.log(row) console.log(row)
@ -857,4 +661,4 @@ export default {
}, },
}, },
}; };
</script> </script>