Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
3b28beb6
Commit
3b28beb6
authored
Aug 04, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页2
parent
87cb5021
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
0 deletions
+15
-0
api.js
pages/home/api.js
+3
-0
infos.vue
pages/home/component/infos.vue
+0
-0
myInfo.vue
pages/home/component/myInfo.vue
+0
-0
quickTask.vue
pages/home/component/quickTask.vue
+0
-0
index.vue
pages/home/index.vue
+12
-0
No files found.
pages/home/api.js
View file @
3b28beb6
...
...
@@ -22,4 +22,7 @@ export default {
list
(
params
)
{
return
Api
.
post
(
`
${
systemUrl
}
/newmessage/list`
,
params
);
//获取列表信息
},
favoriteList
(
params
)
{
return
Api
.
post
(
`
${
systemUrl
}
/favorite/list`
,
params
);
//获取收藏列表信息
},
}
\ No newline at end of file
pages/home/component/infos.vue
deleted
100644 → 0
View file @
87cb5021
pages/home/component/myInfo.vue
deleted
100644 → 0
View file @
87cb5021
pages/home/component/quickTask.vue
deleted
100644 → 0
View file @
87cb5021
pages/home/index.vue
View file @
3b28beb6
...
...
@@ -16,6 +16,10 @@
<div
class=
"bg-b"
>
<Icon
type=
"ios-arrow-back"
/>
</div>
<!--
<div
class=
"bg"
v-for=
"(item,index) in listFavorite"
:key=
"index"
>
<Icon
:type=
"item.icon"
/>
<p>
{{
item
.
title
}}
</p>
</div>
-->
<div
class=
"bg"
>
<Icon
type=
"ios-cube"
/>
<p>
电子对账单
</p>
...
...
@@ -99,6 +103,7 @@ export default {
data
()
{
return
{
listTask
:
[],
listFavorite
:
[],
imgUrl
:
iconImg
,
userData
:
{},
avatorPath
:
""
,
...
...
@@ -108,6 +113,7 @@ export default {
created
()
{
this
.
get
();
this
.
getUserInfoFn
();
this
.
getList
();
},
methods
:
{
getUserInfoFn
()
{
...
...
@@ -144,6 +150,12 @@ export default {
this
.
listTask
=
list
;
});
},
getList
()
{
let
conditions
=
[];
Api
.
favoriteList
({
conditions
:
conditions
}).
then
((
r
)
=>
{
this
.
listFavorite
=
r
.
result
;
});
},
goPage
(
u
)
{
// alert(u.menuUrl)
this
.
$router
.
push
(
u
.
menuUrl
);
...
...
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