4.18 上午第一次提交

main
zz 7 months ago
parent 8b906269fc
commit 09ef384736

File diff suppressed because it is too large Load Diff

@ -7,6 +7,7 @@
<span>Charging date monItoring screen</span>
</div>
</div>
<div><router-link to="charge_battery/battery_details">详情</router-link></div>
<!-- -->
<div class="bot_main">
<div v-for="(item, index) in cont_list" :key="index">

@ -495,6 +495,19 @@ const routerMap = {
component: () => import('@/pages/charge_battery/battery_maintain_log/index')
},
// zz
battery_details: {
path: 'battery_details',
name: '详情展示',
meta: {
authority: {
permission: 'battery_details'
}
},
component: () => import('@/pages/battery_details/index')
},
fault_log: {
name: '故障日志',

@ -20,8 +20,14 @@ module.exports = {
WriteColdTemperature: `${second_url}/HeatMonitor/WriteColdTemperature`, // 写入制冷温度
WriteHotTemperature: `${second_url}/HeatMonitor/WriteHotTemperature`, // 写入制冷温度
WriteWorkModelNo: `${second_url}/HeatMonitor/WriteWorkModelNo`, // 写入制冷温度
// zzz
Battery_Details: `${BASE_URL}/TBsBatteryPackStatus`,
Battery_Alarm_One: `${BASE_URL}/TFlRealAlarmOne`,
Battery_Alarm_Two: `${BASE_URL}/TFlRealAlarmTwo`,
Relay_status: `${BASE_URL}/TBsRelayStatus`,
Charge_discharge_current: `${BASE_URL}/TCdChargeDischargeCurrent`,
Running_State: `${BASE_URL}/TBsRunningState`,
GetBattPerStatusCount: `${BASE_URL}/SwapMonitor/GetBattPerStatusCount`, // 换电大屏数据
GetPLCSwapParamsValue: `${BASE_URL}/SwapMonitor/GetPLCSwapParamsValue`, // GetPLCSwapParamsValue

@ -0,0 +1,56 @@
import { Battery_Details,Battery_Alarm_One,Battery_Alarm_Two,Relay_status,Charge_discharge_current,Running_State} from '@/services/api'
import { request, METHOD, } from '@/utils/request'
// export async function index (data) {
// return request(Battery_Maintain_Log, METHOD.GET, data)
// }
export async function index (data) {
return request( Battery_Details, METHOD.GET, data)
}
export async function alarmone (data) {
return request( Battery_Alarm_One, METHOD.GET, data)
}
export async function alarmtwo (data) {
return request( Battery_Alarm_Two, METHOD.GET, data)
}
export async function Relaystatus (data) {
return request( Relay_status, METHOD.GET, data)
}
export async function Chargedischargecurrent (data) {
return request( Charge_discharge_current, METHOD.GET, data)
}
export async function Runningstate (data) {
return request( Running_State, METHOD.GET, data)
}
// export async function store (data) {
// return request(Battery_Maintain_Log, METHOD.POST, data)
// }
// export async function update (data) {
// return request(Battery_Maintain_Log, METHOD.PUT, data)
// }
// export async function destroy (id) {
// return request(Battery_Maintain_Log + '/' + id, METHOD.DELETE)
// }
// export async function batchDelete (data) {
// return request(Battery_Maintain_Log + '/BatchDelete', METHOD.POST, data)
// }
export default {
index,
alarmone,
alarmtwo,
Relaystatus,
Chargedischargecurrent,
Runningstate,
// store,
// update,
// destroy,
// batchDelete
}
Loading…
Cancel
Save