pengjun 3 weeks ago
parent
commit
55d226b2dd
  1. 32
      src/components/patientRegister/PatientRegisterList.vue
  2. 371
      src/components/patientRegister/PatientRegisterRecoverList.vue
  3. 23
      src/components/patientRegister/patientRegisterQuery.vue
  4. 2
      src/store/index.js
  5. 2
      src/views/customerOrg/patientRegister.vue
  6. 42
      src/views/customerOrg/patientRegisterRecover.vue
  7. 10
      src/views/fee-settings/cardRegister.vue

32
src/components/patientRegister/PatientRegisterList.vue

@ -65,7 +65,10 @@
dragCol[index].prop == 'qztlIsWh' || dragCol[index].prop == 'qztlIsWh' ||
dragCol[index].prop == 'qztlIsFj' dragCol[index].prop == 'qztlIsFj'
"> ">
<el-checkbox :value="scope.row[dragCol[index].prop] == 'Y'" />
<!--
{{ scope.row[dragCol[index].prop] == "Y" ? "是" : "否" }} {{ scope.row[dragCol[index].prop] == "Y" ? "是" : "否" }}
-->
</div> </div>
<div v-else-if="dragCol[index].prop == 'customerOrgParentName'"> <div v-else-if="dragCol[index].prop == 'customerOrgParentName'">
@ -92,10 +95,7 @@
"> ">
{{ scope.row.medicalPackageName }} {{ scope.row.medicalPackageName }}
</div> </div>
<div v-if="
scope.row.medicalPackageId !== dict.personOrgId &&
scope.row.customerOrgId !== dict.personOrgId
">
<div v-else>
{{ scope.row.customerOrgGroupName }} {{ scope.row.customerOrgGroupName }}
</div> </div>
</div> </div>
@ -667,7 +667,6 @@ export default {
maxResultCount: 100, // maxResultCount: 100, //
}, },
}, },
LocalConfigInit: {},
tableName: "", // tableName: "", //
doctorType: "check", //check: audit doctorType: "check", //check: audit
merge_lis_pacs_label: "0", //0 01 merge_lis_pacs_label: "0", //0 01
@ -696,20 +695,16 @@ export default {
getPagePriv(this.pagePriv.routeUrlorPageName) getPagePriv(this.pagePriv.routeUrlorPageName)
); );
this.LocalConfigInit = deepCopy(this.LocalConfig);
let LocalConfig = window.localStorage.getItem("LocalConfig") || null;
// console.log('LocalConfig',LocalConfig)
try { try {
this.LocalConfig = Object.assign(
{},
deepCopy(this.LocalConfigInit),
JSON.parse(LocalConfig) || {}
);
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null)
if (LocalConfig?.normal?.maxResultCount){
this.LocalConfig.normal.maxResultCount = LocalConfig.normal.maxResultCount
}
} catch (error) { } catch (error) {
console.log('window.localStorage.getItem("LocalConfig")', error); console.log('window.localStorage.getItem("LocalConfig")', error);
} }
// console.log('this.LocalConfig',this.LocalConfig) // console.log('this.LocalConfig',this.LocalConfig)
this.loadOpts.maxResultCount = Number( this.loadOpts.maxResultCount = Number(
this.LocalConfig.normal.maxResultCount || 100 this.LocalConfig.normal.maxResultCount || 100
@ -1524,6 +1519,15 @@ export default {
) )
body.completeFlags = this.patientRegister.query.completeFlags; body.completeFlags = this.patientRegister.query.completeFlags;
if (
this.patientRegister.query.personnelTypeIds &&
this.patientRegister.query.personnelTypeIds.length > 0
)
body.personnelTypeIds = this.patientRegister.query.personnelTypeIds;
if (this.patientRegister.query.isRecoverGuide)
body.isRecoverGuide = this.patientRegister.query.isRecoverGuide;
//StartDate EndDate //StartDate EndDate
if ( if (
this.patientRegister.query.startDate && this.patientRegister.query.startDate &&

371
src/components/patientRegister/PatientRegisterRecoverList.vue

@ -1,10 +1,10 @@
<template> <template>
<div style="display: flex;"> <div style="display: flex;">
<div :style="'width:' + (window.pageWidth - 200 - 145) + 'px;'"> <div :style="'width:' + (window.pageWidth - 200 - 145) + 'px;'">
<el-table :data="dataList" width="100%" :height="window.pageHeight < 600 ? 350 : window.pageHeight - 220" row-key="id"
size="small" highlight-current-row ref="dataList" @selection-change="handleSelectionChange" @row-click="rowClick">
<el-table :data="tableData" width="100%" border :height="window.pageHeight < 600 ? 330 : window.pageHeight - 240" row-key="id"
size="small" highlight-current-row ref="dataList" @selection-change="handleSelectionChange" @row-click="rowClick" @table-body-scroll="scrollFull">
<el-table-column type="selection" width="40" align="center" /> <el-table-column type="selection" width="40" align="center" />
<el-table-column prop="isRecoverGuide" label="回收" align="center" width="50">
<el-table-column prop="isRecoverGuide" label="回收1" align="center" width="50">
<template slot-scope="scope"> <template slot-scope="scope">
<el-checkbox :value="scope.row.isRecoverGuide == 'Y'" /> <el-checkbox :value="scope.row.isRecoverGuide == 'Y'" />
</template> </template>
@ -16,7 +16,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="isLock" label="锁住" width="50"> <el-table-column prop="isLock" label="锁住" width="50">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.isLock == "Y" ? "是" : "否" }}</div>
<i class="el-icon-lock" v-if="scope.row.isLock == 'Y'" style="font-size: 20px; color: red" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="customerOrgParentName" label="单位" width="180"> <el-table-column prop="customerOrgParentName" label="单位" width="180">
@ -27,14 +27,11 @@
</el-table-column> </el-table-column>
<el-table-column prop="customerOrgName" label="部门" width="180"> <el-table-column prop="customerOrgName" label="部门" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.customerOrgParentName ? scope.row.customerOrgName : "" }}</div>
<div>{{ scope.row.customerOrgParentName == scope.row.customerOrgName ? "" : scope.row.customerOrgName }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="patientName" label="姓名" /> <el-table-column prop="patientName" label="姓名" />
<el-table-column prop="sexId" label="性别">
<template slot-scope="scope">
<div>{{ ldddw(dict.sex, "id", scope.row.sexId, "displayName") }}</div>
</template>
<el-table-column prop="sexName" label="性别">
</el-table-column> </el-table-column>
<el-table-column prop="age" label="年龄" /> <el-table-column prop="age" label="年龄" />
<el-table-column prop="patientRegisterNo" label="条码号" width="150" /> <el-table-column prop="patientRegisterNo" label="条码号" width="150" />
@ -43,19 +40,14 @@
<el-table-column label="分组/套餐" width="150"> <el-table-column label="分组/套餐" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId === dict.personOrgId"> <div v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId === dict.personOrgId">
{{ ldddw(dict.medicalPackage, "id", scope.row.medicalPackageId, "displayName") }}
{{ scope.row.medicalPackageName }}
</div> </div>
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId !== dict.personOrgId">
{{ ldddw(dict.customerOrgGroupAll, "id", scope.row.customerOrgGroupId, "displayName") }}
<div v-else>
{{ scope.row.customerOrgGroupName }}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="nationId" label="民族">
<template slot-scope="scope">
<div>
{{ ldddw(dict.nation, "id", scope.row.nationId, "displayName") }}
</div>
</template>
<el-table-column prop="nationName" label="民族">
</el-table-column> </el-table-column>
<el-table-column prop="idNo" label="身份证" width="150" /> <el-table-column prop="idNo" label="身份证" width="150" />
<el-table-column prop="birthDate" label="出生日期" width="100"> <el-table-column prop="birthDate" label="出生日期" width="100">
@ -71,33 +63,18 @@
<el-table-column prop="address" label="地址" width="300" /> <el-table-column prop="address" label="地址" width="300" />
<el-table-column prop="medicalCardNo" label="体检卡号" /> <el-table-column prop="medicalCardNo" label="体检卡号" />
<el-table-column prop="jobCardNo" label="工卡号" /> <el-table-column prop="jobCardNo" label="工卡号" />
<el-table-column prop="maritalStatusId" label="婚姻状况">
<template slot-scope="scope">
<div>
{{ ldddw(dict.maritalStatus, "id", scope.row.maritalStatusId, "displayName") }}
</div>
</template>
<el-table-column prop="maritalStatusName" label="婚姻状况">
</el-table-column> </el-table-column>
<el-table-column prop="medicalTypeId" label="体检类别">
<template slot-scope="scope">
<div v-if="scope.row.medicalTypeId !== dict.personOrgId">
{{ ldddw(dict.medicalType, "id", scope.row.medicalTypeId, "displayName") }}
</div>
</template>
<el-table-column prop="medicalTypeName" label="体检类别">
</el-table-column> </el-table-column>
<el-table-column prop="personnelTypeId" label="人员类别">
<template slot-scope="scope">
<div v-if="scope.row.personnelTypeId !== dict.personOrgId">
{{ ldddw(dict.personnelType, "id", scope.row.personnelTypeId, "displayName") }}
</div>
</template>
<el-table-column prop="personnelTypeName" label="人员类别">
</el-table-column> </el-table-column>
<el-table-column prop="jobPost" label="职务" /> <el-table-column prop="jobPost" label="职务" />
<el-table-column prop="jobTitle" label="职称" /> <el-table-column prop="jobTitle" label="职称" />
<el-table-column prop="salesman" label="介绍人" /> <el-table-column prop="salesman" label="介绍人" />
<el-table-column prop="isVip" label="是否VIP">
<el-table-column prop="isVip" label="VIP">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.isVip == "Y" ? "是" : "否" }}</div>
<el-checkbox :value="scope.row.isVip == 'Y'" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="creatorName" label="登记人" /> <el-table-column prop="creatorName" label="登记人" />
@ -106,13 +83,24 @@
<div>{{ lmoment(scope.row.creationTime, "yyyy-MM-DD") }}</div> <div>{{ lmoment(scope.row.creationTime, "yyyy-MM-DD") }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="isUpload" label="是否上传">
<el-table-column prop="isUpload" label="上传">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.isUpload == "Y" ? "是" : "否" }}</div>
<el-checkbox :value="scope.row.isUpload == 'Y'" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div style="display: flex; justify-content: space-between">
<div></div>
<div style="display: flex;">
<span style="font-size: 12px">{{ loadOpts.totalCount }} 条记录当前显示{{
tableData.length
}}
</span>
<i class="el-icon-bottom" style="font-size: 18px;" @click="load" />
</div>
</div>
</div> </div>
<div style="margin-left: 10px;"> <div style="margin-left: 10px;">
<div class="listBtn"> <div class="listBtn">
@ -140,6 +128,7 @@ import moment from "moment";
import { mapState, mapActions } from "vuex"; import { mapState, mapActions } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api"; import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { dddw, objCopy, arrayReduce,arrayExistObj } from "@/utlis/proFunc"; import { dddw, objCopy, arrayReduce,arrayExistObj } from "@/utlis/proFunc";
import { savePeoplePhoto } from "../../utlis/proApi";
import PatientRegisterEdit from "../../components/patientRegister/PatientRegisterEdit.vue"; import PatientRegisterEdit from "../../components/patientRegister/PatientRegisterEdit.vue";
import Camera from "../../components/patientRegister/Camera.vue"; import Camera from "../../components/patientRegister/Camera.vue";
@ -151,20 +140,53 @@ export default {
}, },
data() { data() {
return { return {
dataList: [], //
tableData: [], //
multipleSelection: [], // multipleSelection: [], //
selectedRow:{}, //
tableDataCurrentRow:{}, //
dialogVisible: false, dialogVisible: false,
patientRegisterNo: ''
patientRegisterNo: '',
LocalConfig: {
normal: {
maxResultCount: 100, //
},
},
loadOpts: {
totalCount: 0,
skipCount: 0,
maxResultCount: 100,
},
loadOptsInit: {},
lazyLoading:false
}; };
}, },
created() { },
created() {
try {
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null)
if (LocalConfig?.normal?.maxResultCount){
this.LocalConfig.normal.maxResultCount = LocalConfig.normal.maxResultCount
}
} catch (error) {
console.log('window.localStorage.getItem("LocalConfig")', error);
}
// console.log('this.LocalConfig',this.LocalConfig)
this.loadOpts.maxResultCount = Number(
this.LocalConfig.normal.maxResultCount || 100
);
this.loadOptsInit = Object.assign({}, this.loadOpts);
},
// //
mounted() { },
mounted() {
this.$nextTick(() => {
this.scrollFull()
})
},
computed: { computed: {
...mapState(["window", "dict", "patientRegister", "customerOrg"]), ...mapState(["window", "dict", "patientRegister", "customerOrg"]),
}, },
@ -176,7 +198,7 @@ export default {
}, },
rowClick(row){ rowClick(row){
this.selectedRow = row
this.tableDataCurrentRow = row
}, },
// //
@ -191,9 +213,9 @@ export default {
e.isRecoverGuide = 'Y' e.isRecoverGuide = 'Y'
}); });
}else{ }else{
let lfind = arrayExistObj(this.dataList,'id',body[0].id)
let lfind = arrayExistObj(this.tableData,'id',body[0].id)
if(lfind > -1){ if(lfind > -1){
this.dataList[lfind].isRecoverGuide = 'Y'
this.tableData[lfind].isRecoverGuide = 'Y'
} }
} }
} }
@ -206,7 +228,7 @@ export default {
let selectedRds = [] let selectedRds = []
selectedRds = selectedRds.concat(this.multipleSelection) selectedRds = selectedRds.concat(this.multipleSelection)
if(selectedRds.length == 0){ if(selectedRds.length == 0){
if(this.selectedRow.id) selectedRds.push(this.selectedRow)
if(this.tableDataCurrentRow.id) selectedRds.push(this.tableDataCurrentRow)
} }
if (selectedRds.length == 0) { if (selectedRds.length == 0) {
this.$message.warning({ showClose: true, message: "请勾选择或选中体检人员,再进行此操作" }); this.$message.warning({ showClose: true, message: "请勾选择或选中体检人员,再进行此操作" });
@ -255,52 +277,251 @@ export default {
return moment(new Date(date)).format(forMat); return moment(new Date(date)).format(forMat);
}, },
// //
query() {
let body = {}
async Query() {
//
this.tableDataCurrentRow = {}; //
if (
!(
this.patientRegister.query.isSeries == "Y" &&
this.patientRegister.query.patientRegisterNo
)
) {
this.tableData = [];
}
this.loadOpts = Object.assign(this.loadOpts, this.loadOptsInit);
await this.getPrList();
},
console.log(`this.patientRegister.query`, this.patientRegister.query)
//
async load() {
this.loadOpts.skipCount++;
await this.getPrList();
},
//
async getPrList() {
if (
this.loadOpts.skipCount != 0 &&
this.loadOpts.skipCount * this.loadOpts.maxResultCount >=
this.loadOpts.totalCount
)
return;
// console.log('getPrList', this.loadOpts)
let body = {
skipCount: this.loadOpts.skipCount,
maxResultCount: this.loadOpts.maxResultCount,
};
// console.log(`this.patientRegister.query`, this.patientRegister.query);
if (this.patientRegister.query.customerOrgFlag) { if (this.patientRegister.query.customerOrgFlag) {
if (this.patientRegister.query.CustomerOrgParentId) {
body.customerOrgId = this.patientRegister.query.CustomerOrgParentId
} else {
if (this.patientRegister.query.customerOrgId) body.customerOrgId = this.patientRegister.query.customerOrgId
// if (this.patientRegister.query.CustomerOrgParentId) {
// body.customerOrgId = this.patientRegister.query.CustomerOrgParentId;
// } else {
// if (this.patientRegister.query.customerOrgId)
// body.customerOrgId = this.patientRegister.query.customerOrgId;
// }
if (this.patientRegister.query.customerOrgId)
body.customerOrgId = this.patientRegister.query.customerOrgId;
//
try {
if (
this.patientRegister.query.customerOrgId &&
this.patientRegister.query.customerOrgId != this.dict.personOrgId &&
this.patientRegister.query.customerOrgRegister.id
) {
body.customerOrgRegisterId =
this.patientRegister.query.customerOrgRegister.id;
body.customerOrgGroupIds =
this.patientRegister.query.customerOrgGroupIds;
}
} catch (error) {
console.error(error)
} }
} }
if (this.patientRegister.query.sex) body.sexId = this.patientRegister.query.sex
if (this.patientRegister.query.sex)
body.sexId = this.patientRegister.query.sex;
if (this.patientRegister.query.patientName) body.patientName = this.patientRegister.query.patientName
if (this.patientRegister.query.patientName)
body.patientName = this.patientRegister.query.patientName;
if (this.patientRegister.query.completeFlag) body.completeFlag = this.patientRegister.query.completeFlag
if (
this.patientRegister.query.medicalTypeIds &&
this.patientRegister.query.medicalTypeIds.length > 0
)
body.medicalTypeIds = this.patientRegister.query.medicalTypeIds;
if (
this.patientRegister.query.completeFlags &&
this.patientRegister.query.completeFlags.length > 0
)
body.completeFlags = this.patientRegister.query.completeFlags;
if (
this.patientRegister.query.personnelTypeIds &&
this.patientRegister.query.personnelTypeIds.length > 0
)
body.personnelTypeIds = this.patientRegister.query.personnelTypeIds;
if (this.patientRegister.query.isRecoverGuide)
body.isRecoverGuide = this.patientRegister.query.isRecoverGuide;
//StartDate EndDate //StartDate EndDate
if (this.patientRegister.query.startDate && this.patientRegister.query.endDate) {
body.startDate = moment(this.patientRegister.query.startDate).format("yyyy-MM-DD")
body.endDate = moment(this.patientRegister.query.endDate).format("yyyy-MM-DD")
if (
this.patientRegister.query.startDate &&
this.patientRegister.query.endDate
) {
body.dateType = this.patientRegister.query.dateType;
body.startDate = moment(this.patientRegister.query.startDate).format(
"yyyy-MM-DD"
);
body.endDate = moment(this.patientRegister.query.endDate).format(
"yyyy-MM-DD"
);
if (body.startDate > body.endDate) { if (body.startDate > body.endDate) {
this.$message.warning({ showClose: true, message: "起始日期不能大于截止日期,数据校验不通过!" })
return
this.$message.warning({
showClose: true,
message: "起始日期不能大于截止日期,数据校验不通过!",
});
return;
} }
} }
if (this.patientRegister.query.phone)
body.phone = this.patientRegister.query.phone;
if (this.patientRegister.query.idCardNo) {
body.idNo = this.patientRegister.query.idCardNo;
try {
let sysParmId = "patient_register_query_idno";
let sysParam = await postapi(
"/api/app/SysParmValue/GetSysParmValueBySysParmId",
{ sysParmId }
);
// console.log('sysParam', sysParam)
if (sysParam.data != "N") {
body = {
idNo: this.patientRegister.query.idCardNo,
skipCount: this.loadOpts.skipCount,
maxResultCount: this.loadOpts.maxResultCount,
};
}
} catch (error) {
console.log(error);
}
}
if (this.patientRegister.query.idCardNo) body = { idNo: this.patientRegister.query.idCardNo }
if (this.patientRegister.query.patientNo)
body = {
patientNo: this.patientRegister.query.patientNo,
skipCount: this.loadOpts.skipCount,
maxResultCount: this.loadOpts.maxResultCount,
};
if (this.patientRegister.query.patientRegisterNo)
body = {
patientRegisterNo: this.patientRegister.query.patientRegisterNo,
skipCount: this.loadOpts.skipCount,
maxResultCount: this.loadOpts.maxResultCount,
};
// console.log("/api/app/patientregister/getlistinfilter", body);
let upPhoto = "patient_register_read_idno_upPhoto"; //
let upPhotoParam = await postapi(
"/api/app/SysParmValue/GetSysParmValueBySysParmId",
{ sysParmId: upPhoto }
);
let photo = this.patientRegister.photo;
this.patientRegister.photo = "";
postapi("/api/app/patientregister/getlistinfilter", body).then(
async (res) => {
if (res.code > -1) {
//
this.loadOpts.totalCount = res.data.totalCount;
let curLoad = res.data.items;
// let oldCount = 0
//
// 1/
// 2()
curLoad.forEach((e) => {
// 1/
if (e.customerOrgId == this.dict.personOrgId) {
e.groupPack = e.medicalPackageId;
} else {
e.groupPack = e.customerOrgGroupId;
}
if (this.patientRegister.query.patientNo) body = { patientNo: this.patientRegister.query.patientNo }
// 2()
if (upPhotoParam != "N" && photo) {
if (!e.photo) {
savePeoplePhoto(e.id, photo);
}
}
});
// ()
console.log(
"this.patientRegister.query",
this.patientRegister.query.isSeries,
this.patientRegister.query.patientRegisterNo
);
if (
!(
this.patientRegister.query.isSeries == "Y" &&
this.patientRegister.query.patientRegisterNo
)
) {
if (body.skipCount == 0) {
//
this.tableData = [];
}
}
if (this.patientRegister.query.patientRegisterNo) body = { patientRegisterNo: this.patientRegister.query.patientRegisterNo }
this.tableData = this.tableData.concat(curLoad);
// else {
// // ,
// oldCount = this.tableData.length
// }
// curLoad.forEach((e, index) => {
// this.tableData.push(Object.assign({ index: Number(oldCount) + Number(index), choosed: false }, e))
// })
}
}
);
},
//console.log('/api/app/patientregister/getlistinfilter', body)
postapi('/api/app/patientregister/getlistinfilter', body)
.then((res) => {
if (res.code != - 1) {
this.dataList = res.data.items;
//
scrollFull() {
let obj = this.$refs['dataList'].bodyWrapper
console.log('obj', obj)
obj.addEventListener('scroll', async () => {
// console.log('scrollTop',this.dom.scrollTop,'clientHeight',this.dom.clientHeight,'scrollHeight',this.dom.scrollHeight);
if (obj.scrollTop + obj.clientHeight + 20 > obj.scrollHeight && !this.lazyLoading) {
//
console.log('scrollTop', obj.scrollTop, 'clientHeight', obj.clientHeight, 'scrollHeight', obj.scrollHeight);
if (Number(this.loadOpts.skipCount) * Number(this.loadOpts.maxResultCount) >= Number(this.loadOpts.totalCount)) {
this.lazyLoading = false
} else {
this.lazyLoading = true
this.load()
// this.dom.scrollTop = this.dom.scrollTop - 100
} }
})
}
})
}, },
}, },
// //
@ -309,7 +530,7 @@ export default {
"patientRegister.query.times"(newVal, oldVal) { "patientRegister.query.times"(newVal, oldVal) {
if (newVal != oldVal) { if (newVal != oldVal) {
//alert('') //alert('')
this.query();
this.Query();
} }
}, },

23
src/components/patientRegister/patientRegisterQuery.vue

@ -108,6 +108,21 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class="query">
<span class="spanClass">人员类别</span>
<el-select v-model="patientRegister.query.personnelTypeIds" placeholder="请选择" clearable filterable
style="width: 170px" size="small" multiple collapse-tags>
<el-option v-for="item in dict.personnelType" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select>
</div>
<div class="query">
<span class="spanClass">表回收</span>
<el-select v-model="patientRegister.query.isRecoverGuide" placeholder="请选择" clearable style="width: 80px"
size="small" >
<el-option label="未回收" value="N" />
<el-option label="已回收" value="Y" />
</el-select>
</div>
</div> </div>
<!-- 按钮区域 --> <!-- 按钮区域 -->
@ -218,6 +233,14 @@ export default {
this.dict.medicalType = res.data; this.dict.medicalType = res.data;
} }
}); });
//
getapi("/api/app/personnel-type/in-filter").then((res) => {
if (res.code > -1) {
this.dict.personnelType = res.data;
}
});
}, },

2
src/store/index.js

@ -221,6 +221,8 @@ export default new Vuex.Store({
medicalTypeIds: [], medicalTypeIds: [],
completeFlags: [], completeFlags: [],
medicalConclusionId:[], medicalConclusionId:[],
personnelTypeIds:[],
isRecoverGuide:''
}, //查询条件 }, //查询条件
customerOrgGroup: [], //分组(针对单位) customerOrgGroup: [], //分组(针对单位)
patientRegisterAbs: [], //人员已选组合项目 patientRegisterAbs: [], //人员已选组合项目

2
src/views/customerOrg/patientRegister.vue

@ -108,7 +108,6 @@ export default {
} }
}); });
/*
// //
getapi("/api/app/personnel-type/in-filter").then((res) => { getapi("/api/app/personnel-type/in-filter").then((res) => {
if (res.code == 1) { if (res.code == 1) {
@ -116,6 +115,7 @@ export default {
} }
}); });
/*
// //
getapi("/api/app/MaritalStatus/GetMaritalStatusList").then((res) => { getapi("/api/app/MaritalStatus/GetMaritalStatusList").then((res) => {
if (res.code == 1) { if (res.code == 1) {

42
src/views/customerOrg/patientRegisterRecover.vue

@ -80,28 +80,29 @@ export default {
} }
}); });
//
getapi("/api/app/for-sex").then((res) => {
if (res.code == 1) {
this.dict.forSex = res.data;
}
});
// //
// getapi("/api/app/for-sex").then((res) => {
// if (res.code == 1) {
// this.dict.forSex = res.data;
// }
// });
// //
getapi("/api/app/organization-units/organization-unit-by-is-peis").then(
(res) => {
if (res.code == 1) {
this.dict.organization = res.data;
}
}
);
// getapi("/api/app/organization-units/organization-unit-by-is-peis").then(
// (res) => {
// if (res.code == 1) {
// this.dict.organization = res.data;
// }
// }
// );
// //
// getapi("/api/app/customer-org/in-filter").then((res) => {
// if (res.code == 1) {
// this.dict.customerOrg = res.data;
// }
// });
//
getapi("/api/app/customer-org/in-filter").then((res) => {
if (res.code == 1) {
this.dict.customerOrg = res.data;
}
});
// //
getapi("/api/app/medical-type/in-filter").then((res) => { getapi("/api/app/medical-type/in-filter").then((res) => {
@ -117,6 +118,7 @@ export default {
} }
}); });
/*
// //
getapi("/api/app/MaritalStatus/GetMaritalStatusList").then((res) => { getapi("/api/app/MaritalStatus/GetMaritalStatusList").then((res) => {
if (res.code == 1) { if (res.code == 1) {
@ -181,7 +183,7 @@ export default {
this.dict.asbItemAll = res.data; this.dict.asbItemAll = res.data;
} }
}); });
*/
console.log("dict", this.dict); console.log("dict", this.dict);
}, },
}, },

10
src/views/fee-settings/cardRegister.vue

@ -872,14 +872,14 @@ export default {
// //
// //
scrollFull() { scrollFull() {
this.dom = this.$refs['info'].bodyWrapper
console.log('this.dom', this.dom)
let obj = this.$refs['info'].bodyWrapper
console.log('obj', obj)
this.dom.addEventListener('scroll', async () => {
obj.addEventListener('scroll', async () => {
// console.log('scrollTop',this.dom.scrollTop,'clientHeight',this.dom.clientHeight,'scrollHeight',this.dom.scrollHeight); // console.log('scrollTop',this.dom.scrollTop,'clientHeight',this.dom.clientHeight,'scrollHeight',this.dom.scrollHeight);
if (this.dom.scrollTop + this.dom.clientHeight + 20 > this.dom.scrollHeight && !this.lazyLoading) {
if (obj.scrollTop + obj.clientHeight + 20 > obj.scrollHeight && !this.lazyLoading) {
// //
console.log('scrollTop', this.dom.scrollTop, 'clientHeight', this.dom.clientHeight, 'scrollHeight', this.dom.scrollHeight);
console.log('scrollTop', obj.scrollTop, 'clientHeight', obj.clientHeight, 'scrollHeight', obj.scrollHeight);
if (Number(this.loadOpts.skipCount) * Number(this.loadOpts.maxResultCount) >= Number(this.loadOpts.totalCount)) { if (Number(this.loadOpts.skipCount) * Number(this.loadOpts.maxResultCount) >= Number(this.loadOpts.totalCount)) {
this.lazyLoading = false this.lazyLoading = false
} else { } else {

Loading…
Cancel
Save