|
|
@@ -16,17 +16,17 @@ module.exports = {
|
|
|
head: {
|
|
|
title: '样本库系统',
|
|
|
meta: [{
|
|
|
- charset: 'utf-8'
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'viewport',
|
|
|
- content: 'width=device-width, initial-scale=1'
|
|
|
- },
|
|
|
- {
|
|
|
- hid: 'description',
|
|
|
- name: 'description',
|
|
|
- content: '样本库系统'
|
|
|
- }
|
|
|
+ charset: 'utf-8'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'viewport',
|
|
|
+ content: 'width=device-width, initial-scale=1'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ hid: 'description',
|
|
|
+ name: 'description',
|
|
|
+ content: '样本库系统'
|
|
|
+ }
|
|
|
],
|
|
|
link: [{
|
|
|
rel: 'icon',
|
|
|
@@ -34,12 +34,12 @@ module.exports = {
|
|
|
href: '/favicon.ico'
|
|
|
}],
|
|
|
script: [{
|
|
|
- src: '/js/utils.js'
|
|
|
- },
|
|
|
- {
|
|
|
- src: '/js/printUtilities.js'
|
|
|
- }
|
|
|
- ],
|
|
|
+ src: '/js/utils.js'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ src: '/js/printUtilities.js'
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
/*
|
|
|
** Customize the progress bar color
|
|
|
@@ -54,7 +54,7 @@ module.exports = {
|
|
|
babel: {
|
|
|
plugins: ['transform-decorators-legacy', 'transform-class-properties']
|
|
|
},
|
|
|
- extend(config, {
|
|
|
+ extend (config, {
|
|
|
isDev,
|
|
|
isClient
|
|
|
}) {
|
|
|
@@ -129,7 +129,7 @@ module.exports = {
|
|
|
modules: [
|
|
|
// '@nuxtjs/auth',
|
|
|
'~/modules/auth',
|
|
|
- '@nuxtjs/axios',
|
|
|
+ '@nuxtjs/axios'
|
|
|
],
|
|
|
auth: {
|
|
|
user: {
|
|
|
@@ -159,8 +159,8 @@ module.exports = {
|
|
|
},
|
|
|
|
|
|
axios: {
|
|
|
- // baseURL: '//localhost:9081/api/' // 本机开发使用
|
|
|
- baseURL: '//192.168.0.192:9081/api/' // 蜜蜂所使用
|
|
|
+ baseURL: '//localhost:9081/api/' // 本机开发使用
|
|
|
+ // baseURL: '/api/' // 蜜蜂所正式发版使用
|
|
|
// baseURL: '//47.92.238.200:9081/api/' // BioBank on ALi发布使用
|
|
|
// baseURL: '//188.188.30.89:9081/api/' //临沂使用
|
|
|
// baseURL: '//api09.labsop.cn/api/'
|
|
|
@@ -174,16 +174,16 @@ module.exports = {
|
|
|
** 客户端使用:process.env.appclient 服务端使用:context.appclient
|
|
|
*/
|
|
|
env: {
|
|
|
- appclient: 'biobank', //因顿LIMS:lims,样本库:biobank,细胞制备:cellbank,样本搜索判断,登录跳转判断
|
|
|
+ appclient: 'biobank', // 因顿LIMS:lims,样本库:biobank,细胞制备:cellbank,样本搜索判断,登录跳转判断
|
|
|
|
|
|
- //imgserverhost: 'http://47.92.238.200:9081', // BioBank服务地址,图片上传文件
|
|
|
+ // imgserverhost: 'http://47.92.238.200:9081', // BioBank服务地址,图片上传文件
|
|
|
// imgserverhost: 'http://localhost:9081', // BioBank服务地址,图片上传文件
|
|
|
// upfilehost: 'http://weed1.labsop.cn:9333/dir/assign', // 附件上传
|
|
|
- imgserverhost: 'http://192.168.0.192:9081', // 蜜蜂所服务地址,图片上传文件
|
|
|
- upfilehost: 'http://192.168.0.192:9333/dir/assign', // 蜜蜂所附件上传
|
|
|
+ imgserverhost: '/serveruploadfile', // 蜜蜂所服务地址,图片上传文件
|
|
|
+ upfilehost: '/uploadfile' // 蜜蜂所附件上传
|
|
|
|
|
|
- //imgserverhost: 'http://188.188.30.89:9081', // 临沂服务地址,图片上传文件
|
|
|
- //upfilehost: '188.188.30.89:9333/dir/assign', // 临沂附件上传
|
|
|
+ // imgserverhost: 'http://188.188.30.89:9081', // 临沂服务地址,图片上传文件
|
|
|
+ // upfilehost: '188.188.30.89:9333/dir/assign', // 临沂附件上传
|
|
|
|
|
|
}
|
|
|
}
|