zqq:代码提交
This commit is contained in:
parent
7b895c0671
commit
7a8d6919b9
|
@ -1,6 +1,5 @@
|
||||||
import request from '/@/utils/request';
|
import request from '/@/utils/request';
|
||||||
|
import { moduleName } from '/@/utils/request';
|
||||||
const moduleName = 'biz-vordm';
|
|
||||||
|
|
||||||
export const getRemoteSensingSourceData = (param) => {
|
export const getRemoteSensingSourceData = (param) => {
|
||||||
return request({
|
return request({
|
||||||
|
@ -12,7 +11,7 @@ export const getRemoteSensingSourceData = (param) => {
|
||||||
|
|
||||||
export const getSelectionCondition = (param) => {
|
export const getSelectionCondition = (param) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/' + moduleName + '/ui/disasterInfo/select-condition',
|
url: '/api/' + moduleName + '/ui/disasterInfo/selectCondition',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: param,
|
params: param,
|
||||||
});
|
});
|
||||||
|
|
|
@ -3,6 +3,8 @@ import { ElMessage, ElMessageBox } from 'element-plus';
|
||||||
import qs from 'qs';
|
import qs from 'qs';
|
||||||
import { Session } from '/@/utils/storage';
|
import { Session } from '/@/utils/storage';
|
||||||
|
|
||||||
|
export const moduleName = 'zqq-biz-vordm';
|
||||||
|
|
||||||
// 配置新建一个 axios 实例
|
// 配置新建一个 axios 实例
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
//baseURL: import.meta.env.VITE_API_URL,
|
//baseURL: import.meta.env.VITE_API_URL,
|
||||||
|
|
|
@ -208,6 +208,7 @@ const searchDisasterType = () => {
|
||||||
"disasterDate": state.value_disasterDate,
|
"disasterDate": state.value_disasterDate,
|
||||||
"name": "disaster_type"
|
"name": "disaster_type"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state.options_disasterType) {
|
if (state.options_disasterType) {
|
||||||
getSelectionCondition(selectType).then(
|
getSelectionCondition(selectType).then(
|
||||||
(res) => {
|
(res) => {
|
||||||
|
|
Loading…
Reference in New Issue