|
@@ -409,7 +409,17 @@
|
|
|
$eb.axios.get(layList.U({a: 'del_store', q: {id: id}})).then(function (res) {
|
|
|
if (res.data.code == 200) {
|
|
|
$eb.$swal('success', res.data.msg);
|
|
|
- layList.reload();
|
|
|
+ this.getSpreadStoreList();
|
|
|
+ var that = this;
|
|
|
+ layList.laypage.render({
|
|
|
+ elem: that.$refs.spread_store_page
|
|
|
+ , count: that.count.spread_store_count
|
|
|
+ , limit: that.limit
|
|
|
+ , theme: '#1E9FFF',
|
|
|
+ jump: function (obj) {
|
|
|
+ that.page.spread_store_page = obj.curr;
|
|
|
+ }
|
|
|
+ });
|
|
|
} else
|
|
|
return Promise.reject(res.data.msg || '删除失败')
|
|
|
}).catch(function (err) {
|