From 213534dd7fcc261d332421f4486601a63a8e94d5 Mon Sep 17 00:00:00 2001 From: zz <2510566342@qq.com> Date: Fri, 20 Sep 2024 21:50:19 +0800 Subject: [PATCH] =?UTF-8?q?9.20=20=20=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 2 +- src/api-services/api.ts | 1 + src/api-services/apis/sys-homepage-api.ts | 1727 +++++++++++++++++ src/assets/img/nxylogomini.png | Bin 0 -> 7021 bytes .../home/homepage/component/myEcharts.vue | 319 +++ src/views/home/homepage/index.vue | 713 ++++--- src/views/home/swapping/index.less | 10 +- 7 files changed, 2475 insertions(+), 297 deletions(-) create mode 100644 src/api-services/apis/sys-homepage-api.ts create mode 100644 src/assets/img/nxylogomini.png create mode 100644 src/views/home/homepage/component/myEcharts.vue diff --git a/public/config.js b/public/config.js index ef0a764..72938f1 100644 --- a/public/config.js +++ b/public/config.js @@ -4,5 +4,5 @@ window.__env__ = { "VITE_OPEN_CDN": "false", "VITE_PUBLIC_PATH": "", "VITE_SM_PUBLIC_KEY": "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312", - "VITE_API_URL": "http://192.168.2.7:5036" + "VITE_API_URL": "http://192.168.2.7:5034" } \ No newline at end of file diff --git a/src/api-services/api.ts b/src/api-services/api.ts index e4cdc53..401356c 100644 --- a/src/api-services/api.ts +++ b/src/api-services/api.ts @@ -74,4 +74,5 @@ export * from './apis/sys-battery-log-api'; export * from './apis/sys-equip-alarm-log-api'; export * from './apis/sys-equipinfo-api'; export * from './apis/sys-bty-mode-info-api'; +export * from './apis/sys-homepage-api'; diff --git a/src/api-services/apis/sys-homepage-api.ts b/src/api-services/apis/sys-homepage-api.ts new file mode 100644 index 0000000..3011341 --- /dev/null +++ b/src/api-services/apis/sys-homepage-api.ts @@ -0,0 +1,1727 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * 青拓 通用权限开发平台 + * 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。
👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任! + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +import globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; +import { Configuration } from '../configuration'; +// Some imports not used depending on template conditions +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; +import { AdminResultSysUser } from '../models'; +import { PageChargeMonitorInput } from '../models'; + +/** + * SysMonitorApi - axios parameter creator + * @export + */ + + +export const SysHomePageApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary 查询分页数据 🔖 + * @param {PageChargeMonitorInput} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiChargeChargePositionQueryPost: async (body?: PageChargeMonitorInput, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/ChargeMonitor/ChargePositionQuery`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || ""); + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 设置仓位禁用和启用 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiSetChargingBinStatusPost: async (binNo: string, status: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/ChargeMonitor/SetChargingBinStatus/{binNo}/{status}` + .replace(`{${"binNo"}}`, encodeURIComponent(String(binNo))) + .replace(`{${"status"}}`, encodeURIComponent(String(status))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 预约解锁锁定 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiSetBinInfoMakeAnAppointmentPost: async (binNo: string, amtlock: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/ChargeMonitor/BinInfoMakeAnAppointment/{binNo}/{amtlock}` + .replace(`{${"binNo"}}`, encodeURIComponent(String(binNo))) + .replace(`{${"amtlock"}}`, encodeURIComponent(String(amtlock))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 修改电池编号 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiSetUpdateBatteryNoPost: async (binNo: string, batteryNo: string, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/ChargeMonitor/UpdateBatteryNo/{binNo}/{batteryNo}` + .replace(`{${"binNo"}}`, encodeURIComponent(String(binNo))) + .replace(`{${"batteryNo"}}`, encodeURIComponent(String(batteryNo))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 设置仓位换电禁用启用 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiUpdateCanSwapFlagGet: async (id: number, flag: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/BinInfo/UpdateCanSwapFlag/{id}/{flag}` + .replace(`{${"id"}}`, encodeURIComponent(String(id))) + .replace(`{${"flag"}}`, encodeURIComponent(String(flag))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 设置仓位充电禁用启用 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiUpdateCanChargeFlagGet: async (id: number, flag: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/BinInfo/UpdateCanChargeFlag/{id}/{flag}` + .replace(`{${"id"}}`, encodeURIComponent(String(id))) + .replace(`{${"flag"}}`, encodeURIComponent(String(flag))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 设置充电机功率 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiSendPowerRegulationGet: async (code: string, power: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/Charge/SendPowerRegulation/{code}/{power}` + .replace(`{${"code"}}`, encodeURIComponent(String(code))) + .replace(`{${"power"}}`, encodeURIComponent(String(power))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary图表🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiGetHomePagelinePost: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/Home/GetDaySwapOrderCount`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 充电数据的展示 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiGetChargerInfoListGET: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/Home/GetMonthSwapOrderCount`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 设置电池移仓 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiSetBatteryRelocationPost: async (removeBinNo: number, putBinNo: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/ChargeMonitor/BatteryRelocation?removeBinNo={removeBinNo}&putBinNo={putBinNo}` + .replace(`{${"removeBinNo"}}`, encodeURIComponent(String(removeBinNo))) + .replace(`{${"putBinNo"}}`, encodeURIComponent(String(putBinNo))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 启动充电 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiSetStartChargeByBinNoGet: async (binNo: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/Charge/StartChargeByBinNo/{binNo}` + .replace(`{${"binNo"}}`, encodeURIComponent(String(binNo))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 停止充电 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiSetStopChargeByBinNoGet: async (binNo: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/Charge/StopChargeByBinNo/{binNo}` + .replace(`{${"binNo"}}`, encodeURIComponent(String(binNo))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 查询功率 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiSetBinInfoChargePowerGet: async (code: string, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/BinInfo/ChargePower/{code}` + .replace(`{${"code"}}`, encodeURIComponent(String(code))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 下发电价 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiDistributeElecPriceForChargeGet: async (ceid: number, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/Charge/DistributeElecPriceForCharge/{ceid}` + .replace(`{${"ceid"}}`, encodeURIComponent(String(ceid))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** +* +* @summary 下发鉴权 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + apiChargerSendAuthGet: async (code: string, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `api/Charge/DistributeElecPriceForCharge/{code}` + .replace(`{${"code"}}`, encodeURIComponent(String(code))) + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 获取首页电池信息数据 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiGetBattPerStatusCountGet: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/ChrgMonitor/GetBattPerStatusCount`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 获取首页电池统计值 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiBatteryStatusInfoGet: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/Charge/BatteryStatusInfo`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 获取充电大屏 仓位信息 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiGetChargMonitorChargBinData: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/Charge/GetChargMonitorChargBinData`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + /** + * + * @summary 获取充电大屏 充电次数 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiGetSwapAndChargingCountData: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/SwapMonitor/GetSwapAndChargingCount`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + + + /** + * + * @summary 获取七天电能统计 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiSevenDaysElectricalEnergyGet: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/api/Ammeter/SevenDaysElectrical`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + localVarHeaderParameter["Authorization"] = "Bearer " + accessToken; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + const query = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + query.set(key, localVarQueryParameter[key]); + } + for (const key in options.params) { + query.set(key, options.params[key]); + } + localVarUrlObj.search = (new URLSearchParams(query)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + } +} + +export const SysHomePageApiFp = function (configuration?: Configuration) { + return { + /** + * + * @summary 查询分页数据 🔖 + * @param {PageChargeMonitorInput} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiChargeChargePositionQueryPost(body?: PageChargeMonitorInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiChargeChargePositionQueryPost(body, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 设置仓位禁用和启用 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSetChargingBinStatusPost(binNo: string, status: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetChargingBinStatusPost(binNo, status, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 设置预约解锁锁定 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSetBinInfoMakeAnAppointmentPost(binNo: string, amtlock: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetBinInfoMakeAnAppointmentPost(binNo, amtlock, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 修改电池编号 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSetUpdateBatteryNoPost(binNo: string, batteryNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetUpdateBatteryNoPost(binNo, batteryNo, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 设置仓位换电禁用和启用 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiUpdateCanSwapFlagGet(id: number, flag: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiUpdateCanSwapFlagGet(id, flag, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 设置仓位充电禁用和启用 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiUpdateCanChargeFlagGet(id: number, flag: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiUpdateCanChargeFlagGet(id, flag, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 设置充电机功率 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSendPowerRegulationGet(code: string, power: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSendPowerRegulationGet(code, power, options); + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + + /** + * + * @summary图表🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetHomePagelinePost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetHomePagelinePost(options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** + * + * @summary 充电数据的展示 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetChargerInfoListGET(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetChargerInfoListGET(options); + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 设置电池移仓 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSetBatteryRelocationPost(removeBinNo: number, putBinNo: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetBatteryRelocationPost(removeBinNo, putBinNo, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 启动充电 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSetStartChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetStartChargeByBinNoGet(binNo, options); + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 停止充电 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSetStopChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetStopChargeByBinNoGet(binNo, options); + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 查询功率 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiSetBinInfoChargePowerGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetBinInfoChargePowerGet(code, options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 下发电价 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiDistributeElecPriceForChargeGet(ceid: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiDistributeElecPriceForChargeGet(ceid, options); + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** +* +* @summary 下发鉴权 🔖 +* @param {*} [options] Override http request option. +* @throws {RequiredError} +*/ + async apiChargerSendAuthGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiChargerSendAuthGet(code, options); + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** + * + * @summary 获取首页电池信息数据 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetBattPerStatusCountGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetBattPerStatusCountGet(options); + + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** + * + * @summary 获取首页电池统计值 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiBatteryStatusInfoGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiBatteryStatusInfoGet(options); + + const second_url = 'http://192.168.2.7:5034' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** + * + * @summary 获取充电大屏 仓位信息 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetChargMonitorChargBinData(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetChargMonitorChargBinData(options); + + const second_url = 'http://192.168.2.7:5035' + + return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** + * + * @summary 获取充电大屏 充电次数 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetSwapAndChargingCountData(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetSwapAndChargingCountData(options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + /** + * + * @summary 获取七天电能统计 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSevenDaysElectricalEnergyGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { + const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSevenDaysElectricalEnergyGet(options); + + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url }; + return axios.request(axiosRequestArgs); + }; + }, + + } +} + +export const SysHomePageApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * + * @summary 查询分页数据 🔖 + * @param {PageChargeMonitorInput} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiChargeChargePositionQueryPost(body?: PageChargeMonitorInput, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiChargeChargePositionQueryPost(body, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 设置仓位禁用和启用 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSetChargingBinStatusPost(binNo: string, status: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSetChargingBinStatusPost(binNo, status, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 设置预约解锁锁定 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSetBinInfoMakeAnAppointmentPost(binNo: string, amtlock: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSetBinInfoMakeAnAppointmentPost(binNo, amtlock, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 编辑电池编号 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSetUpdateBatteryNoPost(binNo: string, batteryNo: string, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSetUpdateBatteryNoPost(binNo, batteryNo, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 设置仓位换电禁用和启用 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiUpdateCanSwapFlagGet(id: number, flag: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiUpdateCanSwapFlagGet(id, flag, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 设置仓位充电禁用和启用 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiUpdateCanChargeFlagGet(id: number, flag: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiUpdateCanChargeFlagGet(id, flag, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 设置充电机功率 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSendPowerRegulationGet(code: string, power: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSendPowerRegulationGet(code, power, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary图表🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetHomePagelinePost(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiGetHomePagelinePost(options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 充电数据的展示 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetChargerInfoListGET(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiGetChargerInfoListGET(options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 设置电池移仓 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSetBatteryRelocationPost(removeBinNo: number, putBinNo: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSetBatteryRelocationPost(removeBinNo, putBinNo, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 启动充电 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSetStartChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSetStartChargeByBinNoGet(binNo, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 停止充电 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSetStopChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSetStopChargeByBinNoGet(binNo, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 查询功率 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSetBinInfoChargePowerGet(code: string, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSetBinInfoChargePowerGet(code, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 下发电价 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiDistributeElecPriceForChargeGet(ceid: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiDistributeElecPriceForChargeGet(ceid, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 下发鉴权 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiChargerSendAuthGet(code: string, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiChargerSendAuthGet(code, options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 获取首页电池信息数据 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetBattPerStatusCountGet(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiGetBattPerStatusCountGet(options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 获取首页电池统计值 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiBatteryStatusInfoGet(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiBatteryStatusInfoGet(options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 获取充电大屏 仓位信息 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetChargMonitorChargBinData(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiGetChargMonitorChargBinData(options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 获取充电大屏 充电次数 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiGetSwapAndChargingCountData(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiGetSwapAndChargingCountData(options).then((request) => request(axios, basePath)); + }, + + /** + * + * @summary 获取七天电能统计 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiSevenDaysElectricalEnergyGet(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(configuration).apiSevenDaysElectricalEnergyGet(options).then((request) => request(axios, basePath)); + }, + } +} + + +/** + * - object-oriented interface + * @export + * @class SysUserApi + * @extends {BaseAPI} + */ + + +export class SysHomePageApi extends BaseAPI { + /** + * + * @summary 查询分页数据 🔖 + * @param {PageChargeMonitorInput} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiChargeChargePositionQueryPost(body: PageChargeMonitorInput, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiChargeChargePositionQueryPost(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 设置仓位禁用和启用 🔖 // 接口后面直接跟参数 + * @param {string} binNo + * @param {number} status + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSetChargingBinStatusPost(binNo: string, status: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSetChargingBinStatusPost(binNo, status, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 设置预约锁定解锁 🔖 // 接口后面直接跟参数 + * @param {string} binNo + * @param {number} amtlock + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSetBinInfoMakeAnAppointmentPost(binNo: string, amtlock: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSetBinInfoMakeAnAppointmentPost(binNo, amtlock, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 编辑电池编号 🔖 // 接口后面直接跟参数 + * @param {string} binNo + * @param {string} batteryNo + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSetUpdateBatteryNoPost(binNo: string, batteryNo: string, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSetUpdateBatteryNoPost(binNo, batteryNo, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 设置仓位换电禁用和启用 🔖 // 接口后面直接跟参数 + * @param {number} id + * @param {number} flag + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiUpdateCanSwapFlagGet(id: number, flag: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiUpdateCanSwapFlagGet(id, flag, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 设置仓位充电禁用和启用 🔖 // 接口后面直接跟参数 + * @param {number} id + * @param {number} flag + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiUpdateCanChargeFlagGet(id: number, flag: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiUpdateCanChargeFlagGet(id, flag, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 设置充电机功率 🔖 // 接口后面直接跟参数 + * @param {string} code + * @param {number} power + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSendPowerRegulationGet(code: string, power: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSendPowerRegulationGet(code, power, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary图表🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiGetHomePagelinePost(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiGetHomePagelinePost(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 充电数据的展示 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiGetChargerInfoListGET(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiGetChargerInfoListGET(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 设置电池移仓 + * @param {number} removeBinNo + * @param {number} putBinNo + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSetBatteryRelocationPost(removeBinNo: number, putBinNo: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSetBatteryRelocationPost(removeBinNo, putBinNo, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 启动充电 + * @param {number} binNo + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSetStartChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSetStartChargeByBinNoGet(binNo, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 停止充电 + * @param {number} binNo + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSetStopChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSetStopChargeByBinNoGet(binNo, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 查询功率 + * @param {string} code + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiSetBinInfoChargePowerGet(code: string, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSetBinInfoChargePowerGet(code, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 下发电价 + * @param {number} ceid + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiDistributeElecPriceForChargeGet(ceid: number, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiDistributeElecPriceForChargeGet(ceid, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 下发鉴权 + * @param {string} ceid + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysMonitorApi + */ + public async apiChargerSendAuthGet(code: string, options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiChargerSendAuthGet(code, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 获取首页电池信息数据 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiGetBattPerStatusCountGet(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiGetBattPerStatusCountGet(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 获取首页电池统计值 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiBatteryStatusInfoGet(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiBatteryStatusInfoGet(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 获取充电大屏 仓位信息 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiGetChargMonitorChargBinData(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiGetChargMonitorChargBinData(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 获取充电大屏 充电次数 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiGetSwapAndChargingCountData(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiGetSwapAndChargingCountData(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary 获取七天电能统计 🔖 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SysHomePageApi + */ + public async apiSevenDaysElectricalEnergyGet(options?: AxiosRequestConfig): Promise> { + return SysHomePageApiFp(this.configuration).apiSevenDaysElectricalEnergyGet(options).then((request) => request(this.axios, this.basePath)); + } + +} + diff --git a/src/assets/img/nxylogomini.png b/src/assets/img/nxylogomini.png new file mode 100644 index 0000000000000000000000000000000000000000..16fa9a3bf797fcc22c1eeb3130d308409bc2ff2c GIT binary patch literal 7021 zcmV-z8eh4bY)!^&fNe28v;p0K~#90?Vag& z6i1T4GwSH-Tdn)P(ZMN!EiMBF3^v$|?eVcQ<5};#w}04v*nRVMXU4O$KJa+JfCnrv zr!5cyp$pv?y87;}Blbf>tJG?>s;jdKN!0I))Rk3P*y0^)CUd#pj)9u61op7VLG90x&HVhs*PuEtxO^ zQI6dm_$C}%R3A+HfV7lW6tuQf99BOmE_sop#8N9lOq`nhM`P*3u^(85FUhO7WP&b| z9KSR0Wgzk_<#^f$q@`3*q?99u=n#nV{gI1v{xNF`LlH?9?+u<`Ee&)rN~uJYyN178 z3eQ+FK?PZnx<@W8h9`}_k%6-e8O5K6z74G$?JRVlpz?6!hZ+B%3HM401R6nH3f~?0 zIvNj}@J+TVi1>Ky$H~QBL!Qv8+dUTujuq^@+lcQIiTm#jej~|oBP!qWAmY=RpU3AP zrh9f2$a9vY97zg~Z|bHIKb_s?*;jwA zvY<6(0`mOv1AxFg+iFj5E8WjBT)G-^V%9%2ICak;G2fCPVkGYGdiovGmIff;bCvIJ z{IJMdvwAuTDGvz|=K^D0Prs8}KB=;rLSGqxK(p z-O_Sj^N#A{YrXcV0|WpRda4e${MOFVS1GzjuNXaz-Wn*VbdO$1N&`h&%8%@-c`L&p zkVazw0K3h7sO2{W?kc*iL6o~kE{Rf!rUFiU%q$pY72d$y){cjg{Cb;wX7 z$>O82tBDB@l_4W>pv2qMR(IOufddg`MG8je!?8t0k=H$6u(>?;LV5m-C@2oz~G5p9}cjj8M0cQLIlMA(Gu6`ln^x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w=pL_wu<+7Mc!@A9yM6Bghud?n^K$N4opcHW05tF1*LL8De~M@iJl>YVc3qNr}iFx(~^db0{|43mY@0fb6;*t9$5=SUO~~BPd;yG-E9pM8xXtG z_4bFKZExSNyN2hlIHn6Y$5nCc+uJ*K?K@<33>z7SW%qQvQC?Mhj(tT^X&(ZH?;1u4APqshG807cb8VyUcY=^see>>)!!Ebi5{0b_02G&39zXZ-NPq8xJJ-{kkmx<4k#IQR&o3^uMBx2K3$v8k~plNKwm1j1qkmOxmnz!C_H6<7jcv4Z~xmJS&DVK35$00000 LNkvXXu0mjfQ`DF6 literal 0 HcmV?d00001 diff --git a/src/views/home/homepage/component/myEcharts.vue b/src/views/home/homepage/component/myEcharts.vue new file mode 100644 index 0000000..6a4c07b --- /dev/null +++ b/src/views/home/homepage/component/myEcharts.vue @@ -0,0 +1,319 @@ + + + + diff --git a/src/views/home/homepage/index.vue b/src/views/home/homepage/index.vue index 6606a24..4aea9e4 100644 --- a/src/views/home/homepage/index.vue +++ b/src/views/home/homepage/index.vue @@ -1,321 +1,446 @@ + +@import url('./index.less'); +:deep(.el-dialog__title) { + font-size: 12px; + color: #fff; +} +:deep(.el-loading-spinner) { + top: 30%; +} +.el-card { + margin-left: 5px; +} +:deep(.my-label) { + background: var(--el-color-success-light-9) !important; +} +:deep(.my-content) { + background: var(--el-color-danger-light-9); +} +:deep(.el-step__icon-inner) { + font-size: 19px !important; +} +// zz +.mini_title { + color: #fff; + font-size: large; + margin-left: 10px; +} +// +.swapper_order { + height: 250px; + margin-top: 30px; + // height: calc(100% - 45px); + color: #fff; + // display: flex; + flex-direction: column; + > div { + margin-top: 30px; + > div { + margin-left: 20px; + } + } + // >div { + // width: 100%; + // flex: 1; + // margin-top: 10px; + // display: flex; + // flex-direction: column; + // justify-content: space-evenly; + // align-items: flex-start; + + // span:last-child { + // color: #fff; + // font-size: 14px; + // font-weight: 600; + // } + // } +} +.swapper_order1 { + height: calc(100vh - 755px); + margin-top: 30px; + + color: #fff; + // display: flex; + flex-direction: column; + > div { + margin-top: 30px; + > div { + margin-left: 20px; + } + } + +} +// +.tops_title { + color: #fff; + display: flex; + justify-content: center; + align-items: center; + line-height: 35px; + border: 1px solid #fff; + box-sizing: border-box; + + span { + // flex: 1; + width: 11.11%; + text-align: center; + // border: 1px solid #fff; + // border-top: 1px solid #fff; + border-right: 1px solid #fff; + box-sizing: border-box; + } +} +.eq_box_table { + height: calc(100% - 35px); + display: flex; + color: #fff; + .left_titles { + width: 11.2%; + // height: 100%; + display: flex; + flex-direction: column; + // border-left: 1px solid #fff; + // border-right: 1px solid #fff; + // box-sizing: border-box; + > div { + display: flex; + justify-content: center; + align-items: center; + border: 1px solid #fff; + border-top: unset; + box-sizing: border-box; + } + } + .main_content { + flex: 1; + height: 100%; + display: flex; + flex-direction: column; + > div { + color: #fff; + display: flex; + height: 11.11%; + border: 1px solid #fff; + border-bottom: 1px solid #fff; + box-sizing: border-box; + + span { + color: #fff; + flex: 1; + display: flex; + justify-content: center; + align-items: center; + + border-left: 1px solid #fff; + box-sizing: border-box; + } + span:last-child { + border-right: 1px solid #fff; + } + span:first-child { + border-left: unset; + } + } + } +} + \ No newline at end of file diff --git a/src/views/home/swapping/index.less b/src/views/home/swapping/index.less index df33cac..66103ba 100644 --- a/src/views/home/swapping/index.less +++ b/src/views/home/swapping/index.less @@ -4,7 +4,13 @@ box-sizing: border-box; padding: 10px; } - +.contents{ + height: calc(100vh - 90px); + // padding: 10px 0; + box-sizing: border-box; + padding: 10px; + color: white; +} .title_header { background: #28353f; height: 120px; @@ -74,7 +80,7 @@ .bot_maininfo { - height: calc(100% - 340px); + height: 100%; margin-top: 10px; .el-col {