Commit 62174d81 authored by daywrite's avatar daywrite

首页,费用报销

parent 66c7d7fa
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
@include e('private') { @include e('private') {
display: inline-block; display: inline-block;
padding-left: 5px; padding-left: 5px;
border-radius:5px; border-radius:2px;
border: 1px solid white; border: 1px solid white;
width:35px; width:35px;
height:17px; height:17px;
...@@ -212,9 +212,9 @@ export default { ...@@ -212,9 +212,9 @@ export default {
@include e('content') { @include e('content') {
display: inline-block; display: inline-block;
border: 1px solid red; border: 1px solid red;
border-radius:5px; border-radius:2px;
height:20px; height:20px;
padding: 0 5px 0 5px; padding: 0 2px 0 2px;
color: red; color: red;
} }
} }
......
...@@ -235,9 +235,9 @@ export default { ...@@ -235,9 +235,9 @@ export default {
@include e('content') { @include e('content') {
display: inline-block; display: inline-block;
border: 1px solid #dc3545; border: 1px solid #dc3545;
border-radius:5px; border-radius:2px;
height:20px; height:20px;
padding: 0 5px 0 5px; padding: 0 2px 0 2px;
color: #dc3545; color: #dc3545;
} }
} }
......
...@@ -26,7 +26,11 @@ ...@@ -26,7 +26,11 @@
<span>项目列表:</span><span class="collightBlue">{{ item.taskGroup.name }}</span> <span>项目列表:</span><span class="collightBlue">{{ item.taskGroup.name }}</span>
</el-col> </el-col>
<el-col :span="6" :xs="24"> <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>
<el-col :span="6" :xs="24"> <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> <span>状态:</span><span class="obear-schedule-right__content" :style="{'border-color': item.bgcolor, color: item.bgcolor}">{{ item.status_display }}</span>
......
import TaskHome from '../components/task_list/taskHome' import TaskHome from '../components/task_list/taskHome'
import GroupHome from '../components/task_group_list/groupHome' import GroupHome from '../components/task_group_list/groupHome'
import ScheduleView from '../components/common/scheduleView'
const routes = [{ const routes = [{
path: '/task', path: '/task',
name: 'taskHome', name: 'taskHome',
...@@ -8,5 +10,9 @@ const routes = [{ ...@@ -8,5 +10,9 @@ const routes = [{
path: '/group', path: '/group',
name: 'groupHome', name: 'groupHome',
component: GroupHome component: GroupHome
}, {
path: '/ofClient/:id',
name: 'scheduleView',
component: ScheduleView
}] }]
export default routes export default routes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment