|
|
|
@ -281,7 +281,11 @@ export default { |
|
|
|
this.getCategoryDataTree() |
|
|
|
if (this.crud.status.edit) { |
|
|
|
this.form.categoryId = this.form.category.id |
|
|
|
this.form.archivesClassId = this.form.archivesClass.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 |
|
|
|
} |
|
|
|
|