mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-08 12:00:11 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -151,7 +151,7 @@
|
|||||||
v-model="scope.row.publicFlag"
|
v-model="scope.row.publicFlag"
|
||||||
active-value="1"
|
active-value="1"
|
||||||
inactive-value="0"
|
inactive-value="0"
|
||||||
@change="changeFlag(scope.row)"
|
@change="changeStationFlag(scope.row)"
|
||||||
>
|
>
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
v-model="scope.row.openFlag"
|
v-model="scope.row.openFlag"
|
||||||
active-value="1"
|
active-value="1"
|
||||||
inactive-value="0"
|
inactive-value="0"
|
||||||
@change="changeFlag(scope.row)"
|
@change="changeStationFlag(scope.row)"
|
||||||
>
|
>
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
v-model="scope.row.amapFlag"
|
v-model="scope.row.amapFlag"
|
||||||
active-value="1"
|
active-value="1"
|
||||||
inactive-value="0"
|
inactive-value="0"
|
||||||
@change="changeFlag(scope.row)"
|
@change="changeAmapFlag(scope.row)"
|
||||||
>
|
>
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
@@ -373,7 +373,16 @@ export default {
|
|||||||
console.log("merchantList", this.merchantList)
|
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)
|
console.log("info", info)
|
||||||
const params = {
|
const params = {
|
||||||
stationId: info.id,
|
stationId: info.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user