yuanyiming 2 jaren geleden
bovenliggende
commit
d261269f64

+ 4 - 8
src/views/projectSettlement/projectSettlement3.vue

@@ -90,7 +90,7 @@
     </el-dialog>
     <!-- 展示文档结束 -->
         <!-- 分页 -->
-        <el-pagination
+        <!-- <el-pagination
             @current-change="handleCurrentChange"
             :current-page="table.currentPage"
             :page-size="table.packageSize"
@@ -98,7 +98,7 @@
             background
             class="paginations"
             :total="table.total">
-          </el-pagination>
+          </el-pagination> -->
         <!-- 分页结束 -->
     </div>
   </template>
@@ -174,22 +174,18 @@
               let param={
                 uid:this.$store.state.userInfo.userid,
                 pid:JSON.parse(localStorage.getItem('pid')),
-                page:this.table.currentPage,
-                lim:this.table.packageSize
+                // page:this.table.currentPage,
+                // lim:this.table.packageSize
               }
               // console.log(param);
               this.ajax
                     .get(this.$store.state.api+'/SelectProjectFile',param)
                     .then(res=>{
-                      // console.log(res.data);
                       let k=[]
                       res.data[0].forEach((e,i) => {
-                        // console.log(e);
                         let { projectFile: l } = e;
-                        // console.log(l);
                         k=JSON.parse(l)
                       });
-                      // console.log(k);
                       this.tableData=k
                     },err=>{
                       console.log(err);

+ 9 - 9
src/views/projectSettlement/projectSettlement4.vue

@@ -92,7 +92,7 @@
     <!-- 展示文档结束 -->
 
       <!-- 分页 -->
-      <el-pagination
+      <!-- <el-pagination
             @current-change="handleCurrentChange"
             :current-page="table.currentPage"
             :page-size="table.packageSize"
@@ -100,7 +100,7 @@
             background
             class="paginations"
             :total="table.total">
-          </el-pagination>
+          </el-pagination> -->
         <!-- 分页结束 -->
   
     </div>
@@ -115,11 +115,11 @@
         data() {
           return {
           accept:".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document",
-            table:{         // 分页数据
-              total:0,
-              packageSize:8,
-              currentPage:1
-            }, 
+            // table:{         // 分页数据
+            //   total:0,
+            //   packageSize:8,
+            //   currentPage:1
+            // }, 
             showFile:false,
             showFileType: 0,
             showFileUrl: "",
@@ -183,8 +183,8 @@
               let param={
                 uid:this.$store.state.userInfo.userid,
                 pid:JSON.parse(localStorage.getItem('pid')),
-                page:this.table.currentPage,
-                lim:this.table.packageSize
+                // page:this.table.currentPage,
+                // lim:this.table.packageSize
               }
               // console.log(param);
               this.ajax