实现对文件是否重命名的控制,目前设定为管理员上传的文件不会重命名,完善日志输出存储

This commit is contained in:
F嘉阳
2018-02-24 21:29:46 +08:00
parent fc3ef4f9af
commit a0c995c07e
9 changed files with 94 additions and 40 deletions

View File

@@ -5,6 +5,7 @@ var Main = {
form: {
content: '',
},
fileList: [],
feedbackData:[
{
id: 68,
@@ -60,6 +61,18 @@ var Main = {
})
},
methods: {
uploadURL(row) {
return getRootPath_web()+"/moreUpload?rename=false";
},
submitUpload() {
this.$refs.upload.submit();
},
handleRemove(file, fileList) {
console.log(file, fileList);
},
handlePreview(file) {
console.log(file);
},
ClickToJump(targe){
window.location.href=getRootPath_web()+"/" + targe;
},