| | |
| | | data: data |
| | | }) |
| | | }; |
| | | // 用户信息查询患者列表 |
| | | export function patarchivelist(data) { |
| | | return request({ |
| | | url: '/smartor/patarchive/list', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | |
| | | // 修改患者档案 |
| | | export function alterpatient(data) { |
| | |
| | | prop="sendname" |
| | | > |
| | | <template slot-scope="scope"> |
| | | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | |
| | | prop="nurseName" |
| | | /> |
| | | |
| | | |
| | | <!-- <el-table-column |
| | | label="病历号" |
| | | align="center" |
| | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | v-if="scope.row.isVisitAgain!=2" |
| | | @click="followupvisit(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-bb" |
| | | ><i class="el-icon-s-promotion"></i>再次随访</span |
| | | ></el-button |
| | |
| | | getTaskservelist, |
| | | buidegetTasklist, |
| | | addserviceSubtask, |
| | | query360PatInfo |
| | | query360PatInfo, |
| | | } from "@/api/AiCentre/index"; |
| | | import { |
| | | alterpatient, |
| | | particularpatient, |
| | | } from "@/api/patient/homepage"; |
| | | import { alterpatient, particularpatient } from "@/api/patient/homepage"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | | import store from "@/store"; |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | |
| | | }, |
| | | YeWuXX: { |
| | | BingRenXX: { |
| | | ZhengJianHM: '', |
| | | ZhengJianHM: "", |
| | | ZhengJianLXDM: "01", |
| | | ZhengJianLXMC: "居民身份证", |
| | | ZuZhiJGID: localStorage.getItem("orgid"), |
| | |
| | | this.topqueryParams.leavehospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | } |
| | | console.log('1'); |
| | | console.log("1"); |
| | | |
| | | this.topqueryParams.pageNum = 1; |
| | | this.topqueryParams.startOutHospTime = this.dateRange[0]; |
| | | this.topqueryParams.endOutHospTime = this.dateRange[1]; |
| | | this.topqueryParams.startSendDateTime = this.dateRangefs[0]; |
| | | this.topqueryParams.endSendDateTime = this.dateRangefs[1]; |
| | | console.log('2'); |
| | | console.log("2"); |
| | | this.getList(refresh); |
| | | }, |
| | | // 患者范围处理 |
| | |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | | this.dateRangefs = []; |
| | | this.topqueryParams = { |
| | | (this.topqueryParams = { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | sendstate: 2, |
| | |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | }, |
| | | }), |
| | | this.handleQuery(1); |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | //患者360跳转 |
| | | gettoken360(sfzh,drcode,drname) { |
| | | this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh; |
| | | if (this.postData.XiaoXiTou.ZuHuMC=='丽水市中医院') { |
| | | this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728'; |
| | | this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY'; |
| | | if (this.postData.XiaoXiTou.ZuHuMC == "丽水市中医院") { |
| | | this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728"; |
| | | this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY"; |
| | | } |
| | | query360PatInfo(this.postData).then((res) => { |
| | | if (res.data.url) { |
| | | window.open(res.data.url, '_blank'); |
| | | window.open(res.data.url, "_blank"); |
| | | // this.linkUrl = res.data.url; |
| | | }else{ |
| | | this.$modal.msgWarning("360查询无结果"); |
| | | } |
| | | }); |
| | | |
| | | }, |
| | | |
| | | /** 重置密码按钮操作 */ |
| | |
| | | setupsubtask() { |
| | | this.$refs["zcform"].validate((valid) => { |
| | | if (valid) { |
| | | this.zcform.remark = |
| | | this.zcform.remark + "【" + this.getCurrentTime() + "】"; |
| | | let form = structuredClone(this.zcform); |
| | | form.longSendTime = this.formatTime(form.date1); |
| | | form.finishtime = ""; |
| | |
| | | } |
| | | }); |
| | | }, |
| | | getCurrentTime() { |
| | | const now = new Date(); |
| | | const year = now.getFullYear(); |
| | | const month = String(now.getMonth() + 1).padStart(2, "0"); |
| | | const day = String(now.getDate()).padStart(2, "0"); |
| | | const hours = String(now.getHours()).padStart(2, "0"); |
| | | const minutes = String(now.getMinutes()).padStart(2, "0"); |
| | | const seconds = String(now.getSeconds()).padStart(2, "0"); |
| | | |
| | | return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | <el-button plain type="info" @click="Editsingletaskson('5')" |
| | | >中心随访</el-button |
| | | > |
| | | <el-button type="primary" round @click="sendAgain()" |
| | | <el-button type="primary" round v-if="this.form.isVisitAgain!=2" @click="sendAgain()" |
| | | >再次随访</el-button |
| | | > |
| | | </div> |
| | |
| | | setupsubtask() { |
| | | this.$refs["zcform"].validate((valid) => { |
| | | if (valid) { |
| | | this.form.remark = |
| | | this.form.remark + "【" + this.getCurrentTime() + "】"; |
| | | let form = structuredClone(this.form); |
| | | form.longSendTime = this.formatTime(form.date1); |
| | | form.finishtime = ""; |
| | |
| | | } |
| | | }); |
| | | }, |
| | | getCurrentTime() { |
| | | const now = new Date(); |
| | | const year = now.getFullYear(); |
| | | const month = String(now.getMonth() + 1).padStart(2, "0"); |
| | | const day = String(now.getDate()).padStart(2, "0"); |
| | | const hours = String(now.getHours()).padStart(2, "0"); |
| | | const minutes = String(now.getMinutes()).padStart(2, "0"); |
| | | const seconds = String(now.getSeconds()).padStart(2, "0"); |
| | | |
| | | return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; |
| | | }, |
| | | updateScore(a, b, c) { |
| | | console.log(a); |
| | | console.log(b); |
| | |
| | | import { delUser } from "@/api/system/user"; |
| | | |
| | | import { |
| | | messagelistpatient, |
| | | patarchivelist, |
| | | alterpatient, |
| | | addfiltration, |
| | | particularpatient, |
| | |
| | | /** 查询患者列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | |
| | | messagelistpatient(this.queryParams).then((response) => { |
| | | patarchivelist(this.queryParams).then((response) => { |
| | | console.log(response); |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)" |
| | | @click=" |
| | | gettoken360( |
| | | scope.row.idcardno, |
| | | scope.row.drcode, |
| | | scope.row.drname |
| | | ) |
| | | " |
| | | ><span class="button-textsc">{{ |
| | | scope.row.patname |
| | | }}</span></el-button |
| | |
| | | //患者360跳转 |
| | | gettoken360(sfzh,drcode,drname) { |
| | | this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh; |
| | | if (this.postData.XiaoXiTou.ZuHuMC=='丽水市中医院') { |
| | | this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728'; |
| | | this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY'; |
| | | if (this.postData.XiaoXiTou.ZuHuMC == "丽水市中医院") { |
| | | this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728"; |
| | | this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY"; |
| | | } |
| | | query360PatInfo(this.postData).then((res) => { |
| | | if (res.data.url) { |
| | |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | |
| | | if (this.dateRange) { |
| | | this.queryParams.startInHospTime = this.dateRange[0]; |
| | | this.queryParams.endInHospTime = this.dateRange[1]; |
| | | }else{ |
| | | this.queryParams.startInHospTime = ''; |
| | | this.queryParams.endInHospTime = ''; |
| | | } |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | | this.resetForm("queryForm"); |
| | | (this.queryParams = { |
| | | this.queryParams = { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | cry: 0, |
| | | searchscope: 2, |
| | | }), |
| | | searchscope: 3, |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | }; |
| | | this.handleQuery(); |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | |
| | | <el-form-item label="患者范围" prop="status"> |
| | | <el-cascader |
| | | v-model="queryParams.scopetype" |
| | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)" |
| | | ><span class="button-textsc" |
| | | >{{scope.row.patname}}</span |
| | | ></el-button |
| | | @click=" |
| | | gettoken360( |
| | | scope.row.idcardno, |
| | | scope.row.drcode, |
| | | scope.row.drname |
| | | ) |
| | | " |
| | | ><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"> |
| | | <el-table-column |
| | | label="性别" |
| | | width="100" |
| | | align="center" |
| | | key="sex" |
| | | prop="sex" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.sex == 1 ? "男" : "女" }}</span> |
| | | </template> |
| | |
| | | query: { id: scope.row.patid }, |
| | | }) |
| | | " |
| | | |
| | | ><span class="button-textsc" |
| | | ><i class="el-icon-zoom-in"></i>查看</span |
| | | ></el-button |
| | |
| | | <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="姓名" |
| | | width="100"> </el-table-column> |
| | | <el-table-column prop="sex" label="性别"width="100"> </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="证件号码"> |
| | |
| | | <script> |
| | | import { delUser } from "@/api/system/user"; |
| | | |
| | | import { |
| | | listpatient, |
| | | |
| | | } from "@/api/patient/record"; |
| | | import { listpatient } from "@/api/patient/record"; |
| | | import { |
| | | messagelistpatient, |
| | | alterpatient, |
| | |
| | | leavehospitaldistrictcodes: [], |
| | | }, |
| | | // 表单校验 |
| | | rules: { |
| | | |
| | | }, |
| | | rules: {}, |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | //患者360跳转 |
| | | gettoken360(sfzh,drcode,drname) { |
| | | this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh; |
| | | if (this.postData.XiaoXiTou.ZuHuMC=='丽水市中医院') { |
| | | this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728'; |
| | | this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY'; |
| | | if (this.postData.XiaoXiTou.ZuHuMC == "丽水市中医院") { |
| | | this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728"; |
| | | this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY"; |
| | | } |
| | | query360PatInfo(this.postData).then((res) => { |
| | | if (res.data.url) { |
| | |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | if (this.dateRange) { |
| | | this.queryParams.startOutHospTime = this.dateRange[0]; |
| | | this.queryParams.endOutHospTime = this.dateRange[1]; |
| | | } else { |
| | | this.queryParams.startOutHospTime = ""; |
| | | this.queryParams.endOutHospTime = ""; |
| | | } |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | cry: 1, |
| | | searchscope:2, |
| | | }, |
| | | searchscope: 3, |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | }; |
| | | this.handleQuery(); |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | | (this.queryParams = { |
| | | this.queryParams = { |
| | | pageNum: 1, |
| | | allhosp: "1", |
| | | pageSize: 10, |
| | | notrequiredFlag: 0, |
| | | searchscope: 2, |
| | | idcardno: undefined, |
| | | name: undefined, |
| | | status: undefined, |
| | | tagIds: undefined, |
| | | telcode: undefined, |
| | | }), |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | }; |
| | | this.handleQuery(); |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="门诊号" prop="outhospno"> |
| | | <el-form-item label="病案号" prop="outhospno"> |
| | | <el-input |
| | | v-model="queryParams.outhospno" |
| | | placeholder="请输入门诊号" |
| | | placeholder="请输入病案号" |
| | | clearable |
| | | style="width: 250px" |
| | | @keyup.enter.native="handleQuery" |
| | |
| | | <span>{{ formatTime(scope.row.admitdate) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="病案号" |
| | | align="center" |
| | | key="patno" |
| | | prop="patno" |
| | | /> |
| | | /> --> |
| | | <el-table-column |
| | | label="门诊号" |
| | | label="病案号" |
| | | align="center" |
| | | key="outhospno" |
| | | prop="outhospno" |
| | |
| | | this.queryParams.leavehospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | } |
| | | if (this.dateRange) { |
| | | this.queryParams.beginTime = this.dateRange[0]; |
| | | this.queryParams.endTime = this.dateRange[1]; |
| | | }else{ |
| | | this.queryParams.beginTime = ''; |
| | | this.queryParams.endTime = ''; |
| | | } |
| | | listPatouthosp(this.queryParams).then((response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | | this.resetForm("queryForm"); |
| | | (this.queryParams = { |
| | | this.queryParams = { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | }), |
| | | searchscope: 3, |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | }; |
| | | this.handleQuery(); |
| | | }, |
| | | // 多选框选中数据 |