Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
Details
Activity
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
daywrite
bms-vue-obear
Commits
62174d81
Commit
62174d81
authored
May 19, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页,费用报销
parent
66c7d7fa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
scheduleItem.vue
src/components/common/scheduleItem.vue
+3
-3
reimbursementItem.vue
src/components/reimbursement_list/reimbursementItem.vue
+2
-2
taskItem.vue
src/components/task_list/taskItem.vue
+5
-1
task.js
src/routes/task.js
+6
-0
No files found.
src/components/common/scheduleItem.vue
View file @
62174d81
...
...
@@ -162,7 +162,7 @@ export default {
@include
e
(
'private'
)
{
display
:
inline-block
;
padding-left
:
5px
;
border-radius
:
5
px
;
border-radius
:
2
px
;
border
:
1px
solid
white
;
width
:
35px
;
height
:
17px
;
...
...
@@ -212,9 +212,9 @@ export default {
@include
e
(
'content'
)
{
display
:
inline-block
;
border
:
1px
solid
red
;
border-radius
:
5
px
;
border-radius
:
2
px
;
height
:
20px
;
padding
:
0
5px
0
5
px
;
padding
:
0
2px
0
2
px
;
color
:
red
;
}
}
...
...
src/components/reimbursement_list/reimbursementItem.vue
View file @
62174d81
...
...
@@ -235,9 +235,9 @@ export default {
@include
e
(
'content'
)
{
display
:
inline-block
;
border
:
1px
solid
#dc3545
;
border-radius
:
5
px
;
border-radius
:
2
px
;
height
:
20px
;
padding
:
0
5px
0
5
px
;
padding
:
0
2px
0
2
px
;
color
:
#dc3545
;
}
}
...
...
src/components/task_list/taskItem.vue
View file @
62174d81
...
...
@@ -26,7 +26,11 @@
<span>
项目列表:
</span><span
class=
"collightBlue"
>
{{
item
.
taskGroup
.
name
}}
</span>
</el-col>
<el-col
:span=
"6"
:xs=
"24"
>
<span>
客户名称:
</span><span
class=
"collightBlue"
>
{{
item
.
taskGroup
.
client
.
name
}}
</span>
<span>
客户名称:
</span><span
class=
"collightBlue"
>
<router-link
:to=
"
{ path: '/ofClient/' + item.taskGroup.client.id }">
<i
class=
"fa fa-star"
aria-hidden=
"true"
></i>
{{
item
.
taskGroup
.
client
.
name
}}
</router-link>
</span>
</el-col>
<el-col
:span=
"6"
:xs=
"24"
>
<span>
状态:
</span><span
class=
"obear-schedule-right__content"
:style=
"
{'border-color': item.bgcolor, color: item.bgcolor}">
{{
item
.
status_display
}}
</span>
...
...
src/routes/task.js
View file @
62174d81
import
TaskHome
from
'../components/task_list/taskHome'
import
GroupHome
from
'../components/task_group_list/groupHome'
import
ScheduleView
from
'../components/common/scheduleView'
const
routes
=
[{
path
:
'/task'
,
name
:
'taskHome'
,
...
...
@@ -8,5 +10,9 @@ const routes = [{
path
:
'/group'
,
name
:
'groupHome'
,
component
:
GroupHome
},
{
path
:
'/ofClient/:id'
,
name
:
'scheduleView'
,
component
:
ScheduleView
}]
export
default
routes
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