10 changed files with 318 additions and 105 deletions
-
11src/api/system/category/category.js
-
11src/api/system/fieldMate.js
-
13src/api/system/fileLibrary/fileLibrary.js
-
10src/views/system/archivesCategory/index.vue
-
205src/views/system/fieldCorresManage/index.vue
-
22src/views/system/fieldCorresManage/module/data.json
-
89src/views/system/fieldCorresManage/module/detail.vue
-
52src/views/system/fieldCorresManage/module/form.vue
-
4src/views/system/fileLibraryManage/descriptionPreview/index.vue
-
4src/views/system/fileLibraryManage/listBrowsing/index.vue
@ -1,22 +0,0 @@ |
|||
[ |
|||
{ |
|||
"id": 1, |
|||
"label": "字段A", |
|||
"isType": 1 |
|||
}, |
|||
{ |
|||
"id": 2, |
|||
"label": "字段B", |
|||
"isType": 0 |
|||
}, |
|||
{ |
|||
"id": 3, |
|||
"label": "字段C", |
|||
"isType": 1 |
|||
}, |
|||
{ |
|||
"id": 4, |
|||
"label": "字段D", |
|||
"isType": 1 |
|||
} |
|||
] |
@ -0,0 +1,89 @@ |
|||
<template> |
|||
<el-dialog |
|||
append-to-body |
|||
:close-on-click-modal="false" |
|||
:before-close="handleClose" |
|||
:visible="detailVisible" |
|||
title="对应关系" |
|||
> |
|||
<span class="dialog-right-top" /> |
|||
<span class="dialog-left-bottom" /> |
|||
<div class="setting-dialog"> |
|||
<div class="detail-top"> |
|||
<span>规则名称:</span> |
|||
<p>{{ detailData.ruleName }}</p> |
|||
</div> |
|||
<div class="corres-field-main"> |
|||
<div class="corres-field-list corres-field-middle"> |
|||
<div class="corres-field-title"> |
|||
<p>源分类(文件库-文件表)</p> |
|||
<span>{{ detailData.documentName }}</span> |
|||
</div> |
|||
<div class="field-list"> |
|||
<div v-for="(item, index) in detailData.fieldMateDetails" :key="index" class="field-item"> |
|||
<p> |
|||
{{ item.documentFieldId.fieldCnName }} |
|||
</p> |
|||
<div class="field-state"><span :class=" item.isDisplay ? 'is-select' : 'is-hide'">{{ item.isDisplay ? '显示': '隐藏' }}</span></div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="corres-field-list corres-field-right"> |
|||
<div class="corres-field-title"> |
|||
<p>目标门类(整理库/管理库-文件表)</p> |
|||
<span>{{ detailData.categoryName }}</span> |
|||
</div> |
|||
<div class="field-list"> |
|||
<div v-for="(item,index) in detailData.fieldMateDetails" :key="index" class="field-item"> |
|||
<p>{{ item.categoryFieldId.fieldCnName }}</p> |
|||
<div class="field-state"><span :class=" item.isDisplay ? 'is-select' : 'is-hide'">{{ item.isDisplay ? '显示': '隐藏' }}</span></div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div slot="footer" class="dialog-footer"> |
|||
<el-button type="primary" @click="detailVisible = falseS"> 确定 </el-button> |
|||
</div> |
|||
</div> |
|||
</el-dialog> |
|||
</template> |
|||
|
|||
<script> |
|||
import { crud } from '@crud/crud' |
|||
export default { |
|||
mixins: [crud()], |
|||
props: { |
|||
}, |
|||
data() { |
|||
return { |
|||
title: '对应关系', |
|||
detailVisible: false, |
|||
detailData: {} |
|||
} |
|||
}, |
|||
created() { |
|||
}, |
|||
mounted() { |
|||
}, |
|||
methods: { |
|||
handleClose() { |
|||
this.detailVisible = false |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
::v-deep .el-dialog { |
|||
width: 829px; |
|||
.el-dialog__body{ |
|||
.detail-top{ |
|||
display: flex; |
|||
justify-content: center; |
|||
margin-bottom: 30px; |
|||
color: #0c0e1e; |
|||
font-weight: bold; |
|||
} |
|||
} |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue