whj hai 1 ano
pai
achega
61fc54defa
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/views/idle-assets/modules/Detail.vue

+ 4 - 1
src/views/idle-assets/modules/Detail.vue

@@ -33,6 +33,7 @@
 </template>
 
 <script>
+import { getUnusedInfo } from '@/api/idle-assets/idle-assets'
 import AuditForm from './AuditForm.vue'
 import DetailList from '@/components/tools/DetailList'
 const DetailListItem = DetailList.Item
@@ -90,7 +91,9 @@ export default {
     },
     handleOk () {
       this.visible = true
-      this.$refs.table.refresh()
+      getUnusedInfo({ id: this.modal.id }).then(res => {
+        this.modal = res.data
+      })
     },
     handleCancel () {
       this.visible = false