#
whycq
2023-08-21 03231f2215f02af381b5d7d9e5908071c151f135
pages/business/cstmr/cstmrDetails.vue
@@ -101,16 +101,17 @@
               }
            })
         },
         del(id) {
         del(e) {
            let that = this
            var ids = [];
            ids.push(id)
            e = Number(e)
            uni.request({
               url: that.baseUrl + '/cstmr/delete/json',
               header: {'token' : uni.getStorageSync('token'),},
               data: {ids: ids},
               method: 'POST',
               url: that.baseUrl + '/cstmr/delete/one/' + e,
               header: {'token' : uni.getStorageSync('token'),
               },
               method: 'GET',
               success(res) {
                  console.log(res);
                  res = res.data
                  if (res.code === 200) {
                     uni.navigateBack()