postdischarge-ui/src/views/system/record/record.vue

859 lines
27 KiB
Vue
Raw Normal View History

2024-03-28 10:35:04 +08:00
<template>
<div class="header">
<div class="topheader">
<div class="user">
2024-05-08 11:12:48 +08:00
<img class="headsculpture" src="../../../assets/manage/touxiang.png" alt="" v-if="list.sex == 'MALE'" />
<img class="headsculpture" src="../../../assets/manage/nvtouxiang.png" alt="" v-if="list.sex == 'FEMALE'" />
2024-03-28 10:35:04 +08:00
<div class="name">
{{ list.patientName }}
</div>
<div class="gender">
{{ list.sex == "MALE" ? "男" : list.sex == "FEMALE" ? "女" : "" }}
</div>
<div class="age">
{{ list.age }}
</div>
<div class="source">
2024-05-08 11:12:48 +08:00
<div class="item" style="color: #00e06e; border-color: #00e06e"
v-if="list.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'">
<img src="../../../assets/manage/gzh.png" alt="" style="width: 24px" />
2024-03-28 10:35:04 +08:00
<div>公众号</div>
</div>
2024-05-08 11:12:48 +08:00
<div class="item" style="color: #339de5; border-color: #339de5" v-if="list.patientSource == 'WE_CHAT_APPLET'">
2024-03-28 10:35:04 +08:00
<img src="../../../assets/manage/xcx.png" alt="" />
<div>小程序</div>
</div>
2024-05-08 11:12:48 +08:00
<div class="item" style="color: #f4881f; border-color: #f4881f" v-if="list.patientSource == 'MANAGE_END'">
2024-03-28 10:35:04 +08:00
<img src="../../../assets/manage/gld.png" alt="" />
<div>管理端</div>
</div>
</div>
</div>
<div class="information">
<div class="top">
<div>身份证号{{ list.cardNo }}</div>
<div>患者电话{{ list.patientPhone }}</div>
<div style="width: 50%">出生日期{{ list.birthDate }}</div>
</div>
<div class="bottom">
<!-- <div>注册时间{{ $route.query.createTime }}</div> -->
<div>家属电话{{ list.familyMemberPhone }}</div>
<div style="width: 50%">住址{{ list.address }}</div>
</div>
</div>
</div>
<div class="bottomheader">
<!-- 运动指导 -->
<!-- <div class="sport">运动指导</div>
<div class="sports">抗阻运动</div>
<div class="word">
抗阳运动可以加强心脏功能改善血液循环有效降低脑梗风,险您每周进行2次每次30分钟抗阳运动在运动时心率维持,指导如下
2024-04-11 17:22:20 +08:00
2024-03-28 10:35:04 +08:00
</div> -->
<!-- <div class="videoleft"><video src=""></video></div>
<div class="attention">运动注意事项</div>
<div class="attention">
1每次运动前需做热身运动5分钟运动后需做放松运动5分钟主要以低强度的有运动如慢步走为主
</div>
<div class="attention">
2劳逸结合:注意控制锻炼时间注意劳逸结合运动后无明显的疲倦感3循序渐进:循序渐进地进行锻炼初始以简单低强度的运动为主随后可逐渐增加强度和锻炼时间
</div>
<div class="attention">
3循序渐进:循序渐进地进行锻炼初始以简单低强度的运动为主随后可逐渐增加强度和锻炼时间
</div> -->
<!-- 复诊提醒 -->
<!-- <div>
<div class="sport">复诊提醒</div>
<div class="time">
<span class="number">1</span>
复诊时间
</div>
<div class="nexttime">您的下次复诊时间为2024-03-26</div>
<div class="images">
<image src="../assets/images/profile.jpg"></image>
</div>
</div> -->
<div style="display: flex">
<!-- 出院记录 -->
2024-04-11 17:22:20 +08:00
<div style="width: 30%; overflow: auto">
2024-03-28 10:35:04 +08:00
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="入院记录" name="first">
2024-05-08 11:16:38 +08:00
<div v-html="list.inHospitalInfo"></div>
2024-05-08 11:12:48 +08:00
</el-tab-pane>
2024-03-28 10:35:04 +08:00
<el-tab-pane label="手术记录" name="second">
2024-05-08 11:16:38 +08:00
<div v-html="list.surgicalRecord"></div>
2024-03-28 10:35:04 +08:00
</el-tab-pane>
2024-05-08 11:12:48 +08:00
<el-tab-pane label="出院记录" name="third">
2024-05-08 11:16:38 +08:00
<div v-html="list.outHospitalInfo"></div>
2024-03-28 10:35:04 +08:00
</el-tab-pane>
</el-tabs>
</div>
<!-- 文章模板 -->
2024-04-11 17:22:20 +08:00
<div class="right" v-if="$route.query.taskType == 'PROPAGANDA_ARTICLE'">
<div class="sport">文章模板:{{ formview.propagandaTitle }}</div>
2024-03-28 10:35:04 +08:00
<div class="bodytop">
<div>
2024-04-11 17:22:20 +08:00
<div class="know">{{ formview.propagandaTitle }}</div>
2024-03-28 10:35:04 +08:00
<div class="knowlist">
2024-05-15 14:32:56 +08:00
<Editorxj
v-model="formview.propagandaContent"
:min-height="192"
/>
</div>
<!-- <div class="knowlist">
2024-04-11 17:22:20 +08:00
{{ formview.propagandaContent }}
2024-05-15 14:32:56 +08:00
</div> -->
2024-04-11 17:22:20 +08:00
<img :src="baseUrl + formview.propagandaCoverPath" alt="" />
2024-05-08 11:12:48 +08:00
<video v-if="materialsType == 'VIDEO'" ref="myVideo" :src="baseUrl + materialsFilePath" controls></video>
2024-03-28 10:35:04 +08:00
</div>
</div>
</div>
<!-- 问卷模板 -->
2024-05-08 11:12:48 +08:00
<div class="right" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
">
<div style="float: right; margin-top: 20px" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
">
<el-form :inline="true" class="demo-form-inline" :model="questiondata" ref="questiondata">
2024-04-11 17:22:20 +08:00
<el-form-item label="任务处理信息" prop="routeHandleRemark">
2024-05-08 11:12:48 +08:00
<el-input type="textarea" disabled placeholder="请输入任务处理信息" v-model="questiondata.routeHandleRemark" />
2024-04-11 17:22:20 +08:00
</el-form-item>
</el-form>
</div>
2024-05-08 11:12:48 +08:00
<div class="sport" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
2024-04-11 17:22:20 +08:00
问卷模板: Barthel指数评定问卷
</div>
2024-05-08 11:12:48 +08:00
<div class="words" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
2024-03-28 10:35:04 +08:00
您好!本问卷用于评估日常生活能力请根据自身日常实际表现选择合适的选项
</div>
2024-04-11 17:22:20 +08:00
2024-05-08 11:12:48 +08:00
<div class="sport" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
2024-04-11 17:22:20 +08:00
人工随访模板: 神经内科人工随访
</div>
2024-05-08 11:12:48 +08:00
<div class="words" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
2024-04-11 17:22:20 +08:00
**您好!
</div>
2024-05-08 11:12:48 +08:00
<div class="words" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
2024-04-11 17:22:20 +08:00
我是医院的工作人员今天给您打电话想要了解一下您的恢复情况
</div>
2024-05-08 11:12:48 +08:00
<div class="words" v-for="(item, index) in questiondata.subjectResultList" :key="index">
2024-04-11 17:22:20 +08:00
{{ index + 1 }}.{{ item.questionName }}
2024-05-08 11:12:48 +08:00
<span v-if="item.questionType == 'MULTIPLE_CHOICE'">单选题</span>
<span v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS'">多选题</span>
<span v-if="item.questionType == 'SCORING_QUESTIONS'">打分题</span>
<span v-if="item.questionType == 'COMBINATION_RADIO_SUBJECT'">组合单选题</span>
<span v-if="item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'">组合多选题</span>
<span v-if="item.questionType == 'COMBINATION_BLANKS_SUBJECT'">组合填空题</span>
<span v-if="item.questionType == 'FILL_IN_THE_BLANKS'">填空题</span>
<span v-if="item.questionType == 'COMBINATION_SCORING_SUBJECT'">组合打分题</span>
<span v-if="item.questionType == 'DATE_BLANKS_SUBJECT'">日期填空题</span>
<span v-if="item.questionType == 'TIME_BLANKS_SUBJECT'">时间填空题</span>
<el-radio-group v-if="item.questionType == 'MULTIPLE_CHOICE' ||
item.questionType == 'COMBINATION_RADIO_SUBJECT' ||
item.questionType == 'SCORING_QUESTIONS' ||
item.questionType == 'COMBINATION_SCORING_SUBJECT'
" v-model="item.checked" class="custom-radio-group" @change="radioGroupChange($event, item)">
<el-radio disabled class="custom" v-for="(aitem, aindex) in item.optionResults" :key="aindex"
:label="aitem.id" @change="radioChange($event, aitem, index)">{{ aitem.optionName }}</el-radio>
2024-03-28 10:35:04 +08:00
</el-radio-group>
2024-04-11 17:22:20 +08:00
<!-- 多选组合多选 -->
2024-05-08 11:12:48 +08:00
<el-checkbox-group v-model="checkeddata" @change="radioGroupChange($event, item, 'checkbox')" v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS' ||
item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'
">
<el-checkbox disabled v-for="(aitem, aindex) in item.optionResults" :key="aindex" :label="aitem.id"
@change="radioChangecheck($event, aitem, index, aindex)">{{ aitem.optionName }}</el-checkbox>
2024-04-11 17:22:20 +08:00
</el-checkbox-group>
<!-- 填空题组合填空 -->
2024-05-08 11:12:48 +08:00
<div v-if="item.questionType == 'FILL_IN_THE_BLANKS' ||
item.questionType == 'COMBINATION_BLANKS_SUBJECT'
" class="tk">
<el-input disabled v-model="item.fillBlanksAnswer" placeholder="请输入答案" type="textarea" />
2024-04-11 17:22:20 +08:00
<!-- <el-input></el-input> -->
</div>
<!-- 日期填空题 -->
2024-05-08 11:12:48 +08:00
<div v-if="item.questionType == 'DATE_BLANKS_SUBJECT'" style="margin: 20px 0 10px 30px">
<el-date-picker disabled @change="timepicker($event, index)" clearable v-model="item.fillBlanksAnswer"
type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
2024-04-11 17:22:20 +08:00
</el-date-picker>
</div>
<!-- 时间填空题 -->
2024-05-08 11:12:48 +08:00
<div style="margin: 20px 0 10px 30px" v-if="item.questionType == 'TIME_BLANKS_SUBJECT'">
<el-time-select disabled @change="timepickerselect($event, index)" clearable
v-model="item.fillBlanksAnswer" :picker-options="{
start: '08:30',
step: '00:30',
end: '23:30',
}" placeholder="选择时间">
2024-04-11 17:22:20 +08:00
</el-time-select>
</div>
2024-03-28 10:35:04 +08:00
</div>
</div>
<!-- 电话外呼 -->
2024-06-17 16:41:09 +08:00
<!-- <div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
<div class="sport">电话外呼</div> -->
<div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
2024-03-28 10:35:04 +08:00
<div class="sport">电话外呼</div>
2024-04-11 17:22:20 +08:00
<div class="nexttime">
2024-06-17 16:41:09 +08:00
<el-form
ref="formlist"
:model="formlist"
label-width="110px"
:inline="true"
>
<!-- <br/> -->
<el-form-item label="是否接通" prop="phone">
<el-radio v-model="formlist.phoneConnectStatus" label="CONNECTED"
>已接通</el-radio
>
<el-radio v-model="formlist.phoneConnectStatus" label="NOTCONNECTED"
>未接通</el-radio
>
</el-form-item>
<br />
<el-form-item label="任务处理信息" prop="routeHandleRemark">
<el-input
v-model="formlist.routeHandleRemark"
placeholder="请输入任务处理信息"
/>
</el-form-item>
<br />
<!-- <el-form-item label="话术名称" prop="scriptName">
<el-input
disabled
v-model="formlist.scriptName"
placeholder="请输入话术名称"
/>
</el-form-item> -->
<!-- <br /> -->
<el-form-item label="通用话术名称" prop="phoneTemplateName">
<el-input
disabled
v-model="formlist.phoneTemplateName"
placeholder="请输入通用话术名称"
/>
</el-form-item>
<br />
<!-- <el-form-item label="话术简介" prop="scriptIntroduction">
<el-input
disabled
type="textarea"
v-model="formlist.scriptIntroduction"
placeholder="请输入话术简介"
/>
</el-form-item>
<el-form-item label="任务处理信息" prop="routeHandleRemark">
<el-input
type="textarea"
v-model="formlist.routeHandleRemark"
placeholder="请输入任务处理信息"
/>
</el-form-item> -->
<!-- <br /> -->
<el-form-item label="电话推送" prop="phonePushSign">
<!-- <el-input
type="textarea"
v-model="formlist.routeHandleRemark"
placeholder="请输入任务处理信息"
/> -->
<!-- <el-switch
disabled
v-model="formlist.phonePushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch> -->
<el-radio disabled v-model="formlist.phonePushSign" label="1"
>已开启</el-radio
>
<el-radio disabled v-model="formlist.phonePushSign" label="0"
>未开启</el-radio
>
</el-form-item>
<br />
<el-form-item label="电话" prop="patientPhone">
<el-input
disabled
v-model="formlist.patientPhone"
placeholder="请输入电话"
/>
</el-form-item>
<br />
<!-- <div style="background:red;width:200px;height:1600px"> -->
<el-form-item label="重复次数" prop="phoneRedialTimes">
<el-select
v-model="formlist.phoneRedialTimes"
disabled
style="width: 200px"
>
<el-option
v-for="item in optionslistS"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</el-form-item>
<br />
<el-form-item label="发送短信" prop="phone">
<el-select
disabled
v-model="formlist.phoneMessageRemind"
style="width: 200px"
>
<el-option
v-for="item in optionslist"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
<!-- <el-input
style="width: 200px"
v-model="formlist.phoneMessageRemind"
placeholder="请输入电话"
/> -->
</el-form-item>
<br />
<div class="pushMethod">
<el-form-item label="短信模板:" prop="phone">
<span class="spanname">
<message
2024-06-18 10:52:00 +08:00
style="width: 200px;height: 10px;"
2024-06-17 16:41:09 +08:00
@on-template="messageontemplateMESSAGE"
:templateId="formlist.phoneMessageTemplateId"
:templateName="formlist.phoneMessageTemplateName"
></message>
</span>
</el-form-item>
</div>
<br/>
<el-form-item label="话术图" prop="phone">
<img
:src="formlist.scriptFilePath"
style="width: 250px; height: 200px"
/>
</el-form-item>
<br />
</el-form>
</div>
<!-- <div class="nexttime">
2024-05-08 11:12:48 +08:00
<el-form ref="form" :model="formlist" label-width="110px" :inline="true">
2024-04-11 17:22:20 +08:00
<el-form-item label="话术名称" prop="scriptName">
2024-05-08 11:12:48 +08:00
<el-input disabled v-model="formlist.scriptName" placeholder="请输入话术名称" />
2024-04-11 17:22:20 +08:00
</el-form-item>
<br />
<el-form-item label="通用话术名称" prop="commonScriptName">
2024-05-08 11:12:48 +08:00
<el-input disabled v-model="formlist.commonScriptName" placeholder="请输入通用话术名称" />
2024-04-11 17:22:20 +08:00
</el-form-item>
<br />
<el-form-item label="话术简介" prop="scriptIntroduction">
2024-05-08 11:12:48 +08:00
<el-input disabled type="textarea" v-model="formlist.scriptIntroduction" placeholder="请输入话术简介" />
2024-04-11 17:22:20 +08:00
</el-form-item>
2024-04-12 13:13:29 +08:00
<el-form-item label="任务处理信息" prop="routeHandleRemark">
2024-05-08 11:12:48 +08:00
<el-input type="textarea" disabled placeholder="请输入任务处理信息" v-model="formlist.routeHandleRemark" />
2024-04-12 13:13:29 +08:00
</el-form-item>
2024-04-11 17:22:20 +08:00
</el-form>
2024-06-17 16:41:09 +08:00
</div> -->
2024-03-28 10:35:04 +08:00
</div>
<!-- 文字提醒 -->
2024-04-11 17:22:20 +08:00
<div v-if="$route.query.taskType == 'TEXT_REMIND'">
<div class="sport">文字提醒</div>
2024-03-28 10:35:04 +08:00
2024-04-11 17:22:20 +08:00
<div class="nexttime">
2024-05-08 11:12:48 +08:00
<el-form ref="form" :model="formlists" label-width="110px" :inline="true">
2024-04-11 17:22:20 +08:00
<el-form-item label="提醒内容" prop="textRemindContent">
2024-05-08 11:12:48 +08:00
<el-input disabled type="textarea" style="width: 500px" v-model="formlists.textRemindContent"
placeholder="请输入提醒内容" />
2024-04-11 17:22:20 +08:00
</el-form-item>
</el-form>
</div>
2024-03-28 10:35:04 +08:00
</div>
</div>
</div>
</div>
</template>
2024-04-11 17:22:20 +08:00
2024-05-08 11:12:48 +08:00
<script>
2024-04-11 17:22:20 +08:00
import { getPropaganda } from "@/api/manage/propaganda";
2024-05-15 14:32:56 +08:00
import Editorxj from "../../system/Editorxj/index.vue";
2024-06-17 16:41:09 +08:00
import message from "../components/message.vue";
import {
2024-04-11 17:22:20 +08:00
2024-06-17 16:41:09 +08:00
selectPhonePush,
} from "@/api/system/followupsee";
2024-04-11 17:22:20 +08:00
import {
selectVisitRecord,
selectPatientQuestionSubmit,
} from "@/api/system/taskExecuteRecord";
import { getScript } from "@/api/manage/script";
2024-06-18 17:46:55 +08:00
import { getAgencytype } from "@/api/system/agency";
2024-03-28 10:35:04 +08:00
export default {
2024-06-17 16:41:09 +08:00
components: {
message,
Editorxj
},
2024-03-28 10:35:04 +08:00
name: "patientdetails",
2024-06-17 16:41:09 +08:00
// components: { },
2024-03-28 10:35:04 +08:00
data() {
return {
2024-04-11 17:22:20 +08:00
checkeddata: [],
2024-04-11 18:05:23 +08:00
formlists: {},
2024-04-11 17:22:20 +08:00
baseUrl: process.env.VUE_APP_BASE_API,
2024-03-28 10:35:04 +08:00
radio: "1",
activeName: "first",
id: "",
list: [],
2024-04-11 17:22:20 +08:00
questiondata: {
totalScore: 0, //总分
routeHandlePerson: null,
routeHandleId: null,
},
formview: [],
// 电话外呼
formlist: {},
materialsFilePath: "",
materialsType: "",
2024-06-17 16:41:09 +08:00
optionslistS:[],
optionslist:[],
2024-03-28 10:35:04 +08:00
};
},
created() {
console.log(this.$route.query);
this.info();
2024-06-18 17:46:55 +08:00
this.infolistMESSAGE();
this.infolistword()
2024-04-18 16:21:19 +08:00
// 文字提醒
2024-04-11 18:05:23 +08:00
if (this.$route.query.textRemindContent) {
this.formlists.textRemindContent = this.$route.query.textRemindContent;
}
2024-04-18 16:21:19 +08:00
if (this.$route.query.routeHandleRemark) {
this.formlist.routeHandleRemark = this.$route.query.routeHandleRemark;
2024-04-12 13:13:29 +08:00
}
2024-04-11 17:22:20 +08:00
// 文章末班
if (this.$route.query.taskType == "PROPAGANDA_ARTICLE") {
this.getPropagandaLIST();
} else if (
// 人工随访和问卷
this.$route.query.taskType == "ARTIFICIAL_FOLLOW_UP" ||
this.$route.query.taskType == "QUESTIONNAIRE_SCALE"
) {
this.selectlist();
} else if (this.$route.query.taskType == "PHONE_OUTBOUND") {
// 电话外呼
2024-06-17 16:41:09 +08:00
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
2024-04-11 17:22:20 +08:00
if (response.data) {
this.formlist = response.data;
2024-06-19 09:11:52 +08:00
if(this.formlist.phonePushSign==0){
this.formlist.phonePushSign='0'
}else if(this.formlist.phonePushSign==1){
this.formlist.phonePushSign='1'
}
2024-04-11 17:22:20 +08:00
}
});
}
2024-03-28 10:35:04 +08:00
},
methods: {
2024-06-17 16:41:09 +08:00
// 发送短信
infolistword() {
var dictType = "text_message_remind";
getAgencytype(dictType).then((res) => {
this.optionslist = res.data;
// this.taskinfo();
});
},
// 短信
messageontemplateMESSAGE(item) {
console.log(item, "2222222");
this.formlist.phoneMessageTemplateId = item.templateId;
this.formlist.phoneMessageTemplateName = item.templateName;
// this.form.messagePreview = item.templateContent;
},
// 重复次数
infolistMESSAGE() {
var dictType = "redial_times";
getAgencytype(dictType).then((res) => {
this.optionslistS = res.data;
});
},
2024-04-11 17:22:20 +08:00
// 宣教
getPropagandaLIST() {
getPropaganda(this.$route.query.templateId).then((response) => {
this.formview = response.data;
this.formview.materialsInfoList.forEach((e) => {
this.materialsType = e.materialsType;
this.materialsFilePath = e.materialsFilePath;
});
});
},
// 问卷和随访
selectlist() {
selectPatientQuestionSubmit(this.$route.query.patientId).then((res) => {
console.log(res, "res");
this.questiondata = res.data;
if (this.$route.query.routeHandleRemark) {
this.questiondata.routeHandleRemark =
this.$route.query.routeHandleRemark;
}
this.questiondata.subjectResultList.forEach((e) => {
e.optionResults.forEach((el) => {
// console.log(el, "el");
if (
(el.optionChooseSign == "0" &&
e.questionType == "MULTIPLE_CHOICE") ||
e.questionType == "COMBINATION_RADIO_SUBJECT"
) {
e.checked = el.id;
} else if (
2024-04-12 09:36:35 +08:00
el.optionChooseSign == "0" &&
e.questionType == "MULTIPLE_CHOICE_QUESTIONS"
2024-04-11 17:22:20 +08:00
) {
this.checkeddata.push(el.id);
} else if (
el.optionChooseSign == "0" &&
e.questionType == "SCORING_QUESTIONS"
) {
e.checked = el.id;
2024-04-12 09:36:35 +08:00
} else if (
e.questionType == "COMBINATION_MULTIPLE_SUBJECT" &&
el.optionChooseSign == "0"
) {
this.checkeddata.push(el.id);
2024-04-11 17:22:20 +08:00
}
});
});
});
},
// 日期填空题
timepicker(e, index) {
this.questiondata.questionSubjectList[index].optionAnswer = e;
},
// 时间填空题
timepickerselect(e, index) {
console.log(e);
this.questiondata.questionSubjectList[index].optionAnswer = e;
},
2024-05-08 11:12:48 +08:00
radioGroupChange(e, item) { },
2024-04-11 17:22:20 +08:00
// 选中某个单选框时由radio时触发
radioChange(e, item, index) {
console.log(e, item, index, "选中某个单选框时");
this.questiondata.questionSubjectList[
index
].questionSubjectOptionList.forEach((el) => {
if (el.id == item.id) {
el.optionChooseSign = "0";
} else {
el.optionChooseSign = "1";
}
});
},
// 复选框
radioChangecheck(e, item, index, aindex) {
console.log(e, item, index, "选中某个复选框时");
if (e == true) {
this.questiondata.questionSubjectList[index].questionSubjectOptionList[
aindex
].optionChooseSign = "0";
} else {
this.questiondata.questionSubjectList[index].questionSubjectOptionList[
aindex
].optionChooseSign = "1";
}
console.log(this.questiondata, "11111111复选框");
},
2024-03-28 10:35:04 +08:00
info() {
2024-04-11 17:22:20 +08:00
selectVisitRecord(this.$route.query.patientId).then((res) => {
2024-03-28 10:35:04 +08:00
console.log(res);
this.list = res.data;
});
},
handleClick(tab, event) {
console.log(tab, event);
},
},
};
</script>
2024-05-08 11:12:48 +08:00
<style lang="scss" scoped>
2024-05-31 15:24:26 +08:00
::v-deep iframe{
width:100%;
height: 500px;
}
2024-04-18 16:21:19 +08:00
.tk {
2024-04-12 10:18:56 +08:00
::v-deep .el-textarea__inner {
margin: 20px 0 10px 30px;
}
}
2024-05-08 11:12:48 +08:00
2024-04-11 17:22:20 +08:00
::v-deep .el-radio {
padding: 10px;
}
2024-05-08 11:12:48 +08:00
2024-04-11 17:22:20 +08:00
::v-deep .el-checkbox-group {
display: flex;
flex-direction: column;
padding: 10px 0px 10px 24px;
}
2024-05-08 11:12:48 +08:00
2024-04-11 17:22:20 +08:00
::v-deep .el-checkbox {
padding: 10px 0 10px 0px;
// padding: 10px;
}
2024-05-08 11:12:48 +08:00
2024-04-11 17:22:20 +08:00
.custom-radio-group {
display: flex;
flex-direction: column;
padding: 10px 0 10px 10px;
2024-05-08 11:12:48 +08:00
2024-04-11 17:22:20 +08:00
.custom {
padding: 10px 0 10px 10px;
}
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.custom-radio-group {
display: flex;
flex-direction: column;
padding: 10px 0 10px 10px;
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.custom {
padding: 10px 0 10px 10px;
}
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.bodytop {
position: relative;
top: 20px;
2024-04-11 17:22:20 +08:00
height: 500px;
width: 600px;
2024-03-28 10:35:04 +08:00
margin: 0 auto;
// background: red;f
overflow: auto;
border: 1px solid #e2e2e2;
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.titledata {
margin: 30px 0px 15px 30px;
top: 14px;
font-size: 20px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.audiotop {
margin: 10px 0px 10px 30px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
img {
// width: 362px;
// height: 127px;
margin: 0px 0px 0px 30px;
}
2024-05-08 11:12:48 +08:00
2024-04-11 17:22:20 +08:00
video {
margin: 0px 0px 0px 30px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.know {
margin: 11px 0px 10px 30px;
font-size: 20px;
font-weight: 550;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.knowlist {
margin: 10px 0px 10px 30px;
font-size: 16px;
}
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.right {
width: 70%;
height: 500px;
// background: yellow;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.header {
background-color: #f1f3f5;
padding-top: 10px;
::v-deep .el-tabs__header {
margin: 0 !important;
width: 100%;
// overflow: auto;
// height: 500px;
// background: red;
}
.bottomheader {
2024-06-18 10:52:00 +08:00
overflow-y: scroll;
2024-03-28 10:35:04 +08:00
width: 99%;
2024-06-18 10:52:00 +08:00
height: 67vh;
2024-03-28 10:35:04 +08:00
background-color: #fff;
margin: 10px auto;
padding: 10px 20px;
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.sport {
padding: 10px 50px 10px 10px;
font-size: 20px;
font-weight: 600;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.words {
font-size: 15px;
padding: 10px 50px 10px 10px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.sports {
position: absolute;
left: 50%;
transform: translate(-50%);
font-size: 18px;
font-weight: 600;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.word {
font-size: 14px;
font-weight: 550;
padding: 50px 50px 10px 10px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.videoleft {
width: 40%;
height: 200px;
background: red;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.time {
font-size: 20px;
font-weight: 550;
padding: 10px 50px 10px 10px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.number {
width: 25px;
height: 25px;
text-align: center;
display: inline-block;
color: white;
background: blue;
border-radius: 50%;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.nexttime {
font-size: 15px;
padding: 10px 50px 10px 10px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.images {
width: 53%;
height: 241px;
margin: 0 auto;
background: red;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
.attention {
font-size: 14px;
font-weight: 550;
padding: 10px 50px 10px 10px;
}
2024-05-08 11:12:48 +08:00
2024-03-28 10:35:04 +08:00
// .videobottom
// {
// font-size: 14px;
// font-weight: 550;
// padding: 10px 50px 10px 10px;
// }
}
.topheader {
width: 99%;
background-color: #fff;
margin: 0 auto;
.information {
display: flex;
flex-wrap: wrap;
padding: 10px 20px;
height: 110px;
.top,
.bottom {
color: #666666;
width: 100%;
display: flex;
div {
width: 25%;
}
}
}
.user {
width: 100%;
padding: 0 20px;
display: flex;
height: 80px;
align-items: center;
line-height: 80px;
.source {
display: flex;
.item {
line-height: 30px;
font-size: 14px;
margin-left: 20px;
border: 1px solid #c7c7c7;
width: 100px;
border-radius: 5px;
justify-content: center;
height: 30px;
display: flex;
align-items: center;
img {
margin-right: 10px;
width: 20px;
height: 20px;
}
}
}
.name {
font-size: 20px;
padding-left: 12px;
}
.gender {
padding-left: 10px;
}
.age {
padding-left: 10px;
}
.headsculpture {
border-radius: 50%;
width: 40px;
height: 40px;
}
}
}
}
</style>