13027838432 1 년 전
부모
커밋
1d9ce50b30
3개의 변경된 파일12개의 추가작업 그리고 11개의 파일을 삭제
  1. 1 1
      src/assets/scss/common.scss
  2. 3 3
      src/components/header.vue
  3. 8 7
      src/views/index.vue

+ 1 - 1
src/assets/scss/common.scss

@@ -158,7 +158,7 @@ body {
     position: relative;
     // margin-left: auto;
     // background-color: rgba(1,33,35,.7);
-    width: 380px;
+    width: 436px;
     // border-radius: 8px;
     overflow: hidden;
     padding-top: 15px;

+ 3 - 3
src/components/header.vue

@@ -3,7 +3,7 @@
  * @Author: wangcc
  * @Date: 2022-06-14 18:11:54
  * @LastEditors: wangcc
- * @LastEditTime: 2023-03-13 10:22:25
+ * @LastEditTime: 2023-03-14 09:13:41
  * @FilePath: \castgroup_bigscreen\src\components\header.vue
  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 -->
@@ -41,8 +41,8 @@ export default {
             nowTime: '',
             isFull: false,
             // homeLink:process.env.NODE_ENV === 'development' ? '//castgrouptest.hw.hongweisoft.com' : '//admin.bigdata.anthelp.top',
-            // homeLink:'http://castgrouptest.hw.hongweisoft.com/'
-            homeLink:'http://admin.bigdata.anthelp.top'
+            homeLink:'http://castgrouptest.hw.hongweisoft.com/'
+            // homeLink:'http://admin.bigdata.anthelp.top'
         };
     },
     created() {

+ 8 - 7
src/views/index.vue

@@ -3,7 +3,7 @@
  * @Author: wangcc
  * @Date: 2022-07-06 15:56:45
  * @LastEditors: wangcc
- * @LastEditTime: 2023-03-13 11:26:48
+ * @LastEditTime: 2023-06-06 16:20:58
  * @FilePath: \castgroup_bigscreen\src\views\index.vue
  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 -->
@@ -207,6 +207,7 @@
                   <span>{{row.landArea}}亩</span>
                 </template>
               </el-table-column>
+              <el-table-column prop="treeNumber" label="株数" align="center"></el-table-column>
             </el-table>
             <div class="pagination-box" v-if="total > 0">
               <pagination
@@ -631,18 +632,14 @@ export default {
         });
     },
     getRightScrollData() {
-      let queryParams =  {
-        pageNum: 1,
-        pageSize: 300
-      }
       let param = {
         smallNumber: this.xiaobaninput,
         cityId: this.$store.state.addr.selectCity.areaId,
         countyId: this.$store.state.addr.selectDistrict.areaId,
         townId: this.$store.state.addr.selectStreet.areaId,
         courseId: this.$store.state.addr.selectProject.ProjectID,
-        pageNum: queryParams.pageNum,
-        pageSize: queryParams.pageSize
+        pageNum: this.queryParams.pageNum,
+        pageSize: this.queryParams.pageSize
       };
       this.loading = true;
       rightScrollData(param)
@@ -1318,6 +1315,10 @@ export default {
       this.rowIdClick = rowId;
       this.changeSelectProject({ ProjectID: rowId, ProjectName: e.row[0] });
       document.getElementById(rowId).classList.add('active');
+      this.queryParams =  {
+        pageNum: 1,
+        pageSize: 300
+      }
       // this.getProjectSmallClassMap(this.tableData);
       // let param = {
       //   courseId: rowId