update 后管页面新增 是否对接高德 字段

This commit is contained in:
Lemon
2023-06-21 16:48:48 +08:00
parent 376714eefd
commit 077407ce31
4 changed files with 20 additions and 1 deletions

View File

@@ -132,6 +132,11 @@ public class PileStationVO {
*/
private String publicFlag;
/**
* 是否对接高德
*/
private String aMapFlag;
/**
* 是否营业中
*/

View File

@@ -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

View File

@@ -213,6 +213,7 @@ export default {
selectMatchCars: [],
publicFlag: "",
openFlag: "",
aMapFlag: "",
merchantAdminName: "",
stationLng: "",
stationLat: "",
@@ -299,7 +300,7 @@ export default {
};
},
created() {
},
methods: {
handleSuccess(res, file) {

View 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">