diff --git a/src/components/360View/afterPart/index-copy.vue b/src/components/360View/afterPart/index-copy.vue
index 919dced..1def375 100644
--- a/src/components/360View/afterPart/index-copy.vue
+++ b/src/components/360View/afterPart/index-copy.vue
@@ -610,7 +610,7 @@ export default {
})
},
queryTree(type) {
- const baseUrl = window.SITE_CONFIG['apiURL'] + '/treetag/findTree'
+ const baseUrl = process.env.VUE_APP_LOGIN_URL + '/treetag/findTree'
return new Promise((resolve, reject) => {
axios.defaults.headers.common['token'] = window.sessionStorage.getItem('xa-token') || ''
axios.get(baseUrl, {
diff --git a/src/components/360View/afterPart/index.vue b/src/components/360View/afterPart/index.vue
index 8f3a75c..902b5a4 100644
--- a/src/components/360View/afterPart/index.vue
+++ b/src/components/360View/afterPart/index.vue
@@ -606,7 +606,7 @@ export default {
})
},
queryTree(type) {
- const baseUrl = window.SITE_CONFIG['apiURL'] + '/treetag/findTree'
+ const baseUrl = process.env.VUE_APP_LOGIN_URL + '/treetag/findTree'
return new Promise((resolve, reject) => {
axios.defaults.headers.common['token'] = window.sessionStorage.getItem('xa-token') || ''
axios.get(baseUrl, {
diff --git a/src/components/360View/forePart/index-copy.vue b/src/components/360View/forePart/index-copy.vue
index 7d7705b..c46b5e7 100644
--- a/src/components/360View/forePart/index-copy.vue
+++ b/src/components/360View/forePart/index-copy.vue
@@ -992,7 +992,7 @@ export default {
},
// 封装查询单个下拉选择树
queryTree(type) {
- const baseUrl = window.SITE_CONFIG['apiURL'] + '/treetag/findTree'
+ const baseUrl = process.env.VUE_APP_LOGIN_URL + '/treetag/findTree'
return new Promise((resolve, reject) => {
axios.defaults.headers.common['token'] = window.sessionStorage.getItem('xa-token') || ''
axios.get(baseUrl, {
diff --git a/src/components/360View/forePart/index.vue b/src/components/360View/forePart/index.vue
index 5f76763..c8227b3 100644
--- a/src/components/360View/forePart/index.vue
+++ b/src/components/360View/forePart/index.vue
@@ -809,7 +809,7 @@ export default {
},
// 封装查询单个下拉选择树
queryTree(type) {
- const baseUrl = window.SITE_CONFIG['apiURL'] + '/treetag/findTree'
+ const baseUrl = process.env.VUE_APP_LOGIN_URL + '/treetag/findTree'
return new Promise((resolve, reject) => {
axios.defaults.headers.common['token'] = window.sessionStorage.getItem('xa-token') || ''
axios.get(baseUrl, {
diff --git a/src/components/360View/knowledge/electronInfo.vue b/src/components/360View/knowledge/electronInfo.vue
index e68d21c..9d0147a 100644
--- a/src/components/360View/knowledge/electronInfo.vue
+++ b/src/components/360View/knowledge/electronInfo.vue
@@ -85,7 +85,7 @@ export default {
name: 'ElectronInfo',
data() {
return {
- uploadUrl: window.SITE_CONFIG['apiURL'] + '/bd/knowledgeTree/uploadFiles',
+ uploadUrl: process.env.VUE_APP_LOGIN_URL + '/bd/knowledgeTree/uploadFiles',
uploadData: {
treeId: ''
},
diff --git a/src/components/360View/medicalRecord/outPatientRecord/afterForm.vue b/src/components/360View/medicalRecord/outPatientRecord/afterForm.vue
index 87a1d5c..c91c2b0 100644
--- a/src/components/360View/medicalRecord/outPatientRecord/afterForm.vue
+++ b/src/components/360View/medicalRecord/outPatientRecord/afterForm.vue
@@ -205,7 +205,7 @@ export default {
methods: {
// 封装查询单个下拉选择树
queryTree(type) {
- const baseUrl = window.SITE_CONFIG['apiURL'] + '/treetag/findTree'
+ const baseUrl = process.env.VUE_APP_LOGIN_URL + '/treetag/findTree'
return new Promise((resolve, reject) => {
axios.defaults.headers.common['token'] = window.sessionStorage.getItem('xa-token') || ''
axios.get(baseUrl, {
diff --git a/src/components/360View/medicalRecord/outPatientRecord/foreForm.vue b/src/components/360View/medicalRecord/outPatientRecord/foreForm.vue
index 9a1c1ec..4af95c8 100644
--- a/src/components/360View/medicalRecord/outPatientRecord/foreForm.vue
+++ b/src/components/360View/medicalRecord/outPatientRecord/foreForm.vue
@@ -567,7 +567,9 @@ export default {
},
// 封装查询单个下拉选择树
queryTree(type) {
- const baseUrl = window.SITE_CONFIG['apiURL'] + '/treetag/findTree'
+ console.log(process.env.VUE_APP_LOGIN_URL)
+ // const baseUrl = process.env.VUE_APP_LOGIN_URL + '/treetag/findTree'
+ const baseUrl = process.env.VUE_APP_LOGIN_URL + '/treetag/findTree'
return new Promise((resolve, reject) => {
axios.defaults.headers.common['token'] = window.sessionStorage.getItem('xa-token') || ''
axios.get(baseUrl, {
diff --git a/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue b/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
index 55354b6..d753f55 100644
--- a/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
+++ b/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
@@ -14,7 +14,7 @@