Browse Source

单独判断兴德路社区id

shibei_master
jiangyy 3 years ago
parent
commit
4a2ee709a9
  1. 19
      src/views/pages/caiji.vue

19
src/views/pages/caiji.vue

@ -299,18 +299,19 @@ export default {
this.shequName = this.$route.query.name this.shequName = this.$route.query.name
let envShow = process.env.VUE_APP_NODE_ENV let envShow = process.env.VUE_APP_NODE_ENV
console.log('环境', envShow)
let internalShequId = '' let internalShequId = '1202807601961984002'
if (envShow === 'dev' || envShow === 'prod:sit') { // // if (envShow === 'dev' || envShow === 'prod:sit') { //
internalShequId = null // internalShequId = null
} else if (envShow === 'prod:uat') { // // } else if (envShow === 'prod:uat') { //
internalShequId = '6e511da6816e53af4cda952365a26eb9' // internalShequId = '6e511da6816e53af4cda952365a26eb9'
} else if (envShow === 'prod') { // // } else if (envShow === 'prod') { //
internalShequId = '1202807601961984002' // internalShequId = '1202807601961984002'
} // }
this.formData.customerId = this.customerId this.formData.customerId = this.customerId
if (!this.internalShequId || this.shequId === internalShequId) { if (this.shequId === internalShequId) {
this.formData.origin = 'internal' this.formData.origin = 'internal'
} else { } else {
this.formData.origin = 'external' this.formData.origin = 'external'

Loading…
Cancel
Save