mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 11:49:49 +08:00
update 打开新增或修改对话框才进行查询运营商列表
This commit is contained in:
@@ -325,7 +325,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.getMerchantList();
|
// this.getMerchantList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getMerchantList() {
|
getMerchantList() {
|
||||||
@@ -456,12 +456,14 @@ export default {
|
|||||||
/** 新增按钮操作 */
|
/** 新增按钮操作 */
|
||||||
handleAdd() {
|
handleAdd() {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.open = true;
|
this.getMerchantList();
|
||||||
this.title = "添加充电站信息";
|
this.title = "添加充电站信息";
|
||||||
|
this.open = true;
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.reset();
|
this.reset();
|
||||||
|
this.getMerchantList();
|
||||||
const id = row.id || this.ids;
|
const id = row.id || this.ids;
|
||||||
getStation(id).then((response) => {
|
getStation(id).then((response) => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
|
|||||||
Reference in New Issue
Block a user