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