|
@@ -14,6 +14,8 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+const _ = require('lodash');
|
|
|
|
+const moment = require('moment');
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
const { mapActions: mission } = createNamespacedHelpers('mission');
|
|
const { mapActions: mission } = createNamespacedHelpers('mission');
|
|
|
|
|
|
@@ -34,7 +36,7 @@ export default {
|
|
],
|
|
],
|
|
fields: [
|
|
fields: [
|
|
{ label: '标题', model: 'title' },
|
|
{ label: '标题', model: 'title' },
|
|
- { label: '导出数据时间', model: 'create_time' },
|
|
|
|
|
|
+ { label: '导出数据时间', model: 'meta.createdAt', format: (i) => this.getTime(i) },
|
|
{
|
|
{
|
|
label: '状态',
|
|
label: '状态',
|
|
model: 'status',
|
|
model: 'status',
|
|
@@ -60,6 +62,9 @@ export default {
|
|
toDownload({ data }) {
|
|
toDownload({ data }) {
|
|
window.open(`http://broadcast.waityou24.cn/${data.uri}`);
|
|
window.open(`http://broadcast.waityou24.cn/${data.uri}`);
|
|
},
|
|
},
|
|
|
|
+ getTime(i) {
|
|
|
|
+ return moment(i).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
+ },
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapState(['user']),
|
|
...mapState(['user']),
|