report 界面优化

This commit is contained in:
yulixing 2019-08-21 20:12:31 +08:00
parent 5525ccd734
commit abf67bdf5b

View File

@ -54,7 +54,10 @@
> >
<div class="title">{{p.method_name}}</div> <div class="title">{{p.method_name}}</div>
<ul class="data"> <ul class="data">
<li class="row hd"><span <li
class="row hd"
v-if="p.fields_name.length !== 0"
><span
class="ell" class="ell"
v-for="(f, idx2) in p.fields_name" v-for="(f, idx2) in p.fields_name"
:key="idx2" :key="idx2"
@ -104,14 +107,14 @@ export default {
permEdit: false, permEdit: false,
permPublish: false, permPublish: false,
date: '', date: '',
reportData: [] reportData: [],
} }
}, },
components: { components: {
Placeholder Placeholder,
}, },
computed: { computed: {
...mapGetters(['userInfo']) ...mapGetters(['userInfo']),
}, },
mounted() { mounted() {
this.uid = this.$route.params.uid this.uid = this.$route.params.uid
@ -167,7 +170,7 @@ export default {
uid: this.uid, uid: this.uid,
game_id: this.gameInfo.game_id, game_id: this.gameInfo.game_id,
platform_id: this.platform_id, platform_id: this.platform_id,
date: this.date date: this.date,
}) })
.then(res => { .then(res => {
const {data} = res const {data} = res
@ -213,8 +216,8 @@ export default {
valid ? resolve() : reject() valid ? resolve() : reject()
}) })
}) })
} },
} },
} }
</script> </script>
@ -245,6 +248,7 @@ export default {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
font-size: 12px; font-size: 12px;
overflow: hidden;
&.hd { &.hd {
font-size: 14px; font-size: 14px;