diff --git a/src/views/archivesManage/caseManage/caseList/module/detailDialog.vue b/src/views/archivesManage/caseManage/caseList/module/detailDialog.vue
index 1c136a5..d35438c 100644
--- a/src/views/archivesManage/caseManage/caseList/module/detailDialog.vue
+++ b/src/views/archivesManage/caseManage/caseList/module/detailDialog.vue
@@ -9,7 +9,7 @@
盒条码:{{ rowData.barcode }}
-
存放位置:{{ rowData.folderLocation }}
+
存放位置:{{ rowData.folderLocationDetails }}
TID:{{ rowData.tid }}
创建时间:{{ rowData.create_time | parseTime }}
@@ -25,7 +25,7 @@
-
+
{{ scope.row.create_time | parseTime }}
diff --git a/src/views/archivesManage/outInStorage/module/detailDialog.vue b/src/views/archivesManage/outInStorage/module/detailDialog.vue
new file mode 100644
index 0000000..d38a27c
--- /dev/null
+++ b/src/views/archivesManage/outInStorage/module/detailDialog.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
盒名称:{{ rowData.caseName }}
+
盒条码:{{ rowData.barcode }}
+
+
+
存放位置:{{ rowData.folderLocationDetails }}
+
TID:{{ rowData.tid }}
+
+
创建时间:{{ rowData.create_time | parseTime }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.create_time | parseTime }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/archivesManage/outInStorage/outInHistory/index.vue b/src/views/archivesManage/outInStorage/outInHistory/index.vue
index 57fe36b..09ae672 100644
--- a/src/views/archivesManage/outInStorage/outInHistory/index.vue
+++ b/src/views/archivesManage/outInStorage/outInHistory/index.vue
@@ -36,6 +36,7 @@
:loading="crud.downloadLoading"
:cell-class-name="cell"
@row-click="clickRowHandler"
+ @row-dblclick="handleDbClick"
@selection-change="selectionChangeHandler"
>
@@ -62,6 +63,8 @@
+
+
@@ -71,11 +74,12 @@ import CRUD, { presenter, crud } from '@crud/crud'
import pagination from '@crud/Pagination'
// import crudOperation from '@crud/CRUD.operation'
import { exportFile } from '@/utils/index'
+import detailDialog from '../module/detailDialog.vue'
// exportFile内容
export default {
name: 'OutInHistory',
- components: { rrOperation, pagination },
+ components: { rrOperation, pagination, detailDialog },
mixins: [presenter(), crud()],
cruds() {
return CRUD({
@@ -92,6 +96,9 @@ export default {
},
data() {
return {
+ permission: {
+ download: ['admin', 'permission:download']
+ },
msgVisible: false,
selections: [],
keyWord: '',
@@ -157,7 +164,23 @@ export default {
this.crud.downloadLoading = true
exportFile(this.baseApi + '/api/storage/exportStorageLogList')
this.crud.downloadLoading = false
+ },
+ // 双击 详情
+ handleDbClick(row) {
+ // console.log(row, 'row')
+ this.$refs.detailDom.rowData = row
+ // const params = {
+ // caseId: row.id
+ // // caseId: '1716F6C668C83A929C738B'
+ // }
+ // this.crud.crudMethod.findInCase(params).then(res => {
+ // if (res) {
+ // this.$refs.detailDom.tableData = res.archives
+ // }
+ // })
+ this.$refs.detailDom.detailVisible = true
}
+
}
}
diff --git a/src/views/archivesManage/outInStorage/outStorage/index.vue b/src/views/archivesManage/outInStorage/outStorage/index.vue
index c75c3a6..fc727de 100644
--- a/src/views/archivesManage/outInStorage/outStorage/index.vue
+++ b/src/views/archivesManage/outInStorage/outStorage/index.vue
@@ -33,6 +33,7 @@
:data="crud.data"
:cell-class-name="cell"
@row-click="clickRowHandler"
+ @row-dblclick="handleDbClick"
@selection-change="selectionChangeHandler"
>
@@ -68,6 +69,8 @@
+
+
@@ -77,10 +80,11 @@ import rrOperation from '@crud/RR.operation'
import CRUD, { presenter, crud } from '@crud/crud'
import pagination from '@crud/Pagination'
// import { grant } from '@/api/archivesManage/outInStorage'
+import detailDialog from '../module/detailDialog.vue'
export default {
name: 'OutInStorage',
- components: { rrOperation, pagination },
+ components: { rrOperation, pagination, detailDialog },
mixins: [presenter(), crud()],
cruds() {
return CRUD({
@@ -127,6 +131,21 @@ export default {
clickRowHandler(row) {
this.$refs.table.toggleRowSelection(row) // 单击选中
},
+ // 双击 详情
+ handleDbClick(row) {
+ // console.log(row, 'row')
+ this.$refs.detailDom.rowData = row
+ // const params = {
+ // caseId: row.id
+ // // caseId: '1716F6C668C83A929C738B'
+ // }
+ // this.crud.crudMethod.findInCase(params).then(res => {
+ // if (res) {
+ // this.$refs.detailDom.tableData = res.archives
+ // }
+ // })
+ this.$refs.detailDom.detailVisible = true
+ },
selectionChangeHandler(val) {
this.selections = val
// console.log(val, '-----')