档案多维度分类管理功能

This commit is contained in:
lSun 2025-11-26 09:38:04 +08:00
parent 42759b3574
commit 3e4c8c7a08
1 changed files with 4 additions and 3 deletions

View File

@ -62,7 +62,7 @@ export default {
column: [
{
label: '档案相关类型',
prop: 'pid', //使 key
prop: 'fileRelatedId', //使 key
type: 'select', //
dicUrl: '/blade-system/system/dict/data/type', //
dicMethod: 'post', // POST
@ -96,7 +96,7 @@ export default {
},
{
label: '维度',
prop: 'pid', //使 key
prop: 'fileRelatedId', //使 key
type: 'select', //
dicUrl: '/blade-system/system/dict/data/type', //
dicMethod: 'post', // POST
@ -231,7 +231,8 @@ export default {
},
beforeOpen(done, type) {
if (['edit', 'view'].includes(type)) {
detail(this.form.id).then(res => {
let data = {id:this.form.id};
detail(data).then(res => {
this.form = res.data.data;
});
}