diff --git a/src/assets/styles/lend-manage.scss b/src/assets/styles/lend-manage.scss index 5c3e99f..3dc268c 100644 --- a/src/assets/styles/lend-manage.scss +++ b/src/assets/styles/lend-manage.scss @@ -1,44 +1,69 @@ // 借阅管理 -.crud-opts{ +::v-deep .el-dialog .el-dialog__body{ + .el-button{ + background-color: #3A99FD; + border-color: #3A99FD; + } + .el-button.is-disabled, + .el-button.is-disabled:hover, + .el-button.is-disabled:focus{ + background-color: #02255F; + color: #13439E; + border-color: #02255F; + } +} + +.crud-opts { display: inline-block; } -.iconfont::before{ + +.iconfont::before { margin-right: 5px; } -.cell-lend{ + +.cell-lend { display: inline-block; height: 26px; line-height: 26px; border-radius: 13px; text-align: center; } -.no-lend .cell-lend{ - color:#F65163; - border: 1px solid #F65163; +.no-lend { + color: #F65163; + border: 1px solid #F65163; } -.have-lend .cell-lend{ + +.have-lend { color: #fff; - background-color: #F65163; -} -.other-lend .cell-lend{ -color:#F65163; - border: 1px solid #F65163; - position: relative; - &::after{ - content: ''; - display: block; - height: 2px; - width: 20px; background-color: #F65163; - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%,-50%); - } } -.clear{ +.other-lend { + color: #F65163; + border: 1px solid #F65163; + position: relative; + + &::after { + content: ''; + display: block; + height: 2px; + width: 20px; + background-color: #F65163; + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + } +} + +.has-return{ + color: #1AAE93; + border: 1px solid #1AAE93; +} + + +.clear { border-radius: 13px; width: 80px; height: 26px; @@ -46,61 +71,72 @@ color:#F65163; display: inline-block; text-align: center; } -.no-clear .clear{ + +.no-clear .clear { color: #FD8042; border: 1px solid #FD8042; } -.have-clear .clear{ + +.have-clear .clear { color: #1AAE93; border: 1px solid #1AAE93; } -.fail-clear .clear{ + +.fail-clear .clear { color: #F65163; border: 1px solid #F65163; } -.other-clear .clear{ + +.other-clear .clear { color: #0FBED9; border: 1px solid #0FBED9; } //3D库房 -.iframe_box{ +.iframe_box { width: 100%; height: calc(100vh - 285px); } -.warehouse{ + +.warehouse { display: flex; max-height: calc(100vh - 184px); overflow: hidden; - .warehouse-left{ + + .warehouse-left { flex: 1; } - .warehouse-right{ + + .warehouse-right { width: 458px; max-height: calc(100vh - 192px); } } -::v-deep .el-table__header-wrapper{ + +::v-deep .el-table__header-wrapper { background: url('~@/assets/images/table_head_bg.png') no-repeat !important; } -::v-deep .warehose-el-table .el-table__header .el-table__cell{ +::v-deep .warehose-el-table .el-table__header .el-table__cell { padding: 0; height: 30px; background: transparent; - .cell{ + + .cell { font-size: 14px; } } -::v-deep .light-blue{ + +::v-deep .light-blue { background-color: #011E4F !important; } -.title-arrow{ +.title-arrow { position: relative; width: 460px; - &::before{ - content:''; + + &::before { + content: ''; width: 36px; height: 12px; position: absolute; @@ -109,8 +145,9 @@ color:#F65163; transform: translateY(-50%); background: url('~@/assets/images/warehouse_arrow_right.png') no-repeat; } - &::after{ - content:''; + + &::after { + content: ''; width: 36px; height: 12px; position: absolute; @@ -120,7 +157,8 @@ color:#F65163; background: url('~@/assets/images/warehouse_arrow_left.png') no-repeat; } } -.table-title{ + +.table-title { color: #fff; font-size: 16px; text-align: center; @@ -128,38 +166,46 @@ color:#F65163; line-height: 40px; } -.warehouse-svg{ - margin:0 10px 1px 0; +.warehouse-svg { + margin: 0 10px 1px 0; } -::v-deep .el-tag.el-tag--info{ + +::v-deep .el-tag.el-tag--info { height: 26px; line-height: 26px; background-color: #13439E; border: none; color: #fff; } -::v-deep .el-tag.el-tag--info .el-tag__close{ + +::v-deep .el-tag.el-tag--info .el-tag__close { background-color: #fff; } //出入库 -.dpflex{ +.dpflex { display: flex; } -.orange-btn{ + +.orange-btn { background-color: #FD8042; border: none; - &.el-button.is-disabled, &.el-button.is-disabled:hover{ + + &.el-button.is-disabled, + &.el-button.is-disabled:hover { background-color: #7E4021; color: #666; } } -.green-btn{ + +.green-btn { background-color: #1AAE93; border: none; - &.el-button.is-disabled, &.el-button.is-disabled:hover{ + + &.el-button.is-disabled, + &.el-button.is-disabled:hover { background-color: #0D5649; color: #666; } -} \ No newline at end of file +} diff --git a/src/views/archivesManage/archivesList/archivesAnjuan/index.vue b/src/views/archivesManage/archivesList/archivesAnjuan/index.vue index 22880e7..e1e1a0c 100644 --- a/src/views/archivesManage/archivesList/archivesAnjuan/index.vue +++ b/src/views/archivesManage/archivesList/archivesAnjuan/index.vue @@ -178,7 +178,7 @@ diff --git a/src/views/archivesManage/lendManage/components/InputSelect.vue b/src/views/archivesManage/lendManage/components/InputSelect.vue deleted file mode 100644 index 6854a56..0000000 --- a/src/views/archivesManage/lendManage/components/InputSelect.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/archivesManage/lendManage/lendConfirm/module/archiveDetail.vue b/src/views/archivesManage/lendManage/components/archiveDetail.vue similarity index 72% rename from src/views/archivesManage/lendManage/lendConfirm/module/archiveDetail.vue rename to src/views/archivesManage/lendManage/components/archiveDetail.vue index cf34fec..3a0488e 100644 --- a/src/views/archivesManage/lendManage/lendConfirm/module/archiveDetail.vue +++ b/src/views/archivesManage/lendManage/components/archiveDetail.vue @@ -1,89 +1,93 @@ - - - - - + + + + + diff --git a/src/views/archivesManage/lendManage/components/delConfirm.vue b/src/views/archivesManage/lendManage/components/delConfirm.vue index 9a3f8ff..2e6498a 100644 --- a/src/views/archivesManage/lendManage/components/delConfirm.vue +++ b/src/views/archivesManage/lendManage/components/delConfirm.vue @@ -43,7 +43,6 @@ export default { }) }, handleClose() { - // console.log('handleClose') this.deleteVisible = false } } diff --git a/src/views/archivesManage/lendManage/index.vue b/src/views/archivesManage/lendManage/index.vue index 06f08f9..a85b204 100644 --- a/src/views/archivesManage/lendManage/index.vue +++ b/src/views/archivesManage/lendManage/index.vue @@ -15,9 +15,7 @@ - - diff --git a/src/views/archivesManage/lendManage/lendConfirm/index.vue b/src/views/archivesManage/lendManage/lendConfirm/index.vue index d3f65df..52ca14b 100644 --- a/src/views/archivesManage/lendManage/lendConfirm/index.vue +++ b/src/views/archivesManage/lendManage/lendConfirm/index.vue @@ -4,16 +4,14 @@ 借出 重新登记 移出 - 导出 + 导出 + - + + + + + - - @@ -52,9 +52,10 @@ import pagination from '@crud/Pagination' import CRUD, { presenter } from '@crud/crud' // import crudOperation from '@crud/CRUD.operation' -import delConfirm from '../components/delConfirm.vue' -import archiveDetail from './module/archiveDetail.vue' -import lendDialog from './module/lendDialog.vue' +import delConfirm from '../components/delConfirm' +import archiveDetail from '../components/archiveDetail' +import lendDialog from './module/lendDialog' +// import lendArchivesList from './module/lendArchivesList' import data1 from '../data1.json' export default { components: { pagination, archiveDetail, delConfirm, lendDialog }, @@ -99,7 +100,6 @@ export default { const arr = data1.rows.filter(item => item.docNum === row.docNum) archiveDetailDom.rowData = row archiveDetailDom.tableData = arr - console.log(arr) }, clickRowHandler(row) { this.$refs.table.toggleRowSelection(row) @@ -115,15 +115,14 @@ export default { this.$refs.delConfirmDom.deleteVisible = true } }, - cell({ row, columnIndex }) { - if (columnIndex === 11) { - return 'no-lend' - } - }, + // 借出 handleLendBtn() { if (this.selections.length > 0) { + // 离线 this.$refs.lendDialogDom.table = this.selections this.$refs.lendDialogDom.lendFormVisible = true + // 在线 + // this.$message.success('借阅成功 ' + this.selections.length + ' 条数据' + ' ' + '借阅失败0条数据') } } } @@ -132,13 +131,4 @@ export default { diff --git a/src/views/archivesManage/lendManage/lendConfirm/module/lendArchivesList.vue b/src/views/archivesManage/lendManage/lendConfirm/module/lendArchivesList.vue new file mode 100644 index 0000000..8a8232c --- /dev/null +++ b/src/views/archivesManage/lendManage/lendConfirm/module/lendArchivesList.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/views/archivesManage/lendManage/lendConfirm/module/lendDialog.vue b/src/views/archivesManage/lendManage/lendConfirm/module/lendDialog.vue index b5ffcdd..73c7073 100644 --- a/src/views/archivesManage/lendManage/lendConfirm/module/lendDialog.vue +++ b/src/views/archivesManage/lendManage/lendConfirm/module/lendDialog.vue @@ -1,23 +1,26 @@