Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
23e1441b
Commit
23e1441b
authored
Jul 25, 2023
by
xiaoman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix:钱币分类 keepalive
parent
50fe79b2
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
156 additions
and
73 deletions
+156
-73
src/router/index.js
src/router/index.js
+3
-3
src/views/layout/components/AppMain.vue
src/views/layout/components/AppMain.vue
+1
-1
src/views/mall/category.vue
src/views/mall/category.vue
+149
-66
src/views/mall/dealRecord.vue
src/views/mall/dealRecord.vue
+3
-3
No files found.
src/router/index.js
View file @
23e1441b
...
@@ -160,7 +160,7 @@ export const asyncRouterMap = [
...
@@ -160,7 +160,7 @@ export const asyncRouterMap = [
{
{
path
:
'
infoSet
'
,
path
:
'
infoSet
'
,
component
:
()
=>
import
(
'
@/views/goods/infoSet
'
),
component
:
()
=>
import
(
'
@/views/goods/infoSet
'
),
name
:
'
category
'
,
name
:
'
InfoSet
'
,
meta
:
{
meta
:
{
perms
:
[
'
GET /admin/category/list
'
,
'
POST /admin/category/create
'
,
'
GET /admin/category/read
'
,
'
POST /admin/category/update
'
,
'
POST /admin/category/delete
'
,
'
POST /admin/category/getSubCategory
'
,
'
POST /admin/bidrecord/list
'
],
perms
:
[
'
GET /admin/category/list
'
,
'
POST /admin/category/create
'
,
'
GET /admin/category/read
'
,
'
POST /admin/category/update
'
,
'
POST /admin/category/delete
'
,
'
POST /admin/category/getSubCategory
'
,
'
POST /admin/bidrecord/list
'
],
title
:
'
钱币设置
'
,
title
:
'
钱币设置
'
,
...
@@ -172,12 +172,12 @@ export const asyncRouterMap = [
...
@@ -172,12 +172,12 @@ export const asyncRouterMap = [
{
{
path
:
'
category
'
,
path
:
'
category
'
,
component
:
()
=>
import
(
'
@/views/mall/category
'
),
component
:
()
=>
import
(
'
@/views/mall/category
'
),
name
:
'
c
ategory
'
,
name
:
'
C
ategory
'
,
meta
:
{
meta
:
{
perms
:
[
'
GET /admin/category/list
'
,
'
POST /admin/category/create
'
,
'
GET /admin/category/read
'
,
'
POST /admin/category/update
'
,
'
POST /admin/category/delete
'
,
'
POST /admin/category/getSubCategory
'
,
'
POST /admin/bidrecord/list
'
],
perms
:
[
'
GET /admin/category/list
'
,
'
POST /admin/category/create
'
,
'
GET /admin/category/read
'
,
'
POST /admin/category/update
'
,
'
POST /admin/category/delete
'
,
'
POST /admin/category/getSubCategory
'
,
'
POST /admin/bidrecord/list
'
],
title
:
'
钱币分类
'
,
title
:
'
钱币分类
'
,
icon
:
'
list
'
,
icon
:
'
list
'
,
noCache
:
tru
e
noCache
:
fals
e
}
}
},
},
{
{
...
...
src/views/layout/components/AppMain.vue
View file @
23e1441b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<section
class=
"app-main"
>
<section
class=
"app-main"
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<keep-alive
:include=
"cachedViews"
>
<keep-alive
:include=
"cachedViews"
>
<router-view
:key=
"key"
/>
<router-view
/>
</keep-alive>
</keep-alive>
</transition>
</transition>
</section>
</section>
...
...
src/views/mall/category.vue
View file @
23e1441b
This diff is collapsed.
Click to expand it.
src/views/mall/dealRecord.vue
View file @
23e1441b
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<div
class=
"page__header flex f-ai-c f-jc-
e
"
>
<div
class=
"page__header flex f-ai-c f-jc-
sb
"
>
<
!--
<el-button
type=
"primary"
size=
"mini"
class=
"mr10"
@
click=
"onBack"
>
返回
</el-button>
--
>
<
el-button
type=
"primary"
size=
"mini"
class=
"mr10"
@
click=
"onBack"
>
返回
</el-button
>
<el-button
type=
"danger"
size=
"mini"
class=
"mr10"
@
click=
"onAdd"
>
添加成交记录
</el-button>
<el-button
type=
"danger"
size=
"mini"
class=
"mr10"
@
click=
"onAdd"
>
添加成交记录
</el-button>
</div>
</div>
<el-form
ref=
"searchForm"
:inline=
"true"
:model=
"searchForm"
class=
"demo-form-inline"
>
<el-form
ref=
"searchForm"
:inline=
"true"
:model=
"searchForm"
class=
"demo-form-inline"
>
...
@@ -144,7 +144,7 @@ import moment from 'moment'
...
@@ -144,7 +144,7 @@ import moment from 'moment'
import
Pagination
from
'
@/components/Pagination
'
// Secondary package based on el-pagination
import
Pagination
from
'
@/components/Pagination
'
// Secondary package based on el-pagination
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Line2Hidden
from
'
@/components/line2Hidden
'
export
default
{
export
default
{
name
:
'
Category
'
,
name
:
'
DealRecord
'
,
components
:
{
Pagination
,
Line2Hidden
},
components
:
{
Pagination
,
Line2Hidden
},
filters
:
{
filters
:
{
filterTime
(
val
)
{
filterTime
(
val
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment