Commit d91b2b74 authored by 黄奎's avatar 黄奎

页面修改

parent 8adff23a
......@@ -278,8 +278,6 @@
link.href = obj.Url;
document.body.appendChild(link);
window.open(obj.Url)
// let reg = /^http(s)?:\/\/(.*?)\//
// this.downloadFileRename(obj.Url.replace(reg,''),obj.Name);
},
downloadOne(obj){
this.downloadFileRename(obj.url,obj.name);
......
......@@ -1028,7 +1028,7 @@ export default {
if (successCall) {
successCall(res)
}
},faildCall)
}, faildCall)
},
//Blob文件上传
Vue.prototype.uploadSelfBlob = function (path, files, successCall) {
......@@ -1113,7 +1113,6 @@ export default {
that.$message.error('上传失败!');
that.MsgBus.$emit('UploadSelfFileErr')
});
}
}).catch(function (err) {
that.$refs['my-upload'].clearFiles();
......@@ -1142,7 +1141,6 @@ export default {
return url + '/image/index?filePath=' + newpath + '&process=resize,' + poise + ',w_' + w + ',h_' + h;
}
//验证只能输入2位小数【负数:isMinus传true】
Vue.prototype.checkPrice = function (item, filed, isMinus) {
var value = "" + item[filed]; //转字符串
......@@ -1301,7 +1299,6 @@ export default {
Vue.prototype.loadFileICON = function (suffix) {
let icons = [{
"name": "\u7f51\u76d8BT\u79bb\u7ebf\u4e0b\u8f7d",
"filesType": "*.bt,*.torrent",
"filesIcon": {
"bt": ["fileicon-small-bt", "fileicon-large-bt", "fileicon-middle-bt"],
......@@ -1324,7 +1321,6 @@ export default {
},
{
"name": "\u7f51\u76d8\u4ee3\u7801\u9605\u8bfb\u5668",
"notSupport": "ie",
"filesType": "*.txt,*.as,*.sh,*.c,*.cpp,*.h,*.cs,*.asp,*.css,*.pas,*.diff,*.patch,*.erl,*.groovy,*.java,*.jsp,*.js,*.json,*.pl,*.php,*.py,*.rb,*.sass,*.scss,*.scala,*.sql,*.vb,*.xml,*.xhtml,*.html,*.htm,*.md,*.less,*.lua,*.go,*.bat,*.wml",
"filesIcon": {
......@@ -1369,7 +1365,6 @@ export default {
},
{
"name": "\u7f51\u76d8\u89e3\u538b\u7f29",
"filesType": "*.rar,*.zip",
"notSupport": "ie6",
"filesIcon": {
......@@ -1381,7 +1376,6 @@ export default {
},
{
"name": "\u7f51\u76d8\u6587\u6863\u9605\u8bfb\u5668",
"filesType": "*.txt,*.pdf,*.doc,*.docx,*.ppt,*.pptx,*.xls,*.xlsx,*.rtf",
"filesIcon": {
"txt": ["fileicon-small-txt", "fileicon-large-txt", "fileicon-middle-txt"],
......@@ -1400,7 +1394,6 @@ export default {
},
{
"name": "\u7f51\u76d8\u56fe\u7247\u9884\u89c8",
"filesType": "*.jpg,*.jpeg,*.livp,*.gif,*bmp,*.png,*jpe,*.cur,*.svgz,*.ico,*.heic,*.heif,*.avci,*.webp",
"filesIcon": {
"jpg": ["fileicon-small-pic", "default-large", "fileicon-middle-pic"],
......@@ -1436,7 +1429,6 @@ export default {
},
{
"name": "\u7f51\u76d8\u97f3\u9891\u64ad\u653e\u5668",
"notSupport": "ie6",
"filesType": "*.wma,*.wav,*.mp3,*.aac,*.ra,*.ram,*.mp2,*.ogg,*.aif,*.mpega,*.amr,*.mid,*.midi,*.m4a",
"filesIcon": {
......@@ -1494,7 +1486,6 @@ export default {
},
{
"name": "sysIcon",
"filesType": "*.exe,*.msi,*.dmg,*.pkg,*.psd,*.apk,*.key,*.ai,*.ipa",
"filesIcon": {
"exe": ["fileicon-sys-s-exe", "fileicon-sys-l-exe"],
......@@ -1698,6 +1689,5 @@ export default {
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment