| | |
| | | <div class="Followupdetailspage"> |
| | | <div class="Followuserinfo"> |
| | | <div> |
| | | <div class="userinfo-text">{{ sendname }}<span>患者服务详情详情</span> |
| | | <div class="userinfo-text"> |
| | | {{ sendname }}<span>患者服务详情</span> |
| | | <!-- <el-button type="success">随访后短信</el-button> --> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-table :data="logsheetlist" style="width: 100%"> |
| | | <el-table-column |
| | | prop="sendname" |
| | | align="center" |
| | | label="姓名" |
| | | > |
| | | <el-table-column prop="sendname" align="center" label="姓名"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="sendstate" |
| | | align="center" |
| | | label="服务状态" |
| | | > |
| | | <el-table-column prop="sendstate" align="center" label="服务状态"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="updateTime" |
| | |
| | | show-overflow-tooltip |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="taskName" align="center" width="200" |
| | | show-overflow-tooltip label="任务名称"> |
| | | <el-table-column |
| | | prop="taskName" |
| | | align="center" |
| | | width="200" |
| | | show-overflow-tooltip |
| | | label="任务名称" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="templatename" |
| | |
| | | v-for="(item, index) in tableDatatop" |
| | | :key="item.aaa" |
| | | > |
| | | <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 1"> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="index" |
| | | v-if="item.scriptType == 1" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[单选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | |
| | | @change="handleOptionChange($event, index, item)" |
| | | > |
| | | <el-radio |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | v-for="( |
| | | items, index |
| | | ) in item.svyLibTemplateTargetoptions" |
| | | :key="index" |
| | | :label="items.optioncontent" |
| | | >{{ items.optioncontent }}</el-radio |
| | |
| | | </div> |
| | | </div> |
| | | <!-- 多选 --> |
| | | <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 2"> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="index" |
| | | v-if="item.scriptType == 2" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[多选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | |
| | | > |
| | | <el-checkbox |
| | | @change="$forceUpdate()" |
| | | v-for="(items, indexs) in item.svyLibTemplateTargetoptions" |
| | | v-for="( |
| | | items, indexs |
| | | ) in item.svyLibTemplateTargetoptions" |
| | | :key="indexs" |
| | | :label="items.optioncontent" |
| | | > |
| | |
| | | </div> |
| | | </div> |
| | | <!-- 填空 --> |
| | | <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 4"> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="index" |
| | | v-if="item.scriptType == 4" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[问答]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | |
| | | <div class="borderdiv"> |
| | | <div> |
| | | <div class="leftside"> |
| | | <i class="el-icon-phone-outline"></i><span>您今天身体情况怎么样</span> |
| | | <i class="el-icon-phone-outline"></i |
| | | ><span>您今天身体情况怎么样</span> |
| | | </div> |
| | | <div class="offside"> |
| | | <i class="el-icon-user"></i> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getsearchrResult, |
| | | getTaskservelist, |
| | | |
| | | } from "@/api/AiCentre/index"; |
| | | import { getsearchrResults, getTaskservelist } from "@/api/AiCentre/index"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | userid: "", |
| | | input: "今天身体还不错", |
| | | radio: "2", |
| | | taskname:'', |
| | | taskname: "", |
| | | tableDatatop: [],//题目表 |
| | | logsheetlist:[], |
| | | sendname:null, |
| | |
| | | this.sendname=this.$route.query.sendname; |
| | | this.patid=this.$route.query.patid; |
| | | this.serviceType=this.$route.query.serviceType; |
| | | this.getsearchrResult(); |
| | | this.getsearchrResults(); |
| | | this.getTaskservelist(); |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | // 获取问卷数据 |
| | | getsearchrResult(){ |
| | | getsearchrResult({ |
| | | getsearchrResults() { |
| | | getsearchrResults({ |
| | | taskid:this.taskid, |
| | | patid:this.patid, |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | this.tableDatatop = res.data.scriptResult.script; |
| | | this.tableDatatop.forEach((item) => { |
| | | if (item.scriptResult && item.scriptType != 2) { |
| | | item.scriptResult = JSON.parse(item.scriptResult); |
| | | } else if (item.scriptResult && item.scriptType == 2) { |
| | | item.scriptResult = item.scriptResult.split("&"); |
| | | } |
| | | }); |
| | | this.taskname = res.data.taskName; |
| | | } |
| | | }); |