zqq:代码提交

This commit is contained in:
qqGroup0 2023-04-11 09:42:44 +08:00
parent 7b895c0671
commit 7a8d6919b9
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import request from '/@/utils/request';
const moduleName = 'biz-vordm';
import { moduleName } from '/@/utils/request';
export const getRemoteSensingSourceData = (param) => {
return request({
@ -12,7 +11,7 @@ export const getRemoteSensingSourceData = (param) => {
export const getSelectionCondition = (param) => {
return request({
url: '/api/' + moduleName + '/ui/disasterInfo/select-condition',
url: '/api/' + moduleName + '/ui/disasterInfo/selectCondition',
method: 'get',
params: param,
});

View File

@ -3,6 +3,8 @@ import { ElMessage, ElMessageBox } from 'element-plus';
import qs from 'qs';
import { Session } from '/@/utils/storage';
export const moduleName = 'zqq-biz-vordm';
// 配置新建一个 axios 实例
const service = axios.create({
//baseURL: import.meta.env.VITE_API_URL,

View File

@ -208,6 +208,7 @@ const searchDisasterType = () => {
"disasterDate": state.value_disasterDate,
"name": "disaster_type"
}
if (state.options_disasterType) {
getSelectionCondition(selectType).then(
(res) => {