|
|
|
@ -1,11 +1,11 @@ |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<el-card> |
|
|
|
<div class="publiccss">体检报告</div> |
|
|
|
<div style="display: flex; margin-top: 20px"> |
|
|
|
<div slot="header">体检报告</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<div |
|
|
|
:style=" |
|
|
|
'display: block; width:' + (window.pageWidth - 120 - 80) + 'px;' |
|
|
|
'display: block; width:' + (window.pageWidth - 110 - 45) + 'px;' |
|
|
|
" |
|
|
|
> |
|
|
|
<PatientRegisterQueryNobtn orgEnable="Y" /> |
|
|
|
@ -13,7 +13,7 @@ |
|
|
|
<div |
|
|
|
:style=" |
|
|
|
'width:' + |
|
|
|
Math.floor(((window.pageWidth - 120 - 80) * 3) / 4) + |
|
|
|
Math.floor(((window.pageWidth - 110 - 45) * 3) / 4) + |
|
|
|
'px;' |
|
|
|
" |
|
|
|
> |
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
<div |
|
|
|
:style=" |
|
|
|
'margin-left: 2px;width:' + |
|
|
|
Math.floor((window.pageWidth - 120 - 80 - 8) / 4) + |
|
|
|
Math.floor((window.pageWidth - 110 - 45 - 8) / 4) + |
|
|
|
'px;' |
|
|
|
" |
|
|
|
> |
|
|
|
@ -35,7 +35,7 @@ |
|
|
|
:patientRegisterId="patientRegister.patientRegisterId" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div style="margin-left: 10px; width: 110px"> |
|
|
|
<div style="margin-left: 10px; "> |
|
|
|
<BtnReport /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -86,7 +86,7 @@ export default { |
|
|
|
dictInit() { |
|
|
|
//性别 |
|
|
|
getapi("/api/app/sex").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.sex = res.data; |
|
|
|
} |
|
|
|
}); |
|
|
|
@ -94,7 +94,7 @@ export default { |
|
|
|
//体检中心 |
|
|
|
getapi("/api/app/organization-units/organization-unit-by-is-peis").then( |
|
|
|
(res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.organization = res.data; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -102,7 +102,7 @@ export default { |
|
|
|
|
|
|
|
//体检单位树 |
|
|
|
getapi("/api/app/customerorg/getbycodeall").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.patientRegister.customerOrgTreeAll = res.data; |
|
|
|
tcdate(this.patientRegister.customerOrgTreeAll); |
|
|
|
} |
|
|
|
@ -110,77 +110,77 @@ export default { |
|
|
|
|
|
|
|
//体检类别 |
|
|
|
getapi("/api/app/medical-type/in-filter").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.medicalType = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//人员类别 |
|
|
|
getapi("/api/app/personnel-type/in-filter").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.personnelType = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//婚姻状况 |
|
|
|
getapi("/api/app/marital-statuses").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.maritalStatus = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//性激素期 |
|
|
|
getapi("/api/app/sex-hormone-term/in-filter").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.sexHormoneTerm = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//民族 |
|
|
|
getapi("/api/app/nation/in-filter").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.nation = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//籍惯 ,出生地 |
|
|
|
getapi("/api/app/birth-place/in-filter").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.birthPlace = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//套餐 |
|
|
|
getapi("/api/app/medical-package/in-filter").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.medicalPackage = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//分组,所有分组,不限单位,不限次数 |
|
|
|
getapi("/api/app/customer-org-group").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.customerOrgGroupAll = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//支付方式 |
|
|
|
getapi("/api/app/pay-mode").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.payMode = res.data; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
//体检类别 树结构 |
|
|
|
getapi("/api/app/item-type/by-code-all").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.itemTypeTree = res.data; |
|
|
|
tcdate(this.dict.itemTypeTree); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
getapi("/api/app/asbitem/in-filter?Filter").then((res) => { |
|
|
|
if (res.code == 1) { |
|
|
|
if (res.code != -1) { |
|
|
|
this.dict.asbItemAll = res.data.items; |
|
|
|
} |
|
|
|
}); |
|
|
|
@ -202,41 +202,10 @@ export default { |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style scoped> |
|
|
|
/* 表格 表头 列间距控制 */ |
|
|
|
::v-deep .el-table th.el-table__cell > .cell { |
|
|
|
text-align: center; /* 表格 表头 对齐方式,默认 left */ |
|
|
|
padding-right: 2px; /* 表格 表头 列间距控制,默认 10px */ |
|
|
|
padding-left: 2px; /* 表格 表头 列间距控制,默认 10px */ |
|
|
|
} |
|
|
|
|
|
|
|
/* 表格 表体 首列左间距控制 */ |
|
|
|
::v-deep .el-table--border .el-table__cell:first-child .cell { |
|
|
|
padding-left: 2px; /* 表格 表体 首列左间距控制,默认 10px */ |
|
|
|
} |
|
|
|
|
|
|
|
/* 表格 行列间距控制 ,默认 10 px*/ |
|
|
|
::v-deep .el-table__cell { |
|
|
|
padding: 2px 2px 2px 2px; /* 上,右,下,左 */ |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .cell { |
|
|
|
padding-left: 2px; |
|
|
|
padding-right: 2px; |
|
|
|
} |
|
|
|
.query { |
|
|
|
margin-left: 10px; |
|
|
|
} |
|
|
|
|
|
|
|
.listBtn { |
|
|
|
margin-top: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
.btnClass { |
|
|
|
width: 110px; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
.btnClass { |
|
|
|
width: 110px; |
|
|
|
} |
|
|
|
@import '../../assets/css/global_card.css'; |
|
|
|
@import '../../assets/css/global_input.css'; |
|
|
|
@import '../../assets/css/global_table.css'; |
|
|
|
@import '../../assets/css/global.css'; |
|
|
|
|
|
|
|
|
|
|
|
</style> |