diff --git a/.env.development b/.env.development index 9a40c2e..8971a6a 100644 --- a/.env.development +++ b/.env.development @@ -2,5 +2,5 @@ ENV = 'development' # base api -VUE_APP_BASE_API = 'http://192.168.1.101:9001' -VUE_APP_FACE_API = 'http://192.168.1.101:5000' +VUE_APP_BASE_API = 'http://127.0.0.1:9001' +VUE_APP_FACE_API = 'http://127.0.0.1:5000' diff --git a/.env.production b/.env.production index ef2289e..03db484 100644 --- a/.env.production +++ b/.env.production @@ -2,6 +2,6 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://192.168.1.101:9001' -VUE_APP_FACE_API ='http://192.168.1.101:5000' +VUE_APP_BASE_API = 'http://127.0.0.1:9001' +VUE_APP_FACE_API ='http://127.0.0.1:5000' diff --git a/.env.staging b/.env.staging index 56484f7..c1452c1 100644 --- a/.env.staging +++ b/.env.staging @@ -4,6 +4,6 @@ NODE_ENV = production ENV = 'staging' # base api -VUE_APP_BASE_API = 'http://192.168.1.101:9001' -VUE_APP_FACE_API='http://192.168.1.101:5000' +VUE_APP_BASE_API = 'http://127.0.0.1:9001' +VUE_APP_FACE_API='http://127.0.0.1:5000' diff --git a/src/assets/2-主界面/index.js b/src/assets/2-主界面/index.js index bcef190..a5658ae 100644 --- a/src/assets/2-主界面/index.js +++ b/src/assets/2-主界面/index.js @@ -194,7 +194,7 @@ export function getALLRouter(data) { { name: 'reagent', router: rasr[0], - title: '易制毒易制爆' + title: '易制毒易制爆品' }, { name: 'standard', diff --git a/src/router/modules/reagent.js b/src/router/modules/reagent.js index 5f8f704..51a8825 100644 --- a/src/router/modules/reagent.js +++ b/src/router/modules/reagent.js @@ -1,5 +1,5 @@ import Layout from '@/layout' -// 易制毒易制爆管理路由 +// 易制毒易制爆品管理路由 const reagentRouter = [ { path: '/reagent/mainoverview', @@ -109,7 +109,7 @@ const reagentRouter = [ path: 'index', name: 'PurchaseApproval', component: () => import('@/views/reagent/purchaseapproval/index'), - meta: { title: '采购审批', icon: '请购', classification: 'reagent'} + meta: { title: '采购审批', icon: '表单', classification: 'reagent'} } ] }, @@ -123,7 +123,7 @@ const reagentRouter = [ path: 'index', name: 'Warehousing', component: () => import('@/views/reagent/warehousing/index'), - meta: { title: '易制毒易制爆入库', icon: '试剂入库', classification: 'reagent' } + meta: { title: '易制毒易制爆品入库', icon: '试剂入库', classification: 'reagent' } } ] }, @@ -137,7 +137,7 @@ const reagentRouter = [ // path: 'index', // name: 'Receiving', // component: () => import('@/views/reagent/receivingandreturn/index'), - // meta: { title: '易制毒易制爆领用', icon: '试剂领用', classification: 'reagent' } + // meta: { title: '易制毒易制爆品领用', icon: '试剂领用', classification: 'reagent' } // } // ] // }, @@ -151,7 +151,7 @@ const reagentRouter = [ path: 'index', name: 'SendBack', component: () => import('@/views/reagent/receivingandreturn/index'), - meta: { title: '易制毒易制爆归还', icon: '试剂归还', classification: 'reagent' } + meta: { title: '易制毒易制爆品归还', icon: '试剂归还', classification: 'reagent' } } ] }, @@ -165,7 +165,7 @@ const reagentRouter = [ path: 'index', name: 'createapply', component: () => import('@/views/reagent/createapply/index'), - meta: { title: '易制毒易制爆创建申请', icon: '创建申请', classification: 'reagent' } + meta: { title: '易制毒易制爆品创建申请', icon: '创建申请', classification: 'reagent' } } ] }, @@ -179,7 +179,7 @@ const reagentRouter = [ path: 'index', name: 'applymanagement', component: () => import('@/views/reagent/applymanagement/index'), - meta: { title: '易制毒易制爆申请管理', icon: '申请管理', classification: 'reagent' } + meta: { title: '易制毒易制爆品申请管理', icon: '申请管理', classification: 'reagent' } } ] }, @@ -193,7 +193,7 @@ const reagentRouter = [ path: 'index', name: 'weightregistration', component: () => import('@/views/reagent/weightregistration/index'), - meta: { title: '易制毒易制爆称重登记', icon: '称重登记', classification: 'reagent' } + meta: { title: '易制毒易制爆品称重登记', icon: '称重登记', classification: 'reagent' } } ] }, @@ -207,7 +207,7 @@ const reagentRouter = [ // path: 'index', // name: 'weighing', // component: () => import('@/views/reagent/weighing/index'), - // meta: { title: '易制毒易制爆称重', icon: '试剂称重', classification: 'reagent' } + // meta: { title: '易制毒易制爆品称重', icon: '试剂称重', classification: 'reagent' } // } // ] // }, @@ -221,7 +221,7 @@ const reagentRouter = [ path: 'index', name: 'Inventory', component: () => import('@/views/reagent/inventory/index'), - meta: { title: '易制毒易制爆盘点', icon: '库存盘点', classification: 'reagent' } + meta: { title: '易制毒易制爆品盘点', icon: '库存盘点', classification: 'reagent' } } ] }, @@ -249,13 +249,13 @@ const reagentRouter = [ path: '/reagent/management', component: Layout, redirect: '/reagent/management/index', - meta: { title: '易制毒易制爆管理', icon: '试剂管理', classification: 'reagent', module_code: 'DrugIndex' }, + meta: { title: '易制毒易制爆品管理', icon: '试剂管理', classification: 'reagent', module_code: 'DrugIndex' }, children: [ { path: 'index', name: 'Management', component: () => import('@/views/reagent/management/data/index'), - meta: { title: '易制毒易制爆管理', icon: '试剂管理', classification: 'reagent' } + meta: { title: '易制毒易制爆品管理', icon: '试剂管理', classification: 'reagent' } } ] }, diff --git a/src/utils/index.js b/src/utils/index.js index 6cd0690..1f35685 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -200,7 +200,7 @@ export function getALLRouter(data) { { name: 'reagent', router: rasr[0], - title: '易制毒易制爆管理' + title: '易制毒易制爆品管理' }, { name: 'standard', diff --git a/src/utils/mapTitle.js b/src/utils/mapTitle.js index c9944db..9954340 100644 --- a/src/utils/mapTitle.js +++ b/src/utils/mapTitle.js @@ -1,5 +1,5 @@ const mapTitle = { - 'reagent': '易制毒易制爆', + 'reagent': '易制毒易制爆品', 'user': 'user', 'standard': '危化品', 'consumables': '对照品', diff --git a/src/views/reagent/buy/index.vue b/src/views/reagent/buy/index.vue index 7b13caf..5bc34b7 100644 --- a/src/views/reagent/buy/index.vue +++ b/src/views/reagent/buy/index.vue @@ -4,107 +4,76 @@