Browse Source

归档范围-分类id

master
xuhuajiao 3 months ago
parent
commit
98cbe4de5f
  1. 6
      src/views/system/archiveScopeManage/module/tableList.vue

6
src/views/system/archiveScopeManage/module/tableList.vue

@ -281,7 +281,11 @@ export default {
this.getCategoryDataTree()
if (this.crud.status.edit) {
this.form.categoryId = this.form.category.id
if (this.form.archivesClass) {
this.form.archivesClassId = this.form.archivesClass.id
} else {
this.form.archivesClassId = null
}
this.getScopeTree(this.form.category.id)
this.getClassifyTree(this.form.category.id)
} else {
@ -516,7 +520,7 @@ export default {
delete node.childArchivesClass
}
return {
id: node.code,
id: node.id,
label: `${node.name} - ${node.code}`,
children: node.childArchivesClass
}

Loading…
Cancel
Save