@@ -404,7 +404,6 @@ export default {
|
||||
} else {
|
||||
let dataArray = this.getDataPath([data])
|
||||
let files = this.formatDownloadFile(dataArray)
|
||||
console.log(files, 'files')
|
||||
let name = `${data.Name}_${new Date().getTime()}.zip`
|
||||
return await downLoadFile(files, name, 'zip')
|
||||
}
|
||||
@@ -490,7 +489,6 @@ export default {
|
||||
},
|
||||
getDataPath(list, str = '', ARRAY = []) {
|
||||
for (const item of list) {
|
||||
console.log(item.AuditDocumentTypeEnum, str)
|
||||
if (!str) {
|
||||
item.Path = item.Name
|
||||
} else {
|
||||
@@ -744,7 +742,6 @@ export default {
|
||||
// 新增列表数据
|
||||
async uplaodFile(list) {
|
||||
if (!this.isManage) return false
|
||||
console.log(list, 'list')
|
||||
let data = []
|
||||
if (this.config.isVersion) {
|
||||
data.push({
|
||||
@@ -817,7 +814,6 @@ export default {
|
||||
strKey.push(str)
|
||||
|
||||
})
|
||||
console.log(obj, 'obj')
|
||||
obj.children.push({
|
||||
ParentId: null,
|
||||
Name: item.FileName,
|
||||
@@ -1033,7 +1029,7 @@ export default {
|
||||
handleMenu(data) {
|
||||
if (!this.isManage) return false
|
||||
let { key, row } = data
|
||||
console.log(key, row)
|
||||
// console.log(key, row)
|
||||
this.type = key;
|
||||
if (key === 'rename') {
|
||||
// this.renameId = this.checkList[0]
|
||||
|
||||
Reference in New Issue
Block a user