mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-09 00:18:07 +08:00
分润配置
This commit is contained in:
@@ -221,7 +221,7 @@
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane label="分润配置" name="Config">
|
||||
<Config :stationId="stationId" :merchantId="merchantId"></Config>
|
||||
<Config ref="Config" :stationId="stationId" :merchantId="merchantId"></Config>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
|
||||
@@ -306,7 +306,7 @@ export default {
|
||||
parkingDisableFlag: true,
|
||||
exchange: [],
|
||||
firstList: [], //第一次复选框的默认值
|
||||
merchantId: this.$route.params.merchantId, //运营商id
|
||||
merchantId: "", //运营商id
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -350,16 +350,19 @@ export default {
|
||||
this.$refs.order.dataLoading();
|
||||
} else if (name === "orderReport") {
|
||||
this.$refs.orderReport.getList();
|
||||
} else if (name === "Config") {
|
||||
this.queryStationInfo();
|
||||
this.$refs.Config.getList();
|
||||
}
|
||||
},
|
||||
queryStationInfo() {
|
||||
async queryStationInfo() {
|
||||
console.log("stationId", this.stationId);
|
||||
getStationInfo(this.stationId).then((res) => {
|
||||
// console.log(res);
|
||||
await getStationInfo(this.stationId).then((res) => {
|
||||
this.stationDetail = res.data;
|
||||
this.stationLat = res.data.stationLat;
|
||||
this.stationLng = res.data.stationLng;
|
||||
console.log(this.stationLat, this.stationLng, "父组件里面的经纬度");
|
||||
this.merchantId = res.data.merchantId;
|
||||
console.log(this.merchantId, "父组件里面的运营商id");
|
||||
console.log("res.data", res.data);
|
||||
if (res.data.parkingId != null) {
|
||||
this.getParkingInfo(parseInt(res.data.parkingId));
|
||||
|
||||
Reference in New Issue
Block a user