diff --git a/.env.production b/.env.production
index 4033a7a..f25cb5a 100644
--- a/.env.production
+++ b/.env.production
@@ -6,7 +6,7 @@ NODE_ENV=production
# 测试0 生产1
VUE_APP_ENV = '1'
# 定义变量
-VUE_APP_CITY_TYPE = 'sx'
+VUE_APP_CITY_TYPE = 'ah'
# base api
VUE_APP_BASE_API = ''
diff --git a/src/api/config.js b/src/api/config.js
index b1887ad..ed0885d 100644
--- a/src/api/config.js
+++ b/src/api/config.js
@@ -10,10 +10,10 @@ if (process.env.NODE_ENV === 'development') {
} else {
// 生产环境
// baseURL = '' // 本地 打包以后只需要空路径就行
- // baseURL = '/proxy-ah' //安徽 打包以后的路径
+ baseURL = '/proxy-ah' //安徽 打包以后的路径
// baseURL = '/proxy-nx' //宁夏 打包以后的路径
// baseURL = '/proxy-xj' //新疆 打包以后的路径
- baseURL = '/proxy-sx' //山西 打包以后的路径
+ // baseURL = '/proxy-sx' //山西 打包以后的路径
// baseURL = '/proxy-cq' //重庆 打包以后的路径
}
diff --git a/src/settings.js b/src/settings.js
index fa4b443..64ed653 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -10,7 +10,7 @@ module.exports = {
*/
sidebarLogo: true,
menuExclude: [],
- downloadUrl: `${process.env.VUE_APP_BASE_API}/proxy-sx/file/minio/download/`,
+ downloadUrl: `${process.env.VUE_APP_BASE_API}/proxy-ah/file/minio/download/`,
uploadUrl: `${process.env.VUE_APP_BASE_API}/file/minio/upload/`,
statusCode: {
SUCCESS: 0
diff --git a/src/views/energyEfficiency/constructionInfo.vue b/src/views/energyEfficiency/constructionInfo.vue
index 7a17348..c7bc6a0 100644
--- a/src/views/energyEfficiency/constructionInfo.vue
+++ b/src/views/energyEfficiency/constructionInfo.vue
@@ -998,6 +998,10 @@ export default {
// ele.disabled = false
// }
// })
+ }else{
+ this.showData.buildType1 = this.option[i].text
+ this.mainActiveIndex = i
+
}
}
@@ -1273,27 +1277,34 @@ export default {
.then((res) => {
if (res.code == 0) {
let arr = []
+ console.log(select, 'ss', res.data);
this.mainActiveIndex = 0
res.data.forEach((v, i) => {
if(v.code == select) this.mainActiveIndex = i
- const list = v.child.map((ele) => {
+ let list = []
+ if(v.child){
+ list = v.child.map((ele) => {
return {
text: ele.name,
id: ele.code,
pCode: ele.pCode
}
})
+
+ }
arr.push({
text: v.name,
value: v.code,
- children: list,
- disabled: select!=5&&!(v.code == select)
+ children: list||[],
+ disabled: select!=6&&!(v.code == select)
})
})
+ console.log(arr, 'arrooo', this.option);
this.option = arr
}
})
.catch(() => {
+ console.log('shibai');
this.$toast('失败')
})
},
diff --git a/src/views/facilityManage/bursting/burstingDetail.vue b/src/views/facilityManage/bursting/burstingDetail.vue
index bb24e4d..dea50e7 100644
--- a/src/views/facilityManage/bursting/burstingDetail.vue
+++ b/src/views/facilityManage/bursting/burstingDetail.vue
@@ -28,7 +28,11 @@