...
|
...
|
@@ -150,7 +150,7 @@ export default { |
|
|
|
|
|
getPage(id);
|
|
|
} else {
|
|
|
proxy.$global.viewer(item.localPath);
|
|
|
proxy.$global.viewer(item.localPath,proxy);
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -556,6 +556,10 @@ export default { |
|
|
if(type == 'folder'){
|
|
|
url = `/inspection-report/file/rename/user`;
|
|
|
}
|
|
|
if(item.fileName == null || item.fileName == '' ){
|
|
|
proxy.$global.showMsg("文件名称不能为空!","warning");
|
|
|
return;
|
|
|
}
|
|
|
// 执行改名
|
|
|
proxy.$http.get(url, {id:item.id,name:item.fileName}, function (res) {
|
|
|
if (res && res.success) {
|
...
|
...
|
|