luobinjie 3 weeks ago
parent
commit
c423bfb13d
  1. BIN
      public/pic/hisLog.jpg
  2. BIN
      public/pic/peisQrCode.jpg
  3. BIN
      public/pic/peisQrCodeMini.jpg
  4. 24
      src/components/customerOrg/customerOrgEdit.vue
  5. 60
      src/components/doctorCheck/ButtonList.vue
  6. 14
      src/components/doctorCheck/CheckPicture.vue
  7. 156
      src/components/patientRegister/PatientRegisterEdit.vue
  8. 9
      src/components/patientRegister/PatientRegisterList.vue
  9. 4
      src/components/patientRegister/patientRegisterQuery.vue
  10. 45
      src/components/report/BtnReport.vue
  11. 1
      src/components/report/PatientRegisterListNobtn.vue
  12. 76
      src/components/sumDoctorCheck/ButtonList.vue
  13. 98
      src/components/sumDoctorCheck/SumSug.vue
  14. 19
      src/views/Home.vue
  15. 260
      src/views/charge/charge.vue

BIN
public/pic/hisLog.jpg

Before

Width: 837  |  Height: 992  |  Size: 194 KiB

After

Width: 240  |  Height: 240  |  Size: 12 KiB

BIN
public/pic/peisQrCode.jpg

Before

Width: 258  |  Height: 294  |  Size: 31 KiB

After

Width: 800  |  Height: 800  |  Size: 65 KiB

BIN
public/pic/peisQrCodeMini.jpg

After

Width: 258  |  Height: 294  |  Size: 30 KiB

24
src/components/customerOrg/customerOrgEdit.vue

@ -83,20 +83,27 @@
</el-form-item>
-->
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="人员类别" prop="personnelTypeId">
<el-select v-model="form.personnelTypeId" placeholder="请选择" filterable clearable
:style="'width:' + Math.floor((window.pageWidth - 585) / 3) + 'px;'" size="small">
<el-option v-for="item in dict.personnelType" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="联系电话" prop="telephone">
<el-input class="enterToTab" v-model="form.telephone" placeholder="请输入联系电话" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="4">
<el-form-item label="传真" prop="fax">
<el-input class="enterToTab" v-model="form.fax" placeholder="请输入传真" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="4">
<el-form-item label="邮政编码" prop="postalCode">
<el-input class="enterToTab" v-model="form.postalCode" placeholder="请输入邮政编码" />
</el-form-item>
@ -249,7 +256,9 @@ export default {
lastModifierName: "",
lastModificationTime: null,
salesPerson: "",
salesPersonPhone: ""
salesPersonPhone: "",
medicalTypeId:'',
personnelTypeId:''
}, //
formInit: {},
rules: {
@ -346,6 +355,13 @@ export default {
}
});
//
getapi("/api/app/personnel-type/in-filter").then((res) => {
if (res.code > -1) {
this.dict.personnelType = res.data;
}
});
},
//()

60
src/components/doctorCheck/ButtonList.vue

@ -72,6 +72,21 @@
<el-button type="primary" class="commonbutton" @click="btnOcc"
:disabled="doctorBtnDisabled('btnOcc')">职业病</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '导入结果')" class="divBtnClass">
<el-dropdown @command="btnImportResult">
<el-button type="primary" class="commonbutton">
导入结果<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="pacs" :disabled="doctorBtnDisabled('save')"
v-show="checkPagePriv(pagePriv.privs, '导入检查结果')">导入检查结果</el-dropdown-item>
<el-dropdown-item command="lis" :disabled="doctorBtnDisabled('save')"
v-show="checkPagePriv(pagePriv.privs, '导入检验结果')">导入检验结果</el-dropdown-item>
<el-dropdown-item command="diAn" :disabled="doctorBtnDisabled('save')"
v-show="checkPagePriv(pagePriv.privs, '导入迪安结果')">导入迪安结果</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<div class="divBtnClass">
<el-button type="primary" class="commonbutton" @click="btnReset">重置</el-button>
</div>
@ -686,6 +701,51 @@ export default {
location.reload()
},
// ()
btnImportResult(checkType) {
if (!this.dataTransOpts.tableS.patient_register.id) {
this.$message.warning({ showClose: true, message: "请先选择记录!" })
return
}
let url = '/api/app/ImportLisResult/ImportResultByPatientRegisterId'
let patientRegisterId = this.dataTransOpts.tableS.patient_register.id
switch (checkType) {
case 'pacs':
url = '/api/app/ImportPacsResult/ImportResultByPatientRegisterId'
postapi(url, { patientRegisterId })
.then(res => {
if (res.code > -1) {
//
return postapi('/api/app/ImportElectrocardiogramResult/ImportElectrocardiogramResultByPatientRegisterId', { patientRegisterId })
}
})
.then(res => {
if (res && res.code > -1) {
this.$message.success({ showClose: true, message: '导入成功!' })
}
})
break;
case 'diAn':
url = "/api/app/ImportLisResult/ImportDianResultByPatientRegisterId";
postapi(url, { patientRegisterId }).then(res => {
if (res.code > -1) {
this.$message.success({ showClose: true, message: '导入成功!' })
}
})
break;
default: //lis
postapi(url, { patientRegisterId }).then(res => {
if (res.code > -1) {
this.$message.success({ showClose: true, message: '导入成功!' })
}
})
break;
}
},
// AI AI
btnAIdiagnosis(again) {
if (!again) {

14
src/components/doctorCheck/CheckPicture.vue

@ -277,22 +277,22 @@ export default {
mounted() {
// Electron
if (this.$peisAPI) {
//
//--
this.$peisAPI.onEventFromPictureHotKeyMain((data) => {
this.acceptHotKeyData('add', data)
});
//
//--
this.$peisAPI.onEventFromPictureAndPrintHotKeyMain((data) => {
this.acceptHotKeyData('addPrint', data)
});
//
//--
this.$peisAPI.onEventFromPicturePrintHotKeyMain(() => {
this.acceptHotKeyData('print')
});
//
//--
this.$peisAPI.onEventFromPictureCancelPrintHotKeyMain(() => {
this.acceptHotKeyData('unPrint')
});
@ -362,17 +362,17 @@ export default {
let image = curImag.pictureFilename.indexOf('http') > -1
? curImag.pictureFilename
: (this.sysConfig.pacsApi || this.sysConfig.apiurl) + curImag.pictureFilename;
srcList.push(image)
srcList.push(image + `?r=${Math.random()}`)
let lfind = arrayExistObj(oriList, 'id', curImag.id)
if (lfind > -1) {
for (let i = lfind + 1; i < oriList.length; i++) {
let e = oriList[i];
image = this.imageFilePlus(e.pictureFilename)
image = this.imageFilePlus(e.pictureFilename + `?r=${Math.random()}`)
srcList.push(image)
}
for (let index = 0; index < lfind; index++) {
let e = oriList[index];
image = this.imageFilePlus(e.pictureFilename)
image = this.imageFilePlus(e.pictureFilename + `?r=${Math.random()}`)
srcList.push(image)
}
}

156
src/components/patientRegister/PatientRegisterEdit.vue

@ -846,17 +846,6 @@ export default {
// isDoctor: '0:/1:()'
props: ['isDoctor', 'patientRegisterId', 'editTimes', 'refreshRegister', 'refFuncSetData'],
data() {
var validateMobileTelephone = (rule, value, callback) => {
if (value) {
if (!isValidMobileNumber(value)) {
callback(new Error('请填写正确的手机号!'));
} else {
callback();
}
} else {
callback();
}
};
return {
pagePriv: {
routeUrlorPageName: 'PatientRegisterEdit', //
@ -1041,6 +1030,8 @@ export default {
customerOrgAll: [],
customerOrgRegisterList: [], //
customerOrgRegister: {}, //
hc_warn_mode: '1', //0-1-2-
};
},
@ -1128,6 +1119,18 @@ export default {
// console.log('form', this.form)
},
validateMobileTelephone(rule, value, callback) {
if (value) {
if (!isValidMobileNumber(value)) {
callback(new Error('请填写正确的手机号!'));
} else {
callback();
}
} else {
callback();
}
},
//
dictInit() {
// --
@ -1145,6 +1148,26 @@ export default {
}
})
// --
postapi('/api/app/SysParmValue/GetSysParmValueBySysParmId', { sysParmId: 'patient_register_required_field' })
.then(res => {
if (res.code > -1) {
try {
let masterCols = JSON.parse(res.data)
let cols = Object.keys(masterCols)
cols.forEach(key => {
if (!this.rules[key]) {
this.rules[key] = [{
required: true, message: `请填写${masterCols[key]}`, trigger: "blur"
}]
}
});
} catch (error) {
console.error(error)
}
}
})
//
getapi("/api/app/sex").then((res) => {
if (res.code == 1) {
@ -1376,6 +1399,10 @@ export default {
this.form.customerOrgId = customerOrgId //
this.form.customerOrgParentId = customerOrgParentId //
this.form.customerOrgName = customerOrgName
//
this.getMedicalTypeByOrg(customerOrgId)
this.completeFlag = '0'
this.handleFormData().then(() => {
resolve()
@ -1397,6 +1424,20 @@ export default {
})
},
// ID
getMedicalTypeByOrg(customerOrgId) {
return new Promise((resolve, reject) => {
postapi('/api/app/Customerorg/GetMedicalTypeIdByCustomerOrgId', { customerOrgId })
.then(res => {
if (res.code > -1) {
this.form.medicalTypeId = res.data.medicalTypeId
this.form.personnelTypeId = res.data.personnelTypeId
}
})
})
},
handleFormData() {
return new Promise((resolve, reject) => {
//
@ -1915,14 +1956,24 @@ export default {
//
btnSubmit(formName, msgTip) {
console.log('btnSubmit,formName,form', formName, JSON.stringify(this.form))
//console.log('btnSubmit,formName,form', formName, JSON.stringify(this.form))
console.log('this.rules', this.rules)
this.$refs[formName].validate((valid, fields) => {
// console.log('fields', fields)
if (!valid) {
this.$message.warning({ showClose: true, message: fields[Object.keys(fields)[0]][0].message });
return false
}
console.log('btnSubmit1', formName)
//
if (this.rules['mobileTelephone']) {
if (!isValidMobileNumber(this.form['mobileTelephone'])) {
this.$message.warning({ showClose: true, message: '请填写正确的手机号!' });
return false
}
}
//console.log('btnSubmit1', formName)
if (this.form.customerOrgId != this.dict.personOrgId) {
if (!this.form.customerOrgRegisterId) {
this.$message.warning({ showClose: true, message: "请填写单位体检次数!" });
@ -1957,9 +2008,14 @@ export default {
} else {
delete body.id;
}
console.log('btnSubmit3', formName)
//console.log('btnSubmit3', formName)
// // console.log(`/api/patientregister/createreturninfo`, body);
postapi(`/api/PatientRegister/CreatePatientRegister`, body)
//
this.checkAsbItemHC()
.then(() => {
return postapi(`/api/PatientRegister/CreatePatientRegister`, body)
})
.then(async (res) => {
if (res.code > -1) {
// res.data isPatientOccupationalDisease form
@ -2017,11 +2073,70 @@ export default {
}
}
}
);
)
.catch(err => {
console.error(err)
})
;
});
},
//
checkAsbItemHC() {
return new Promise((resolve, reject) => {
let asbitemIds = []
//console.log('this.dataTransOpts.tableM.register_check_asbitem',this.dataTransOpts.tableM.register_check_asbitem)
this.dataTransOpts.tableM.register_check_asbitem.forEach(e => {
asbitemIds.push(e.asbitemId)
});
let message = ''
if (asbitemIds.length == 0) {
resolve()
} else {
postapi('/api/app/AsbitemMutualExclusion/GetAsbitemIsMutualExclusion', { asbitemIds })
.then(res => {
if (res.code > -1) {
if (res?.data?.message) message = res.data.message
}
})
.finally(() => {
if (message) {
switch (this.hc_warn_mode) {
case '1':''
this.$confirm(`${message} 是否继续?`, "提示", {
confirmButtonText: "是",
cancelButtonText: " 否 ",
type: "warning",
})
.then(() => {
resolve()
})
.catch((err) => {
reject(message)
// if (err == "cancel") {
// console.log("");
// }
});
break;
case '2':
this.$message.error({ showClose: true, message })
reject(message)
break;
default:
this.$message.warning({ showClose: true, message })
resolve()
break;
}
} else {
resolve()
}
})
}
})
},
//
async occUpdate() {
//
@ -2159,6 +2274,7 @@ export default {
this.form.patientName = '';
this.form.photo = '';
this.form.completeFlag = '1'; //
this.form.planuserid = '' //ID
// this.patientRegister.patientRegisterAbs.forEach(e => {
// e.id = '';
@ -3295,9 +3411,9 @@ export default {
//
rowDblclick(row) {
this.packageRowClick(row)
.then(res => {
this.copyMedicalPackage()
})
.then(res => {
this.copyMedicalPackage()
})
},
//()

9
src/components/patientRegister/PatientRegisterList.vue

@ -429,7 +429,7 @@
<!--云胶片二维码-->
<el-dialog :visible.sync="qrCode.winDisplay" title="云胶片二维码" width="400px" style="text-align:center">
<!--<canvas ref="canvas"></canvas>-->
<img width="100%" :src="qrCode.url">
<img width="100%" :src="qrCode.personUrl">
<div style="font-size: 16px;">{{ qrCode.barcodeNo + ' ' + qrCode.patientName }}</div>
</el-dialog>
@ -673,7 +673,8 @@ export default {
merge_lis_pacs_label: "0", //0 01
qrCode: {
winDisplay: false, //
url: 'https://ccjktj.cn:5081/', //
url: 'https://ccjktj.cn:5081/', //
personUrl:'', //
barcodeNo: '条码号',
patientName: '姓 名'
},
@ -2368,7 +2369,7 @@ export default {
//let canvas = this.$refs.canvas;
let url = `${this.qrCode.url}?reportparam=条码号&mrn=条码号` //`https://ccjktj.cn:5081/?reportparam=条码号&mrn=条码号`
if (row?.patientRegisterNo) {
url = `${this.qrCode.url}?reportparam=${row.checkRequestNo}&mrn=${row.checkRequestNo}`
url = `${this.qrCode.url}?reportparam=${row.patientRegisterNo}&mrn=${row.patientRegisterNo}`
this.qrCode.barcodeNo = row.patientRegisterNo
}
if (row?.patientName) {
@ -2395,7 +2396,7 @@ export default {
QRCode.toDataURL(url, { errorCorrectionLevel: 'H' })
.then(res => {
console.log(res)
this.qrCode.url = res
this.qrCode.personUrl = res
this.qrCode.winDisplay = true
})
.catch(err => {

4
src/components/patientRegister/patientRegisterQuery.vue

@ -68,11 +68,15 @@
<el-tooltip class="item" effect="dark" content="单位作为查询条件" placement="top">
<el-checkbox v-model="patientRegister.query.customerOrgFlag"></el-checkbox>
</el-tooltip>
<el-input placeholder="请选择单位" v-model="patientRegister.query.customerOrgName" size="small" disabled
style="width: 120px" />
<!--
<el-cascader v-model="patientRegister.query.customerOrgId" :options="patientRegister.customerOrgTreeAll"
:props="{ checkStrictly: true, expandTrigger: 'hover', ...customerOrg.treeprops, }" placeholder="请选择单位"
:show-all-levels="false" clearable :disabled="orgEnable == 'Y' ? false : true" size="small"
style="width:120px;">
</el-cascader>
-->
</div>
<div v-show="dispTimes" class="query">
<span class="spanClass">次数</span>

45
src/components/report/BtnReport.vue

@ -252,13 +252,15 @@ export default {
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: "pic/orgSign.png" },
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' },
{ Name: "firstPage", Value: "pic/peisReportFirstPage.jpg" }, //
{ Name: "pageHeader", Value: "pic/peisReportPageHeader.jpg" }, //
{ Name: "pageFooter", Value: "pic/peisReportPageFooter.jpg" }, //
{ Name: "orgSign", Value: "pic/orgSign.png" }, //
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' }, //
{ Name: 'picExtTwo', Value: 'pic/orgSignCom.png' }, //
{ Name: 'resultSign', Value: 'pic/resultSign.png' },
{ Name: 'resultSign', Value: 'pic/resultSign.png' }, //
{ Name: 'picExtThree', Value: 'pic/peisQrCode.jpg' }, //
{ Name: 'picExtFour', Value: 'pic/peisQrCodeMini.jpg' }, //
],
IsHealthReport: 'Y'
};
@ -348,14 +350,16 @@ export default {
BusinessCode: rds[0].patientRegisterId,
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: rds[0].isPatientOccupationalDisease == 'Y' ? "pic/orgSignOcc.png" : "pic/orgSign.png" }, //
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' }, //
{ 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: rds[0].isPatientOccupationalDisease == 'Y' ? "pic/orgSignOcc.png" : "pic/orgSign.png" }, //
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' }, //
{ Name: 'picExtTwo', Value: 'pic/orgSignCom.png' }, //
{ Name: 'resultSign', Value: 'pic/resultSign.png' },
{ Name: 'resultSign', Value: 'pic/resultSign.png' }, //
{ Name: 'picExtThree', Value: 'pic/peisQrCode.jpg' }, //
{ Name: 'picExtFour', Value: 'pic/peisQrCodeMini.jpg' }, //
],
};
@ -459,13 +463,16 @@ export default {
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.tableM.patient_register[0].isPatientOccupationalDisease == 'Y' ? "pic/orgSignOcc.png" : "pic/orgSign.png" },
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' },
{ Name: "firstPage", Value: "pic/peisReportFirstPage.jpg" }, //
{ Name: "pageHeader", Value: "pic/peisReportPageHeader.jpg" }, //
{ Name: "pageFooter", Value: "pic/peisReportPageFooter.jpg" }, //
{ Name: "orgSign", Value: this.dataTransOpts.tableM.patient_register[0].isPatientOccupationalDisease == 'Y' ? "pic/orgSignOcc.png" : "pic/orgSign.png" }, //
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' }, //
{ Name: 'picExtTwo', Value: 'pic/orgSignCom.png' }, //
{ Name: 'resultSign', Value: 'pic/resultSign.png' },
{ Name: 'resultSign', Value: 'pic/resultSign.png' }, //
{ Name: 'picExtThree', Value: 'pic/peisQrCode.jpg' }, //
{ Name: 'picExtFour', Value: 'pic/peisQrCodeMini.jpg' }, //
],
IsHealthReport: 'Y'
};

1
src/components/report/PatientRegisterListNobtn.vue

@ -23,6 +23,7 @@
<i class="el-icon-printer" v-if="scope.row.isReportPrint == 'Y'" style="font-size: 24px;color: green;"></i>
</template>
</el-table-column>
<el-table-column prop="reportPrintName" label="打印人" width="60" align="center" sortable />
<el-table-column prop="isUploadAppoint" label="预约备单" align="center" sortable>
<template slot-scope="scope">
<div style="font-family: 'Microsoft YaHei';">{{ scope.row.isUploadAppoint == "Y" ? "√" : "" }}</div>

76
src/components/sumDoctorCheck/ButtonList.vue

@ -6,14 +6,21 @@
<div v-show="checkPagePriv(pagePriv.privs, '医生诊台')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="toDoctorCheck">医生诊台</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '导入检查结果')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="btnImportResult('pacs')"
:disabled="sumBtnDisabled('save')">导入检查结果</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '导入检验结果')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="btnImportResult('lis')"
:disabled="sumBtnDisabled('save')">导入检验结果</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '导入结果')" class="listBtn">
<el-dropdown @command="btnImportResult">
<el-button type="primary" class="commonbutton">
导入结果<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="pacs" :disabled="sumBtnDisabled('save')"
v-show="checkPagePriv(pagePriv.privs, '导入检查结果')">导入检查结果</el-dropdown-item>
<el-dropdown-item command="lis" :disabled="sumBtnDisabled('save')"
v-show="checkPagePriv(pagePriv.privs, '导入检验结果')">导入检验结果</el-dropdown-item>
<el-dropdown-item command="diAn" :disabled="sumBtnDisabled('save')"
v-show="checkPagePriv(pagePriv.privs, '导入迪安结果')">导入迪安结果</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<div v-show="checkPagePriv(pagePriv.privs, 'AI诊断')" class="listBtn">
<el-button slot="reference" class="commonbutton" @click="btnAIdiagnosis(false)"
:disabled="sumBtnDisabled('save')">AI诊断</el-button>
@ -48,11 +55,15 @@
:disabled="sumBtnDisabled('report')">体检报告</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '复查')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="reCheck"
<el-button type="primary" class="commonbutton" @click="btnReCheck"
:disabled="sumBtnDisabled('reCheck')">复查</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '随访')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="btnReCall"
:disabled="sumBtnDisabled('reCall')">随访</el-button>
</div>
<div v-show="false" class="listBtn">
<el-button type="primary" class="commonbutton" @click="intervene"
<el-button type="primary" class="commonbutton" @click="btnIntervene"
:disabled="sumBtnDisabled('intervene')">干预措施</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '职业病')" class="listBtn">
@ -242,7 +253,8 @@ export default {
return ret
},
//
// ()
btnImportResult(checkType) {
if (!this.dataTransOpts.tableS.patient_register.id) {
this.$message.warning({ showClose: true, message: "请先选择记录!" })
@ -251,12 +263,13 @@ export default {
let url = '/api/app/ImportLisResult/ImportResultByPatientRegisterId'
let patientRegisterId = this.dataTransOpts.tableS.patient_register.id
switch (checkType) {
switch (checkType) {
case 'pacs':
url = '/api/app/ImportPacsResult/ImportResultByPatientRegisterId'
postapi(url, { patientRegisterId })
.then(res => {
if (res.code > -1) {
//
return postapi('/api/app/ImportElectrocardiogramResult/ImportElectrocardiogramResultByPatientRegisterId', { patientRegisterId })
}
})
@ -266,7 +279,15 @@ export default {
}
})
break;
default:
case 'diAn':
url = "/api/app/ImportLisResult/ImportDianResultByPatientRegisterId";
postapi(url, { patientRegisterId }).then(res => {
if (res.code > -1) {
this.$message.success({ showClose: true, message: '导入成功!' })
}
})
break;
default: //lis
postapi(url, { patientRegisterId }).then(res => {
if (res.code > -1) {
this.$message.success({ showClose: true, message: '导入成功!' })
@ -534,13 +555,16 @@ export default {
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' },
{ 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: 'picExtTwo', Value: 'pic/orgSignCom.png' }, //
{ Name: 'resultSign', Value: 'pic/resultSign.png' }, //
{ Name: 'picExtThree', Value: 'pic/peisQrCode.jpg' }, //
{ Name: 'picExtFour', Value: 'pic/peisQrCodeMini.jpg' }, //
],
};
@ -576,15 +600,17 @@ export default {
},
//
reCheck() {
btnReCheck() {
console.log("复查")
},
btnReCall() {
console.log("随访")
},
//
intervene() {
btnIntervene() {
console.log("干预措施")
},
@ -627,7 +653,7 @@ export default {
@import '../../assets/css/global_button.css';
.listBtn {
margin-top: 10px;
margin-top: 5px;
margin-left: 10px;
text-align: center;
}

98
src/components/sumDoctorCheck/SumSug.vue

@ -1,7 +1,7 @@
<template>
<div>
<!--组件-->
<div style="display: flex;">
<div style="display: flex;" @contextmenu.prevent="onContextmenu">
<div
:style="`position: absolute; top: 0px; left: ${Math.floor((window.pageWidth - 120) / 2) - 110}px; display: flex;z-index: 3;`">
<div v-show="checkPagePriv(pagePriv.privs, '新增综述')">
@ -362,12 +362,12 @@ export default {
//
// ( 0-1-2-)
postapi('/api/app/SysParmValue/GetSysParmValueBySysParmId', { sysParmId:'summary_check_disp_reas' })
postapi('/api/app/SysParmValue/GetSysParmValueBySysParmId', { sysParmId: 'summary_check_disp_reas' })
.then(res => {
if(res.code > -1){
this.dispTermReason = res.data||"Y"
if (res.code > -1) {
this.dispTermReason = res.data || "Y"
}
})
})
this.AI.height = this.frameHeight
},
@ -1182,6 +1182,94 @@ export default {
});
},
//
//
// undo: () => Promise<any>;
// redo: () => Promise<any>;
// cut: () =>Promise<any>;
// copy: () => Promise<any>;
// paste: () => Promise<any>;
// delete: () => Promise<any>;
// selectAll: () => Promise<any>;
// unselect: () => Promise<any>;
onContextmenu(event) {
if (!this.$peisAPI) {
return
}
console.log('this.$peisAPI.contextMenuForPeis()')
this.$peisAPI.contextMenuForPeis()
.then(res => {
console.log('res', res)
})
.catch(err => {
console.log('err', err)
})
.finally(() => {
console.log('finally')
})
/*
let items = [
{
label: "复制",
onClick: () => {
console.log('this.$peisAPI.copy()')
this.$peisAPI.copy()
.then(res => {
console.log('res', res)
})
.catch(err => {
console.log('err', err)
})
.finally(() => {
console.log('finally')
})
},
}, {
label: "剪切",
onClick: () => {
console.log('this.$peisAPI.cut()')
this.$peisAPI.cut()
.then(res => {
console.log('res', res)
})
.catch(err => {
console.log('err', err)
})
.finally(() => {
console.log('finally')
})
},
}, {
label: "粘贴",
onClick: () => {
console.log('this.$peisAPI.paste()')
this.$peisAPI.paste()
.then(res => {
console.log('res', res)
})
.catch(err => {
console.log('err', err)
})
.finally(() => {
console.log('finally')
})
},
}
]
this.$contextmenu({
items,
event,
x: event.clientX,
y: event.clientY,
customClass: "custom-class",
zIndex: 3,
minWidth: 80,
});
*/
}
},
//

19
src/views/Home.vue

@ -49,7 +49,7 @@
<!--2级菜单-->
<template v-for="menu2 in menu1.treeChildren">
<el-menu-item :key="menu2.id" v-if="menu2.menuType == '1'" :index="menu2.id">{{ menu2.displayName
}}</el-menu-item>
}}</el-menu-item>
</template>
<template v-for="menu2 in menu1.treeChildren">
<el-submenu :popper-append-to-body="false" :key="menu2.id" v-if="menu2.menuType == '0'"
@ -90,7 +90,7 @@
</el-menu>
</div>
<!-- -->
<div>
<div @contextmenu.prevent="onContextmenu">
<img src="@/assets/images/me.png" alt="" class="currentuser" />
<!-- <i class="el-icon-arrow-down el-icon--right"></i> -->
<el-dropdown>
@ -245,6 +245,21 @@ export default {
},
methods: {
onContextmenu(event) {
if (!this.$peisAPI) return
console.log('this.$peisAPI.contextMenuForPeis()')
this.$peisAPI.contextMenuForPeis()
.then(res => {
console.log('res', res)
})
.catch(err => {
console.log('err', err)
})
.finally(() => {
console.log('finally')
})
},
//
handleSelect(key, keyPath) {
// console.log(key, keyPath);

260
src/views/charge/charge.vue

@ -13,28 +13,44 @@
<div style="height: 60px;padding: 10px;border-radius: 8px;background-color: #fff;margin-bottom: 10px;">
<div style="display:flex;">
<div>
<span>登记日期</span>
<span>{{ dateTypeName }}日期</span>
<el-date-picker v-model="query.startDate" type="date" placeholder="起始日期" size="small"
style="width:90px;" :picker-options="pickerOptions" />
<span style="margin: 0 3px;"></span>
<el-date-picker v-model="query.endDate" type="date" placeholder="截止日期" size="small"
style="width:90px;" :picker-options="pickerOptions" />
</div>
<div style="margin-left:10px;">
<el-button type="primary" class="commonbutton" @click="Query" size="small"
style="width:95px;">查询</el-button>
<div>
<span class="query">条码号</span>
<el-input ref="tmh" placeholder="条码号" v-model="query.patientRegisterNo" size="small"
style="width: 120px;" clearable />
</div>
<div>
<span class="query">档案号</span>
<el-input placeholder="档案号" v-model="query.patientNo" size="small" style="width: 90px;" clearable />
</div>
</div>
<div style="display:flex;">
<el-radio-group v-model="query.chargeFlag" @input="Query" size="mini" style="margin-top:8px;">
<el-radio label="N">未收费</el-radio>
<el-radio label="Y">已收费</el-radio>
<el-radio label="B">已退费</el-radio>
</el-radio-group>
<div v-if="query.chargeFlag != 'N'" style="margin-left:20px;">
<span>发票号</span>
<el-input placeholder="发票/收据号" v-model="query.invoiceNo" size="small"
style="margin-left: 3px; width: 100px;" clearable @change="Query('invoiceNo')" />
<div style="display:flex;justify-content: space-between;">
<div style="display:flex;">
<div>
<span>姓名</span>
<el-input placeholder="姓名" v-model="query.patientName" size="small" style="width: 100px;"
clearable />
</div>
<el-radio-group v-model="query.chargeFlag" @input="btnQuery" size="mini" style="margin-top:8px;margin-left: 21px;">
<el-radio label="N">未收费</el-radio>
<el-radio label="Y">已收费</el-radio>
<el-radio label="B">已退费</el-radio>
</el-radio-group>
<div v-if="query.chargeFlag != 'N'" style="margin-left:21px;">
<span>发票号</span>
<el-input placeholder="发票/收据号" v-model="query.invoiceNo" size="small"
style="width: 90px;" clearable />
</div>
</div>
<div>
<el-button type="primary" class="commonbutton" @click="btnQuery" size="small"
style="width:60px;">查询</el-button>
</div>
</div>
</div>
@ -45,7 +61,22 @@
<!--
<el-table-column prop="patientRegisterId" label="体检记录ID" />
-->
<el-table-column prop="customerOrgParentName" label="单位" width="180">
<el-table-column type="index" label="序号" width="40" align="center" />
<el-table-column v-if="query.chargeFlag == 'Y'" label="收费时间" prop="chargeTime" width="140"
align="center" />
<el-table-column v-if="query.chargeFlag == 'Y'" label="收费人" prop="chargeName" width="80"
align="center" />
<el-table-column v-if="query.chargeFlag == 'Y'" label="收费金额" prop="chargeMoney" width="80"
align="center" />
<el-table-column v-if="query.chargeFlag == 'B'" label="退费时间" prop="chargeBackTime" width="140"
align="center" />
<el-table-column v-if="query.chargeFlag == 'B'" label="退费人" prop="chargeBackName" width="80"
align="center" />
<el-table-column v-if="query.chargeFlag == 'B'" label="退费金额" prop="chargeBackMoney" width="80"
align="center" />
<el-table-column prop="customerOrgParentName" label="单位" width="150">
<template slot-scope="scope">
<div>{{ scope.row.customerOrgParentName ? scope.row.customerOrgParentName :
scope.row.customerOrgName }}
@ -53,12 +84,12 @@
</template>
</el-table-column>
<el-table-column prop="patientName" label="姓名" />
<el-table-column prop="sexId" label="性别" />
<el-table-column prop="age" label="年龄" />
<el-table-column prop="patientRegisterNo" label="条码号" width="150" />
<el-table-column prop="patientNo" label="档案号" />
<el-table-column prop="medicalTimes" label="体检次数" />
<el-table-column prop="isVip" label="是否VIP">
<el-table-column prop="sexId" label="性别" width="40" align="center" />
<el-table-column prop="age" label="年龄" width="40" align="center" />
<el-table-column prop="patientRegisterNo" label="条码号" width="120" align="center" />
<el-table-column prop="patientNo" label="档案号" width="80" align="center" />
<el-table-column prop="medicalTimes" label="体检次数" width="80" align="center" />
<el-table-column prop="isVip" label="VIP" width="30" align="center">
<template slot-scope="scope">
<div>{{ scope.row.isVip == "Y" ? "是" : "否" }}</div>
</template>
@ -78,25 +109,26 @@
</el-table>
</div>
</div>
<!-- 收费操作 -->
<div :style="`display: block;margin-left:10px;width: ${Math.floor(bodyWidth * 2 / 5)}px;`">
<!-- 查询信息 -->
<!-- 人员信息 -->
<div style="height: 40px; background-color: #fff;border-radius: 8px;margin-bottom: 10px;">
<div style="display: flex; flex-wrap: wrap;height:40px; width: 100%;align-items: center;">
<div class="query">
<span>条码号</span>
<el-input placeholder="条码号" v-model="query.patientRegisterNo" size="small"
style="margin-left: 3px; width: 120px;" clearable @change="Query('patientRegisterNo')" />
<el-input v-model="info.patientRegisterNo" size="small"
style="margin-left: 3px; width: 120px;" disabled />
</div>
<div class="query">
<span>档案号</span>
<el-input placeholder="档案号" v-model="query.patientNo" size="small"
style="margin-left: 3px; width: 80px;" clearable @change="Query('patientNo')" />
<el-input v-model="info.patientNo" size="small"
style="margin-left: 3px; width: 90px;" disabled />
</div>
<div class="query">
<span>姓名</span>
<el-input placeholder="姓名" v-model="query.patientName" size="small"
style="margin-left: 3px; width: 70px;" disabled @change="Query" />
<el-input v-model="info.patientName" size="small"
style="margin-left: 3px; width: 80px;" disabled />
</div>
</div>
</div>
@ -333,7 +365,7 @@
import moment from 'moment';
import { mapState, mapActions } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { tcdate, dddw, arrayExistObj,arrayExistObjPos, deepCopy } from "../../utlis/proFunc";
import { tcdate, dddw, arrayExistObj, arrayExistObjPos, deepCopy } from "../../utlis/proFunc";
import PatientRegisterQuery from "../../components/patientRegister/patientRegisterQuery.vue";
import PatientRegisterRefuseList from "../../components/patientRegister/PatientRegisterRefuseList.vue";
@ -359,6 +391,13 @@ export default {
invoiceNo: '',
patientName: '',
},//
info:{
patientRegisterNo: '',
patientNo: '',
patientName:''
},
patientList: [],//
formInit: {},
form: {
@ -444,19 +483,37 @@ export default {
//
mounted() {
//this.enterToQuery()
if (this.patientRegisterNo) {
this.Query('patientRegisterNo');
} else {
this.Query();
this.enterToQuery()
if (this.patientRegisterNo){
this.query.patientRegisterNo = this.patientRegisterNo
this.query.chargeFlag = 'N'
}
this.btnQuery();
},
computed: {
...mapState(["pickerOptions", "window", "dict", "dataTransOpts", "patientRegister", "customerOrg"]),
dateTypeName() {
let ret = '登记'
switch (this.query.chargeFlag) {
case 'N':
break;
case 'Y':
ret = '收费'
break;
case 'B':
ret = '退费'
break;
default:
break;
}
return ret
},
tableListHeight() {
let tempH = this.window.pageHeight < 600 ? 600 : this.window.pageHeight
return tempH - 175 - 30 - 35
@ -474,8 +531,8 @@ export default {
dddw, moment,
//
Query(type) {
let url = '', ltype = type, body = {};
btnQuery() {
let url = '', body = {};
// {
@ -488,36 +545,28 @@ export default {
// "startDate": "string",
// "endDate": "string",
// "maxResultCount": 0
// }
if (this.patientRegisterNo) {
this.query.patientRegisterNo = this.patientRegisterNo
ltype = 'patientRegisterNo'
}
// }
console.log('query', ltype, this.query, this.patientRegisterNo);
//console.log('query', this.query);
if (ltype == 'patientRegisterNo') {
if (!this.query.patientRegisterNo) return;
if(this.query.patientRegisterNo){
body = { patientRegisterNo: this.query.patientRegisterNo };
} else if (ltype == 'patientNo') {
if (!this.query.patientNo) return;
}else if(this.query.patientNo){
body = { patientNo: this.query.patientNo };
} else if (ltype == 'invoiceNo' && this.query.chargeFlag != 'N') {
if (!this.query.invoiceNo) return;
}else if(this.query.invoiceNo && this.query.chargeFlag != 'N'){
body = { invoiceNo: this.query.invoiceNo };
} else {
}else{
if (this.query.startDate && this.query.endDate) {
body.startDate = moment(this.query.startDate).format("yyyy-MM-DD")
body.endDate = moment(this.query.endDate).format("yyyy-MM-DD")
body.endDate = moment(this.query.endDate).format("yyyy-MM-DD")
if (body.startDate > body.endDate) {
this.$message.warning("起始日期不能大于截止日期,数据校验不通过!")
return
}
if(this.query.patientName) body.patientName = this.query.patientName
}
}
switch (this.query.chargeFlag) {
case 'Y':
//
@ -533,6 +582,14 @@ export default {
break;
}
//
this.info.patientName = ''
this.info.patientNo = ''
this.info.patientRegisterNo = ''
this.form = Object.assign({}, this.formInit)
this.chargePays = []
this.asbItemsForFee = []
// const loading = this.$loading({
// lock: true,
// text: 'Loading',
@ -570,9 +627,10 @@ export default {
//
rowClick(row) {
this.query.patientRegisterNo = row.patientRegisterNo;
this.query.patientName = row.patientName;
this.query.patientNo = row.patientNo;
this.info.patientRegisterNo = row.patientRegisterNo;
this.info.patientName = row.patientName;
this.info.patientNo = row.patientNo;
this.chargePays = deepCopy(this.chargePaysInit);
//console.log(this.chargePays, this.chargePaysInit);
@ -593,10 +651,8 @@ export default {
this.form.invoiceOrgName = row.patientName;
}
//
this.getCardRegister(row.idNo);
// ()
//this.getCardRegister(row.idNo);
switch (this.query.chargeFlag) {
case 'N':
@ -624,7 +680,7 @@ export default {
this.asbItemsForFee = res.data;
for (let i = this.asbItemsForFee.length - 1; i >= 0; i--) {
if (this.asbItemsForFee[i].isCharge == 'Y' || this.asbItemsForFee[i].payTypeFlag !== '0' ) {
if (this.asbItemsForFee[i].isCharge == 'Y' || this.asbItemsForFee[i].payTypeFlag !== '0') {
this.asbItemsForFee.splice(i, 1);
continue;
}
@ -671,8 +727,8 @@ export default {
},
//
brushCard(index){
this.chargePays[index].cardNo = ''
brushCard(index) {
this.chargePays[index].cardNo = ''
this.chargePays[index].cardRegisterId = ''
this.chargePays[index].chargeMoney = 0
@ -683,7 +739,7 @@ export default {
this.inputMoney()
},
//
getCardId(index) {
@ -723,29 +779,29 @@ export default {
//
btnOkCard() {
//
let lfind = arrayExistObj(this.chargePays,'cardRegisterId',this.cardChoosed.id)
if(lfind > -1){
this.$message.warning({showClose:true,message:'单次收费不允重复同一张卡!'})
let lfind = arrayExistObj(this.chargePays, 'cardRegisterId', this.cardChoosed.id)
if (lfind > -1) {
this.$message.warning({ showClose: true, message: '单次收费不允重复同一张卡!' })
return
}
//
let diffDiscount = false //
let preDiscount = 100
let curDiscount = this.cardChoosed.discount||100
let curDiscount = this.cardChoosed.discount || 100
this.chargePays.forEach(e => {
if(e.payModeId == '05' && e.discount){
if(Number(e.discount) !== Number(curDiscount)){
if (e.payModeId == '05' && e.discount) {
if (Number(e.discount) !== Number(curDiscount)) {
preDiscount = e.discount
diffDiscount = true
}
}
});
//
if(diffDiscount){
this.$message.warning({showClose:true,message:`当前所选卡折扣 ${curDiscount} 与 上次所选卡折扣 ${preDiscount} 不同,不可执行此操作`})
if (diffDiscount) {
this.$message.warning({ showClose: true, message: `当前所选卡折扣 ${curDiscount} 与 上次所选卡折扣 ${preDiscount} 不同,不可执行此操作` })
return
}
this.chargePays[this.cardSeq].cardNo = this.cardChoosed.cardNo + ' 余:' + this.cardChoosed.cardBalance + ' 折:' + curDiscount
this.chargePays[this.cardSeq].discount = curDiscount
this.chargePays[this.cardSeq].cardBalance = this.cardChoosed.cardBalance
@ -794,10 +850,10 @@ export default {
getapi(`/api/app/chargepay/getchargepayinchargeid?ChargeId=${ChargeId}`).then(res => {
if (res.code != - 1) {
res.data.forEach(e => {
if(curPayModeId != e.payModeId) lfind = -1
if (curPayModeId != e.payModeId) lfind = -1
lfind++
console.log('lfind',lfind)
lfind = arrayExistObjPos(this.chargePays, 'payModeId', e.payModeId,lfind);
console.log('lfind', lfind)
lfind = arrayExistObjPos(this.chargePays, 'payModeId', e.payModeId, lfind);
if (lfind > - 1) {
this.chargePays[lfind].chargeMoney = e.chargeMoney;
this.chargePays[lfind].cardRegisterId = e.cardRegisterId;
@ -815,10 +871,10 @@ export default {
getapi(`/api/app/chargebackpay/getchargebackpayinchargebackid?ChargeBackId=${ChargeBackId}`).then(res => {
if (res.code != - 1) {
res.data.forEach(e => {
if(curPayModeId != e.payModeId) lfind = -1
if (curPayModeId != e.payModeId) lfind = -1
lfind++
console.log('lfind',lfind)
lfind = arrayExistObjPos(this.chargePays, 'payModeId', e.payModeId,lfind);
console.log('lfind', lfind)
lfind = arrayExistObjPos(this.chargePays, 'payModeId', e.payModeId, lfind);
if (lfind > - 1) {
this.chargePays[lfind].chargeMoney = e.backMoeny;
this.chargePays[lfind].cardRegisterId = e.cardRegisterId;
@ -952,14 +1008,14 @@ export default {
unCashTotal += Number(e.chargeMoney);
}
if(e.payModeId == '05'){
if(Number(e.cardBalance) < Number(e.chargeMoney)){
if (e.payModeId == '05') {
if (Number(e.cardBalance) < Number(e.chargeMoney)) {
err = `会员卡【${e.cardNo}】 余额不足`
}
}
});
if(err){
this.$message.warning({showClose:true,message:err})
if (err) {
this.$message.warning({ showClose: true, message: err })
return
}
this.form.preTotal = cashTotal + unCashTotal
@ -1033,7 +1089,7 @@ export default {
if (e.payModeId == '05' && e.chargeMoney) {
//console.log(e.payModeId,e.chargeMoney,e.cardRegisterId);
if (!e.cardRegisterId) msg = dddw(this.dict.payMode, "id", e.payModeId, "displayName") + '付费,必需选择会员卡号';
if(Number(e.cardBalance) < Number(e.chargeMoney)) msg = `会员卡【${e.cardNo}】 余额不足`
if (Number(e.cardBalance) < Number(e.chargeMoney)) msg = `会员卡【${e.cardNo}】 余额不足`
} else {
e.cardRegisterId = null;
}
@ -1055,7 +1111,7 @@ export default {
this.$message.warning("收费方式合计收款不可小于应收金额!");
return;
}
this.chargePays.forEach(e => {
if (e.chargeMoney) {
if (e.payModeId == '01') {
@ -1114,22 +1170,22 @@ export default {
//console.log('body',body);
postapi('/api/app/registerasbitem/registerasbitemcharge', body).then(res => {
if (res.code != -1) {
this.form.id = res.data.chargeId; //
//
this.$confirm("操作成功, 是否打印发票?", "提示", {
confirmButtonText: "是",
cancelButtonText: "否",
type: "warning",
}).then(() => {
this.chargePrint('0007', false, res.data.chargeId)
this.chargePrint('0007', false, res.data.chargeId)
setTimeout(() => {
this.Query();
this.btnQuery();
}, 1000)
}).catch((err) => {
if (err == "cancel") {
//this.$message.info("");
this.Query();
this.btnQuery();
}
});
}
@ -1207,7 +1263,7 @@ export default {
if (res.code != -1) {
console.log("操作成功!");
this.form.chargeFlag = '1'; //退
this.Query();
this.btnQuery();
}
});
@ -1448,13 +1504,13 @@ export default {
//
this.chargePaysInit = [];
this.dict.payMode.forEach(e => {
if(e.id == '05'){
if (e.id == '05') {
for (let index = 0; index < this.charge_normal_card; index++) {
this.chargePaysInit.push({ chargeId: null, payModeId: e.id, chargeMoney: 0, cardBillId: null, cardRegisterId: '', cardNo: '' })
this.chargePaysInit.push({ chargeId: null, payModeId: e.id, chargeMoney: 0, cardBillId: null, cardRegisterId: '', cardNo: '' })
}
}else{
} else {
this.chargePaysInit.push({ chargeId: null, payModeId: e.id, chargeMoney: 0, cardBillId: null, cardRegisterId: '', cardNo: '' })
}
}
});
this.chargePays = deepCopy(this.chargePaysInit);
}
@ -1486,9 +1542,15 @@ export default {
console.log(input.getAttribute('placeholder'), input.value)
let placeholder = input.getAttribute('placeholder')
switch (placeholder) {
case '条码号':
case '档案号':
case '发票/收据号':
if (input.value) this.btnQuery()
input.select()
break;
case '卡号':
if (input.value) this.btnQueryCard()
//input.select()
input.select()
break;
}
}
@ -1515,13 +1577,15 @@ export default {
//()
watch: {
//
"dataTransOpts.refresh.charge.S": {
//immediate: true, //
// // deep: true, //
handler(newVal, oldVal) {
console.log(`watch: 收费 newVal: ${newVal}, oldVal: ${oldVal}, 人员条码号: `, this.patientRegisterNo)
console.log(`watch: 收费 newVal: ${newVal}, oldVal: ${oldVal}, 人员条码号: `, this.patientRegisterNo)
this.query.patientRegisterNo = this.patientRegisterNo
this.Query("patientRegisterNo")
this.query.chargeFlag = 'N'
this.btnQuery()
}
},
},

Loading…
Cancel
Save