2020-11-17 16:05:16 +08:00
|
|
|
export default {
|
|
|
|
title: 'CSV 导出的是原始数据,而 Excel 是尽可能还原展现效果',
|
|
|
|
body: {
|
|
|
|
type: 'crud',
|
|
|
|
headerToolbar: ['export-excel', 'export-csv'],
|
|
|
|
data: {
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
link: 'https://www.microsoft.com/',
|
2021-01-12 21:38:31 +08:00
|
|
|
icon: __uri('../../static/ie.png'),
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'Internet Explorer 4.2',
|
|
|
|
platform: 'Win 95+',
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2021-01-22 14:13:20 +08:00
|
|
|
grade: 'A',
|
|
|
|
engine: {
|
|
|
|
name: 'Trident',
|
|
|
|
version: '4'
|
|
|
|
}
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://www.microsoft.com/',
|
2021-01-12 21:38:31 +08:00
|
|
|
icon: __uri('../../static/ie.png'),
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'Internet Explorer 4.2',
|
|
|
|
platform: 'Win 95+',
|
2021-01-22 14:13:20 +08:00
|
|
|
|
|
|
|
engine: {
|
|
|
|
name: 'Trident',
|
|
|
|
version: '4'
|
|
|
|
},
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'B'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://www.microsoft.com/',
|
2021-01-12 21:38:31 +08:00
|
|
|
icon: __uri('../../static/ie.png'),
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'AOL browser (AOL desktop)',
|
|
|
|
platform: 'Win 95+',
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Trident',
|
|
|
|
version: '4'
|
|
|
|
},
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'C'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://www.microsoft.com/',
|
2021-01-12 21:38:31 +08:00
|
|
|
icon: __uri('../../static/ie.png'),
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Trident',
|
|
|
|
version: '3'
|
|
|
|
},
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'AOL browser (AOL desktop)',
|
|
|
|
platform: 'Win 98',
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'A'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://www.microsoft.com/',
|
2021-01-12 21:38:31 +08:00
|
|
|
icon: __uri('../../static/ie.png'),
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Trident',
|
|
|
|
version: '4'
|
|
|
|
},
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'AOL browser (AOL desktop)',
|
|
|
|
platform: 'Win 98',
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'A'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon: __uri('../../static/firefox.png'),
|
|
|
|
link: 'https://www.mozilla.org/',
|
|
|
|
browser: 'Firefox 1.0',
|
|
|
|
platform: 'Win 98+ / OSX.2+',
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Gecko',
|
|
|
|
version: '4'
|
|
|
|
},
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'A'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon: __uri('../../static/firefox.png'),
|
|
|
|
link: 'https://www.mozilla.org/',
|
|
|
|
browser: 'Firefox 1.0',
|
|
|
|
platform: 'Win 98+ / OSX.2+',
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Gecko',
|
|
|
|
version: '5'
|
|
|
|
},
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'A'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon: __uri('../../static/firefox.png'),
|
|
|
|
link: 'https://www.mozilla.org/',
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Gecko',
|
|
|
|
version: '5'
|
|
|
|
},
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'Firefox 2.0',
|
|
|
|
platform: 'Win 98+ / OSX.2+',
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'B'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon: __uri('../../static/firefox.png'),
|
|
|
|
link: 'https://www.mozilla.org/',
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Gecko',
|
|
|
|
version: '5'
|
|
|
|
},
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'Firefox 2.0',
|
|
|
|
platform: 'Win 98+ / OSX.2+',
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'C'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon: __uri('../../static/firefox.png'),
|
|
|
|
link: 'https://www.mozilla.org/',
|
2021-01-22 14:13:20 +08:00
|
|
|
engine: {
|
|
|
|
name: 'Gecko',
|
|
|
|
version: '5'
|
|
|
|
},
|
2020-11-17 16:05:16 +08:00
|
|
|
browser: 'Firefox 2.0',
|
|
|
|
platform: 'Win 98+ / OSX.2+',
|
2020-12-17 17:47:27 +08:00
|
|
|
notExport: '1',
|
2020-11-17 16:05:16 +08:00
|
|
|
grade: 'D'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
combineNum: 3,
|
|
|
|
columns: [
|
|
|
|
{
|
|
|
|
name: 'icon',
|
|
|
|
label: '图标',
|
|
|
|
type: 'image'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'link',
|
|
|
|
label: '官网',
|
|
|
|
type: 'link'
|
|
|
|
},
|
|
|
|
{
|
2021-01-22 14:13:20 +08:00
|
|
|
name: 'engine.name',
|
2020-11-17 16:05:16 +08:00
|
|
|
label: '引擎'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'browser',
|
|
|
|
label: '浏览器'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'platform',
|
|
|
|
label: '操作系统'
|
|
|
|
},
|
|
|
|
{
|
2021-01-22 14:13:20 +08:00
|
|
|
name: 'engine.version',
|
|
|
|
label: 'CSS版本',
|
|
|
|
tpl: '${engine.version}'
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'grade',
|
|
|
|
label: 'CSS等级',
|
|
|
|
type: 'mapping',
|
|
|
|
map: {
|
|
|
|
A: '优',
|
|
|
|
B: '中',
|
|
|
|
C: '差',
|
|
|
|
D: '极差'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
};
|