|
|
|
@ -165,10 +165,10 @@ |
|
|
|
<el-button type="primary" class="btnClass">健康档案</el-button> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="primary" class="btnClass">调整分组</el-button> |
|
|
|
<el-button type="primary" class="btnClass" @click="btnGroupBatch">调整分组</el-button> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="primary" class="btnClass">调整项目</el-button> |
|
|
|
<el-button type="primary" class="btnClass" @click="asbBatch">调整项目</el-button> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="primary" class="btnClass" @click="guidePrint('0001', false)">指引单打印</el-button> |
|
|
|
@ -195,6 +195,36 @@ |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<div>{{ guideMsg }}</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 批量调整分组 --> |
|
|
|
<el-dialog title="批量调整分组" :visible.sync="dialogGroup" width="400" height="800" :append-to-body="true" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
批量调整分组只针对单位体检有效,个人体检将忽略此操作;不能调整已收费或已检的项目及已总检的体检人员。 |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<br /><span>分组</span> |
|
|
|
<el-select v-model="groupBatch.customerOrgGroupId" placeholder="请选择" filterable size="small"> |
|
|
|
<el-option v-for="item in patientRegister.customerOrgGroup" :key="item.id" :label="item.displayName" |
|
|
|
:value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="0">个人支付</el-radio> |
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="1">单位支付</el-radio> |
|
|
|
<br /><el-radio v-model="groupBatch.payTypeFlag" label="2">免费</el-radio> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<br /><el-checkbox v-model="groupBatch.isReserveAddAsbitem">保留加做项目(包括不属于原分组的、没有设置分组的)</el-checkbox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button type="primary" @click="groupBatchHandle">确 定</el-button> |
|
|
|
<el-button @click="dialogGroup = false">取 消</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
@ -227,6 +257,14 @@ export default { |
|
|
|
|
|
|
|
rClickRow: null, //右击的行 |
|
|
|
rClickColumn: null, //右击的列(预留) |
|
|
|
|
|
|
|
dialogGroup: false, |
|
|
|
groupBatch: { |
|
|
|
patientRegisterId: null, |
|
|
|
customerOrgGroupId: null, |
|
|
|
payTypeFlag: "1", //0:个人付费,1:单位付费 2:免费 |
|
|
|
isReserveAddAsbitem: true, //是否保留加做项目 |
|
|
|
}, |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -246,7 +284,7 @@ export default { |
|
|
|
let user = localStorage.getItem('user'); |
|
|
|
let toOutShell = { |
|
|
|
ReportCode, token, |
|
|
|
preViewCanPrint:'N', |
|
|
|
preViewCanPrint: 'N', |
|
|
|
Parameters: [ |
|
|
|
{ Name: 'printer', Value: user }, |
|
|
|
{ Name: 'hisLog', Value: 'pic/hisLog.jpg' }, |
|
|
|
@ -364,6 +402,7 @@ export default { |
|
|
|
this.getPatientRegisterAbs(); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
edit() { |
|
|
|
if (!this.patientRegister.patientRegisterRd.id) { |
|
|
|
alert("请选择要操作的记录"); |
|
|
|
@ -570,6 +609,60 @@ export default { |
|
|
|
return false; |
|
|
|
}, |
|
|
|
|
|
|
|
//批量更新分组按钮 |
|
|
|
btnGroupBatch() { |
|
|
|
let customerOrgId = this.patientRegister.query.customerOrgId; |
|
|
|
if (!customerOrgId) { |
|
|
|
alert("请选择单位或个人"); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (this.multipleSelection.length < 1) { |
|
|
|
this.$message.info("请勾选要操作的人员!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
this.dialogGroup = true; |
|
|
|
}, |
|
|
|
|
|
|
|
//批量更新分组处理 |
|
|
|
async groupBatchHandle() { |
|
|
|
let groupBatch = { patientRegisterId: null, ...this.groupBatch }; |
|
|
|
|
|
|
|
if (groupBatch.isReserveAddAsbitem) { |
|
|
|
groupBatch.isReserveAddAsbitem = 'Y'; |
|
|
|
} else { |
|
|
|
groupBatch.isReserveAddAsbitem = 'N'; |
|
|
|
} |
|
|
|
console.log('groupBatch', groupBatch); |
|
|
|
if (!groupBatch.customerOrgGroupId) { |
|
|
|
this.$message.warning("请选择分组"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
for (let i = 0; i < this.multipleSelection.length; i++) { |
|
|
|
groupBatch.patientRegisterId = this.multipleSelection[i].id; |
|
|
|
try { |
|
|
|
await postapi('/api/app/patientregister/updatepatientregistercustomerorggroup', groupBatch); |
|
|
|
} catch (error) { |
|
|
|
console.log(error); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.dialogGroup = false; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//批量更新项目 |
|
|
|
asbBatch() { |
|
|
|
let customerOrgId = this.patientRegister.query.customerOrgId; |
|
|
|
if (!customerOrgId) { |
|
|
|
alert("请选择单位或个人"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//检验申请 |
|
|
|
async lisRequest(prId) { |
|
|
|
let isPrintLisRequest = false |
|
|
|
@ -620,7 +713,7 @@ export default { |
|
|
|
let user = localStorage.getItem('user'); |
|
|
|
let toOutShell = { |
|
|
|
ReportCode, token, |
|
|
|
preViewCanPrint:'N', |
|
|
|
preViewCanPrint: 'N', |
|
|
|
Parameters: [ |
|
|
|
{ Name: 'printer', Value: user }, |
|
|
|
{ Name: 'hisLog', Value: 'pic/hisLog.jpg' }, |
|
|
|
@ -678,7 +771,7 @@ export default { |
|
|
|
let user = localStorage.getItem('user'); |
|
|
|
let toOutShell = { |
|
|
|
ReportCode, token, |
|
|
|
preViewCanPrint:'Y', |
|
|
|
preViewCanPrint: 'Y', |
|
|
|
Parameters: [ |
|
|
|
{ Name: 'printer', Value: user }, |
|
|
|
{ Name: 'hisLog', Value: 'pic/hisLog.jpg' }, |
|
|
|
@ -686,7 +779,7 @@ export default { |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
if (isPreview) { |
|
|
|
if (isPreview) { |
|
|
|
//http://140.143.162.39:9529/api/app/printreport/getpacsnoreport?PatientRegisterId=3a0c990e-5756-2dc0-19d5-69a617fe4048 |
|
|
|
//this.multipleSelection.forEach((item,index) =>{ |
|
|
|
postapi(`/api/app/printreport/getpacsnoreport?PatientRegisterId=${prId}`) |
|
|
|
|