update 后管第三方平台推送页面

This commit is contained in:
Lemon
2024-09-27 10:25:37 +08:00
parent 76753037b7
commit 18d5aa02b4
2 changed files with 31 additions and 10 deletions

View File

@@ -104,7 +104,7 @@
<el-col :span="24">
<el-card class="box-card" style="margin: 0 20px;" shadow="hover">
<div slot="header" class="clearfix">
<span>推送充电站信息变化</span>
<span style="font-weight: bold">推送充电站信息变化notification_stationInfo</span>
<el-button style="float: right; padding: 3px 0" type="text"
@click="clickNotificationStationInfo">推送</el-button>
</div>
@@ -119,7 +119,7 @@
<el-col :span="24">
<el-card class="box-card" style="margin: 20px 20px 0 20px;" shadow="hover">
<div slot="header" class="clearfix">
<span>推送设备状态</span>
<span style="font-weight: bold">推送设备状态notification_stationStatus</span>
<el-button style="float: right; padding: 3px 0" type="text"
@click="clickNotificationStationStatus">推送</el-button>
</div>
@@ -128,7 +128,16 @@
<el-input v-model="notificationForm.pileConnectorCode"></el-input>
</el-form-item>
<el-form-item label="枪口状态" class="getCard">
<el-input v-model="notificationForm.connectorStatus"></el-input>
<!-- <el-input v-model="notificationForm.connectorStatus"></el-input>-->
<template slot-scope="scope">
<el-select v-model="notificationForm.connectorStatus" placeholder="请选择枪口状态" clearable
style="width: 160px">
<el-option v-for="dict in dict.type.connector_status"
:key="dict.value"
:label="dict.label"
:value="dict.value" />
</el-select>
</template>
</el-form-item>
<!--<el-form-item>
<el-button type="primary" @click="clickNotificationStationStatus">推送设备状态</el-button>
@@ -142,7 +151,9 @@
<el-col :span="24">
<el-card class="box-card" style="margin: 20px 20px 0 20px;" shadow="hover">
<div slot="header" class="clearfix">
<span>推送设备充电中状态</span>
<span style="font-weight: bold">推送设备充电中状态
<br>notification_connector_charge_status
<br>notification_equip_charge_status</span>
<el-button style="float: right; padding: 3px 0" type="text"
@click="clickNotificationConnectorChargeStatus">推送</el-button>
</div>
@@ -162,7 +173,7 @@
<el-col :span="24">
<el-card class="box-card" style="margin: 20px 20px 0 20px;" shadow="hover">
<div slot="header" class="clearfix">
<span>推送充电订单信息</span>
<span style="font-weight: bold">推送充电订单信息notification_charge_order_info</span>
<el-button style="float: right; padding: 3px 0" type="text"
@click="clickNotificationChargeOrderInfo">推送</el-button>
</div>
@@ -182,7 +193,7 @@
<el-col :span="24">
<el-card class="box-card" style="margin: 20px 20px 0 20px;" shadow="hover">
<div slot="header" class="clearfix">
<span>推送站点费率</span>
<span style="font-weight: bold">推送站点费率notification_stationFee</span>
<el-button style="float: right; padding: 3px 0" type="text"
@click="clickNotificationStationFee">推送</el-button>
</div>
@@ -197,7 +208,7 @@
<el-col :span="24">
<el-card class="box-card" style="margin: 20px 20px 0 20px;" shadow="hover">
<div slot="header" class="clearfix">
<span>推送设备告警信息</span>
<span style="font-weight: bold">推送设备告警信息notification_alarmInfo</span>
<el-button style="float: right; padding: 3px 0" type="text"
@click="clickNotificationAlarmInfo">推送</el-button>
</div>
@@ -206,7 +217,16 @@
<el-input v-model="notificationAlarmForm.pileConnectorCode"></el-input>
</el-form-item>
<el-form-item label="枪口状态" class="getCard">
<el-input v-model="notificationAlarmForm.status"></el-input>
<!-- <el-input v-model="notificationAlarmForm.status"></el-input>-->
<template slot-scope="scope">
<el-select v-model="notificationAlarmForm.status" placeholder="请选择枪口状态" clearable
style="width: 160px">
<el-option v-for="dict in dict.type.connector_status"
:key="dict.value"
:label="dict.label"
:value="dict.value" />
</el-select>
</template>
</el-form-item>
<!--<el-form-item>
<el-button type="primary" @click="clickNotificationStationStatus">推送设备状态</el-button>
@@ -237,7 +257,7 @@ import {
} from "@/api/thirdParty/notification";
export default {
dicts: ["third_party_type"],
dicts: ["third_party_type", "connector_status"],
components: { Template },
data() {
return {
@@ -444,7 +464,7 @@ export default {
}
.getCard {
margin-bottom: 0px;
margin-bottom: 10px;
}
.el-descriptions-item_label {