From 691ce84d46e244372fe6a7a783ba00e6891b862c Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 31 Aug 2021 15:50:00 +0800
Subject: [PATCH] 信用代码为空  导致全查 bug

---
 src/views/securityUnitChild/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/securityUnitChild/index.vue b/src/views/securityUnitChild/index.vue
index 604437e..e6cf258 100644
--- a/src/views/securityUnitChild/index.vue
+++ b/src/views/securityUnitChild/index.vue
@@ -622,7 +622,6 @@
       this.loading1 = true;
       console.log(page, params, 3435434);
       params["creditcode"] = this.creditcode;
-      params["deptId"] = this.departmentid;
       getdataOnce1(
         page.currentPage,
         page.pageSize,
@@ -769,7 +768,6 @@
       // console.log(page);
       // getdata2(
       params["creditcode"] = this.creditcode;
-      params["deptId"] = this.departmentid;
       getdataOnce2(
         page.currentPage,
         page.pageSize,
@@ -803,7 +801,11 @@
           for (var k in row) {
             that.obj0[k] = row[k];
           }
-          that.creditcode = row.creditcode;
+          if (row.creditcode == "") {
+            that.creditcode = 111;
+          } else {
+            that.creditcode = row.creditcode;
+          }
           if (that.readLock("danweidataS") != null && a == 1) {
             var b = JSON.parse(that.readLock("danweidataS"));
             var i = 0;

--
Gitblit v1.9.3