wzp
2022-02-11 d5a9acf4d67523f12822bc6b73306b6c4d71dc4f
assetMgtH5/pages/assets/list.vue
@@ -66,6 +66,9 @@
            ]
         }
      },
      onShow() {
         this.getAssetList();
      },
      methods: {
         changeHandler(e) {
            const {
@@ -94,6 +97,24 @@
         showPicker() {
            this.show = true;
         },
         //请求
         getAssetList() {
            this.$http.get('/assets/approval/search',{params:{pageNum:"1",pageSize:"10",keyStr:''}})
               .then(res => {
                  debugger;
                  let data = res.data;
                  console.log(JSON.stringify(data.data))
                  let tt = data.data;
                  console.log(tt.length)
               }).catch(err => {
                  console.log(err.data)
               })
         }
      }
   }
</script>