| | |
| | | v-model="queryParams.scopetype" |
| | | placeholder="默认全部科室" |
| | | :options="sourcetype" |
| | | filterable |
| | | clearable |
| | | :props="{ expandTrigger: 'hover' }" |
| | | @change="handleChange" |
| | | ></el-cascader> |
| | |
| | | > |
| | | 添加延续护理任务 |
| | | </el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | icon="el-icon-folder-add" |
| | | size="medium" |
| | | :disabled="multiple" |
| | | @click="handleCreateArchive" |
| | | > |
| | | 患者建档</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | |
| | | gettoken360( |
| | | scope.row.idcardno, |
| | | scope.row.drcode, |
| | | scope.row.drname |
| | | scope.row.drname, |
| | | scope.row.patid |
| | | ) |
| | | " |
| | | ><span class="button-textsc">{{ |
| | |
| | | <el-button @click="submitclose">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <!-- 患者建档弹窗 --> |
| | | <ArchiveDialog |
| | | :visible.sync="archiveDialogVisible" |
| | | :patients="archivePatients" |
| | | source-page="inpatient" |
| | | /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | | import { listDept } from "@/api/system/dept"; |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | | import { query360PatInfo, getTasklist, addSubtask } from "@/api/AiCentre/index"; |
| | | import { |
| | | query360PatInfo, |
| | | query360PatInfonh, |
| | | getTasklist, |
| | | addSubtask, |
| | | } from "@/api/AiCentre/index"; |
| | | |
| | | import store from "@/store"; |
| | | import ArchiveDialog from "@/views/patient/archives/components/ArchiveDialog.vue"; |
| | | |
| | | export default { |
| | | name: "behospitalized", |
| | | dicts: ["sys_normal_disable", "sys_user_sex", "nursinggrade"], |
| | | components: { Treeselect }, |
| | | components: { Treeselect, ArchiveDialog }, |
| | | data() { |
| | | return { |
| | | // 遮罩层 |
| | |
| | | taskList: [], // 任务列表 |
| | | selectedTask: null, // 选中的任务 |
| | | batchLoading: false, // 批量提交加载状态 |
| | | // 患者建档 |
| | | archiveDialogVisible: false, |
| | | archivePatients: [], |
| | | // 日期范围 |
| | | dateRange: [], |
| | | paperstypes: [ |
| | |
| | | label: "病区患者", |
| | | }, |
| | | ], |
| | | orgName: localStorage.getItem("orgname"), |
| | | |
| | | postData: { |
| | | XiaoXiTou: { |
| | | FaSongFCSJC: "ZJHES", |
| | |
| | | pageSize: 100, // 设置较大的分页获取更多任务 |
| | | type: 2, // 延续护理任务类型 |
| | | }; |
| | | |
| | | topqueryParams.deptcodes = store.getters.belongDepts.map( |
| | | (obj) => obj.deptCode |
| | | ); |
| | | topqueryParams.hospitaldistrictcodes = store.getters.belongWards.map( |
| | | (obj) => obj.districtCode |
| | | ); |
| | | getTasklist(topqueryParams) |
| | | .then((response) => { |
| | | this.taskList = response.rows; |
| | |
| | | } |
| | | |
| | | this.batchTaskVisible = false; |
| | | this.$router.push({ |
| | | path: "/followvisit/Continue", |
| | | }); |
| | | this.getList(); // 刷新患者列表 |
| | | } catch (error) { |
| | | this.$modal.msgError("批量添加任务过程中出错:" + error.message); |
| | |
| | | this.handleQuery(); |
| | | }, |
| | | //患者360跳转 |
| | | gettoken360(sfzh, drcode, drname) { |
| | | // this.$modal.msgWarning('360功能暂未开通'); |
| | | gettoken360(sfzh, drcode, drname, id) { |
| | | const orgname = localStorage.getItem("orgname"); |
| | | if (orgname == "南华大学附属第一医院") { |
| | | query360PatInfonh(id).then((res) => { |
| | | if (res.data) { |
| | | window.open(res.data, "_blank"); |
| | | } else { |
| | | this.$modal.msgWarning("360查询无结果"); |
| | | } |
| | | }); |
| | | return; |
| | | } else if ( |
| | | orgname == "第一人民医院湖滨院区" || |
| | | orgname == "第一人民医院吴山院区" |
| | | ) { |
| | | let url = `http://192.200.81.189:9100/blj/view?BINGRENID=${id}&YONGHUID=DBA`; |
| | | window.open(url, "_blank"); |
| | | return; |
| | | } |
| | | |
| | | this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh; |
| | | |
| | |
| | | this.upload.open = false; |
| | | this.dractive = 1; |
| | | }, |
| | | /** 患者建档 */ |
| | | handleCreateArchive() { |
| | | if (this.ids.length === 0) { |
| | | this.$modal.msgWarning("请至少选中1名患者"); |
| | | return; |
| | | } |
| | | this.archivePatients = this.userList.filter((item) => |
| | | this.ids.includes(item.patid) |
| | | ); |
| | | this.archiveDialogVisible = true; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |