|
|
|
@ -553,8 +553,8 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
FetchInitDocumentDetailsList(params).then(data => { |
|
|
|
// id,parents_id,reg_no,details_type,pass_location,read_type,tid,is_destroy,create_by,create_time,update_by,update_time |
|
|
|
// id,公文id,登记号,文件类别(1.原文 2.复印件),传阅所在位置,传阅状态,tid,是否销毁,创建人,创建时间,更新人,更新时间 |
|
|
|
// id,parents_id,reg_no,details_type,pass_location,folder_location,read_type,tid,is_destroy,create_by,create_time,update_by,update_time |
|
|
|
// id,公文id,登记号,文件类别(1.原文 2.复印件),传阅所在位置,文件夹所在位置,传阅状态,tid,是否销毁,创建人,创建时间,更新人,更新时间 |
|
|
|
const jsonData = this.convertData(data) |
|
|
|
const fileOriginal = jsonData.filter(item => item.details_type === 1) |
|
|
|
console.log('jsonData', jsonData) |
|
|
|
@ -567,7 +567,7 @@ export default { |
|
|
|
convertData(data) { |
|
|
|
return data.map(item => { |
|
|
|
const fieldNames = [ |
|
|
|
'id', 'parents_id', 'reg_no', 'details_type', 'pass_location', |
|
|
|
'id', 'parents_id', 'reg_no', 'details_type', 'pass_location', 'folder_location', |
|
|
|
'read_type', 'tid', 'is_destroy', 'create_by', 'create_time', |
|
|
|
'update_by', 'update_time' |
|
|
|
] |
|
|
|
|