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
let envShow = process.env.VUE_APP_NODE_ENV
console.log('环境', envShow)
let internalShequId = ''
if (envShow === 'dev' || envShow === 'prod:sit') { //
internalShequId = null
} else if (envShow === 'prod:uat') { //
internalShequId = '6e511da6816e53af4cda952365a26eb9'
} else if (envShow === 'prod') { //
internalShequId = '1202807601961984002'
}
let internalShequId = '1202807601961984002'
// if (envShow === 'dev' || envShow === 'prod:sit') { //
// internalShequId = null
// } else if (envShow === 'prod:uat') { //
// internalShequId = '6e511da6816e53af4cda952365a26eb9'
// } else if (envShow === 'prod') { //
// internalShequId = '1202807601961984002'
// }
this.formData.customerId = this.customerId
if (!this.internalShequId || this.shequId === internalShequId) {
if (this.shequId === internalShequId) {
this.formData.origin = 'internal'
} else {
this.formData.origin = 'external'

Loading…
Cancel
Save