Sfoglia il codice sorgente

解决查询触发了2次的问题

zhulu 1 anno fa
parent
commit
e5c7c10bf9

+ 1 - 1
src/views/safetyBook/aqbwbndjh/index.vue

@@ -272,7 +272,7 @@ export default {
     this.getConfigKey("sys.user.initPassword").then((response) => {
       this.initPassword = response.msg;
     });
-    this.getList();
+    // this.getList();
   },
   methods: {
     dayjs,

+ 1 - 1
src/views/safetyBook/hsggbsdj/index.vue

@@ -289,7 +289,7 @@ export default {
     this.getConfigKey("sys.user.initPassword").then((response) => {
       this.initPassword = response.msg;
     });
-    this.getList();
+    // this.getList();
   },
   methods: {
     dayjs,

+ 2 - 1
src/views/safetyBook/newBook/index.vue

@@ -302,7 +302,7 @@ export default {
     this.getConfigKey("sys.user.initPassword").then((response) => {
       this.initPassword = response.msg;
     });
-    this.getList();
+    // this.getList();
   },
   methods: {
     imageUrl,
@@ -327,6 +327,7 @@ export default {
     /** 查询安全责任书列表 */
     getList() {
       this.loading = true;
+      
       listSafetyBook(this.queryParams)
         .then((response) => {
           this.dataList = response.rows;

+ 1 - 1
src/views/scorestatistics/index.vue

@@ -215,7 +215,7 @@ export default {
   },
   created() {
     this.queryParams.orgId = this.orgId;
-    this.getList();
+    // this.getList();
     // this.getDeptTree();
   },
   mounted() {