mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 苏州市平台
This commit is contained in:
@@ -124,9 +124,12 @@
|
||||
@click="clickNotificationStationStatus">推送</el-button>
|
||||
</div>
|
||||
<el-form ref="notificationForm" :model="notificationForm" label-width="20%">
|
||||
<el-form-item label="充电桩编号" class="getCard">
|
||||
<el-input v-model="notificationForm.pileSn"></el-input>
|
||||
<el-form-item label="充电桩枪口号" class="getCard">
|
||||
<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-form-item>
|
||||
<!--<el-form-item>
|
||||
<el-button type="primary" @click="clickNotificationStationStatus">推送设备状态</el-button>
|
||||
</el-form-item>-->
|
||||
@@ -144,11 +147,8 @@
|
||||
@click="clickNotificationConnectorChargeStatus">推送</el-button>
|
||||
</div>
|
||||
<el-form ref="notificationForm" :model="notificationForm" label-width="20%">
|
||||
<el-form-item label="充电枪口编号">
|
||||
<el-input v-model="notificationForm.pileConnectorCode"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="充电枪口状态" class="getCard">
|
||||
<el-input v-model="notificationForm.status"></el-input>
|
||||
<el-form-item label="订单编号" class="getCard">
|
||||
<el-input v-model="notificationForm.orderCode1"></el-input>
|
||||
</el-form-item>
|
||||
<!--<el-form-item>
|
||||
<el-button type="primary" @click="clickNotificationConnectorChargeStatus">推送设备充电中状态</el-button>
|
||||
@@ -228,6 +228,7 @@ export default {
|
||||
rules: {},
|
||||
stationList: [],
|
||||
platformType: null,
|
||||
connectorStatus: null,
|
||||
drawer: false,
|
||||
direction: 'rtl',
|
||||
drawerTitle: null,
|
||||
@@ -253,17 +254,28 @@ export default {
|
||||
},
|
||||
// 点出推送设备状态
|
||||
clickNotificationStationStatus() {
|
||||
this.notificationForm.stationId = this.notificationStationId;
|
||||
this.notificationForm.platformType = this.platformType;
|
||||
notificationStationStatus(this.notificationForm).then(response => {
|
||||
// this.notificationForm.stationId = this.notificationStationId;
|
||||
// this.notificationForm.platformType = this.platformType;
|
||||
const params = {
|
||||
stationId: this.notificationStationId,
|
||||
platformType: this.platformType,
|
||||
pileConnectorCode: this.notificationForm.pileConnectorCode,
|
||||
status: this.notificationForm.connectorStatus
|
||||
}
|
||||
notificationStationStatus(params).then(response => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
});
|
||||
},
|
||||
// 点击推送设备充电中状态
|
||||
clickNotificationConnectorChargeStatus() {
|
||||
this.notificationForm.stationId = this.notificationStationId;
|
||||
this.notificationForm.platformType = this.platformType;
|
||||
notificationConnectorChargeStatus(this.notificationForm).then(response => {
|
||||
// this.notificationForm.stationId = this.notificationStationId;
|
||||
// this.notificationForm.platformType = this.platformType;
|
||||
const params = {
|
||||
stationId: this.notificationStationId,
|
||||
platformType: this.platformType,
|
||||
orderCode: this.notificationForm.orderCode1
|
||||
}
|
||||
notificationConnectorChargeStatus(params).then(response => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user