Browse Source

配置更新

wangxinyao
lingxiao 2 years ago
parent
commit
320dd2c057
4 changed files with 16 additions and 24 deletions
  1. +7
    -11
      .env.development
  2. +7
    -5
      .env.production
  3. +1
    -7
      package.json
  4. +1
    -1
      src/components/receiptPrinting.vue

+ 7
- 11
.env.development View File

@ -1,14 +1,10 @@
VUE_APP_ENV = '物业(测试)'
# just a flag # just a flag
VUE_APP_ENV = '物业'
NODE_ENV = 'test'
NODE_ENV = 'production'
# base api # base api
VUE_APP_BASE_API = 'http://101.201.121.115:8092'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
# It only does one thing by converting all import() to require().
# This configuration can significantly increase the speed of hot updates,
# when you have a large number of pages.
VUE_CLI_BABEL_TRANSPILE_MODULES = true
# 玫苑
# VUE_APP_BASE_API = 'http://101.201.121.115:8092'
# 和瑞
VUE_APP_BASE_API = 'http://101.201.121.115:8094'

+ 7
- 5
.env.production View File

@ -1,8 +1,10 @@
VUE_APP_ENV = '物业(测试)'
# just a flag # just a flag
VUE_APP_ENV = '物业'
NODE_ENV = 'production' NODE_ENV = 'production'
# base api # base api
#
#VUE_APP_BASE_API = 'http://8.131.69.197:22000'
#和瑞
VUE_APP_BASE_API = 'http://8.131.69.197:8094'
#
# VUE_APP_BASE_API = 'http://101.201.121.115:8092'
# 和瑞
VUE_APP_BASE_API = 'http://101.201.121.115:8094'

+ 1
- 7
package.json View File

@ -8,13 +8,7 @@
"dev": "vue-cli-service serve --open", "dev": "vue-cli-service serve --open",
"serve": "vue-cli-service serve --open", "serve": "vue-cli-service serve --open",
"build:prod": "vue-cli-service build", "build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src",
"test:unit": "jest --clearCache && vue-cli-service test:unit",
"test:ci": "npm run lint && npm run test:unit",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
"new": "plop"
"build:stage": "vue-cli-service build --mode staging"
}, },
"husky": { "husky": {
"hooks": { "hooks": {


+ 1
- 1
src/components/receiptPrinting.vue View File

@ -29,7 +29,7 @@
? "车位费" ? "车位费"
: data.category : data.category
}} }}
{{dta.carportid}}
{{data.carportid}}
</td> </td>
<td style="padding: 0 10px"></td> <td style="padding: 0 10px"></td>
<td style="padding: 0 10px">{{ data.contracttab.lengthdate }}</td> <td style="padding: 0 10px">{{ data.contracttab.lengthdate }}</td>


Loading…
Cancel
Save