소스 검색

首页接口对接

duanxiaoduan 1 년 전
부모
커밋
b22bde6719
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/views/dashboard/editor/index.vue

+ 2 - 3
src/views/dashboard/editor/index.vue

@@ -585,9 +585,8 @@ export default {
     getRow2PastureList() {
       this.row2.chart1.pasture.listLoading = true
       let url = "authdata/pasture/index"
-      let data = {
-        pastureName:this.row3.chart4.getdataListParm.parammaps.pastureName
-      }
+      let data = '?pastureName=' + this.row3.chart4.getdataListParm.parammaps.pastureName
+      
       getJson(url,data).then(response => {
         if (response.data.list !== null) {
           this.row2.chart1.pasture.list.monthBudgets = response.data.budget