This commit is contained in:
Pan
2017-04-19 18:43:57 +08:00
parent 15a7d074d2
commit 89a4c3bda1
19 changed files with 754 additions and 98 deletions

38
src/views/excel/index.vue Normal file
View File

@@ -0,0 +1,38 @@
<template>
<div class="errPage-container">
aaa
</div>
</template>
<script>
import { getList } from 'api/article'
export default {
data() {
return {
list: null,
total: null,
listLoading: true,
listQuery: {
page: 1,
limit: 20,
area: undefined,
department: undefined
}
}
},
created() {
this.fetchData();
},
methods: {
fetchData() {
this.listLoading = true;
getList(this.listQuery).then(response => {
console.log(response)
const data = response.data;
this.list = data.items;
this.total = data.item_count;
this.listLoading = false;
})
}
}
};
</script>