This commit is contained in:
2024-11-07 08:47:32 +08:00
parent f7704b68b9
commit d1ff25ff24
3 changed files with 63 additions and 82 deletions

View File

@ -2,20 +2,10 @@
<div class="header">
<div class="topheader">
<div class="user">
<img
class="headsculpture"
src="../../../assets/manage/touxiang.png"
alt=""
v-if="$route.query.sex == 'MALE'"
@click="shiftCollapsiable"
/>
<img
class="headsculpture"
src="../../../assets/manage/nvtouxiang.png"
alt=""
v-if="$route.query.sex == 'FEMALE'"
@click="shiftCollapsiable"
/>
<img class="headsculpture" src="../../../assets/manage/touxiang.png" alt="" v-if="$route.query.sex == 'MALE'"
@click="shiftCollapsiable" />
<img class="headsculpture" src="../../../assets/manage/nvtouxiang.png" alt=""
v-if="$route.query.sex == 'FEMALE'" @click="shiftCollapsiable" />
<div class="name" @click="shiftCollapsiable">
{{ $route.query.patientName }}
</div>
@ -24,37 +14,24 @@
$route.query.sex == "MALE"
? "男"
: $route.query.sex == "FEMALE"
? "女"
: ""
? "女"
: ""
}}
</div>
<div class="source">
<div
class="item"
style="color: #00e06e; border-color: #00e06e"
v-if="$route.query.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'"
>
<img
src="../../../assets/manage/gzh.png"
alt=""
style="width: 24px"
/>
<div class="item" style="color: #00e06e; border-color: #00e06e"
v-if="$route.query.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'">
<img src="../../../assets/manage/gzh.png" alt="" style="width: 24px" />
<div>公众号</div>
</div>
<div
class="item"
style="color: #339de5; border-color: #339de5"
v-if="$route.query.patientSource == 'WE_CHAT_APPLET'"
>
<div class="item" style="color: #339de5; border-color: #339de5"
v-if="$route.query.patientSource == 'WE_CHAT_APPLET'">
<img src="../../../assets/manage/xcx.png" alt="" />
<div>小程序</div>
</div>
<div
class="item"
style="color: #f4881f; border-color: #f4881f"
v-if="$route.query.patientSource == 'MANAGE_END'"
>
<div class="item" style="color: #f4881f; border-color: #f4881f"
v-if="$route.query.patientSource == 'MANAGE_END'">
<img src="../../../assets/manage/gld.png" alt="" />
<div>管理端</div>
</div>
@ -68,12 +45,7 @@
<div class="age">出生日期{{ $route.query.birthDate }}</div>
<div class="age">预约时间{{ $route.query.appointmentDate }}</div>
<div class="rihgt">
<Button
v-show="collapsiable"
type="text"
@click="shiftCollapsiable"
size="mini"
>
<Button v-show="collapsiable" type="text" @click="shiftCollapsiable" size="mini">
<span style="font-size: 14px">
{{ fold ? "收起" : "展开" }}
<i :class="fold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i>
@ -86,14 +58,7 @@
<div>家属电话{{ $route.query.familyMemberPhone }}</div>
<div>登记日期{{ $route.query.registrationDate }}</div>
<div>开证医生{{ $route.query.certificateIssuingDoctorName }}</div>
<div
style="
width: 50%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
"
>
<div style="width: 50%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
主要诊断{{ $route.query.mainDiagnosis }}
</div>
</div>
@ -107,14 +72,7 @@
<div>注册时间{{ $route.query.createTime }}</div>
<div>预约治疗组{{ $route.query.appointmentTreatmentGroup }}</div>
<div>责任护士{{ $route.query.responsibleNurse }}</div>
<div
style="
width: 50%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
"
>
<div style="width: 50%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
登记号{{ $route.query.registrationNo }}
</div>
</div>
@ -122,12 +80,7 @@
</div>
<div class="selectitem" v-if="activeName == 'second' && value">
<el-select v-model="value" placeholder="请选择" @change="changeitem">
<el-option
v-for="item in options"
:key="item.id"
:label="item.signRouteName"
:value="item.id"
>
<el-option v-for="item in options" :key="item.id" :label="item.signRouteName" :value="item.id">
</el-option>
</el-select>
</div>
@ -137,28 +90,17 @@
<visitRecords :fold="fold"></visitRecords>
</el-tab-pane>
<el-tab-pane label="康复计划及记录" name="second">
<RehabilitationPlanandRecords
v-if="activeName == 'second'"
:signPatientRecordld="signPatientRecordld"
:fold="fold"
></RehabilitationPlanandRecords>
<RehabilitationPlanandRecords v-if="activeName == 'second'" :signPatientRecordld="signPatientRecordld"
:fold="fold"></RehabilitationPlanandRecords>
</el-tab-pane>
<el-tab-pane label="健康宣教" name="third">
<healthEducation
v-if="activeName == 'third'"
:fold="fold"
></healthEducation>
<healthEducation v-if="activeName == 'third'" :fold="fold"></healthEducation>
</el-tab-pane>
<el-tab-pane label="指标监测" name="fourth">
<indicatorMonitoring
v-if="activeName == 'fourth'"
></indicatorMonitoring>
<indicatorMonitoring v-if="activeName == 'fourth'"></indicatorMonitoring>
</el-tab-pane>
<el-tab-pane label="签约记录" name="five">
<signingRecords
v-if="activeName == 'five'"
:fold="fold"
></signingRecords>
<signingRecords v-if="activeName == 'five'" :fold="fold"></signingRecords>
</el-tab-pane>
</el-tabs>
</div>
@ -232,6 +174,7 @@ export default {
overflow: hidden;
width: 600px;
}
.selectitem {
display: inline-block;
width: 220px;
@ -240,6 +183,7 @@ export default {
z-index: 999;
line-height: 65px;
}
.header {
background-color: #f1f3f5;
padding-top: 10px;
@ -323,6 +267,7 @@ export default {
.age {
padding-left: 10px;
}
.rihgt {
position: absolute;
right: 40px;

View File

@ -96,7 +96,7 @@
</span>
<span style="margin-left: 13px;">
<el-switch class="switchStyle" v-model="phoneDialMethodshow" active-color="#1890ff" inactive-color="#5AC1A1"
active-text="人工电话" inactive-text="智能外呼" @change="changeswitchtwo" />
active-text="智能外呼" inactive-text="人工电话" @change="changeswitchtwo" />
</span>
</el-form-item>
<!-- <el-form-item label="" prop="manageRouteName" v-if="queryParams.nodeExecuteStatus == 'UNEXECUTED' &&foldshow==true">

View File

@ -36,7 +36,13 @@
<div ref="table">
<el-table :max-height="maxTableHeight" v-loading="loading" :data="questionList">
<el-table-column label="序号" type="index" width="48" align="center" />
<el-table-column label="姓名" align="center" prop="patientName" />
<el-table-column label="姓名" align="center" prop="patientName">
<!-- <template slot-scope="scope">
<el-button type="text" @click="handleAuthRole(scope.row)">
{{ scope.row.patientName }}
</el-button>
</template> -->
</el-table-column>
<el-table-column label="问卷标题" align="center" prop="questionnaireName" />
<el-table-column label="得分" align="center" prop="totalScore" />
<el-table-column label="填写时间" align="center" prop="createTime" />
@ -179,6 +185,36 @@ export default {
this.screenChange()
},
methods: {
/** 详情操作 */
handleAuthRole(row) {
this.$router.push({
path: "/patient/patientdetails",
query: {
path: "/patient/patientInfo",
patientId: row.patientId,
patientName: row.patientName,
patientPhone: row.patientPhone,
familyMemberPhone: row.familyMemberPhone,
cardNo: row.cardNo,
mainDiagnosis: row.mainDiagnosis,
hospitalAgencyName: row.hospitalAgencyName,
campusAgencyName: row.campusAgencyName,
departmentName: row.departmentName,
wardName: row.wardName,
certificateIssuingDoctorName: row.certificateIssuingDoctorName,
appointmentTreatmentGroup: row.appointmentTreatmentGroup,
responsibleNurse: row.responsibleNurse,
registrationNo: row.registrationNo,
registrationDate: row.registrationDate,
appointmentDate: row.appointmentDate,
sex: row.sex,
birthDate: row.birthDate,
patientSource: row.patientSource,
createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : "",
},
});
},
//
look(item) {
selectQuestionnaireResult(item.patientQuestionSubmitResultId).then(res => {