From 9931e64865415b5d3c1b32b24cd9db1c5d6cdc09 Mon Sep 17 00:00:00 2001 From: cxw <1056036578@qq.com> Date: Tue, 3 Jan 2023 16:19:29 +0800 Subject: [PATCH] 1 --- src/utils/index.js | 12 ++++++------ src/views/reagent/management/data/index.vue | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 7270a56..1a2c8d6 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -169,12 +169,12 @@ export function filterAsyncRoutes(routers, roles) { if (item.meta && item.meta.module_code === 'MainOverview') { return true } - if (item.meta && item.meta.module_code === 'CreateApplyView') { - return true - } - if (item.meta && item.meta.module_code === 'ApplyManagementView') { - return true - } + // if (item.meta && item.meta.module_code === 'CreateApplyView') { + // return true + // } + // if (item.meta && item.meta.module_code === 'ApplyManagementView') { + // return true + // } return !!roles.find(it => it.module_code === item.meta.module_code) }) } diff --git a/src/views/reagent/management/data/index.vue b/src/views/reagent/management/data/index.vue index ee44bb0..08be1e6 100644 --- a/src/views/reagent/management/data/index.vue +++ b/src/views/reagent/management/data/index.vue @@ -1148,6 +1148,7 @@ export default { this.drug_code = code } console.log(this.drug_code) + this.b_code =code const data = { medicament_id: this.m_id, code: this.drug_code