| | |
| | | v-show="showSearch" |
| | | label-width="98px" |
| | | > |
| | | <el-form-item label="姓名" prop="name"> |
| | | <el-form-item label="患者姓名" prop="name"> |
| | | <el-input |
| | | v-model="queryParams.patname" |
| | | placeholder="请输入姓名" |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="患者住院号" prop="patid"> |
| | | <el-form-item label="住院号" prop="patid"> |
| | | <el-input |
| | | v-model="queryParams.patid" |
| | | placeholder="请输入患者编号" |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="患者来源" prop="tagId"> |
| | | <el-form-item label="患者范围" prop="tagId"> |
| | | <el-select |
| | | v-model="queryParams.searchscope" |
| | | placeholder="请选择患者来源" |
| | | v-model="queryParams.searchscope" |
| | | placeholder="请选择患者范围" |
| | | > |
| | | <el-option |
| | | v-for="item in source" |
| | | :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-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label=" 入院日期范围 " prop="createTime"> |
| | | <el-form-item label=" 入院日期 " prop="createTime"> |
| | | <el-date-picker |
| | | v-model="dateRange" |
| | | style="width: 240px" |
| | | value-format="yyyy-MM-dd" |
| | | type="daterange" |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | ></el-date-picker> |
| | | v-model="dateRange" |
| | | style="width: 240px" |
| | | value-format="yyyy-MM-dd" |
| | | type="daterange" |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | ></el-date-picker> |
| | | </el-form-item> |
| | | |
| | | <el-row> |
| | |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | |
| | | v-hasPermi="['system:user:add']" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | </el-col> --> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | |
| | | v-hasPermi="['system:user:edit']" |
| | | >修改</el-button |
| | | > |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="danger" |
| | |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="userList" |
| | | height="808" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | |
| | | <el-table-column |
| | | label="住院号" |
| | | align="center" |
| | | key="patno" |
| | | prop="patno" |
| | | width="120" |
| | | key="inhospno" |
| | | prop="inhospno" |
| | | width="120" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="姓名" |
| | | width="100" |
| | | align="center" |
| | | key="patname" |
| | | prop="patname" |
| | | /> |
| | | <el-table-column label="性别" align="center" key="sex" prop="sex"> |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click=" |
| | | $router.push({ |
| | | path: '/patient/indexls/', |
| | | query: { sfzh: scope.row.idcardno }, |
| | | }) |
| | | " |
| | | ><span class="button-textsc">{{ |
| | | scope.row.patname |
| | | }}</span></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="性别"width="100" align="center" key="sex" prop="sex"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.sex == 1 ? "男" : "女" }}</span> |
| | | </template> |
| | |
| | | width="120" |
| | | /> |
| | | |
| | | |
| | | <el-table-column |
| | | label="入院诊断" |
| | | align="center" |
| | |
| | | prop="diagname" |
| | | width="190" |
| | | /> |
| | | |
| | | |
| | | <el-table-column |
| | | label="科室" |
| | |
| | | <div class="uploading" v-else-if="dractive == 2"> |
| | | <el-table :data="uploadingData" style="width: 100%"> |
| | | <el-table-column prop="serial" label="序号"> </el-table-column> |
| | | <el-table-column prop="name" label="姓名"> </el-table-column> |
| | | <el-table-column prop="sex" label="性别"> </el-table-column> |
| | | <el-table-column prop="name" label="姓名" |
| | | width="100"> </el-table-column> |
| | | <el-table-column prop="sex" label="性别"width="100"> </el-table-column> |
| | | <el-table-column prop="certificate" label="证件类型"> |
| | | </el-table-column> |
| | | <el-table-column prop="certificatenum" label="证件号码"> |
| | |
| | | |
| | | import { |
| | | listpatient, |
| | | particularpatient, |
| | | } from "@/api/patient/record"; |
| | | import { |
| | | messagelistpatient, |
| | | alterpatient, |
| | | addpatient, |
| | | particularpatient, |
| | | deletepatient, |
| | | Exporterrorpatient, |
| | | toleadpatient, |
| | | } from "@/api/patient/record"; |
| | | } from "@/api/patient/homepage"; |
| | | |
| | | import { listtag } from "@/api/system/label"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | cry: 0, |
| | | searchscope: 2, |
| | | idcardno: undefined, |
| | | name: undefined, |
| | | status: undefined, |
| | |
| | | }, |
| | | }, |
| | | created() { |
| | | |
| | | this.getList(); |
| | | this.listDept(); |
| | | this.gettabList(); |
| | |
| | | this.queryParams.leaveldeptcodes = store.getters.belongDepts.map( |
| | | (obj) => obj.deptCode |
| | | ); |
| | | this.queryParams.leavehospitaldistrictcodes=null; |
| | | this.queryParams.leavehospitaldistrictcodes = null; |
| | | } else if (this.queryParams.searchscope == 2) { |
| | | this.queryParams.leavehospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | this.queryParams.leaveldeptcodes=null; |
| | | this.queryParams.leaveldeptcodes = null; |
| | | } else { |
| | | this.queryParams.leaveldeptcodes = store.getters.belongDepts.map( |
| | | (obj) => obj.deptCode |
| | |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.startInHospTime = this.dateRange[0]; |
| | | this.queryParams.endInHospTime = this.dateRange[1]; |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | |
| | | /** 下载模板操作 */ |
| | | importTemplate() { |
| | | this.download( |
| | | "system/user/importTemplate", |
| | | "smartor/import/getImportPatTemplate", |
| | | {}, |
| | | `user_template_${new Date().getTime()}.xlsx` |
| | | ); |