yaoqing
This commit is contained in:
parent
229382bca2
commit
eeaf770a06
@ -22,6 +22,10 @@ export default {
|
|||||||
*/
|
*/
|
||||||
changeHot(params){
|
changeHot(params){
|
||||||
return fetch('/library/hot',params,'post','json')
|
return fetch('/library/hot',params,'post','json')
|
||||||
|
},
|
||||||
|
|
||||||
|
inviteList(params){
|
||||||
|
return fetch('/personal/inviteCode/inviteRecords',params,'post','json')
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -97,12 +97,11 @@ export default {
|
|||||||
if (tmp) {
|
if (tmp) {
|
||||||
this.user = JSON.parse(tmp)
|
this.user = JSON.parse(tmp)
|
||||||
}
|
}
|
||||||
console.log(this.user)
|
|
||||||
},
|
},
|
||||||
fetchMenu() {
|
fetchMenu() {
|
||||||
this.$api.sys.menus().then(res => {
|
this.$api.sys.menus().then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
this.list = res.data
|
this.list = res.data.reverse()
|
||||||
}
|
}
|
||||||
if (this.list.length > 0) {
|
if (this.list.length > 0) {
|
||||||
const path = this.list[0]
|
const path = this.list[0]
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="上传徽章" field="ossId" required>
|
<a-form-item label="上传徽章" field="ossId" required>
|
||||||
<div class="">
|
<div class="">
|
||||||
<a-image class="mb-10" v-if="form.ossId.length > 0" :src="form.ossUrl" width="160" height="160" ></a-image>
|
<a-image class="mb-10" v-if="form.ossId" :src="form.oss.url" width="160" height="160" ></a-image>
|
||||||
<upload @ok="upload"/>
|
<upload @ok="upload"/>
|
||||||
<div class="font-14 primary mt-10">徽章大小为 400* 400</div>
|
<div class="font-14 primary mt-10">徽章大小为 400* 400</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -9,10 +9,9 @@
|
|||||||
<div class="mt-20">
|
<div class="mt-20">
|
||||||
<a-table :data="list" :columns="columns" :pagination="page">
|
<a-table :data="list" :columns="columns" :pagination="page">
|
||||||
<template #name="{record}">
|
<template #name="{record}">
|
||||||
<div>
|
<div class="flex flex-center flex-justify-start">
|
||||||
<a-image></a-image>
|
<a-image :src="record.oss.url" width="40px"></a-image>
|
||||||
<div>{{record.ossId}}</div>
|
<div class="ml-10">{{record.name}}</div>
|
||||||
<div>{{record.name}}</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #category="{record}">
|
<template #category="{record}">
|
||||||
|
|||||||
42
src/views/flower/invite/index.vue
Normal file
42
src/views/flower/invite/index.vue
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<navbar title="邀请记录"/>
|
||||||
|
<a-card>
|
||||||
|
|
||||||
|
</a-card>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import navbar from '@/components/navbar/index.vue'
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
navbar,
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
page: {
|
||||||
|
current:0,
|
||||||
|
pageSize:10,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.fetchList();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
fetchList() {
|
||||||
|
const data = {keyword:'', ...this.page}
|
||||||
|
this.$api.flower.inviteList(data).then(res => {
|
||||||
|
if (res.code === 200){
|
||||||
|
console.log(res)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
21
src/views/flower/wechat/index.vue
Normal file
21
src/views/flower/wechat/index.vue
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<navbar title="植趣微信群"/>
|
||||||
|
<a-card>
|
||||||
|
|
||||||
|
</a-card>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import navbar from '@/components/navbar/index.vue'
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
navbar,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>a
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user