| | |
| | | </div> |
| | | </div> |
| | | <div :class="form.serviceType==2?'Followuserinfo':'Followuserinfos'"> |
| | | |
| | | <div> |
| | | <div class="headline"> |
| | | <div>人工处理</div> |
| | | <div style="margin-left: 30px;"><el-button type="warning" |
| | | >一键呼叫</el-button |
| | | ></div> |
| | | <div style="margin-left: 30px"> |
| | | <el-button type="warning">一键呼叫</el-button> |
| | | </div> |
| | | </div> |
| | | <el-form ref="form" :model="form" label-width="80px"> |
| | | <el-form-item label="随访记录"> |
| | |
| | | <el-button plain type="info" @click="Editsingletaskson('5')" |
| | | >中心随访</el-button |
| | | > |
| | | <el-button type="primary" round @click="sendAgain()" |
| | | >再次随访</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-collapse v-model="activeNames" @change="handleChange"> |
| | | <el-collapse-item title="查看当前患者信息" name="1"> |
| | | <div class="detailed"> |
| | | <el-form |
| | | ref="userform" |
| | | :model="userform" |
| | | |
| | | label-width="100px" |
| | | > |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="患者姓名" prop="name"> |
| | | <el-input |
| | | v-model="userform.name" |
| | | placeholder="请输入姓名" |
| | | maxlength="30" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | ><el-form-item label="联系方式" prop="telcode"> |
| | | <el-input |
| | | v-model="userform.telcode" |
| | | placeholder="请输入联系方式" |
| | | maxlength="30" |
| | | /> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="出生地" prop="birthplace"> |
| | | <el-input |
| | | v-model="userform.birthplace" |
| | | placeholder="国、省、地市、区县、街道等详细信息" |
| | | maxlength="50" |
| | | /> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="24" |
| | | ><el-form-item label="居住地" prop="placeOfResidence"> |
| | | <el-input |
| | | v-model="userform.placeOfResidence" |
| | | placeholder="国、省、地市、区县、街道等详细信息" |
| | | maxlength="50" |
| | | /> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="标签" prop="desc"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="tag.tagname" |
| | | type="success" |
| | | v-for="tag in dynamicTags" |
| | | v-if="tag.isoperation != 3" |
| | | |
| | | :disable-transitions="false" |
| | | |
| | | > |
| | | {{ tag.tagname }} |
| | | </el-tag> |
| | | <el-select |
| | | v-if="inputVisible" |
| | | v-model="inputValue" |
| | | @change="handleInputConfirm" |
| | | filterable |
| | | allow-create |
| | | default-first-option |
| | | placeholder="请选择/查询" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.tagid" |
| | | :label="item.tagname" |
| | | :value="item.tagname" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | >+ 新增标签</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </div> |
| | | </el-collapse-item> |
| | | </el-collapse> |
| | | </div> |
| | | </div> |
| | | <div v-if="form.serviceType==2"> |
| | |
| | | </div> |
| | | |
| | | <div class="preview-left" v-else> |
| | | |
| | | <div |
| | | class="topic-dev" |
| | | v-for="(item, index) in tableDatatop" |
| | |
| | | <el-alert :title="item.prompt" type="warning"> </el-alert> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="scriptTopic-dev" :key="index" v-else> |
| | | <div class="dev-text"> |
| | |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | <el-dialog title="患者再次随访" :visible.sync="dialogFormVisible"> |
| | | <el-form ref="form" :model="zcform" label-width="80px"> |
| | | <el-form-item label="患者名称"> |
| | | <el-input style="width: 400px" v-model="zcform.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="年龄"> |
| | | <el-input style="width: 400px" v-model="zcform.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="诊断"> |
| | | <el-input style="width: 400px" v-model="zcform.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="科室"> |
| | | <el-input style="width: 400px" v-model="zcform.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="病区"> |
| | | <el-input style="width: 400px" v-model="zcform.name"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="随访方式"> |
| | | <el-radio-group v-model="zcform.resource"> |
| | | <el-radio label="1">本病区随访</el-radio> |
| | | <el-radio label="2">随访中心随访</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="即刻发送"> |
| | | <el-switch v-model="zcform.delivery"></el-switch> |
| | | </el-form-item> |
| | | <el-form-item label="随访时间" v-if="!zcform.delivery"> |
| | | <el-col :span="11"> |
| | | <el-date-picker |
| | | type="date" |
| | | placeholder="选择日期" |
| | | v-model="zcform.date1" |
| | | style="width: 100%" |
| | | ></el-date-picker> |
| | | </el-col> |
| | | <el-col class="line" :span="2">-</el-col> |
| | | <el-col :span="11"> |
| | | <el-time-picker |
| | | placeholder="选择时间" |
| | | v-model="zcform.date2" |
| | | style="width: 100%" |
| | | ></el-time-picker> |
| | | </el-col> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogFormVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="dialogFormVisible = false" |
| | | >确 定</el-button |
| | | > |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | updatePersonVoices, |
| | | addPersonVoices, |
| | | } from "@/api/AiCentre/index"; |
| | | import { |
| | | messagelistpatient, |
| | | |
| | | } from "@/api/patient/homepage"; |
| | | export default { |
| | | dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"], |
| | | data() { |
| | |
| | | activeName: "wj", |
| | | voice: "", |
| | | templateid: "", |
| | | zcform: {}, |
| | | form: {}, |
| | | tableDatatop: [], //题目表 |
| | | voiceDatatop: [], //题目表 |
| | | dynamicTags: [], |
| | | |
| | | userform:{}, |
| | | Whetherall: false, //是否全部记录展示 |
| | | dialogFormVisible: false, |
| | | Voicetype: 0, //是否为语音服务 |
| | | logsheetlist: [], |
| | | topicobj: {}, |
| | |
| | | this.taskname = res.data.taskName; |
| | | this.overdata(); |
| | | } |
| | | }); |
| | | }, |
| | | // 获取基础信息 |
| | | getuserinfo() { |
| | | const queryParams = { |
| | | pid: Number(this.id), |
| | | allhosp: "0", |
| | | pageNum: 1, |
| | | }; |
| | | // 患者基础信息 |
| | | messagelistpatient(queryParams).then((response) => { |
| | | this.userform = response.rows[0]; |
| | | this.dynamicTags = response.rows[0].tagList.map(this.processElement); |
| | | }); |
| | | }, |
| | | // 获取语音数据 |
| | |
| | | } else { |
| | | this.Whetherall = true; |
| | | } |
| | | console.log('111'); |
| | | console.log("111"); |
| | | |
| | | getTaskservelist({ |
| | | patid: this.patid, |
| | |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.form = res.rows[0].serviceSubtaskList[0]; |
| | | console.log(this.form,'form3'); |
| | | console.log(this.form, "form3"); |
| | | this.logsheetlist = res.rows[0].serviceSubtaskList; |
| | | this.templateid = this.logsheetlist[0].templateid; |
| | | console.log(this.form.serviceType,'serviceType'); |
| | | console.log(this.form.serviceType, "serviceType"); |
| | | } |
| | | |
| | | if (this.form.scriptType==2) { |
| | |
| | | this.getsearchrResults(); |
| | | } |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | Editsingletaskson(son) { |
| | |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | // 调起再次发送 |
| | | sendAgain() { |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | // 更改异常状态 |
| | | Seedetails(row) { |
| | |
| | | .scriptTopic-isabnormal { |
| | | color: red; |
| | | } |
| | | .detailed { |
| | | width: 88%; |
| | | border-radius: 8px; |
| | | padding: 30px; |
| | | margin-bottom: 30px; |
| | | background-color: #ddf0f8; |
| | | .bg-purple { |
| | | margin-bottom: 20px; |
| | | } |
| | | .spanvalue { |
| | | display: inline-block; |
| | | min-width: 200px; |
| | | border-bottom: 1px solid rgb(172, 172, 172); |
| | | } |
| | | } |
| | | .headline { |
| | | font-size: 24px; |
| | | height: 40px; |