Authored by zhangtianqi

禅道:

... ... @@ -38,7 +38,7 @@
:showSelection="false"
:showTools="true"
:total="queryParams.count"
@loaddata="loaddata">
@loaddata="getVulnerabilityList">
<template #default="{row,prop,column}">
<el-popover placement="right" :width="700" trigger="click" :offset="prop=='remark'?-600:0">
<template #reference>
... ...
... ... @@ -94,7 +94,9 @@ export default {
upload.value.handleStart(file)
}
const handleUploadChange = (uploadFile)=>{
docForm.value.file = uploadFile.raw;
let formData = new FormData();
formData.append('file',uploadFile)
docForm.value.file = formData;
}
let docForm = Vue.ref({
... ... @@ -217,7 +219,13 @@ export default {
// 下载文件
const handleDownload = (row)=>{
proxy.$http.get('/api-web/vulnerabilities/download',{
path:row.filePath,
name:row.fileName,
}, function (res) {
console.log(res);
})
}
// 获取当前登陆人所属厂商
... ...