Forráskód Böngészése

医学术语静态知识维护复制返回跳转原来页面(2344)

zhangxc 5 éve
szülő
commit
049a72febc
1 módosított fájl, 5 hozzáadás és 1 törlés
  1. 5 1
      src/components/icss/MedicinePrompt.vue

+ 5 - 1
src/components/icss/MedicinePrompt.vue

@@ -161,9 +161,13 @@
         })
       },
       toCopyProduct(row){
+        const pam = this.searched ? {
+          currentPage: this.currentPage,
+          filter: this.filter
+        } : {currentPage: this.currentPage};
         this.$router.push({
           name:'AddMedicinePrompt',
-          params: {data:row,isCopy:true}
+          params: Object.assign(pam, {data:row,isCopy:true})
         })
       },
       filterDatas(){