mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-07 11:29:58 +08:00
update 后管页面新增 是否对接高德 字段
This commit is contained in:
@@ -132,6 +132,11 @@ public class PileStationVO {
|
||||
*/
|
||||
private String publicFlag;
|
||||
|
||||
/**
|
||||
* 是否对接高德
|
||||
*/
|
||||
private String aMapFlag;
|
||||
|
||||
/**
|
||||
* 是否营业中
|
||||
*/
|
||||
|
||||
@@ -296,6 +296,7 @@
|
||||
<select id="queryStationInfos" parameterType="com.jsowell.pile.dto.QueryStationDTO" resultType="com.jsowell.pile.vo.web.PileStationVO">
|
||||
SELECT
|
||||
t1.id as id,
|
||||
t1.dept_id as deptId,
|
||||
t1.station_name as stationName,
|
||||
count(t2.id) as pileNum,
|
||||
t1.area_code as areaCode,
|
||||
@@ -316,6 +317,7 @@
|
||||
t1.business_hours as businessHours,
|
||||
t3.organization_code as organizationCode,
|
||||
t1.public_flag as publicFlag,
|
||||
t1.amap_flag as aMapFlag,
|
||||
t1.open_flag as openFlag
|
||||
FROM
|
||||
pile_station_info t1
|
||||
|
||||
@@ -213,6 +213,7 @@ export default {
|
||||
selectMatchCars: [],
|
||||
publicFlag: "",
|
||||
openFlag: "",
|
||||
aMapFlag: "",
|
||||
merchantAdminName: "",
|
||||
stationLng: "",
|
||||
stationLat: "",
|
||||
@@ -299,7 +300,7 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
handleSuccess(res, file) {
|
||||
|
||||
@@ -151,6 +151,17 @@
|
||||
</el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否对接高德" align="center" prop="amapFlag">
|
||||
<template slot-scope="scope">
|
||||
<el-switch
|
||||
v-model="scope.row.amapFlag"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
@change="changeFlag(scope.row)"
|
||||
>
|
||||
</el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="管理员" align="center" prop="merchantAdminName" />
|
||||
|
||||
<!--<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
|
||||
Reference in New Issue
Block a user