fix: record
This commit is contained in:
@@ -7,19 +7,3 @@ export function getList(data) {
|
|||||||
params: data,
|
params: data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getShareList(data) {
|
|
||||||
return request({
|
|
||||||
url: '/management/api/spring/blessing/share-record/list',
|
|
||||||
method: 'get',
|
|
||||||
params: data,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
export function getViewList(data) {
|
|
||||||
return request({
|
|
||||||
url: '/management/api/spring/blessing/view-record/list',
|
|
||||||
method: 'get',
|
|
||||||
params: data,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -7,3 +7,19 @@ export function getUserList(data) {
|
|||||||
params: data,
|
params: data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getShareList(data) {
|
||||||
|
return request({
|
||||||
|
url: '/management/api/spring/system/share-record/list',
|
||||||
|
method: 'get',
|
||||||
|
params: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getViewList(data) {
|
||||||
|
return request({
|
||||||
|
url: '/management/api/spring/system/view-record/list',
|
||||||
|
method: 'get',
|
||||||
|
params: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -192,13 +192,13 @@ export const asyncRoutes = [
|
|||||||
{
|
{
|
||||||
path: 'shareRecord',
|
path: 'shareRecord',
|
||||||
name: 'ShareRecord',
|
name: 'ShareRecord',
|
||||||
component: () => import('@/views/spring/blessing/shareRecord/index'),
|
component: () => import('@/views/spring/user/shareRecord/index'),
|
||||||
meta: { title: '分享记录' },
|
meta: { title: '分享记录' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'viewRecord',
|
path: 'viewRecord',
|
||||||
name: 'ViewRecord',
|
name: 'ViewRecord',
|
||||||
component: () => import('@/views/spring/blessing/viewRecord/index'),
|
component: () => import('@/views/spring/user/viewRecord/index'),
|
||||||
meta: { title: '查看记录' },
|
meta: { title: '查看记录' },
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getShareList } from '@/api/spring/blessing/generateRecord'
|
import { getShareList } from '@/api/spring/user'
|
||||||
import { formatTime } from '@/utils'
|
import { formatTime } from '@/utils'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -124,11 +124,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getList } from '@/api/spring/blessing/generateRecord'
|
import { getViewList } from '@/api/spring/user'
|
||||||
import { formatTime } from '@/utils'
|
import { formatTime } from '@/utils'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'GenerateRecord',
|
name: 'ViewRecord',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
host: 'https://file.lihailezzc.com/',
|
host: 'https://file.lihailezzc.com/',
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
},
|
},
|
||||||
async fetchData() {
|
async fetchData() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
const { data } = await getList(this.queryForm)
|
const { data } = await getViewList(this.queryForm)
|
||||||
this.list = data.list
|
this.list = data.list
|
||||||
this.total = data.totalCount
|
this.total = data.totalCount
|
||||||
this.timeOutID = setTimeout(() => {
|
this.timeOutID = setTimeout(() => {
|
||||||
Reference in New Issue
Block a user