From 4cbaff9499888dc58b0646aa028675d35b91309f Mon Sep 17 00:00:00 2001 From: newPeter7 Date: Thu, 26 Oct 2023 16:26:52 +0800 Subject: [PATCH] peter --- src/page-subspecialty/router/index.js | 3 +-- .../views/modules/outpatientManagement/treat/index.vue | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/page-subspecialty/router/index.js b/src/page-subspecialty/router/index.js index faf402c..f17b186 100644 --- a/src/page-subspecialty/router/index.js +++ b/src/page-subspecialty/router/index.js @@ -198,7 +198,6 @@ router.beforeEach((to, from, next) => { // window.SITE_CONFIG['menuList'] = res.data const menuListChild = res.data.filter(item => item.children.length > 0) fnAddDynamicMenuRoutes(JSON.parse(JSON.stringify(res.data)), menuListChild.length) - next({ ...to, replace: true }) }).catch(() => { return next({ name: 'login' }) @@ -252,7 +251,7 @@ function loginByDocId(doctorId, next, to) { } function loginByUserId(userIdNumber, next, to) { const params = { - userIdNumber: userIdNumber + userIdNumber: userIdNumber.slice(2) } http.post('/loginByPidNum', params).then(({ data: res }) => { if (res.code !== 0) { diff --git a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue index c632a40..16827c9 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue @@ -316,7 +316,7 @@ export default { async handleCall(scopeRow, status) { this.patientId = scopeRow.patientId const risNo = scopeRow.risNo - const examItemId = scopeRow.zlProjectList.length ? scopeRow.zlProjectList[0].id : '' + const examItemId = scopeRow.zlProjectList.length ? scopeRow.zlProjectList[0].porjectCode : '' const { data: res } = await this.$http.get('/zlCall/callByPatient', { params: { patientId: this.patientId, @@ -326,6 +326,7 @@ export default { } }) if (res.code === 0) { + this.pageCurrentChangeHandle(this.page) } else { this.$message.error(res.msg) }