From 0121dbfcd4b37b65414c955782d8a73a5ab40dfd Mon Sep 17 00:00:00 2001
From: xuhuajiao <13476289682@163.com>
Date: Wed, 21 May 2025 17:30:17 +0800
Subject: [PATCH] commit
---
package.json | 2 +
src/api/system/borrower.js | 21 +-
src/api/system/documentArchives.js | 48 +-
.../archivesMIOD/miodLibrary/index copy.vue | 925 ++++++++++++++++++
src/views/archivesMIOD/miodLibrary/index.vue | 521 +++++++++-
.../miodLibrary/module/detail.vue | 57 +-
.../miodLibrary/module/pdfViewer.vue | 290 ++++++
.../miodLibrary/module/pdfViewer2.vue | 610 ++++++++++++
.../miodLibrary/module/pdfViewer3.vue | 293 ++++++
.../miodLibrary/module/pdfViewer4.vue | 146 +++
src/views/archivesMIOD/miodRecord/index.vue | 10 -
src/views/components/category/PreviewForm.vue | 362 ++++++-
src/views/components/category/SettingForm.vue | 4 +-
src/views/system/borrowerManage/index.vue | 4 +-
14 files changed, 3179 insertions(+), 114 deletions(-)
create mode 100644 src/views/archivesMIOD/miodLibrary/index copy.vue
create mode 100644 src/views/archivesMIOD/miodLibrary/module/pdfViewer.vue
create mode 100644 src/views/archivesMIOD/miodLibrary/module/pdfViewer2.vue
create mode 100644 src/views/archivesMIOD/miodLibrary/module/pdfViewer3.vue
create mode 100644 src/views/archivesMIOD/miodLibrary/module/pdfViewer4.vue
diff --git a/package.json b/package.json
index 8b54828..b4c417d 100644
--- a/package.json
+++ b/package.json
@@ -60,6 +60,7 @@
"js-md5": "^0.7.3",
"js-sha1": "^0.6.0",
"jsencrypt": "^3.0.0-rc.1",
+ "jspdf": "^3.0.1",
"jsrsasign": "^10.3.0",
"jszip": "^3.7.0",
"jszip-utils": "^0.1.0",
@@ -96,6 +97,7 @@
"vue-highlightjs": "^1.3.3",
"vue-image-crop-upload": "^2.5.0",
"vue-katex": "^0.5.0",
+ "vue-pdf": "^4.3.0",
"vue-print-nb": "^1.7.5",
"vue-quill-editor": "^3.0.6",
"vue-resource": "^1.5.3",
diff --git a/src/api/system/borrower.js b/src/api/system/borrower.js
index 6a197aa..7ff3c68 100644
--- a/src/api/system/borrower.js
+++ b/src/api/system/borrower.js
@@ -17,11 +17,20 @@ export function edit(data) {
}
export function del(data) {
- // return request({
- // url: 'api/depts/delDepts',
- // method: 'post',
- // data
- // })
+ return request({
+ url: 'api/documentArchives/delBorrower',
+ method: 'post',
+ data
+ })
+}
+
+// 初始化阅读者管理
+export function FetchInitBorrowerList(params) {
+ return request({
+ url: 'api/documentArchives/initBorrowerList',
+ method: 'get',
+ params
+ })
}
-export default { add, edit, del }
+export default { add, edit, del, FetchInitBorrowerList }
diff --git a/src/api/system/documentArchives.js b/src/api/system/documentArchives.js
index 52086b7..34bc9e7 100644
--- a/src/api/system/documentArchives.js
+++ b/src/api/system/documentArchives.js
@@ -1,4 +1,5 @@
import request from '@/utils/request'
+import qs from 'qs'
// 初始化公文设置
export function FetchInitDocumentParam(params) {
@@ -72,6 +73,47 @@ export function FetchRegNoByDocumentIdAndDocDepartment(params) {
})
}
+// 彻底删除公文档案
+export function FetchCompleteDelArchives(data) {
+ return request({
+ url: 'api/documentArchives/completeDelArchives',
+ method: 'post',
+ data
+ })
+}
+
+// 恢复公文档案
+export function FetchRestoreArchives(data) {
+ return request({
+ url: 'api/documentArchives/restoreArchives',
+ method: 'post',
+ data
+ })
+}
+
+// 公文档案详情
+export function FetchArchivesDetails(params) {
+ return request({
+ url: 'api/documentArchives/archivesDetails',
+ method: 'get',
+ params
+ })
+}
+
+// 处理单信息
+export function FetchHandleDocument(params) {
+ return request({
+ url: 'api/documentArchives/getHandleDocument' + '?' + qs.stringify(params, { indices: false }),
+ method: 'get'
+ })
+}
+// export function FetchIsAuthByLookType(params) {
+// return request({
+// url: 'api/control/isAuthByLookType' + '?' + qs.stringify(params, { indices: false }),
+// method: 'get'
+// })
+// }
+
export default {
FetchInitDocumentParam,
updateDocumentParam,
@@ -80,5 +122,9 @@ export default {
FetchDoeditDocument,
miodEditDocument,
FetchDelArchives,
- FetchRegNoByDocumentIdAndDocDepartment
+ FetchRegNoByDocumentIdAndDocDepartment,
+ FetchCompleteDelArchives,
+ FetchRestoreArchives,
+ FetchArchivesDetails,
+ FetchHandleDocument
}
diff --git a/src/views/archivesMIOD/miodLibrary/index copy.vue b/src/views/archivesMIOD/miodLibrary/index copy.vue
new file mode 100644
index 0000000..6bceb59
--- /dev/null
+++ b/src/views/archivesMIOD/miodLibrary/index copy.vue
@@ -0,0 +1,925 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 重置
+
+
+
+
+ 新增
+
+ 编辑
+
+ 删除
+
+
+ 导出
+
+
+
+
+ 打印处理单
+
+
+
+
+ 恢复
+ 彻底删除
+
+
+
+
+
+
+
+
+
+
+
+ {{ field.fieldCnName }}
+
+
+
+
+
+ {{ scope.row[field.fieldName] }}
+
+ {{ scope.row[field.fieldName] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | 收文号 |
+ {{ formData.receiveNo }} |
+ 收文日期 |
+ {{ formData.receiveDate }} |
+ 缓急 |
+ {{ formData.urgency }} |
+
+
+
+
+
+
+ | 来文单位 |
+ {{ formData.senderUnit }} |
+ 来文字号 |
+ {{ formData.senderNo }} |
+ 密级 |
+ {{ formData.secrecyLevel }} |
+
+
+
+
+
+
+ | 提示 |
+ {{ formData.tip }} |
+
+
+
+
+
+
+ | 文件标题 |
+ {{ formData.fileTitle }} |
+
+
+
+
+
+
+ | 拟办意见 |
+ {{ formData.recommendation }} |
+
+
+
+
+
+
+ | 领导批示 |
+ {{ formData.leaderApproval }} |
+
+
+
+
+
+
+ | 部门阅办 |
+ {{ formData.departmentOpinion }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/archivesMIOD/miodLibrary/index.vue b/src/views/archivesMIOD/miodLibrary/index.vue
index 226dae9..298e8d4 100644
--- a/src/views/archivesMIOD/miodLibrary/index.vue
+++ b/src/views/archivesMIOD/miodLibrary/index.vue
@@ -34,8 +34,8 @@
- 恢复
- 彻底删除
+ 恢复
+ 彻底删除
@@ -130,16 +130,149 @@
+
+
-
+
+
+
-
+
diff --git a/src/views/archivesMIOD/miodLibrary/module/detail.vue b/src/views/archivesMIOD/miodLibrary/module/detail.vue
index 58d41d9..f48966e 100644
--- a/src/views/archivesMIOD/miodLibrary/module/detail.vue
+++ b/src/views/archivesMIOD/miodLibrary/module/detail.vue
@@ -112,7 +112,7 @@
+
+
diff --git a/src/views/archivesMIOD/miodLibrary/module/pdfViewer2.vue b/src/views/archivesMIOD/miodLibrary/module/pdfViewer2.vue
new file mode 100644
index 0000000..7a61367
--- /dev/null
+++ b/src/views/archivesMIOD/miodLibrary/module/pdfViewer2.vue
@@ -0,0 +1,610 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ field.content || '点击编辑' }}
+
+
+
+
+
+
字段属性
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ X: {{ formFields[selectedFieldIndex].x.toFixed(0) }}
+ Y: {{ formFields[selectedFieldIndex].y.toFixed(0) }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/archivesMIOD/miodLibrary/module/pdfViewer3.vue b/src/views/archivesMIOD/miodLibrary/module/pdfViewer3.vue
new file mode 100644
index 0000000..c48f004
--- /dev/null
+++ b/src/views/archivesMIOD/miodLibrary/module/pdfViewer3.vue
@@ -0,0 +1,293 @@
+
+// FormPreview.vue
+
+
+
+
+
+
+
+
diff --git a/src/views/archivesMIOD/miodLibrary/module/pdfViewer4.vue b/src/views/archivesMIOD/miodLibrary/module/pdfViewer4.vue
new file mode 100644
index 0000000..529b2b8
--- /dev/null
+++ b/src/views/archivesMIOD/miodLibrary/module/pdfViewer4.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+ 查看
+ 打印
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/archivesMIOD/miodRecord/index.vue b/src/views/archivesMIOD/miodRecord/index.vue
index 7d9d543..204c5cd 100644
--- a/src/views/archivesMIOD/miodRecord/index.vue
+++ b/src/views/archivesMIOD/miodRecord/index.vue
@@ -90,15 +90,6 @@ import DateRangePicker from '@/components/DateRangePicker'
import { FetchBusinessFlowDetails } from '@/api/archivesManage/library'
import MidoArchivesInfo from '@/views/archivesMIOD/miodLibrary/module/detail'
// import { parseTime } from '@/utils/index'
-const data = [{
- 'name': '张三',
- 'type': '个人',
- 'status': 1
-}, {
- 'name': '张三',
- 'type': '个人',
- 'status': 0
-}]
export default {
name: 'MiodRecord',
@@ -192,7 +183,6 @@ export default {
}
},
[CRUD.HOOK.afterRefresh](crud) {
- this.crud.data = data
},
resetQuery() {
this.clearInputValue()
diff --git a/src/views/components/category/PreviewForm.vue b/src/views/components/category/PreviewForm.vue
index 9444976..e4102f0 100644
--- a/src/views/components/category/PreviewForm.vue
+++ b/src/views/components/category/PreviewForm.vue
@@ -42,20 +42,15 @@
>
{{ getAutoNameUnknown(node.label) }}
-
-
-
-
-
+
+
+
@@ -79,6 +75,33 @@
+
+
+
+
+
+
+
+ {{ tag.borrowName }}
+
+
+
+
+
@@ -111,6 +134,10 @@
+
@@ -123,6 +150,11 @@
+
@@ -136,7 +168,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 部门
+ 个人
+
+
+
+
+
+
+ 未绑定
+ 已绑定
+
+
+
+
+
+ {{ scope.row.create_time | parseTime }}
+
+
+
+
+
+
+
+
@@ -147,6 +233,7 @@ import { collectAdd, collectEdit, FetchIsRepeatByArchivesNo, FetchIsRepeatAllByA
import { prearchEdit, FetchMergeToFile, FetchReDoeditIsRepeat } from '@/api/prearchiveLibrary/prearchiveLibrary'
import { miodEditDocument, FetchRegNoByDocumentIdAndDocDepartment } from '@/api/system/documentArchives'
import { getNoFormatField } from '@/api/system/category/fileNoFormat'
+import { FetchInitBorrowerList } from '@/api/system/borrower'
import draggable from 'vuedraggable'
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
@@ -254,14 +341,45 @@ export default {
entityIndex: null,
fileList: [],
archivesSummaryResponse: {},
- regNoArrayVal: []
+ regNoArrayVal: [],
+ deptsVisible: false,
+ deptsMiodTable: [],
+ pageDepts: {
+ page: 0,
+ size: 10,
+ total: 0
+ },
+ miodDeptsSelections: [],
+ miodDeptsTags: [],
+ deptsValid: false,
+ // 待选中的ID列表
+ pendingSelectionIds: []
}
},
computed: {
...mapGetters([
'baseApi',
'user'
- ])
+ ]),
+ filterParams() {
+ return {
+ page: this.pageDepts.page,
+ size: this.pageDepts.size
+ // keyword: this.searchKeyword.trim(),
+ // borrowType: this.onlyDept ? 1 : (this.onlyPerson ? 2 : null)
+ }
+ },
+ checkboxT() {
+ return (row, rowIndex) => {
+ console.log('currentFieldName', this.currentFieldName)
+ const findField = this.formPreviewData.find(item => item.fieldName === this.currentFieldName)
+ console.log('findField', findField)
+ if (findField.isRadio) {
+ return false // 单选模式禁用所有 checkbox
+ }
+ return row.level ? row.level === 3 : true // 多选模式下保留原逻辑
+ }
+ }
},
watch: {
selectedCategory: function(newValue, oldValue) {
@@ -286,6 +404,83 @@ export default {
mounted() {
},
methods: {
+ onDialogOpen() {
+ this.pendingSelectionIds = this.miodDeptsTags.map(tag => tag.id)
+ },
+ showDeptsDialog() {
+ this.deptsVisible = true
+ this.fetchDeptsList()
+ },
+ // 获取部门/人员列表
+ fetchDeptsList() {
+ // this.btnLoading = true
+
+ FetchInitBorrowerList(this.filterParams)
+ .then(res => {
+ this.deptsMiodTable = res.content || []
+ this.pageDepts.total = res.totalElements || 0
+
+ // 数据加载完成后恢复选中状态
+ this.restoreSelectionState()
+ })
+ .catch(error => {
+ this.$message.error('获取数据失败,请稍后重试')
+ console.error('获取部门/人员列表失败', error)
+ })
+ .finally(() => {
+ // this.btnLoading = false
+ })
+ },
+ // 恢复选中状态
+ restoreSelectionState() {
+ this.$nextTick(() => {
+ if (this.deptsMiodTable.length > 0 && this.pendingSelectionIds.length > 0) {
+ // 清空当前选中状态
+ this.$refs.deptsMiodTable.clearSelection()
+
+ // 恢复之前的选中状态
+ this.deptsMiodTable.forEach(row => {
+ if (this.pendingSelectionIds.includes(row.id)) {
+ this.$refs.deptsMiodTable.toggleRowSelection(row, true)
+ }
+ })
+
+ // 清空待选中ID列表
+ this.pendingSelectionIds = []
+ }
+ })
+ },
+
+ handleCloseDeptsTag(tag, event) {
+ event.stopPropagation() // 阻止事件冒泡到父元素
+ this.miodDeptsTags.splice(this.miodDeptsTags.indexOf(tag), 1)
+ if (this.miodDeptsTags.length === 0) {
+ this.$set(this.addOrUpdateForm, 'miodDepts', null)
+ }
+ },
+ handleComfireDepts() {
+ if (this.miodDeptsSelections.length === 0) {
+ this.$message.warning('请选择部门/人员')
+ return
+ }
+ this.miodDeptsTags = [...this.miodDeptsSelections]
+ this.deptsVisible = false
+ },
+ clickRowHandlerDepts(row) {
+ this.$refs.deptsMiodTable.toggleRowSelection(row)
+ },
+ selectionChangeHandlerDepts(val) {
+ this.miodDeptsSelections = val
+ },
+ handleSizeChange(size) {
+ this.pageDepts.size = size
+ this.pageDepts.page = 0
+ this.fetchDeptsList()
+ },
+ handleCurrentPage(pageVal) {
+ this.pageDepts.page = pageVal - 1
+ this.fetchDeptsList()
+ },
refreshTreeList() {
this.$emit('refreshTree')
},
@@ -308,9 +503,9 @@ export default {
handleErrorResource(res) {
console.log('handleErrorResource', res)
},
- checkboxT(row, rowIndex) {
- return row.level ? row.level === 3 : true
- },
+ // checkboxT(row, rowIndex) {
+ // return row.level ? row.level === 3 : true
+ // },
normalizer(node) {
if ((node.childDictionarys && !node.childDictionarys.length) || node.childDictionarys === null) {
delete node.childDictionarys
@@ -395,7 +590,6 @@ export default {
},
// 自动生成
handleAuto() {
- console.log('handleAuto')
let string = ''
const getAutoFiledVal = []
this.autoMatic.forEach(async val => {
@@ -670,17 +864,12 @@ export default {
}
// && this.isDesFormType !== 'mergeFile'
if (this.isDesFormType !== 'prearchiveLibrary' && this.isDesFormType !== 'miodLibrary') {
- console.log('333 isAutomatic')
console.log('item', item)
- console.log('item.isAutomatic)', item.fieldName)
- console.log('item.isAutomatic)', item.isAutomatic)
if (item.fieldName !== 'archive_no') {
// 修改这里,使用 async/await
this.FetchNoFormatField(this.selectedCategory.id).then(() => {
const index = this.autoMatic.findIndex(i => item.fieldName === i.fieldName)
- console.log('index', index)
- console.log(!item.isAutomatic && index !== -1)
if (!item.isAutomatic && index !== -1) {
this.handleAuto()
}
@@ -689,7 +878,6 @@ export default {
}
if (this.isDesFormType === 'miodLibrary' && this.archivesType === 'add') {
if (item.fieldName === 'archive_year' || item.fieldName === 'doc_department') {
- console.log('111')
this.handleRegNo(item.fieldName, this.addOrUpdateForm[item.fieldName])
}
}
@@ -767,9 +955,6 @@ export default {
},
// tree - select
selectTree(val) {
- // console.log('val2222', val)
- // console.log('this.treeCurrentFiled', this.treeCurrentFiled)
-
if (val.fondsNo) {
this.addOrUpdateForm[this.treeCurrentFiled.fieldName] = val.fondsName
} else if (val.name) {
@@ -799,9 +984,6 @@ export default {
}
// && this.isDesFormType !== 'mergeFile'
if (this.isDesFormType !== 'prearchiveLibrary' && this.isDesFormType !== 'miodLibrary') {
- console.log('555555')
- console.log('this.autoMatic', this.autoMatic)
- console.log('this.treeCurrentFiled.fieldNam', this.treeCurrentFiled.fieldName)
if (this.archivesType === 'edit') {
this.FetchNoFormatField(this.selectedCategory.id)
}
@@ -824,32 +1006,52 @@ export default {
// popover - table 单选
clickRowHandler(row) {
- this.$refs.popoverTable.clearSelection()
- if (!row.level || row.level === 3) {
- this.$refs.popoverTable.toggleRowSelection(row)
- } else {
- return false
+ // this.$refs.popoverTable.clearSelection()
+ // if (!row.level || row.level === 3) {
+ // this.$refs.popoverTable.toggleRowSelection(row)
+ // } else {
+ // return false
+ // }
+ const findField = this.formPreviewData.find(item => item.fieldName === this.currentFieldName)
+ console.log('findField', findField)
+
+ if (findField.isRadio) {
+ // 单选模式下,仅允许选择 level === 3 的行
+ if (row.level && row.level !== 3) return
+
+ // 清除原有选中
+ this.$refs.popoverTable.clearSelection()
+ // 选中当前行
+ this.$refs.popoverTable.toggleRowSelection(row, true)
+ this.singleSelection = row // 存储单选结果
}
},
// popover - table 选中得项
handleSelectionChange(val) {
- if (val.length > 0) {
- if (this.isTableType === 1) {
- this.addOrUpdateForm[this.currentFieldName] = val[0].fondsNo
- } else if (this.isTableType === 2 && this.isDesFormType !== 'prearchiveLibrary') {
- this.addOrUpdateForm[this.currentFieldName] = val[0].code
- } else {
- this.addOrUpdateForm[this.currentFieldName] = val[0].dictionaryName
+ console.log('this.currentFieldName', this.currentFieldName)
+ console.log('val', val)
+ this.popoverSelections = val
+
+ const findField = this.formPreviewData.find(item => item.fieldName === this.currentFieldName)
+ console.log('findField', findField)
+ if (!findField.isRadio) {
+ if (val.length > 0) {
+ if (this.isTableType === 1) {
+ this.addOrUpdateForm[this.currentFieldName] = val[0].fondsNo
+ } else if (this.isTableType === 2 && this.isDesFormType !== 'prearchiveLibrary') {
+ this.addOrUpdateForm[this.currentFieldName] = val[0].code
+ } else {
+ this.addOrUpdateForm[this.currentFieldName] = val[0].dictionaryName
+ }
}
+ this.$refs.popoverTable.clearSelection()
+ this.popoverVisible = false
+ this.popoverClassifyVisible = false
+ this.popoverFondsVisible = false
}
- this.$refs.popoverTable.clearSelection()
- this.popoverVisible = false
- this.popoverClassifyVisible = false
- this.popoverFondsVisible = false
// && this.isDesFormType !== 'mergeFile'
if (this.isDesFormType !== 'prearchiveLibrary') {
- console.log('222')
if (this.archivesType === 'edit') {
this.FetchNoFormatField(this.selectedCategory.id)
}
@@ -861,6 +1063,14 @@ export default {
}
}
},
+ handleComfirePopover() {
+ const namesWithLineBreaks = this.popoverSelections.map(item => item.dictionaryName).join('\n')
+ this.addOrUpdateForm[this.currentFieldName] = namesWithLineBreaks
+ console.log('namesWithLineBreaks', namesWithLineBreaks)
+ this.popoverVisible = false
+ this.popoverClassifyVisible = false
+ this.popoverFondsVisible = false
+ },
// popover - 当前选中得
handleCurrentFieldName(item) {
this.currentFieldName = item.fieldName
@@ -898,6 +1108,9 @@ export default {
if (this.isDesFormType === 'prearchiveLibrary' && this.archivesType === 'add') {
this.$set(this.addOrUpdateForm, 'fileOriginal', null)
}
+ if (this.isDesFormType === 'miodLibrary') {
+ this.$set(this.addOrUpdateForm, 'miodDepts', null)
+ }
this.formPreviewData.map(item => {
if (item.isInputClass === 'select') {
this.$set(item, 'options', [])
@@ -1006,7 +1219,6 @@ export default {
}
if (isRequired && value === '') {
- console.log('rule.message', item.isInputClass)
rule.message = (item.isInputClass !== 'select' || item.isInputClass !== 'date' || item.isInputClass !== 'popover') ? `请输入${item.fieldCnName}` : `请选择${item.fieldCnName}`
callback(new Error(rule.message))
return
@@ -1074,6 +1286,7 @@ export default {
}
},
submitForm(formName, categoryId, quickPaperArcId, arcAddType) {
+ this.deptsValid = true
let isValid = true
// 时间格式化
this.formPreviewData.map(item => {
@@ -1097,11 +1310,14 @@ export default {
this.addOrUpdateForm.fonds_affiliation = this.selectedCategory.fondsId
}
+ if (this.miodDeptsTags.length !== 0) {
+ const ids = this.miodDeptsTags.map(item => item.id)
+ this.$set(this.addOrUpdateForm, 'miodDepts', ids)
+ }
+
console.log('this.addOrUpdateForm', this.addOrUpdateForm)
- console.log('this.addOrUpdateForm.archive_no', this.addOrUpdateForm.archive_no)
this.$refs[formName].validate((valid, fields) => {
- console.log('fields', fields)
if (valid && isValid) {
delete this.addOrUpdateForm.id
this.$emit('formLoadingShow', true)
@@ -1289,6 +1505,7 @@ export default {
this.popoverTableData = []
this.popoverTableDataClassify = []
this.popoverTableDataFonds = []
+ this.deptsVisible = false
done()
},
// 选择附件
@@ -1576,4 +1793,51 @@ export default {
font-size: 12px;
color: #ff4949;
}
+
+.miod-form-bottom{
+ ::v-deep .el-form-item__label{
+ width: 160px !important;
+ }
+ ::v-deep .el-form-item__content{
+ margin-left: 160px !important;
+ }
+}
+
+.miod-depts-dialog{
+ ::v-deep .el-dialog{
+ width: 800px;
+ }
+}
+.miod-depts-input{
+ width: 500px;
+ height: 80px;
+ padding: 5px 15px;
+ border: 1px solid #e6e8ed;
+ border-radius: 4px;
+ margin-bottom: 4px;
+ &.null-input{
+ border-color: #ed4a41;
+ }
+ .el-tag{
+ margin-right: 10px;
+ &.no-depts{
+ border-color: #07A35A;
+ color: #07A35A;
+ background-color: #e0fcef;
+ ::v-deep .el-icon-close{
+ color: #07A35A !important;
+ }
+ }
+ }
+}
+.mulit-input{
+ ::v-deep .el-textarea__inner{
+ padding-right: 34px;
+ }
+}
+.mulit-input-icon{
+ position: absolute;
+ right: -303px;
+ top: -17px;
+}
diff --git a/src/views/components/category/SettingForm.vue b/src/views/components/category/SettingForm.vue
index 235e3ca..586dec5 100644
--- a/src/views/components/category/SettingForm.vue
+++ b/src/views/components/category/SettingForm.vue
@@ -74,7 +74,7 @@
允许多选
-
+
自动补零
@@ -344,7 +344,7 @@ export default {
}
this.form.isFilling = false
this.form.fillingDigit = null
- this.form.isMuitle = null
+ this.form.isRadio = null
}
// 字段类型为数字型,且默认著录类型为数字框不可更改
if (this.form.isDataType === 2 && this.form.isInputClass !== 'number') {
diff --git a/src/views/system/borrowerManage/index.vue b/src/views/system/borrowerManage/index.vue
index e44e537..a5c4bbd 100644
--- a/src/views/system/borrowerManage/index.vue
+++ b/src/views/system/borrowerManage/index.vue
@@ -71,6 +71,7 @@
+
@@ -107,6 +108,7 @@ import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import CRUD, { presenter, header, form, crud } from '@crud/crud'
import rrOperation from '@crud/RR.operation'
import crudOperation from '@crud/CRUD.operation'
+import pagination from '@crud/Pagination'
import { exportFile } from '@/utils/index'
import qs from 'qs'
import { mapGetters } from 'vuex'
@@ -117,7 +119,7 @@ import BindingTagDlg from '@/views/components/BindingTagDlg'
const defaultForm = { id: null, borrowType: 1, borrowName: null, remarks: null }
export default {
name: 'BorrowerManage',
- components: { crudOperation, rrOperation, BindingTagDlg },
+ components: { crudOperation, rrOperation, pagination, BindingTagDlg },
cruds() {
return CRUD({
title: '借阅者',