Browse Source

环境变量修改

master
bianyaqi 1 year ago
parent
commit
0ee73b543b
  1. 2
      src/components/360View/followUpRecord/formList/invalid.vue
  2. 2
      src/components/360View/followUpRecord/formList/outFollow.vue
  3. 2
      src/components/360View/followUpRecord/formList/phoneFollow.vue
  4. 2
      src/components/360View/index.vue
  5. 2
      src/page-subspecialty/views/main.vue
  6. 2
      src/page-subspecialty/views/pages/login.vue

2
src/components/360View/followUpRecord/formList/invalid.vue

@ -52,7 +52,7 @@ export default {
} }
}, },
created() { created() {
this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47')
this.isDev = process.env.VUE_APP_NODE_ENV === 'staging'
if (this.jsonText) { if (this.jsonText) {
this.radio = this.jsonText && JSON.parse(this.jsonText).radio this.radio = this.jsonText && JSON.parse(this.jsonText).radio
} else { } else {

2
src/components/360View/followUpRecord/formList/outFollow.vue

@ -278,7 +278,7 @@ export default {
} }
}, },
created() { created() {
this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47')
this.isDev = process.env.VUE_APP_NODE_ENV === 'staging'
// //
const data = { const data = {
patientData: this.patientData, patientData: this.patientData,

2
src/components/360View/followUpRecord/formList/phoneFollow.vue

@ -151,7 +151,7 @@ export default {
} }
}, },
created() { created() {
this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47')
this.isDev = process.env.VUE_APP_NODE_ENV === 'staging'
this.initData = _.cloneDeep(this.followData) this.initData = _.cloneDeep(this.followData)
if (this.jsonText) { if (this.jsonText) {
this.followData = JSON.parse(this.jsonText) this.followData = JSON.parse(this.jsonText)

2
src/components/360View/index.vue

@ -329,7 +329,7 @@ export default {
} }
}, },
created() { created() {
this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47')
this.isDev = process.env.VUE_APP_NODE_ENV === 'staging'
this.jzNumber = window.sessionStorage.getItem('jzNumber') this.jzNumber = window.sessionStorage.getItem('jzNumber')
this.infoHidden = this.$route.query.infoHidden && JSON.parse(this.$route.query.infoHidden) this.infoHidden = this.$route.query.infoHidden && JSON.parse(this.$route.query.infoHidden)
}, },

2
src/page-subspecialty/views/main.vue

@ -44,7 +44,7 @@ export default {
$route: 'routeHandle' $route: 'routeHandle'
}, },
created() { created() {
this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47')
this.isDev = process.env.VUE_APP_NODE_ENV === 'staging'
this.windowResizeHandle() this.windowResizeHandle()
this.routeHandle(this.$route) this.routeHandle(this.$route)
Promise.all([ Promise.all([

2
src/page-subspecialty/views/pages/login.vue

@ -102,7 +102,7 @@ export default {
} }
}, },
created() { created() {
this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47')
this.isDev = process.env.VUE_APP_NODE_ENV === 'staging'
this.getCaptcha() this.getCaptcha()
}, },
methods: { methods: {

Loading…
Cancel
Save