#
whycq
2023-11-24 e680ee8cc2c34ec2d21c238e8110e4f1501eb8bc
pages/business/cstmr/csmtr.vue
@@ -78,7 +78,6 @@
      onShow() {
         let that = this
         uni.$on('isRefresh',function(data){
            console.log(data);
            that.user.username = data.title
            that.user.id = data.id
            that.user.type = data.key
@@ -99,7 +98,6 @@
         async getDetail() {
            let res = await user.getDetail()
            if (res.code === 200) {
               console.log(res);
               this.user.username = res.data.username
               this.user.id = res.data.id
               this.type = res.data.type
@@ -123,7 +121,6 @@
               method: 'POST',
               header: {'token' : uni.getStorageSync('token'),},
            }).then((res)=>{
               console.log(res);
            })
         },
         back() {
@@ -243,7 +240,7 @@
         },
         getDetails(id) {
            uni.navigateTo({
               url: '/pages/business/cstmr/cstmrDetails?id=' + id
               url:  `/pages/business/cstmr/cstmrDetails?id=${id}&type=del`
            })
         },
         // ---
@@ -265,7 +262,6 @@
               data: param,
               success(res) {
                  res = res.data
                  console.log(res);
                  _this.csmtrList = res.data.records
               }
            })
@@ -283,13 +279,7 @@
</script>
<style>
   .status_bar {
      height: var(--status-bar-height);
      width: 100%;
      background-color: #FFF;
      position: sticky;
      top: 0;
   }
   
   .uni-nav-bar-text {
      font-size: 12px;