diff --git a/src/views/archivesManage/archivesCheck/module/checkDetail.vue b/src/views/archivesManage/archivesCheck/module/checkDetail.vue index f57b6da..f055c30 100644 --- a/src/views/archivesManage/archivesCheck/module/checkDetail.vue +++ b/src/views/archivesManage/archivesCheck/module/checkDetail.vue @@ -93,5 +93,8 @@ p{ flex: 1; } } - +::v-deep .el-dialog .el-dialog__header .el-dialog__close::before{ + position: absolute; + right: -155px; +} diff --git a/src/views/archivesManage/lendManage/toLend/index.vue b/src/views/archivesManage/lendManage/toLend/index.vue index f2553ff..268a37e 100644 --- a/src/views/archivesManage/lendManage/toLend/index.vue +++ b/src/views/archivesManage/lendManage/toLend/index.vue @@ -35,84 +35,7 @@ - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
+ @@ -129,13 +52,13 @@ import pagination from '@crud/Pagination' // import crudOperation from '@crud/CRUD.operation' import headSlot from '../components/headSlot.vue' -import DateRangePicker from '@/components/DateRangePicker' import CRUD, { presenter, crud } from '@crud/crud' import delConfirm from '../components/delConfirm.vue' import archiveDetail from './module/archiveDetail.vue' +import lendRecord from './module/lendRecord.vue' import data2 from '../data2.json' export default { - components: { headSlot, pagination, delConfirm, archiveDetail, DateRangePicker }, + components: { headSlot, pagination, delConfirm, archiveDetail, lendRecord }, mixins: [presenter(), crud()], cruds() { return CRUD({ @@ -153,26 +76,9 @@ export default { }, data() { return { - lendDates: '', tableData: [], selections: [], // 选中列表 - listName: '借出列表', - recordFormVisible: false, - recordForm: { - borrowerName: '', - tel: '', - departmentDatas: [], - idType: [], - idNumber: '', - lendDate: '', - borrowGoal: [] - }, - rules: { - borrowerName: [ - { required: true, message: '请输入姓名', trigger: 'blur' } - ], - tel: [{ required: true, message: '请输入电话号码', trigger: 'blur' }] - } + listName: '借出列表' } }, created() { @@ -184,7 +90,7 @@ export default { this.tableData = data2.rows }, handleRecord() { - this.recordFormVisible = true + this.$refs.lendRecordDom.recordFormVisible = true }, // 移出 handleRemove() { @@ -201,22 +107,8 @@ export default { }, clickRowHandler(row) { this.$refs.table.toggleRowSelection(row) // 单击选中 - }, - handleRecordConfirm() { - // console.log(this.lendDates) - this.$refs.recordFormDom.validate((valid) => { - if (valid) { - this.$message({ - message: '登记成功!', - type: 'success' - }) - this.recordFormVisible = false - } else { - this.$message.error('登记失败!') - return false - } - }) } + // cell({ row, columnIndex }) { // if (row.lendStatus === '待借' && columnIndex === 7) { // return 'no-lend' diff --git a/src/views/archivesManage/lendManage/toLend/module/lendRecord.vue b/src/views/archivesManage/lendManage/toLend/module/lendRecord.vue new file mode 100644 index 0000000..4209112 --- /dev/null +++ b/src/views/archivesManage/lendManage/toLend/module/lendRecord.vue @@ -0,0 +1,152 @@ + + + + + diff --git a/src/views/components/InputSelect.vue b/src/views/components/InputSelect.vue new file mode 100644 index 0000000..6854a56 --- /dev/null +++ b/src/views/components/InputSelect.vue @@ -0,0 +1,66 @@ + + + + +