|
|
@ -1,4 +1,4 @@
|
|
|
|
import { BOARD_LIST_URL, PUBLIC_BOARD_LIST_URL, SIMSA_DETAILS_LIST_URL, SIMSA_LIST_URL } from 'commons/ApiUrl';
|
|
|
|
import { BOARD_LIST_URL, PUBLIC_BOARD_LIST_URL, PARKING_SIMSA_DETAILS_LIST_URL, PARKING_SIMSA_LIST_URL } from 'commons/ApiUrl';
|
|
|
|
import axios from 'utils/axios';
|
|
|
|
import axios from 'utils/axios';
|
|
|
|
|
|
|
|
|
|
|
|
class OpstBizService {
|
|
|
|
class OpstBizService {
|
|
|
@ -36,7 +36,7 @@ class OpstBizService {
|
|
|
|
|
|
|
|
|
|
|
|
// eslint-disable-next-line no-return-await
|
|
|
|
// eslint-disable-next-line no-return-await
|
|
|
|
getSimsa680GroupList = async (params) => {
|
|
|
|
getSimsa680GroupList = async (params) => {
|
|
|
|
const res = await axios.get(SIMSA_LIST_URL, { params });
|
|
|
|
const res = await axios.get(PARKING_SIMSA_LIST_URL, { params });
|
|
|
|
if (res.success) {
|
|
|
|
if (res.success) {
|
|
|
|
res.data = res.data.map((d, idx) => ({ ...d, rowId: this.setRowId(params, idx) }));
|
|
|
|
res.data = res.data.map((d, idx) => ({ ...d, rowId: this.setRowId(params, idx) }));
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
@ -45,7 +45,7 @@ class OpstBizService {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
getSimsa680DetailList = async (params) => {
|
|
|
|
getSimsa680DetailList = async (params) => {
|
|
|
|
const res = await axios.get(SIMSA_DETAILS_LIST_URL, { params });
|
|
|
|
const res = await axios.get(PARKING_SIMSA_DETAILS_LIST_URL, { params });
|
|
|
|
if (res.success) {
|
|
|
|
if (res.success) {
|
|
|
|
res.data = res.data.map((d, idx) => ({ ...d, rowId: this.setRowId(params, idx) }));
|
|
|
|
res.data = res.data.map((d, idx) => ({ ...d, rowId: this.setRowId(params, idx) }));
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|