From 28af88d6fb5d519e2ba49d4f8f099f67a9b979c4 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 15 Nov 2023 17:29:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=85=B1=E7=AD=9B=E9=80=89/=E5=BF=AB?= =?UTF-8?q?=E9=80=9F=E7=AD=9B=E9=80=89/=E6=94=B6=E9=9B=86=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict.js | 25 +- src/assets/styles/archives-manage.scss | 88 ++- .../managementLibrary/anjuan/tableList.vue | 24 +- .../managementLibrary/file/index.vue | 14 +- .../managementLibrary/index.vue | 20 +- .../managementLibrary/juannei/index.vue | 17 +- .../managementLibrary/mixins/index.js | 13 +- .../module/collectHeader.vue | 27 +- .../managementLibrary/project/index.vue | 15 +- .../collectionLibrary/anjuan/tableList.vue | 19 +- .../collectionLibrary/index.vue | 88 ++- .../collectionLibrary/juannei/index.vue | 6 +- .../module/collectHeader.vue | 661 +++++++++++------- .../module/fileNumberAdjustment/index.vue | 123 ++-- .../module/fileSeqAdjustment/index.vue | 9 - .../collectionLibrary/project/index.vue | 7 +- src/views/components/BindingTagDlg.vue | 19 +- src/views/components/category/PreviewForm.vue | 158 ++++- src/views/components/category/SettingForm.vue | 2 +- .../publicScreening/index.vue | 64 +- 20 files changed, 855 insertions(+), 544 deletions(-) diff --git a/src/api/system/dict.js b/src/api/system/dict.js index ffaf573..14218d5 100644 --- a/src/api/system/dict.js +++ b/src/api/system/dict.js @@ -1,12 +1,12 @@ import request from '@/utils/request' -// export function getDictsList(params) { -// return request({ -// url: 'api/dictionary/initDictionaryList', -// method: 'get', -// params -// }) -// } +export function FetchDictsList(params) { + return request({ + url: 'api/dictionary/initDictionaryList', + method: 'get', + params + }) +} export function add(data) { return request({ @@ -48,4 +48,13 @@ export function FetchSonDictionaryList(params) { }) } -export default { add, edit, del, FetchDictionaryTree, FetchSonDictionaryList } +// 快速筛选 +export function FetchDictionaryTreeByCategoryId(params) { + return request({ + url: 'api/dictionary/getDictionaryTreeByCategoryId', + method: 'get', + params + }) +} + +export default { add, edit, del, FetchDictsList, FetchDictionaryTree, FetchSonDictionaryList, FetchDictionaryTreeByCategoryId } diff --git a/src/assets/styles/archives-manage.scss b/src/assets/styles/archives-manage.scss index c148269..8d79861 100644 --- a/src/assets/styles/archives-manage.scss +++ b/src/assets/styles/archives-manage.scss @@ -324,53 +324,74 @@ content: ""; position: absolute; left: 15px; - top: 10px; - width: 1px; - height: 100%; - background-color: #3A99FD; + top: 32px; + width: 2px; + height: 45px; + // background-color: #0348F3; + border-left: 2px solid #0348F3; + opacity: 0.3; z-index: 1; } &:last-child::before{ display: none; } + &.step-active{ + &::before{ + opacity: 0.3; + } + } + &.step-loading{ + &::before{ + opacity: 1; + border-left: 2px dashed #0348F3; + } + } } .step-left-num{ position: relative; display: block; width: 30px; height: 30px; - line-height: 30px; + line-height: 28px; border-radius: 50%; font-size: 16px; text-align: center; - color: #fff; - border: 1px solid $mainColor; - background-color: $boxBg; + color: #0348F3; + border: 2px solid #0348F3; + // background-color: #0348F3; + opacity: 0.3; z-index: 4; &.step-active{ - background-color: $mainColor; + color: #fff; + background-color:#0348F3; + opacity: 1; } &.step-loading{ + color: #0348F3; + border: 2px solid #0348F3; + background-color: #fff; &::before, &::after{ content: ""; position: absolute; left: 50%; top: 50%; - width: 40px; - height: 40px; - border-radius: 50%; - border: 1px solid #13439E; - box-shadow: inset 0px 0px 8px 1px #13439E; + // width: 40px; + // height: 40px; + // border-radius: 50%; + // color: #0348F3; + // border: 2px solid #0348F3; + // background-color: #fff; + // box-shadow: inset 0px 0px 8px 1px #0348F3; margin: -20px 0 0 -20px; z-index: 1; } - &::before{ - animation: halo 2s linear 0.5s infinite; - } - &::after{ - animation: halo 2s linear 1.5s infinite; - } + // &::before{ + // animation: halo 2s linear 0.5s infinite; + // } + // &::after{ + // animation: halo 2s linear 1.5s infinite; + // } } } // 晕开效果 @@ -405,26 +426,27 @@ flex: 1; margin-left: 12px; .step-title{ + font-size: 16px; line-height: 30px; - color: $mainColor; + color: #0348F3; span{ padding-left: 10px; - font-weight: bold; - color: #fff; + // font-weight: bold; + color: #0C0E1E; } } .step-tip{ padding: 0 10px; height: 40px; line-height: 40px; - color: #13439E; - background-color: #02255F; + color: #A6ADB6; + background-color: #EDEFF3; border-radius: 4px; &.tip-active{ - color: $mainColor; + color: #545B65; } &.tip-error{ - color: #EF3147; + color: #ED4A41; } } } @@ -799,7 +821,7 @@ } } .head-search{ - margin-right: 60px; + margin-right: 30px; .el-button{ margin-left: 10px; } @@ -920,4 +942,14 @@ padding: 0 20px 10px 20px; text-align: right; color: #545B65; +} + + +.drag-tip { + display: block; + padding-left: 20px; + padding-bottom: 10px; + font-style: normal; + font-weight: bold; + font-size: 12px; } \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/anjuan/tableList.vue b/src/views/archivesManage/managementLibrary/anjuan/tableList.vue index ac4f594..ce6ebfd 100644 --- a/src/views/archivesManage/managementLibrary/anjuan/tableList.vue +++ b/src/views/archivesManage/managementLibrary/anjuan/tableList.vue @@ -37,14 +37,15 @@ {{ scope.row[field.fieldName] }} - + + - + - + + import { header, form } from '@crud/crud' -import { collectionLibraryCrud } from '../mixins/index' +import { manageLibraryCrud } from '../mixins/index' import ArchivesInfo from '../module/archivesInfo/index' import CollectHeader from '../module/collectHeader' @@ -105,7 +107,7 @@ export default { mixins: [ header(), form({}), - collectionLibraryCrud + manageLibraryCrud ], props: { isTitleType: { @@ -171,17 +173,6 @@ export default { this.$parent.$parent.$emit('openJuannei', data) } }, - // table选中加上选中状态 - tableRowClassName({ row, rowIndex }) { - // console.log('添加类名', row, rowIndex) - let color = '' - this.selections.forEach(item => { - if (item.id === row.id) { - color = 'rowStyle' - } - }) - return color - }, // table - 全选 selectAll(val) { this.selections = val @@ -225,6 +216,7 @@ export default { // 触发单选 handleCurrentChange(selection, row) { console.log('触发单选', row) + console.log('selection', selection) this.selections = selection }, handleSizeChange(size) { diff --git a/src/views/archivesManage/managementLibrary/file/index.vue b/src/views/archivesManage/managementLibrary/file/index.vue index 6fba6b6..9a89d64 100644 --- a/src/views/archivesManage/managementLibrary/file/index.vue +++ b/src/views/archivesManage/managementLibrary/file/index.vue @@ -68,7 +68,7 @@ diff --git a/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue b/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue index 6d8502d..d5f21a3 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue @@ -1,7 +1,7 @@ @@ -140,12 +139,4 @@ export default { flex: 1; } } -.drag-tip { - display: block; - padding-left: 20px; - padding-bottom: 10px; - font-style: normal; - font-weight: bold; - font-size: 12px; -} diff --git a/src/views/collectReorganizi/collectionLibrary/project/index.vue b/src/views/collectReorganizi/collectionLibrary/project/index.vue index 54f078a..6dc529b 100644 --- a/src/views/collectReorganizi/collectionLibrary/project/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/project/index.vue @@ -59,6 +59,9 @@ import { collectionLibraryCrud } from '../mixins/index' import { header, form } from '@crud/crud' import CollectHeader from '../module/collectHeader.vue' import ArchivesInfo from '../module/archivesInfo/index' + +import tableData from '@/views/archivesManage/managementLibrary/anjuan/table.json' +import jsonData from '@/views/archivesManage/managementLibrary/anjuan/data.json' export default { name: 'Project', components: { CollectHeader, ArchivesInfo }, @@ -99,6 +102,8 @@ export default { } }, created() { + this.tableDisplayFields = tableData.data + this.projectData = jsonData.data.list.content }, mounted() { }, @@ -147,7 +152,7 @@ export default { clearTimeout(this.timer) } this.timer = setTimeout(() => { - this.openAnjuan(row.item_no) + this.openAnjuan('所属项目' + row.archive_no) }, 300) this.selections = this.crud.selections }, diff --git a/src/views/components/BindingTagDlg.vue b/src/views/components/BindingTagDlg.vue index 1e1d99a..d18298f 100644 --- a/src/views/components/BindingTagDlg.vue +++ b/src/views/components/BindingTagDlg.vue @@ -1,6 +1,6 @@