#
whycq
2023-11-21 b61205adfb447bb868a454b971aa90c3d82034de
pages/business/plan/plan.vue
@@ -160,6 +160,15 @@
         getCsmtr1(e) {
            let that = this
            that.csmtrList = []
            uni.showLoading({})
            let param = {curr:1,limit:4,dept_id: 0,user_id: 67}
            if (this.user.type == 'user_id') {
               param = {curr:1,limit:4,user_id: that.user.id}
            } else if(this.user.type == 'dept_id') {
               param = {curr:1,limit:4,dept_id: that.user.id}
            } else {
               param = {curr:1,limit:4}
            }
            uni.request({
               url: that.baseUrl + '/plan/page/auth',
               header: {'token' : uni.getStorageSync('token'),},
@@ -196,10 +205,22 @@
                     });
                  }, 1000);
               },
               complete() {
                  uni.hideLoading()
               }
            })
         },
         getCsmtr() {
            let that = this
            uni.showLoading({})
            let param = {curr:that.curr,limit:4,dept_id: 0,user_id: 67}
            if (this.user.type == 'user_id') {
               param = {curr:that.curr,limit:4,user_id: that.user.id}
            } else if(this.user.type == 'dept_id') {
               param = {curr:that.curr,limit:4,dept_id: that.user.id}
            } else {
               param = {curr:that.curr,limit:4}
            }
            uni.request({
               url: that.baseUrl + '/plan/page/auth',
               header: {'token' : uni.getStorageSync('token'),},
@@ -237,6 +258,9 @@
                     });
                  }, 1000);
               },
               complete() {
                  uni.hideLoading()
               }
            })
         },
         getDetails(id) {
@@ -269,7 +293,7 @@
      margin-top: 20px;
   }
   .popup-content {
      margin-top: 150rpx;
      margin-top: 260rpx;
      display:  flex;
      align-items: center;
      justify-content: center;