From 0ee73b543b95d93b7bacc219dd39427a747c48ea Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Tue, 14 May 2024 10:45:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/360View/followUpRecord/formList/invalid.vue | 2 +- src/components/360View/followUpRecord/formList/outFollow.vue | 2 +- src/components/360View/followUpRecord/formList/phoneFollow.vue | 2 +- src/components/360View/index.vue | 2 +- src/page-subspecialty/views/main.vue | 2 +- src/page-subspecialty/views/pages/login.vue | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/360View/followUpRecord/formList/invalid.vue b/src/components/360View/followUpRecord/formList/invalid.vue index 4dd4083..38f3100 100644 --- a/src/components/360View/followUpRecord/formList/invalid.vue +++ b/src/components/360View/followUpRecord/formList/invalid.vue @@ -52,7 +52,7 @@ export default { } }, created() { - this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') + this.isDev = process.env.VUE_APP_NODE_ENV === 'staging' if (this.jsonText) { this.radio = this.jsonText && JSON.parse(this.jsonText).radio } else { diff --git a/src/components/360View/followUpRecord/formList/outFollow.vue b/src/components/360View/followUpRecord/formList/outFollow.vue index 02d98c5..3a574d7 100644 --- a/src/components/360View/followUpRecord/formList/outFollow.vue +++ b/src/components/360View/followUpRecord/formList/outFollow.vue @@ -278,7 +278,7 @@ export default { } }, created() { - this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') + this.isDev = process.env.VUE_APP_NODE_ENV === 'staging' // 初始化赋空 const data = { patientData: this.patientData, diff --git a/src/components/360View/followUpRecord/formList/phoneFollow.vue b/src/components/360View/followUpRecord/formList/phoneFollow.vue index 3027c13..ecd4282 100644 --- a/src/components/360View/followUpRecord/formList/phoneFollow.vue +++ b/src/components/360View/followUpRecord/formList/phoneFollow.vue @@ -151,7 +151,7 @@ export default { } }, 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) if (this.jsonText) { this.followData = JSON.parse(this.jsonText) diff --git a/src/components/360View/index.vue b/src/components/360View/index.vue index edebc0e..5da9290 100644 --- a/src/components/360View/index.vue +++ b/src/components/360View/index.vue @@ -329,7 +329,7 @@ export default { } }, 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.infoHidden = this.$route.query.infoHidden && JSON.parse(this.$route.query.infoHidden) }, diff --git a/src/page-subspecialty/views/main.vue b/src/page-subspecialty/views/main.vue index d618d53..c9fec83 100644 --- a/src/page-subspecialty/views/main.vue +++ b/src/page-subspecialty/views/main.vue @@ -44,7 +44,7 @@ export default { $route: 'routeHandle' }, created() { - this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') + this.isDev = process.env.VUE_APP_NODE_ENV === 'staging' this.windowResizeHandle() this.routeHandle(this.$route) Promise.all([ diff --git a/src/page-subspecialty/views/pages/login.vue b/src/page-subspecialty/views/pages/login.vue index aef7b40..f1fb86b 100644 --- a/src/page-subspecialty/views/pages/login.vue +++ b/src/page-subspecialty/views/pages/login.vue @@ -102,7 +102,7 @@ export default { } }, created() { - this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') + this.isDev = process.env.VUE_APP_NODE_ENV === 'staging' this.getCaptcha() }, methods: {