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