|
@@ -409,19 +409,8 @@
|
|
|
deleteStore: function (id) {
|
|
|
$eb.$swal('delete', function () {
|
|
|
$eb.axios.get(layList.U({a: 'del_store', q: {id: id}})).then(function (res) {
|
|
|
- if (res.data.code == 200 && res.status == 200) {
|
|
|
-
|
|
|
- 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;
|
|
|
- }
|
|
|
- });
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ this.reload();
|
|
|
} else {
|
|
|
|
|
|
}
|