浏览代码

pageNum=0

qinhouyu 1 年之前
父节点
当前提交
5bedaf9e39

+ 3 - 2
src/api/zdsz/enginee.js

@@ -96,10 +96,11 @@ export function viewEngineeringIndustrySource({id ,type}) {
 
 
 // 查询顶管列表(顶管 )
-export function getPipeJackingList({enginName = null}) {
+export function getPipeJackingList(sata) {
     return request({
-        url: `/zdsz/engineeringPipeJacking/list?enginName=${enginName}`,
+        url: `/zdsz/engineeringPipeJacking/list`,
         method: 'get',
+      params:sata
     })
 }
 

+ 0 - 1
src/api/zdsz/unit.js

@@ -48,7 +48,6 @@ export function getUnits(buildingId) {
     url: '/zdsz/unit/getUnitList',
     method: 'GET',
     params:{
-      areaId:null,
       buildingId:buildingId
     }
   })

+ 4 - 4
src/views/zdsz/engineeringCivil/index.vue

@@ -878,7 +878,7 @@ export default {
         }
       },
       queryParams1: {
-        pageNum: 1,
+        pageNum: 0,
         pageSize: 10,
         district: undefined,
         areaId: undefined,
@@ -1184,7 +1184,7 @@ export default {
     buildingHasChanged(buildingId, areaId) {
       console.log(buildingId)
       this.queryParams.unitId = null
-      getUnits(areaId || this.queryParams.areaId, buildingId).then(res => {
+      getUnits(buildingId).then(res => {
         this.unitOptions = res.data
       })
     },
@@ -1234,7 +1234,7 @@ export default {
     getUnitList1(buildingId) {
       if (buildingId === undefined || buildingId == null || buildingId === '')
         return
-      getUnits(this.queryParams.areaId, buildingId).then(res => this.unitList = res.data)
+      getUnits(buildingId).then(res => this.unitList = res.data)
     },
     /** 查询民用工程列表 */
     getList() {
@@ -1307,7 +1307,7 @@ export default {
     },
     /** 搜索按钮操作 */
     handleQuery() {
-      this.queryParams.pageNum = 1;
+      this.queryParams1.pageNum = 0;
       this.getList();
     },
     /** 重置按钮操作 */

+ 2 - 2
src/views/zdsz/engineeringDangerous/index.vue

@@ -472,7 +472,7 @@ export default {
       // 查询参数
       queryParams: {
         pics: [],
-        pageNum: 1,
+        pageNum: 0,
         pageSize: 10,
         basicInformation: undefined,
         enginName: undefined,
@@ -757,7 +757,7 @@ export default {
     },
     /** 搜索按钮操作 */
     handleQuery() {
-      this.queryParams.pageNum = 1;
+      this.queryParams.pageNum = 0;
       this.getList();
     },
     /** 重置按钮操作 */

+ 2 - 2
src/views/zdsz/engineeringPipeJacking/index.vue

@@ -354,7 +354,7 @@
             // 查询参数
             queryParams1: {
               enginName:'',
-              pageNum:1,
+              pageNum:0,
               pageSize:10
             },
             queryParams: {
@@ -647,7 +647,7 @@
           },
           /** 搜索按钮操作 */
           handleQuery() {
-            this.queryParams1.pageNum = 1;
+            this.queryParams1.pageNum = 0;
             this.getList();
           },
           /** 重置按钮操作 */

+ 5 - 0
src/views/zdsz/openbolt/index.vue

@@ -461,10 +461,15 @@ export default {
       this.reset();
       this.houses = []
       this.units = []
+      this.areas = []
       this.builds = []
     },
     // 表单重置
     reset() {
+      this.houses = []
+      this.units = []
+      this.areas = []
+      this.builds = []
       this.form = {
         id: undefined,
         areaId: undefined,

+ 5 - 0
src/views/zdsz/opencheck/index.vue

@@ -432,6 +432,7 @@ export default {
     cancel() {
       this.open = false;
       this.reset();
+      this.areas = []
       this.houses = []
       this.units = []
       this.builds = []
@@ -478,6 +479,10 @@ export default {
       });
     },
     reset() {
+      this.houses = []
+      this.units = []
+      this.areas = []
+      this.builds = []
       this.form = {
         id: undefined,
         areaId: undefined,

+ 13 - 1
src/views/zdsz/openrepair/index.vue

@@ -411,7 +411,15 @@ export default {
         this.builds = res.data
       })
     },
-
+// 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+      this.areas = []
+      this.houses = []
+      this.units = []
+      this.builds = []
+    },
     getUnits(id) {
       this.houses = []
       this.queryParams.unitId = undefined
@@ -478,6 +486,10 @@ export default {
       });
     },
     reset() {
+      this.houses = []
+      this.units = []
+      this.areas = []
+      this.builds = []
       this.form = {
         id: undefined,
         areaId: undefined,