diff --git a/public/files/单位体检人员名单导入模板.xlsx b/public/files/单位体检人员名单导入模板.xlsx
index f2e9c4e..10a7370 100644
Binary files a/public/files/单位体检人员名单导入模板.xlsx and b/public/files/单位体检人员名单导入模板.xlsx differ
diff --git a/public/files/职业病体检人员名单导入模板.xlsx b/public/files/职业病体检人员名单导入模板.xlsx
index a168852..314cbdb 100644
Binary files a/public/files/职业病体检人员名单导入模板.xlsx and b/public/files/职业病体检人员名单导入模板.xlsx differ
diff --git a/src/assets/css/global_menu.css b/src/assets/css/global_menu.css
new file mode 100644
index 0000000..87296c7
--- /dev/null
+++ b/src/assets/css/global_menu.css
@@ -0,0 +1,4 @@
+/* 菜单高度 */
+.menu_item{
+ line-height: 20px !important;
+}
diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue
index a356004..5479475 100644
--- a/src/components/patientRegister/PatientRegisterList.vue
+++ b/src/components/patientRegister/PatientRegisterList.vue
@@ -175,6 +175,10 @@
指引单预览
+
+ 人员检验检查条码
+
人员信息导出
@@ -588,6 +592,71 @@ export default {
}
},
+ // 指引单新打印方式,promise
+ guidePrintPromise(ReportCode, isPreview, row) {
+ return new Promise((resolve, reject) => {
+ if (!this.$peisAPI) reject("此功能,需要在壳客户端才可运行!")
+
+
+ let token = window.sessionStorage.getItem("token");
+ let user = window.sessionStorage.getItem("user");
+ let toOutShell = {
+ ReportCode,
+ token,
+ isBuildImage: 'N',
+ IsUploadPdf: 'N',
+ preViewCanPrint: "N",
+ Parameters: [
+ { Name: "printer", Value: user },
+ { Name: "hisLog", Value: "pic/hisLog.jpg" },
+ { Name: 'pageFooter', Value: 'pic/peisQrCode.jpg' },
+ ],
+ };
+
+ if (!row.completeFlag || row.completeFlag == '0') reject('预登记人员,不可执行此操作!')
+ toOutShell.BusinessCode = row.id
+
+ if (isPreview) {
+ this.$peisAPI.printPre(JSON.stringify(toOutShell))
+ .then(res => {
+ if (JSON.parse(res).code < 0) {
+ resolve(JSON.parse(res))
+ } else {
+ reject(JSON.parse(res).message)
+ }
+ })
+ .catch((err) => {
+ reject(err)
+ });
+ } else {
+ this.$peisAPI.printPre(JSON.stringify(toOutShell))
+ .then(res => {
+ if (JSON.parse(res).code < 0) {
+ return postapi("/api/app/patientregister/updatepatientregisterguideprinttimesmany", [row.id]);
+ } else {
+ reject(JSON.parse(res).message)
+ }
+ })
+ .then(res => {
+ if (res && res.code > -1) {
+ let lfind = arrayExistObj(this.tableData, "id", row.id);
+ if (lfind > -1) {
+ if (this.tableData[lfind].guidePrintTimes) {
+ this.tableData[lfind].guidePrintTimes = Number(this.tableData[lfind].guidePrintTimes) + 1;
+ } else {
+ this.tableData[lfind].guidePrintTimes = 1;
+ }
+ }
+ }
+ resolve(res)
+ })
+ .catch((err) => {
+ reject(err)
+ });
+ }
+ })
+ },
+
handleSelectionChange(rows) {
//this.multipleSelection = rows;
//// console.log('this.multipleSelection',this.multipleSelection)
@@ -1004,9 +1073,9 @@ export default {
}
})
},
-
- close_dialogWin_upBaseInfo(){
+
+ close_dialogWin_upBaseInfo() {
this.upBaseInfo.visble = false
this.close_dialogWin_PatientRegisterEdit()
},
@@ -1019,11 +1088,11 @@ export default {
}
body[this.upBaseInfo.colName] = this.upBaseInfo.value
- postapi('/api/app/PatientRegister/UpdatePatientRegisterBaseInfoByPatientRegisterId',body).then(res => {
- if(res.code > -1){
+ postapi('/api/app/PatientRegister/UpdatePatientRegisterBaseInfoByPatientRegisterId', body).then(res => {
+ if (res.code > -1) {
this.close_dialogWin_upBaseInfo()
}
- })
+ })
},
// 修改基本信息
fnUpBaseInfo(row, baseInfoType) {
@@ -1086,6 +1155,13 @@ export default {
this.lisRequest(row);
},
})
+ if (checkPagePriv(this.pagePriv.privs, '预览人员条码') && row.completeFlag != '0')
+ items.push({
+ label: "预览人员条码",
+ onClick: () => {
+ this.guidePrintPromise("0008", true, row);
+ },
+ })
if (checkPagePriv(this.pagePriv.privs, '预览检验条码') && row.completeFlag != '0')
items.push({
label: "预览检验条码",
diff --git a/src/views/customerOrg/patientRegisterImport.vue b/src/views/customerOrg/patientRegisterImport.vue
index 6d3471e..6ef9e74 100644
--- a/src/views/customerOrg/patientRegisterImport.vue
+++ b/src/views/customerOrg/patientRegisterImport.vue
@@ -150,7 +150,7 @@
-->
@@ -581,6 +581,7 @@ export default {
{ dispLabel: '工种', val: 'jobType' },
{ dispLabel: '检查类别', val: 'ocCheckTypeName' },
{ dispLabel: '接害因素', val: 'poisons' },
+ { dispLabel: '备注', val: 'remark' },
{ dispLabel: '支付方式', val: 'payTypeFlag' },
],
/*
@@ -1751,6 +1752,7 @@ export default {
@import '../../assets/css/global_form.css';
@import '../../assets/css/global_input.css';
@import '../../assets/css/global_table.css';
+@import '../../assets/css/global_menu.css';
@import '../../assets/css/global.css';
@@ -1771,7 +1773,8 @@ input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: button !important;
margin: 0 -12px 0 0 !important;
}
-::v-deep .menu_item{
- line-height: 24px;
+
+::v-deep .el-table__header th {
+ font-family: "Microsoft YaHei";
}