Commit 72be0c2f authored by huai.li's avatar huai.li

对字段

parent 40985d8e
...@@ -19,4 +19,9 @@ ...@@ -19,4 +19,9 @@
.el-dialog__title { .el-dialog__title {
color:white; color:white;
} }
.is-disabled {
color: #fff!important;
background-color: #999!important;
border-color: #888!important;
}
} }
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
<span><img class="user-avatar rounded-circle" :src="item.createdBy.avatar.name">{{ item.createdBy.name }}</span> <span><img class="user-avatar rounded-circle" :src="item.createdBy.avatar.name">{{ item.createdBy.name }}</span>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<span><i class="fa fa-connectdevelop" aria-hidden="true"></i>{{ item.department.name }}</span> <span><i class="fa fa-sitemap" aria-hidden="true"></i>{{ item.department.name }}</span>
<span class="obear-schedule-left__private" :class="[isPublic ? 'colRed' : 'colGreen']">{{ isPublic ? '私人' : '共享' }}</span> <span class="obear-schedule-left__private colWhite">{{ isPublic ? '私人' : '共享' }}</span>
</el-col> </el-col>
</el-row> </el-row>
</el-col> </el-col>
...@@ -105,6 +105,9 @@ export default { ...@@ -105,6 +105,9 @@ export default {
color: green; color: green;
border: 1px solid green; border: 1px solid green;
} }
.colWhite {
color: white;
}
.rounded-circle { .rounded-circle {
border-radius: 50% !important; border-radius: 50% !important;
} }
...@@ -144,18 +147,23 @@ export default { ...@@ -144,18 +147,23 @@ export default {
} }
span { span {
display: inline-block; display: inline-block;
padding-left: 5px; // padding-left: 5px;
} }
i { i {
display:inline-block; display:inline-block;
padding-right:5px; padding-right:5px;
} }
img {
display:inline-block;
margin-right:5px;
}
@include e('private') { @include e('private') {
display: inline-block; display: inline-block;
padding-right: 5px; padding-left: 5px;
border-radius:5px; border-radius:5px;
width:40px; border: 1px solid white;
height:20px; width:35px;
height:17px;
} }
} }
@include c('schedule-right') { @include c('schedule-right') {
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
:key="item.id"> :key="item.id">
<span slot="opearate" class="obear-opearate-button"> <span slot="opearate" class="obear-opearate-button">
<el-button type="primary" size="mini" @click.prevent.stop="leaveMessageSch(item)"><span class="badge" v-if="item.unread">{{ item.unread ? item.unread : '' }}</span><i class="fa fa-commenting"></i>留言</el-button> <el-button type="primary" size="mini" @click.prevent.stop="leaveMessageSch(item)"><span class="badge" v-if="item.unread">{{ item.unread ? item.unread : '' }}</span><i class="fa fa-commenting"></i>留言</el-button>
<el-button type="primary" size="mini"><i class="fa fa-calendar-check-o"></i>汇报</el-button> <el-button type="primary" size="mini" @click.prevent.stop="editSch(item)" :disabled="!item.can_report"><i class="fa fa-calendar-check-o"></i>汇报</el-button>
<el-button type="primary" size="mini" @click.prevent.stop="editSch(item)"><i class="fa fa-edit animated"></i>编辑</el-button> <el-button type="primary" size="mini" @click.prevent.stop="editSch(item)" :disabled="!item.can_update"><i class="fa fa-edit animated"></i>编辑</el-button>
<el-button type="primary" size="mini" @click.prevent.stop="deleteSch(item.id)"><i class="fa fa-trash-o animated-hove"></i>删除</el-button> <el-button type="primary" size="mini" @click.prevent.stop="deleteSch(item.id)" :disabled="!item.can_delete"><i class="fa fa-trash-o animated-hove"></i>删除</el-button>
</span> </span>
</ScheduleItem> </ScheduleItem>
<Pagenation <Pagenation
...@@ -227,5 +227,9 @@ export default { ...@@ -227,5 +227,9 @@ export default {
vertical-align: baseline; vertical-align: baseline;
border-radius: .25rem; border-radius: .25rem;
} }
i {
display: inline-block;
padding-right: 3px;
}
} }
</style> </style>
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