| | |
| | | <el-table-column prop="sendname" align="center" label="姓名"> |
| | | </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" |
| | |
| | | /> |
| | | </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" |
| | |
| | | </div> |
| | | <div :class="form.serviceType == 2 ? 'Followuserinfo' : 'Followuserinfos'"> |
| | | <div> |
| | | <div class="headline"> |
| | | <div>人工处理</div> |
| | | <div style="margin-left: 30px"> |
| | | <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="warning">一键呼叫</el-button> |
| | | </div> --> |
| | | </div> |
| | | </div> |
| | | <el-form ref="form" :model="form" label-width="80px"> |
| | | |
| | | <el-form-item label="随访记录"> |
| | | <el-input type="textarea" v-model="form.remark"></el-input> |
| | | </el-form-item> |
| | |
| | | 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) { |
| | |
| | | <!-- 选择患者列表 --> |
| | | <SFtable |
| | | ref="multipleTable" |
| | | |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :currentList="patientuserList" |
| | | :tableLabel="tableLabelhz" |
| | |
| | | } from "@/api/AiCentre/index"; |
| | | |
| | | import SFtable from "@/components/SFtable"; //表格组件 |
| | | import { MessageBox, } from "element-ui"; |
| | | import { MessageBox } from "element-ui"; |
| | | |
| | | export default { |
| | | name: "ServiceDetails", |
| | |
| | | // { required: true, message: "适用病区不能为空", trigger: "blur" }, |
| | | // ], |
| | | }, |
| | | belongDepts:[], |
| | | belongDepts: [], |
| | | // 科室院区查询入参 |
| | | queryParamsdept: {}, |
| | | quote: false, |
| | |
| | | this.$modal.msgError("请选择服务类型"); |
| | | return; |
| | | } |
| | | if (this.deptcodesWards[0]||this.leavehospitaldistrictcodes[0]) { |
| | | if (this.deptcodesWards[0] || this.leavehospitaldistrictcodes[0]) { |
| | | } else { |
| | | this.$modal.msgError("请选择科室或病区"); |
| | | return; |
| | |
| | | item.deptName = item.dept; |
| | | item.admindate = item.inhosptime; |
| | | item.sfzh = item.idcardno; |
| | | if (this.patientqueryParams.allhosp==6) { |
| | | item.patfrom = 1; |
| | | if (this.patientqueryParams.allhosp == 6) { |
| | | item.patfrom = 1; |
| | | } |
| | | this.overallCase.push(item); |
| | | this.form.patTaskRelevances.push(item); |
| | |
| | | "功能提示", |
| | | { |
| | | confirmButtonText: "保存任务", |
| | | cancelButtonText: "取消", |
| | | cancelButtonText: "暂存模板", |
| | | type: "warning", |
| | | } |
| | | ) |
| | |
| | | this.objyl.templateid = this.objyl.svyid; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | | this.objyl.isoperation = 1; |
| | | this.objyl.svyTaskTemplateScriptVOS = this.objyl.svyTemplateLibScripts; |
| | | this.form.svyTaskTemplateVO=this.objyl; |
| | | this.objyl.svyTaskTemplateScriptVOS = |
| | | this.objyl.svyTemplateLibScripts; |
| | | this.form.svyTaskTemplateVO = this.objyl; |
| | | this.submitForm(); |
| | | }) |
| | | .catch(() => {}); |
| | | .catch(() => { |
| | | if (Array.isArray(this.objyl.suitway)) { |
| | | this.objyl.suitway = this.objyl.suitway.join(","); |
| | | } |
| | | this.objyl.templateid = this.objyl.svyid; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | | this.objyl.isoperation = 1; |
| | | this.objyl.svyTaskTemplateScriptVOS = |
| | | this.objyl.svyTemplateLibScripts; |
| | | this.form.svyTaskTemplateVO = this.objyl; |
| | | this.form.templatename=this.objyl.svyname; |
| | | this.$modal.msgSuccess("暂存成功保存任务后模板失效"); |
| | | this.drawermb=false; |
| | | this.previewtf=false; |
| | | }); |
| | | } else { |
| | | setTimeout(() => { |
| | | this.previewFn(); |
| | |
| | | item.deptName = item.dept; |
| | | item.admindate = item.inhosptime; |
| | | item.sfzh = item.idcardno; |
| | | if (this.patientqueryParams.allhosp==6) { |
| | | item.patfrom = 1; |
| | | if (this.patientqueryParams.allhosp == 6) { |
| | | item.patfrom = 1; |
| | | } |
| | | this.overallCase.push(item); |
| | | this.form.patTaskRelevances.push(item); |
| | |
| | | "功能提示", |
| | | { |
| | | confirmButtonText: "保存任务", |
| | | cancelButtonText: "取消", |
| | | cancelButtonText: "暂存模板", |
| | | type: "warning", |
| | | } |
| | | ) |
| | |
| | | |
| | | this.submitForm(); |
| | | }) |
| | | .catch(() => {}); |
| | | .catch(() => { |
| | | if (Array.isArray(this.objyl.suitway)) { |
| | | this.objyl.suitway = this.objyl.suitway.join(","); |
| | | } |
| | | this.objyl.templateid = this.objyl.id; |
| | | this.objyl.isoperation = 1; |
| | | this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => { |
| | | item.ivrTaskScriptTargetoptionList = |
| | | item.ivrLibaScriptTargetoptionList; |
| | | }); |
| | | this.objyl.ivrTaskTemplateScriptVOList = |
| | | this.objyl.ivrLibaTemplateScriptVOList; |
| | | this.form.ivrTaskTemplateVO = this.objyl; |
| | | this.form.templatename=this.objyl.templateName; |
| | | this.$modal.msgSuccess("暂存成功保存任务后模板失效"); |
| | | this.drawermb=false; |
| | | this.previewtf=false; |
| | | }); |
| | | } else { |
| | | setTimeout(() => { |
| | | this.previewFn(); |
| | |
| | | @remove-tag="removehpsp" |
| | | :options="deptOptions" |
| | | :props="props" |
| | | filterable |
| | | :show-all-levels="false" |
| | | clearable |
| | | > |
| | |
| | | v-model="form.wardCodes" |
| | | :options="deptOptions" |
| | | :props="props" |
| | | filterable |
| | | :show-all-levels="false" |
| | | clearable |
| | | > |
| | |
| | | remark: undefined, |
| | | postIds: [], |
| | | roleIds: [], |
| | | deptCodes:[], |
| | | wardCodes:[], |
| | | deptCodes: [], |
| | | wardCodes: [], |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | |
| | | this.form = response.data; |
| | | this.belongDepts = response.belongDepts; |
| | | this.belongWards = response.belongWards; |
| | | if (this.form.hospInfo){ |
| | | if (this.form.hospInfo) { |
| | | this.form.deptCodes = JSON.parse(this.form.hospInfo); |
| | | }else{ |
| | | } else { |
| | | this.form.deptCodes = []; |
| | | } |
| | | if (this.form.deptInfo){ |
| | | if (this.form.deptInfo) { |
| | | this.form.wardCodes = JSON.parse(this.form.deptInfo); |
| | | }else{ |
| | | } else { |
| | | this.form.wardCodes = []; |
| | | } |
| | | console.log(this.form.wardCodes, "wardCodes"); |
| | |
| | | }, |
| | | // 删除科室 |
| | | removehpsp(valueArray) { |
| | | console.log(valueArray,'删除科室'); |
| | | console.log(this.form.userId,'删除'); |
| | | let code=valueArray[valueArray.length-1]; |
| | | removeusertd(this.form.userId,code).then((res) => { |
| | | console.log(valueArray, "删除科室"); |
| | | console.log(this.form.userId, "删除"); |
| | | let code = valueArray[valueArray.length - 1]; |
| | | removeusertd(this.form.userId, code).then((res) => { |
| | | if (res.code) { |
| | | } |
| | | }); |
| | |
| | | this.form.hospInfo = JSON.stringify(this.form.deptCodes); |
| | | this.form.deptInfo = JSON.stringify(this.form.wardCodes); |
| | | if (this.form.deptCodes.length) |
| | | this.form.deptCodes = this.form.deptCodes.map( |
| | | (subArr) => subArr[subArr.length - 1] |
| | | ); |
| | | this.form.deptCodes = this.form.deptCodes.map( |
| | | (subArr) => subArr[subArr.length - 1] |
| | | ); |
| | | if (this.form.wardCodes.length) |
| | | this.form.wardCodes = this.form.wardCodes.map( |
| | | (subArr) => subArr[subArr.length - 1] |
| | | ); |
| | | this.form.wardCodes = this.form.wardCodes.map( |
| | | (subArr) => subArr[subArr.length - 1] |
| | | ); |
| | | console.log(this.form.wardCodes, "wardCodes"); |
| | | console.log(this.form.deptCodes, "deptCodes"); |
| | | |
| | |
| | | }, |
| | | }; |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | ::v-deep .el-cascader-panel .el-cascader-menu__wrap { |
| | | height: 404px!important; |
| | | } |
| | | // .el-cascader-menu__wrap { |
| | | // height: 404px; |
| | | // } |
| | | </style> |