Explorar el Código

历史销毁记录更改

duy hace 2 años
padre
commit
caf741e379
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/views/archives/appraisal.vue

+ 5 - 1
src/views/archives/appraisal.vue

@@ -60,7 +60,7 @@
                     </div>
                 </template>
                 <template  #extra>
-                    <div v-if="searchForm.isDeleted == 1" @click="searchForm.isDeleted = null" style="cursor: pointer;">
+                    <div v-if="searchForm.isDeleted == 1" @click="hideHistory" style="cursor: pointer;">
                         <svg xmlns="http://www.w3.org/2000/svg" class="svg-icon-path-icon fill" fill="#4095e5" viewBox="64 64 896 896" width="24" height="24"><defs data-reactroot=""></defs><g><path d="M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 0 0 0 13z"></path><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"></path></g></svg>
                     </div>
                     <div v-else>
@@ -246,6 +246,10 @@ const showHistory=()=>{
     searchForm.value.isDeleted = 1
     getTableData()
 }
+const hideHistory=()=>{
+    searchForm.value.isDeleted = 0
+    getTableData()
+}
 //多选
 const tableCheckedKeys = ref([]);
 const tableSelection = (rows) => {