mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
bugfix 后管站点列表按钮
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
v-model="scope.row.publicFlag"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
@change="changeFlag(scope.row)"
|
||||
@change="changeStationFlag(scope.row)"
|
||||
>
|
||||
</el-switch>
|
||||
</template>
|
||||
@@ -162,7 +162,7 @@
|
||||
v-model="scope.row.openFlag"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
@change="changeFlag(scope.row)"
|
||||
@change="changeStationFlag(scope.row)"
|
||||
>
|
||||
</el-switch>
|
||||
</template>
|
||||
@@ -173,7 +173,7 @@
|
||||
v-model="scope.row.amapFlag"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
@change="changeFlag(scope.row)"
|
||||
@change="changeAmapFlag(scope.row)"
|
||||
>
|
||||
</el-switch>
|
||||
</template>
|
||||
@@ -373,7 +373,16 @@ export default {
|
||||
console.log("merchantList", this.merchantList)
|
||||
});
|
||||
},
|
||||
changeFlag(info) {
|
||||
changeStationFlag(info) {
|
||||
console.log(info);
|
||||
updateStation(info).then((response) => {
|
||||
console.log("response", response)
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
},
|
||||
changeAmapFlag(info) {
|
||||
console.log("info", info)
|
||||
const params = {
|
||||
stationId: info.id,
|
||||
|
||||
Reference in New Issue
Block a user