|
@@ -407,13 +407,15 @@
|
|
|
});
|
|
|
},
|
|
|
deleteStore: function (id) {
|
|
|
+ const that = this;
|
|
|
$eb.$swal('delete', function () {
|
|
|
$eb.axios.get(layList.U({a: 'del_store', q: {id: id}})).then(function (res) {
|
|
|
- console.log(res)
|
|
|
+ console.log(res,'fanhui ')
|
|
|
if (res.data.code == 200) {
|
|
|
console.log(res.data)
|
|
|
+ that.getSpreadStoreList();
|
|
|
layList.alert(res.data.msg);
|
|
|
- layList.reload();
|
|
|
+
|
|
|
} else {
|
|
|
console.log(res.data)
|
|
|
}
|