|
|
|
@ -2,7 +2,7 @@ |
|
|
|
<div style="display: flex"> |
|
|
|
<div |
|
|
|
:style=" |
|
|
|
'margin-left:5px;width:' + (window.pageWidth - 200 - 120 - 55) + 'px;' |
|
|
|
'margin-left:5px;width:' + (window.pageWidth - 200 - 110 - 50) + 'px;' |
|
|
|
" |
|
|
|
@contextmenu.prevent="onContextmenu" |
|
|
|
> |
|
|
|
@ -122,26 +122,25 @@ |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
</div> |
|
|
|
<div style="margin-left: 10px; width: 110px"> |
|
|
|
<div style="margin-left: 10px;"> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="" class="btnClass commonbutton" @click="add" |
|
|
|
>人员登记</el-button |
|
|
|
<el-button type="success" class="btnClass" @click="btnAdd">人员登记</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="" class="btnClass commonbutton" @click="btnEdit" |
|
|
|
<el-button type="primary" class="btnClass" @click="btnEdit" |
|
|
|
>编辑</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="" class="btnClass commonbutton" @click="del" |
|
|
|
<el-button type="danger" class="btnClass" @click="del" |
|
|
|
>删除</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button |
|
|
|
type="" |
|
|
|
class="btnClass commonbutton" |
|
|
|
class="btnClass" |
|
|
|
@click="openCamera" |
|
|
|
icon="el-icon-camera" |
|
|
|
>拍照</el-button |
|
|
|
@ -153,19 +152,19 @@ |
|
|
|
</div> |
|
|
|
--> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="" class="btnClass commonbutton" @click="btnGroupBatch" |
|
|
|
>调整分组</el-button |
|
|
|
<el-button type="" class="btnClass" @click="btnGroupBatch" |
|
|
|
>批量调整分组</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="" class="btnClass commonbutton" @click="asbBatch" |
|
|
|
>调整项目</el-button |
|
|
|
<el-button type="" class="btnClass" @click="asbBatch" |
|
|
|
>批量调整项目</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button |
|
|
|
type="" |
|
|
|
class="btnClass commonbutton" |
|
|
|
class="btnClass" |
|
|
|
@click="guidePrint('0001', false)" |
|
|
|
>指引单打印</el-button |
|
|
|
> |
|
|
|
@ -173,7 +172,7 @@ |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button |
|
|
|
type="" |
|
|
|
class="btnClass commonbutton" |
|
|
|
class="btnClass" |
|
|
|
@click="guidePrint('0001', true)" |
|
|
|
>指引单预览</el-button |
|
|
|
> |
|
|
|
@ -188,14 +187,14 @@ |
|
|
|
<!-- 体检人员登记 --> |
|
|
|
<el-dialog |
|
|
|
:title=" |
|
|
|
patientRegister.patientRegisterId ? '体检人员--编辑' : '体检人员--新增' |
|
|
|
patientRegister.patientRegisterRd.id ? '体检人员--编辑' : '体检人员--新增' |
|
|
|
" |
|
|
|
:visible.sync="dialogVisible" |
|
|
|
:close-on-click-modal="false" |
|
|
|
fullscreen |
|
|
|
> |
|
|
|
<PatientRegisterEdit |
|
|
|
:formInitData="formInitData" |
|
|
|
:formInitData="patientRegister.patientRegisterRd" |
|
|
|
:editTimes="editTimes" |
|
|
|
/> |
|
|
|
</el-dialog> |
|
|
|
@ -767,10 +766,12 @@ export default { |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
if(lfind > -1 && this.patientRegister.patientRegisterId != this.patientRegister.prList[lfind].id){ |
|
|
|
this.patientRegister.patientRegisterId = this.patientRegister.prList[lfind].id |
|
|
|
this.patientRegister.photo = this.patientRegister.prList[lfind].photo || "/pic/Photo.jpg"; |
|
|
|
|
|
|
|
if(lfind > -1 && this.patientRegister.patientRegisterRd.id != this.patientRegister.prList[lfind].id){ |
|
|
|
this.patientRegister.patientRegisterRd = this.patientRegister.prList[lfind]; |
|
|
|
this.patientRegister.photo = this.patientRegister.prList[lfind].photo || "/pic/Photo.jpg"; |
|
|
|
this.patientRegister.patientRegisterRd.customerOrgId = this.patientRegister.query.customerOrgId; |
|
|
|
|
|
|
|
this.patientRegister.query.customerOrgParentId = this.patientRegister.prList[lfind].customerOrgParentId; |
|
|
|
this.patientRegister.customerOrgGroupChange = 0; //控制体检列表记录切换时,0 无需触发更换分组操作 |
|
|
|
this.patientRegister.medicalPackageChange = 0; //控制体检列表记录切换时,0 无需触发更换套餐操作 |
|
|
|
@ -782,7 +783,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
//体检次数 相关操作 |
|
|
|
add() { |
|
|
|
btnAdd() { |
|
|
|
if(!this.peisid || this.peisid == 'null'){ |
|
|
|
this.$message.warning("该用户未选归属体检中心,不能执行此操作!"); |
|
|
|
return |
|
|
|
@ -793,16 +794,11 @@ export default { |
|
|
|
this.$message.warning("请选择单位或个人"); |
|
|
|
return; |
|
|
|
} |
|
|
|
//console.log('customerOrgId',customerOrgId) |
|
|
|
this.patientRegister.patientRegisterId = ""; |
|
|
|
this.patientRegister.photo = "/pic/Photo.jpg"; |
|
|
|
// this.patientRegister.patientRegisterRdInit.id = ""; |
|
|
|
// this.patientRegister.patientRegisterRdInit.customerOrgId = this.patientRegister.query.customerOrgId; |
|
|
|
// this.patientRegister.addTimes++; |
|
|
|
// this.patientRegister.patientRegisterTimes++; |
|
|
|
this.patientRegister.patientRegisterRdInit.customerOrgId = |
|
|
|
this.patientRegister.query.customerOrgId; |
|
|
|
this.formInitData = deepCopy(this.patientRegister.patientRegisterRdInit); |
|
|
|
|
|
|
|
this.patientRegister.patientRegisterRd = deepCopy(this.patientRegister.patientRegisterRdInit) |
|
|
|
this.patientRegister.patientRegisterRd.customerOrgId = this.patientRegister.query.customerOrgId; |
|
|
|
this.patientRegister.photo = "/pic/Photo.jpg"; |
|
|
|
|
|
|
|
this.patientRegister.patientRegisterAbs = []; |
|
|
|
this.dialogVisible = true; |
|
|
|
this.editTimes++; //触发表单窗口,数据更新 |
|
|
|
@ -814,9 +810,6 @@ export default { |
|
|
|
this.$message.warning("请选择要操作的记录"); |
|
|
|
return; |
|
|
|
} |
|
|
|
//this.patientRegister.patientRegisterTimes++; |
|
|
|
//this.getPatientRegisterAbs(this.patientRegister.patientRegisterRd.id); |
|
|
|
this.formInitData = deepCopy(this.patientRegister.patientRegisterRd); |
|
|
|
this.dialogVisible = true; |
|
|
|
this.editTimes++; //触发表单窗口,数据更新 |
|
|
|
}, |
|
|
|
@ -893,13 +886,6 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
ldddw(arrayData, key, value, display) { |
|
|
|
return dddw(arrayData, key, value, display); |
|
|
|
}, |
|
|
|
|
|
|
|
lmoment(date, forMat) { |
|
|
|
return moment(new Date(date)).format(forMat); |
|
|
|
}, |
|
|
|
|
|
|
|
//查询 |
|
|
|
async Query() { |
|
|
|
@ -1030,6 +1016,9 @@ export default { |
|
|
|
this.pacsPrint(row.id, "0004", false); |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "----------------", |
|
|
|
}, |
|
|
|
], |
|
|
|
event, |
|
|
|
//x: event.clientX, |
|
|
|
@ -1580,8 +1569,11 @@ export default { |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style scoped> |
|
|
|
@import "../../assets/css/global_input.css"; |
|
|
|
@import "../../assets/css/global_table.css"; |
|
|
|
@import "../../assets/css/global.css"; |
|
|
|
|
|
|
|
|
|
|
|
.box { |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
@ -1592,47 +1584,7 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.btnClass { |
|
|
|
width: 110px; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .el-input__inner { |
|
|
|
/*text-align: center;*/ |
|
|
|
padding-left: 5px; |
|
|
|
padding-right: 1px; |
|
|
|
} |
|
|
|
|
|
|
|
/* 表格 表头 列间距控制 */ |
|
|
|
::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; /* 上,右,下,左 */ |
|
|
|
} |
|
|
|
|
|
|
|
/* 表格单元格 .el-table .cell ,默认 10 px*/ |
|
|
|
::v-deep .cell { |
|
|
|
padding-left: 2px; |
|
|
|
padding-right: 2px; |
|
|
|
width: 100px; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep input[type="number"]::-webkit-inner-spin-button, |
|
|
|
input[type="number"]::-webkit-outer-spin-button { |
|
|
|
-webkit-appearance: none !important; |
|
|
|
margin: 0 !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 表格选中行 颜色 |
|
|
|
::v-deep .el-table__body tr.current-row>td { |
|
|
|
background-color: #CCF9CB !important; |
|
|
|
} |
|
|
|
*/ |
|
|
|
</style> |