luojun 1 anno fa
parent
commit
c9df535d4a
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      src/views/safetycheck/task/index.vue

+ 6 - 1
src/views/safetycheck/task/index.vue

@@ -472,6 +472,10 @@ export default {
   computed: {
     ...mapGetters(["orgName", "userId", "roleList", "orgId"]),
   },
+  activated (){
+    console.log("刷新");
+    this.getList();
+  },
   methods: {
     async onDown(pdfUrl) {
       window.open(pdfUrl);
@@ -534,6 +538,7 @@ export default {
       this.$router.push(path);
     },
     getDefaultKey(key) {
+      // console.log("wwewe")
       this.queryParams.orgId = key;
       this.selectedOrgName = this.orgName;
       this.getList();
@@ -580,7 +585,7 @@ export default {
         });
     },
     async getList() {
-      console.log(this.queryParams, "this.queryParams");
+      console.log(this.queryParams, "this.queryParams2222");
       this.loading = true;
       api
         .page(this.queryParams)