This commit is contained in:
2024-07-01 14:09:00 +08:00
parent 6d7d293153
commit ecc31679c9
7 changed files with 32 additions and 73 deletions

View File

@ -113,13 +113,13 @@ const actions = {
delView({ dispatch, state }, view) { delView({ dispatch, state }, view) {
if (view.fullPath == '/task/manualReview') { if (view.fullPath == '/task/manualReview') {
localStorage.removeItem('routeCheckStatus') localStorage.removeItem('manualReviewquery')
} }
if (view.fullPath == "/patient/signRecord") { if (view.fullPath == "/patient/signRecord") {
localStorage.removeItem('serviceStatus') localStorage.removeItem('signRecordquery')
} }
if (view.fullPath == "/task/followup") { if (view.fullPath == "/task/followup") {
localStorage.removeItem('nodeExecuteStatus') localStorage.removeItem('followupquery')
} }
return new Promise(resolve => { return new Promise(resolve => {
dispatch('delVisitedView', view) dispatch('delVisitedView', view)
@ -145,13 +145,13 @@ const actions = {
delOthersViews({ dispatch, state }, view) { delOthersViews({ dispatch, state }, view) {
if (view.fullPath != '/task/manualReview') { if (view.fullPath != '/task/manualReview') {
localStorage.removeItem('routeCheckStatus') localStorage.removeItem('manualReviewquery')
} }
if (view.fullPath != "/patient/signRecord") { if (view.fullPath != "/patient/signRecord") {
localStorage.removeItem('serviceStatus') localStorage.removeItem('signRecordquery')
} }
if (view.fullPath != "/task/followup") { if (view.fullPath != "/task/followup") {
localStorage.removeItem('nodeExecuteStatus') localStorage.removeItem('followupquery')
} }
return new Promise(resolve => { return new Promise(resolve => {
dispatch('delOthersVisitedViews', view) dispatch('delOthersVisitedViews', view)

View File

@ -273,6 +273,7 @@ export default {
this.$router.push({ this.$router.push({
path: "/patient/Portraitedit", path: "/patient/Portraitedit",
query: { query: {
path: '/patient/patientInfo',
patientId: row.id, patientId: row.id,
cardNo: row.cardNo, cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,

View File

@ -633,10 +633,10 @@ export default {
}, },
/** 详情操作 */ /** 详情操作 */
handleAuthRole(row) { handleAuthRole(row) {
console.log(getAge(row.birthDate))
this.$router.push({ this.$router.push({
path: "/patient/patientdetails", path: "/patient/patientdetails",
query: { query: {
path: '/patient/preHospitalized',
patientId: row.patientId, patientId: row.patientId,
cardNo: row.cardNo, cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
@ -652,7 +652,6 @@ export default {
}); });
}, },
handleHospital(row) { handleHospital(row) {
console.log(row, 'row')
this.resetHospital() this.resetHospital()
this.openHospital = true this.openHospital = true
if (row.hospitalAgencyId) { if (row.hospitalAgencyId) {
@ -869,7 +868,6 @@ export default {
// if (this.formHospital.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) { // if (this.formHospital.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) {
// this.formHospital.attendingPhysicianName = this.form_attendingPhysicianlist.find(e => e.userId == this.formHospital.attendingPhysicianId)?.nickName // this.formHospital.attendingPhysicianName = this.form_attendingPhysicianlist.find(e => e.userId == this.formHospital.attendingPhysicianId)?.nickName
// } // }
console.log(this.formHospital, '888888888')
// return // return
this.$refs["formHospital"].validate(valid => { this.$refs["formHospital"].validate(valid => {
if (valid) { if (valid) {
@ -979,7 +977,6 @@ export default {
}, },
// //
changehospitalAgency(id, type, typetwo) { changehospitalAgency(id, type, typetwo) {
console.log(id, type, typetwo)
this.getAgencyListinfo('HOSPITAL', id, type) this.getAgencyListinfo('HOSPITAL', id, type)
// let query = { // let query = {
// agencyStatus: 'ON', // agencyStatus: 'ON',
@ -987,8 +984,6 @@ export default {
// parentId: id, // parentId: id,
// } // }
// selectAgencyList(query).then(res => { // selectAgencyList(query).then(res => {
console.log(this.formHospital)
if (type) { if (type) {
if (!typetwo) { if (!typetwo) {
this.formHospital.campusAgencyId = null this.formHospital.campusAgencyId = null

View File

@ -355,8 +355,8 @@ export default {
}; };
}, },
created() { created() {
if (localStorage.getItem('serviceStatus')) { if (localStorage.getItem('signRecordquery')) {
this.queryParams.serviceStatus = localStorage.getItem('serviceStatus') this.queryParams = JSON.parse(localStorage.getItem('signRecordquery'))
} }
this.selectAgencyinfo(); this.selectAgencyinfo();
}, },
@ -374,6 +374,7 @@ export default {
this.loading = true; this.loading = true;
this.signRecordList = [] this.signRecordList = []
listSignRecord(this.queryParams).then(response => { listSignRecord(this.queryParams).then(response => {
localStorage.setItem('signRecordquery', JSON.stringify(this.queryParams))
this.signRecordList = response.rows; this.signRecordList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
@ -480,11 +481,11 @@ export default {
// //
addTask() { addTask() {
if (this.addTaskitem) { if (this.addTaskitem) {
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
// this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
this.$router.push({ this.$router.push({
path: "/patient/ManuallyCreatingTasks", path: "/patient/ManuallyCreatingTasks",
query: { query: {
path: "/patient/signRecord",
signPatientRecordId: this.addTaskitem.id, signPatientRecordId: this.addTaskitem.id,
patientId: this.addTaskitem.patientId, patientId: this.addTaskitem.patientId,
patientName: this.addTaskitem.patientName, patientName: this.addTaskitem.patientName,
@ -542,7 +543,6 @@ export default {
}, `signRecord_${new Date().getTime()}.xlsx`) }, `signRecord_${new Date().getTime()}.xlsx`)
}, },
handleClick(tab, event) { handleClick(tab, event) {
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
this.intentionalTime = [] this.intentionalTime = []
this.queryParams.intentionalTimeStart = null this.queryParams.intentionalTimeStart = null
this.queryParams.intentionalTimeEnd = null this.queryParams.intentionalTimeEnd = null
@ -557,6 +557,7 @@ export default {
this.$router.replace({ this.$router.replace({
path: "/patient/newSigning", path: "/patient/newSigning",
query: { query: {
path: "/patient/signRecord",
departmentId: row.departmentId, departmentId: row.departmentId,
patientName: row.patientName, patientName: row.patientName,
patientPhone: row.patientPhone, patientPhone: row.patientPhone,
@ -674,6 +675,7 @@ export default {
this.$router.replace({ this.$router.replace({
path: "/patient/continueSigning", path: "/patient/continueSigning",
query: { query: {
path: "/patient/signRecord",
hospitalAgencyId: row.hospitalAgencyId, hospitalAgencyId: row.hospitalAgencyId,
hospitalAgencyName: row.hospitalAgencyName, hospitalAgencyName: row.hospitalAgencyName,
patientSignRecordId: row.id, patientSignRecordId: row.id,
@ -686,6 +688,7 @@ export default {
this.$router.push({ this.$router.push({
path: "/patient/patientdetails", path: "/patient/patientdetails",
query: { query: {
path: "/patient/signRecord",
patientId: row.patientId, patientId: row.patientId,
cardNo: row.cardNo, cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
@ -705,6 +708,7 @@ export default {
this.$router.push({ this.$router.push({
path: "/patient/Datadetails", path: "/patient/Datadetails",
query: { query: {
path: "/patient/signRecord",
patientId: row.patientId, patientId: row.patientId,
cardNo: row.cardNo, cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,

View File

@ -675,6 +675,7 @@ export default {
this.$router.push({ this.$router.push({
path: "/patient/patientdetails", path: "/patient/patientdetails",
query: { query: {
path: "/patient/visitin",
patientId: row.id, patientId: row.id,
cardNo: row.cardNo, cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
@ -695,8 +696,6 @@ export default {
const id = row.patientVisitRecordId || this.patientVisitRecordIds const id = row.patientVisitRecordId || this.patientVisitRecordIds
getPatientInfo(id).then(response => { getPatientInfo(id).then(response => {
this.form = response.data; this.form = response.data;
console.log(response.data, 'response.data')
if (this.form.hospitalAgencyId) { if (this.form.hospitalAgencyId) {
this.changehospitalAgency(this.form.hospitalAgencyId, 1, 2) this.changehospitalAgency(this.form.hospitalAgencyId, 1, 2)
} }
@ -721,16 +720,12 @@ export default {
this.changehospitalAgency(this.formHospital.hospitalAgencyId, 1, 2) this.changehospitalAgency(this.formHospital.hospitalAgencyId, 1, 2)
} }
if (this.formHospital.campusAgencyId) { if (this.formHospital.campusAgencyId) {
this.changecampusAgency(this.formHospital.campusAgencyId, 1, 2) this.changecampusAgency(this.formHospital.campusAgencyId, 1, 2)
} }
if (this.formHospital.departmentId) { if (this.formHospital.departmentId) {
this.changedepartment(this.formHospital.departmentId, 1, 2) this.changedepartment(this.formHospital.departmentId, 1, 2)
} }
console.log(this.formHospital, 'this.formHospital')
this.openHospital = true this.openHospital = true
// this.title = ""; // this.title = "";
}); });
@ -739,7 +734,6 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.patientType = 'IN_HOSPITAL_PATIENT' this.queryParams.patientType = 'IN_HOSPITAL_PATIENT'
console.log(this.queryParams)
listPatientInfo(this.queryParams).then(response => { listPatientInfo(this.queryParams).then(response => {
response.rows.forEach(e => { response.rows.forEach(e => {
e.birthDate ? e.age = getAge(e.birthDate) : '' e.birthDate ? e.age = getAge(e.birthDate) : ''
@ -895,7 +889,6 @@ export default {
if (this.formHospital.wardId && this.form_wardlist?.length > 0) { if (this.formHospital.wardId && this.form_wardlist?.length > 0) {
this.formHospital.wardName = this.form_wardlist.find(e => e.id == this.formHospital.wardId)?.departmentName this.formHospital.wardName = this.form_wardlist.find(e => e.id == this.formHospital.wardId)?.departmentName
} }
console.log(this.formHospital, '888888888')
// return // return
this.$refs["formHospital"].validate(valid => { this.$refs["formHospital"].validate(valid => {
if (valid) { if (valid) {
@ -1025,7 +1018,6 @@ export default {
}, },
// //
changehospitalAgency(id, type, typetwo) { changehospitalAgency(id, type, typetwo) {
console.log(id, type, typetwo)
this.getAgencyListinfo('HOSPITAL', id, type) this.getAgencyListinfo('HOSPITAL', id, type)
// let query = { // let query = {
// agencyStatus: 'ON', // agencyStatus: 'ON',

View File

@ -669,6 +669,7 @@ export default {
this.$router.push({ this.$router.push({
path: "/patient/patientdetails", path: "/patient/patientdetails",
query: { query: {
path: "/patient/visitout",
patientId: row.id, patientId: row.id,
cardNo: row.cardNo, cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,

View File

@ -18,7 +18,6 @@
<el-input v-model="queryParams.patientPhone" placeholder="请输入电话" clearable <el-input v-model="queryParams.patientPhone" placeholder="请输入电话" clearable
@keyup.enter.native="handleQuery" /> @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="医院" prop="hospitalAgencyId"> <el-form-item label="医院" prop="hospitalAgencyId">
<el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width: 200px" <el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width: 200px"
clearable @clear="clearhospitalAgency" @change="changehospitalAgency"> clearable @clear="clearhospitalAgency" @change="changehospitalAgency">
@ -50,25 +49,17 @@
<el-select v-model="queryParams.suitRange" placeholder="请选择就诊类型" clearable @change="change"> <el-select v-model="queryParams.suitRange" placeholder="请选择就诊类型" clearable @change="change">
<el-option v-for="item in visitoptions" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in visitoptions" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
<!-- <el-option
v-for="dict in dict.type.visit_type"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="就诊流水号" prop="visitSerialNumber"> <el-form-item label="就诊流水号" prop="visitSerialNumber">
<el-input v-model="queryParams.visitSerialNumber" placeholder="请输入就诊流水号" clearable <el-input v-model="queryParams.visitSerialNumber" placeholder="请输入就诊流水号" clearable
@keyup.enter.native="handleQuery" /> @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 @change="mzchange" v-model="mzTime" type="daterange" range-separator="" <el-date-picker @change="mzchange" v-model="mzTime" type="daterange" range-separator=""
start-placeholder="开始日期" style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期"> 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 v-model="ryTime" type="daterange" range-separator="" start-placeholder="开始日期" <el-date-picker v-model="ryTime" type="daterange" range-separator="" start-placeholder="开始日期"
style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期" @change="rychange"> style="width: 300px" value-format="yyyy-MM-dd" end-placeholder="结束日期" @change="rychange">
@ -78,7 +69,6 @@
<el-input v-model="queryParams.mainDiagnosis" placeholder="请选择诊断" clearable <el-input v-model="queryParams.mainDiagnosis" placeholder="请选择诊断" clearable
@keyup.enter.native="handleQuery" /> @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="主治医生" prop="attendingPhysicianId" v-if="queryParams.hospitalAgencyId"> <el-form-item label="主治医生" prop="attendingPhysicianId" v-if="queryParams.hospitalAgencyId">
<el-select v-model="queryParams.attendingPhysicianId" style="width: 200px" filterable placeholder="请选择主治医生" <el-select v-model="queryParams.attendingPhysicianId" style="width: 200px" filterable placeholder="请选择主治医生"
clearable> clearable>
@ -87,7 +77,6 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</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-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@ -110,7 +99,6 @@
<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" <el-table-column label="门诊/住院号" align="center" prop="inHospitalNumber" width="120"
:show-overflow-tooltip="true" /> :show-overflow-tooltip="true" />
<el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="120" <el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="120"
@ -120,7 +108,8 @@
<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" ? "门诊" : "" }}
{{ scope.row.suitRange == "IN_THE_HOSPITAL" ? "在院" : "" }} {{ scope.row.suitRange == "IN_THE_HOSPITAL" ? "在院" : "" }}
{{ scope.row.suitRange == "DISCHARGE" ? "出院" : "" }} {{ scope.row.suitRange == "DISCHARGE" ? "出院" : "" }}
</span> </span>
@ -132,9 +121,9 @@
</el-table-column> </el-table-column>
<el-table-column label="门诊/出院时间" align="center" prop="visitOrDischargeTime" width="105"> <el-table-column label="门诊/出院时间" align="center" prop="visitOrDischargeTime" width="105">
<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 label="随访时间" align="center" prop="executeTime" width="80"> <el-table-column label="随访时间" align="center" prop="executeTime" width="80">
@ -142,10 +131,8 @@
<span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="随访模板" align="center" prop="templateName" width="110"> <el-table-column label="随访模板" align="center" prop="templateName" width="110">
</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 v-if="queryParams.nodeExecuteStatus == 'UNEXECUTED'" size="mini" type="text" <el-button v-if="queryParams.nodeExecuteStatus == 'UNEXECUTED'" size="mini" type="text"
@ -162,12 +149,9 @@
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination> :indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
</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";
import { getAge } from "@/utils/age"; import { getAge } from "@/utils/age";
import { import {
selectAgencyList, getAgencyList selectAgencyList, getAgencyList
@ -194,7 +178,6 @@ export default {
wardlist: [], wardlist: [],
// //
attendingPhysicianlist: [], attendingPhysicianlist: [],
// //
loading: true, loading: true,
// //
@ -225,7 +208,6 @@ export default {
admissionEndTime: null, admissionEndTime: null,
admissionStartTime: null, admissionStartTime: null,
mainDiagnosis: null, mainDiagnosis: null,
visitSerialNumber: null, visitSerialNumber: null,
attendingPhysicianId: null, attendingPhysicianId: null,
patientId: null, patientId: null,
@ -270,8 +252,8 @@ export default {
}; };
}, },
created() { created() {
if (localStorage.getItem('nodeExecuteStatus')) { if (localStorage.getItem('followupquery')) {
this.queryParams.nodeExecuteStatus = localStorage.getItem('nodeExecuteStatus') this.queryParams = JSON.parse(localStorage.getItem('followupquery'))
} }
this.getList(); this.getList();
this.selectAgencyinfo(); this.selectAgencyinfo();
@ -287,7 +269,6 @@ export default {
this.getList(); this.getList();
}, },
handleClick(tab, event) { handleClick(tab, event) {
localStorage.setItem('nodeExecuteStatus', this.queryParams.nodeExecuteStatus)
this.intentionalTime = [] this.intentionalTime = []
this.mzTime = [] this.mzTime = []
this.ryTime = [] this.ryTime = []
@ -315,23 +296,15 @@ export default {
if (e == 'DISCHARGE') { if (e == 'DISCHARGE') {
this.queryParams.clinicalStartTime = null this.queryParams.clinicalStartTime = null
this.queryParams.clinicalEndTime = null this.queryParams.clinicalEndTime = null
} else if (e == 'OUTPATIENT_SERVICE') { } else if (e == 'OUTPATIENT_SERVICE') {
this.queryParams.dischargeStartTime = null this.queryParams.dischargeStartTime = null
this.queryParams.dischargeEndTime = null this.queryParams.dischargeEndTime = null
} else { } else {
this.queryParams.dischargeStartTime = null this.queryParams.dischargeStartTime = null
this.queryParams.dischargeEndTime = null this.queryParams.dischargeEndTime = null
this.queryParams.clinicalStartTime = null this.queryParams.clinicalStartTime = null
this.queryParams.clinicalEndTime = null this.queryParams.clinicalEndTime = null
} }
console.log(e)
// DISCHARGE
//
// OUTPATIENT
//
}, },
// //
usergetListinfo() { usergetListinfo() {
@ -432,6 +405,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
manualFollowUpList(this.queryParams).then((response) => { manualFollowUpList(this.queryParams).then((response) => {
localStorage.setItem('followupquery', JSON.stringify(this.queryParams))
this.taskExecuteRecordList = response.rows; this.taskExecuteRecordList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
@ -492,11 +466,8 @@ export default {
} else if (this.queryParams.suitRange == 'DISCHARGE') { } else if (this.queryParams.suitRange == 'DISCHARGE') {
this.queryParams.dischargeStartTime = this.mzTime[0] this.queryParams.dischargeStartTime = this.mzTime[0]
this.queryParams.dischargeEndTime = this.mzTime[1] this.queryParams.dischargeEndTime = this.mzTime[1]
this.queryParams.clinicalStartTime = null this.queryParams.clinicalStartTime = null
this.queryParams.clinicalEndTime = null this.queryParams.clinicalEndTime = null
} else if (this.queryParams.suitRange == 'OUTPATIENT_SERVICE') { } else if (this.queryParams.suitRange == 'OUTPATIENT_SERVICE') {
this.queryParams.dischargeStartTime = null this.queryParams.dischargeStartTime = null
this.queryParams.dischargeEndTime = null this.queryParams.dischargeEndTime = null
@ -555,7 +526,7 @@ export default {
campusAgencyId: null, campusAgencyId: null,
departmentId: null, departmentId: null,
wardId: null, wardId: null,
}, }
this.handleQuery(); this.handleQuery();
this.intentionalTime = []; this.intentionalTime = [];
this.mzTime = []; this.mzTime = [];
@ -575,10 +546,10 @@ export default {
}, },
/** 处理按钮操作 */ /** 处理按钮操作 */
handleUpdate(row) { handleUpdate(row) {
console.log(row)
this.$router.push({ this.$router.push({
path: "/task/followupsee", path: "/task/followupsee",
query: { query: {
path: "/task/followup",
patientId: row.patientId, patientId: row.patientId,
taskType: row.taskType, taskType: row.taskType,
templateId: row.templateId, templateId: row.templateId,
@ -597,36 +568,31 @@ export default {
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,
diseaseTypeId: row.diseaseTypeId ? row.diseaseTypeId : null, diseaseTypeId: row.diseaseTypeId ? row.diseaseTypeId : null,
diseaseTypeName: row.diseaseTypeName ? row.diseaseTypeName : null, diseaseTypeName: row.diseaseTypeName ? row.diseaseTypeName : null,
followTemplateId:row.followTemplateId?row.followTemplateId:null, followTemplateId: row.followTemplateId ? row.followTemplateId : null,
phoneId:row.phoneId?row.phoneId:null, phoneId: row.phoneId ? row.phoneId : null,
}, },
}); });
}, },
// //
handleadtail(row) { handleadtail(row) {
this.$router.push({ this.$router.push({
path: "/task/followupdetails", path: "/task/followupdetails",
query: { query: {
path: "/task/followup",
patientId: row.patientId, patientId: row.patientId,
taskType: row.taskType, taskType: row.taskType,
templateId: row.templateId, templateId: row.templateId,
manageRouteId: row.manageRouteId, manageRouteId: row.manageRouteId,
manageRouteNodeId: row.manageRouteNodeId, manageRouteNodeId: row.manageRouteNodeId,
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)
}, },
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {