mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 17:40:13 +08:00
update 后管页面站点互联互通配置
This commit is contained in:
@@ -57,35 +57,35 @@
|
||||
<el-card>
|
||||
<h2>互联互通配置</h2>
|
||||
|
||||
<el-form label-position="right" label-width="200px" style="margin-top:10px">
|
||||
<el-form :model="stationSettingInfo" label-position="right" label-width="200px" style="margin-top:10px">
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="运营商ID">
|
||||
<el-input placeholder="请输入" />
|
||||
<el-form-item label="运营商ID" prop="operatorId">
|
||||
<el-input placeholder="请输入" v-model="stationSettingInfo.operatorId"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="运营商密钥">
|
||||
<el-input placeholder="请输入" />
|
||||
<el-form-item label="运营商密钥" prop="operatorSecret">
|
||||
<el-input placeholder="请输入" v-model="stationSettingInfo.operatorSecret"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="消息Data密钥:">
|
||||
<el-input placeholder="请输入" />
|
||||
<el-form-item label="消息Data密钥:" prop="dataSecret">
|
||||
<el-input placeholder="请输入" v-model="stationSettingInfo.dataSecret"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="签名密钥">
|
||||
<el-input placeholder="请输入" />
|
||||
<el-form-item label="签名密钥" prop="signSecret">
|
||||
<el-input placeholder="请输入" v-model="stationSettingInfo.signSecret"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row >
|
||||
<el-col :span="12">
|
||||
<el-form-item label="消息Data密钥初始化向量">
|
||||
<el-input placeholder="请输入" />
|
||||
<el-form-item label="消息Data密钥初始化向量" prop="dataSecretIv">
|
||||
<el-input placeholder="请输入" v-model="stationSettingInfo.dataSecretIv"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -125,7 +125,7 @@ import pileList from "./pileList.vue";
|
||||
import MapContainer from "../../../components/MapContainer/MapContainer.vue";
|
||||
import stationOrderList from "@/views/pile/station/stationOrderList";
|
||||
import stationWhiteList from "@/views/pile/station/stationWhiteList";
|
||||
import {getStationInfo, updateStationQRCodePrefix} from "@/api/pile/station";
|
||||
import {getStationInfo, updateStationQRCodePrefix, getSettingByStationId, updateSettingByStationId} from "@/api/pile/station";
|
||||
import Whitelist from "@/views/pile/station/stationWhiteList";
|
||||
|
||||
export default {
|
||||
@@ -152,7 +152,8 @@ export default {
|
||||
stationName: this.$route.params.stationName,
|
||||
stationDetail: {},
|
||||
stationLat:null,
|
||||
stationLng:null
|
||||
stationLng:null,
|
||||
stationSettingInfo: {},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -163,6 +164,7 @@ export default {
|
||||
const route = Object.assign({}, this.$route, { title: `${title}` })
|
||||
this.$store.dispatch('tagsView/updateVisitedView', route);
|
||||
this.queryStationInfo();
|
||||
this.getStationSettingInfo();
|
||||
},
|
||||
mounted() {
|
||||
this.initializeData(this.activeName);
|
||||
@@ -199,6 +201,15 @@ export default {
|
||||
});
|
||||
console.log("queryStationInfo==", this.stationDetail);
|
||||
},
|
||||
// 查询站点互联互通配置信息
|
||||
getStationSettingInfo() {
|
||||
getSettingByStationId(this.stationId).then((res) =>{
|
||||
console.log("stationId:", this.stationId)
|
||||
console.log("getSettingByStationId==", res)
|
||||
this.stationSettingInfo = res.data;
|
||||
})
|
||||
},
|
||||
|
||||
// 配置参数按钮
|
||||
handleCreate() {
|
||||
this.dialogTitle = '配置参数';
|
||||
|
||||
Reference in New Issue
Block a user