pengjun 1 month ago
parent
commit
642006a235
  1. 8
      src/components/common/LocalConfig.vue
  2. 7
      src/components/doctorCheck/ButtonList.vue
  3. 57
      src/components/doctorCheck/CheckItemList.vue
  4. 21
      src/components/doctorCheck/PatientRegisterList.vue
  5. 14
      src/components/report/CusOrgOCX.vue
  6. 9
      src/components/sumDoctorCheck/SumSug.vue

8
src/components/common/LocalConfig.vue

@ -97,6 +97,14 @@
</el-form-item>
</el-tooltip>
</el-col>
<el-col :span="6">
<el-tooltip content="医生诊台选多个结果模版自动添加;" placement="top">
<el-form-item label="勾选;□">
<el-checkbox v-model="LocalConfig.doctorCheck.isSplitChooseResult" size="small" true-label="Y"
false-label="N" />
</el-form-item>
</el-tooltip>
</el-col>
</el-row>
<el-row>
<el-col :span="6">

7
src/components/doctorCheck/ButtonList.vue

@ -183,7 +183,7 @@
<script>
import { mapState, mapActions, mapMutations } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { getPagePriv, checkPagePriv, deepCopy, arrayExistObj, objCopy } from "../../utlis/proFunc";
import { getPagePriv, checkPagePriv, deepCopy, arrayExistObj, objCopy, arrayFilter } from "../../utlis/proFunc";
import PatientRegisterEdit from "../../components/patientRegister/PatientRegisterEdit.vue";
import PatientRegisterList from "./PatientRegisterList.vue";
@ -334,6 +334,11 @@ export default {
prList() {
this.doctorCheck.doctorCheckDialogVisible = true
//
// if(isArray(this.report.dataCusOrgOCX) && this.report.dataCusOrgOCX.length > 0){
// this.report.dataCusOrgOCX[0]['dateType'] = 'checkDate'
// }
},
//

57
src/components/doctorCheck/CheckItemList.vue

@ -121,7 +121,7 @@
<!-- 结果录入模版 -->
<el-dialog title="结果录入模版" :visible.sync="dialogWinMoreResult" width="800px" :close-on-click-modal="false">
<div style="margin-top: -10px">
<el-checkbox v-model="isSplitChooseResult" size="small" true-label="Y"
<el-checkbox v-model="LocalConfig.doctorCheck.isSplitChooseResult" size="small" true-label="Y"
false-label="N">选结果模板时自动添加分隔符</el-checkbox>
<div style="
overflow-y: auto;
@ -271,8 +271,7 @@ export default {
result: "",
defaultResult: "",
index: 0, //
}, //
isSplitChooseResult: "N", //
}, //
selection: {
//
start: 0,
@ -302,6 +301,7 @@ export default {
doctorCheck: {
isSelectAll: 'N', //
pacsDescFontSize: "14px", //
isSplitChooseResult: "Y", //
}
},
@ -322,7 +322,7 @@ export default {
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null)
if (LocalConfig?.doctorCheck?.isSelectAll) this.LocalConfig.doctorCheck.isSelectAll = LocalConfig.doctorCheck.isSelectAll
if (LocalConfig?.doctorCheck?.pacsDescFontSize) this.LocalConfig.doctorCheck.pacsDescFontSize = LocalConfig.doctorCheck.pacsDescFontSize + 'px'
if (LocalConfig?.doctorCheck?.isSplitChooseResult) this.LocalConfig.doctorCheck.isSplitChooseResult = LocalConfig.doctorCheck.isSplitChooseResult
},
//
@ -769,9 +769,9 @@ export default {
if (this.moreResult.result) result = this.moreResult.result.split(";");
//
if (this.isSplitChooseResult == "Y" && result.indexOf(item.result) > -1)
if (this.LocalConfig.doctorCheck.isSplitChooseResult == "Y" && result.indexOf(item.result) > -1)
return;
if (this.isSplitChooseResult == "Y" || result.length == 0) {
if (this.LocalConfig.doctorCheck.isSplitChooseResult == "Y" || result.length == 0) {
result.push(item.result);
} else {
result[result.length - 1] = result[result.length - 1] + item.result;
@ -1090,9 +1090,52 @@ export default {
return false;
},
//
pacsReportView() {
this.$message.info({ showClose: true, message: this.doctorCheck.RegisterCheckId })
if (!this.$peisAPI) {
this.$message.info("此功能,需要在壳客户端才可运行!")
return
}
///3a0c990e-5756-2dc0-19d5-69a617fe4048
let ReportCode = '0011';
let BusinessCode = this.doctorCheck.RegisterCheckId
let token = window.sessionStorage.getItem('token');
let user = window.sessionStorage.getItem('user');
let toOutShell = {
ReportCode, token, BusinessCode,
isBuildImage: 'N',
IsUploadPdf: 'N',
preViewCanPrint: 'Y',
Parameters: [
{ Name: 'printer', Value: user },
{ Name: 'LTS', Value: 'Y' }, //YN N
{ Name: "firstPage", Value: "pic/peisReportFirstPage.jpg" },
{ Name: "pageHeader", Value: "pic/peisReportPageHeader.jpg" },
{ Name: "pageFooter", Value: "pic/peisReportPageFooter.jpg" },
{ Name: "orgSign", Value: this.dataTransOpts.tableS.patient_register.isPatientOccupationalDisease == 'Y' ? "pic/orgSignOcc.png" : "pic/orgSign.png" },
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' },
{ Name: 'resultSign', Value: 'pic/resultSign.png' },
],
};
let JSONtoOutShell = JSON.stringify(toOutShell)
console.log('$peisAPI.printPre', JSONtoOutShell)
this.$peisAPI.printPre(JSONtoOutShell)
.then(res => {
if (res) {
let lres = JSON.parse(res)
if (lres.code < 0) this.$message.error({ showClose: true, message: lres.message })
}
})
.catch(err => {
this.$message.warning(err);
});
},
},
//

21
src/components/doctorCheck/PatientRegisterList.vue

@ -77,7 +77,7 @@
</div>
<div class="query">
<el-button class="commonbutton" type="primary" @click="query" size="small"
<el-button class="commonbutton" type="primary" @click="btnQuery" size="small"
style="width:50px;height:26px;margin: 2px 0 2px -3px;">查询</el-button>
</div>
</div>
@ -452,7 +452,7 @@ export default {
},
//
async query() {
async btnQuery() {
this.loadOpts = Object.assign(this.loadOpts, this.loadOptsInit)
await this.getPrList()
},
@ -463,10 +463,25 @@ export default {
console.log('this.report.dataCusOrgOCX', this.report.dataCusOrgOCX)
if (this.report.dataCusOrgOCX.length > 0) {
this.report.dataCusOrgOCX.forEach(e => {
let dateType = '1'
switch (e.dateType) {
case 'summaryDate':
dateType = '3'
break;
case 'medicalStartDate':
dateType = '2'
break;
case 'checkDate':
dateType = '4'
break;
default:
break;
}
let rd = {
startDate: moment(e.startDate).format('yyyy-MM-DD'),
endDate: moment(e.endDate).format('yyyy-MM-DD'),
dateType: e.dateType == 'summaryDate' ? '3' : (e.dateType == 'medicalStartDate' ? '2' : '1')
dateType
}
if (e.customerOrgId) {

14
src/components/report/CusOrgOCX.vue

@ -84,14 +84,15 @@
</template>
</el-table-column>
</el-table>
<div style="display: flex;margin-top: 8px;margin-left: 15px;">
<div style="display: flex;margin-top: 8px;margin-left: 15px;justify-content: space-between;">
<div style="display: block;">
<div>
<span>日期方式</span>
<el-radio-group v-model="dateType" @change="changeDateType">
<el-radio label="creationTime">登记日期</el-radio>
<el-radio label="medicalStartDate">体检日期</el-radio>
<el-radio label="summaryDate">总检日期 </el-radio>
<el-radio label="creationTime">登记</el-radio>
<el-radio label="medicalStartDate">体检</el-radio>
<el-radio label="checkDate">检查</el-radio>
<el-radio label="summaryDate">总检</el-radio>
</el-radio-group>
</div>
<div style="margin-top: 5px;">
@ -131,7 +132,7 @@ export default {
customerOrgName: '', //
customerOrgRegister: {}, //
customerOrgRegisterList: [], //
dateType: 'medicalStartDate', // creationTimemedicalStartDatesummaryDate
dateType: 'medicalStartDate', // creationTimemedicalStartDatecheckDatesummaryDate
startDate: '',
endDate: '',
customerOrgGroupIds: [], //
@ -439,6 +440,9 @@ export default {
case 'medicalStartDate':
cusOrgOCX += "(体检"
break;
case 'checkDate':
cusOrgOCX += "(检查"
break;
case 'summaryDate':
cusOrgOCX += "(总检"
break;

9
src/components/sumDoctorCheck/SumSug.vue

@ -329,7 +329,7 @@ export default {
collapse: false, // /
dispTermReason: 'Y', //
dispTermReason: 'N', //
dialogWinSymbols: false,
selection: { //
@ -361,6 +361,13 @@ export default {
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName))
//
// ( 0-1-2-)
postapi('/api/app/SysParmValue/GetSysParmValueBySysParmId', { sysParmId:'summary_check_disp_reas' })
.then(res => {
if(res.code > -1){
this.dispTermReason = res.data||"Y"
}
})
this.AI.height = this.frameHeight
},

Loading…
Cancel
Save