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',
|
2022-10-14 19:43:17 +08:00
|
|
|
version: '4/2'
|
2022-03-25 14:33:56 +08:00
|
|
|
},
|
2022-10-31 11:56:41 +08:00
|
|
|
date: '1591326307',
|
|
|
|
city: '310100'
|
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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'B',
|
|
|
|
date: '1591322307'
|
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: '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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'C',
|
|
|
|
date: '1591322307'
|
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'),
|
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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'A',
|
|
|
|
date: '1591322307'
|
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'),
|
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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'A',
|
|
|
|
date: '1591322307'
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'A',
|
|
|
|
date: '1591322307'
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'A',
|
|
|
|
date: '1591322307'
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'B',
|
|
|
|
date: '1591322307'
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
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',
|
2022-03-25 14:33:56 +08:00
|
|
|
grade: 'C',
|
|
|
|
date: '1591322307'
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
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'
|
|
|
|
},
|
2022-05-27 18:32:00 +08:00
|
|
|
{
|
|
|
|
name: 'link',
|
|
|
|
label: '浏览器地址',
|
|
|
|
type: 'link',
|
|
|
|
href: 'http://www.browser.com/?q=${browser}',
|
|
|
|
body: '${browser}'
|
|
|
|
},
|
2020-11-17 16:05:16 +08:00
|
|
|
{
|
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版本',
|
2021-06-24 10:18:25 +08:00
|
|
|
type: 'tpl',
|
|
|
|
tpl: '<b>${engine.version}</b>'
|
2020-11-17 16:05:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'grade',
|
|
|
|
label: 'CSS等级',
|
|
|
|
type: 'mapping',
|
|
|
|
map: {
|
|
|
|
A: '优',
|
|
|
|
B: '中',
|
|
|
|
C: '差',
|
|
|
|
D: '极差'
|
|
|
|
}
|
2022-03-25 14:33:56 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'date',
|
|
|
|
label: 'Date',
|
|
|
|
type: 'date'
|
2022-10-31 11:56:41 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'city',
|
|
|
|
label: 'city',
|
|
|
|
type: 'input-city'
|
2020-11-17 16:05:16 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
};
|