档案管理
This commit is contained in:
parent
5ad60bcfbe
commit
8a77ac592f
|
|
@ -179,15 +179,19 @@ export default {
|
|||
this.belongName = this.rowData.belongName;
|
||||
this.detailStatus = this.rowData.detailStatus;
|
||||
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
|
||||
|
||||
const res2 = await getFileManageByIdApi({id:this.rowData.id});
|
||||
const obj =res2.data;
|
||||
console.error(obj);
|
||||
// 编辑模式:填充表单数据
|
||||
this.form = {
|
||||
id: this.rowData.id,
|
||||
contentName: this.rowData.contentName || null,
|
||||
term: this.rowData.term || null,
|
||||
major: this.rowData.major || null,
|
||||
unitName: this.rowData.unitName || null,
|
||||
markCode: this.rowData.markCode || null,
|
||||
classifyMark: this.rowData.classifyMark || null,
|
||||
id: obj.id,
|
||||
contentName: obj.contentName || null,
|
||||
term: obj.term || null,
|
||||
major: obj.major || null,
|
||||
unitName: obj.unitName || null,
|
||||
markCode: obj.markCode || null,
|
||||
classifyMark: obj.classifyMark || null,
|
||||
parentId: this.rowData.parentId || null,
|
||||
level: 5,
|
||||
proId:this.projectId
|
||||
|
|
|
|||
Loading…
Reference in New Issue