| | |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | ><el-form-item label="预警值"> |
| | | ><el-form-item label="预警提醒"> |
| | | <el-radio-group v-model="radio"> |
| | | <el-radio :label="3">是</el-radio> |
| | | <el-radio :label="6">否</el-radio> |
| | |
| | | <template> |
| | | <div> |
| | | <div class="topicxq" v-for="item in TargetoptionList"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12" |
| | | ><el-form-item label="选项名称"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入(必填项)" |
| | | v-model="item.targetvalue" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | ><el-form-item label="预警值"> |
| | | <el-radio-group v-model="item.isabnormal"> |
| | | <el-radio :label="1">是</el-radio> |
| | | <el-radio :label="0">否</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item></el-col |
| | | > |
| | | <el-col :span="12" v-if="intent" |
| | | ><el-form-item label="选项节点"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入节点" |
| | | v-model="item.targetid" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="10" v-if="!intent"> |
| | | <el-col :span="20" |
| | | ><el-form-item label="选项说明"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入" |
| | | v-model="item.optiondesc" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="10" v-if="intent"> |
| | | <el-col :span="12" |
| | | ><el-form-item label="处理"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="(默认)无声" |
| | | v-model="item.text" |
| | | maxlength="10" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | ><el-form-item label="选中跳转"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入题目节点" |
| | | v-model="item.nextQuestion" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-form-item label="关键字(含)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="success" |
| | | v-for="crux in item.dynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 1)" |
| | | <el-form :model="ruleForm" :rules="rules"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12" |
| | | ><el-form-item prop="targetvalue" label="选项名称"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入(必填项)" |
| | | v-model="item.targetvalue" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | ><el-form-item label="预警提醒"> |
| | | <el-radio-group v-model="item.isabnormal"> |
| | | <el-radio :label="1">是</el-radio> |
| | | <el-radio :label="0">否</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item></el-col |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.inputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="items in regular" |
| | | :key="items.label" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | <el-col :span="12" v-if="intent" |
| | | ><el-form-item label="选项节点"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入节点" |
| | | v-model="item.targetid" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="10" v-if="!intent"> |
| | | <el-col :span="20" |
| | | ><el-form-item label="选项说明"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入" |
| | | v-model="item.optiondesc" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="10" v-if="intent"> |
| | | <el-col :span="12" |
| | | ><el-form-item label="处理"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="(默认)无声" |
| | | v-model="item.text" |
| | | maxlength="10" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | ><el-form-item label="选中跳转"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入题目节点" |
| | | v-model="item.nextQuestion" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-form-item label="关键字(含)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="success" |
| | | v-for="crux in item.dynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 1)" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="关键字(非)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="warning" |
| | | v-for="crux in item.nodynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 2)" |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.noinputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="items in noregular" |
| | | :key="items.value" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.inputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInputno(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="选项文件" prop="sickness" v-if="Verbalproblem"> |
| | | <div style="width: 40vw"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | :action="uploadImgUrl" |
| | | :headers="headers" |
| | | accept=".jpg,.png,image/*" |
| | | :on-success="handleChange.bind(this, item)" |
| | | > |
| | | <el-button size="small" type="primary">点击上传</el-button> |
| | | </el-upload> |
| | | <div style="margin: 20px"> |
| | | <el-image |
| | | style="width: 100px; height: 100px" |
| | | :src="item.picturePath" |
| | | :preview-src-list="[...item.picturePath]" |
| | | <el-option |
| | | v-for="items in regular" |
| | | :key="items.label" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </el-image> |
| | | </div> |
| | | </div> |
| | | </el-form-item> |
| | | |
| | | <el-row :gutter="10"> |
| | | <el-col :span="16" v-if="intent"> |
| | | <el-form-item label="语音文件"> |
| | | </el-form-item> |
| | | <el-form-item label="关键字(非)" prop="adesc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | | type="warning" |
| | | v-for="crux in item.nodynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux, item, 2)" |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="item.noinputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="items in noregular" |
| | | :key="items.value" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInputno(item)" |
| | | >+ 新增</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="选项文件" prop="sickness" v-if="Verbalproblem"> |
| | | <div style="width: 40vw"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | style="display: flex" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | :action="uploadImgUrl" |
| | | :headers="headers" |
| | | accept=".jpg,.png,image/*" |
| | | :on-success="handleChange.bind(this, item)" |
| | | > |
| | | <el-button size="small" type="primary">点击上传</el-button> |
| | | </el-upload> |
| | | </el-form-item></el-col |
| | | > |
| | | <el-col :span="intent ? 8 : 22"> |
| | | <div style="text-align: right; padding-right: 10px"> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('addoption', item)" |
| | | type="success" |
| | | icon="el-icon-circle-plus-outline" |
| | | circle |
| | | ></el-button> |
| | | <el-button |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | circle |
| | | @click="$emit('deloption', item)" |
| | | ></el-button> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('syioption', item)" |
| | | type="primary" |
| | | icon="el-icon-top" |
| | | circle |
| | | ></el-button> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('xiayioption', item)" |
| | | type="primary" |
| | | icon="el-icon-bottom" |
| | | circle |
| | | ></el-button> |
| | | <div style="margin: 20px"> |
| | | <el-image |
| | | style="width: 100px; height: 100px" |
| | | :src="item.picturePath" |
| | | :preview-src-list="[...item.picturePath]" |
| | | > |
| | | </el-image> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form-item> |
| | | |
| | | <el-row :gutter="10"> |
| | | <el-col :span="16" v-if="intent"> |
| | | <el-form-item label="语音文件"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | style="display: flex" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">点击上传</el-button> |
| | | </el-upload> |
| | | </el-form-item></el-col |
| | | > |
| | | <el-col :span="intent ? 8 : 22"> |
| | | <div style="text-align: right; padding-right: 10px"> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('addoption', item)" |
| | | type="success" |
| | | icon="el-icon-circle-plus-outline" |
| | | circle |
| | | ></el-button> |
| | | <el-button |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | circle |
| | | @click="$emit('deloption', item)" |
| | | ></el-button> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('syioption', item)" |
| | | type="primary" |
| | | icon="el-icon-top" |
| | | circle |
| | | ></el-button> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('xiayioption', item)" |
| | | type="primary" |
| | | icon="el-icon-bottom" |
| | | circle |
| | | ></el-button> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | noregular: [], |
| | | nodynamiccruxs: ["别", "不"], |
| | | dynamiccruxs: ["好"], |
| | | rules: { |
| | | targetvalue: [ |
| | | { required: true, message: "请输入选项名称", trigger: "blur" }, |
| | | { |
| | | min: 1, |
| | | max: 20, |
| | | message: "长度在 1 到 20 个字符", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | | props: { |
| | |
| | | </div> |
| | | <!-- 添加患者 --> |
| | | <el-dialog |
| | | title="添加派发患者" |
| | | title="选择患者" |
| | | :visible.sync="dialogVisiblepatient" |
| | | width="70%" |
| | | :before-close="handleClosehz" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { messagelistpatient } from "@/api/patient/homepage"; |
| | | import SFtable from "@/components/SFtable"; //表格组件 |
| | | |
| | |
| | | tableLabel: [], |
| | | // 患者表单 |
| | | tableLabelhz: [ |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "就诊科室", width: "", prop: "impTemplate" }, |
| | |
| | | { label: "创建人", width: "", prop: "update_by" }, |
| | | ], |
| | | tableLabelxj: [ |
| | | { label: "门诊编号", width: "", prop: "name" }, |
| | | { label: "门诊编号", width: "", prop: "name" }, |
| | | { label: "姓名", width: "", prop: "name" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "联系电话", width: "", prop: "name" }, |
| | |
| | | { label: "创建人", width: "", prop: "update_by" }, |
| | | ], |
| | | tableLabelmz: [ |
| | | { label: "门诊编号", width: "", prop: "name" }, |
| | | { label: "门诊编号", width: "", prop: "name" }, |
| | | { label: "姓名", width: "", prop: "name" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "联系电话", width: "", prop: "name" }, |
| | |
| | | { label: "创建人", width: "", prop: "update_by" }, |
| | | ], |
| | | tableLabelcy: [ |
| | | { label: "员工编号", width: "", prop: "name" }, |
| | | { label: "员工编号", width: "", prop: "name" }, |
| | | { label: "姓名", width: "", prop: "name" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "联系电话", width: "", prop: "name" }, |
| | |
| | | </el-dialog> |
| | | <!-- 添加患者 --> |
| | | <el-dialog |
| | | title="添加派发患者" |
| | | title="选择患者" |
| | | :visible.sync="dialogVisiblepatient" |
| | | width="70%" |
| | | :before-close="handleClosehz" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | created() { |
| | | this.Addsubtask(); |
| | | this.Getsubtask(); |
| | | |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | ></el-date-picker> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="模版名称" prop="status"> |
| | | <el-form-item label="服务项目" prop="status"> |
| | | <el-input |
| | | v-model="topqueryParams.templatename" |
| | | @keyup.enter.native="handleQuery" |
| | |
| | | :columns="columns" |
| | | ></right-toolbar> --> |
| | | <el-table v-loading="loading" :data="userList"> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="序号" |
| | | fixed |
| | | align="center" |
| | | key="taskid" |
| | | prop="taskid" |
| | | /> |
| | | /> --> |
| | | |
| | | <el-table-column |
| | | label="任务名称" |
| | |
| | | prop="taskDesc" |
| | | /> |
| | | <el-table-column |
| | | label="服务项目" |
| | | align="center" |
| | | key="templatename" |
| | | prop="templatename" |
| | | /> |
| | | <el-table-column |
| | | label="待执行/总任务" |
| | | align="center" |
| | | key="nickName" |
| | |
| | | ><el-form-item label="题目类型"> |
| | | <el-select |
| | | v-model="topicobj.scriptType" |
| | | @change="changefn" |
| | | size="medium" |
| | | filterable |
| | | placeholder="请选择分类" |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <el-form-item label="预警值"> |
| | | <el-form-item label="预警提醒"> |
| | | <el-radio-group v-model="item.isabnormal"> |
| | | <el-radio :label="1">是</el-radio> |
| | | <el-radio :label="0">否</el-radio> |
| | |
| | | inputVisible: false, |
| | | inputValue: "", |
| | | currentInputId: "", |
| | | scriptTypels: "", |
| | | total: 0, |
| | | drawer: false, |
| | | loading: false, |
| | |
| | | this.compileissue(); |
| | | } |
| | | }, |
| | | // 判断指标 |
| | | changefn(item) { |
| | | if (this.topicobj.targetname) { |
| | | this.$modal |
| | | .confirm("更改类型后选项将清空是否继续?") |
| | | .then(() => { |
| | | this.scriptTypels = this.topicobj.scriptType; |
| | | }) |
| | | .catch(() => { |
| | | this.topicobj.scriptType=this.scriptTypels |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | // 删除选项 |
| | | deletexuanx(row) { |
| | |
| | | </div> |
| | | <!-- 添加患者 --> |
| | | <el-dialog |
| | | title="添加派发患者" |
| | | title="选择患者" |
| | | :visible.sync="dialogVisiblepatient" |
| | | width="70%" |
| | | :before-close="handleClosehz" |
| | |
| | | <el-input v-model="patientqueryParams.name"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="就诊科室" prop="status"> |
| | | <!-- <el-form-item label="就诊科室" prop="status"> |
| | | <el-select |
| | | v-model="patientqueryParams.topic" |
| | | placeholder="请选择" |
| | |
| | | </el-option> |
| | | </el-option-group> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | this.overallCase.forEach((item) => { |
| | | this.allpids.push(item.patid); |
| | | }); |
| | | if (this.patientqueryParams.allhosp == 1) { |
| | | this.tableLabelhz = [ |
| | | { label: "序号", width: "", prop: "patid" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "主任医师", width: "", prop: "drname" }, |
| | | { label: "就诊科室", width: "", prop: "deptName" }, |
| | | { label: "入院日期", width: "", prop: "inhosptime" }, |
| | | { label: "创建人", width: "", prop: "createBy" }, |
| | | ]; |
| | | } else if (this.patientqueryParams.allhosp == 2) { |
| | | this.tableLabelhz = [ |
| | | { label: "序号", width: "", prop: "patid" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "诊断", width: "", prop: "diagname" }, |
| | | { label: "就诊科室", width: "", prop: "deptName" }, |
| | | { label: "入院日期", width: "", prop: "inhosptime" }, |
| | | { label: "创建人", width: "", prop: "createBy" }, |
| | | ]; |
| | | } |
| | | if (this.allpids[0]) { |
| | | this.patientqueryParams.pids = this.allpids; |
| | | console.log(this.patientqueryParams.pids); |
| | |
| | | </div> |
| | | <!-- 添加患者 --> |
| | | <el-dialog |
| | | title="添加派发患者" |
| | | title="选择患者" |
| | | :visible.sync="dialogVisiblepatient" |
| | | width="70%" |
| | | :before-close="handleClosehz" |
| | |
| | | <el-input v-model="patientqueryParams.name"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="就诊科室" prop="status"> |
| | | <!-- <el-form-item label="就诊科室" prop="status"> |
| | | <el-select |
| | | v-model="patientqueryParams.topic" |
| | | placeholder="请选择" |
| | |
| | | </el-option> |
| | | </el-option-group> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | this.overallCase.forEach((item) => { |
| | | this.allpids.push(item.patid); |
| | | }); |
| | | if (this.patientqueryParams.allhosp == 1) { |
| | | this.tableLabelhz = [ |
| | | { label: "序号", width: "", prop: "patid" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "主任医师", width: "", prop: "drname" }, |
| | | { label: "就诊科室", width: "", prop: "deptName" }, |
| | | { label: "入院日期", width: "", prop: "inhosptime" }, |
| | | { label: "创建人", width: "", prop: "createBy" }, |
| | | ]; |
| | | } else if (this.patientqueryParams.allhosp == 2) { |
| | | this.tableLabelhz = [ |
| | | { label: "序号", width: "", prop: "patid" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "诊断", width: "", prop: "diagname" }, |
| | | { label: "就诊科室", width: "", prop: "deptName" }, |
| | | { label: "入院日期", width: "", prop: "inhosptime" }, |
| | | { label: "创建人", width: "", prop: "createBy" }, |
| | | ]; |
| | | } |
| | | if (this.allpids[0]) { |
| | | this.patientqueryParams.pids = this.allpids; |
| | | console.log(this.patientqueryParams.pids); |
| | |
| | | </div> |
| | | <!-- 添加患者 --> |
| | | <el-dialog |
| | | title="添加派发患者" |
| | | title="选择患者" |
| | | :visible.sync="dialogVisiblepatient" |
| | | width="70%" |
| | | :before-close="handleClosehz" |
| | |
| | | <el-input v-model="patientqueryParams.name"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="就诊科室" prop="status"> |
| | | <!-- <el-form-item label="就诊科室" prop="status"> |
| | | <el-select |
| | | v-model="patientqueryParams.scriptTopic" |
| | | placeholder="请选择" |
| | |
| | | </el-option> |
| | | </el-option-group> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | this.overallCase.forEach((item) => { |
| | | this.allpids.push(item.patid); |
| | | }); |
| | | if (this.patientqueryParams.allhosp == 1) { |
| | | this.tableLabelhz = [ |
| | | { label: "序号", width: "", prop: "patid" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "主任医师", width: "", prop: "drname" }, |
| | | { label: "就诊科室", width: "", prop: "deptName" }, |
| | | { label: "入院日期", width: "", prop: "inhosptime" }, |
| | | { label: "创建人", width: "", prop: "createBy" }, |
| | | ]; |
| | | } else if (this.patientqueryParams.allhosp == 2) { |
| | | this.tableLabelhz = [ |
| | | { label: "序号", width: "", prop: "patid" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "诊断", width: "", prop: "diagname" }, |
| | | { label: "就诊科室", width: "", prop: "deptName" }, |
| | | { label: "入院日期", width: "", prop: "inhosptime" }, |
| | | { label: "创建人", width: "", prop: "createBy" }, |
| | | ]; |
| | | } |
| | | if (this.allpids[0]) { |
| | | this.patientqueryParams.pids = this.allpids; |
| | | console.log(this.patientqueryParams.pids); |
| | |
| | | this.valuetypelb = store.getters.askvaluetype; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.qyoptions = store.getters.askvaluetype; |
| | | this.usable = store.getters.usable; |
| | | this.usable = store.getters.usable; |
| | | }, |
| | | methods: { |
| | | /** 查询指标列表 */ |
| | |
| | | }); |
| | | // 把数组重新转换为字符串并赋值 |
| | | inputValueArr = inputValueArr.join(""); |
| | | |
| | | console.log(inputValueArr); |
| | | if (this.currentInputId == "targetdesc") { |
| | | this.indexform.targetdesc = inputValueArr; |
| | |
| | | <el-col :span="12"> |
| | | <el-form-item label="测试输入" prop="targetvalue"> |
| | | <el-input |
| | | v-model="testvalue" |
| | | v-model="indexform.content" |
| | | placeholder="请输入测试内容" |
| | | maxlength="40" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <el-button type="success">开始测试</el-button> |
| | | <el-button type="success" @click="testtagerlist" |
| | | >开始测试</el-button |
| | | > |
| | | </el-col> |
| | | </el-row> |
| | | <div style="margin-bottom: 20px"> |
| | |
| | | getverbaltrick() { |
| | | let id = this.$route.query.id; |
| | | if (id) { |
| | | |
| | | getverbaltrick({ id: id }).then((res) => { |
| | | this.indexform = res.data; |
| | | |
| | |
| | | } |
| | | }, |
| | | |
| | | // targetchange(res) { |
| | | // console.log(res); |
| | | // gettargetInfo({ id: res }).then((res) => { |
| | | // console.log(res.rows[0]); |
| | | // this.$modal |
| | | // .confirm('是否添加"' + res.rows[0].targetname + '"指标的选项?') |
| | | // .then(() => { |
| | | // this.indexform.valueType = res.rows[0].valueType; |
| | | // this.indexform.scriptType = res.rows[0].scriptType; |
| | | // this.indexform.scriptTopic = res.rows[0].targetname; |
| | | // this.indexform.targetname = res.rows[0].targetname; |
| | | // this.indexform.targetid = res.rows[0].id; |
| | | // this.indexform.targetdesc = res.rows[0].targetdesc; |
| | | // this.indexform.isAvailable = "0"; |
| | | // this.indexform.language = "普通话"; |
| | | // this.indexform.isenable = res.rows[0].isenable; |
| | | // this.$forceUpdate(); |
| | | // res.rows[0].targetoptionList.forEach((item) => { |
| | | // item.isoperation = 1; |
| | | // this.indexform.ivrLibaScriptTargetoptionList.push(item); |
| | | // }); |
| | | // }) |
| | | // .catch(() => { |
| | | // this.$modal.msgSuccess("已取消"); |
| | | // }); |
| | | // }); |
| | | // }, |
| | | testtagerlist() { |
| | | if (this.indexform.content) { |
| | | let data = this.indexform; |
| | | data.targetoptionList = |
| | | this.indexform.ivrLibaScriptTargetoptionList.concat(this.dellist); |
| | | testtagerlist(data).then((res) => { |
| | | this.$modal.msgSuccess("测试成功"); |
| | | this.testgovalue = res.msg; |
| | | this.getList(); |
| | | }); |
| | | } else { |
| | | this.$modal.msgError("请填写测试内容"); |
| | | return; |
| | | } |
| | | }, |
| | | // 选择指标 |
| | | selectlabel(row) { |
| | | this.$modal |