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:
@@ -36,7 +36,16 @@
|
|||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|
||||||
<el-tab-pane label="运营管理" name="operation">
|
<el-tab-pane label="运营管理" name="operation">
|
||||||
<el-button icon="el-icon-setting" size="big" @click="handleCreate">配置参数</el-button>
|
<el-form>
|
||||||
|
<el-form-item label="当前配置二维码规则:">
|
||||||
|
<el-input v-model="stationDetail.qrcodePrefix" maxlength="100px" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button icon="el-icon-setting" size="big" @click="handleCreate">配置参数</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
|
||||||
|
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|
||||||
<el-dialog :title="dialogTitle" :visible.sync="dialogFormVisible">
|
<el-dialog :title="dialogTitle" :visible.sync="dialogFormVisible">
|
||||||
@@ -62,7 +71,7 @@ import pileList from "./pileList.vue";
|
|||||||
import MapContainer from "../../../components/MapContainer/MapContainer.vue";
|
import MapContainer from "../../../components/MapContainer/MapContainer.vue";
|
||||||
import stationOrderList from "@/views/pile/station/stationOrderList";
|
import stationOrderList from "@/views/pile/station/stationOrderList";
|
||||||
import {updatePlateNumber} from "@/api/member/info";
|
import {updatePlateNumber} from "@/api/member/info";
|
||||||
import {updateStationQRCodePrefix} from "@/api/pile/station";
|
import {getStationInfo, updateStationQRCodePrefix} from "@/api/pile/station";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
SiteInfo,
|
SiteInfo,
|
||||||
@@ -83,6 +92,7 @@ export default {
|
|||||||
dialogFormVisible: false,
|
dialogFormVisible: false,
|
||||||
stationId: this.$route.params.id,
|
stationId: this.$route.params.id,
|
||||||
stationName: this.$route.params.stationName,
|
stationName: this.$route.params.stationName,
|
||||||
|
stationDetail: {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -91,7 +101,8 @@ export default {
|
|||||||
const stationName = this.stationName;
|
const stationName = this.stationName;
|
||||||
const title = "【" + stationName + "】站点详情";
|
const title = "【" + stationName + "】站点详情";
|
||||||
const route = Object.assign({}, this.$route, { title: `${title}` })
|
const route = Object.assign({}, this.$route, { title: `${title}` })
|
||||||
this.$store.dispatch('tagsView/updateVisitedView', route)
|
this.$store.dispatch('tagsView/updateVisitedView', route);
|
||||||
|
this.queryStationInfo();
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.initializeData(this.activeName);
|
this.initializeData(this.activeName);
|
||||||
@@ -117,6 +128,14 @@ export default {
|
|||||||
this.$refs.order.dataLoading();
|
this.$refs.order.dataLoading();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
queryStationInfo() {
|
||||||
|
console.log("stationId", this.stationId);
|
||||||
|
getStationInfo(this.stationId).then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.stationDetail = res.data;
|
||||||
|
});
|
||||||
|
console.log("queryStationInfo==", this.stationDetail);
|
||||||
|
},
|
||||||
// 配置参数按钮
|
// 配置参数按钮
|
||||||
handleCreate() {
|
handleCreate() {
|
||||||
this.dialogTitle = '配置参数';
|
this.dialogTitle = '配置参数';
|
||||||
|
|||||||
Reference in New Issue
Block a user