Commit c8c938aa authored by wangjiankun's avatar wangjiankun

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/TrainDetail/index.vue
parents 56a85934 701448e0
...@@ -296,7 +296,8 @@ export default { ...@@ -296,7 +296,8 @@ export default {
.Popup-span{ .Popup-span{
cursor: pointer; cursor: pointer;
& > img{ & > img{
width: 17px; width: 1rem;
height: 0.2rem;
} }
} }
} }
......
...@@ -586,19 +586,19 @@ export default { ...@@ -586,19 +586,19 @@ export default {
break break
case 'txt': case 'txt':
iconUrl = require('@assets/images/MyInformation/TXT.png') iconUrl = require('@assets/images/MyInformation/TXT.png')
fileType = '5' fileType = '6'
break break
case 'rar': case 'rar':
iconUrl = require('@assets/images/MyInformation/RAR.png') iconUrl = require('@assets/images/MyInformation/RAR.png')
fileType = '6' fileType = '11'
break break
case 'zip': case 'zip':
iconUrl = require('@assets/images/MyInformation/ZIP.png') iconUrl = require('@assets/images/MyInformation/ZIP.png')
fileType = '6' fileType = '12'
break break
case 'gif': case 'gif':
iconUrl = require('@assets/images/MyInformation/GIF.png') iconUrl = require('@assets/images/MyInformation/GIF.png')
fileType = '7' fileType = '9'
break break
case 'jpg': case 'jpg':
iconUrl = require('@assets/images/MyInformation/JPG.png') iconUrl = require('@assets/images/MyInformation/JPG.png')
...@@ -606,26 +606,26 @@ export default { ...@@ -606,26 +606,26 @@ export default {
break break
case 'png': case 'png':
iconUrl = require('@assets/images/MyInformation/PNG.png') iconUrl = require('@assets/images/MyInformation/PNG.png')
fileType = '7' fileType = '8'
break break
case 'xls': case 'xls':
iconUrl = require('@assets/images/MyInformation/XLS.png') iconUrl = require('@assets/images/MyInformation/XLS.png')
fileType = '8' fileType = '5'
break break
case 'xml': case 'xml':
iconUrl = require('@assets/images/MyInformation/XML.png') iconUrl = require('@assets/images/MyInformation/XML.png')
fileType = '8' fileType = '5'
break break
case 'xlsx': case 'xlsx':
iconUrl = require('@assets/images/MyInformation/XLSX.png') iconUrl = require('@assets/images/MyInformation/XLSX.png')
fileType = '8' fileType = '5'
break break
default: default:
iconUrl = require('@assets/images/MyInformation/未知.png') iconUrl = require('@assets/images/MyInformation/未知.png')
if (fileFormat === 'word') { if (fileFormat === 'word') {
fileType = '4' fileType = '4'
} else if (fileFormat === 'text') { } else if (fileFormat === 'text') {
fileType = '5' fileType = '6'
} else if (fileFormat === 'bmp' || fileFormat === 'jpeg') { } else if (fileFormat === 'bmp' || fileFormat === 'jpeg') {
fileType = '7' fileType = '7'
} }
...@@ -877,19 +877,19 @@ export default { ...@@ -877,19 +877,19 @@ export default {
break break
case 'txt': case 'txt':
iconUrl = require('@assets/images/MyInformation/TXT.png') iconUrl = require('@assets/images/MyInformation/TXT.png')
type = '5' type = '6'
break break
case 'rar': case 'rar':
iconUrl = require('@assets/images/MyInformation/RAR.png') iconUrl = require('@assets/images/MyInformation/RAR.png')
type = '6' type = '11'
break break
case 'zip': case 'zip':
iconUrl = require('@assets/images/MyInformation/ZIP.png') iconUrl = require('@assets/images/MyInformation/ZIP.png')
type = '6' type = '12'
break break
case 'gif': case 'gif':
iconUrl = require('@assets/images/MyInformation/GIF.png') iconUrl = require('@assets/images/MyInformation/GIF.png')
type = '7' type = '9'
break break
case 'jpg': case 'jpg':
iconUrl = require('@assets/images/MyInformation/JPG.png') iconUrl = require('@assets/images/MyInformation/JPG.png')
...@@ -897,26 +897,26 @@ export default { ...@@ -897,26 +897,26 @@ export default {
break break
case 'png': case 'png':
iconUrl = require('@assets/images/MyInformation/PNG.png') iconUrl = require('@assets/images/MyInformation/PNG.png')
type = '7' type = '8'
break break
case 'xls': case 'xls':
iconUrl = require('@assets/images/MyInformation/XLS.png') iconUrl = require('@assets/images/MyInformation/XLS.png')
type = '8' type = '5'
break break
case 'xml': case 'xml':
iconUrl = require('@assets/images/MyInformation/XML.png') iconUrl = require('@assets/images/MyInformation/XML.png')
type = '8' type = '5'
break break
case 'xlsx': case 'xlsx':
iconUrl = require('@assets/images/MyInformation/XLSX.png') iconUrl = require('@assets/images/MyInformation/XLSX.png')
type = '8' type = '5'
break break
default: default:
iconUrl = require('@assets/images/MyInformation/未知.png') iconUrl = require('@assets/images/MyInformation/未知.png')
if (fileFormat === 'word') { if (fileFormat === 'word') {
type = '4' type = '4'
} else if (fileFormat === 'text') { } else if (fileFormat === 'text') {
type = '5' type = '6'
} else if (fileFormat === 'bmp' || fileFormat === 'jpeg') { } else if (fileFormat === 'bmp' || fileFormat === 'jpeg') {
type = '7' type = '7'
} }
......
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