故障修改,直流电国际化 7.19

main
zz 4 months ago
parent 1929f2e128
commit 7228fadab0

@ -156,6 +156,7 @@ export default {
Processing_time: "Processing time", Processing_time: "Processing time",
The_device_has_been_processed_failure_log_table: "The device has been processed failure log table.xlsx", The_device_has_been_processed_failure_log_table: "The device has been processed failure log table.xlsx",
Device_unprocessed_fault_log_table: "Device unprocessed fault log table.xlsx", Device_unprocessed_fault_log_table: "Device unprocessed fault log table.xlsx",
tip:"Tip: Level 1: affect the electricity change Level 2: continue to change electricity after treatment Level 3: do not affect the electricity change",
}, },
emeter_total_energy_value: { emeter_total_energy_value: {

@ -155,7 +155,7 @@ export default {
Processing_time: "处理时间", Processing_time: "处理时间",
The_device_has_been_processed_failure_log_table: "设备已处理故障日志表.xlsx", The_device_has_been_processed_failure_log_table: "设备已处理故障日志表.xlsx",
Device_unprocessed_fault_log_table: "设备未处理故障日志表.xlsx", Device_unprocessed_fault_log_table: "设备未处理故障日志表.xlsx",
tip:"提示:一级:影响换电 二级:处理后继续换电 三级:不影响换电",
}, },
emeter_total_energy_value: { emeter_total_energy_value: {

@ -2,8 +2,8 @@
<div> <div>
<el-card shadow="hover" :body-style="{ paddingBottom: '0' }"> <el-card shadow="hover" :body-style="{ paddingBottom: '0' }">
<el-form :model="endTime" ref="queryForm" :inline="true"> <el-form :model="endTime" ref="queryForm" :inline="true">
<el-form-item label="$t('message.direct_current.Date')"> <el-form-item :label="$t('message.direct_current.Date')">
<el-date-picker v-model="endTime" type="date" clearable placeholder="$t('message.direct_current.Date')" format="YYYY-MM-DD" value-format="YYYY-MM-DD" :size="size" /> <el-date-picker v-model="endTime" type="date" clearable :placeholder="$t('message.direct_current.Date')" format="YYYY-MM-DD" value-format="YYYY-MM-DD" :size="size" />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="ele-Search" @click="handleQuery"> {{$t('message.direct_current.Querying')}} </el-button> <el-button type="primary" icon="ele-Search" @click="handleQuery"> {{$t('message.direct_current.Querying')}} </el-button>

@ -5,6 +5,16 @@
<el-form-item> <el-form-item>
<label class="label"> {{$t('message.un_repair_info.Device_code')}}</label> <label class="label"> {{$t('message.un_repair_info.Device_code')}}</label>
<el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable /> <el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
</el-form-item>
<el-form-item>
<label class="label"> {{$t('message.un_repair_info.Alarm_level')}}</label>
<el-input v-model="state.queryParams.errorLevel" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
</el-form-item>
<el-form-item>
<label class="label"> {{$t('message.un_repair_info.Start_time')}}</label>
<el-date-picker v-model="state.queryParams.startTime" type="datetime" :placeholder="$t('message.un_repair_info.Please_enter')" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" />
<!-- <el-input v-model="state.queryParams.startTime" :placeholder="$t('message.un_repair_info.Please_enter')" clearable /> -->
</el-form-item> </el-form-item>
<!-- <el-form-item :label="$t('message.un_repair_info.Device_code')"> <!-- <el-form-item :label="$t('message.un_repair_info.Device_code')">
<el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable /> <el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
@ -75,6 +85,8 @@ const state = reactive({
tenantData: [], tenantData: [],
queryParams: { queryParams: {
equipCode: undefined, equipCode: undefined,
errorLevel:undefined,
startTime:undefined,
}, },
tableParams: { tableParams: {
pageNum: 1, pageNum: 1,
@ -102,7 +114,9 @@ const handleQuery = async () => {
// //
const resetQuery = () => { const resetQuery = () => {
state.queryParams.equipCode = undefined; state.queryParams.equipCode = undefined;
(state.queryParams.equipCode = undefined), handleQuery(); state.queryParams.errorLevel = undefined;
state.queryParams.startTime = undefined;
(state.queryParams.equipCode = undefined,state.queryParams.errorLevel = undefined,state.queryParams.startTime = undefined), handleQuery();
}; };
const handleExport = async () => { const handleExport = async () => {

@ -1,10 +1,24 @@
<template> <template>
<div class="sys-tenant-container"> <div class="sys-tenant-container">
<div style="max-width: 100%;font-size: large;">
<el-alert :title="$t('message.un_repair_info.tip')" type="error" :closable="false" />
</div>
<el-card shadow="hover" :body-style="{ paddingBottom: '0' }"> <el-card shadow="hover" :body-style="{ paddingBottom: '0' }">
<el-form :model="state.queryParams" ref="queryForm" :inline="true"> <el-form :model="state.queryParams" ref="queryForm" :inline="true">
<el-form-item> <el-form-item>
<label class="label"> {{$t('message.un_repair_info.Device_code')}}</label> <label class="label"> {{$t('message.un_repair_info.Device_code')}}</label>
<el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable /> <el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
</el-form-item>
<el-form-item>
<label class="label"> {{$t('message.un_repair_info.Alarm_level')}}</label>
<el-input v-model="state.queryParams.errorLevel" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
</el-form-item>
<el-form-item>
<label class="label"> {{$t('message.un_repair_info.Start_time')}}</label>
<el-date-picker v-model="state.queryParams.startTime" type="datetime" :placeholder="$t('message.un_repair_info.Please_enter')" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" />
<!-- <el-input v-model="state.queryParams.startTime" :placeholder="$t('message.un_repair_info.Please_enter')" clearable /> -->
</el-form-item> </el-form-item>
<!-- <el-form-item :label="$t('message.un_repair_info.Device_code')"> <!-- <el-form-item :label="$t('message.un_repair_info.Device_code')">
<el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable /> <el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
@ -74,6 +88,8 @@ const state = reactive({
tenantData: [], tenantData: [],
queryParams: { queryParams: {
equipCode: undefined, equipCode: undefined,
errorLevel:undefined,
startTime:undefined,
}, },
tableParams: { tableParams: {
pageNum: 1, pageNum: 1,
@ -90,7 +106,7 @@ onMounted(async () => {
// //
const handleQuery = async () => { const handleQuery = async () => {
state.loading = true; state.loading = true;
let params = Object.assign(state.queryParams, state.tableParams); let params = Object.assign(state.queryParams,state.tableParams);
var res = await getAPI(SysEquipAlarmLogApi).apiQueryEquipAlarmPagePost(params); var res = await getAPI(SysEquipAlarmLogApi).apiQueryEquipAlarmPagePost(params);
state.tenantData = res.data.data?.rows ?? []; state.tenantData = res.data.data?.rows ?? [];
state.toTal = res.data.data?.toTal; state.toTal = res.data.data?.toTal;
@ -100,7 +116,9 @@ const handleQuery = async () => {
// //
const resetQuery = () => { const resetQuery = () => {
state.queryParams.equipCode = undefined; state.queryParams.equipCode = undefined;
(state.queryParams.equipCode = undefined), handleQuery(); state.queryParams.errorLevel = undefined;
state.queryParams.startTime = undefined;
(state.queryParams.equipCode = undefined,state.queryParams.errorLevel = undefined,state.queryParams.startTime = undefined), handleQuery();
}; };
const handleExport = async () => { const handleExport = async () => {

@ -118,7 +118,7 @@
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item command="a" v-if="item.chargeStatus != 1">{{ $t('message.charging.startCharging') }}</el-dropdown-item> <el-dropdown-item command="a" v-if="item.chargeStatus != 1">{{ $t('message.charging.startCharging') }}</el-dropdown-item>
<el-dropdown-item command="b" v-if="item.chargeStatus != 1">{{ $t('message.charging.setPower') }}</el-dropdown-item> <!-- <el-dropdown-item command="b" v-if="item.chargeStatus != 1">{{ $t('message.charging.setPower') }}</el-dropdown-item> -->
<el-dropdown-item command="c">{{ $t('message.charging.stopCharging') }}</el-dropdown-item> <el-dropdown-item command="c">{{ $t('message.charging.stopCharging') }}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</template> </template>
@ -197,7 +197,7 @@
<span>{{ item.chargingInterfaceDetectionTwoTemp }} (°c)</span> <span>{{ item.chargingInterfaceDetectionTwoTemp }} (°c)</span>
</div> </div>
<div> <!-- <div>
<span>{{ $t('message.charging.chargingPort3Temperature') }}:</span> <span>{{ $t('message.charging.chargingPort3Temperature') }}:</span>
<span>{{ item.chargingInterfaceDetectionTheTemp }} (°c)</span> <span>{{ item.chargingInterfaceDetectionTheTemp }} (°c)</span>
@ -206,7 +206,7 @@
<span>{{ $t('message.charging.chargingPort4Temperature') }}:</span> <span>{{ $t('message.charging.chargingPort4Temperature') }}:</span>
<span>{{ item.chargingInterfaceDetectionFourTemp }} (°c)</span> <span>{{ item.chargingInterfaceDetectionFourTemp }} (°c)</span>
</div> </div> -->
<div> <div>
<span> {{ $t('message.charging.power') }}:</span> <span> {{ $t('message.charging.power') }}:</span>
<span> {{ (item.power / 1000).toFixed(2) }} (KW) </span> <span> {{ (item.power / 1000).toFixed(2) }} (KW) </span>

@ -81,7 +81,8 @@
</template> </template>
</el-popconfirm> </el-popconfirm>
</el-card> </el-card>
<el-card> <!--zz 远程本地按钮 -->
<!-- <el-card>
<el-popconfirm :title="$t('message.swapping.isset_lcoal_bat_swp')" @confirm="handlelocalset(1)"> <el-popconfirm :title="$t('message.swapping.isset_lcoal_bat_swp')" @confirm="handlelocalset(1)">
<template #reference> <template #reference>
<el-button class="btn_swap" :disabled="issetstatus_loc_re == 1">{{ $t('message.swapping.local_bat_swp') }}</el-button> <el-button class="btn_swap" :disabled="issetstatus_loc_re == 1">{{ $t('message.swapping.local_bat_swp') }}</el-button>
@ -92,7 +93,7 @@
<el-button class="btn_swap" :disabled="issetstatus_loc_re == 2">{{ $t('message.swapping.remote_swp') }}</el-button> <el-button class="btn_swap" :disabled="issetstatus_loc_re == 2">{{ $t('message.swapping.remote_swp') }}</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>
</el-card> </el-card> -->
</div> </div>
</div> </div>
</div> </div>
@ -180,16 +181,27 @@
</div> </div>
<div class="bleth_status"> <div class="bleth_status">
<div> <div>
<div class="content_status"> <!-- zz隐藏 -->
<!-- <div class="content_status">
<span>{{$t('message.swapping.Cloud_Connection_Status')}}</span> <span>{{$t('message.swapping.Cloud_Connection_Status')}}</span>
<div class="public_flex"> <div class="public_flex">
<span :class="cloudIsConnected ? 'blue_tooth_class' : ''">{{$t('message.swapping.connect')}}</span> <span :class="cloudIsConnected ? 'blue_tooth_class' : ''">{{$t('message.swapping.connect')}}</span>
<span :class="cloudIsConnected == false ? 'blue_tooth_class' : ''">{{$t('message.swapping.to_break_off')}}</span> <span :class="cloudIsConnected == false ? 'blue_tooth_class' : ''">{{$t('message.swapping.to_break_off')}}</span>
</div> </div>
</div> -->
<div class="content_status" style="flex: 1">
<span>{{$t('message.system_base_config.Business_status')}}</span>
<div class="public_flex fouth_south">
<span :class="go_status == '1' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.In_operation')}}</span>
<span :class="go_status == '3' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.maintenance_status')}}</span>
<span :class="go_status == '2' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.close_business')}}</span>
<span :class="go_status == '4' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.Suspension')}}</span>
</div>
</div> </div>
</div> </div>
<div> <div>
<div class="content_status" style="flex: 1"> <!-- zz放上面了 -->
<!-- <div class="content_status" style="flex: 1">
<span>{{$t('message.system_base_config.Business_status')}}</span> <span>{{$t('message.system_base_config.Business_status')}}</span>
<div class="public_flex fouth_south"> <div class="public_flex fouth_south">
<span :class="go_status == '1' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.In_operation')}}</span> <span :class="go_status == '1' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.In_operation')}}</span>
@ -197,7 +209,7 @@
<span :class="go_status == '2' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.close_business')}}</span> <span :class="go_status == '2' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.close_business')}}</span>
<span :class="go_status == '4' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.Suspension')}}</span> <span :class="go_status == '4' ? 'blue_tooth_class' : ''">{{$t('message.system_base_config.Suspension')}}</span>
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
@ -247,8 +259,8 @@
<span>{{ batteryInfo.usingSwapBatteryCount }}</span> <span>{{ batteryInfo.usingSwapBatteryCount }}</span>
</div> </div>
</div> </div>
<!-- zz站外灯 -->
<div class="batter_nums"> <!-- <div class="batter_nums">
<div> <div>
<span>{{$t('message.swapping.Outside_station_lights')}}</span> <span>{{$t('message.swapping.Outside_station_lights')}}</span>
<div class="power_three public_flex"> <div class="power_three public_flex">
@ -270,7 +282,7 @@
</div> </div>
</div> </div>
<div></div> <div></div>
</div> </div> -->
</div> </div>
<div class="step_status public_flex"> <div class="step_status public_flex">
<div class="over_dis public_flex" id="over_dis"> <div class="over_dis public_flex" id="over_dis">

@ -107,7 +107,7 @@ const state = reactive({
// password: '123456', // password: '123456',
// code: '', // code: '',
// codeId: 0, // codeId: 0,
account: 'huanneng', account: 'nengyixing',
password: '123456', password: '123456',
}, },
rules: { rules: {

Loading…
Cancel
Save