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