提交 1bdbea83 编写于 作者: guangjun.yang's avatar guangjun.yang

关闭的弹框

上级 9d528216
...@@ -242,12 +242,20 @@ ...@@ -242,12 +242,20 @@
// 关闭医生小店 // 关闭医生小店
closeShopAction(row) { closeShopAction(row) {
vm.$confirm('确定要关闭店铺吗', '', {
confirmButtonText: '确 定',
cancelButtonText: '取 消',
type: 'warning'
}).then(() => {
closeShop({id: row.id}).then(res => { closeShop({id: row.id}).then(res => {
if (res.code == '000000') { if (res.code == '000000') {
this.searchList(); this.searchList();
} }
}) })
} }).catch( () => {
})
},
}, },
filters: { filters: {
storeTypeFormat: function(value){ storeTypeFormat: function(value){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册