| | |
| | | </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="姓名" |
| | | width="100"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="taskName" |
| | | align="center" |
| | | width="200" |
| | | show-overflow-tooltip |
| | | label="任务名称" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="sendstate" |
| | | align="center" |
| | | width="200" |
| | | label="服务状态" |
| | | label="任务状态" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.sendstate == 1"> |
| | |
| | | </div> |
| | | <div v-if="scope.row.sendstate == 2"> |
| | | <el-tag type="primary" :disable-transitions="false" |
| | | >待执行</el-tag |
| | | >待随访</el-tag |
| | | > |
| | | </div> |
| | | <div v-if="scope.row.sendstate == 3"> |
| | |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="taskName" |
| | | align="center" |
| | | width="200" |
| | | show-overflow-tooltip |
| | | label="任务名称" |
| | | > |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | prop="templatename" |
| | |
| | | @click="Seedetails(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-zx" |
| | | ><i class="el-icon-s-order"></i>查看服务结果</span |
| | | ><i class="el-icon-s-order"></i>查看</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | |
| | | </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> |
| | | <el-form ref="form" :model="form" label-width="120px"> |
| | | <div class="headline"> |
| | | <div>人工处理</div> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12" |
| | | ><el-form-item label="联系电话"> |
| | | <el-input |
| | | disabled |
| | | placeholder="联系电话缺失" |
| | | v-model="userform.telcode" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | ><el-form-item label="联系人电话"> |
| | | <el-input |
| | | disabled |
| | | placeholder="联系人电话缺失" |
| | | v-model="userform.relativetelcode" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <div style="margin-left: 30px"> |
| | | <el-button type="primary" plain @click="Editsingletasksonyic">保存服务</el-button> |
| | | </div> |
| | | </div> |
| | | <el-form ref="form" :model="form" label-width="80px"> |
| | | </div> |
| | | |
| | | <el-form-item label="随访记录"> |
| | | <el-input type="textarea" v-model="form.remark"></el-input> |
| | | <el-input type="textarea" v-model="form.remark" ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="处理意见"> |
| | |
| | | /> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <!-- <el-row :gutter="20"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="标签" prop="desc"> |
| | | <div class="xinz-inf"> |
| | |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | </el-form> |
| | | </div> |
| | | </el-collapse-item> |
| | |
| | | // 获取基础信息 |
| | | getuserinfo() { |
| | | const queryParams = { |
| | | pid: Number(this.id), |
| | | pid: Number(this.patid), |
| | | allhosp: "0", |
| | | pageNum: 1, |
| | | }; |
| | | // 患者基础信息 |
| | | messagelistpatient(queryParams).then((response) => { |
| | | console.log(response.rows[0],'888'); |
| | | this.userform = response.rows[0]; |
| | | this.dynamicTags = response.rows[0].tagList.map(this.processElement); |
| | | }); |
| | |
| | | getTaskservelist({ |
| | | patid: this.patid, |
| | | subId: id, |
| | | deptOrDistrict:2, |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.form = res.rows[0].serviceSubtaskList[0]; |
| | | console.log(this.form, "form3"); |
| | | this.logsheetlist = res.rows[0].serviceSubtaskList; |
| | | this.templateid = this.logsheetlist[0].templateid; |
| | | console.log(this.form.serviceType, "serviceType"); |
| | | } |
| | | |
| | | this.getuserinfo(); |
| | | if (this.Voicetype) { |
| | | this.getPersonVoices(); |
| | | } else { |
| | |
| | | getTaskservelist({ |
| | | patid: this.patid, |
| | | subId: this.id, |
| | | deptOrDistrict:2, |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | objson = res.rows[0].serviceSubtaskList[0]; |
| | |
| | | getTaskservelist({ |
| | | patid: this.patid, |
| | | subId: this.id, |
| | | deptOrDistrict:2, |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | objson = res.rows[0].serviceSubtaskList[0]; |
| | | objson.excep = excep; |
| | | objson.remark = remark; |
| | | Editsingletaskson(objson).then((res) => { |
| | | if (res.code) { |
| | | this.$modal.msgSuccess("服务修改成功"); |
| | |
| | | sendAgain() { |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | // 更改异常状态 |
| | | // 查看详情 |
| | | Seedetails(row) { |
| | | this.$modal |
| | | .confirm('是否查看任务为"' + optionids + '"的服务项?') |
| | | .then(function () {}) |
| | | .confirm('是否查看任务为"' + row.taskName + '"的服务详情数据?') |
| | | .then(() => { |
| | | this.getList(); |
| | | this.taskid = row.taskid; |
| | | this.id = row.id; |
| | | this.patid = row.patid; |
| | | this.Voicetype = row.type; |
| | | this.serviceType = row.serviceType; |
| | | this.getTaskservelist(this.id); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | |
| | | addserviceSubtask(form).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("创建成功"); |
| | | }else{ |
| | | } else { |
| | | this.$modal.msgError("创建失败"); |
| | | } |
| | | this.dialogFormVisible=false; |
| | | this.dialogFormVisible = false; |
| | | }); |
| | | }, |
| | | updateScore(a, b, c) { |