修改导出接口
This commit is contained in:
@@ -48,15 +48,15 @@
|
||||
disabled: true,
|
||||
children: [
|
||||
{ title: 'leaf', key: '0-0-0-0' },
|
||||
{ title: 'leaf', key: '0-0-0-1' },
|
||||
],
|
||||
{ title: 'leaf', key: '0-0-0-1' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'parent 1-1',
|
||||
key: '0-0-1',
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }],
|
||||
},
|
||||
],
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
title: 'parent 1',
|
||||
key: '0-0',
|
||||
@@ -67,15 +67,15 @@
|
||||
disabled: true,
|
||||
children: [
|
||||
{ title: 'leaf', key: '0-0-0-0' },
|
||||
{ title: 'leaf', key: '0-0-0-1' },
|
||||
],
|
||||
{ title: 'leaf', key: '0-0-0-1' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'parent 1-1',
|
||||
key: '0-0-1',
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }],
|
||||
},
|
||||
],
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
title: 'parent 1',
|
||||
key: '0-0',
|
||||
@@ -86,15 +86,15 @@
|
||||
disabled: true,
|
||||
children: [
|
||||
{ title: 'leaf', key: '0-0-0-0' },
|
||||
{ title: 'leaf', key: '0-0-0-1' },
|
||||
],
|
||||
{ title: 'leaf', key: '0-0-0-1' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'parent 1-1',
|
||||
key: '0-0-1',
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }],
|
||||
},
|
||||
],
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
title: 'parent 1',
|
||||
key: '0-0',
|
||||
@@ -105,15 +105,15 @@
|
||||
disabled: true,
|
||||
children: [
|
||||
{ title: 'leaf', key: '0-0-0-0' },
|
||||
{ title: 'leaf', key: '0-0-0-1' },
|
||||
],
|
||||
{ title: 'leaf', key: '0-0-0-1' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'parent 1-1',
|
||||
key: '0-0-1',
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }],
|
||||
},
|
||||
],
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
title: 'parent 1',
|
||||
key: '0-0',
|
||||
@@ -124,15 +124,15 @@
|
||||
disabled: true,
|
||||
children: [
|
||||
{ title: 'leaf', key: '0-0-0-0' },
|
||||
{ title: 'leaf', key: '0-0-0-1' },
|
||||
],
|
||||
{ title: 'leaf', key: '0-0-0-1' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'parent 1-1',
|
||||
key: '0-0-1',
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }],
|
||||
},
|
||||
],
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
title: 'parent 1',
|
||||
key: '0-0',
|
||||
@@ -143,15 +143,15 @@
|
||||
disabled: true,
|
||||
children: [
|
||||
{ title: 'leaf', key: '0-0-0-0' },
|
||||
{ title: 'leaf', key: '0-0-0-1' },
|
||||
],
|
||||
{ title: 'leaf', key: '0-0-0-1' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'parent 1-1',
|
||||
key: '0-0-1',
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }],
|
||||
},
|
||||
],
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
title: 'parent 1',
|
||||
key: '0-0',
|
||||
@@ -162,21 +162,21 @@
|
||||
disabled: true,
|
||||
children: [
|
||||
{ title: 'leaf', key: '0-0-0-0' },
|
||||
{ title: 'leaf', key: '0-0-0-1' },
|
||||
],
|
||||
{ title: 'leaf', key: '0-0-0-1' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'parent 1-1',
|
||||
key: '0-0-1',
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }],
|
||||
},
|
||||
],
|
||||
},
|
||||
children: [{ key: '0-0-1-0', title: 'zcvc' }]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
autoExpandParent: true,
|
||||
expandedKeys: [],
|
||||
visible: false,
|
||||
confirmLoading:false,
|
||||
confirmLoading: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -184,10 +184,10 @@
|
||||
},
|
||||
methods: {
|
||||
onSelect(selectedKeys, info) {
|
||||
console.log('selected', selectedKeys, info);
|
||||
console.log('selected', selectedKeys, info)
|
||||
},
|
||||
onCheck(checkedKeys, info) {
|
||||
console.log('onCheck', checkedKeys, info);
|
||||
console.log('onCheck', checkedKeys, info)
|
||||
},
|
||||
handleCancel() {
|
||||
this.visible = false
|
||||
@@ -197,8 +197,8 @@
|
||||
},
|
||||
onChange() {
|
||||
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -220,6 +220,7 @@
|
||||
line-height: 38px;
|
||||
|
||||
}
|
||||
|
||||
.drawer-bootom-button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
@@ -231,6 +232,7 @@
|
||||
background: #fff;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
|
||||
.drawer-content {
|
||||
height: calc(100% - 60px);
|
||||
overflow: auto;
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
...this.$refs.searchRef.queryParam,
|
||||
id: this.idList.join(',')
|
||||
}
|
||||
downloadFile('document/bussDocumentLibraryEO/exportTemplate', '文档库.xls', query,this.Deselect)
|
||||
downloadFile('document/bussDocumentLibraryEO/exportExcel', '文档库.xls', query,this.Deselect)
|
||||
},
|
||||
Deselect() {
|
||||
this.$refs.tableDataRef.selectedRowKeys = []
|
||||
|
||||
Reference in New Issue
Block a user