档案管理
This commit is contained in:
parent
5ad60bcfbe
commit
8a77ac592f
|
|
@ -179,15 +179,19 @@ export default {
|
||||||
this.belongName = this.rowData.belongName;
|
this.belongName = this.rowData.belongName;
|
||||||
this.detailStatus = this.rowData.detailStatus;
|
this.detailStatus = this.rowData.detailStatus;
|
||||||
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
|
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 = {
|
this.form = {
|
||||||
id: this.rowData.id,
|
id: obj.id,
|
||||||
contentName: this.rowData.contentName || null,
|
contentName: obj.contentName || null,
|
||||||
term: this.rowData.term || null,
|
term: obj.term || null,
|
||||||
major: this.rowData.major || null,
|
major: obj.major || null,
|
||||||
unitName: this.rowData.unitName || null,
|
unitName: obj.unitName || null,
|
||||||
markCode: this.rowData.markCode || null,
|
markCode: obj.markCode || null,
|
||||||
classifyMark: this.rowData.classifyMark || null,
|
classifyMark: obj.classifyMark || null,
|
||||||
parentId: this.rowData.parentId || null,
|
parentId: this.rowData.parentId || null,
|
||||||
level: 5,
|
level: 5,
|
||||||
proId:this.projectId
|
proId:this.projectId
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue