This commit is contained in:
Captain.B 2020-02-27 18:06:04 +08:00
parent 5038933cc3
commit 2cf834ff20
1 changed files with 13 additions and 5 deletions

View File

@ -15,9 +15,7 @@
<div class="el-upload__tip" slot="tip">{{$t('load_test.upload_type')}}</div>
</el-upload>
<el-table
:data="tableData"
style="width: 100%">
<el-table class="basic-config" :data="tableData">
<el-table-column
prop="name"
:label="$t('load_test.file_name')">
@ -34,7 +32,7 @@
:label="$t('load_test.last_modify_time')">
<template slot-scope="scope">
<i class="el-icon-time"/>
<span style="margin-left: 10px">{{ scope.row.lastModified | timestampFormatDate }}</span>
<span class="last-modified">{{ scope.row.lastModified | timestampFormatDate }}</span>
</template>
</el-table-column>
<el-table-column
@ -105,7 +103,7 @@
name: file.name,
size: file.size + 'Byte', /// todo: ByteKBMB
type: 'JMX',
lastModified: file.lastModified,
lastModified: file.updateTime,
status: 'todo',
});
})
@ -184,3 +182,13 @@
},
}
</script>
<style scoped>
.basic-config {
width: 100%
}
.last-modified {
margin-left: 5px;
}
</style>