部署修改

xuhongjie
许宏杰 1 month ago
parent 953f1c0d88
commit b43e92d3f9

@ -5,4 +5,4 @@ VUE_APP_TITLE = 苏州工业园区工业上楼项目系统
ENV = 'production' ENV = 'production'
# 苏州工业园区工业上楼项目系统/生产环境 # 苏州工业园区工业上楼项目系统/生产环境
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = 'http://39.101.188.84:7071'

@ -1,6 +1,6 @@
// src/api/ManageApi/index.js // src/api/ManageApi/index.js
import request from '@/utils/request'; import request from '@/utils/request';
import { getToken } from '@/utils/auth'; import { getToken } from '@/utils/auth';
// 企业--基本信息==下载模板(基本信息模板) // 企业--基本信息==下载模板(基本信息模板)
@ -10,7 +10,7 @@ export function exportBasicInformationTemplate() {
method: 'post', method: 'post',
responseType: 'blob', responseType: 'blob',
headers: { headers: {
'Authorization': `Bearer ${getToken()}` 'Authorization': `Bearer ${getToken()}`
} }
}); });
} }
@ -50,7 +50,7 @@ export function updateBasicInformation(data) {
return request({ return request({
url: `/gysl/basicInformation/edit`, url: `/gysl/basicInformation/edit`,
method: 'post', method: 'post',
data data
}); });
} }
// 基本信息的导出功能 // 基本信息的导出功能
@ -75,14 +75,14 @@ export function updateProgrammeInformation(data) {
//根据主键来查询单条数据 //根据主键来查询单条数据
export function getProgrammeInformationById(quey) { export function getProgrammeInformationById(quey) {
return request({ return request({
url: '/gysl/planInformation/selectAll', url: '/gysl/planInformation/selectAll',
method: 'get', method: 'get',
params: quey params: quey
}); });
} }
// 项目评价清单 // 项目评价清单
// 分页查询项目评价清单 // 分页查询项目评价清单
export function getProjectEvaluationList(params) { export function getProjectEvaluationList(params) {
return request({ return request({
@ -171,7 +171,7 @@ export function getAllElements(params) {
return request({ return request({
url: '/gysl/mx/page', url: '/gysl/mx/page',
method: 'get', method: 'get',
params params
}); });
} }
@ -365,7 +365,7 @@ export function addjzxx(data) {
export function deletejzxx(idList) { export function deletejzxx(idList) {
console.log('Deleting buildings with IDs:', idList); // 调试信息 console.log('Deleting buildings with IDs:', idList); // 调试信息
return request({ return request({
url: '/gysl/buildingInformation/delete', url: '/gysl/buildingInformation/delete',
method: 'delete', method: 'delete',
params: { idList: idList.join(',') } // 将数组转换为逗号分隔的字符串 params: { idList: idList.join(',') } // 将数组转换为逗号分隔的字符串
}); });
@ -526,4 +526,4 @@ export function getclglPage(data) {
method:'post', method:'post',
data data
}) })
} }

Loading…
Cancel
Save