完成签约之后直接添加人员,录入下发凭证
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.0 KiB

  1. 'use strict'
  2. // Template version: 1.3.1
  3. // see http://vuejs-templates.github.io/webpack for documentation.
  4. const path = require('path')
  5. module.exports = {
  6. dev: {
  7. // Paths
  8. assetsSubDirectory: 'static',
  9. assetsPublicPath: '/',
  10. proxyTable: {
  11. '/api': {
  12. target: 'http://apartmentcloud.xiaozhisz.cn/',
  13. // target: 'http://test.zhiweisz.cn/',
  14. // target: 'http://192.168.1.26:8600/',
  15. changeOrigin: true, //是否跨域
  16. pathRewrite: {
  17. //重写路径
  18. '^/api': '' //代理路径
  19. }
  20. },
  21. '/face-api1':{
  22. target: 'https://139.196.122.181:443/',
  23. changeOrigin: true, //是否跨域
  24. secure: false,
  25. pathRewrite: {
  26. //重写路径
  27. '^/face-api1': '' //代理路径
  28. }
  29. }
  30. },
  31. configureWebpack: {
  32. resolve: {
  33. extensions: ['.js', '.vue', '.json'],
  34. alias: {
  35. vue$: 'vue/dist/vue.esm.js',
  36. '@': path.join(__dirname, '/', 'src')
  37. }
  38. }
  39. },
  40. host: '192.168.1.11',
  41. port: 8082,
  42. autoOpenBrowser: false,
  43. errorOverlay: true,
  44. notifyOnErrors: true,
  45. poll: false,
  46. devtool: 'cheap-module-eval-source-map',
  47. cacheBusting: true,
  48. cssSourceMap: true
  49. },
  50. build: {
  51. // Template for index.html
  52. index: path.resolve(__dirname, '../dist/index.html'),
  53. assetsRoot: path.resolve(__dirname, '../dist'),
  54. assetsSubDirectory: 'static',
  55. assetsPublicPath: '/',
  56. /**
  57. * Source Maps
  58. */
  59. productionSourceMap: false,
  60. devtool: '#source-map',
  61. productionGzip: false,
  62. productionGzipExtensions: ['js', 'css'],
  63. bundleAnalyzerReport: process.env.npm_config_report
  64. }
  65. }