123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- import request from '@/utils/request'
- import bmsRequest from '@/utils/bmsRequest'
- // 充电站 - 新增
- export function apiAddChargerGroup(data) {
- return request({
- url: '?r=chrpannel-group/add',
- method: 'post',
- data
- })
- }
- // 充电站 - 列表
- export function apiQueryChargerGroupList(data) {
- return request({
- url: '?r=chrpannel-group/list',
- method: 'post',
- data
- })
- }
- // 充电站 - 基本信息
- export function apiQueryChargerGroupInfo(data) {
- return request({
- url: '?r=chrpannel-group/info',
- method: 'post',
- data
- })
- }
- // 充电站 - 编辑
- export function apiChargerGroupEdit(data) {
- return request({
- url: '?r=chrpannel-group/edit',
- method: 'post',
- data
- })
- }
- // 充电站 - 详情
- export function apiQueryChargerGroupDetail(data) {
- return request({
- url: '?r=chrpannel-group/detail',
- method: 'post',
- data
- })
- }
- // 充电桩:批量禁用/启用端口
- export function apiBatchOperatePort(data) {
- return request({
- url: '?r=chrpannel/batch-operate-port',
- method: 'post',
- data
- })
- }
- // 充电桩列表
- export function apiQueryChargerPilesList(params) {
- return request({
- url: '?r=chrpannel/list',
- method: 'get',
- params
- })
- }
- // 充电桩详情
- export function apiQueryChargerPilesDtl(data) {
- return request({
- url: '?r=chrpannel/detail',
- method: 'post',
- data
- })
- }
- // 新增充电桩
- export function apiAddChargerPiles(data) {
- return request({
- url: '?r=chrpannel/add',
- method: 'post',
- data
- })
- }
- // 编辑充电桩
- export function apiEditChargerPiles(data) {
- return request({
- url: '?r=chrpannel/edit',
- method: 'post',
- data
- })
- }
- // 充电桩基本信息
- export function apiQueryChargingPiles(data) {
- return request({
- url: '?r=chrpannel/info',
- method: 'post',
- data
- })
- }
- // 设备类型
- export function apiQueryDeviceTypes(data) {
- return request({
- url: '?r=chrpannel/third-device-type-list',
- method: 'post',
- data
- })
- }
- // 设备类型
- export function apiQuerySimTypeList(data) {
- return bmsRequest({
- url: '/sim/sim-type-list',
- method: 'get',
- data
- })
- }
- // 批量重启充电桩
- export function apiBatchRestart(data) {
- return request({
- url: '?r=chrpannel/batch-restart',
- method: 'post',
- data
- })
- }
- // 充电站 - 刷新搜索充电桩数据
- export function apiSearchRefreshChargerGroup(data) {
- return request({
- url: '?r=chrpannel-group/search-refresh-chrpannel',
- method: 'post',
- data
- })
- }
- // 充电桩批量转移
- export function apiBatchChrpannelTransfer(data) {
- return request({
- url: '?r=chrpannel/transfer',
- method: 'post',
- data
- })
- }
- // 根据id集合查询列表
- export function apiQueryChrpannelBydevId(data) {
- return request({
- url: '?r=chrpannel/list-by-dev-id-list',
- method: 'post',
- data
- })
- }
- // 刷新二维码
- export function apiRefreshQrCode(data) {
- return request({
- url: '?r=chrpannel/refresh-common-code',
- method: 'post',
- data
- })
- }
|