diff --git a/src/views/archivesManage/outInStorage/outStorage/index.vue b/src/views/archivesManage/outInStorage/outStorage/index.vue
index 768b2d4..573f27e 100644
--- a/src/views/archivesManage/outInStorage/outStorage/index.vue
+++ b/src/views/archivesManage/outInStorage/outStorage/index.vue
@@ -2,22 +2,9 @@
-
+
-
+
@@ -29,17 +16,7 @@
-
+
@@ -99,7 +76,7 @@
import rrOperation from '@crud/RR.operation'
import CRUD, { presenter, crud } from '@crud/crud'
import pagination from '@crud/Pagination'
-import { grant, grantConfirm, initStorageLogList, initStorageLogDetailes } from '@/api/archivesManage/outInStorage'
+import { grant, grantConfirm, initStorageDetailes } from '@/api/archivesManage/outInStorage'
import detailDialog from '../module/detailDialog.vue'
export default {
@@ -146,24 +123,35 @@ export default {
clickRowHandler(row) {
this.$refs.table.toggleRowSelection(row) // 单击选中
},
+ // async handleDbClick(row) {
+ // this.$refs.detailDom.rowData = row
+ // let logId = null
+ // // 获取logId
+ // await initStorageLogList().then(res => {
+ // const arr = res.content.filter(item => item.caseId === row.id)
+ // const logIdArr = arr.map(item => { return item.id })
+ // logId = Math.max(...logIdArr)
+ // })
+ // const params = {
+ // 'logId': logId
+ // }
+ // // 调取详情接口
+ // initStorageLogDetailes(params).then(res => {
+ // this.$refs.detailDom.tableData = res
+ // })
+ // this.$refs.detailDom.detailVisible = true
+ // },
// 双击 详情
- async handleDbClick(row) {
+ handleDbClick(row) {
+ console.log(1)
this.$refs.detailDom.rowData = row
- let logId = null
- // 获取logId
- await initStorageLogList().then(res => {
- const arr = res.content.filter(item => item.caseId === row.id)
- const logIdArr = arr.map(item => { return item.id })
- logId = Math.max(...logIdArr)
- })
const params = {
- 'logId': logId
+ caseId: row.id
}
- // 调取详情接口
- initStorageLogDetailes(params).then(res => {
- this.$refs.detailDom.tableData = res
+ initStorageDetailes(params).then(res => {
+ this.$refs.detailDom.tableData = res.archivesSummaries
+ this.$refs.detailDom.detailVisible = true
})
- this.$refs.detailDom.detailVisible = true
},
selectionChangeHandler(val) {
this.selections = val
@@ -233,19 +221,19 @@ export default {