| | |
| | | }, |
| | | // 发送随访后短信 |
| | | setupsubtask() { |
| | | |
| | | sendMsg({ |
| | | phoneNumber: this.userform.telcode, |
| | | content: this.form.content, |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="患者范围" prop="tagId"> |
| | | <el-select |
| | | v-model="filtrqueryParams.searchscope" |
| | | placeholder="请选择患者范围" |
| | | <el-form-item label="任务类型"> |
| | | <el-select |
| | | v-model="filtrqueryParams.allhosp" |
| | | placeholder="请选择新增类型" |
| | | > |
| | | <el-option |
| | | v-for="item in taskoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | <el-option |
| | | v-for="item in source" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="患者范围" prop="tagId"> |
| | | <el-select |
| | | v-model="filtrqueryParams.searchscope" |
| | | placeholder="请选择患者范围" |
| | | > |
| | | <el-option |
| | | v-for="item in source" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | { papersname: "中国港澳居民身份证" }, |
| | | { papersname: "中国台湾居民身份证" }, |
| | | ], |
| | | source: [ |
| | | { |
| | | value: 0, |
| | | label: "全部患者", |
| | | }, |
| | | { |
| | | value: 1, |
| | | label: "科室患者", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "病区患者", |
| | | }, |
| | | ], |
| | | // 表单参数 |
| | | form: { |
| | | name: "", |
| | |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | allhosp: 0, |
| | | searchscope:0, |
| | | }, |
| | | //导入进度 |
| | | dractive: 1, |
| | |
| | | { |
| | | value: 2, |
| | | label: "病区患者", |
| | | }, |
| | | ], |
| | | taskoptions: [ |
| | | { |
| | | value: "4", |
| | | label: "出院病人", |
| | | }, |
| | | { |
| | | value: "1", |
| | | label: "在院病人", |
| | | }, |
| | | { |
| | | value: "2", |
| | | label: "门诊病人", |
| | | }, |
| | | { |
| | | value: 0, |
| | | label: "全部", |
| | | }, |
| | | ], |
| | | whether: [ |
| | |
| | | distribute() { |
| | | this.distributeVisible = true; |
| | | this.filtrloading = true; |
| | | |
| | | if (this.filtrqueryParams.searchscope == 1) { |
| | | this.filtrqueryParams.deptcodes = store.getters.belongDepts.map( |
| | | (obj) => obj.deptCode |
| | | ); |
| | | this.filtrqueryParams.hospitaldistrictcodes = []; |
| | | } else if (this.filtrqueryParams.searchscope == 2) { |
| | | this.filtrqueryParams.hospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | this.filtrqueryParams.deptcodes = []; |
| | | } else { |
| | | this.filtrqueryParams.deptcodes = []; |
| | | this.filtrqueryParams.hospitaldistrictcodes = []; |
| | | } |
| | | messagelistpatient(this.filtrqueryParams).then((response) => { |
| | | this.filtruserList = response.rows; |
| | | this.filtrtotal = response.total; |
| | |
| | | {{ userform.sex == 1 ? "男" : "女" }} |
| | | </div> |
| | | <div style="margin-left: 10px" class="text-title"> |
| | | <span v-if="userform.age" |
| | | >{{ userform.age }}{{ userform.ageUnit }}</span |
| | | ><span v-if="userform.age2" |
| | | >{{ userform.age2 }}{{ userform.ageUnit2 }}</span |
| | | > |
| | | <span v-if="userform.age" |
| | | >{{ userform.age }}{{ userform.ageUnit }}</span |
| | | ><span v-if="userform.age2" |
| | | >{{ userform.age2 }}{{ userform.ageUnit2 }}</span |
| | | > |
| | | </div> |
| | | <div style="margin-left: 10px" class="text-title"> |
| | | {{ userform.birthdate }} |
| | |
| | | disabled |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <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-col :span="12" |
| | | ><el-form-item label="预留电话" prop="reservedPhone"> |
| | | <el-input |
| | | v-model="userform.reservedPhone" |
| | | placeholder="请输入预留电话" |
| | | maxlength="30" |
| | | /> </el-form-item |
| | | ></el-col> |
| | |
| | | <el-radio label="MCT奶">MCT奶</el-radio> |
| | | <el-radio label="其它特殊奶粉">其它特殊奶粉</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> </el-col |
| | | > |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </div> |
| | |
| | | if (tab.index == "1") { |
| | | this.getList(1); |
| | | } else if (tab.index == "2") { |
| | | this.newbornList(); |
| | | this.newcharts(); |
| | | } else if (tab.index == "3") { |
| | | this.handleClickfw(); |
| | | } |
| | |
| | | this.$refs["borninfoform"].validate((valid) => { |
| | | if (valid) { |
| | | this.borninfoform.patId = this.id; |
| | | |
| | | this.borninfoform.sex = this.userform.sex; |
| | | newborninfoadd(this.borninfoform).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("新增成功"); |
| | |
| | | |
| | | // 获取新生儿数据 |
| | | newbornList() { |
| | | return newborninfolist({ patId: this.id }) |
| | | newborninfolist({ patId: this.id }) |
| | | .then((response) => { |
| | | this.borninfooptions = response.rows || []; |
| | | |
| | | this.newcharts(); |
| | | // this.newcharts(); |
| | | console.log("加载的新生儿数据:", this.borninfooptions); |
| | | return Promise.resolve(); |
| | | // return Promise.resolve(); |
| | | }) |
| | | .catch((error) => { |
| | | console.error("请求数据失败:", error); |
| | | this.borninfooptions = []; |
| | | return Promise.reject(error); |
| | | // return Promise.reject(error); |
| | | }); |
| | | }, |
| | | // 心率 |